From b5417bdc6ceb974b88daf4929eff2010829a7068 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Wed, 20 Jul 2022 20:59:57 +0200 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Meta.lean | 6 + stage0/src/Init/Util.lean | 9 +- stage0/src/Lean/Attributes.lean | 11 + .../src/Lean/Data/Lsp/LanguageFeatures.lean | 37 +- stage0/src/Lean/Declaration.lean | 2 +- stage0/src/Lean/Elab/Declaration.lean | 47 +- stage0/src/Lean/Elab/Deriving/FromToJson.lean | 6 +- stage0/src/Lean/Elab/Structure.lean | 4 +- stage0/src/Lean/Elab/Tactic/Basic.lean | 113 +- stage0/src/Lean/Elab/Tactic/ElabTerm.lean | 12 +- stage0/src/Lean/Elab/Term.lean | 14 +- stage0/src/Lean/Expr.lean | 178 +- stage0/src/Lean/Level.lean | 65 +- stage0/src/Lean/Meta/Match/Match.lean | 22 +- stage0/src/Lean/Meta/Tactic/Constructor.lean | 8 +- stage0/src/Lean/Parser/Command.lean | 4 +- .../Server/FileWorker/RequestHandling.lean | 16 +- stage0/src/Lean/Server/Rpc/Basic.lean | 5 +- stage0/src/Lean/Server/Rpc/Deriving.lean | 262 +- .../src/Lean/Server/Rpc/RequestHandling.lean | 14 +- stage0/src/Lean/Server/Snapshots.lean | 16 - stage0/src/Lean/Server/Watchdog.lean | 2 +- stage0/src/Lean/Util/HasConstCache.lean | 4 +- stage0/src/kernel/expr.cpp | 91 - stage0/src/kernel/level.cpp | 32 - stage0/src/stdlib_flags.h | 2 +- stage0/stdlib/Init/Meta.c | 2184 +- stage0/stdlib/Init/NotationExtra.c | 2 +- stage0/stdlib/Init/Util.c | 108 +- stage0/stdlib/Lean/Compiler/IR/Basic.c | 2 +- stage0/stdlib/Lean/Compiler/IR/Borrow.c | 2 +- stage0/stdlib/Lean/Compiler/IR/Boxing.c | 2 +- .../Lean/Compiler/IR/ElimDeadBranches.c | 2 +- stage0/stdlib/Lean/Compiler/IR/EmitC.c | 2 +- .../Lean/Compiler/IR/ExpandResetReuse.c | 2 +- stage0/stdlib/Lean/Compiler/IR/RC.c | 2 +- stage0/stdlib/Lean/Compiler/IR/SimpCase.c | 2 +- stage0/stdlib/Lean/Data/Lsp/Capabilities.c | 8 +- .../stdlib/Lean/Data/Lsp/LanguageFeatures.c | 1368 +- stage0/stdlib/Lean/Data/Position.c | 2 +- stage0/stdlib/Lean/Elab/App.c | 2 +- stage0/stdlib/Lean/Elab/Binders.c | 2 +- stage0/stdlib/Lean/Elab/BuiltinCommand.c | 2 +- stage0/stdlib/Lean/Elab/BuiltinNotation.c | 2 +- stage0/stdlib/Lean/Elab/BuiltinTerm.c | 2 +- stage0/stdlib/Lean/Elab/ComputedFields.c | 2 +- stage0/stdlib/Lean/Elab/Declaration.c | 6233 ++-- stage0/stdlib/Lean/Elab/Deriving/BEq.c | 2 +- stage0/stdlib/Lean/Elab/Deriving/Basic.c | 2 +- stage0/stdlib/Lean/Elab/Deriving/DecEq.c | 2 +- stage0/stdlib/Lean/Elab/Deriving/FromToJson.c | 1693 +- stage0/stdlib/Lean/Elab/Deriving/Hashable.c | 2 +- stage0/stdlib/Lean/Elab/Deriving/Inhabited.c | 2 +- stage0/stdlib/Lean/Elab/Deriving/Ord.c | 2 +- stage0/stdlib/Lean/Elab/Deriving/Repr.c | 2 +- stage0/stdlib/Lean/Elab/Deriving/Util.c | 2 +- stage0/stdlib/Lean/Elab/Do.c | 2 +- stage0/stdlib/Lean/Elab/ElabRules.c | 2 +- stage0/stdlib/Lean/Elab/Extra.c | 2 +- stage0/stdlib/Lean/Elab/Inductive.c | 995 +- stage0/stdlib/Lean/Elab/LetRec.c | 2 +- stage0/stdlib/Lean/Elab/Level.c | 8 +- stage0/stdlib/Lean/Elab/MacroRules.c | 2 +- stage0/stdlib/Lean/Elab/Match.c | 303 +- stage0/stdlib/Lean/Elab/MutualDef.c | 2 +- stage0/stdlib/Lean/Elab/Notation.c | 2 +- stage0/stdlib/Lean/Elab/Open.c | 2 +- stage0/stdlib/Lean/Elab/PatternVar.c | 2 +- stage0/stdlib/Lean/Elab/PreDefinition/Basic.c | 2 +- stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c | 396 +- stage0/stdlib/Lean/Elab/PreDefinition/Main.c | 2 +- .../Lean/Elab/PreDefinition/MkInhabitant.c | 2 +- .../Elab/PreDefinition/Structural/BRecOn.c | 2 +- .../Lean/Elab/PreDefinition/Structural/Eqns.c | 2 +- .../Elab/PreDefinition/Structural/IndPred.c | 2 +- .../Lean/Elab/PreDefinition/Structural/Main.c | 2 +- .../PreDefinition/Structural/SmartUnfolding.c | 2 +- .../stdlib/Lean/Elab/PreDefinition/WF/Eqns.c | 2 +- .../stdlib/Lean/Elab/PreDefinition/WF/Fix.c | 6 +- .../stdlib/Lean/Elab/PreDefinition/WF/Ite.c | 2 +- .../stdlib/Lean/Elab/PreDefinition/WF/Main.c | 2 +- .../Lean/Elab/PreDefinition/WF/PackDomain.c | 2 +- .../Lean/Elab/PreDefinition/WF/PackMutual.c | 2 +- .../stdlib/Lean/Elab/PreDefinition/WF/Rel.c | 2 +- .../Elab/PreDefinition/WF/TerminationHint.c | 2 +- stage0/stdlib/Lean/Elab/Quotation.c | 2 +- stage0/stdlib/Lean/Elab/Quotation/Util.c | 2 +- stage0/stdlib/Lean/Elab/StructInst.c | 498 +- stage0/stdlib/Lean/Elab/Structure.c | 2169 +- stage0/stdlib/Lean/Elab/Syntax.c | 2 +- stage0/stdlib/Lean/Elab/SyntheticMVars.c | 2 +- stage0/stdlib/Lean/Elab/Tactic/Basic.c | 2706 +- .../stdlib/Lean/Elab/Tactic/BuiltinTactic.c | 72 +- stage0/stdlib/Lean/Elab/Tactic/Cache.c | 8 +- stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c | 25 +- stage0/stdlib/Lean/Elab/Tactic/Conv/Change.c | 4 +- stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c | 10 +- stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c | 4 +- stage0/stdlib/Lean/Elab/Tactic/Delta.c | 4 +- stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c | 741 +- stage0/stdlib/Lean/Elab/Tactic/Induction.c | 349 +- stage0/stdlib/Lean/Elab/Tactic/Match.c | 12 +- stage0/stdlib/Lean/Elab/Tactic/Meta.c | 4 +- stage0/stdlib/Lean/Elab/Tactic/Rewrite.c | 14 +- stage0/stdlib/Lean/Elab/Tactic/Simp.c | 12 +- stage0/stdlib/Lean/Elab/Tactic/Split.c | 98 +- stage0/stdlib/Lean/Elab/Tactic/Unfold.c | 4 +- stage0/stdlib/Lean/Elab/Term.c | 2 +- stage0/stdlib/Lean/Expr.c | 3167 +- stage0/stdlib/Lean/Level.c | 572 +- stage0/stdlib/Lean/LocalContext.c | 2 +- stage0/stdlib/Lean/Meta/ACLt.c | 2 +- stage0/stdlib/Lean/Meta/AbstractMVars.c | 1526 +- .../stdlib/Lean/Meta/AbstractNestedProofs.c | 837 +- stage0/stdlib/Lean/Meta/AppBuilder.c | 2 +- stage0/stdlib/Lean/Meta/Basic.c | 513 +- stage0/stdlib/Lean/Meta/CasesOn.c | 2 +- stage0/stdlib/Lean/Meta/Check.c | 2 +- stage0/stdlib/Lean/Meta/Closure.c | 7312 ++--- stage0/stdlib/Lean/Meta/CongrTheorems.c | 2 +- stage0/stdlib/Lean/Meta/DecLevel.c | 14 +- stage0/stdlib/Lean/Meta/DiscrTree.c | 2 +- stage0/stdlib/Lean/Meta/ExprDefEq.c | 2879 +- stage0/stdlib/Lean/Meta/ExprLens.c | 551 +- stage0/stdlib/Lean/Meta/ExprTraverse.c | 8 +- stage0/stdlib/Lean/Meta/ForEachExpr.c | 2 +- stage0/stdlib/Lean/Meta/FunInfo.c | 2 +- stage0/stdlib/Lean/Meta/GetConst.c | 6 +- stage0/stdlib/Lean/Meta/IndPredBelow.c | 167 +- stage0/stdlib/Lean/Meta/InferType.c | 930 +- stage0/stdlib/Lean/Meta/Instances.c | 2 +- stage0/stdlib/Lean/Meta/KAbstract.c | 7575 +++-- stage0/stdlib/Lean/Meta/LevelDefEq.c | 6 +- .../stdlib/Lean/Meta/Match/CaseArraySizes.c | 2 +- stage0/stdlib/Lean/Meta/Match/Match.c | 2 +- stage0/stdlib/Lean/Meta/Match/MatchEqs.c | 167 +- stage0/stdlib/Lean/Meta/Match/MatcherInfo.c | 2 +- stage0/stdlib/Lean/Meta/RecursorInfo.c | 2 +- stage0/stdlib/Lean/Meta/Reduce.c | 2 +- stage0/stdlib/Lean/Meta/SizeOf.c | 2 +- stage0/stdlib/Lean/Meta/SynthInstance.c | 1722 +- stage0/stdlib/Lean/Meta/Tactic/AC/Main.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/Apply.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/Assert.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/Cases.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/Constructor.c | 380 +- stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/Generalize.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/Induction.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/Injection.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/Intro.c | 2 +- .../Lean/Meta/Tactic/LinearArith/Nat/Basic.c | 2 +- .../Lean/Meta/Tactic/LinearArith/Solver.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c | 4062 +-- stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/Simp/SimpAll.c | 2 +- .../Lean/Meta/Tactic/Simp/SimpTheorems.c | 353 +- stage0/stdlib/Lean/Meta/Tactic/Split.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/Subst.c | 2 +- stage0/stdlib/Lean/Meta/Transform.c | 1463 +- stage0/stdlib/Lean/Meta/UnificationHint.c | 2 +- stage0/stdlib/Lean/Meta/WHNF.c | 634 +- stage0/stdlib/Lean/MetavarContext.c | 9698 +++--- stage0/stdlib/Lean/MonadEnv.c | 2 +- stage0/stdlib/Lean/Parser/Command.c | 2726 +- stage0/stdlib/Lean/ParserCompiler.c | 2 +- .../Lean/PrettyPrinter/Delaborator/Builtins.c | 2 +- .../Lean/PrettyPrinter/Delaborator/SubExpr.c | 2 +- .../Delaborator/TopDownAnalyze.c | 2 +- stage0/stdlib/Lean/Server/FileWorker.c | 12 +- .../Lean/Server/FileWorker/RequestHandling.c | 2061 +- .../Lean/Server/FileWorker/WidgetRequests.c | 22506 +++++++++++++- stage0/stdlib/Lean/Server/GoTo.c | 2 +- stage0/stdlib/Lean/Server/Rpc/Basic.c | 576 +- stage0/stdlib/Lean/Server/Rpc/Deriving.c | 25093 ++++++---------- .../stdlib/Lean/Server/Rpc/RequestHandling.c | 641 +- stage0/stdlib/Lean/Server/Snapshots.c | 175 +- stage0/stdlib/Lean/Server/Watchdog.c | 3 +- stage0/stdlib/Lean/SubExpr.c | 4 +- stage0/stdlib/Lean/Syntax.c | 2 +- stage0/stdlib/Lean/Util/HasConstCache.c | 103 +- stage0/stdlib/Lean/Util/ReplaceExpr.c | 493 +- stage0/stdlib/Lean/Util/ReplaceLevel.c | 585 +- stage0/stdlib/Lean/Util/Trace.c | 2 +- stage0/stdlib/Lean/Widget/Basic.c | 155 +- stage0/stdlib/Lean/Widget/InteractiveCode.c | 220 +- .../Lean/Widget/InteractiveDiagnostic.c | 1950 +- stage0/stdlib/Lean/Widget/InteractiveGoal.c | 2045 +- stage0/stdlib/Lean/Widget/TaggedText.c | 472 +- stage0/stdlib/Std/Data/PersistentArray.c | 2 +- 190 files changed, 77316 insertions(+), 48252 deletions(-) diff --git a/stage0/src/Init/Meta.lean b/stage0/src/Init/Meta.lean index 4fcad613cd..5995ef1c12 100644 --- a/stage0/src/Init/Meta.lean +++ b/stage0/src/Init/Meta.lean @@ -1067,6 +1067,12 @@ def TSepArray.push (sa : TSepArray k sep) (e : TSyntax k) : TSepArray k sep := else { elemsAndSeps := sa.elemsAndSeps.push (mkAtom sep) |>.push e } +instance : EmptyCollection (SepArray sep) where + emptyCollection := ⟨∅⟩ + +instance : EmptyCollection (TSepArray sep k) where + emptyCollection := ⟨∅⟩ + /- We use `CoeTail` here instead of `Coe` to avoid a "loop" when computing `CoeTC`. The "loop" is interrupted using the maximum instance size threshold, but it is a performance bottleneck. diff --git a/stage0/src/Init/Util.lean b/stage0/src/Init/Util.lean index 2902ce9586..b092ac9afb 100644 --- a/stage0/src/Init/Util.lean +++ b/stage0/src/Init/Util.lean @@ -42,8 +42,15 @@ unsafe def ptrAddrUnsafe {α : Type u} (a : @& α) : USize := 0 @[inline] unsafe def withPtrAddrUnsafe {α : Type u} {β : Type v} (a : α) (k : USize → β) (h : ∀ u₁ u₂, k u₁ = k u₂) : β := k (ptrAddrUnsafe a) +@[inline] unsafe def ptrEq (a b : α) : Bool := ptrAddrUnsafe a == ptrAddrUnsafe b + +unsafe def ptrEqList : (as bs : List α) → Bool + | [], [] => true + | a::as, b::bs => if ptrEq a b then ptrEqList as bs else false + | _, _ => false + @[inline] unsafe def withPtrEqUnsafe {α : Type u} (a b : α) (k : Unit → Bool) (h : a = b → k () = true) : Bool := - if ptrAddrUnsafe a == ptrAddrUnsafe b then true else k () + if ptrEq a b then true else k () @[implementedBy withPtrEqUnsafe] def withPtrEq {α : Type u} (a b : α) (k : Unit → Bool) (h : a = b → k () = true) : Bool := k () diff --git a/stage0/src/Lean/Attributes.lean b/stage0/src/Lean/Attributes.lean index 946f0e53c0..51956c2638 100644 --- a/stage0/src/Lean/Attributes.lean +++ b/stage0/src/Lean/Attributes.lean @@ -24,6 +24,17 @@ structure AttributeImplCore where applicationTime := AttributeApplicationTime.afterTypeChecking deriving Inhabited +/-- You can tag attributes with the 'local' or 'scoped' kind. +For example: `attribute [local myattr, scoped yourattr, theirattr]`. + +This is used to indicate how an attribute should be scoped. +- local means that the attribute should only be applied in the current scope and forgotten once the current section, namespace, or file is closed. +- scoped means that the attribute should only be applied while the namespace is open. +- global means that the attribute should always be applied. + +Note that the attribute handler (`AttributeImpl.add`) is responsible for interpreting the kind and +making sure that these kinds are respected. +-/ inductive AttributeKind | «global» | «local» | «scoped» deriving BEq, Inhabited diff --git a/stage0/src/Lean/Data/Lsp/LanguageFeatures.lean b/stage0/src/Lean/Data/Lsp/LanguageFeatures.lean index 58c4f91eac..5b015fb823 100644 --- a/stage0/src/Lean/Data/Lsp/LanguageFeatures.lean +++ b/stage0/src/Lean/Data/Lsp/LanguageFeatures.lean @@ -226,11 +226,13 @@ structure SymbolInformation where deriving ToJson inductive SemanticTokenType where + -- Used by Lean | keyword | «variable» | property | function - /- + /- Other types included by default in the LSP specification. + Not used by the Lean core, but useful to users extending the Lean server. -/ | «namespace» | type | «class» @@ -249,19 +251,23 @@ inductive SemanticTokenType where | number | regexp | operator - -/ + | decorator +-- must be in the same order as the constructors def SemanticTokenType.names : Array String := - #["keyword", "variable", "property", "function"] + #["keyword", "variable", "property", "function", "namespace", "type", "class", + "enum", "interface", "struct", "typeParameter", "parameter", "enumMember", + "event", "method", "macro", "modifier", "comment", "string", "number", + "regexp", "operator", "decorator"] --- must be the correct index in `names` -def SemanticTokenType.toNat : SemanticTokenType → Nat - | keyword => 0 - | «variable» => 1 - | property => 2 - | function => 3 +def SemanticTokenType.toNat (type : SemanticTokenType) : Nat := + type.toCtorIdx -/- +/-- +The semantic token modifiers included by default in the LSP specification. +Not used by the Lean core, but implementing them here allows them to be +utilized by users extending the Lean server. +-/ inductive SemanticTokenModifier where | declaration | definition @@ -273,7 +279,14 @@ inductive SemanticTokenModifier where | modification | documentation | defaultLibrary --/ + +-- must be in the same order as the constructors +def SemanticTokenModifier.names : Array String := + #["declaration", "definition", "readonly", "static", "deprecated", "abstract", + "async", "modification", "documentation", "defaultLibrary"] + +def SemanticTokenModifier.toNat (modifier : SemanticTokenType) : Nat := + modifier.toCtorIdx structure SemanticTokensLegend where tokenTypes : Array String @@ -298,7 +311,7 @@ structure SemanticTokensRangeParams where deriving FromJson, ToJson structure SemanticTokens where - -- resultId?: string; + resultId? : Option String := none data : Array Nat deriving FromJson, ToJson diff --git a/stage0/src/Lean/Declaration.lean b/stage0/src/Lean/Declaration.lean index 29747fc285..b54eac4f34 100644 --- a/stage0/src/Lean/Declaration.lean +++ b/stage0/src/Lean/Declaration.lean @@ -121,7 +121,7 @@ structure TheoremVal extends ConstantVal where all : List Name := [name] deriving Inhabited -/- Value for an opaque constant declaration `constant x : t := e` -/ +/- Value for an opaque constant declaration `opaque x : t := e` -/ structure OpaqueVal extends ConstantVal where value : Expr isUnsafe : Bool diff --git a/stage0/src/Lean/Elab/Declaration.lean b/stage0/src/Lean/Elab/Declaration.lean index 17c83b74f5..08ca210182 100644 --- a/stage0/src/Lean/Elab/Declaration.lean +++ b/stage0/src/Lean/Elab/Declaration.lean @@ -13,7 +13,6 @@ import Lean.Elab.DeclarationRange namespace Lean.Elab.Command open Meta -open TSyntax.Compat private def ensureValidNamespace (name : Name) : MacroM Unit := do match name with @@ -143,7 +142,7 @@ private def inductiveSyntaxToView (modifiers : Modifiers) (decl : Syntax) : Comm classes ← getOptDerivingClasses decl[5] else computedFields ← (decl[5].getOptional?.map (·[1].getArgs) |>.getD #[]).mapM fun cf => withRef cf do - return { ref := cf, modifiers := cf[0], fieldId := cf[1].getId, type := cf[3], matchAlts := cf[4] } + return { ref := cf, modifiers := cf[0], fieldId := cf[1].getId, type := ⟨cf[3]⟩, matchAlts := ⟨cf[4]⟩ } classes ← getOptDerivingClasses decl[6] return { ref := decl @@ -180,7 +179,7 @@ def elabDeclaration : CommandElab := fun stx => do match (← liftMacroM <| expandDeclNamespace? stx) with | some (ns, newStx) => do let ns := mkIdentFrom stx ns - let newStx ← `(namespace $ns:ident $newStx end $ns:ident) + let newStx ← `(namespace $ns:ident $(⟨newStx⟩) end $ns:ident) withMacroExpansion stx newStx <| elabCommand newStx | none => do let decl := stx[1] @@ -260,7 +259,7 @@ def expandMutualNamespace : Macro := fun stx => do | some ns => let ns := mkIdentFrom stx ns let stxNew := stx.setArg 1 (mkNullNode elemsNew) - `(namespace $ns:ident $stxNew end $ns:ident) + `(namespace $ns:ident $(⟨stxNew⟩) end $ns:ident) | none => Macro.throwUnsupported @[builtinMacro Lean.Parser.Command.mutual] @@ -327,35 +326,21 @@ def elabMutual : CommandElab := fun stx => do for attrName in toErase do Attribute.erase declName attrName -def expandInitCmd (builtin : Bool) : Macro := fun stx => do - let optVisibility := stx[0] - let optHeader := stx[2] - let doSeq := stx[3] - let attrId := mkIdentFrom stx <| if builtin then `builtinInit else `init - if optHeader.isNone then - unless optVisibility.isNone do - Macro.throwError "invalid initialization command, 'visibility' modifer is not allowed" - `(@[$attrId:ident]def initFn : IO Unit := do $doSeq) - else - let id := optHeader[0] - let type := optHeader[1][1] - if optVisibility.isNone then +@[builtinMacro Lean.Parser.Command.«initialize»] def expandInitialize : Macro + | stx@`($declModifiers:declModifiers $kw:initializeKeyword $[$id? : $type? ←]? $doSeq) => do + let attrId := mkIdentFrom stx <| if kw.raw[0].isToken "initialize" then `init else `builtinInit + if let (some id, some type) := (id?, type?) then + let `(Parser.Command.declModifiersT| $[$doc?:docComment]? $[@[$attrs?,*]]? $(vis?)? $[unsafe%$unsafe?]?) := stx[0] + | Macro.throwErrorAt declModifiers "invalid initialization command, unexpected modifiers" + let declModifiers ← `(Parser.Command.declModifiersT| $[$doc?:docComment]? @[$attrId:ident initFn, $(attrs?.getD ∅),*] $(vis?)? $[unsafe%$unsafe?]?) `(def initFn : IO $type := do $doSeq - @[$attrId:ident initFn] opaque $id : $type) - else if optVisibility[0].getKind == ``Parser.Command.private then - `(def initFn : IO $type := do $doSeq - @[$attrId:ident initFn] private opaque $id : $type) - else if optVisibility[0].getKind == ``Parser.Command.protected then - `(def initFn : IO $type := do $doSeq - @[$attrId:ident initFn] protected opaque $id : $type) + $(⟨declModifiers⟩):declModifiers opaque $id : $type) else - Macro.throwError "unexpected visibility annotation" - -@[builtinMacro Lean.Parser.Command.«initialize»] def expandInitialize : Macro := - expandInitCmd (builtin := false) - -@[builtinMacro Lean.Parser.Command.«builtin_initialize»] def expandBuiltinInitialize : Macro := - expandInitCmd (builtin := true) + if let `(Parser.Command.declModifiersT| ) := declModifiers then + `(@[$attrId:ident] def initFn : IO Unit := do $doSeq) + else + Macro.throwErrorAt declModifiers "invalid initialization command, unexpected modifiers" + | _ => Macro.throwUnsupported builtin_initialize registerTraceClass `Elab.axiom diff --git a/stage0/src/Lean/Elab/Deriving/FromToJson.lean b/stage0/src/Lean/Elab/Deriving/FromToJson.lean index 32872a1207..a0c1f61b49 100644 --- a/stage0/src/Lean/Elab/Deriving/FromToJson.lean +++ b/stage0/src/Lean/Elab/Deriving/FromToJson.lean @@ -30,7 +30,7 @@ def mkToJsonInstanceHandler (declNames : Array Name) : CommandElabM Bool := do let (isOptField, nm) := mkJsonField field if isOptField then ``(opt $nm $(mkIdent <| header.targetNames[0]! ++ field)) else ``([($nm, toJson $(mkIdent <| header.targetNames[0]! ++ field))]) - let cmd ← `(private def $(mkIdent ctx.auxFunNames[0]!):ident $header.binders:bracketedBinder* := + let cmd ← `(private def $(mkIdent ctx.auxFunNames[0]!):ident $header.binders:bracketedBinder* : Json := mkObj <| List.join [$fields,*]) return #[cmd] ++ (← mkInstanceCmds ctx ``ToJson declNames) cmds.forM elabCommand @@ -63,9 +63,9 @@ def mkToJsonInstanceHandler (declNames : Array Name) : CommandElabM Bool := do if ctx.usePartial then let letDecls ← mkLocalInstanceLetDecls ctx ``ToJson header.argNames let auxTerm ← mkLet letDecls auxTerm - `(private partial def $toJsonFuncId:ident $header.binders:bracketedBinder* := $auxTerm) + `(private partial def $toJsonFuncId:ident $header.binders:bracketedBinder* : Json := $auxTerm) else - `(private def $toJsonFuncId:ident $header.binders:bracketedBinder* := $auxTerm) + `(private def $toJsonFuncId:ident $header.binders:bracketedBinder* : Json := $auxTerm) return #[auxCmd] ++ (← mkInstanceCmds ctx ``ToJson declNames) cmds.forM elabCommand return true diff --git a/stage0/src/Lean/Elab/Structure.lean b/stage0/src/Lean/Elab/Structure.lean index 9a1976b960..8496c9d5a3 100644 --- a/stage0/src/Lean/Elab/Structure.lean +++ b/stage0/src/Lean/Elab/Structure.lean @@ -500,7 +500,7 @@ private def elabFieldTypeValue (view : StructFieldView) : TermElabM (Option Expr Term.synthesizeSyntheticMVarsNoPostponing -- TODO: add forbidden predicate using `shortDeclName` from `view` let params ← Term.addAutoBoundImplicits params - let value ← Term.elabTerm valStx none + let value ← Term.withoutAutoBoundImplicit <| Term.elabTerm valStx none let value ← mkLambdaFVars params value return (none, value) | some typeStx => @@ -512,7 +512,7 @@ private def elabFieldTypeValue (view : StructFieldView) : TermElabM (Option Expr let type ← mkForallFVars params type return (type, none) | some valStx => - let value ← Term.elabTermEnsuringType valStx type + let value ← Term.withoutAutoBoundImplicit <| Term.elabTermEnsuringType valStx type Term.synthesizeSyntheticMVarsNoPostponing let type ← mkForallFVars params type let value ← mkLambdaFVars params value diff --git a/stage0/src/Lean/Elab/Tactic/Basic.lean b/stage0/src/Lean/Elab/Tactic/Basic.lean index 76dab4f54d..d4ecccfa35 100644 --- a/stage0/src/Lean/Elab/Tactic/Basic.lean +++ b/stage0/src/Lean/Elab/Tactic/Basic.lean @@ -131,68 +131,85 @@ def mkInitialTacticInfo (stx : Syntax) : TacticM (TacticM Info) := do withInfoContext x (← mkInitialTacticInfo stx) /- -Important: we must define `evalTacticUsing` and `expandTacticMacroFns` before we define +Important: we must define `evalTactic` before we define the instance `MonadExcept` for `TacticM` since it backtracks the state including error messages, and this is bad when rethrowing the exception at the `catch` block in these methods. We marked these places with a `(*)` in these methods. -/ -private def evalTacticUsing (s : SavedState) (stx : Syntax) (tactics : List (KeyedDeclsAttribute.AttributeEntry Tactic)) : TacticM Unit := do - let rec loop - | [] => throwErrorAt stx "unexpected syntax {indentD stx}" - | evalFn::evalFns => do - try - withReader ({ · with elaborator := evalFn.declName }) <| withTacticInfoContext stx <| evalFn.value stx - catch - | ex@(.error ..) => - match evalFns with - | [] => throw ex -- (*) - | evalFns => s.restore; loop evalFns - | ex@(.internal id _) => +/-- + Auxiliary datastructure for capturing exceptions at `evalTactic`. +-/ +inductive EvalTacticFailure where + | /-- Exceptions ≠ AbortException -/ + exception (ex : Exception) + | /-- + `abort` exceptions are used when exceptions have already been logged at the message Log. + Thus, we save the whole state here to make sure we don't lose them. + -/ + abort (s : SavedState) + +partial def evalTactic (stx : Syntax) : TacticM Unit := + withRef stx <| withIncRecDepth <| withFreshMacroScope <| match stx with + | .node _ k _ => + if k == nullKind then + -- Macro writers create a sequence of tactics `t₁ ... tₙ` using `mkNullNode #[t₁, ..., tₙ]` + stx.getArgs.forM evalTactic + else do + trace[Elab.step] "{stx}" + let evalFns := tacticElabAttribute.getEntries (← getEnv) stx.getKind + let macros := macroAttribute.getEntries (← getEnv) stx.getKind + if evalFns.isEmpty && macros.isEmpty then + throwErrorAt stx "tactic '{stx.getKind}' has not been implemented" + let s ← Tactic.saveState + expandEval s macros evalFns #[] + | .missing => pure () + | _ => throwError m!"unexpected tactic{indentD stx}" +where + throwExs (failures : Array EvalTacticFailure) : TacticM Unit := do + let exs := failures.filterMap fun | .abort _ => none | .exception ex => some ex + if exs.isEmpty then + if let some (.abort s) := failures.find? fun | .abort _ => true | _ => false then + s.restore + throwAbortTactic + else + throwErrorAt stx "unexpected syntax {indentD stx}" + else if h : 0 < exs.size then + throw exs[0] -- (*) + else + withRef stx do throwErrorWithNestedErrors "tactic failed" exs -- (*) + + @[inline] handleEx (s : SavedState) (failures : Array EvalTacticFailure) (ex : Exception) (k : Array EvalTacticFailure → TacticM Unit) := do + match ex with + | .error .. => s.restore; k (failures.push (.exception ex)) + | .internal id _ => if id == unsupportedSyntaxExceptionId then - s.restore; loop evalFns + -- We do not store `unsupportedSyntaxExceptionId`, see throwExs + s.restore; k failures + else if id == abortTacticExceptionId then + let failures := failures.push (.abort (← Tactic.saveState)) + s.restore; k failures else - throw ex - loop tactics + throw ex -- (*) -mutual - - partial def expandTacticMacroFns (s : SavedState) (stx : Syntax) (macros : List (KeyedDeclsAttribute.AttributeEntry Macro)) : TacticM Unit := - let rec loop - | [] => throwErrorAt stx "tactic '{stx.getKind}' has not been implemented" - | m::ms => do + expandEval (s : SavedState) (macros : List _) (evalFns : List _) (failures : Array EvalTacticFailure) : TacticM Unit := + match macros with + | [] => eval s evalFns failures + | m :: ms => try withReader ({ · with elaborator := m.declName }) do withTacticInfoContext stx do let stx' ← adaptMacro m.value stx evalTactic stx' - catch ex => - if ms.isEmpty then throw ex -- (*) - s.restore; loop ms - loop macros + catch ex => handleEx s failures ex (expandEval s ms evalFns) - partial def expandTacticMacro (s : SavedState) (stx : Syntax) : TacticM Unit := do - expandTacticMacroFns s stx (macroAttribute.getEntries (← getEnv) stx.getKind) - - partial def evalTacticAux (stx : Syntax) : TacticM Unit := - withRef stx <| withIncRecDepth <| withFreshMacroScope <| match stx with - | .node _ k _ => - if k == nullKind then - -- Macro writers create a sequence of tactics `t₁ ... tₙ` using `mkNullNode #[t₁, ..., tₙ]` - stx.getArgs.forM evalTactic - else do - trace[Elab.step] "{stx}" - let s ← Tactic.saveState - match tacticElabAttribute.getEntries (← getEnv) stx.getKind with - | [] => expandTacticMacro s stx - | evalFns => evalTacticUsing s stx evalFns - | .missing => pure () - | _ => throwError m!"unexpected tactic{indentD stx}" - - partial def evalTactic (stx : Syntax) : TacticM Unit := - evalTacticAux stx - -end + eval (s : SavedState) (evalFns : List _) (failures : Array EvalTacticFailure) : TacticM Unit := do + match evalFns with + | [] => throwExs failures + | evalFn::evalFns => do + try + withReader ({ · with elaborator := evalFn.declName }) <| withTacticInfoContext stx <| evalFn.value stx + catch ex => handleEx s failures ex (eval s evalFns) def throwNoGoalsToBeSolved : TacticM α := throwError "no goals to be solved" diff --git a/stage0/src/Lean/Elab/Tactic/ElabTerm.lean b/stage0/src/Lean/Elab/Tactic/ElabTerm.lean index 202f3621fe..d105d3b19b 100644 --- a/stage0/src/Lean/Elab/Tactic/ElabTerm.lean +++ b/stage0/src/Lean/Elab/Tactic/ElabTerm.lean @@ -242,14 +242,10 @@ def elabAsFVar (stx : Syntax) (userName? : Option Name := none) : TacticM FVarId match stx with | `(tactic| rename $typeStx:term => $h:ident) => do withMainContext do - /- Remark: we must not use `withoutModifyingState` because we may miss errors message. - For example, suppose the following `elabTerm` logs an error during elaboration. - In this scenario, the term `type` contains a synthetic `sorry`, and the error - message `"failed to find ..."` is not logged by the outer loop. - By using `withoutModifyingStateWithInfoAndMessages`, we ensure that - the messages and the info trees are preserved while the rest of the - state is backtracked. -/ - let fvarId ← withoutModifyingStateWithInfoAndMessages <| withNewMCtxDepth do + /- Remark: we also use `withoutRecover` to make sure `elabTerm` does not succeed + using `sorryAx`, and we get `"failed to find ..."` which will not be logged because + it contains synthetic sorry's -/ + let fvarId ← withoutModifyingState <| withNewMCtxDepth <| withoutRecover do let type ← elabTerm typeStx none (mayPostpone := true) let fvarId? ← (← getLCtx).findDeclRevM? fun localDecl => do if (← isDefEq type localDecl.type) then return localDecl.fvarId else return none diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index ec0fda41a1..50c6eab784 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -850,13 +850,13 @@ Otherwise, we just use the basic `tryCoe`. Extensions for monads. -1- Try to unify `n` and `m`. If it succeeds, then we use - ``` - coeM {m : Type u → Type v} {α β : Type u} [∀ a, CoeT α a β] [Monad m] (x : m α) : m β - ``` - `n` must be a `Monad` to use this one. +1. Try to unify `n` and `m`. If it succeeds, then we use + ``` + coeM {m : Type u → Type v} {α β : Type u} [∀ a, CoeT α a β] [Monad m] (x : m α) : m β + ``` + `n` must be a `Monad` to use this one. -2- If there is monad lift from `m` to `n` and we can unify `α` and `β`, we use +2. If there is monad lift from `m` to `n` and we can unify `α` and `β`, we use ``` liftM : ∀ {m : Type u_1 → Type u_2} {n : Type u_1 → Type u_3} [self : MonadLiftT m n] {α : Type u_1}, m α → n α ``` @@ -871,7 +871,7 @@ Extensions for monads. ``` -3- If there is a monad lif from `m` to `n` and a coercion from `α` to `β`, we use +3. If there is a monad lif from `m` to `n` and a coercion from `α` to `β`, we use ``` liftCoeM {m : Type u → Type v} {n : Type u → Type w} {α β : Type u} [MonadLiftT m n] [∀ a, CoeT α a β] [Monad n] (x : m α) : n β ``` diff --git a/stage0/src/Lean/Expr.lean b/stage0/src/Lean/Expr.lean index 2947ebbdc0..82f09a7c32 100644 --- a/stage0/src/Lean/Expr.lean +++ b/stage0/src/Lean/Expr.lean @@ -732,9 +732,6 @@ opaque eqv (a : @& Expr) (b : @& Expr) : Bool instance : BEq Expr where beq := Expr.eqv -protected unsafe def ptrEq (a b : Expr) : Bool := - ptrAddrUnsafe a == ptrAddrUnsafe b - /-- Return true iff `a` and `b` are equal. Binder names and annotations are taking into account. @@ -1393,101 +1390,120 @@ def containsFVar (e : Expr) (fvarId : FVarId) : Bool := e.hasAnyFVar (· == fvarId) /-! -The update functions here are defined using C code. They will try to avoid -allocating new values using pointer equality. -The hypotheses `(h : e.is...)` are used to ensure Lean will not crash -at runtime. -The `update*!` functions are inlined and provide a convenient way of using the -update proofs without providing proofs. -Note that if they are used under a match-expression, the compiler will eliminate -the double-match. +The update functions try to avoid allocating new values using pointer equality. +Note that if the `update*!` functions are used under a match-expression, +the compiler will eliminate the double-match. -/ -@[extern "lean_expr_update_app"] -def updateApp (e : Expr) (newFn : Expr) (newArg : Expr) (h : e.isApp) : Expr := - mkApp newFn newArg - -@[inline] def updateApp! (e : Expr) (newFn : Expr) (newArg : Expr) : Expr := - match h : e with - | app .. => updateApp e newFn newArg (h ▸ rfl) - | _ => panic! "application expected" - -@[extern "lean_expr_update_const"] -def updateConst (e : Expr) (newLevels : List Level) (h : e.isConst) : Expr := - mkConst e.constName! newLevels - -@[inline] def updateConst! (e : Expr) (newLevels : List Level) : Expr := - match h : e with - | const .. => updateConst e newLevels (h ▸ rfl) - | _ => panic! "constant expected" - -@[extern "lean_expr_update_sort"] -def updateSort (e : Expr) (newLevel : Level) (h : e.isSort) : Expr := - mkSort newLevel - -@[inline] def updateSort! (e : Expr) (newLevel : Level) : Expr := - match h : e with - | sort .. => updateSort e newLevel (h ▸ rfl) - | _ => panic! "level expected" - -@[extern "lean_expr_update_proj"] -def updateProj (e : Expr) (newExpr : Expr) (h : e.isProj) : Expr := +@[inline] private unsafe def updateApp!Impl (e : Expr) (newFn : Expr) (newArg : Expr) : Expr := match e with - | proj s i .. => mkProj s i newExpr - | _ => e -- unreachable because of `h` + | app fn arg => if ptrEq fn newFn && ptrEq arg newArg then e else mkApp newFn newArg + | _ => panic! "application expected" -@[extern "lean_expr_update_mdata"] -def updateMData (e : Expr) (newExpr : Expr) (h : e.isMData) : Expr := +@[implementedBy updateApp!Impl] +def updateApp! (e : Expr) (newFn : Expr) (newArg : Expr) : Expr := match e with - | mdata d .. => mkMData d newExpr - | _ => e -- unreachable because of `h` + | app _ _ => mkApp newFn newArg + | _ => panic! "application expected" -@[inline] def updateMData! (e : Expr) (newExpr : Expr) : Expr := - match h : e with - | mdata .. => updateMData e newExpr (h ▸ rfl) - | _ => panic! "mdata expected" +@[inline] private unsafe def updateConst!Impl (e : Expr) (newLevels : List Level) : Expr := + match e with + | const n ls => if ptrEqList ls newLevels then e else mkConst n newLevels + | _ => panic! "constant expected" -@[inline] def updateProj! (e : Expr) (newExpr : Expr) : Expr := - match h : e with - | proj .. => updateProj e newExpr (h ▸ rfl) - | _ => panic! "proj expected" +@[implementedBy updateConst!Impl] +def updateConst! (e : Expr) (newLevels : List Level) : Expr := + match e with + | const n _ => mkConst n newLevels + | _ => panic! "constant expected" -@[extern "lean_expr_update_forall"] -def updateForall (e : Expr) (newBinfo : BinderInfo) (newDomain : Expr) (newBody : Expr) (h : e.isForall) : Expr := - mkForall e.bindingName! newBinfo newDomain newBody +@[inline] private unsafe def updateSort!Impl (e : Expr) (u' : Level) : Expr := + match e with + | sort u => if ptrEq u u' then e else mkSort u' + | _ => panic! "level expected" -@[inline] def updateForall! (e : Expr) (newBinfo : BinderInfo) (newDomain : Expr) (newBody : Expr) : Expr := - match h : e with - | forallE .. => updateForall e newBinfo newDomain newBody (h ▸ rfl) - | _ => panic! "forall expected" +@[implementedBy updateSort!Impl] +def updateSort! (e : Expr) (newLevel : Level) : Expr := + match e with + | sort _ => mkSort newLevel + | _ => panic! "level expected" -@[inline] def updateForallE! (e : Expr) (newDomain : Expr) (newBody : Expr) : Expr := - match h : e with - | forallE _ _ _ c => updateForall e c newDomain newBody (h ▸ rfl) +@[inline] private unsafe def updateMData!Impl (e : Expr) (newExpr : Expr) : Expr := + match e with + | mdata d a => if ptrEq a newExpr then e else mkMData d newExpr + | _ => panic! "mdata expected" + +@[implementedBy updateMData!Impl] +def updateMData! (e : Expr) (newExpr : Expr) : Expr := + match e with + | mdata d _ => mkMData d newExpr + | _ => panic! "mdata expected" + +@[inline] private unsafe def updateProj!Impl (e : Expr) (newExpr : Expr) : Expr := + match e with + | proj s i a => if ptrEq a newExpr then e else mkProj s i newExpr + | _ => panic! "proj expected" + +@[implementedBy updateProj!Impl] +def updateProj! (e : Expr) (newExpr : Expr) : Expr := + match e with + | proj s i _ => mkProj s i newExpr + | _ => panic! "proj expected" + +@[inline] private unsafe def updateForall!Impl (e : Expr) (newBinfo : BinderInfo) (newDomain : Expr) (newBody : Expr) : Expr := + match e with + | forallE n d b bi => + if ptrEq d newDomain && ptrEq b newBody && bi == newBinfo then + e + else + mkForall n newBinfo newDomain newBody | _ => panic! "forall expected" -@[extern "lean_expr_update_lambda"] -def updateLambda (e : Expr) (newBinfo : BinderInfo) (newDomain : Expr) (newBody : Expr) (h : e.isLambda) : Expr := - mkLambda e.bindingName! newBinfo newDomain newBody +@[implementedBy updateForall!Impl] +def updateForall! (e : Expr) (newBinfo : BinderInfo) (newDomain : Expr) (newBody : Expr) : Expr := + match e with + | forallE n _ _ _ => mkForall n newBinfo newDomain newBody + | _ => panic! "forall expected" -@[inline] def updateLambda! (e : Expr) (newBinfo : BinderInfo) (newDomain : Expr) (newBody : Expr) : Expr := - match h : e with - | lam .. => updateLambda e newBinfo newDomain newBody (h ▸ rfl) - | _ => panic! "lambda expected" +@[inline] def updateForallE! (e : Expr) (newDomain : Expr) (newBody : Expr) : Expr := + match e with + | forallE n d b bi => updateForall! (forallE n d b bi) bi newDomain newBody + | _ => panic! "forall expected" -@[inline] def updateLambdaE! (e : Expr) (newDomain : Expr) (newBody : Expr) : Expr := - match h : e with - | lam _ _ _ c => updateLambda e c newDomain newBody (h ▸ rfl) +@[inline] private unsafe def updateLambda!Impl (e : Expr) (newBinfo : BinderInfo) (newDomain : Expr) (newBody : Expr) : Expr := + match e with + | lam n d b bi => + if ptrEq d newDomain && ptrEq b newBody && bi == newBinfo then + e + else + mkLambda n newBinfo newDomain newBody | _ => panic! "lambda expected" -@[extern "lean_expr_update_let"] -def updateLet (e : Expr) (newType : Expr) (newVal : Expr) (newBody : Expr) (h : e.isLet) : Expr := - mkLet e.letName! newType newVal newBody +@[implementedBy updateLambda!Impl] +def updateLambda! (e : Expr) (newBinfo : BinderInfo) (newDomain : Expr) (newBody : Expr) : Expr := + match e with + | lam n _ _ _ => mkLambda n newBinfo newDomain newBody + | _ => panic! "lambda expected" -@[inline] def updateLet! (e : Expr) (newType : Expr) (newVal : Expr) (newBody : Expr) : Expr := - match h : e with - | letE .. => updateLet e newType newVal newBody (h ▸ rfl) - | _ => panic! "let expression expected" +@[inline] def updateLambdaE! (e : Expr) (newDomain : Expr) (newBody : Expr) : Expr := + match e with + | lam n d b bi => updateLambda! (lam n d b bi) bi newDomain newBody + | _ => panic! "lambda expected" + +@[inline] private unsafe def updateLet!Impl (e : Expr) (newType : Expr) (newVal : Expr) (newBody : Expr) : Expr := + match e with + | letE n t v b nonDep => + if ptrEq t newType && ptrEq v newVal && ptrEq b newBody then + e + else + letE n newType newVal newBody nonDep + | _ => panic! "let expression expected" + +@[implementedBy updateLet!Impl] +def updateLet! (e : Expr) (newType : Expr) (newVal : Expr) (newBody : Expr) : Expr := + match e with + | letE n _ _ _ c => letE n newType newVal newBody c + | _ => panic! "let expression expected" def updateFn : Expr → Expr → Expr | e@(app f a), g => e.updateApp! (updateFn f g) a diff --git a/stage0/src/Lean/Level.lean b/stage0/src/Lean/Level.lean index c5efb8df8e..4e93c0b56f 100644 --- a/stage0/src/Lean/Level.lean +++ b/stage0/src/Lean/Level.lean @@ -493,11 +493,9 @@ end Level elseK () /- Similar to `mkLevelMax`, but applies cheap simplifications -/ -@[export lean_level_mk_max_simp] def mkLevelMax' (u v : Level) : Level := mkLevelMaxCore u v fun _ => mkLevelMax u v -@[export lean_level_simp_max] def simpLevelMax' (u v : Level) (d : Level) : Level := mkLevelMaxCore u v fun _ => d @@ -509,51 +507,52 @@ def simpLevelMax' (u v : Level) (d : Level) : Level := else elseK () /- Similar to `mkLevelIMax`, but applies cheap simplifications -/ -@[export lean_level_mk_imax_simp] def mkLevelIMax' (u v : Level) : Level := mkLevelIMaxCore u v fun _ => mkLevelIMax u v -@[export lean_level_simp_imax] def simpLevelIMax' (u v : Level) (d : Level) := mkLevelIMaxCore u v fun _ => d namespace Level -/- The update functions here are defined using C code. They will try to avoid - allocating new values using pointer equality. - The hypotheses `(h : e.is...)` are used to ensure Lean will not crash - at runtime. - The `update*!` functions are inlined and provide a convenient way of using the - update proofs without providing proofs. - Note that if they are used under a match-expression, the compiler will eliminate - the double-match. -/ +/-! +The update functions try to avoid allocating new values using pointer equality. +Note that if the `update*!` functions are used under a match-expression, +the compiler will eliminate the double-match. +-/ -@[extern "lean_level_update_succ"] -def updateSucc (lvl : Level) (newLvl : Level) (h : lvl.isSucc) : Level := - mkLevelSucc newLvl +@[inline] private unsafe def updateSucc!Impl (lvl : Level) (newLvl : Level) : Level := + match lvl with + | succ l => if ptrEq l newLvl then lvl else mkLevelSucc newLvl + | _ => panic! "succ level expected" -@[inline] def updateSucc! (lvl : Level) (newLvl : Level) : Level := -match h : lvl with - | succ .. => updateSucc lvl newLvl (h ▸ rfl) - | _ => panic! "succ level expected" +@[implementedBy updateSucc!Impl] +def updateSucc! (lvl : Level) (newLvl : Level) : Level := + match lvl with + | succ _ => mkLevelSucc newLvl + | _ => panic! "succ level expected" -@[extern "lean_level_update_max"] -def updateMax (lvl : Level) (newLhs : Level) (newRhs : Level) (h : lvl.isMax) : Level := - mkLevelMax' newLhs newRhs +@[inline] private unsafe def updateMax!Impl (lvl : Level) (newLhs : Level) (newRhs : Level) : Level := + match lvl with + | max lhs rhs => if ptrEq lhs newLhs && ptrEq rhs newRhs then simpLevelMax' newLhs newRhs lvl else mkLevelMax' newLhs newRhs + | _ => panic! "max level expected" -@[inline] def updateMax! (lvl : Level) (newLhs : Level) (newRhs : Level) : Level := - match h : lvl with - | max .. => updateMax lvl newLhs newRhs (h ▸ rfl) - | _ => panic! "max level expected" +@[implementedBy updateMax!Impl] +def updateMax! (lvl : Level) (newLhs : Level) (newRhs : Level) : Level := + match lvl with + | max _ _ => mkLevelMax' newLhs newRhs + | _ => panic! "max level expected" -@[extern "lean_level_update_imax"] -def updateIMax (lvl : Level) (newLhs : Level) (newRhs : Level) (h : lvl.isIMax) : Level := - mkLevelIMax' newLhs newRhs +@[inline] private unsafe def updateIMax!Impl (lvl : Level) (newLhs : Level) (newRhs : Level) : Level := + match lvl with + | imax lhs rhs => if ptrEq lhs newLhs && ptrEq rhs newRhs then simpLevelIMax' newLhs newRhs lvl else mkLevelIMax' newLhs newRhs + | _ => panic! "imax level expected" -@[inline] def updateIMax! (lvl : Level) (newLhs : Level) (newRhs : Level) : Level := - match h : lvl with - | imax .. => updateIMax lvl newLhs newRhs (h ▸ rfl) - | _ => panic! "imax level expected" +@[implementedBy updateIMax!Impl] +def updateIMax! (lvl : Level) (newLhs : Level) (newRhs : Level) : Level := + match lvl with + | imax _ _ => mkLevelIMax' newLhs newRhs + | _ => panic! "imax level expected" def mkNaryMax : List Level → Level | [] => levelZero diff --git a/stage0/src/Lean/Meta/Match/Match.lean b/stage0/src/Lean/Meta/Match/Match.lean index b2ba02d2c8..c3f9aa9378 100644 --- a/stage0/src/Lean/Meta/Match/Match.lean +++ b/stage0/src/Lean/Meta/Match/Match.lean @@ -188,18 +188,18 @@ private def processAsPattern (p : Problem) : MetaM Problem := match alt.patterns with | Pattern.as fvarId p h :: ps => /- We used to use `checkAndReplaceFVarId` here, but `x` and `fvarId` may have different types - when dependent types are beind used. Let's consider the repro for issue #471 - ``` - inductive vec : Nat → Type - | nil : vec 0 - | cons : Int → vec n → vec n.succ + when dependent types are beind used. Let's consider the repro for issue #471 + ``` + inductive vec : Nat → Type + | nil : vec 0 + | cons : Int → vec n → vec n.succ - def vec_len : vec n → Nat - | vec.nil => 0 - | x@(vec.cons h t) => vec_len t + 1 + def vec_len : vec n → Nat + | vec.nil => 0 + | x@(vec.cons h t) => vec_len t + 1 - ``` - we reach the state + ``` + we reach the state ``` [Meta.Match.match] remaining variables: [x✝:(vec n✝)] alternatives: @@ -297,7 +297,7 @@ def assign (fvarId : FVarId) (v : Expr) : M Bool := do The first step is a variable-transition which replaces `β` with `β✝` in the first and third alternatives. The constraint `β✝ === α` in the second alternative is lost. Note that `α` is not an alternative variable. After applying the variable-transition step twice, we reach the following state - ``lean + ```lean [Meta.Match.match] remaining variables: [f✝:(Arrow β✝ γ✝), g✝:(Arrow α β✝)] alternatives: [g:(Arrow α β✝)] |- [(Arrow.id .(β✝)), g] => h_1 β✝ g diff --git a/stage0/src/Lean/Meta/Tactic/Constructor.lean b/stage0/src/Lean/Meta/Tactic/Constructor.lean index 29b6132866..93ab123660 100644 --- a/stage0/src/Lean/Meta/Tactic/Constructor.lean +++ b/stage0/src/Lean/Meta/Tactic/Constructor.lean @@ -9,7 +9,11 @@ import Lean.Meta.Tactic.Apply namespace Lean.Meta -def constructor (mvarId : MVarId) : MetaM (List MVarId) := do +/-- +When the goal `mvarId` is an inductive datatype, +`constructor` calls `apply` with the first matching constructor. +-/ +def constructor (mvarId : MVarId) (cfg : ApplyConfig := {}) : MetaM (List MVarId) := do withMVarContext mvarId do checkNotAssigned mvarId `constructor let target ← getMVarType' mvarId @@ -18,7 +22,7 @@ def constructor (mvarId : MVarId) : MetaM (List MVarId) := do fun ival us => do for ctor in ival.ctors do try - return ← apply mvarId (Lean.mkConst ctor us) + return ← apply mvarId (Lean.mkConst ctor us) cfg catch _ => pure () throwTacticEx `constructor mvarId "no applicable constructor found" diff --git a/stage0/src/Lean/Parser/Command.lean b/stage0/src/Lean/Parser/Command.lean index be0f7bcc2f..096efe0117 100644 --- a/stage0/src/Lean/Parser/Command.lean +++ b/stage0/src/Lean/Parser/Command.lean @@ -132,8 +132,8 @@ def openDecl := openHiding <|> openRenaming <|> openOnly <|> openSimple @[builtinCommandParser] def «open» := leading_parser withPosition ("open " >> openDecl) @[builtinCommandParser] def «mutual» := leading_parser "mutual " >> many1 (ppLine >> notSymbol "end" >> commandParser) >> ppDedent (ppLine >> "end") >> terminationSuffix -@[builtinCommandParser] def «initialize» := leading_parser optional visibility >> "initialize " >> optional (atomic (ident >> Term.typeSpec >> Term.leftArrow)) >> Term.doSeq -@[builtinCommandParser] def «builtin_initialize» := leading_parser optional visibility >> "builtin_initialize " >> optional (atomic (ident >> Term.typeSpec >> Term.leftArrow)) >> Term.doSeq +def initializeKeyword := leading_parser "initialize " <|> "builtin_initialize " +@[builtinCommandParser] def «initialize» := leading_parser declModifiers false >> initializeKeyword >> optional (atomic (ident >> Term.typeSpec >> Term.leftArrow)) >> Term.doSeq @[builtinCommandParser] def «in» := trailing_parser withOpen (" in " >> commandParser) diff --git a/stage0/src/Lean/Server/FileWorker/RequestHandling.lean b/stage0/src/Lean/Server/FileWorker/RequestHandling.lean index 411c58e375..208323b607 100644 --- a/stage0/src/Lean/Server/FileWorker/RequestHandling.lean +++ b/stage0/src/Lean/Server/FileWorker/RequestHandling.lean @@ -237,18 +237,10 @@ open Parser.Command in partial def handleDocumentSymbol (_ : DocumentSymbolParams) : RequestM (RequestTask DocumentSymbolResult) := do let doc ← readDoc - mapTask (← doc.cmdSnaps.waitHead?) fun _ => do - let ⟨cmdSnaps, e?⟩ ← doc.cmdSnaps.getFinishedPrefix - let mut stxs := cmdSnaps.map (·.stx) - match e? with - | some ElabTaskError.aborted => - throw RequestError.fileChanged - | some (ElabTaskError.ioError e) => - throw (e : RequestError) - | _ => pure () - - let lastSnap := cmdSnaps.getLast! -- see `waitHead?` above - stxs := stxs ++ (← parseAhead doc.meta.mkInputContext lastSnap).toList + -- bad: we have to wait on elaboration of the entire file before we can report document symbols + let t ← doc.cmdSnaps.waitAll + mapTask t fun (snaps, _) => do + let mut stxs := snaps.map (·.stx) let (syms, _) := toDocumentSymbols doc.meta.text stxs return { syms := syms.toArray } where diff --git a/stage0/src/Lean/Server/Rpc/Basic.lean b/stage0/src/Lean/Server/Rpc/Basic.lean index 1d1c5f93c0..b0e4510481 100644 --- a/stage0/src/Lean/Server/Rpc/Basic.lean +++ b/stage0/src/Lean/Server/Rpc/Basic.lean @@ -42,10 +42,13 @@ non-JSON-serializable fields can be auto-encoded in two ways: -- TODO(WN): for Lean.js, have third parameter defining the client-side structure; -- or, compile `WithRpcRef` to "opaque reference" on the client class RpcEncoding (α : Type) (β : outParam Type) where - rpcEncode {m : Type → Type} [Monad m] [MonadRpcSession m] : α → m β + rpcEncode {m : Type → Type} [Monad m] [MonadRpcSession m] : α → ExceptT String m β rpcDecode {m : Type → Type} [Monad m] [MonadRpcSession m] : β → ExceptT String m α export RpcEncoding (rpcEncode rpcDecode) +instance : Nonempty (RpcEncoding α β) := + ⟨{ rpcEncode := fun _ => throw "unreachable", rpcDecode := fun _ => throw "unreachable" }⟩ + instance [FromJson α] [ToJson α] : RpcEncoding α α where rpcEncode := pure rpcDecode := pure diff --git a/stage0/src/Lean/Server/Rpc/Deriving.lean b/stage0/src/Lean/Server/Rpc/Deriving.lean index c106b84d07..8ad3231d07 100644 --- a/stage0/src/Lean/Server/Rpc/Deriving.lean +++ b/stage0/src/Lean/Server/Rpc/Deriving.lean @@ -20,26 +20,14 @@ private def deriveWithRefInstance (typeNm : Name) : CommandElabM Bool := do -- TODO(WN): check that `typeNm` is not a scalar type let typeId := mkIdent typeNm let cmds ← `( - section - variable {m : Type → Type} - unsafe def encodeUnsafe [Monad m] [MonadRpcSession m] (r : WithRpcRef $typeId:ident) : m Lsp.RpcRef := - WithRpcRef.encodeUnsafe $(quote typeNm) r + unsafe def unsafeInst : RpcEncoding (WithRpcRef $typeId:ident) Lsp.RpcRef where + rpcEncode := WithRpcRef.encodeUnsafe $(quote typeNm) + rpcDecode := WithRpcRef.decodeUnsafeAs $typeId:ident $(quote typeNm) - @[implementedBy encodeUnsafe] - opaque encode [Monad m] [MonadRpcSession m] (r : WithRpcRef $typeId:ident) : m Lsp.RpcRef := - pure ⟨0⟩ + @[implementedBy unsafeInst] + opaque inst : RpcEncoding (WithRpcRef $typeId) Lsp.RpcRef - unsafe def decodeUnsafe [Monad m] [MonadRpcSession m] (r : Lsp.RpcRef) : ExceptT String m (WithRpcRef $typeId:ident) := - WithRpcRef.decodeUnsafeAs $typeId:ident $(quote typeNm) r - - @[implementedBy decodeUnsafe] - opaque decode [Monad m] [MonadRpcSession m] (r : Lsp.RpcRef) : ExceptT String m (WithRpcRef $typeId:ident) := - throw "unreachable" - - instance : RpcEncoding (WithRpcRef $typeId:ident) Lsp.RpcRef := - { rpcEncode := encode - rpcDecode := decode } - end + instance : RpcEncoding (WithRpcRef $typeId) Lsp.RpcRef := inst ) elabCommand cmds return true @@ -85,45 +73,27 @@ def withFieldsFlattened (indVal : InductiveVal) (params : Array Expr) end -def isOptField (n : Name) : Bool := - n.toString.endsWith "?" +private def getRpcPacketFor (ty : Expr) : MetaM Expr := do + let packetTy ← mkFreshExprMVar (Expr.sort levelOne) + let _ ← synthInstance (mkApp2 (mkConst ``RpcEncoding) ty packetTy) + instantiateMVars packetTy -private def deriveStructureInstance (indVal : InductiveVal) (params : Array Expr) : TermElabM Command := +private def deriveStructureInstance (indVal : InductiveVal) (params : Array Expr) + (paramBinders packetParamBinders encInstBinders : Array (TSyntax ``Parser.Term.bracketedBinder)) : TermElabM Command := do withFields indVal params fun fields => do trace[Elab.Deriving.RpcEncoding] "for structure {indVal.name} with params {params}" - -- Postulate that every field have a rpc encoding, storing the encoding type ident - -- in `fieldEncIds`. When multiple fields have the same type, we reuse the encoding type - -- as otherwise typeclass synthesis fails. let mut binders := #[] let mut fieldIds := #[] - let mut fieldEncIds : Array Term := #[] - let mut uniqFieldEncIds : Array Ident := #[] - let mut fieldEncIds' : DiscrTree Ident := {} + let mut fieldEncTypeStxs := #[] for (fieldName, fieldTp) in fields do let mut fieldTp := fieldTp - if isOptField fieldName then - if !fieldTp.isAppOf ``Option then - throwError "optional field '{fieldName}' has type{indentD m!"{fieldTp}"}\nbut is expected to have type{indentD "Option _"}" --" - fieldTp := fieldTp.getArg! 0 - -- postulate that the field has an encoding and remember the encoding's binder name + let fieldEncTypeStx ← PrettyPrinter.delab (← getRpcPacketFor fieldTp) + let stx ← PrettyPrinter.delab fieldTp fieldIds := fieldIds.push <| mkIdent fieldName - let mut fieldEncId : Ident := ⟨Syntax.missing⟩ - match (← fieldEncIds'.getMatch fieldTp).back? with - | none => - fieldEncId ← mkIdent <$> mkFreshUserName fieldName - binders := binders.push (← `(bracketedBinder| ( $fieldEncId:ident ))) - let stx ← PrettyPrinter.delab fieldTp - binders := binders.push - (← `(bracketedBinder| [ $(mkIdent ``Lean.Server.RpcEncoding) $stx $fieldEncId:ident ])) - fieldEncIds' ← fieldEncIds'.insert fieldTp fieldEncId - uniqFieldEncIds := uniqFieldEncIds.push fieldEncId - | some fid => fieldEncId := fid - - if isOptField fieldName then - fieldEncIds := fieldEncIds.push <| ← ``(Option $fieldEncId:ident) - else - fieldEncIds := fieldEncIds.push fieldEncId + fieldEncTypeStxs := fieldEncTypeStxs.push fieldEncTypeStx + binders := binders.push + (← `(bracketedBinder| [ RpcEncoding $stx $fieldEncTypeStx ])) -- helpers for field initialization syntax let fieldInits (func : Name) := fieldIds.mapM fun fid => @@ -134,115 +104,88 @@ private def deriveStructureInstance (indVal : InductiveVal) (params : Array Expr -- helpers for type name syntax let paramIds ← params.mapM fun p => return mkIdent (← getFVarLocalDecl p).userName let typeId := Syntax.mkApp (← `(@$(mkIdent indVal.name))) paramIds - let packetId ← mkIdent <$> mkFreshUserName `RpcEncodingPacket - let packetAppliedId := Syntax.mkApp packetId uniqFieldEncIds + let instId := mkIdent (`_root_ ++ indVal.name.appendBefore "instRpcEncoding") - `(variable $binders* + `(variable $packetParamBinders* in + structure RpcEncodingPacket where + $[($fieldIds : $fieldEncTypeStxs)]* + deriving FromJson, ToJson - structure $packetId:ident where - $[($fieldIds : $fieldEncIds)]* - deriving $(mkIdent ``FromJson), $(mkIdent ``ToJson) - - instance : $(mkIdent ``RpcEncoding) $typeId $packetAppliedId where - rpcEncode a := return { - $[$encInits],* - } - rpcDecode a := return { - $[$decInits],* - } + variable $(paramBinders ++ packetParamBinders ++ encInstBinders)* in + @[instance] def $instId := show RpcEncoding $typeId (RpcEncodingPacket ..) from { + rpcEncode := fun a => return { $[$encInits],* } + rpcDecode := fun a => return { $[$decInits],* } + } ) private structure CtorState where - -- names of encoded argument types in the RPC packet - encArgTypes : DiscrTree Name := {} - uniqEncArgTypes : Array Name := #[] - -- binders for `encArgTypes` as well as the relevant `RpcEncoding`s - binders : Array (TSyntax ``Parser.Term.bracketedBinder) := #[] -- the syntax of each constructor in the packet ctors : Array (TSyntax ``Parser.Command.ctor) := #[] -- syntax of each arm of the `rpcEncode` pattern-match encodes : Array (TSyntax ``Parser.Term.matchAlt) := #[] -- syntax of each arm of the `rpcDecode` pattern-match decodes : Array (TSyntax ``Parser.Term.matchAlt) := #[] - deriving Inhabited private def matchF := Lean.Parser.Term.matchAlt (rhsParser := Lean.Parser.termParser) -private def deriveInductiveInstance (indVal : InductiveVal) (params : Array Expr) : TermElabM Command := do +private def deriveInductiveInstance (indVal : InductiveVal) (params : Array Expr) + (paramBinders packetParamBinders encInstBinders : Array (TSyntax ``Parser.Term.bracketedBinder)) : TermElabM Command := do trace[Elab.Deriving.RpcEncoding] "for inductive {indVal.name} with params {params}" + withoutModifyingEnv do + let packetNm := (← `(RpcEncodingPacket)).1.getId + addDecl <| .axiomDecl { + name := packetNm + levelParams := [] + type := mkSort levelOne + isUnsafe := true + } + let pktCtorTp := mkConst packetNm + let recInstTp := mkApp2 (mkConst ``RpcEncoding) (mkAppN (mkConst indVal.name) params) pktCtorTp + withLocalDecl `inst .instImplicit recInstTp fun _ => do + let st ← foldWithConstructors indVal params (init := { : CtorState }) fun acc ctor argVars _ => do + -- create the constructor + let fieldStxs ← argVars.mapM fun arg => do + let packetTp ← getRpcPacketFor (← inferType arg) + let tyStx ← PrettyPrinter.delab packetTp + let name := (← getFVarLocalDecl arg).userName + `(bracketedBinder| ($(mkIdent name) : $tyStx)) + let pktCtor ← `(Parser.Command.ctor| | $(mkIdent ctor.getString!):ident $[$fieldStxs]* : RpcEncodingPacket) - -- produce all encoding types and binders for them - let st ← foldWithConstructors indVal params (init := { : CtorState}) fun acc ctor argVars tp => do - trace[Elab.Deriving.RpcEncoding] "{ctor} : {argVars} → {tp}" - let mut acc := acc - let argFVars ← argVars.mapM (LocalDecl.fvarId <$> getFVarLocalDecl ·) - for arg in argVars do - let argTp ← inferType arg - if (← findExprDependsOn argTp (pf := fun fv => argFVars.contains fv)) then - throwError "cross-argument dependencies are not supported ({arg} : {argTp})" + -- create encoder and decoder match arms + let nms ← argVars.mapM fun _ => mkIdent <$> mkFreshBinderName + let mkPattern (src : Name) := Syntax.mkApp (mkIdent <| Name.mkStr src ctor.getString!) nms + let mkBody (tgt : Name) (func : Name) : TermElabM Term := do + let items ← nms.mapM fun nm => `(← $(mkIdent func) $nm) + let tm := Syntax.mkApp (mkIdent <| Name.mkStr tgt ctor.getString!) items + `(return $tm:term) - if (← acc.encArgTypes.getMatch argTp).isEmpty then - let tid ← mkFreshUserName `_rpcEnc - let argTpStx ← PrettyPrinter.delab argTp - acc := { acc with encArgTypes := ← acc.encArgTypes.insert argTp tid - uniqEncArgTypes := acc.uniqEncArgTypes.push tid - binders := acc.binders.append #[ - (← `(bracketedBinder| ( $(mkIdent tid):ident ))), - (← `(bracketedBinder| [ $(mkIdent ``Lean.Server.RpcEncoding) $argTpStx $(mkIdent tid):ident ])) - ] } - return acc + let encArm ← `(matchF| | $(mkPattern indVal.name):term => $(← mkBody packetNm ``rpcEncode)) + let decArm ← `(matchF| | $(mkPattern packetNm):term => $(← mkBody indVal.name ``rpcDecode)) - -- introduce encoding types into the local context so that we can use the delaborator to print them - withLocalDecls - (st.uniqEncArgTypes.map fun tid => (tid, BinderInfo.default, fun _ => pure <| mkSort levelOne)) - fun ts => do - trace[Elab.Deriving.RpcEncoding] m!"RpcEncoding type binders : {ts}" + return { acc with ctors := acc.ctors.push pktCtor + encodes := acc.encodes.push ⟨encArm⟩ + decodes := acc.decodes.push ⟨decArm⟩ } - let packetNm ← mkFreshUserName `RpcEncodingPacket - let st ← foldWithConstructors indVal params (init := st) fun acc ctor argVars _ => do - -- create the constructor - let mut pktCtorTp := Lean.mkConst packetNm - for arg in argVars.reverse do - let argTp ← inferType arg - let encTpNm := (← acc.encArgTypes.getMatch argTp).back - let encTp ← elabTerm (mkIdent encTpNm) none - pktCtorTp := mkForall (← getFVarLocalDecl arg).userName BinderInfo.default encTp pktCtorTp - -- TODO(WN): this relies on delab printing non-macro-scoped user names in non-dependent foralls - -- to generate the expected JSON encoding - let pktCtorTpStx ← PrettyPrinter.delab pktCtorTp - let pktCtor ← `(Lean.Parser.Command.ctor| | $(mkIdent ctor.getString!):ident : $pktCtorTpStx:term) + -- helpers for type name syntax + let paramIds ← params.mapM fun p => return mkIdent (← getFVarLocalDecl p).userName + let typeId := Syntax.mkApp (← `(@$(mkIdent indVal.name))) paramIds + let instId := mkIdent (`_root_ ++ indVal.name.appendBefore "instRpcEncoding") - -- create encoder and decoder match arms - let nms ← argVars.mapM fun _ => mkIdent <$> mkFreshBinderName - let mkPattern (src : Name) := Syntax.mkApp (mkIdent <| Name.mkStr src ctor.getString!) nms - let mkBody (tgt : Name) (func : Name) : TermElabM Term := do - let items ← nms.mapM fun nm => `(← $(mkIdent func) $nm) - let tm := Syntax.mkApp (mkIdent <| Name.mkStr tgt ctor.getString!) items - `(return $tm:term) + `(variable $packetParamBinders:bracketedBinder* in + inductive RpcEncodingPacket where + $[$(st.ctors):ctor]* + deriving FromJson, ToJson - let encArm ← `(matchF| | $(mkPattern indVal.name):term => $(← mkBody packetNm ``rpcEncode)) - let decArm ← `(matchF| | $(mkPattern packetNm):term => $(← mkBody indVal.name ``rpcDecode)) - - return { acc with ctors := acc.ctors.push pktCtor - encodes := acc.encodes.push ⟨encArm⟩ - decodes := acc.decodes.push ⟨decArm⟩ } - - -- helpers for type name syntax - let paramIds ← params.mapM fun p => return mkIdent (← getFVarLocalDecl p).userName - let typeId := Syntax.mkApp (← `(@$(mkIdent indVal.name))) paramIds - let packetAppliedId := Syntax.mkApp (mkIdent packetNm) (st.uniqEncArgTypes.map (mkIdent ·)) - - `(variable $st.binders* - - inductive $(mkIdent packetNm) where - $[$(st.ctors):ctor]* - deriving $(mkIdent ``FromJson), $(mkIdent ``ToJson) - - instance : $(mkIdent ``RpcEncoding) $typeId $packetAppliedId where - rpcEncode := fun x => match x with - $[$(st.encodes):matchAlt]* - rpcDecode := fun x => match x with - $[$(st.decodes):matchAlt]* - ) + variable $(paramBinders ++ packetParamBinders ++ encInstBinders)* in + @[instance] partial def $instId := show RpcEncoding $typeId (RpcEncodingPacket ..) from + { rpcEncode, rpcDecode } + where + rpcEncode {m} [Monad m] [MonadRpcSession m] (x : $typeId) : ExceptT String m (RpcEncodingPacket ..) := + have inst : RpcEncoding $typeId (RpcEncodingPacket ..) := { rpcEncode, rpcDecode } + match x with $[$(st.encodes):matchAlt]* + rpcDecode {m} [Monad m] [MonadRpcSession m] (x : RpcEncodingPacket ..) : ExceptT String m $typeId := + have inst : RpcEncoding $typeId (RpcEncodingPacket ..) := { rpcEncode, rpcDecode } + match x with $[$(st.decodes):matchAlt]* + ) /-- Creates an `RpcEncodingPacket` for `typeName`. For structures, the packet is a structure with the same field names. For inductives, it mirrors the inductive structure with every field @@ -255,33 +198,35 @@ private def deriveInstance (typeName : Name) : CommandElabM Bool := do if indVal.numIndices ≠ 0 then throwError "indexed inductive families are not supported" - let cmds ← liftTermElabM none <| + let (paramBinders, packetParamBinders, encInstBinders) ← liftTermElabM none do -- introduce fvars for all the parameters forallTelescopeReducing indVal.type fun params _ => do - assert! params.size == indVal.numParams + let mut paramBinders := #[] -- input parameters + let mut packetParamBinders := #[] -- RPC encoding packets for type input parameters + let mut encInstBinders := #[] -- RPC encoding instance binders corresponding to packetParamBinders - -- bind every parameter and *some* (not named) `RpcEncoding` for it - let mut binders := #[] for param in params do - let paramNm := (←getFVarLocalDecl param).userName - binders := binders.push (← `(bracketedBinder| ( $(mkIdent paramNm) ))) + let paramNm := (← getFVarLocalDecl param).userName + let ty ← PrettyPrinter.delab (← inferType param) + paramBinders := paramBinders.push (← `(bracketedBinder| ($(mkIdent paramNm) : $ty))) + let packet := mkIdent (← mkFreshUserName (paramNm.appendAfter "Packet")) -- only look for encodings for `Type` parameters - if !(← inferType param).isType then continue - binders := binders.push - (← `(bracketedBinder| [ $(mkIdent ``Lean.Server.RpcEncoding) $(mkIdent paramNm) _ ])) - - return #[ - ← `(section), - ← `(variable $binders*), - ← if isStructure (← getEnv) typeName then - deriveStructureInstance indVal params + if (← inferType param).isType then + packetParamBinders := packetParamBinders.push (← `(bracketedBinder| ($packet : Type))) + encInstBinders := encInstBinders.push (← `(bracketedBinder| [RpcEncoding $(mkIdent paramNm) $packet])) else - deriveInductiveInstance indVal params, - ← `(end) - ] + packetParamBinders := packetParamBinders.push paramBinders.back + + return (paramBinders, packetParamBinders, encInstBinders) + + elabCommand <| ← liftTermElabM none do + Term.elabBinders (paramBinders ++ packetParamBinders ++ encInstBinders) fun locals => do + let params := locals[:paramBinders.size] + if isStructure (← getEnv) typeName then + deriveStructureInstance indVal params paramBinders packetParamBinders encInstBinders + else + deriveInductiveInstance indVal params paramBinders packetParamBinders encInstBinders - for cmd in cmds do - elabCommand cmd.raw return true private unsafe def dispatchDeriveInstanceUnsafe (declNames : Array Name) (args? : Option (TSyntax ``Parser.Term.structInst)) : CommandElabM Bool := do @@ -289,8 +234,7 @@ private unsafe def dispatchDeriveInstanceUnsafe (declNames : Array Name) (args? return false let args ← if let some args := args? then - let n ← liftCoreM <| mkFreshUserName `_args - liftTermElabM (some n) do + liftTermElabM none do let argsT := mkConst ``DerivingParams let args ← elabTerm args argsT evalExpr' DerivingParams ``DerivingParams args diff --git a/stage0/src/Lean/Server/Rpc/RequestHandling.lean b/stage0/src/Lean/Server/Rpc/RequestHandling.lean index 1da7da08fd..5ad94572cf 100644 --- a/stage0/src/Lean/Server/Rpc/RequestHandling.lean +++ b/stage0/src/Lean/Server/Rpc/RequestHandling.lean @@ -82,8 +82,18 @@ def wrapRpcProcedure (method : Name) paramType respType RequestM.mapTask t fun | Except.error e => throw e | Except.ok ret => do - let act := rpcEncode (α := respType) (β := respLspType) (m := StateM FileWorker.RpcSession) ret - return toJson (← seshRef.modifyGet act.run)⟩ + let act : StateM FileWorker.RpcSession (Except String respLspType) := do + let s ← get + match ← rpcEncode (α := respType) (β := respLspType) (m := StateM FileWorker.RpcSession) ret with + | .ok x => return .ok x + | .error e => set s; return .error e + match ← seshRef.modifyGet act.run with + | .ok x => return toJson x + | .error e => + throwThe RequestError { + code := JsonRpc.ErrorCode.invalidParams + message := s!"Cannot encode result of RPC call '{method}'\n{e}" + }⟩ def registerBuiltinRpcProcedure (method : Name) paramType respType {paramLspType} [RpcEncoding paramType paramLspType] [FromJson paramLspType] diff --git a/stage0/src/Lean/Server/Snapshots.lean b/stage0/src/Lean/Server/Snapshots.lean index 3afe0e8565..f3b6d77627 100644 --- a/stage0/src/Lean/Server/Snapshots.lean +++ b/stage0/src/Lean/Server/Snapshots.lean @@ -83,22 +83,6 @@ def parseNextCmd (inputCtx : Parser.InputContext) (snap : Snapshot) : IO Syntax Parser.parseCommand inputCtx pmctx snap.mpState snap.msgLog return cmdStx -/-- - Parse remaining file without elaboration. NOTE that doing so can lead to parse errors or even wrong syntax objects, - so it should only be done for reporting preliminary results! -/ -partial def parseAhead (inputCtx : Parser.InputContext) (snap : Snapshot) : IO (Array Syntax) := do - let cmdState := snap.cmdState - let scope := cmdState.scopes.head! - let pmctx := { env := cmdState.env, options := scope.opts, currNamespace := scope.currNamespace, openDecls := scope.openDecls } - go inputCtx pmctx snap.mpState #[] - where - go inputCtx pmctx cmdParserState stxs := do - let (cmdStx, cmdParserState, _) := Parser.parseCommand inputCtx pmctx cmdParserState snap.msgLog - if Parser.isEOI cmdStx || Parser.isExitCommand cmdStx then - return stxs.push cmdStx - else - go inputCtx pmctx cmdParserState (stxs.push cmdStx) - register_builtin_option server.stderrAsMessages : Bool := { defValue := true group := "server" diff --git a/stage0/src/Lean/Server/Watchdog.lean b/stage0/src/Lean/Server/Watchdog.lean index ce09f372cf..9831d6d31c 100644 --- a/stage0/src/Lean/Server/Watchdog.lean +++ b/stage0/src/Lean/Server/Watchdog.lean @@ -682,7 +682,7 @@ def mkLeanServerCapabilities : ServerCapabilities := { semanticTokensProvider? := some { legend := { tokenTypes := SemanticTokenType.names - tokenModifiers := #[] + tokenModifiers := SemanticTokenModifier.names } full := true range := true diff --git a/stage0/src/Lean/Util/HasConstCache.lean b/stage0/src/Lean/Util/HasConstCache.lean index a131d71728..bad4046f9b 100644 --- a/stage0/src/Lean/Util/HasConstCache.lean +++ b/stage0/src/Lean/Util/HasConstCache.lean @@ -11,7 +11,7 @@ structure HasConstCache (declName : Name) where cache : Std.HashMapImp Expr Bool := Std.mkHashMapImp unsafe def HasConstCache.containsUnsafe (e : Expr) : StateM (HasConstCache declName) Bool := do - if let some r := (← get).cache.find? (beq := ⟨Expr.ptrEq⟩) e then + if let some r := (← get).cache.find? (beq := ⟨ptrEq⟩) e then return r else match e with @@ -25,7 +25,7 @@ unsafe def HasConstCache.containsUnsafe (e : Expr) : StateM (HasConstCache declN | _ => return false where cache (e : Expr) (r : Bool) : StateM (HasConstCache declName) Bool := do - modify fun ⟨cache⟩ => ⟨cache.insert (beq := ⟨Expr.ptrEq⟩) e r |>.1⟩ + modify fun ⟨cache⟩ => ⟨cache.insert (beq := ⟨ptrEq⟩) e r |>.1⟩ return r /-- diff --git a/stage0/src/kernel/expr.cpp b/stage0/src/kernel/expr.cpp index 4904d97f24..ebce32cbf1 100644 --- a/stage0/src/kernel/expr.cpp +++ b/stage0/src/kernel/expr.cpp @@ -330,97 +330,6 @@ expr update_let(expr const & e, expr const & new_type, expr const & new_value, e return e; } -extern "C" LEAN_EXPORT object * lean_expr_update_mdata(obj_arg e, obj_arg new_expr) { - if (mdata_expr(TO_REF(expr, e)).raw() != new_expr) { - object * r = lean_expr_mk_mdata(mdata_data(TO_REF(expr, e)).to_obj_arg(), new_expr); - lean_dec_ref(e); - return r; - } else { - lean_dec_ref(new_expr); - return e; - } -} - -extern "C" LEAN_EXPORT object * lean_expr_update_const(obj_arg e, obj_arg new_levels) { - if (const_levels(TO_REF(expr, e)).raw() != new_levels) { - object * r = lean_expr_mk_const(const_name(TO_REF(expr, e)).to_obj_arg(), new_levels); - lean_dec_ref(e); - return r; - } else { - lean_dec(new_levels); - return e; - } -} - -extern "C" LEAN_EXPORT object * lean_expr_update_sort(obj_arg e, obj_arg new_level) { - if (sort_level(TO_REF(expr, e)).raw() != new_level) { - object * r = lean_expr_mk_sort(new_level); - lean_dec_ref(e); - return r; - } else { - lean_dec(new_level); - return e; - } -} - -extern "C" LEAN_EXPORT object * lean_expr_update_proj(obj_arg e, obj_arg new_expr) { - if (proj_expr(TO_REF(expr, e)).raw() != new_expr) { - object * r = lean_expr_mk_proj(proj_sname(TO_REF(expr, e)).to_obj_arg(), proj_idx(TO_REF(expr, e)).to_obj_arg(), new_expr); - lean_dec_ref(e); - return r; - } else { - lean_dec_ref(new_expr); - return e; - } -} - -extern "C" LEAN_EXPORT object * lean_expr_update_app(obj_arg e, obj_arg new_fn, obj_arg new_arg) { - if (app_fn(TO_REF(expr, e)).raw() != new_fn || app_arg(TO_REF(expr, e)).raw() != new_arg) { - object * r = lean_expr_mk_app(new_fn, new_arg); - lean_dec_ref(e); - return r; - } else { - lean_dec_ref(new_fn); lean_dec_ref(new_arg); - return e; - } -} - -extern "C" LEAN_EXPORT object * lean_expr_update_forall(obj_arg e, uint8 new_binfo, obj_arg new_domain, obj_arg new_body) { - if (binding_domain(TO_REF(expr, e)).raw() != new_domain || binding_body(TO_REF(expr, e)).raw() != new_body || - binding_info(TO_REF(expr, e)) != static_cast(new_binfo)) { - object * r = lean_expr_mk_forall(binding_name(TO_REF(expr, e)).to_obj_arg(), new_domain, new_body, new_binfo); - lean_dec_ref(e); - return r; - } else { - lean_dec_ref(new_domain); lean_dec_ref(new_body); - return e; - } -} - -extern "C" LEAN_EXPORT object * lean_expr_update_lambda(obj_arg e, uint8 new_binfo, obj_arg new_domain, obj_arg new_body) { - if (binding_domain(TO_REF(expr, e)).raw() != new_domain || binding_body(TO_REF(expr, e)).raw() != new_body || - binding_info(TO_REF(expr, e)) != static_cast(new_binfo)) { - object * r = lean_expr_mk_lambda(binding_name(TO_REF(expr, e)).to_obj_arg(), new_domain, new_body, new_binfo); - lean_dec_ref(e); - return r; - } else { - lean_dec_ref(new_domain); lean_dec_ref(new_body); - return e; - } -} - -extern "C" LEAN_EXPORT object * lean_expr_update_let(obj_arg e, obj_arg new_type, obj_arg new_val, obj_arg new_body) { - if (let_type(TO_REF(expr, e)).raw() != new_type || let_value(TO_REF(expr, e)).raw() != new_val || - let_body(TO_REF(expr, e)).raw() != new_body) { - object * r = lean_expr_mk_let(let_name(TO_REF(expr, e)).to_obj_arg(), new_type, new_val, new_body); - lean_dec_ref(e); - return r; - } else { - lean_dec_ref(new_type); lean_dec_ref(new_val); lean_dec_ref(new_body); - return e; - } -} - extern "C" object * lean_expr_consume_type_annotations(obj_arg e); expr consume_type_annotations(expr const & e) { return expr(lean_expr_consume_type_annotations(e.to_obj_arg())); } diff --git a/stage0/src/kernel/level.cpp b/stage0/src/kernel/level.cpp index 9ed8d461d9..06652dc8ca 100644 --- a/stage0/src/kernel/level.cpp +++ b/stage0/src/kernel/level.cpp @@ -29,10 +29,6 @@ extern "C" object * lean_level_mk_mvar(obj_arg); extern "C" object * lean_level_mk_param(obj_arg); extern "C" object * lean_level_mk_max(obj_arg, obj_arg); extern "C" object * lean_level_mk_imax(obj_arg, obj_arg); -extern "C" object * lean_level_mk_max_simp(obj_arg, obj_arg); -extern "C" object * lean_level_mk_imax_simp(obj_arg, obj_arg); -extern "C" object * lean_level_simp_max(obj_arg, obj_arg, obj_arg); -extern "C" object * lean_level_simp_imax(obj_arg, obj_arg, obj_arg); level mk_succ(level const & l) { return level(lean_level_mk_succ(l.to_obj_arg())); } level mk_max_core(level const & l1, level const & l2) { return level(lean_level_mk_max(l1.to_obj_arg(), l2.to_obj_arg())); } @@ -293,34 +289,6 @@ level update_max(level const & l, level const & new_lhs, level const & new_rhs) return mk_imax(new_lhs, new_rhs); } -extern "C" LEAN_EXPORT object * lean_level_update_succ(obj_arg l, obj_arg new_arg) { - if (succ_of(TO_REF(level, l)).raw() == new_arg) { - lean_dec(new_arg); - return l; - } else { - lean_dec_ref(l); - return lean_level_mk_succ(new_arg); - } -} - -extern "C" LEAN_EXPORT object * lean_level_update_max(obj_arg l, obj_arg new_lhs, obj_arg new_rhs) { - if (max_lhs(TO_REF(level, l)).raw() == new_lhs && max_rhs(TO_REF(level, l)).raw() == new_rhs) { - return lean_level_simp_max(new_lhs, new_rhs, l); - } else { - lean_dec_ref(l); - return lean_level_mk_max_simp(new_lhs, new_rhs); - } -} - -extern "C" LEAN_EXPORT object * lean_level_update_imax(obj_arg l, obj_arg new_lhs, obj_arg new_rhs) { - if (imax_lhs(TO_REF(level, l)).raw() == new_lhs && imax_rhs(TO_REF(level, l)).raw() == new_rhs) { - return lean_level_simp_imax(new_lhs, new_rhs, l); - } else { - lean_dec_ref(l); - return lean_level_mk_imax_simp(new_lhs, new_rhs); - } -} - level instantiate(level const & l, names const & ps, levels const & ls) { lean_assert(length(ps) == length(ls)); return replace(l, [=](level const & l) { diff --git a/stage0/src/stdlib_flags.h b/stage0/src/stdlib_flags.h index d1703c2f0f..e3a2e51437 100644 --- a/stage0/src/stdlib_flags.h +++ b/stage0/src/stdlib_flags.h @@ -8,7 +8,7 @@ options get_default_options() { // switch to `true` for ABI-breaking changes affecting meta code opts = opts.update({"interpreter", "prefer_native"}, false); // switch to `true` for changing built-in parsers used in quotations - opts = opts.update({"internal", "parseQuotWithCurrentStage"}, true); + opts = opts.update({"internal", "parseQuotWithCurrentStage"}, false); opts = opts.update({"pp", "rawOnError"}, true); #endif return opts; diff --git a/stage0/stdlib/Init/Meta.c b/stage0/stdlib/Init/Meta.c index 0404076e89..be8086359c 100644 --- a/stage0/stdlib/Init/Meta.c +++ b/stage0/stdlib/Init/Meta.c @@ -27,18 +27,18 @@ static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____ 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*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__17; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__81; LEAN_EXPORT lean_object* l_Lean_Syntax_isIdOrAtom_x3f___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_10346____boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__2; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__24; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_dsimpKind; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__97; LEAN_EXPORT lean_object* l_Lean_TSyntax_getChar(lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuoteNameStrAnonymous(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__3; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__17; LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__6; static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__2; @@ -51,7 +51,7 @@ 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__commandDeclare__simp__like__tactic____________1___closed__20; static lean_object* l_Lean_Syntax_mkNumLit___closed__2; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__11; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__7; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__6(lean_object*, lean_object*); 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_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3___closed__2; @@ -65,7 +65,6 @@ LEAN_EXPORT uint8_t lean_is_inaccessible_user_name(lean_object*); extern lean_object* l_String_instInhabitedString; static lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3___closed__13; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__2; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__92; static lean_object* l_Lean_versionString___closed__1; static lean_object* l_Lean_quoteNameMk___closed__6; @@ -78,8 +77,10 @@ static lean_object* l_Lean_Name_toString_maybePseudoSyntax___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__11; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Option_hasQuote___rarg___closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__16; LEAN_EXPORT lean_object* l_Lean_Syntax_getTrailingSize(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__90; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__10; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__6; static lean_object* l_Lean_Name_reprPrec___closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__12; @@ -87,7 +88,6 @@ static lean_object* l_Lean_instQuoteProdStrAnonymous___rarg___closed__2; 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___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_10301____boxed(lean_object*, lean_object*); 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*); @@ -101,7 +101,6 @@ LEAN_EXPORT lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax static lean_object* l_Lean_Name_escapePart___closed__1; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_10747____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSepArray___boxed(lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); @@ -110,6 +109,7 @@ static lean_object* l_Lean_termEval__prio_____closed__9; LEAN_EXPORT lean_object* l_Lean_versionStringCore; static lean_object* l_Lean_versionString___closed__8; LEAN_EXPORT uint32_t l_Lean_idBeginEscape; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__13; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__26; LEAN_EXPORT lean_object* l_Lean_instQuote___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__75; @@ -118,6 +118,7 @@ LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailSyntaxTSyntax(lean_obj lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_instInhabitedEtaStructMode; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__87; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__1; LEAN_EXPORT lean_object* l_Lean_termEval__prio__; static lean_object* l_Array_forInUnsafe_loop___at_Lean_TSyntax_expandInterpolatedStrChunks___spec__1___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar(lean_object*, lean_object*); @@ -128,23 +129,20 @@ static lean_object* l_Lean_versionString___closed__4; static lean_object* l_Lean_instQuoteArrayStrAnonymous___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpAllArith; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; 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; static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_filterSepElemsM___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__12; static lean_object* l_Lean_toolchain___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__58; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__10; lean_object* l_Lean_SourceInfo_fromRef(lean_object*); 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_expandSimp____x40_Init_Meta___hyg_15328____closed__2; static lean_object* l_Lean_versionString___closed__9; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__16; LEAN_EXPORT lean_object* l_Lean_Syntax_isAtom___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_termEval__prec_____closed__6; static lean_object* l_Lean_version_specialDesc___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__68; @@ -158,30 +156,31 @@ extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_panic___at_Lean_TSyntax_getScientific___spec__1___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__13; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__48; 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_simpArith___closed__6; LEAN_EXPORT uint8_t l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__10; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_memoize___default; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__8; static lean_object* l_Lean_toolchain___closed__4; LEAN_EXPORT lean_object* l_Lean_TSyntax_getNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic__________; LEAN_EXPORT lean_object* l_Lean_Syntax_getHead_x3f(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__16; static lean_object* l_Lean_instQuoteProdStrAnonymous___rarg___closed__3; static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__8; LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_eta___default; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__20; 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*); LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTailSepArrayArraySyntax(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_noConfusion___rarg(uint8_t, uint8_t, lean_object*); 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___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__4; LEAN_EXPORT lean_object* l_Lean_termEval__prec__; static lean_object* l_Lean_quoteNameMk___closed__8; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__10; LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__termEval__prio____1(lean_object*, lean_object*, lean_object*); static lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3___closed__7; static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__14; @@ -189,14 +188,13 @@ LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeIdentLevel___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__68; static lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3___closed__1; lean_object* lean_string_utf8_prev(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__19; static lean_object* l_Lean_instQuoteSubstringStrAnonymous___closed__2; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef___rarg___lambda__1___boxed(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__40; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__11; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__12; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__87; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__11; lean_object* l_id___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeOctalLitAux(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuote(lean_object*, lean_object*, lean_object*); @@ -207,18 +205,17 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_getHead_x3f__ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__12; 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_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__75; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__12; LEAN_EXPORT lean_object* l_Lean_Name_escapePart(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__5; LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailSyntaxTSyntax___rarg___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__5; LEAN_EXPORT lean_object* l_Lean_withHeadRefOnly___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__26; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeExp(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__11; uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isGreek___boxed(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; 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*); @@ -240,6 +237,7 @@ LEAN_EXPORT lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); 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_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; static lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_toCtorIdx(uint8_t); static lean_object* l_Lean_Syntax_mkNumLit___closed__1; @@ -249,7 +247,6 @@ extern lean_object* l_instInhabitedNat; 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__commandDeclare__simp__like__tactic____________1___lambda__1___closed__63; static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__8; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__13; extern lean_object* l_Lean_Parser_Tactic_config; static lean_object* l_Lean_termEval__prec_____closed__3; static lean_object* l_Lean_Option_hasQuote___rarg___closed__7; @@ -269,29 +266,27 @@ LEAN_EXPORT lean_object* l_Lean_Name_toString___boxed(lean_object*, lean_object* lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__27; static lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__14; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__7; 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*); static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__16; LEAN_EXPORT lean_object* l_Lean_version_getSpecialDesc___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__8; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexDigit___boxed(lean_object*, lean_object*); lean_object* lean_get_githash(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__19; LEAN_EXPORT lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__6; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__14; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__6; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__8; 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_15328____lambda__1___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_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__51; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__31; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_10792____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__59; 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*); @@ -305,29 +300,31 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_quoteNameMk___closed__9; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_contextual___default; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__5; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_toCtorIdx(uint8_t); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26; static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__13; 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; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; LEAN_EXPORT lean_object* l_Lean_NameGenerator_namePrefix___default; static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__16; LEAN_EXPORT lean_object* l_Array_filterSepElems___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__82; -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9921_(uint8_t, uint8_t); +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(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__commandDeclare__simp__like__tactic____________1___closed__61; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__8; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__3; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__12; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeTSyntaxConsSyntaxNodeKindNil(lean_object*, lean_object*); static lean_object* l_Lean_toolchain___closed__5; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Option_hasQuote___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_version_patch; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__8; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__5; static lean_object* l_Lean_versionString___closed__11; LEAN_EXPORT lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1(lean_object*, lean_object*); @@ -336,16 +333,17 @@ LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeTSyntaxConsSyntaxNodeKind(lean_ob 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__commandDeclare__simp__like__tactic____________1___lambda__1___closed__61; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__8; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____boxed(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*); LEAN_EXPORT lean_object* l_Lean_version_specialDesc; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__84; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_mkSep___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__6; LEAN_EXPORT lean_object* l_Lean_isSubScriptAlnum___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapSepElems(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__9; static lean_object* l_Lean_Meta_DSimp_instBEqConfig___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__5; static lean_object* l_Lean_versionStringCore___closed__2; @@ -354,7 +352,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_TSyntax_getNat___closed__3; LEAN_EXPORT lean_object* l_Lean_Name_instReprName; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__5; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__19; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__59; LEAN_EXPORT lean_object* l_Lean_Name_toStringWithSep(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__7; @@ -377,10 +375,9 @@ static lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x static lean_object* l_Lean_version_major___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_toCtorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_10086____boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__6; static lean_object* l_Lean_Option_hasQuote___rarg___closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__10; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__12; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__7; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_etaStruct___default; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__45; @@ -389,12 +386,12 @@ static lean_object* l_Lean_Name_isInaccessibleUserName___closed__1; static lean_object* l_Lean_Syntax_mkStrLit___closed__2; 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___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__17; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__9; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__7; static lean_object* l_Lean_termEval__prio_____closed__2; LEAN_EXPORT lean_object* l_Lean_TSyntax_getId(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStrChunks___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__1; LEAN_EXPORT lean_object* l_Lean_Name_toStringWithSep_maybeEscape(uint8_t, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__83; LEAN_EXPORT lean_object* l_Lean_Syntax_isLit_x3f___boxed(lean_object*, lean_object*); @@ -402,9 +399,9 @@ static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__3; LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_proj___default; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__39; LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrio__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____boxed(lean_object*, lean_object*); +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___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__7; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__11; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__4; 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*); @@ -414,13 +411,12 @@ 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*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_singlePass___default; LEAN_EXPORT lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__20; 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__commandDeclare__simp__like__tactic____________1___closed__40; LEAN_EXPORT lean_object* l_Lean_Syntax_instBEqTSyntax___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__67; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Config_maxSteps___default; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_getElems___rarg___boxed(lean_object*); static lean_object* l_Lean_TSyntax_expandInterpolatedStrChunks___closed__1; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_version_getMinor___boxed(lean_object*); @@ -449,11 +445,9 @@ 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_10468____closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__94; LEAN_EXPORT lean_object* l_Lean_Syntax_instBEqSyntax; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_zeta___default; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__1; static lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3___closed__17; static lean_object* l_Lean_versionStringCore___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -476,26 +470,23 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_mkStrLit___boxed(lean_object*, lean_objec 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; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__15; static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__17; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__13; static lean_object* l_Lean_instQuoteBoolStrAnonymous___closed__3; static lean_object* l_Lean_termEval__prec_____closed__7; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__4; static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__83; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__3; static lean_object* l_Lean_instQuoteSubstringStrAnonymous___closed__4; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuoteNatNumLitKind(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__12; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeScientificLitTerm___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__2; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeDecimalLitAux(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapSepElemsM(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkGroupNode(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__3; lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__2; static lean_object* l_Lean_termEval__prio_____closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__18; static lean_object* l_Lean_mkGroupNode___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__35; LEAN_EXPORT uint8_t l_List_beq___at_Lean_Syntax_structEq___spec__3(lean_object*, lean_object*); @@ -512,23 +503,23 @@ static lean_object* l_Lean_termEval__prio_____closed__6; static lean_object* l_Lean_versionStringCore___closed__5; LEAN_EXPORT lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); static lean_object* l_Lean_Name_reprPrec___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__35; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__70; 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___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__11; static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__19; LEAN_EXPORT lean_object* l_Lean_monadNameGeneratorLift___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__5; 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; static lean_object* l_panic___at_Lean_TSyntax_getScientific___spec__1___closed__1; -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_10747_(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_10792_(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_ConfigCtx_contextual___default; LEAN_EXPORT lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__8; LEAN_EXPORT lean_object* l_Lean_Syntax_isFieldIdx_x3f(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__36; LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -536,18 +527,17 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSyntaxArrayTSepArray___boxed(lean LEAN_EXPORT lean_object* l_Lean_instQuoteStringStrLitKind(lean_object*); lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_ofElems___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__8; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__17; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__36; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__5; LEAN_EXPORT uint8_t l_Lean_isNumericSubscript(uint32_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Syntax_instEmptyCollectionSepArray___boxed(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__3; LEAN_EXPORT lean_object* l_Lean_Syntax_isScientificLit_x3f(lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__1; LEAN_EXPORT lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__7; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__14; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__57; static lean_object* l_Lean_toolchain___closed__8; @@ -559,18 +549,21 @@ 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_mkFreshId___rarg(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__4; lean_object* l_String_capitalize(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_TSyntax_getString___spec__1(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_10102_(uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147_(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_getElems___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__10; 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_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__19; static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__6; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Option_hasQuote___rarg___closed__6; extern lean_object* l_Lean_Parser_Tactic_simpStar; static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__11; @@ -578,10 +571,8 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Internal_isStage0(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__94; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__31; static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__20; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__10; static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__8; LEAN_EXPORT lean_object* l_Lean_withHeadRefOnly___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -590,6 +581,7 @@ LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeStrLitTerm(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStrChunks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_name_append_index_after(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__1; LEAN_EXPORT lean_object* l_Lean_Name_eraseSuffix_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_instReprConfig___closed__1; LEAN_EXPORT lean_object* l_Array_getSepElems___rarg(lean_object*); @@ -598,19 +590,15 @@ 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___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__20; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__7; static lean_object* l_Lean_Syntax_unsetTrailing___closed__2; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__18; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__10; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__7; static lean_object* l_Lean_NameGenerator_namePrefix___default___closed__1; static lean_object* l_Lean_Meta_DSimp_instInhabitedConfig___closed__1; static lean_object* l_Lean_Syntax_instCoeTailSepArrayArraySyntax___closed__1; LEAN_EXPORT lean_object* l_Lean_mkNullNode(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__12; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__2; 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_10102____closed__15; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__90; static lean_object* l_Lean_quoteNameMk___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__21; @@ -618,17 +606,18 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean 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___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__3; static lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1___closed__2; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__27; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__72; 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_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__8; lean_object* l_Nat_repr(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__7; LEAN_EXPORT lean_object* l_Array_mapSepElemsM___at_Array_mapSepElems___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__96; static lean_object* l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___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_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__13; @@ -641,9 +630,8 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___la static lean_object* l_Lean_instQuoteBoolStrAnonymous___closed__6; static lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3___closed__3; static lean_object* l_Lean_versionStringCore___closed__8; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__12; static lean_object* l_Lean_Name_instReprSyntax___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__6; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____lambda__1___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__64; LEAN_EXPORT lean_object* l_Lean_Internal_isStage0___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__10; @@ -657,6 +645,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNameLitTerm(lean_object*); static lean_object* l_Lean_versionStringCore___closed__4; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_rwRuleSeq; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__88; static lean_object* l_Lean_instQuoteArrayStrAnonymous___rarg___closed__2; @@ -670,13 +659,12 @@ LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeTSyntaxConsSyntaxNodeKind___boxed LEAN_EXPORT lean_object* l_Lean_NameGenerator_idx___default; static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__5; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__5(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__16; LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__60; static lean_object* l_Lean_Meta_instBEqTransparencyMode___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__9; 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___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__6; lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId(lean_object*); @@ -692,14 +680,11 @@ LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Name_beq_match__1_splitte static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__1; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__16; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__11; 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_10468____closed__7; LEAN_EXPORT lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__77; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__4; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__18; @@ -716,40 +701,41 @@ LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_version_getPatch___boxed( static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__12; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001_(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__81; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__13; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_copyHeadTailInfoFrom(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_TSyntax_getChar___spec__1(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__9; 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*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__5; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__5; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux(lean_object*); static lean_object* l_Lean_Name_reprPrec___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__72; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__4; static lean_object* l_Lean_instQuoteBoolStrAnonymous___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____boxed(lean_object*, lean_object*); lean_object* l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(lean_object*); static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__23; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__3; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____lambda__1___closed__1; 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; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__89; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeCharLitTerm___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_versionString; static lean_object* l_Lean_version_patch___closed__1; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__14; uint8_t l_Array_isEmpty___rarg(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__60; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTermTSyntaxConsSyntaxNodeKindStrAnonymousNil___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328_(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_20136_(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178_(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268_(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19202_(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272_(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17216_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_20199_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19265_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17279_(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__88; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__47; uint8_t l_Substring_beq(lean_object*, lean_object*); @@ -766,20 +752,21 @@ static lean_object* l_Lean_toolchain___closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__41; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__6; static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrio__1___closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__17; static lean_object* l_Lean_version_minor___closed__1; static lean_object* l_Lean_Name_reprPrec___closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__96; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__22; LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__6; 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; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__5; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_getElems(lean_object*, lean_object*); 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__commandDeclare__simp__like__tactic____________1___lambda__1___closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__14; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__11; LEAN_EXPORT lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__10; static lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg___closed__3; @@ -788,43 +775,48 @@ LEAN_EXPORT lean_object* l_Lean_instQuoteProdStrAnonymous(lean_object*, lean_obj static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__25; 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; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__1; 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_Lean_Syntax_isCharLit_x3f___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__86; 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*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__3; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNumLitTerm___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__46; 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___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__38; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__21; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__13; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit(lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__4; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__6; 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_10468_(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__8; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513_(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; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +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___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__52; static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__50; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_version_getMajor(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_TSyntax_getScientific___spec__1(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__2; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg(lean_object*, lean_object*, lean_object*, lean_object*); 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*); 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_10301_(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__2; +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_10346_(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_dsimpAutoUnfold___closed__5; @@ -834,29 +826,34 @@ static lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg___clo 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_simpAllArithAutoUnfold___closed__8; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__1; LEAN_EXPORT lean_object* l_Lean_Option_hasQuote(lean_object*); LEAN_EXPORT uint8_t l_Lean_Syntax_isAtom(lean_object*); static lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3___closed__5; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__16; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSepArray___rarg___boxed(lean_object*, lean_object*); 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; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__37; LEAN_EXPORT uint8_t l_Lean_isLetterLike(uint32_t); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__4; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__14; LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_beta___default; 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_expandSimp____x40_Init_Meta___hyg_15328____closed__10; static lean_object* l_Lean_Syntax_getHead_x3f___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__80; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__6; lean_object* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpArith; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__9; extern lean_object* l_Lean_Parser_Tactic_simpLemma; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__34; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__55; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__9; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l_Lean_TSyntaxArray_mkImpl___rarg___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__48; @@ -866,10 +863,11 @@ extern uint32_t l_Char_instInhabitedChar; static lean_object* l_Lean_instInhabitedNameGenerator___closed__1; static lean_object* l_Lean_Meta_TransparencyMode_noConfusion___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__21; LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__5; static lean_object* l_Lean_versionString___closed__7; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__15; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__3; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__13; LEAN_EXPORT lean_object* l_Lean_Syntax_unsetTrailing(lean_object*); static lean_object* l_Lean_termEval__prio_____closed__7; @@ -881,17 +879,16 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_isIdOrAtom_x3f(lean_object*); static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__13; 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*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__4; LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13; 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___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__23; 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_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__50; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__14; 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; @@ -904,6 +901,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_noConfusion(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__25; static lean_object* l_Lean_Syntax_instCoeIdentTSyntaxConsSyntaxNodeKindStrAnonymousNil___closed__1; static lean_object* l_Lean_Syntax_instCoeTSepArrayTSyntaxArray___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__14; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSepArrayTSyntaxArray___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkNameLit___closed__1; LEAN_EXPORT uint8_t l_Lean_version_getIsRelease(lean_object*); @@ -913,7 +911,8 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_getSepArgs(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__80; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__6; uint8_t l_String_isEmpty(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__21; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__5; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__25; extern uint8_t l_instInhabitedBool; 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; @@ -924,33 +923,29 @@ 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__commandDeclare__simp__like__tactic____________1___closed__28; static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__7; LEAN_EXPORT lean_object* l_Lean_mkHole(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); 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*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__13; static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__29; LEAN_EXPORT lean_object* l_Lean_instQuoteListStrAnonymous(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__52; -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__22; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__9; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_getHead_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_eta___default; static lean_object* l_Lean_instQuoteBoolStrAnonymous___closed__4; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__21; static lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3___closed__10; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTermTSyntaxConsSyntaxNodeKindStrAnonymousNil(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__1; static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__20; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____lambda__1___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_10131____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__8; LEAN_EXPORT uint8_t l_Lean_Syntax_hasArgs(lean_object*); static lean_object* l_Lean_toolchain___closed__1; static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__1; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__6; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__11; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__3; static lean_object* l_Lean_TSyntax_getNat___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__45; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__30; @@ -964,7 +959,6 @@ static lean_object* l_Lean_Syntax_isFieldIdx_x3f___closed__2; LEAN_EXPORT lean_object* l_Lean_withHeadRefOnly(lean_object*); lean_object* l_String_quote(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__5; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__1; static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__16; uint8_t l_Char_isAlphanum(uint32_t); LEAN_EXPORT lean_object* l_Lean_Syntax_copyHeadTailInfoFrom___boxed(lean_object*, lean_object*); @@ -974,12 +968,15 @@ static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__22; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__18; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instReprConfig; LEAN_EXPORT lean_object* l_Lean_instInhabitedNameGenerator; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__11; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__40; LEAN_EXPORT uint8_t l_Lean_Syntax_instBEqTSyntax___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__67; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__9; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__23; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__10; static lean_object* l_Lean_TSyntax_getNat___closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__5; 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*); static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__8; @@ -993,20 +990,20 @@ lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__8; LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__subPrec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__3; LEAN_EXPORT lean_object* l_Lean_quoteNameMk(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar___boxed__const__1; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNumLitPrio___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__7; static lean_object* l_Lean_toolchain___closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__15; LEAN_EXPORT lean_object* l_Array_filterSepElems(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapSepElemsM___at_Array_mapSepElems___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__53; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__42; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__22; static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__1; -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071_(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___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__93; @@ -1017,20 +1014,23 @@ lean_object* l_panic___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Name_isInaccessibleUserName___boxed(lean_object*); static uint8_t l_Lean_versionString___closed__3; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__3; LEAN_EXPORT lean_object* l_Lean_Name_replacePrefix___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__91; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; static lean_object* l_Lean_versionString___closed__5; LEAN_EXPORT lean_object* l_Lean_TSyntax_getScientific(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____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_10147____closed__15; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__78; static lean_object* l_Lean_termEval__prec_____closed__11; LEAN_EXPORT lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__4___boxed(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__7; LEAN_EXPORT lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_TSyntax_getChar___spec__1___boxed__const__1; 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___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__18; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__2; 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*); @@ -1040,27 +1040,28 @@ 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*); LEAN_EXPORT lean_object* l_Lean_Meta_DSimp_instBEqConfig; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_push(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__18; 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_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__3; static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__17; 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_9937_(uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982_(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__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____boxed(lean_object*, 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*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__5; LEAN_EXPORT lean_object* l_Lean_instQuoteListStrAnonymous___rarg(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__1; static lean_object* l_Lean_mkHole___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__64; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__6; static lean_object* l_Lean_Syntax_mkApp___closed__3; 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___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__54; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__2; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__6; LEAN_EXPORT lean_object* l_Lean_mkFreshId___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instQuoteBoolStrAnonymous___closed__2; LEAN_EXPORT uint8_t l_Lean_Meta_Rewrite_Config_offsetCnstrs___default; @@ -1071,14 +1072,13 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3___closed__12; static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__subPrio__1___closed__1; 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_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__15; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__6; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__23; lean_object* lean_nat_mul(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__12; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__91; LEAN_EXPORT lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__9; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__9; LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__4; @@ -1105,11 +1105,9 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_iota___default; 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___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__1; static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__24; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__12; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__24; 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___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__6; static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__15; LEAN_EXPORT lean_object* l_panic___at_Lean_TSyntax_getNat___spec__1(lean_object*); static lean_object* l_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__18; @@ -1118,12 +1116,14 @@ 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*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__28; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__18; LEAN_EXPORT lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__3___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterDot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Name_toString_maybePseudoSyntax___boxed(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__3; LEAN_EXPORT lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__10; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeNameLit(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__7; static lean_object* l_Lean_Name_toString_maybePseudoSyntax___closed__1; @@ -1135,13 +1135,14 @@ 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*); lean_object* lean_panic_fn(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____boxed(lean_object*, lean_object*); 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_object* l_String_trim(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__24; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isIdEndEscape___boxed(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__20; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__10; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_getTailInfo_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_getTailInfo(lean_object*); @@ -1159,15 +1160,16 @@ LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__49; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__95; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeStrLit(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__9; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__76; LEAN_EXPORT uint8_t l_Lean_isIdFirst(uint32_t); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__16; 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_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__9; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNameLitTerm___boxed(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__6; LEAN_EXPORT lean_object* l_Lean_TSyntax_getName(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__18; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__1; @@ -1181,6 +1183,7 @@ 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*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__4; LEAN_EXPORT lean_object* l_Lean_Syntax_getTailInfo___boxed(lean_object*); static lean_object* l_Lean_TSyntax_expandInterpolatedStr___closed__5; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeIdentTerm___boxed(lean_object*); @@ -1188,7 +1191,6 @@ static lean_object* l_Lean_termEval__prec_____closed__8; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__85; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__2; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__24; 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__commandDeclare__simp__like__tactic____________1___closed__56; @@ -1198,6 +1200,7 @@ LEAN_EXPORT lean_object* l_Lean_origin; static lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f___closed__2; LEAN_EXPORT lean_object* l_Lean_Name_instReprSyntax; lean_object* lean_string_length(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__4; 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*); 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; @@ -1206,21 +1209,22 @@ LEAN_EXPORT lean_object* l_Lean_instQuoteTermStrAnonymous; static lean_object* l_Lean_Name_reprPrec___closed__10; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_beta___default; LEAN_EXPORT lean_object* l_Lean_Syntax_getHead_x3f___lambda__1(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__12; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__3; 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*); static lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__1___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__8; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__12; LEAN_EXPORT lean_object* l_Lean_withHeadRefOnly___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_mk_syntax_ident(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__70; extern lean_object* l_Lean_Parser_Tactic_discharger; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_noConfusion___rarg___lambda__1(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__71; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__15; 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_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__15; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__42; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__7; LEAN_EXPORT lean_object* l_Lean_Syntax_mkSynthetic(lean_object*); @@ -1229,38 +1233,41 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_termEval__prec_____closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_toNat(lean_object*); static lean_object* l_Lean_versionString___closed__6; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__18; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__37; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__53; LEAN_EXPORT lean_object* lean_name_append_before(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_version_getPatch(lean_object*); LEAN_EXPORT lean_object* l_Lean_toolchain; static lean_object* l_Lean_mkOptionalNode___closed__2; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__19; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__4; static lean_object* l_Lean_Syntax_getHead_x3f___closed__2; 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_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__14; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__37; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__5; static lean_object* l_Lean_TSyntax_getNat___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__25; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__55; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__22; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__6; lean_object* l_Lean_SourceInfo_getPos_x3f(lean_object*, uint8_t); static lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3___closed__6; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__8; 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_Meta_Simp_instBEqConfig___closed__1; LEAN_EXPORT lean_object* l_Lean_mkFreshId___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_termEval__prec_____closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__11; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_proj___default; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_instBEqTransparencyMode; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeArraySyntaxSepArray(lean_object*); static lean_object* l_Lean_instQuoteTermStrAnonymous___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__16; static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__11; static lean_object* l_Lean_Option_hasQuote___rarg___closed__5; @@ -1272,29 +1279,30 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_decodeStrLitAux___boxed(lean_object*, lea uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_String_drop(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__7; -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_10086_(uint8_t, uint8_t); +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_10131_(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_15328____closed__4; 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; LEAN_EXPORT lean_object* l_Lean_monadNameGeneratorLift___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__71; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__15; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__13; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___closed__2; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__1; static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__14; LEAN_EXPORT lean_object* l_Lean_instQuoteArrayStrAnonymous(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__16; lean_object* l_Nat_min(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__18; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__16; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__4; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__17; -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__33; static lean_object* l_Lean_mkSepArray___closed__1; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__5; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__10; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__8; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__3; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__12; 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*); LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSyntaxArrayArraySyntax___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Name_getRoot___boxed(lean_object*); @@ -1302,18 +1310,17 @@ LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeBinLitAux___ 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___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__22; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__85; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__79; 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__commandDeclare__simp__like__tactic____________1___closed__43; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__18; static lean_object* l_Lean_Syntax_instCoeTSyntaxArrayArraySyntax___closed__1; static lean_object* l_Lean_Name_reprPrec___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__46; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__2; LEAN_EXPORT uint8_t l_Lean_Name_toString_maybePseudoSyntax(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__2; 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; @@ -1324,24 +1331,23 @@ 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_Lean_Parser_Tactic_commandDeclare__simp__like__tactic_____________closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__95; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9921____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__7; LEAN_EXPORT lean_object* l_Lean_Syntax_findAux(lean_object*, lean_object*); static lean_object* l_Lean_Name_escapePart___closed__3; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__13; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__49; uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__5; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__2; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__7; LEAN_EXPORT lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__5; LEAN_EXPORT lean_object* l_Lean_mkNode(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__5; static lean_object* l_Lean_instQuoteSubstringStrAnonymous___closed__3; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14; lean_object* lean_uint32_to_nat(uint32_t); static lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); @@ -1358,6 +1364,7 @@ LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStr___boxed(lean_objec static lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1___closed__4; lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT uint8_t l_Lean_Syntax_isToken(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__15; LEAN_EXPORT lean_object* l_Lean_Syntax_isFieldIdx_x3f___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__24; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_autoUnfold___default; @@ -1367,11 +1374,13 @@ LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit LEAN_EXPORT lean_object* l_Lean_evalPrio(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__32; static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_defaultMaxSteps; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__10; static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrec__1___closed__4; 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_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__18; LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSyntaxArray___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_setHeadInfoAux(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___lambda__1___closed__20; @@ -1380,22 +1389,18 @@ 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__commandDeclare__simp__like__tactic____________1___closed__77; 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___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__4; static lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3___closed__4; static lean_object* l_Lean_termEval__prio_____closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23; static lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSyntaxArray___closed__1; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__84; static lean_object* l_Lean_Meta_Simp_instInhabitedConfig___closed__1; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__1___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__54; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__4; 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___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__21; 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; 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*); @@ -1408,21 +1413,21 @@ 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__commandDeclare__simp__like__tactic____________1___lambda__1___closed__56; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__33; static lean_object* l_repr___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__3___closed__9; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__22; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__17; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__9; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24; 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*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__7; 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_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__8; static lean_object* l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__22; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__6; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____spec__5___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__14; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__62; lean_object* l_Repr_addAppParen(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__7; 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*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__15; @@ -6624,7 +6629,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_Init_Meta_0__Lean_Syntax_updateLast___rarg___closed__1; x_2 = l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -16592,6 +16597,41 @@ lean_dec(x_1); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_Syntax_instEmptyCollectionSepArray(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_mkSepArray___closed__1; +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_instEmptyCollectionSepArray___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Syntax_instEmptyCollectionSepArray(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_instEmptyCollectionTSepArray(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_mkSepArray___closed__1; +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Syntax_instEmptyCollectionTSepArray___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Syntax_instEmptyCollectionTSepArray(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} static lean_object* _init_l_Lean_Syntax_instCoeTailSepArrayArraySyntax___closed__1() { _start: { @@ -18042,7 +18082,7 @@ x_1 = 0; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9921_(uint8_t x_1, uint8_t x_2) { +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(uint8_t x_1, uint8_t x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -18054,7 +18094,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9921____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_9966____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; @@ -18062,7 +18102,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_9921_(x_3, x_4); +x_5 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -18071,7 +18111,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_9921____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966____boxed), 2, 0); return x_1; } } @@ -18083,7 +18123,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_9937____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__1() { _start: { lean_object* x_1; @@ -18091,33 +18131,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_9937____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__3; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__3; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18125,23 +18165,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_9937____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__6; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__5; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__5; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18149,7 +18189,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_9937____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__7() { _start: { lean_object* x_1; @@ -18157,33 +18197,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_9937____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__7; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__8; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__9; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__9; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18191,23 +18231,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_9937____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__6; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__8; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__11; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__11; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18215,7 +18255,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_9937____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__13() { _start: { lean_object* x_1; @@ -18223,33 +18263,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_9937____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__13; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__14; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__15; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__15; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18257,23 +18297,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_9937____closed__17() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__6; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__14; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__18() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__17; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__17; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18281,7 +18321,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_9937____closed__19() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__19() { _start: { lean_object* x_1; @@ -18289,33 +18329,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_9937____closed__20() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__21() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__20; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__22() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__21; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__21; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18323,23 +18363,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_9937____closed__23() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__6; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__20; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__24() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__23; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__23; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18347,7 +18387,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_9937_(uint8_t x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982_(uint8_t x_1, lean_object* x_2) { _start: { switch (x_1) { @@ -18359,14 +18399,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_9937____closed__4; +x_5 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__6; +x_7 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__6; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -18379,14 +18419,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_9937____closed__10; +x_11 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__12; +x_13 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__12; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -18399,14 +18439,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_9937____closed__16; +x_17 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__18; +x_19 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__18; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -18419,14 +18459,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_9937____closed__22; +x_23 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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_9937____closed__24; +x_25 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__24; x_26 = l_Repr_addAppParen(x_25, x_2); return x_26; } @@ -18434,13 +18474,13 @@ return x_26; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____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_9982____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_9937_(x_3, x_2); +x_4 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982_(x_3, x_2); lean_dec(x_2); return x_4; } @@ -18449,7 +18489,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_9937____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____boxed), 2, 0); return x_1; } } @@ -18532,7 +18572,7 @@ x_1 = 0; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_10086_(uint8_t x_1, uint8_t x_2) { +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_10131_(uint8_t x_1, uint8_t x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -18544,7 +18584,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_10086____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_10131____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; @@ -18552,7 +18592,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_10086_(x_3, x_4); +x_5 = l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_10131_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -18561,7 +18601,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_10086____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_10131____boxed), 2, 0); return x_1; } } @@ -18573,7 +18613,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_10102____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__1() { _start: { lean_object* x_1; @@ -18581,33 +18621,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_10102____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__3; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__3; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18615,23 +18655,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_10102____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__6; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__5; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__5; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18639,7 +18679,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_10102____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__7() { _start: { lean_object* x_1; @@ -18647,33 +18687,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_10102____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__7; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__8; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__9; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__9; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18681,23 +18721,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_10102____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__6; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__8; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__11; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__11; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18705,7 +18745,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_10102____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__13() { _start: { lean_object* x_1; @@ -18713,33 +18753,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_10102____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__13; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__14; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__15; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__15; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18747,23 +18787,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_10102____closed__17() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Name_reprSyntax____x40_Init_Meta___hyg_1001____closed__6; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__14; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__18() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__17; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__17; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18771,7 +18811,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_10102_(uint8_t x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147_(uint8_t x_1, lean_object* x_2) { _start: { switch (x_1) { @@ -18783,14 +18823,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_10102____closed__4; +x_5 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__6; +x_7 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__6; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -18803,14 +18843,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_10102____closed__10; +x_11 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__12; +x_13 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__12; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -18823,14 +18863,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_10102____closed__16; +x_17 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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_10102____closed__18; +x_19 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__18; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -18838,13 +18878,13 @@ return x_20; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____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_10147____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_10102_(x_3, x_2); +x_4 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147_(x_3, x_2); lean_dec(x_2); return x_4; } @@ -18853,7 +18893,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_10102____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____boxed), 2, 0); return x_1; } } @@ -18955,7 +18995,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_10301_(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_10346_(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; @@ -19108,7 +19148,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_10086_(x_6, x_14); +x_36 = l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_10131_(x_6, x_14); if (x_36 == 0) { uint8_t x_37; @@ -19233,11 +19273,11 @@ goto block_48; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_10301____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_10346____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_10301_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_10346_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -19248,7 +19288,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_10301____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_10346____boxed), 2, 0); return x_1; } } @@ -19260,7 +19300,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_10468____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__1() { _start: { lean_object* x_1; @@ -19268,29 +19308,29 @@ 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_10468____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_10468____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_10468____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_10468____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_10468____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__4() { _start: { lean_object* x_1; @@ -19298,29 +19338,29 @@ x_1 = lean_mk_string_from_bytes(" := ", 4); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__4; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__6() { _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_10468____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__5; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__3; +x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__5; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__7() { _start: { lean_object* x_1; @@ -19328,17 +19368,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_10468____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__7; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__9() { _start: { lean_object* x_1; @@ -19346,17 +19386,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_10468____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__9; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__11() { _start: { lean_object* x_1; @@ -19364,17 +19404,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_10468____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__11; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__13() { _start: { lean_object* x_1; @@ -19382,17 +19422,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_10468____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_10468____closed__13; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_10468____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__15() { _start: { lean_object* x_1; @@ -19400,17 +19440,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_10468____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_10468____closed__15; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_10468____closed__17() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__17() { _start: { lean_object* x_1; @@ -19418,17 +19458,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_10468____closed__18() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_10468____closed__17; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_10468____closed__19() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__19() { _start: { lean_object* x_1; @@ -19436,17 +19476,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_10468____closed__20() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__21() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__21() { _start: { lean_object* x_1; @@ -19454,35 +19494,35 @@ x_1 = lean_mk_string_from_bytes("{ ", 2); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__22() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__21; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__21; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__22; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__22; 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_10468____closed__24() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__21; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__21; 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_10468____closed__25() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__25() { _start: { lean_object* x_1; @@ -19490,17 +19530,17 @@ x_1 = lean_mk_string_from_bytes(" }", 2); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__25; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__25; 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_10468____closed__27() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -19510,7 +19550,7 @@ 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_10468____closed__28() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -19520,7 +19560,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468_(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_10513_(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; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; @@ -19529,7 +19569,7 @@ 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_10102_(x_6, x_7); +x_8 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147_(x_6, x_7); x_9 = lean_ctor_get_uint8(x_1, 4); x_10 = lean_ctor_get_uint8(x_1, 5); x_11 = lean_ctor_get_uint8(x_1, 6); @@ -19537,21 +19577,21 @@ x_12 = lean_ctor_get_uint8(x_1, 7); if (x_3 == 0) { lean_object* x_123; -x_123 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_123 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_13 = x_123; goto block_122; } else { lean_object* x_124; -x_124 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_124 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_13 = x_124; goto block_122; } block_122: { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_14 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__6; +x_14 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__6; x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); @@ -19563,25 +19603,25 @@ x_18 = lean_box(1); x_19 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__8; +x_20 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__8; x_21 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__5; +x_22 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__5; x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); if (x_4 == 0) { lean_object* x_120; -x_120 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_120 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_24 = x_120; goto block_119; } else { lean_object* x_121; -x_121 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_121 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_24 = x_121; goto block_119; } @@ -19597,7 +19637,7 @@ lean_ctor_set(x_26, 1, x_16); x_27 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_18); -x_28 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__10; +x_28 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__10; x_29 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); @@ -19607,14 +19647,14 @@ lean_ctor_set(x_30, 1, x_22); if (x_5 == 0) { lean_object* x_117; -x_117 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_117 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_31 = x_117; goto block_116; } else { lean_object* x_118; -x_118 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_118 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_31 = x_118; goto block_116; } @@ -19630,7 +19670,7 @@ lean_ctor_set(x_33, 1, x_16); x_34 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_18); -x_35 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__12; +x_35 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__12; x_36 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_36, 0, x_34); lean_ctor_set(x_36, 1, x_35); @@ -19646,7 +19686,7 @@ lean_ctor_set(x_39, 1, x_16); x_40 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_18); -x_41 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__14; +x_41 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__14; x_42 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_42, 0, x_40); lean_ctor_set(x_42, 1, x_41); @@ -19656,14 +19696,14 @@ lean_ctor_set(x_43, 1, x_22); if (x_9 == 0) { lean_object* x_114; -x_114 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_114 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_44 = x_114; goto block_113; } else { lean_object* x_115; -x_115 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_115 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_44 = x_115; goto block_113; } @@ -19679,7 +19719,7 @@ lean_ctor_set(x_46, 1, x_16); x_47 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_18); -x_48 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__16; +x_48 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__16; x_49 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_49, 0, x_47); lean_ctor_set(x_49, 1, x_48); @@ -19689,14 +19729,14 @@ lean_ctor_set(x_50, 1, x_22); if (x_10 == 0) { lean_object* x_111; -x_111 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_111 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_51 = x_111; goto block_110; } else { lean_object* x_112; -x_112 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_112 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_51 = x_112; goto block_110; } @@ -19712,7 +19752,7 @@ lean_ctor_set(x_53, 1, x_16); x_54 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_18); -x_55 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__18; +x_55 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__18; x_56 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); @@ -19722,7 +19762,7 @@ lean_ctor_set(x_57, 1, x_22); if (x_11 == 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; lean_object* x_64; -x_58 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_58 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_59 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_59, 0, x_57); lean_ctor_set(x_59, 1, x_58); @@ -19732,7 +19772,7 @@ lean_ctor_set(x_60, 1, x_16); x_61 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_61, 0, x_60); lean_ctor_set(x_61, 1, x_18); -x_62 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__20; +x_62 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__20; x_63 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_63, 0, x_61); lean_ctor_set(x_63, 1, x_62); @@ -19745,15 +19785,15 @@ lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean x_65 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_65, 0, x_64); lean_ctor_set(x_65, 1, x_58); -x_66 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__24; +x_66 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24; x_67 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); -x_68 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26; +x_68 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26; x_69 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_69, 0, x_67); lean_ctor_set(x_69, 1, x_68); -x_70 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23; +x_70 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23; x_71 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_69); @@ -19766,19 +19806,19 @@ return x_73; else { lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; -x_74 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_74 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_75 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_75, 0, x_64); lean_ctor_set(x_75, 1, x_74); -x_76 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__24; +x_76 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24; x_77 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_77, 0, x_76); lean_ctor_set(x_77, 1, x_75); -x_78 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26; +x_78 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26; x_79 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_79, 0, x_77); lean_ctor_set(x_79, 1, x_78); -x_80 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23; +x_80 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23; x_81 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -19792,7 +19832,7 @@ return x_83; else { lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_84 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_84 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_85 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_85, 0, x_57); lean_ctor_set(x_85, 1, x_84); @@ -19802,7 +19842,7 @@ lean_ctor_set(x_86, 1, x_16); x_87 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_18); -x_88 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__20; +x_88 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__20; x_89 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_89, 0, x_87); lean_ctor_set(x_89, 1, x_88); @@ -19812,19 +19852,19 @@ lean_ctor_set(x_90, 1, x_22); if (x_12 == 0) { lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; -x_91 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_91 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_92 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_92, 0, x_90); lean_ctor_set(x_92, 1, x_91); -x_93 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__24; +x_93 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24; x_94 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_94, 0, x_93); lean_ctor_set(x_94, 1, x_92); -x_95 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26; +x_95 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26; x_96 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_96, 0, x_94); lean_ctor_set(x_96, 1, x_95); -x_97 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23; +x_97 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23; x_98 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); @@ -19840,15 +19880,15 @@ lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; x_101 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_101, 0, x_90); lean_ctor_set(x_101, 1, x_84); -x_102 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__24; +x_102 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24; x_103 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_103, 0, x_102); lean_ctor_set(x_103, 1, x_101); -x_104 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26; +x_104 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26; x_105 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_105, 0, x_103); lean_ctor_set(x_105, 1, x_104); -x_106 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23; +x_106 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23; x_107 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_107, 0, x_106); lean_ctor_set(x_107, 1, x_105); @@ -19866,11 +19906,11 @@ return x_109; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____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_10513____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_10468_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -19880,7 +19920,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_10468____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____boxed), 2, 0); return x_1; } } @@ -20054,7 +20094,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_10747_(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_10792_(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; @@ -20312,7 +20352,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_10086_(x_11, x_26); +x_62 = l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_10131_(x_11, x_26); if (x_62 == 0) { uint8_t x_63; @@ -20537,11 +20577,11 @@ goto block_92; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_10747____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_10792____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_10747_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_10792_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -20552,7 +20592,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_10747____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_10792____boxed), 2, 0); return x_1; } } @@ -20564,7 +20604,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_11026____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__1() { _start: { lean_object* x_1; @@ -20572,41 +20612,41 @@ 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_11026____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____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_11026____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____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_11026____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____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_11026____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____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_11026____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____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_11026____closed__3; -x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__5; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__3; +x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__5; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__5() { _start: { lean_object* x_1; @@ -20614,17 +20654,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_11026____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__5; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__5; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__7() { _start: { lean_object* x_1; @@ -20632,17 +20672,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_11026____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__7; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____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_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__9() { _start: { lean_object* x_1; @@ -20650,17 +20690,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_11026____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____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_11026____closed__9; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____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_11026____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__11() { _start: { lean_object* x_1; @@ -20668,17 +20708,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_11026____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____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_11026____closed__11; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____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_11026____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__13() { _start: { lean_object* x_1; @@ -20686,17 +20726,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_11026____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__13; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____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_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__15() { _start: { lean_object* x_1; @@ -20704,17 +20744,17 @@ 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_11026____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__15; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__15; 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_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026_(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_11071_(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; 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; lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t x_35; uint8_t x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; @@ -20723,7 +20763,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_11026____closed__4; +x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__4; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -20735,11 +20775,11 @@ x_10 = lean_box(1); x_11 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); -x_12 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__6; +x_12 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__6; x_13 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); -x_14 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__5; +x_14 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__5; x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -20757,7 +20797,7 @@ lean_ctor_set(x_20, 1, x_8); x_21 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_21, 0, x_20); lean_ctor_set(x_21, 1, x_10); -x_22 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__8; +x_22 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__8; x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); @@ -20772,7 +20812,7 @@ x_29 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 4); x_30 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 5); x_31 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 6); x_32 = lean_unsigned_to_nat(0u); -x_33 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102_(x_31, x_32); +x_33 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147_(x_31, x_32); x_34 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 7); x_35 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 8); x_36 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 9); @@ -20783,14 +20823,14 @@ lean_dec(x_1); if (x_25 == 0) { lean_object* x_196; -x_196 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_196 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_40 = x_196; goto block_195; } else { lean_object* x_197; -x_197 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_197 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_40 = x_197; goto block_195; } @@ -20806,7 +20846,7 @@ lean_ctor_set(x_42, 1, x_8); x_43 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_10); -x_44 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__10; +x_44 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__10; x_45 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); @@ -20816,14 +20856,14 @@ lean_ctor_set(x_46, 1, x_14); if (x_26 == 0) { lean_object* x_193; -x_193 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_193 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_47 = x_193; goto block_192; } else { lean_object* x_194; -x_194 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_194 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_47 = x_194; goto block_192; } @@ -20839,7 +20879,7 @@ lean_ctor_set(x_49, 1, x_8); x_50 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_10); -x_51 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__12; +x_51 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__12; x_52 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); @@ -20849,14 +20889,14 @@ lean_ctor_set(x_53, 1, x_14); if (x_27 == 0) { lean_object* x_190; -x_190 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_190 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_54 = x_190; goto block_189; } else { lean_object* x_191; -x_191 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_191 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_54 = x_191; goto block_189; } @@ -20872,7 +20912,7 @@ lean_ctor_set(x_56, 1, x_8); x_57 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_10); -x_58 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__2; +x_58 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__2; x_59 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_59, 0, x_57); lean_ctor_set(x_59, 1, x_58); @@ -20882,14 +20922,14 @@ lean_ctor_set(x_60, 1, x_14); if (x_28 == 0) { lean_object* x_187; -x_187 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_187 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_61 = x_187; goto block_186; } else { lean_object* x_188; -x_188 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_188 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_61 = x_188; goto block_186; } @@ -20905,7 +20945,7 @@ lean_ctor_set(x_63, 1, x_8); x_64 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_64, 0, x_63); lean_ctor_set(x_64, 1, x_10); -x_65 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__8; +x_65 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__8; x_66 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_66, 0, x_64); lean_ctor_set(x_66, 1, x_65); @@ -20915,14 +20955,14 @@ lean_ctor_set(x_67, 1, x_14); if (x_29 == 0) { lean_object* x_184; -x_184 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_184 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_68 = x_184; goto block_183; } else { lean_object* x_185; -x_185 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_185 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_68 = x_185; goto block_183; } @@ -20938,7 +20978,7 @@ lean_ctor_set(x_70, 1, x_8); x_71 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_10); -x_72 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__10; +x_72 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__10; x_73 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_73, 0, x_71); lean_ctor_set(x_73, 1, x_72); @@ -20948,14 +20988,14 @@ lean_ctor_set(x_74, 1, x_14); if (x_30 == 0) { lean_object* x_181; -x_181 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_181 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_75 = x_181; goto block_180; } else { lean_object* x_182; -x_182 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_182 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_75 = x_182; goto block_180; } @@ -20971,7 +21011,7 @@ lean_ctor_set(x_77, 1, x_8); x_78 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_10); -x_79 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__12; +x_79 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__12; x_80 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); @@ -20987,7 +21027,7 @@ lean_ctor_set(x_83, 1, x_8); x_84 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_10); -x_85 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__14; +x_85 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__14; x_86 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_86, 0, x_84); lean_ctor_set(x_86, 1, x_85); @@ -20997,14 +21037,14 @@ lean_ctor_set(x_87, 1, x_14); if (x_34 == 0) { lean_object* x_178; -x_178 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_178 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_88 = x_178; goto block_177; } else { lean_object* x_179; -x_179 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_179 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_88 = x_179; goto block_177; } @@ -21020,7 +21060,7 @@ lean_ctor_set(x_90, 1, x_8); x_91 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_10); -x_92 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__16; +x_92 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__16; x_93 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_93, 0, x_91); lean_ctor_set(x_93, 1, x_92); @@ -21030,14 +21070,14 @@ lean_ctor_set(x_94, 1, x_14); if (x_35 == 0) { lean_object* x_175; -x_175 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_175 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_95 = x_175; goto block_174; } else { lean_object* x_176; -x_176 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_176 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_95 = x_176; goto block_174; } @@ -21053,7 +21093,7 @@ lean_ctor_set(x_97, 1, x_8); x_98 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_10); -x_99 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__18; +x_99 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__18; x_100 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_100, 0, x_98); lean_ctor_set(x_100, 1, x_99); @@ -21063,14 +21103,14 @@ lean_ctor_set(x_101, 1, x_14); if (x_36 == 0) { lean_object* x_172; -x_172 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_172 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_102 = x_172; goto block_171; } else { lean_object* x_173; -x_173 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_173 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_102 = x_173; goto block_171; } @@ -21086,7 +21126,7 @@ lean_ctor_set(x_104, 1, x_8); x_105 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_10); -x_106 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__14; +x_106 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__14; x_107 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_107, 0, x_105); lean_ctor_set(x_107, 1, x_106); @@ -21096,14 +21136,14 @@ lean_ctor_set(x_108, 1, x_14); if (x_37 == 0) { lean_object* x_169; -x_169 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_169 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_109 = x_169; goto block_168; } else { lean_object* x_170; -x_170 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_170 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_109 = x_170; goto block_168; } @@ -21119,7 +21159,7 @@ lean_ctor_set(x_111, 1, x_8); x_112 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_112, 0, x_111); lean_ctor_set(x_112, 1, x_10); -x_113 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__20; +x_113 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__20; x_114 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_114, 0, x_112); lean_ctor_set(x_114, 1, x_113); @@ -21129,7 +21169,7 @@ lean_ctor_set(x_115, 1, x_14); if (x_38 == 0) { 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_116 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_116 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_117 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_117, 0, x_115); lean_ctor_set(x_117, 1, x_116); @@ -21139,7 +21179,7 @@ lean_ctor_set(x_118, 1, x_8); x_119 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_119, 0, x_118); lean_ctor_set(x_119, 1, x_10); -x_120 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__16; +x_120 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____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); @@ -21152,15 +21192,15 @@ lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; x_123 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_123, 0, x_122); lean_ctor_set(x_123, 1, x_116); -x_124 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__24; +x_124 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24; x_125 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_125, 0, x_124); lean_ctor_set(x_125, 1, x_123); -x_126 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26; +x_126 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26; x_127 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_127, 0, x_125); lean_ctor_set(x_127, 1, x_126); -x_128 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23; +x_128 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23; x_129 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_129, 0, x_128); lean_ctor_set(x_129, 1, x_127); @@ -21173,19 +21213,19 @@ return x_131; else { lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; -x_132 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_132 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_133 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_133, 0, x_122); lean_ctor_set(x_133, 1, x_132); -x_134 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__24; +x_134 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24; x_135 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_135, 0, x_134); lean_ctor_set(x_135, 1, x_133); -x_136 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26; +x_136 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26; x_137 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_137, 0, x_135); lean_ctor_set(x_137, 1, x_136); -x_138 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23; +x_138 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23; x_139 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_139, 0, x_138); lean_ctor_set(x_139, 1, x_137); @@ -21199,7 +21239,7 @@ return x_141; 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; -x_142 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28; +x_142 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28; x_143 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_143, 0, x_115); lean_ctor_set(x_143, 1, x_142); @@ -21209,7 +21249,7 @@ lean_ctor_set(x_144, 1, x_8); x_145 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_145, 0, x_144); lean_ctor_set(x_145, 1, x_10); -x_146 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__16; +x_146 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__16; x_147 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_147, 0, x_145); lean_ctor_set(x_147, 1, x_146); @@ -21219,19 +21259,19 @@ lean_ctor_set(x_148, 1, x_14); if (x_39 == 0) { lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; lean_object* x_158; -x_149 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27; +x_149 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27; x_150 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_150, 0, x_148); lean_ctor_set(x_150, 1, x_149); -x_151 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__24; +x_151 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24; x_152 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_152, 0, x_151); lean_ctor_set(x_152, 1, x_150); -x_153 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26; +x_153 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26; x_154 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_154, 0, x_152); lean_ctor_set(x_154, 1, x_153); -x_155 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23; +x_155 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23; x_156 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_156, 0, x_155); lean_ctor_set(x_156, 1, x_154); @@ -21247,15 +21287,15 @@ lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; x_159 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_159, 0, x_148); lean_ctor_set(x_159, 1, x_142); -x_160 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__24; +x_160 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24; x_161 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_161, 0, x_160); lean_ctor_set(x_161, 1, x_159); -x_162 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26; +x_162 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26; x_163 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_163, 0, x_161); lean_ctor_set(x_163, 1, x_162); -x_164 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23; +x_164 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23; x_165 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_165, 0, x_164); lean_ctor_set(x_165, 1, x_163); @@ -21278,11 +21318,11 @@ return x_167; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____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_11071____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_11026_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -21291,7 +21331,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_11026____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____boxed), 2, 0); return x_1; } } @@ -21690,7 +21730,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_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__7; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__7; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } @@ -21699,7 +21739,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_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__7; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__7; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__21; x_4 = lean_alloc_ctor(0, 3, 0); @@ -22252,7 +22292,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_simpAllKind___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__4; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__4; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -22366,7 +22406,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_11026____closed__15; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__15; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -28004,7 +28044,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_11026____closed__15; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__15; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } @@ -28013,7 +28053,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_11026____closed__15; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__15; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__3; x_4 = lean_alloc_ctor(0, 3, 0); @@ -28028,7 +28068,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_11026____closed__15; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__15; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -28038,7 +28078,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_11026____closed__15; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__15; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -28680,7 +28720,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(9u); +x_1 = lean_unsigned_to_nat(10u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } @@ -28700,7 +28740,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__71; -x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__14; +x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__12; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -28708,27 +28748,37 @@ return x_3; static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__73() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("simpAll", 7); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__72; +x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__14; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__74() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__73; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("simpAll", 7); +return x_1; } } static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__75() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__74; +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__commandDeclare__simp__like__tactic____________1___closed__76() { +_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__commandDeclare__simp__like__tactic____________1___closed__73; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__74; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__74; +x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__75; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -28736,22 +28786,12 @@ 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__commandDeclare__simp__like__tactic____________1___closed__76() { -_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__commandDeclare__simp__like__tactic____________1___closed__73; -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__commandDeclare__simp__like__tactic____________1___closed__77() { _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_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__73; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__74; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -28760,11 +28800,9 @@ 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; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__77; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_Parser_Tactic_tacticErw_______closed__2; +x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__74; +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } @@ -28774,7 +28812,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__commandDeclare__simp__like__tactic____________1___closed__78; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -28783,12 +28821,24 @@ return x_3; static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__80() { _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__commandDeclare__simp__like__tactic____________1___closed__79; +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__commandDeclare__simp__like__tactic____________1___closed__81() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_from_bytes("\"simp_all \"", 11); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__81() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__82() { _start: { lean_object* x_1; @@ -28796,22 +28846,22 @@ x_1 = lean_mk_string_from_bytes("simp", 4); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__82() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__83() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__81; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__82; 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__commandDeclare__simp__like__tactic____________1___closed__83() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__84() { _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__commandDeclare__simp__like__tactic____________1___closed__81; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__82; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__82; +x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__83; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -28819,22 +28869,12 @@ 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__commandDeclare__simp__like__tactic____________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__commandDeclare__simp__like__tactic____________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__commandDeclare__simp__like__tactic____________1___closed__85() { _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_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__81; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__82; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -28843,11 +28883,9 @@ 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; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__85; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_Parser_Tactic_tacticErw_______closed__2; +x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__82; +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } @@ -28857,7 +28895,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__commandDeclare__simp__like__tactic____________1___closed__86; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -28866,12 +28904,24 @@ return x_3; static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__88() { _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__commandDeclare__simp__like__tactic____________1___closed__87; +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__commandDeclare__simp__like__tactic____________1___closed__89() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_from_bytes("\"simp \"", 7); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__89() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__90() { _start: { lean_object* x_1; @@ -28879,22 +28929,22 @@ x_1 = lean_mk_string_from_bytes("simpStar", 8); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__90() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________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__commandDeclare__simp__like__tactic____________1___closed__89; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________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__commandDeclare__simp__like__tactic____________1___closed__91() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________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__commandDeclare__simp__like__tactic____________1___closed__89; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__90; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__90; +x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________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); @@ -28902,22 +28952,12 @@ 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__commandDeclare__simp__like__tactic____________1___closed__92() { -_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__commandDeclare__simp__like__tactic____________1___closed__89; -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__commandDeclare__simp__like__tactic____________1___closed__93() { _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_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__89; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__90; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -28926,11 +28966,9 @@ 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; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__93; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_Parser_Tactic_tacticErw_______closed__2; +x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__90; +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } @@ -28940,6 +28978,18 @@ _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__commandDeclare__simp__like__tactic____________1___closed__94; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__96() { +_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__commandDeclare__simp__like__tactic____________1___closed__95; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -29419,7 +29469,7 @@ lean_ctor_set(x_221, 0, x_52); lean_ctor_set(x_221, 1, x_220); lean_ctor_set(x_221, 2, x_219); lean_ctor_set(x_221, 3, x_31); -x_222 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__72; +x_222 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__73; x_223 = lean_array_push(x_222, x_55); x_224 = lean_array_push(x_223, x_85); x_225 = lean_array_push(x_224, x_74); @@ -29464,13 +29514,13 @@ lean_inc(x_240); x_245 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_245, 0, x_240); lean_ctor_set(x_245, 1, x_244); -x_246 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__76; +x_246 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__77; lean_inc(x_242); lean_inc(x_243); x_247 = l_Lean_addMacroScope(x_243, x_246, x_242); x_248 = lean_box(0); -x_249 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__75; -x_250 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__79; +x_249 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__76; +x_250 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__80; x_251 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_251, 0, x_240); lean_ctor_set(x_251, 1, x_249); @@ -29494,7 +29544,7 @@ lean_inc(x_260); x_261 = lean_ctor_get(x_259, 1); lean_inc(x_261); lean_dec(x_259); -x_262 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__80; +x_262 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__81; x_263 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_263, 0, x_260); lean_ctor_set(x_263, 1, x_262); @@ -29837,7 +29887,7 @@ lean_ctor_set(x_420, 0, x_269); lean_ctor_set(x_420, 1, x_419); lean_ctor_set(x_420, 2, x_418); lean_ctor_set(x_420, 3, x_248); -x_421 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__72; +x_421 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__73; x_422 = lean_array_push(x_421, x_272); x_423 = lean_array_push(x_422, x_302); x_424 = lean_array_push(x_423, x_291); @@ -29884,13 +29934,13 @@ lean_inc(x_439); x_444 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_444, 0, x_439); lean_ctor_set(x_444, 1, x_443); -x_445 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__84; +x_445 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__85; lean_inc(x_441); lean_inc(x_442); x_446 = l_Lean_addMacroScope(x_442, x_445, x_441); x_447 = lean_box(0); -x_448 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__83; -x_449 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__87; +x_448 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__84; +x_449 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__88; x_450 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_450, 0, x_439); lean_ctor_set(x_450, 1, x_448); @@ -29914,7 +29964,7 @@ lean_inc(x_459); x_460 = lean_ctor_get(x_458, 1); lean_inc(x_460); lean_dec(x_458); -x_461 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__88; +x_461 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__89; x_462 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_462, 0, x_459); lean_ctor_set(x_462, 1, x_461); @@ -30127,12 +30177,12 @@ x_557 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_557, 0, x_455); lean_ctor_set(x_557, 1, x_492); lean_ctor_set(x_557, 2, x_556); -x_558 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__92; +x_558 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__93; lean_inc(x_441); lean_inc(x_442); x_559 = l_Lean_addMacroScope(x_442, x_558, x_441); -x_560 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__91; -x_561 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__95; +x_560 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__92; +x_561 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__96; lean_inc(x_468); x_562 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_562, 0, x_468); @@ -30323,7 +30373,7 @@ lean_ctor_set(x_649, 0, x_468); lean_ctor_set(x_649, 1, x_648); lean_ctor_set(x_649, 2, x_647); lean_ctor_set(x_649, 3, x_447); -x_650 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__72; +x_650 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__73; x_651 = lean_array_push(x_650, x_471); x_652 = lean_array_push(x_651, x_501); x_653 = lean_array_push(x_652, x_490); @@ -30660,7 +30710,7 @@ x_1 = l_Lean_Parser_Tactic_simpAutoUnfold___closed__25; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -30668,15 +30718,15 @@ x_1 = lean_mk_string_from_bytes("simp ", 5); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____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_15391____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; -x_5 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__85; +x_5 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__86; 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_15328____lambda__1___closed__1; +x_9 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____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; @@ -30695,7 +30745,7 @@ lean_ctor_set(x_19, 1, x_4); return x_19; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -30705,7 +30755,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_15328____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -30715,7 +30765,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_15328____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__3() { _start: { lean_object* x_1; @@ -30723,22 +30773,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_15328____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__3; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____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_15328____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____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_15328____closed__3; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__4; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____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); @@ -30746,7 +30796,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_15328____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__6() { _start: { lean_object* x_1; @@ -30754,17 +30804,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_15328____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__24; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__6; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____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_15328____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__8() { _start: { lean_object* x_1; @@ -30772,56 +30822,56 @@ 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_15328____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____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_15328____closed__7; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__8; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__7; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____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_15328____closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____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_expandSimp____x40_Init_Meta___hyg_15328____closed__9; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__9; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__11() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__11() { _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_15328____closed__10; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____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_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__12() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__19; 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_15328____closed__13() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13() { _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_10468____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__19; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__12; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____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); @@ -30829,17 +30879,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_15328____closed__14() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__19; +x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__19; 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_15328____closed__15() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -30848,13 +30898,13 @@ 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_15328____closed__16() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16() { _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_15328____closed__15; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__15; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -30862,7 +30912,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_15328____closed__17() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -30872,7 +30922,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_15328____closed__18() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -30884,19 +30934,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____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_expandSimp____x40_Init_Meta___hyg_15328____closed__18; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__18; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; @@ -30910,7 +30960,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328_(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_15391_(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; @@ -30974,12 +31024,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_15328____closed__9; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__9; 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_15328____closed__5; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__11; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__5; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__11; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -31056,11 +31106,11 @@ x_68 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_68, 0, x_38); lean_ctor_set(x_68, 1, x_43); lean_ctor_set(x_68, 2, x_67); -x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__14; +x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14; lean_inc(x_13); lean_inc(x_14); x_70 = l_Lean_addMacroScope(x_14, x_69, x_13); -x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13; +x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13; lean_inc(x_11); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_11); @@ -31075,10 +31125,10 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_38); 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_15328____closed__17; +x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; x_79 = l_Lean_addMacroScope(x_14, x_78, x_13); -x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -31109,7 +31159,7 @@ x_93 = lean_array_push(x_92, x_61); lean_inc(x_93); x_94 = lean_array_push(x_93, x_68); x_95 = lean_array_push(x_94, x_89); -x_96 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_96 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_97 = lean_array_push(x_95, x_96); x_98 = lean_array_push(x_97, x_74); lean_inc(x_91); @@ -31124,14 +31174,14 @@ x_103 = lean_array_push(x_102, x_57); x_104 = lean_array_push(x_103, x_74); x_105 = lean_array_push(x_104, x_59); x_106 = lean_array_push(x_105, x_101); -x_107 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_107 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_38); lean_ctor_set(x_108, 1, x_107); lean_ctor_set(x_108, 2, x_106); x_109 = lean_array_push(x_35, x_22); x_110 = lean_array_push(x_109, x_108); -x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_112 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_112, 0, x_38); lean_ctor_set(x_112, 1, x_111); @@ -31182,7 +31232,7 @@ x_139 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_139, 0, x_38); lean_ctor_set(x_139, 1, x_8); lean_ctor_set(x_139, 2, x_138); -x_140 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____lambda__1(x_1, x_139, x_2, x_12); +x_140 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1(x_1, x_139, x_2, x_12); lean_dec(x_2); return x_140; } @@ -31240,12 +31290,12 @@ lean_inc(x_144); x_162 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_162, 0, x_144); lean_ctor_set(x_162, 1, x_161); -x_163 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__9; +x_163 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__9; lean_inc(x_146); lean_inc(x_147); x_164 = l_Lean_addMacroScope(x_147, x_163, x_146); -x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__5; -x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__11; +x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__5; +x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__11; lean_inc(x_144); x_167 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_167, 0, x_144); @@ -31322,11 +31372,11 @@ x_201 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_201, 0, x_171); lean_ctor_set(x_201, 1, x_176); lean_ctor_set(x_201, 2, x_200); -x_202 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__14; +x_202 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14; lean_inc(x_146); lean_inc(x_147); x_203 = l_Lean_addMacroScope(x_147, x_202, x_146); -x_204 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13; +x_204 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13; lean_inc(x_144); x_205 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_205, 0, x_144); @@ -31341,10 +31391,10 @@ x_210 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_210, 0, x_171); lean_ctor_set(x_210, 1, x_209); lean_ctor_set(x_210, 2, x_208); -x_211 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__17; +x_211 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; x_212 = l_Lean_addMacroScope(x_147, x_211, x_146); -x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; -x_214 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_214 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_144); x_215 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_215, 0, x_144); @@ -31373,7 +31423,7 @@ x_225 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Ta x_226 = lean_array_push(x_225, x_194); x_227 = lean_array_push(x_226, x_201); x_228 = lean_array_push(x_227, x_222); -x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_230 = lean_array_push(x_228, x_229); x_231 = lean_array_push(x_230, x_207); x_232 = lean_array_push(x_231, x_224); @@ -31387,14 +31437,14 @@ x_236 = lean_array_push(x_235, x_190); x_237 = lean_array_push(x_236, x_207); x_238 = lean_array_push(x_237, x_192); x_239 = lean_array_push(x_238, x_234); -x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_241 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_241, 0, x_171); lean_ctor_set(x_241, 1, x_240); lean_ctor_set(x_241, 2, x_239); x_242 = lean_array_push(x_168, x_155); x_243 = lean_array_push(x_242, x_241); -x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_245 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_245, 0, x_171); lean_ctor_set(x_245, 1, x_244); @@ -31421,17 +31471,17 @@ x_258 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_258, 0, x_171); lean_ctor_set(x_258, 1, x_8); lean_ctor_set(x_258, 2, x_257); -x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____lambda__1(x_1, x_258, x_2, x_145); +x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1(x_1, x_258, x_2, x_145); lean_dec(x_2); return x_259; } } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____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_15391____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_15328____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -31566,22 +31616,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_16272____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____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_11026____closed__13; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__13; 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_16272____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____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_11026____closed__13; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__13; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__1; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____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); @@ -31589,17 +31639,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_16272____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____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_11026____closed__13; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__13; 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_16272_(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_16335_(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; @@ -31663,12 +31713,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_15328____closed__9; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__9; 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_15328____closed__5; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__11; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__5; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__11; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -31745,11 +31795,11 @@ x_68 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_68, 0, x_38); lean_ctor_set(x_68, 1, x_43); lean_ctor_set(x_68, 2, x_67); -x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__3; +x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__3; lean_inc(x_13); lean_inc(x_14); x_70 = l_Lean_addMacroScope(x_14, x_69, x_13); -x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__2; +x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__2; lean_inc(x_11); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_11); @@ -31764,10 +31814,10 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_38); 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_15328____closed__17; +x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; x_79 = l_Lean_addMacroScope(x_14, x_78, x_13); -x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -31798,7 +31848,7 @@ x_93 = lean_array_push(x_92, x_61); lean_inc(x_93); x_94 = lean_array_push(x_93, x_68); x_95 = lean_array_push(x_94, x_89); -x_96 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_96 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_97 = lean_array_push(x_95, x_96); x_98 = lean_array_push(x_97, x_74); lean_inc(x_91); @@ -31813,14 +31863,14 @@ x_103 = lean_array_push(x_102, x_57); x_104 = lean_array_push(x_103, x_74); x_105 = lean_array_push(x_104, x_59); x_106 = lean_array_push(x_105, x_101); -x_107 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_107 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_38); lean_ctor_set(x_108, 1, x_107); lean_ctor_set(x_108, 2, x_106); x_109 = lean_array_push(x_35, x_22); x_110 = lean_array_push(x_109, x_108); -x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_112 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_112, 0, x_38); lean_ctor_set(x_112, 1, x_111); @@ -31871,7 +31921,7 @@ x_139 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_139, 0, x_38); lean_ctor_set(x_139, 1, x_8); lean_ctor_set(x_139, 2, x_138); -x_140 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____lambda__1(x_1, x_139, x_2, x_12); +x_140 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1(x_1, x_139, x_2, x_12); lean_dec(x_2); return x_140; } @@ -31929,12 +31979,12 @@ lean_inc(x_144); x_162 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_162, 0, x_144); lean_ctor_set(x_162, 1, x_161); -x_163 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__9; +x_163 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__9; lean_inc(x_146); lean_inc(x_147); x_164 = l_Lean_addMacroScope(x_147, x_163, x_146); -x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__5; -x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__11; +x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__5; +x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__11; lean_inc(x_144); x_167 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_167, 0, x_144); @@ -32011,11 +32061,11 @@ x_201 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_201, 0, x_171); lean_ctor_set(x_201, 1, x_176); lean_ctor_set(x_201, 2, x_200); -x_202 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__3; +x_202 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__3; lean_inc(x_146); lean_inc(x_147); x_203 = l_Lean_addMacroScope(x_147, x_202, x_146); -x_204 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__2; +x_204 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__2; lean_inc(x_144); x_205 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_205, 0, x_144); @@ -32030,10 +32080,10 @@ x_210 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_210, 0, x_171); lean_ctor_set(x_210, 1, x_209); lean_ctor_set(x_210, 2, x_208); -x_211 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__17; +x_211 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; x_212 = l_Lean_addMacroScope(x_147, x_211, x_146); -x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; -x_214 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_214 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_144); x_215 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_215, 0, x_144); @@ -32062,7 +32112,7 @@ x_225 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Ta x_226 = lean_array_push(x_225, x_194); x_227 = lean_array_push(x_226, x_201); x_228 = lean_array_push(x_227, x_222); -x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_230 = lean_array_push(x_228, x_229); x_231 = lean_array_push(x_230, x_207); x_232 = lean_array_push(x_231, x_224); @@ -32076,14 +32126,14 @@ x_236 = lean_array_push(x_235, x_190); x_237 = lean_array_push(x_236, x_207); x_238 = lean_array_push(x_237, x_192); x_239 = lean_array_push(x_238, x_234); -x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_241 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_241, 0, x_171); lean_ctor_set(x_241, 1, x_240); lean_ctor_set(x_241, 2, x_239); x_242 = lean_array_push(x_168, x_155); x_243 = lean_array_push(x_242, x_241); -x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_245 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_245, 0, x_171); lean_ctor_set(x_245, 1, x_244); @@ -32110,7 +32160,7 @@ x_258 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_258, 0, x_171); lean_ctor_set(x_258, 1, x_8); lean_ctor_set(x_258, 2, x_257); -x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____lambda__1(x_1, x_258, x_2, x_145); +x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1(x_1, x_258, x_2, x_145); lean_dec(x_2); return x_259; } @@ -32246,7 +32296,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_17216_(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_17279_(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; @@ -32310,12 +32360,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_15328____closed__9; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__9; 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_15328____closed__5; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__11; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__5; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__11; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -32392,11 +32442,11 @@ x_68 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_68, 0, x_38); lean_ctor_set(x_68, 1, x_43); lean_ctor_set(x_68, 2, x_67); -x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__3; +x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__3; lean_inc(x_13); lean_inc(x_14); x_70 = l_Lean_addMacroScope(x_14, x_69, x_13); -x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__2; +x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__2; lean_inc(x_11); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_11); @@ -32411,12 +32461,12 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_38); 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_15328____closed__17; +x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; 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_15328____closed__16; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -32438,9 +32488,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_15328____closed__14; +x_90 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14; x_91 = l_Lean_addMacroScope(x_14, x_90, x_13); -x_92 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13; +x_92 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13; lean_inc(x_11); x_93 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_93, 0, x_11); @@ -32478,7 +32528,7 @@ x_108 = lean_array_push(x_107, x_61); lean_inc(x_108); x_109 = lean_array_push(x_108, x_68); x_110 = lean_array_push(x_109, x_104); -x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_112 = lean_array_push(x_110, x_111); x_113 = lean_array_push(x_112, x_74); lean_inc(x_106); @@ -32493,14 +32543,14 @@ x_118 = lean_array_push(x_117, x_57); x_119 = lean_array_push(x_118, x_74); x_120 = lean_array_push(x_119, x_59); x_121 = lean_array_push(x_120, x_116); -x_122 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_122 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_123 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_123, 0, x_38); lean_ctor_set(x_123, 1, x_122); lean_ctor_set(x_123, 2, x_121); x_124 = lean_array_push(x_35, x_22); x_125 = lean_array_push(x_124, x_123); -x_126 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_126 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_127 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_127, 0, x_38); lean_ctor_set(x_127, 1, x_126); @@ -32551,7 +32601,7 @@ x_154 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_154, 0, x_38); lean_ctor_set(x_154, 1, x_8); lean_ctor_set(x_154, 2, x_153); -x_155 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____lambda__1(x_1, x_154, x_2, x_12); +x_155 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1(x_1, x_154, x_2, x_12); lean_dec(x_2); return x_155; } @@ -32609,12 +32659,12 @@ lean_inc(x_159); x_177 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_177, 0, x_159); lean_ctor_set(x_177, 1, x_176); -x_178 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__9; +x_178 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__9; lean_inc(x_161); lean_inc(x_162); x_179 = l_Lean_addMacroScope(x_162, x_178, x_161); -x_180 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__5; -x_181 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__11; +x_180 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__5; +x_181 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__11; lean_inc(x_159); x_182 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_182, 0, x_159); @@ -32691,11 +32741,11 @@ x_216 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_216, 0, x_186); lean_ctor_set(x_216, 1, x_191); lean_ctor_set(x_216, 2, x_215); -x_217 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__3; +x_217 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__3; lean_inc(x_161); lean_inc(x_162); x_218 = l_Lean_addMacroScope(x_162, x_217, x_161); -x_219 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__2; +x_219 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__2; lean_inc(x_159); x_220 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_220, 0, x_159); @@ -32710,12 +32760,12 @@ x_225 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_225, 0, x_186); lean_ctor_set(x_225, 1, x_224); lean_ctor_set(x_225, 2, x_223); -x_226 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__17; +x_226 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; lean_inc(x_161); lean_inc(x_162); x_227 = l_Lean_addMacroScope(x_162, x_226, x_161); -x_228 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; -x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_228 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_159); x_230 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_230, 0, x_159); @@ -32737,9 +32787,9 @@ lean_inc(x_159); x_237 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_237, 0, x_159); lean_ctor_set(x_237, 1, x_236); -x_238 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__14; +x_238 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14; x_239 = l_Lean_addMacroScope(x_162, x_238, x_161); -x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13; +x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13; lean_inc(x_159); x_241 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_241, 0, x_159); @@ -32775,7 +32825,7 @@ x_255 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Ta x_256 = lean_array_push(x_255, x_209); x_257 = lean_array_push(x_256, x_216); x_258 = lean_array_push(x_257, x_252); -x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_260 = lean_array_push(x_258, x_259); x_261 = lean_array_push(x_260, x_222); x_262 = lean_array_push(x_261, x_254); @@ -32789,14 +32839,14 @@ x_266 = lean_array_push(x_265, x_205); x_267 = lean_array_push(x_266, x_222); x_268 = lean_array_push(x_267, x_207); x_269 = lean_array_push(x_268, x_264); -x_270 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_270 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_271 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_271, 0, x_186); lean_ctor_set(x_271, 1, x_270); lean_ctor_set(x_271, 2, x_269); x_272 = lean_array_push(x_183, x_170); x_273 = lean_array_push(x_272, x_271); -x_274 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_274 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_275 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_275, 0, x_186); lean_ctor_set(x_275, 1, x_274); @@ -32823,7 +32873,7 @@ x_288 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_288, 0, x_186); lean_ctor_set(x_288, 1, x_8); lean_ctor_set(x_288, 2, x_287); -x_289 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____lambda__1(x_1, x_288, x_2, x_160); +x_289 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1(x_1, x_288, x_2, x_160); lean_dec(x_2); return x_289; } @@ -33001,7 +33051,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_18268____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -33009,15 +33059,15 @@ x_1 = lean_mk_string_from_bytes("simp_all ", 9); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____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_18331____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; -x_5 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__77; +x_5 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__78; 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_18268____lambda__1___closed__1; +x_9 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____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; @@ -33036,7 +33086,7 @@ lean_ctor_set(x_19, 1, x_4); return x_19; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__1() { _start: { lean_object* x_1; @@ -33044,22 +33094,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_18268____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__1; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____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_18268____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____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_18268____closed__1; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__2; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____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); @@ -33067,7 +33117,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_18268____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__4() { _start: { lean_object* x_1; @@ -33075,41 +33125,41 @@ 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_18268____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____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_15328____closed__7; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__4; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__7; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____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_18268____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____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_18268____closed__5; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__5; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____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_18268____closed__6; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268_(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_18331_(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; @@ -33173,12 +33223,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_18268____closed__5; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____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_18268____closed__3; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__7; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__3; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__7; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -33255,11 +33305,11 @@ x_68 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_68, 0, x_38); lean_ctor_set(x_68, 1, x_43); lean_ctor_set(x_68, 2, x_67); -x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__14; +x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14; lean_inc(x_13); lean_inc(x_14); x_70 = l_Lean_addMacroScope(x_14, x_69, x_13); -x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13; +x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13; lean_inc(x_11); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_11); @@ -33274,10 +33324,10 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_38); 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_15328____closed__17; +x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; x_79 = l_Lean_addMacroScope(x_14, x_78, x_13); -x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -33308,7 +33358,7 @@ x_93 = lean_array_push(x_92, x_61); lean_inc(x_93); x_94 = lean_array_push(x_93, x_68); x_95 = lean_array_push(x_94, x_89); -x_96 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_96 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_97 = lean_array_push(x_95, x_96); x_98 = lean_array_push(x_97, x_74); lean_inc(x_91); @@ -33323,14 +33373,14 @@ x_103 = lean_array_push(x_102, x_57); x_104 = lean_array_push(x_103, x_74); x_105 = lean_array_push(x_104, x_59); x_106 = lean_array_push(x_105, x_101); -x_107 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_107 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_38); lean_ctor_set(x_108, 1, x_107); lean_ctor_set(x_108, 2, x_106); x_109 = lean_array_push(x_35, x_22); x_110 = lean_array_push(x_109, x_108); -x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_112 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_112, 0, x_38); lean_ctor_set(x_112, 1, x_111); @@ -33381,7 +33431,7 @@ x_139 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_139, 0, x_38); lean_ctor_set(x_139, 1, x_8); lean_ctor_set(x_139, 2, x_138); -x_140 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____lambda__1(x_1, x_139, x_2, x_12); +x_140 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1(x_1, x_139, x_2, x_12); lean_dec(x_2); return x_140; } @@ -33439,12 +33489,12 @@ lean_inc(x_144); x_162 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_162, 0, x_144); lean_ctor_set(x_162, 1, x_161); -x_163 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__5; +x_163 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__5; lean_inc(x_146); lean_inc(x_147); x_164 = l_Lean_addMacroScope(x_147, x_163, x_146); -x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__3; -x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__7; +x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__3; +x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__7; lean_inc(x_144); x_167 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_167, 0, x_144); @@ -33521,11 +33571,11 @@ x_201 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_201, 0, x_171); lean_ctor_set(x_201, 1, x_176); lean_ctor_set(x_201, 2, x_200); -x_202 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__14; +x_202 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14; lean_inc(x_146); lean_inc(x_147); x_203 = l_Lean_addMacroScope(x_147, x_202, x_146); -x_204 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13; +x_204 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13; lean_inc(x_144); x_205 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_205, 0, x_144); @@ -33540,10 +33590,10 @@ x_210 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_210, 0, x_171); lean_ctor_set(x_210, 1, x_209); lean_ctor_set(x_210, 2, x_208); -x_211 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__17; +x_211 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; x_212 = l_Lean_addMacroScope(x_147, x_211, x_146); -x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; -x_214 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_214 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_144); x_215 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_215, 0, x_144); @@ -33572,7 +33622,7 @@ x_225 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Ta x_226 = lean_array_push(x_225, x_194); x_227 = lean_array_push(x_226, x_201); x_228 = lean_array_push(x_227, x_222); -x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_230 = lean_array_push(x_228, x_229); x_231 = lean_array_push(x_230, x_207); x_232 = lean_array_push(x_231, x_224); @@ -33586,14 +33636,14 @@ x_236 = lean_array_push(x_235, x_190); x_237 = lean_array_push(x_236, x_207); x_238 = lean_array_push(x_237, x_192); x_239 = lean_array_push(x_238, x_234); -x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_241 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_241, 0, x_171); lean_ctor_set(x_241, 1, x_240); lean_ctor_set(x_241, 2, x_239); x_242 = lean_array_push(x_168, x_155); x_243 = lean_array_push(x_242, x_241); -x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_245 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_245, 0, x_171); lean_ctor_set(x_245, 1, x_244); @@ -33620,17 +33670,17 @@ x_258 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_258, 0, x_171); lean_ctor_set(x_258, 1, x_8); lean_ctor_set(x_258, 2, x_257); -x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____lambda__1(x_1, x_258, x_2, x_145); +x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1(x_1, x_258, x_2, x_145); lean_dec(x_2); return x_259; } } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____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_18331____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_18268____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -33751,7 +33801,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_19202_(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_19265_(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; @@ -33815,12 +33865,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_18268____closed__5; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____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_18268____closed__3; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__7; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__3; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__7; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -33897,11 +33947,11 @@ x_68 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_68, 0, x_38); lean_ctor_set(x_68, 1, x_43); lean_ctor_set(x_68, 2, x_67); -x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__3; +x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__3; lean_inc(x_13); lean_inc(x_14); x_70 = l_Lean_addMacroScope(x_14, x_69, x_13); -x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__2; +x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__2; lean_inc(x_11); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_11); @@ -33916,10 +33966,10 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_38); 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_15328____closed__17; +x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; x_79 = l_Lean_addMacroScope(x_14, x_78, x_13); -x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -33950,7 +34000,7 @@ x_93 = lean_array_push(x_92, x_61); lean_inc(x_93); x_94 = lean_array_push(x_93, x_68); x_95 = lean_array_push(x_94, x_89); -x_96 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_96 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_97 = lean_array_push(x_95, x_96); x_98 = lean_array_push(x_97, x_74); lean_inc(x_91); @@ -33965,14 +34015,14 @@ x_103 = lean_array_push(x_102, x_57); x_104 = lean_array_push(x_103, x_74); x_105 = lean_array_push(x_104, x_59); x_106 = lean_array_push(x_105, x_101); -x_107 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_107 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_38); lean_ctor_set(x_108, 1, x_107); lean_ctor_set(x_108, 2, x_106); x_109 = lean_array_push(x_35, x_22); x_110 = lean_array_push(x_109, x_108); -x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_112 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_112, 0, x_38); lean_ctor_set(x_112, 1, x_111); @@ -34023,7 +34073,7 @@ x_139 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_139, 0, x_38); lean_ctor_set(x_139, 1, x_8); lean_ctor_set(x_139, 2, x_138); -x_140 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____lambda__1(x_1, x_139, x_2, x_12); +x_140 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1(x_1, x_139, x_2, x_12); lean_dec(x_2); return x_140; } @@ -34081,12 +34131,12 @@ lean_inc(x_144); x_162 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_162, 0, x_144); lean_ctor_set(x_162, 1, x_161); -x_163 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__5; +x_163 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__5; lean_inc(x_146); lean_inc(x_147); x_164 = l_Lean_addMacroScope(x_147, x_163, x_146); -x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__3; -x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__7; +x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__3; +x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__7; lean_inc(x_144); x_167 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_167, 0, x_144); @@ -34163,11 +34213,11 @@ x_201 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_201, 0, x_171); lean_ctor_set(x_201, 1, x_176); lean_ctor_set(x_201, 2, x_200); -x_202 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__3; +x_202 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__3; lean_inc(x_146); lean_inc(x_147); x_203 = l_Lean_addMacroScope(x_147, x_202, x_146); -x_204 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__2; +x_204 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__2; lean_inc(x_144); x_205 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_205, 0, x_144); @@ -34182,10 +34232,10 @@ x_210 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_210, 0, x_171); lean_ctor_set(x_210, 1, x_209); lean_ctor_set(x_210, 2, x_208); -x_211 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__17; +x_211 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; x_212 = l_Lean_addMacroScope(x_147, x_211, x_146); -x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; -x_214 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_214 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_144); x_215 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_215, 0, x_144); @@ -34214,7 +34264,7 @@ x_225 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Ta x_226 = lean_array_push(x_225, x_194); x_227 = lean_array_push(x_226, x_201); x_228 = lean_array_push(x_227, x_222); -x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_230 = lean_array_push(x_228, x_229); x_231 = lean_array_push(x_230, x_207); x_232 = lean_array_push(x_231, x_224); @@ -34228,14 +34278,14 @@ x_236 = lean_array_push(x_235, x_190); x_237 = lean_array_push(x_236, x_207); x_238 = lean_array_push(x_237, x_192); x_239 = lean_array_push(x_238, x_234); -x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_241 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_241, 0, x_171); lean_ctor_set(x_241, 1, x_240); lean_ctor_set(x_241, 2, x_239); x_242 = lean_array_push(x_168, x_155); x_243 = lean_array_push(x_242, x_241); -x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_245 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_245, 0, x_171); lean_ctor_set(x_245, 1, x_244); @@ -34262,7 +34312,7 @@ x_258 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_258, 0, x_171); lean_ctor_set(x_258, 1, x_8); lean_ctor_set(x_258, 2, x_257); -x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____lambda__1(x_1, x_258, x_2, x_145); +x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1(x_1, x_258, x_2, x_145); lean_dec(x_2); return x_259; } @@ -34384,7 +34434,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_20136_(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_20199_(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; @@ -34448,12 +34498,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_18268____closed__5; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____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_18268____closed__3; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__7; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__3; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__7; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -34530,11 +34580,11 @@ x_68 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_68, 0, x_38); lean_ctor_set(x_68, 1, x_43); lean_ctor_set(x_68, 2, x_67); -x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__3; +x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__3; lean_inc(x_13); lean_inc(x_14); x_70 = l_Lean_addMacroScope(x_14, x_69, x_13); -x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__2; +x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__2; lean_inc(x_11); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_11); @@ -34549,12 +34599,12 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_38); 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_15328____closed__17; +x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; 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_15328____closed__16; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -34576,9 +34626,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_15328____closed__14; +x_90 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14; x_91 = l_Lean_addMacroScope(x_14, x_90, x_13); -x_92 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13; +x_92 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13; lean_inc(x_11); x_93 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_93, 0, x_11); @@ -34616,7 +34666,7 @@ x_108 = lean_array_push(x_107, x_61); lean_inc(x_108); x_109 = lean_array_push(x_108, x_68); x_110 = lean_array_push(x_109, x_104); -x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_112 = lean_array_push(x_110, x_111); x_113 = lean_array_push(x_112, x_74); lean_inc(x_106); @@ -34631,14 +34681,14 @@ x_118 = lean_array_push(x_117, x_57); x_119 = lean_array_push(x_118, x_74); x_120 = lean_array_push(x_119, x_59); x_121 = lean_array_push(x_120, x_116); -x_122 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_122 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_123 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_123, 0, x_38); lean_ctor_set(x_123, 1, x_122); lean_ctor_set(x_123, 2, x_121); x_124 = lean_array_push(x_35, x_22); x_125 = lean_array_push(x_124, x_123); -x_126 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_126 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_127 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_127, 0, x_38); lean_ctor_set(x_127, 1, x_126); @@ -34689,7 +34739,7 @@ x_154 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_154, 0, x_38); lean_ctor_set(x_154, 1, x_8); lean_ctor_set(x_154, 2, x_153); -x_155 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____lambda__1(x_1, x_154, x_2, x_12); +x_155 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1(x_1, x_154, x_2, x_12); lean_dec(x_2); return x_155; } @@ -34747,12 +34797,12 @@ lean_inc(x_159); x_177 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_177, 0, x_159); lean_ctor_set(x_177, 1, x_176); -x_178 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__5; +x_178 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__5; lean_inc(x_161); lean_inc(x_162); x_179 = l_Lean_addMacroScope(x_162, x_178, x_161); -x_180 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__3; -x_181 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__7; +x_180 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__3; +x_181 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__7; lean_inc(x_159); x_182 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_182, 0, x_159); @@ -34829,11 +34879,11 @@ x_216 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_216, 0, x_186); lean_ctor_set(x_216, 1, x_191); lean_ctor_set(x_216, 2, x_215); -x_217 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__3; +x_217 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__3; lean_inc(x_161); lean_inc(x_162); x_218 = l_Lean_addMacroScope(x_162, x_217, x_161); -x_219 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__2; +x_219 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__2; lean_inc(x_159); x_220 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_220, 0, x_159); @@ -34848,12 +34898,12 @@ x_225 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_225, 0, x_186); lean_ctor_set(x_225, 1, x_224); lean_ctor_set(x_225, 2, x_223); -x_226 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__17; +x_226 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; lean_inc(x_161); lean_inc(x_162); x_227 = l_Lean_addMacroScope(x_162, x_226, x_161); -x_228 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; -x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_228 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_159); x_230 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_230, 0, x_159); @@ -34875,9 +34925,9 @@ lean_inc(x_159); x_237 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_237, 0, x_159); lean_ctor_set(x_237, 1, x_236); -x_238 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__14; +x_238 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14; x_239 = l_Lean_addMacroScope(x_162, x_238, x_161); -x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13; +x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13; lean_inc(x_159); x_241 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_241, 0, x_159); @@ -34913,7 +34963,7 @@ x_255 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Ta x_256 = lean_array_push(x_255, x_209); x_257 = lean_array_push(x_256, x_216); x_258 = lean_array_push(x_257, x_252); -x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_260 = lean_array_push(x_258, x_259); x_261 = lean_array_push(x_260, x_222); x_262 = lean_array_push(x_261, x_254); @@ -34927,14 +34977,14 @@ x_266 = lean_array_push(x_265, x_205); x_267 = lean_array_push(x_266, x_222); x_268 = lean_array_push(x_267, x_207); x_269 = lean_array_push(x_268, x_264); -x_270 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_270 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_271 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_271, 0, x_186); lean_ctor_set(x_271, 1, x_270); lean_ctor_set(x_271, 2, x_269); x_272 = lean_array_push(x_183, x_170); x_273 = lean_array_push(x_272, x_271); -x_274 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_274 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_275 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_275, 0, x_186); lean_ctor_set(x_275, 1, x_274); @@ -34961,7 +35011,7 @@ x_288 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_288, 0, x_186); lean_ctor_set(x_288, 1, x_8); lean_ctor_set(x_288, 2, x_287); -x_289 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____lambda__1(x_1, x_288, x_2, x_160); +x_289 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1(x_1, x_288, x_2, x_160); lean_dec(x_2); return x_289; } @@ -35097,7 +35147,7 @@ x_1 = l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__10; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -35105,7 +35155,7 @@ x_1 = lean_mk_string_from_bytes("dsimp ", 6); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____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_21241____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; @@ -35113,7 +35163,7 @@ x_5 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tact 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_21178____lambda__1___closed__1; +x_9 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____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; @@ -35132,7 +35182,7 @@ lean_ctor_set(x_19, 1, x_4); return x_19; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__1() { _start: { lean_object* x_1; @@ -35140,22 +35190,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_21178____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__1; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____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_21178____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____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_21178____closed__1; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__2; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____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); @@ -35163,7 +35213,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_21178____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__4() { _start: { lean_object* x_1; @@ -35171,51 +35221,51 @@ 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_21178____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__24; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__4; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____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_21178____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____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_21178____closed__5; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__8; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__5; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____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_21178____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____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_21178____closed__6; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__6; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____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_21178____closed__7; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____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_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178_(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_21241_(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; @@ -35279,12 +35329,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_21178____closed__6; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____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_21178____closed__3; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__8; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__3; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__8; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -35361,11 +35411,11 @@ x_68 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_68, 0, x_38); lean_ctor_set(x_68, 1, x_43); lean_ctor_set(x_68, 2, x_67); -x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__14; +x_69 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14; lean_inc(x_13); lean_inc(x_14); x_70 = l_Lean_addMacroScope(x_14, x_69, x_13); -x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13; +x_71 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13; lean_inc(x_11); x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_11); @@ -35380,10 +35430,10 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_38); 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_15328____closed__17; +x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; x_79 = l_Lean_addMacroScope(x_14, x_78, x_13); -x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -35414,7 +35464,7 @@ x_93 = lean_array_push(x_92, x_61); lean_inc(x_93); x_94 = lean_array_push(x_93, x_68); x_95 = lean_array_push(x_94, x_89); -x_96 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_96 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_97 = lean_array_push(x_95, x_96); x_98 = lean_array_push(x_97, x_74); lean_inc(x_91); @@ -35429,14 +35479,14 @@ x_103 = lean_array_push(x_102, x_57); x_104 = lean_array_push(x_103, x_74); x_105 = lean_array_push(x_104, x_59); x_106 = lean_array_push(x_105, x_101); -x_107 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_107 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_108 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_108, 0, x_38); lean_ctor_set(x_108, 1, x_107); lean_ctor_set(x_108, 2, x_106); x_109 = lean_array_push(x_35, x_22); x_110 = lean_array_push(x_109, x_108); -x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_111 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_112 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_112, 0, x_38); lean_ctor_set(x_112, 1, x_111); @@ -35487,7 +35537,7 @@ x_139 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_139, 0, x_38); lean_ctor_set(x_139, 1, x_8); lean_ctor_set(x_139, 2, x_138); -x_140 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____lambda__1(x_1, x_139, x_2, x_12); +x_140 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____lambda__1(x_1, x_139, x_2, x_12); lean_dec(x_2); return x_140; } @@ -35545,12 +35595,12 @@ lean_inc(x_144); x_162 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_162, 0, x_144); lean_ctor_set(x_162, 1, x_161); -x_163 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__6; +x_163 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__6; lean_inc(x_146); lean_inc(x_147); x_164 = l_Lean_addMacroScope(x_147, x_163, x_146); -x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__3; -x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__8; +x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__3; +x_166 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__8; lean_inc(x_144); x_167 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_167, 0, x_144); @@ -35627,11 +35677,11 @@ x_201 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_201, 0, x_171); lean_ctor_set(x_201, 1, x_176); lean_ctor_set(x_201, 2, x_200); -x_202 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__14; +x_202 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14; lean_inc(x_146); lean_inc(x_147); x_203 = l_Lean_addMacroScope(x_147, x_202, x_146); -x_204 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13; +x_204 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13; lean_inc(x_144); x_205 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_205, 0, x_144); @@ -35646,10 +35696,10 @@ x_210 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_210, 0, x_171); lean_ctor_set(x_210, 1, x_209); lean_ctor_set(x_210, 2, x_208); -x_211 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__17; +x_211 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17; x_212 = l_Lean_addMacroScope(x_147, x_211, x_146); -x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16; -x_214 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19; +x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16; +x_214 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19; lean_inc(x_144); x_215 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_215, 0, x_144); @@ -35678,7 +35728,7 @@ x_225 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Ta x_226 = lean_array_push(x_225, x_194); x_227 = lean_array_push(x_226, x_201); x_228 = lean_array_push(x_227, x_222); -x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20; +x_229 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20; x_230 = lean_array_push(x_228, x_229); x_231 = lean_array_push(x_230, x_207); x_232 = lean_array_push(x_231, x_224); @@ -35692,14 +35742,14 @@ x_236 = lean_array_push(x_235, x_190); x_237 = lean_array_push(x_236, x_207); x_238 = lean_array_push(x_237, x_192); x_239 = lean_array_push(x_238, x_234); -x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2; +x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2; x_241 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_241, 0, x_171); lean_ctor_set(x_241, 1, x_240); lean_ctor_set(x_241, 2, x_239); x_242 = lean_array_push(x_168, x_155); x_243 = lean_array_push(x_242, x_241); -x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1; +x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1; x_245 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_245, 0, x_171); lean_ctor_set(x_245, 1, x_244); @@ -35726,17 +35776,17 @@ x_258 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_258, 0, x_171); lean_ctor_set(x_258, 1, x_8); lean_ctor_set(x_258, 2, x_257); -x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____lambda__1(x_1, x_258, x_2, x_145); +x_259 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____lambda__1(x_1, x_258, x_2, x_145); lean_dec(x_2); return x_259; } } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____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_21241____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_21178____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -36327,54 +36377,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_9937____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__1); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__2); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__3); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__4); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__5); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__6); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__7); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__8); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__9); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__10); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__11); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__12); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__13); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__14); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__15); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__16); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__17(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__17); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__18(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__18); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__19(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__19); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__20(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__20); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__21(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__21); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__22(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__22); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__23(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__23); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__24(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9937____closed__24); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__1); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__2); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__3); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__4); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__5); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__6); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__7); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__8); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__9); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__10); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__11); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__12); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__13); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__14); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__15); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__16); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__17(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__17); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__18(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__18); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__19(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__19); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__20(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__20); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__21(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__21); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__22(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__22); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__23(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__23); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____closed__24(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_9982____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(); @@ -36384,42 +36434,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_10102____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__1); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__2); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__3); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__4); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__5); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__6); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__7); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__8); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__9); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__10); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__11); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__12); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__13); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__14); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__15); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__16); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__17(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__17); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__18(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10102____closed__18); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__1); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__2); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__3); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__4); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__5); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__6); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__7); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__8); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__9); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__10); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__11); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__12); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__13); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__14); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__15); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__16); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__17(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__17); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____closed__18(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_10147____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(); @@ -36440,62 +36490,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_10468____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__1); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__2); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__3); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__4); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__5); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__6); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__7); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__8); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__9); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__10); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__11); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__12); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__13); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__14); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__15); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__16); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__17(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__17); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__18(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__18); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__19(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__19); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__20(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__20); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__21(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__21); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__22(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__22); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__23); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__24(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__24); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__25(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__25); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__26); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__27); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10468____closed__28); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__1); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__2); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__3); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__4); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__5); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__6); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__7); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__8); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__9); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__10); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__11); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__12); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__13); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__14); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__15); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__16); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__17(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__17); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__18(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__18); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__19(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__19); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__20(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__20); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__21(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__21); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__22(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__22); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__23); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__24); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__25(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__25); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__26); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__27); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____closed__28(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_10513____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(); @@ -36527,38 +36577,38 @@ 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_11026____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__1); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__2); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__3); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__4); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__5); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__6); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__7); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__8); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__9); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__10); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__11); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__12); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__13); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__14); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__15); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11026____closed__16); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__1); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__2); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__3); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__4); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__5); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__6); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__7); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__8); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__9); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__10); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__11); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__12); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__13); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__14); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__15); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_11071____closed__16); 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(); @@ -37156,6 +37206,8 @@ l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__co lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__94); l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__95 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__95(); lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__95); +l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__96 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__96(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__commandDeclare__simp__like__tactic____________1___closed__96); l_Lean_Parser_Tactic_simpAutoUnfold___closed__1 = _init_l_Lean_Parser_Tactic_simpAutoUnfold___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_simpAutoUnfold___closed__1); l_Lean_Parser_Tactic_simpAutoUnfold___closed__2 = _init_l_Lean_Parser_Tactic_simpAutoUnfold___closed__2(); @@ -37208,48 +37260,48 @@ l_Lean_Parser_Tactic_simpAutoUnfold___closed__25 = _init_l_Lean_Parser_Tactic_si lean_mark_persistent(l_Lean_Parser_Tactic_simpAutoUnfold___closed__25); 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_15328____lambda__1___closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____lambda__1___closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__2); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__3); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__4); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__5); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__6); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__7); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__8); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__9 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__9); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__10 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__10); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__11 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__11(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__11); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__12 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__12(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__12); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__13); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__14 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__14(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__14); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__15 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__15(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__15); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__16); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__17 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__17(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__17); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__18 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__18(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__18); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__19); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15328____closed__20); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1___closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____lambda__1___closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__2); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__3); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__4); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__5); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__6); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__7); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__8); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__9 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__9); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__10 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__10); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__11 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__11); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__12 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__12(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__12); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__13); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__14); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__15 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__15(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__15); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__16); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__17); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__18 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__18(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__18); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__19); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_15391____closed__20); 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(); @@ -37272,12 +37324,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_16272____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__2); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16272____closed__3); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__2); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16335____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(); @@ -37328,22 +37380,22 @@ 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_18268____lambda__1___closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____lambda__1___closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__2); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__3); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__4); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__5); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__6); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18268____closed__7); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1___closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____lambda__1___closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__2); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__3); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__4); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__5); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__6); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18331____closed__7); 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(); @@ -37406,24 +37458,24 @@ 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_21178____lambda__1___closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____lambda__1___closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__2); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__3); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__4); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__5); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__6); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__7); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21178____closed__8); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____lambda__1___closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____lambda__1___closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__2); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__3); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__4); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__5); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__6); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__7); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21241____closed__8); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/NotationExtra.c b/stage0/stdlib/Init/NotationExtra.c index 799aa22075..ae95b2dcf8 100644 --- a/stage0/stdlib/Init/NotationExtra.c +++ b/stage0/stdlib/Init/NotationExtra.c @@ -2153,7 +2153,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_expandExplicitBindersAux_loop___closed__13; x_2 = l_Lean_expandExplicitBindersAux_loop___closed__14; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_expandExplicitBindersAux_loop___closed__15; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Init/Util.c b/stage0/stdlib/Init/Util.c index 5a9ad948b2..cd89ed1b87 100644 --- a/stage0/stdlib/Init/Util.c +++ b/stage0/stdlib/Init/Util.c @@ -41,6 +41,7 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______ma lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l___aux__Init__Util______macroRules__term_____x5b___x5d___x3f__1___closed__2; +LEAN_EXPORT uint8_t l_ptrEqList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_withPtrEqDecEq___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l___aux__Init__Util______macroRules__term_____x5b___x5d___x3f__1___closed__9; @@ -103,13 +104,18 @@ static lean_object* l_getElem_x21___rarg___closed__4; LEAN_EXPORT lean_object* l_panicWithPos(lean_object*); LEAN_EXPORT lean_object* l_panicWithPosWithDecl(lean_object*); LEAN_EXPORT lean_object* l___aux__Init__Util______macroRules__term_____x5b___x5d___x21__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ptrEqList(lean_object*); +LEAN_EXPORT lean_object* l_ptrEq(lean_object*); LEAN_EXPORT lean_object* l_panicWithPosWithDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ptrEqList___rarg___boxed(lean_object*, lean_object*); lean_object* l_panic___rarg(lean_object*, lean_object*); static lean_object* l___aux__Init__Util______macroRules__term_____x5b___x5d___x3f__1___closed__7; static lean_object* l_term_____x5b___x5d___x3f___closed__19; LEAN_EXPORT lean_object* l_getElem_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl___closed__1; +LEAN_EXPORT uint8_t l_ptrEq___rarg(lean_object*, lean_object*); static lean_object* l_term_____x5b___x5d___x3f___closed__14; +LEAN_EXPORT lean_object* l_ptrEq___rarg___boxed(lean_object*, lean_object*); static lean_object* l_term_____x5b___x5d___x3f___closed__22; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_getElem_x3f(lean_object*, lean_object*, lean_object*, lean_object*); @@ -380,6 +386,106 @@ lean_dec(x_1); return x_4; } } +LEAN_EXPORT uint8_t l_ptrEq___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +size_t x_3; size_t x_4; uint8_t x_5; +x_3 = lean_ptr_addr(x_1); +x_4 = lean_ptr_addr(x_2); +x_5 = lean_usize_dec_eq(x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_ptrEq(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ptrEq___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ptrEq___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_ptrEq___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_ptrEqList___rarg(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; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; uint8_t x_12; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_1, 1); +x_8 = lean_ctor_get(x_2, 0); +x_9 = lean_ctor_get(x_2, 1); +x_10 = lean_ptr_addr(x_6); +x_11 = lean_ptr_addr(x_8); +x_12 = lean_usize_dec_eq(x_10, x_11); +if (x_12 == 0) +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +else +{ +x_1 = x_7; +x_2 = x_9; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_ptrEqList(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ptrEqList___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ptrEqList___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_ptrEqList___rarg(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_withPtrEqUnsafe___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -494,7 +600,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_getElem_x21___rarg___closed__1; x_2 = l_getElem_x21___rarg___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_getElem_x21___rarg___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/IR/Basic.c b/stage0/stdlib/Lean/Compiler/IR/Basic.c index c34a0434f7..16ab2a8556 100644 --- a/stage0/stdlib/Lean/Compiler/IR/Basic.c +++ b/stage0/stdlib/Lean/Compiler/IR/Basic.c @@ -12616,7 +12616,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_Std_Range_forIn_loop___at_Lean_IR_addParamsRename___spec__2___closed__1; x_2 = l_Std_Range_forIn_loop___at_Lean_IR_addParamsRename___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_IR_addParamsRename___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/IR/Borrow.c b/stage0/stdlib/Lean/Compiler/IR/Borrow.c index 0d114aa6de..6e531b45a4 100644 --- a/stage0/stdlib/Lean/Compiler/IR/Borrow.c +++ b/stage0/stdlib/Lean/Compiler/IR/Borrow.c @@ -3380,7 +3380,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_Nat_forM_loop___at_Lean_IR_Borrow_ownArgsUsingParams___spec__2___closed__1; x_2 = l_Nat_forM_loop___at_Lean_IR_Borrow_ownArgsUsingParams___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Nat_forM_loop___at_Lean_IR_Borrow_ownArgsUsingParams___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/IR/Boxing.c b/stage0/stdlib/Lean/Compiler/IR/Boxing.c index 102a3aaec0..f330f9ee6f 100644 --- a/stage0/stdlib/Lean/Compiler/IR/Boxing.c +++ b/stage0/stdlib/Lean/Compiler/IR/Boxing.c @@ -466,7 +466,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_Nat_foldM_loop___at_Lean_IR_ExplicitBoxing_mkBoxedVersionAux___spec__2___closed__1; x_2 = l_Nat_foldM_loop___at_Lean_IR_ExplicitBoxing_mkBoxedVersionAux___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Nat_foldM_loop___at_Lean_IR_ExplicitBoxing_mkBoxedVersionAux___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c b/stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c index 129c6533c1..0484a2b374 100644 --- a/stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c +++ b/stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c @@ -2112,7 +2112,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_Nat_foldAux___at_Lean_IR_UnreachableBranches_Value_merge___spec__2___closed__1; x_2 = l_Nat_foldAux___at_Lean_IR_UnreachableBranches_Value_merge___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Nat_foldAux___at_Lean_IR_UnreachableBranches_Value_merge___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/IR/EmitC.c b/stage0/stdlib/Lean/Compiler/IR/EmitC.c index 746de2504d..9df7f7db7e 100644 --- a/stage0/stdlib/Lean/Compiler/IR/EmitC.c +++ b/stage0/stdlib/Lean/Compiler/IR/EmitC.c @@ -1782,7 +1782,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_Nat_forM_loop___at_Lean_IR_EmitC_emitFnDeclAux___spec__1___lambda__1___closed__1; x_2 = l_Nat_forM_loop___at_Lean_IR_EmitC_emitFnDeclAux___spec__1___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Nat_forM_loop___at_Lean_IR_EmitC_emitFnDeclAux___spec__1___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/IR/ExpandResetReuse.c b/stage0/stdlib/Lean/Compiler/IR/ExpandResetReuse.c index 328ef09533..fdf58a6715 100644 --- a/stage0/stdlib/Lean/Compiler/IR/ExpandResetReuse.c +++ b/stage0/stdlib/Lean/Compiler/IR/ExpandResetReuse.c @@ -989,7 +989,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_IR_ExpandResetReuse_eraseProjIncForAux___closed__1; x_2 = l_Lean_IR_ExpandResetReuse_eraseProjIncForAux___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_IR_ExpandResetReuse_eraseProjIncForAux___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/IR/RC.c b/stage0/stdlib/Lean/Compiler/IR/RC.c index 9f47058712..60066be95e 100644 --- a/stage0/stdlib/Lean/Compiler/IR/RC.c +++ b/stage0/stdlib/Lean/Compiler/IR/RC.c @@ -3513,7 +3513,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_Nat_anyAux___at___private_Lean_Compiler_IR_RC_0__Lean_IR_ExplicitRC_isFirstOcc___spec__3___closed__1; x_2 = l_Nat_anyAux___at___private_Lean_Compiler_IR_RC_0__Lean_IR_ExplicitRC_isFirstOcc___spec__3___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Nat_anyAux___at___private_Lean_Compiler_IR_RC_0__Lean_IR_ExplicitRC_isFirstOcc___spec__3___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/IR/SimpCase.c b/stage0/stdlib/Lean/Compiler/IR/SimpCase.c index de8e3607e8..36f44125a7 100644 --- a/stage0/stdlib/Lean/Compiler/IR/SimpCase.c +++ b/stage0/stdlib/Lean/Compiler/IR/SimpCase.c @@ -261,7 +261,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_Std_Range_forIn_loop___at___private_Lean_Compiler_IR_SimpCase_0__Lean_IR_getOccsOf___spec__2___closed__1; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Compiler_IR_SimpCase_0__Lean_IR_getOccsOf___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Compiler_IR_SimpCase_0__Lean_IR_getOccsOf___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Data/Lsp/Capabilities.c b/stage0/stdlib/Lean/Data/Lsp/Capabilities.c index 653d063a02..a66d5ebc04 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Capabilities.c +++ b/stage0/stdlib/Lean/Data/Lsp/Capabilities.c @@ -41,7 +41,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerCapabilities; LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_399____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__1; static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_594____closed__2; -lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3468_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3532_(lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_workspaceSymbolProvider___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_425____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_hoverProvider___default; @@ -59,7 +59,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_from LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_399____spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_115_(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_723____spec__1___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_ClientCapabilities_textDocument_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities; static lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__1; @@ -1777,7 +1777,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj x_4 = lean_ctor_get(x_2, 0); lean_inc(x_4); lean_dec(x_2); -x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3468_(x_4); +x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3532_(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); @@ -2192,7 +2192,7 @@ return x_4; else { lean_object* x_5; -x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396_(x_3); +x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460_(x_3); lean_dec(x_3); if (lean_obj_tag(x_5) == 0) { diff --git a/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c b/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c index fe51517a44..03cc06bbbb 100644 --- a/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c +++ b/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c @@ -21,6 +21,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionOptions; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentHighlightParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2503____boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2291____closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3135____spec__1(size_t, size_t, lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__11; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__90; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionItemKind(uint8_t); static lean_object* l_Lean_Lsp_instToJsonReferenceContext___closed__1; @@ -29,6 +30,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Ls static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__102; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3135____spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonSemanticTokens___closed__1; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__43; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1715____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonSymbolTag___boxed(lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_900_(lean_object*); @@ -37,21 +39,26 @@ static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__31; lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_SymbolTag_noConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instDecidableEqCompletionItemKind___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__3; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonHoverParams; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3135____closed__3; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__143; static lean_object* l_Lean_Lsp_instToJsonDocumentHighlight___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2915____rarg___closed__3; lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonInsertReplaceEdit; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHoverParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1781_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____spec__2(size_t, size_t, lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_CompletionItemKind_ofNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonSemanticTokensRangeParams; LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionItemKind_ofNat___boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__124; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonReferenceParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2363_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__95; +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_names; +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__6; LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionItemKind_noConfusion___rarg___lambda__1(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__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionItemKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); @@ -63,22 +70,27 @@ static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__26; LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenType_toCtorIdx(uint8_t); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__59; 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_1276____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3761____spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__1; static lean_object* l_Lean_Lsp_instToJsonInsertReplaceEdit___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_noConfusion(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__31; static lean_object* l_Lean_Lsp_instFromJsonHoverParams___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__58; static lean_object* l_Lean_Lsp_instToJsonDefinitionParams___closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__134; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__92; static lean_object* l_Lean_Lsp_instFromJsonSemanticTokensLegend___closed__1; static lean_object* l_Lean_Lsp_instToJsonSemanticTokensRangeParams___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_FoldingRangeKind_toCtorIdx(uint8_t); +static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__150; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__97; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3594____boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__17; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__46; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3896____boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__94; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__8; LEAN_EXPORT uint8_t l_Lean_Lsp_CompletionOptions_resolveProvider___default; @@ -112,10 +124,10 @@ 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_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__1(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_Lsp_SemanticTokenType_names___closed__25; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDeclarationParams; LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionItemKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instReprCompletionItemKind___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3616____boxed(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDefinitionParams; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDefinitionParams; @@ -133,7 +145,7 @@ static lean_object* l_Lean_Lsp_instFromJsonCompletionItem___closed__1; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__37; static lean_object* l_Lean_Lsp_instFromJsonSemanticTokens___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentHighlightParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2558_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3468_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3532_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__40; static lean_object* l_Lean_Lsp_instToJsonDeclarationParams___closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__67; @@ -145,16 +157,23 @@ 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_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__57; 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_1276____spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonTypeDefinitionParams___closed__1; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__29; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__139; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__3; +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__10; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__9; LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenType_names; +static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____closed__2; lean_object* l_List_join___rarg(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__20; static lean_object* l_Lean_Lsp_instToJsonHover___closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__87; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__22; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__44; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionItem; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__33; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonTypeDefinitionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2154_(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDocumentSymbolParams; @@ -168,10 +187,10 @@ 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_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__106; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__24; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDocumentHighlightParams; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__11; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__18; LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2915____spec__1(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__15; -static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2915____at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_115_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1460____closed__2; @@ -179,7 +198,9 @@ static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprC static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__10; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__32; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__37; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396_(lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__19; +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_noConfusion___rarg(uint8_t, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__20; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__30; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__3; @@ -187,32 +208,32 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonFoldingRange; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__71; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__7; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__63; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____boxed(lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__13; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceContext____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2205_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_SymbolKind_toCtorIdx(uint8_t); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__43; -static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____closed__2; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__18; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__36; LEAN_EXPORT lean_object* l_Lean_Lsp_SymbolInformation_containerName_x3f___default; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__76; LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionOptions_triggerCharacters_x3f___default; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__15; 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_3274_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonInsertReplaceEdit____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1105____boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonWorkspaceSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2425____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1682_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__113; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonWorkspaceSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2425____boxed(lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__35; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__30; LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentHighlight____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2644____spec__1___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__5; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1460_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonReferenceContext; -static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____closed__1; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__39; static lean_object* l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__6; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__42; static lean_object* l_Lean_Lsp_instFromJsonInsertReplaceEdit___closed__1; @@ -231,44 +252,47 @@ 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_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2915____rarg___closed__2; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__100; static lean_object* l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__4; +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__4; 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_2291____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__16; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1621_(lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_instInhabitedCompletionItemKind; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__24; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__148; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3530____boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_SymbolTag_toCtorIdx(lean_object*); static 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___closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3761_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852_(lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__24; LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionOptions_allCommitCharacters_x3f___default; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonInsertReplaceEdit; +static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_SymbolInformation_tags___default; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852____spec__1(size_t, size_t, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonFoldingRangeParams___closed__1; +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__9; static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__7; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____spec__2(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__135; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3801_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3896_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenType_noConfusion(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__112; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__114; -static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__26; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__75; static lean_object* l_Lean_Lsp_instFromJsonDefinitionParams___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonFoldingRangeKind(uint8_t); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__82; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3616_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3680_(lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__17; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__11; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDeclarationParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1942_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonReferenceParams; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDefinitionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1993_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__116; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__32; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__34; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__10; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__128; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__68; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonSymbolKind(uint8_t); @@ -277,8 +301,8 @@ lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__L static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__61; static lean_object* l_Lean_Lsp_instToJsonCompletionParams___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2915____spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenType_toNat___boxed(lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__8; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonSemanticTokensOptions; LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_115____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonSemanticTokensLegend___closed__1; @@ -293,8 +317,9 @@ lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage__ static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__12; static lean_object* l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__2; static lean_object* l_Lean_Lsp_instFromJsonWorkspaceSymbolParams___closed__1; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__20; LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1382____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3530_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3594_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__13; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__142; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__41; @@ -303,14 +328,19 @@ 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*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__136; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2915_(lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__15; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonInsertReplaceEdit____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1105____closed__3; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__141; static lean_object* l_Lean_Lsp_instFromJsonTypeDefinitionParams___closed__1; +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__18; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDocumentSymbolAux(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__13; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__41; +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__14; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDefinitionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2048_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_toNat___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2692_(lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentHighlight____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2644_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__5; static lean_object* l_Lean_Lsp_instFromJsonCompletionParams___closed__1; @@ -321,13 +351,17 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenType_noConfusion___rarg(uint8_t static lean_object* l_Lean_Lsp_instInhabitedCompletionItem___closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_SymbolTag_toCtorIdx___boxed(lean_object*); static lean_object* l_Lean_Lsp_instToJsonHoverParams___closed__1; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__41; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDeclarationParams; +static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonSemanticTokensLegend; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3135_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__22; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__13; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__111; LEAN_EXPORT uint8_t l_Lean_Lsp_instDecidableEqCompletionItemKind(uint8_t, uint8_t); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__23; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__23; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__20; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1566_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__110; @@ -335,10 +369,12 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonFoldingRangeParams; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__80; LEAN_EXPORT lean_object* l_Lean_Lsp_FoldingRange_kind_x3f___default; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__6; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____boxed(lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__19; LEAN_EXPORT lean_object* l_Lean_Lsp_FoldingRangeKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____closed__1; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__21; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__107; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__38; LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1382____spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__21; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__38; @@ -347,21 +383,21 @@ size_t lean_usize_of_nat(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1566____closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonReferenceParams; static lean_object* l_Lean_Lsp_instFromJsonSemanticTokensRangeParams___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3671_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3735_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____closed__2; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__48; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionItemKind___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DocumentHighlightKind_noConfusion(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonSemanticTokensOptions___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1566____boxed(lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__34; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__72; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__96; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3801____boxed(lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1472_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__33; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1515_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__25; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3135____closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3761____spec__1(size_t, size_t, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDeclarationParams___closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__93; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__22; @@ -398,6 +434,7 @@ lean_object* l_Lean_JsonNumber_fromNat(lean_object*); lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__120; lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1086____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonFoldingRangeParams___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_FoldingRangeKind_noConfusion(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__43; @@ -406,13 +443,17 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_FoldingRangeKind_noConfusion___rarg___boxed( static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3135____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; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__26; 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*); +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_toNat(uint8_t); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__12; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonInsertReplaceEdit____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1105____closed__2; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__101; lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2007____spec__1(lean_object*, lean_object*); 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_1276____spec__2(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__49; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__12; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__123; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHoverParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1836_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__133; @@ -421,7 +462,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2915____spec__2(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__35; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionOptions; +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_toCtorIdx(uint8_t); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonHover; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__16; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDocumentSymbol_go(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__36; @@ -432,24 +475,30 @@ lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJs LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2915____rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1715____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDocumentHighlightKind(uint8_t); +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__31; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__99; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__19; lean_object* l_Lean_Json_mkObj(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_3797____spec__2___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_257____closed__88; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1515____spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonDocumentHighlightKind___closed__3; +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__56; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__66; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__85; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__117; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__77; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__149; +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionItem_textEdit_x3f___default; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__39; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__36; lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2483_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__11; lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2131____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__30; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__19; static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonReferenceContext____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2243____boxed(lean_object*); @@ -457,57 +506,67 @@ static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprC 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_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____closed__2; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__28; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1382_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__129; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__104; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__14; LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenType_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonFoldingRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_DocumentHighlightKind_noConfusion___rarg___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_257____closed__45; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__47; +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_noConfusion___rarg___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_257____closed__145; static lean_object* l_Lean_Lsp_instToJsonCompletionList___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3329_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3393_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1276____closed__4; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__83; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__35; static lean_object* l_Lean_Lsp_instToJsonDocumentSymbol___closed__1; static lean_object* l_Lean_Lsp_instToJsonSemanticTokensParams___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3680____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionItemKind_toCtorIdx___boxed(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__2; static lean_object* l_Lean_Lsp_SymbolInformation_tags___default___closed__1; static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__3; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__51; static lean_object* l_Lean_Lsp_instToJsonFoldingRangeKind___closed__2; -static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__2; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__15; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__18; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257_(uint8_t, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonSemanticTokensParams___closed__1; static lean_object* l_Lean_Lsp_instFromJsonReferenceContext___closed__1; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__44; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonSemanticTokensOptions; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__151; +static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkspaceSymbolParams; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3839_(lean_object*); +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__37; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3934_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1276____closed__1; lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_940____spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_115____spec__2(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__70; +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_toCtorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonTypeDefinitionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2099_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3568_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3632_(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852____spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDeclarationParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1887____boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1276____closed__2; lean_object* l_Lean_Json_getBool_x3f(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__78; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__91; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__1; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__42; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDocumentHighlight; LEAN_EXPORT lean_object* l_Lean_Lsp_SymbolTag_noConfusion___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonSymbolKind___boxed(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_1382____spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonFoldingRangeKind___closed__3; +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__7; LEAN_EXPORT lean_object* l_Lean_Lsp_FoldingRangeKind_toCtorIdx___boxed(lean_object*); static 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___closed__2; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1715_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1682____closed__2; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__69; @@ -521,6 +580,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_257____closed__65; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__109; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1276____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1682____closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__39; lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_623_(lean_object*); @@ -534,19 +594,23 @@ static lean_object* l_Lean_Lsp_instFromJsonHover___closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__62; 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_3922_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__9; 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_2291____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__40; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__27; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__40; 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_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__28; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__4; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__121; static lean_object* l_Lean_Lsp_instToJsonDocumentSymbolParams___closed__1; +static lean_object* l_Lean_Lsp_SemanticTokenModifier_names___closed__16; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonSemanticTokensRangeParams; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__17; static lean_object* l_Lean_Lsp_instFromJsonReferenceParams___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____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_257____closed__137; static lean_object* l_Lean_Lsp_instToJsonWorkspaceSymbolParams___closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__54; @@ -561,6 +625,7 @@ static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprC LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTypeDefinitionParams; static lean_object* l_Lean_Lsp_instToJsonDocumentHighlightParams___closed__1; static lean_object* l_Lean_Lsp_instFromJsonDocumentSymbolParams___closed__1; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__27; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2291_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__25; LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2915____spec__1___rarg(lean_object*, lean_object*, lean_object*); @@ -574,14 +639,16 @@ static lean_object* l_Lean_Lsp_instToJsonFoldingRangeKind___closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__130; static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionItemKind(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokens_resultId_x3f___default; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__86; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__44; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonWorkspaceSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2425_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__147; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__52; static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__8; -static lean_object* l_Lean_Lsp_instToJsonFoldingRangeKind___closed__6; +static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__45; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonSymbolInformation; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__2; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__140; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_257____closed__118; @@ -9337,12 +9404,126 @@ lean_object* x_4; x_4 = lean_unsigned_to_nat(2u); return x_4; } -default: +case 3: { lean_object* x_5; x_5 = lean_unsigned_to_nat(3u); return x_5; } +case 4: +{ +lean_object* x_6; +x_6 = lean_unsigned_to_nat(4u); +return x_6; +} +case 5: +{ +lean_object* x_7; +x_7 = lean_unsigned_to_nat(5u); +return x_7; +} +case 6: +{ +lean_object* x_8; +x_8 = lean_unsigned_to_nat(6u); +return x_8; +} +case 7: +{ +lean_object* x_9; +x_9 = lean_unsigned_to_nat(7u); +return x_9; +} +case 8: +{ +lean_object* x_10; +x_10 = lean_unsigned_to_nat(8u); +return x_10; +} +case 9: +{ +lean_object* x_11; +x_11 = lean_unsigned_to_nat(9u); +return x_11; +} +case 10: +{ +lean_object* x_12; +x_12 = lean_unsigned_to_nat(10u); +return x_12; +} +case 11: +{ +lean_object* x_13; +x_13 = lean_unsigned_to_nat(11u); +return x_13; +} +case 12: +{ +lean_object* x_14; +x_14 = lean_unsigned_to_nat(12u); +return x_14; +} +case 13: +{ +lean_object* x_15; +x_15 = lean_unsigned_to_nat(13u); +return x_15; +} +case 14: +{ +lean_object* x_16; +x_16 = lean_unsigned_to_nat(14u); +return x_16; +} +case 15: +{ +lean_object* x_17; +x_17 = lean_unsigned_to_nat(15u); +return x_17; +} +case 16: +{ +lean_object* x_18; +x_18 = lean_unsigned_to_nat(16u); +return x_18; +} +case 17: +{ +lean_object* x_19; +x_19 = lean_unsigned_to_nat(17u); +return x_19; +} +case 18: +{ +lean_object* x_20; +x_20 = lean_unsigned_to_nat(18u); +return x_20; +} +case 19: +{ +lean_object* x_21; +x_21 = lean_unsigned_to_nat(19u); +return x_21; +} +case 20: +{ +lean_object* x_22; +x_22 = lean_unsigned_to_nat(20u); +return x_22; +} +case 21: +{ +lean_object* x_23; +x_23 = lean_unsigned_to_nat(21u); +return x_23; +} +default: +{ +lean_object* x_24; +x_24 = lean_unsigned_to_nat(22u); +return x_24; +} } } } @@ -9388,7 +9569,7 @@ static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(4u); +x_1 = lean_unsigned_to_nat(23u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } @@ -9465,17 +9646,377 @@ x_3 = lean_array_push(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("namespace", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__9; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__10; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("type", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__11; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__12; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("class", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__13; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__14; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("enum", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__15; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__16; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("interface", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__17; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__18; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("struct", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__19; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__20; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("typeParameter", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__21; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__22; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("parameter", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__23; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__24; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("enumMember", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__25; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__26; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("event", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__27; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__28; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("method", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__29; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__30; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__32() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("macro", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__31; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__32; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("modifier", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__33; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__34; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__36() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("comment", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__35; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__36; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__38() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("string", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__39() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__37; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__38; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__40() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("number", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__39; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__40; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__42() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("regexp", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__43() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__41; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__42; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__44() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("operator", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__45() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__43; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__44; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__46() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("decorator", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__45; +x_2 = l_Lean_Lsp_SemanticTokenType_names___closed__46; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Lsp_SemanticTokenType_names() { _start: { lean_object* x_1; -x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__9; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__47; return x_1; } } LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenType_toNat(uint8_t x_1) { _start: { +lean_object* x_2; +x_2 = l_Lean_Lsp_SemanticTokenType_toCtorIdx(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenType_toNat___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_SemanticTokenType_toNat(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_toCtorIdx(uint8_t x_1) { +_start: +{ switch (x_1) { case 0: { @@ -9495,26 +10036,297 @@ lean_object* x_4; x_4 = lean_unsigned_to_nat(2u); return x_4; } -default: +case 3: { lean_object* x_5; x_5 = lean_unsigned_to_nat(3u); return x_5; } +case 4: +{ +lean_object* x_6; +x_6 = lean_unsigned_to_nat(4u); +return x_6; +} +case 5: +{ +lean_object* x_7; +x_7 = lean_unsigned_to_nat(5u); +return x_7; +} +case 6: +{ +lean_object* x_8; +x_8 = lean_unsigned_to_nat(6u); +return x_8; +} +case 7: +{ +lean_object* x_9; +x_9 = lean_unsigned_to_nat(7u); +return x_9; +} +case 8: +{ +lean_object* x_10; +x_10 = lean_unsigned_to_nat(8u); +return x_10; +} +default: +{ +lean_object* x_11; +x_11 = lean_unsigned_to_nat(9u); +return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenType_toNat___boxed(lean_object* x_1) { +} +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_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_SemanticTokenType_toNat(x_2); +x_3 = l_Lean_Lsp_SemanticTokenModifier_toCtorIdx(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_noConfusion___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Lsp_CompletionItemKind_noConfusion___rarg___closed__1; +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_noConfusion(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Lsp_SemanticTokenModifier_noConfusion___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_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_SemanticTokenModifier_noConfusion___rarg(x_4, x_5, x_3); +return x_6; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(10u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declaration", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenModifier_names___closed__1; +x_2 = l_Lean_Lsp_SemanticTokenModifier_names___closed__2; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("definition", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenModifier_names___closed__3; +x_2 = l_Lean_Lsp_SemanticTokenModifier_names___closed__4; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("readonly", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenModifier_names___closed__5; +x_2 = l_Lean_Lsp_SemanticTokenModifier_names___closed__6; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("static", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenModifier_names___closed__7; +x_2 = l_Lean_Lsp_SemanticTokenModifier_names___closed__8; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("deprecated", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenModifier_names___closed__9; +x_2 = l_Lean_Lsp_SemanticTokenModifier_names___closed__10; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("abstract", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenModifier_names___closed__11; +x_2 = l_Lean_Lsp_SemanticTokenModifier_names___closed__12; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("async", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenModifier_names___closed__13; +x_2 = l_Lean_Lsp_SemanticTokenModifier_names___closed__14; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("modification", 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenModifier_names___closed__15; +x_2 = l_Lean_Lsp_SemanticTokenModifier_names___closed__16; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenModifier_names___closed__17; +x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1276____closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("defaultLibrary", 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_SemanticTokenModifier_names___closed__18; +x_2 = l_Lean_Lsp_SemanticTokenModifier_names___closed__19; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_SemanticTokenModifier_names() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_SemanticTokenModifier_names___closed__20; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_toNat(uint8_t x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_SemanticTokenType_toCtorIdx(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_toNat___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_SemanticTokenModifier_toNat(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -9548,7 +10360,7 @@ return x_15; } } } -static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__1() { _start: { lean_object* x_1; @@ -9556,7 +10368,7 @@ x_1 = lean_mk_string_from_bytes("tokenTypes", 10); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__2() { +static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__2() { _start: { lean_object* x_1; @@ -9564,12 +10376,12 @@ x_1 = lean_mk_string_from_bytes("tokenModifiers", 14); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____spec__1(x_1, x_2); +x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -9595,8 +10407,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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____spec__1(x_1, x_8); +x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____spec__1(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -9648,21 +10460,21 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274_(x_1); +x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338_(x_1); lean_dec(x_1); return x_2; } @@ -9671,7 +10483,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonSemanticTokensLegend___closed__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____boxed), 1, 0); return x_1; } } @@ -9683,7 +10495,7 @@ x_1 = l_Lean_Lsp_instFromJsonSemanticTokensLegend___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3329_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3393_(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; 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; @@ -9696,7 +10508,7 @@ x_5 = 0; x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_115____spec__2(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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__1; +x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____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); @@ -9713,7 +10525,7 @@ lean_dec(x_13); x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_115____spec__2(x_14, x_5, x_12); x_16 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_16, 0, x_15); -x_17 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__2; +x_17 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__2; x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); @@ -9735,7 +10547,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonSemanticTokensLegend___closed__1( _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3329_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3393_), 1, 0); return x_1; } } @@ -9747,17 +10559,17 @@ x_1 = l_Lean_Lsp_instToJsonSemanticTokensLegend___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274_(x_3); +x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338_(x_3); lean_dec(x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____closed__1() { _start: { lean_object* x_1; @@ -9765,7 +10577,7 @@ x_1 = lean_mk_string_from_bytes("legend", 6); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__2() { +static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____closed__2() { _start: { lean_object* x_1; @@ -9773,12 +10585,12 @@ x_1 = lean_mk_string_from_bytes("full", 4); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____spec__1(x_1, x_2); +x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -9832,7 +10644,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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__2; +x_14 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____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); if (lean_obj_tag(x_15) == 0) { @@ -9897,21 +10709,21 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396_(x_1); +x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460_(x_1); lean_dec(x_1); return x_2; } @@ -9920,7 +10732,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonSemanticTokensOptions___closed_ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____boxed), 1, 0); return x_1; } } @@ -9932,14 +10744,14 @@ x_1 = l_Lean_Lsp_instFromJsonSemanticTokensOptions___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3468_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3532_(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; 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; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3329_(x_2); -x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__1; +x_3 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3393_(x_2); +x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____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); @@ -9961,7 +10773,7 @@ x_13 = lean_ctor_get_uint8(x_1, sizeof(void*)*1 + 1); lean_dec(x_1); x_14 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_14, 0, x_13); -x_15 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__2; +x_15 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____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); @@ -9986,7 +10798,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonSemanticTokensOptions___closed__1 _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3468_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3532_), 1, 0); return x_1; } } @@ -9998,7 +10810,7 @@ x_1 = l_Lean_Lsp_instToJsonSemanticTokensOptions___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3530_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3594_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -10044,11 +10856,11 @@ return x_9; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3530____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3594____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3530_(x_1); +x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3594_(x_1); lean_dec(x_1); return x_2; } @@ -10057,7 +10869,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonSemanticTokensParams___closed__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3530____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3594____boxed), 1, 0); return x_1; } } @@ -10069,7 +10881,7 @@ x_1 = l_Lean_Lsp_instFromJsonSemanticTokensParams___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3568_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3632_(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; @@ -10094,7 +10906,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonSemanticTokensParams___closed__1( _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3568_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3632_), 1, 0); return x_1; } } @@ -10106,7 +10918,7 @@ x_1 = l_Lean_Lsp_instToJsonSemanticTokensParams___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3616_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3680_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -10190,11 +11002,11 @@ return x_18; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3616____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3680____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3616_(x_1); +x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3680_(x_1); lean_dec(x_1); return x_2; } @@ -10203,7 +11015,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonSemanticTokensRangeParams___clo _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3616____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3680____boxed), 1, 0); return x_1; } } @@ -10215,7 +11027,7 @@ x_1 = l_Lean_Lsp_instFromJsonSemanticTokensRangeParams___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3671_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3735_(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; @@ -10256,7 +11068,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonSemanticTokensRangeParams___close _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3671_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3735_), 1, 0); return x_1; } } @@ -10268,7 +11080,15 @@ x_1 = l_Lean_Lsp_instToJsonSemanticTokensRangeParams___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { +static lean_object* _init_l_Lean_Lsp_SemanticTokens_resultId_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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -10324,7 +11144,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -10341,7 +11161,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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____spec__2(x_6, x_7, x_4); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____spec__2(x_6, x_7, x_4); return x_8; } else @@ -10360,7 +11180,15 @@ return x_15; } } } -static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("resultId", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____closed__2() { _start: { lean_object* x_1; @@ -10368,15 +11196,16 @@ x_1 = lean_mk_string_from_bytes("data", 4); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797_(lean_object* x_1) { _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_3723____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____spec__1(x_1, x_2); +x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____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_2161____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) { @@ -10395,26 +11224,64 @@ return x_6; } else { -uint8_t x_7; -x_7 = !lean_is_exclusive(x_3); -if (x_7 == 0) +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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) { -return x_3; +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_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); +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(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; } +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_ctor_set(x_18, 0, x_17); +return x_18; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____spec__2___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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____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; @@ -10422,7 +11289,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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____spec__2(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____spec__2(x_4, x_5, x_3); return x_6; } } @@ -10430,7 +11297,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonSemanticTokens___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797_), 1, 0); return x_1; } } @@ -10442,7 +11309,7 @@ x_1 = l_Lean_Lsp_instFromJsonSemanticTokens___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3761____spec__1(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_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852____spec__1(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -10469,34 +11336,45 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3761_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852_(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_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +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_3797____closed__1; +x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2131____spec__1(x_3, x_2); lean_dec(x_2); -x_4 = 0; -x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3761____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_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____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; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +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_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852____spec__1(x_7, x_8, x_5); +x_10 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____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_box(0); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +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(1, 2, 0); +lean_ctor_set(x_16, 0, x_4); +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_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3761____spec__1___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_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852____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; @@ -10504,7 +11382,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_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3761____spec__1(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852____spec__1(x_4, x_5, x_3); return x_6; } } @@ -10512,7 +11390,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonSemanticTokens___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3761_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852_), 1, 0); return x_1; } } @@ -10524,7 +11402,7 @@ x_1 = l_Lean_Lsp_instToJsonSemanticTokens___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3801_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3896_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -10570,11 +11448,11 @@ return x_9; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3801____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3896____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3801_(x_1); +x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3896_(x_1); lean_dec(x_1); return x_2; } @@ -10583,7 +11461,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonFoldingRangeParams___closed__1( _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3801____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3896____boxed), 1, 0); return x_1; } } @@ -10595,7 +11473,7 @@ x_1 = l_Lean_Lsp_instFromJsonFoldingRangeParams___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3839_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3934_(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; @@ -10620,7 +11498,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonFoldingRangeParams___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3839_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3934_), 1, 0); return x_1; } } @@ -10698,22 +11576,14 @@ return x_6; static lean_object* _init_l_Lean_Lsp_instToJsonFoldingRangeKind___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("comment", 7); -return x_1; -} -} -static lean_object* _init_l_Lean_Lsp_instToJsonFoldingRangeKind___closed__2() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__1; +x_1 = l_Lean_Lsp_SemanticTokenType_names___closed__36; 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_instToJsonFoldingRangeKind___closed__3() { +static lean_object* _init_l_Lean_Lsp_instToJsonFoldingRangeKind___closed__2() { _start: { lean_object* x_1; @@ -10721,17 +11591,17 @@ x_1 = lean_mk_string_from_bytes("imports", 7); return x_1; } } -static lean_object* _init_l_Lean_Lsp_instToJsonFoldingRangeKind___closed__4() { +static lean_object* _init_l_Lean_Lsp_instToJsonFoldingRangeKind___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__3; +x_1 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__2; 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_instToJsonFoldingRangeKind___closed__5() { +static lean_object* _init_l_Lean_Lsp_instToJsonFoldingRangeKind___closed__4() { _start: { lean_object* x_1; @@ -10739,11 +11609,11 @@ x_1 = lean_mk_string_from_bytes("region", 6); return x_1; } } -static lean_object* _init_l_Lean_Lsp_instToJsonFoldingRangeKind___closed__6() { +static lean_object* _init_l_Lean_Lsp_instToJsonFoldingRangeKind___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__5; +x_1 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__4; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -10756,19 +11626,19 @@ switch (x_1) { case 0: { lean_object* x_2; -x_2 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__2; +x_2 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__1; return x_2; } case 1: { lean_object* x_3; -x_3 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__4; +x_3 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__3; return x_3; } default: { lean_object* x_4; -x_4 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__6; +x_4 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__5; return x_4; } } @@ -10792,7 +11662,7 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -10812,7 +11682,7 @@ switch (x_6) { case 0: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__2; +x_7 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__1; x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_1); lean_ctor_set(x_8, 1, x_7); @@ -10824,7 +11694,7 @@ return x_9; case 1: { lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__4; +x_10 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__3; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_1); lean_ctor_set(x_11, 1, x_10); @@ -10836,7 +11706,7 @@ return x_12; default: { lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__6; +x_13 = l_Lean_Lsp_instToJsonFoldingRangeKind___closed__5; x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_1); lean_ctor_set(x_14, 1, x_13); @@ -10849,7 +11719,7 @@ return x_15; } } } -static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____closed__1() { _start: { lean_object* x_1; @@ -10857,7 +11727,7 @@ x_1 = lean_mk_string_from_bytes("startLine", 9); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____closed__2() { +static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____closed__2() { _start: { lean_object* x_1; @@ -10865,7 +11735,7 @@ x_1 = lean_mk_string_from_bytes("endLine", 7); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017_(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; @@ -10874,7 +11744,7 @@ lean_inc(x_2); x_3 = l_Lean_JsonNumber_fromNat(x_2); x_4 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_4, 0, x_3); -x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____closed__1; +x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____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); @@ -10887,7 +11757,7 @@ lean_inc(x_9); x_10 = l_Lean_JsonNumber_fromNat(x_9); x_11 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_11, 0, x_10); -x_12 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____closed__2; +x_12 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____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); @@ -10898,7 +11768,7 @@ x_15 = lean_ctor_get(x_1, 2); lean_inc(x_15); lean_dec(x_1); x_16 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1276____closed__4; -x_17 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____spec__1(x_16, x_15); +x_17 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____spec__1(x_16, x_15); lean_dec(x_15); x_18 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_18, 0, x_17); @@ -10914,11 +11784,11 @@ x_22 = l_Lean_Json_mkObj(x_21); return x_22; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____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_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____spec__1(x_1, x_2); +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____spec__1(x_1, x_2); lean_dec(x_2); return x_3; } @@ -10927,7 +11797,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonFoldingRange___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017_), 1, 0); return x_1; } } @@ -11604,12 +12474,130 @@ l_Lean_Lsp_SemanticTokenType_names___closed__8 = _init_l_Lean_Lsp_SemanticTokenT lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__8); l_Lean_Lsp_SemanticTokenType_names___closed__9 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__9(); lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__9); +l_Lean_Lsp_SemanticTokenType_names___closed__10 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__10(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__10); +l_Lean_Lsp_SemanticTokenType_names___closed__11 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__11(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__11); +l_Lean_Lsp_SemanticTokenType_names___closed__12 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__12(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__12); +l_Lean_Lsp_SemanticTokenType_names___closed__13 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__13(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__13); +l_Lean_Lsp_SemanticTokenType_names___closed__14 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__14(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__14); +l_Lean_Lsp_SemanticTokenType_names___closed__15 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__15(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__15); +l_Lean_Lsp_SemanticTokenType_names___closed__16 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__16(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__16); +l_Lean_Lsp_SemanticTokenType_names___closed__17 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__17(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__17); +l_Lean_Lsp_SemanticTokenType_names___closed__18 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__18(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__18); +l_Lean_Lsp_SemanticTokenType_names___closed__19 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__19(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__19); +l_Lean_Lsp_SemanticTokenType_names___closed__20 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__20(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__20); +l_Lean_Lsp_SemanticTokenType_names___closed__21 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__21(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__21); +l_Lean_Lsp_SemanticTokenType_names___closed__22 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__22(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__22); +l_Lean_Lsp_SemanticTokenType_names___closed__23 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__23(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__23); +l_Lean_Lsp_SemanticTokenType_names___closed__24 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__24(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__24); +l_Lean_Lsp_SemanticTokenType_names___closed__25 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__25(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__25); +l_Lean_Lsp_SemanticTokenType_names___closed__26 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__26(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__26); +l_Lean_Lsp_SemanticTokenType_names___closed__27 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__27(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__27); +l_Lean_Lsp_SemanticTokenType_names___closed__28 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__28(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__28); +l_Lean_Lsp_SemanticTokenType_names___closed__29 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__29(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__29); +l_Lean_Lsp_SemanticTokenType_names___closed__30 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__30(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__30); +l_Lean_Lsp_SemanticTokenType_names___closed__31 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__31(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__31); +l_Lean_Lsp_SemanticTokenType_names___closed__32 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__32(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__32); +l_Lean_Lsp_SemanticTokenType_names___closed__33 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__33(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__33); +l_Lean_Lsp_SemanticTokenType_names___closed__34 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__34(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__34); +l_Lean_Lsp_SemanticTokenType_names___closed__35 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__35(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__35); +l_Lean_Lsp_SemanticTokenType_names___closed__36 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__36(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__36); +l_Lean_Lsp_SemanticTokenType_names___closed__37 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__37(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__37); +l_Lean_Lsp_SemanticTokenType_names___closed__38 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__38(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__38); +l_Lean_Lsp_SemanticTokenType_names___closed__39 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__39(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__39); +l_Lean_Lsp_SemanticTokenType_names___closed__40 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__40(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__40); +l_Lean_Lsp_SemanticTokenType_names___closed__41 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__41(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__41); +l_Lean_Lsp_SemanticTokenType_names___closed__42 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__42(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__42); +l_Lean_Lsp_SemanticTokenType_names___closed__43 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__43(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__43); +l_Lean_Lsp_SemanticTokenType_names___closed__44 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__44(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__44); +l_Lean_Lsp_SemanticTokenType_names___closed__45 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__45(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__45); +l_Lean_Lsp_SemanticTokenType_names___closed__46 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__46(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__46); +l_Lean_Lsp_SemanticTokenType_names___closed__47 = _init_l_Lean_Lsp_SemanticTokenType_names___closed__47(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names___closed__47); l_Lean_Lsp_SemanticTokenType_names = _init_l_Lean_Lsp_SemanticTokenType_names(); lean_mark_persistent(l_Lean_Lsp_SemanticTokenType_names); -l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__1 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__1); -l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__2 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3274____closed__2); +l_Lean_Lsp_SemanticTokenModifier_names___closed__1 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__1(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__1); +l_Lean_Lsp_SemanticTokenModifier_names___closed__2 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__2(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__2); +l_Lean_Lsp_SemanticTokenModifier_names___closed__3 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__3(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__3); +l_Lean_Lsp_SemanticTokenModifier_names___closed__4 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__4(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__4); +l_Lean_Lsp_SemanticTokenModifier_names___closed__5 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__5(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__5); +l_Lean_Lsp_SemanticTokenModifier_names___closed__6 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__6(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__6); +l_Lean_Lsp_SemanticTokenModifier_names___closed__7 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__7(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__7); +l_Lean_Lsp_SemanticTokenModifier_names___closed__8 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__8(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__8); +l_Lean_Lsp_SemanticTokenModifier_names___closed__9 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__9(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__9); +l_Lean_Lsp_SemanticTokenModifier_names___closed__10 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__10(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__10); +l_Lean_Lsp_SemanticTokenModifier_names___closed__11 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__11(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__11); +l_Lean_Lsp_SemanticTokenModifier_names___closed__12 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__12(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__12); +l_Lean_Lsp_SemanticTokenModifier_names___closed__13 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__13(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__13); +l_Lean_Lsp_SemanticTokenModifier_names___closed__14 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__14(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__14); +l_Lean_Lsp_SemanticTokenModifier_names___closed__15 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__15(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__15); +l_Lean_Lsp_SemanticTokenModifier_names___closed__16 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__16(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__16); +l_Lean_Lsp_SemanticTokenModifier_names___closed__17 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__17(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__17); +l_Lean_Lsp_SemanticTokenModifier_names___closed__18 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__18(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__18); +l_Lean_Lsp_SemanticTokenModifier_names___closed__19 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__19(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__19); +l_Lean_Lsp_SemanticTokenModifier_names___closed__20 = _init_l_Lean_Lsp_SemanticTokenModifier_names___closed__20(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names___closed__20); +l_Lean_Lsp_SemanticTokenModifier_names = _init_l_Lean_Lsp_SemanticTokenModifier_names(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokenModifier_names); +l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__1 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__1); +l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__2 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3338____closed__2); l_Lean_Lsp_instFromJsonSemanticTokensLegend___closed__1 = _init_l_Lean_Lsp_instFromJsonSemanticTokensLegend___closed__1(); lean_mark_persistent(l_Lean_Lsp_instFromJsonSemanticTokensLegend___closed__1); l_Lean_Lsp_instFromJsonSemanticTokensLegend = _init_l_Lean_Lsp_instFromJsonSemanticTokensLegend(); @@ -11618,10 +12606,10 @@ l_Lean_Lsp_instToJsonSemanticTokensLegend___closed__1 = _init_l_Lean_Lsp_instToJ lean_mark_persistent(l_Lean_Lsp_instToJsonSemanticTokensLegend___closed__1); l_Lean_Lsp_instToJsonSemanticTokensLegend = _init_l_Lean_Lsp_instToJsonSemanticTokensLegend(); lean_mark_persistent(l_Lean_Lsp_instToJsonSemanticTokensLegend); -l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__1 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__1); -l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__2 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3396____closed__2); +l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____closed__1 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____closed__1); +l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____closed__2 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460____closed__2); l_Lean_Lsp_instFromJsonSemanticTokensOptions___closed__1 = _init_l_Lean_Lsp_instFromJsonSemanticTokensOptions___closed__1(); lean_mark_persistent(l_Lean_Lsp_instFromJsonSemanticTokensOptions___closed__1); l_Lean_Lsp_instFromJsonSemanticTokensOptions = _init_l_Lean_Lsp_instFromJsonSemanticTokensOptions(); @@ -11646,8 +12634,12 @@ l_Lean_Lsp_instToJsonSemanticTokensRangeParams___closed__1 = _init_l_Lean_Lsp_in lean_mark_persistent(l_Lean_Lsp_instToJsonSemanticTokensRangeParams___closed__1); l_Lean_Lsp_instToJsonSemanticTokensRangeParams = _init_l_Lean_Lsp_instToJsonSemanticTokensRangeParams(); lean_mark_persistent(l_Lean_Lsp_instToJsonSemanticTokensRangeParams); -l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____closed__1 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3723____closed__1); +l_Lean_Lsp_SemanticTokens_resultId_x3f___default = _init_l_Lean_Lsp_SemanticTokens_resultId_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_SemanticTokens_resultId_x3f___default); +l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____closed__1 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____closed__1); +l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____closed__2 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3797____closed__2); l_Lean_Lsp_instFromJsonSemanticTokens___closed__1 = _init_l_Lean_Lsp_instFromJsonSemanticTokens___closed__1(); lean_mark_persistent(l_Lean_Lsp_instFromJsonSemanticTokens___closed__1); l_Lean_Lsp_instFromJsonSemanticTokens = _init_l_Lean_Lsp_instFromJsonSemanticTokens(); @@ -11674,14 +12666,12 @@ l_Lean_Lsp_instToJsonFoldingRangeKind___closed__4 = _init_l_Lean_Lsp_instToJsonF lean_mark_persistent(l_Lean_Lsp_instToJsonFoldingRangeKind___closed__4); l_Lean_Lsp_instToJsonFoldingRangeKind___closed__5 = _init_l_Lean_Lsp_instToJsonFoldingRangeKind___closed__5(); lean_mark_persistent(l_Lean_Lsp_instToJsonFoldingRangeKind___closed__5); -l_Lean_Lsp_instToJsonFoldingRangeKind___closed__6 = _init_l_Lean_Lsp_instToJsonFoldingRangeKind___closed__6(); -lean_mark_persistent(l_Lean_Lsp_instToJsonFoldingRangeKind___closed__6); l_Lean_Lsp_FoldingRange_kind_x3f___default = _init_l_Lean_Lsp_FoldingRange_kind_x3f___default(); lean_mark_persistent(l_Lean_Lsp_FoldingRange_kind_x3f___default); -l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____closed__1 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____closed__1); -l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____closed__2 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922____closed__2); +l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____closed__1 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____closed__1); +l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____closed__2 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017____closed__2); l_Lean_Lsp_instToJsonFoldingRange___closed__1 = _init_l_Lean_Lsp_instToJsonFoldingRange___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonFoldingRange___closed__1); l_Lean_Lsp_instToJsonFoldingRange = _init_l_Lean_Lsp_instToJsonFoldingRange(); diff --git a/stage0/stdlib/Lean/Data/Position.c b/stage0/stdlib/Lean/Data/Position.c index 08288e237e..bb7bf686ea 100644 --- a/stage0/stdlib/Lean/Data/Position.c +++ b/stage0/stdlib/Lean/Data/Position.c @@ -922,7 +922,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_FileMap_toPosition_loop___closed__1; x_2 = l_Lean_FileMap_toPosition_loop___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_FileMap_toPosition_loop___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index fe9c74fd66..53aa8a45fe 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -14042,7 +14042,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_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__51___closed__3; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__51___closed__4; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__51___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index e468e4eb89..90d1816d28 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -7236,7 +7236,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Term_elabBinder___rarg___lambda__1___closed__1; x_2 = l_Lean_Elab_Term_elabBinder___rarg___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Elab_Term_elabBinder___rarg___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/BuiltinCommand.c b/stage0/stdlib/Lean/Elab/BuiltinCommand.c index 7853302680..9a495d153e 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinCommand.c +++ b/stage0/stdlib/Lean/Elab/BuiltinCommand.c @@ -6866,7 +6866,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_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__3___lambda__1___closed__3; x_2 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__3___lambda__1___closed__4; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__3___lambda__1___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 7ed7130b43..6a3190ffa2 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -1545,7 +1545,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_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___spec__3___closed__1; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___spec__3___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___spec__3___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/BuiltinTerm.c b/stage0/stdlib/Lean/Elab/BuiltinTerm.c index 5bcb8cce94..25acdfc616 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinTerm.c +++ b/stage0/stdlib/Lean/Elab/BuiltinTerm.c @@ -13346,7 +13346,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_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__22___lambda__1___closed__3; x_2 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__22___lambda__1___closed__4; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__22___lambda__1___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/ComputedFields.c b/stage0/stdlib/Lean/Elab/ComputedFields.c index ad93325527..60704186dc 100644 --- a/stage0/stdlib/Lean/Elab/ComputedFields.c +++ b/stage0/stdlib/Lean/Elab/ComputedFields.c @@ -6512,7 +6512,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_ComputedFields_overrideCasesOn___lambda__3___closed__3; x_2 = l_Lean_Elab_ComputedFields_overrideCasesOn___lambda__3___closed__4; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Elab_ComputedFields_overrideCasesOn___lambda__3___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index c0be7cfbb8..16a9670d6b 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -17,17 +17,13 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize_declRange_ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabDeclaration(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize(lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__10; static lean_object* l_Lean_Elab_Command_getTerminationHints___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize_declRange___closed__5; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__4; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__20; lean_object* l_Lean_extractMacroScopes(lean_object*); static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__9; size_t lean_usize_add(size_t, size_t); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*); @@ -43,10 +39,11 @@ lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Elab_Command_elabAxiom___lambda__5___closed__6; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration_declRange___closed__4; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__43; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble___closed__1; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__26; +lean_object* l_Lean_Syntax_getHeadInfo_x3f(lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabDeclaration___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -55,15 +52,12 @@ static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expan LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabDeclaration___spec__5___rarg(lean_object*); lean_object* l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__8; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__7; lean_object* l_Lean_Elab_Command_elabMutualDef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isPartial(lean_object*); lean_object* l_Lean_logAt___at_Lean_Elab_Command_runLinters___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__1; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__2___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__4; uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -71,13 +65,17 @@ static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Le static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__2; lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Command_elabAxiom___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___closed__7; uint8_t l_Lean_Elab_Modifiers_isProtected(lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__11; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize_declRange___closed__3; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__9; 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*); 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; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement___closed__2; lean_object* l_Lean_Syntax_getIdAt(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_commandElabAttribute; @@ -90,19 +88,20 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___priva static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2; static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble_declRange___closed__2; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__20; static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize_declRange___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___closed__1; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__16; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__31; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___lambda__1___closed__3; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__2; +static lean_object* l_Lean_Elab_Command_expandInitialize___closed__5; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__39; lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Attribute_erase(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual_declRange___closed__2; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfInstance___spec__11(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__12; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__19; LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_splitMutualPreamble(lean_object*); @@ -114,7 +113,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration_declRange__ 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*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__14; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; 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*); @@ -123,7 +121,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration(lean_o LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabDeclaration___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement___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___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__7; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabAxiom___lambda__5___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclIdNamespace_x3f(lean_object*, lean_object*, lean_object*); @@ -139,6 +136,7 @@ uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getTerminationHints(lean_object*); static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__25; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__27; static lean_object* l_Lean_Elab_Command_elabAxiom___lambda__5___closed__1; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__4; lean_object* l_Std_mkHashSetImp___rarg(lean_object*); @@ -149,6 +147,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual(lean_object static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__9; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__36; lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -156,6 +155,8 @@ static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMut uint8_t lean_usize_dec_lt(size_t, size_t); lean_object* l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__1; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__10; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__35; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAxiom___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*); @@ -164,12 +165,10 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declara extern lean_object* l_Lean_levelZero; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabDeclaration___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAxiom___lambda__6___boxed(lean_object**); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize_declRange___closed__6; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual_declRange___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_classInductiveSyntaxToView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabDeclaration___spec__4___closed__2; @@ -181,25 +180,29 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAtt static lean_object* l_Lean_Elab_Command_elabAxiom___lambda__5___closed__7; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; static lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__1___closed__2; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__3; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__16; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__22; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__19; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabDeclaration___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Command_elabAxiom___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__12; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualDef___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__3; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1___closed__2; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__20; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26; +static lean_object* l_Lean_Elab_Command_expandInitialize___closed__6; static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__5; uint8_t l_Lean_isExtern(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__5; @@ -208,90 +211,80 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declara lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabDeclaration___spec__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__10; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__19; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace_declRange(lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__32; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabDeclaration___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMutualNamespace___closed__1; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__1; lean_object* l_Lean_Elab_Command_expandDeclId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualInductive___spec__1(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration_declRange___closed__6; lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__36; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__12; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble_declRange___closed__1; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__27; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__45; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__7; lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabInductiveViews(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr___closed__3; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___closed__4; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___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*); +static lean_object* l_Lean_Elab_Command_expandInitialize___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabDeclaration___spec__5(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__6; LEAN_EXPORT uint8_t l_Lean_Elab_Command_elabAxiom___lambda__1(lean_object*); static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__24; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__8; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___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_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___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___private_Lean_Elab_Declaration_0__Lean_Elab_Command_ensureValidNamespace(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__6; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__10; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___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___regBuiltin_Lean_Elab_Command_expandMutualElement_declRange(lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_getTerminationHints___boxed(lean_object*); lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__12; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__16; lean_object* l_Lean_Syntax_getId(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabClassInductive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_x27___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_Command_expandInitCmd___lambda__1___closed__35; lean_object* l_Lean_Expr_sort___override(lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___closed__1; lean_object* l_Lean_addBuiltinDeclarationRanges(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_Lean_Elab_Command_expandInitCmd___lambda__1___closed__39; lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__5; lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__3; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1___closed__3; static lean_object* l_Lean_Elab_Command_elabMutual___closed__4; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__29; LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__10; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__2; static lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace_declRange___closed__7; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__21; static lean_object* l_Lean_Elab_Command_expandMutualElement___closed__1; static lean_object* l_Lean_Elab_Command_expandMutualPreamble___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutual___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Command_isDefLike(lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__13; static lean_object* l_Lean_Elab_Command_expandMutualPreamble___closed__3; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__41; static lean_object* l_Lean_Elab_Command_elabClassInductive___closed__3; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__25; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabDeclaration___spec__5___rarg___closed__1; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__13; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclIdNamespace_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__3; @@ -301,10 +294,12 @@ lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, le static lean_object* l_Lean_Elab_Command_elabMutual___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___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___regBuiltin_Lean_Elab_Command_elabDeclaration_declRange___closed__3; +static lean_object* l_Lean_Elab_Command_expandInitialize___closed__4; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__20; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr___closed__4; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__30; lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabMutualDef_processDeriving___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_Command_expandInitialize___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabAttr___closed__1; static lean_object* l_Lean_Elab_Command_elabAxiom___lambda__5___closed__4; size_t lean_usize_of_nat(lean_object*); @@ -313,30 +308,29 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAxiom___lambda__1___boxed(lean_ lean_object* l_Lean_Elab_expandDeclIdCore(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAttr___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualDef(lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__14; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualElement___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand(lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__4; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__44; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__23; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__4; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandMutualPreamble(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__28; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__21; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabClassInductive___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble_declRange___closed__7; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__33; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabDeclaration___spec__5___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandMutualElement(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabClassInductive___closed__1; lean_object* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabDeclaration___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement(lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_ensureValidNamespace___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAxiom___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__22; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__13; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabDeclaration___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -344,13 +338,12 @@ static lean_object* l_Lean_Elab_Command_expandMutualPreamble___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___boxed(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_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__2(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); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitCmd(uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___closed__1; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement_declRange___closed__2; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__42; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble___closed__3; lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__6; @@ -358,14 +351,12 @@ lean_object* l_Lean_Syntax_getSepArgs(lean_object*); uint8_t l_Lean_isAttribute(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabAxiom___lambda__7___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize_declRange(lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__18; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement_declRange___closed__1; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__4; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__1; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__46; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__12; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__11; static lean_object* l_Lean_Elab_Command_elabAxiom___lambda__5___closed__10; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__15; extern lean_object* l_Lean_Elab_macroAttribute; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__2; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); @@ -373,46 +364,42 @@ lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg(lean_object*, lean_ob lean_object* lean_environment_main_module(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabDeclaration___spec__5___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutual(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_elabMutualInductive(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__25; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6; lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__5; lean_object* l_panic___at_Lean_expandExplicitBindersAux_loop___spec__1(lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__17; LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29; LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclIdNamespace_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual_declRange___closed__4; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__3; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__7; lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabInductive___closed__1; lean_object* l_Lean_Syntax_getKind(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAxiom___lambda__7___boxed(lean_object**); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace_declRange___closed__1; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___closed__5; lean_object* l_Lean_Elab_Term_applyAttributes(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_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__26; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclIdNamespace_x3f___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration_declRange(lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__24; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement_declRange___closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace_declRange___closed__2; static lean_object* l_Lean_Elab_Command_getTerminationHints___closed__5; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__2; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__48; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAxiom___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1___closed__3; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -422,21 +409,18 @@ lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object* lean_object* l_Lean_Elab_Command_elabStructure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___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_Declaration_0__Lean_Elab_Command_ensureValidNamespace___closed__4; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__13; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__37; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutual___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMutual___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabDeclaration___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___lambda__1___closed__2; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__3; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__22; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_splitMutualPreamble_loop(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__5; lean_object* l_Lean_Elab_expandDeclSig(lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__33; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___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_Elab_Command_elabAxiom___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -444,28 +428,27 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___s LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualDef___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setInfo(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__14; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr_declRange___closed__4; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__17; static lean_object* l_Lean_Elab_Command_elabMutual___lambda__2___closed__2; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__15; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___closed__1; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__18; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_ensureValidNamespace___closed__2; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__18; uint8_t l_Lean_Syntax_isNone(lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__5; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__18; static lean_object* l_Lean_Elab_Command_getTerminationHints___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Declaration___hyg_7118_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Declaration___hyg_7296_(lean_object*); static lean_object* l_Lean_Elab_Command_getTerminationHints___closed__4; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__4; lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__28; LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__40; LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__8; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__4(size_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMutual___lambda__2___closed__1; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__6; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__9; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___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_EXPORT lean_object* l_Lean_Elab_Command_expandMutualNamespace(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -476,10 +459,15 @@ static lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble_declRange___closed__3; lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__38; lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__21; lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__2; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___boxed(lean_object**); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration_declRange___closed__2; extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; @@ -488,12 +476,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_ uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object*); static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__5; static size_t l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___closed__2; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble_declRange___closed__6; lean_object* lean_mk_syntax_ident(lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__8; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__3; static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -504,73 +489,65 @@ static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expan static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__4; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___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_Command_elabMutual___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__3; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAxiom___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_Elab_Command_elabAttr___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_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___spec__2___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_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__30; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_ensureValidNamespace___closed__1; lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange(lean_object*); +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__34; lean_object* l_Lean_Core_resetMessageLog(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___closed__1; static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace_declRange___closed__5; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__13; lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49; static lean_object* l_Lean_Elab_Command_elabAxiom___lambda__5___closed__9; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__41; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabDeclaration___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr_declRange___closed__5; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualDef___spec__1(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAttr(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualInductive___spec__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__24; static lean_object* l_Lean_Elab_Command_elabAxiom___lambda__5___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAttr___spec__2___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_Command_elabDeclaration___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_ensureValidNamespace___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement_declRange___closed__4; lean_object* l_Lean_Elab_getDeclarationSelectionRef(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualInductive(lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__16; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__4; lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr_declRange___closed__3; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__23; static lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual_declRange___closed__3; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__8; static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble_declRange___closed__4; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__6; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__4; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__3; lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__15; static lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual___closed__1; -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__42; +uint8_t l_Lean_Syntax_isToken(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53; +static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4___closed__11; lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___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_Command_expandMutualPreamble_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutual___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__1; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__9; static lean_object* l_Lean_Elab_Command_getTerminationHints___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabDeclaration___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitCmd___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__2___closed__2; -static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__5; static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__4(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandBuiltinInitialize(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__6; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual___closed__2; @@ -6067,7 +6044,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Command_getTerminationHints___closed__1; x_2 = l_Lean_Elab_Command_getTerminationHints___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Elab_Command_getTerminationHints___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -7475,7 +7452,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabDeclaration_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(179u); +x_1 = lean_unsigned_to_nat(178u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7487,7 +7464,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabDeclaration_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(203u); +x_1 = lean_unsigned_to_nat(202u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7515,7 +7492,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabDeclaration_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(179u); +x_1 = lean_unsigned_to_nat(178u); x_2 = lean_unsigned_to_nat(4u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7527,7 +7504,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabDeclaration_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(179u); +x_1 = lean_unsigned_to_nat(178u); x_2 = lean_unsigned_to_nat(19u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8966,7 +8943,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMutualNamespace _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(247u); +x_1 = lean_unsigned_to_nat(246u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8978,7 +8955,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMutualNamespace _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(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9006,7 +8983,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMutualNamespace _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(247u); +x_1 = lean_unsigned_to_nat(246u); x_2 = lean_unsigned_to_nat(4u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9018,7 +8995,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMutualNamespace _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(247u); +x_1 = lean_unsigned_to_nat(246u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9442,7 +9419,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMutualElement_d _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); @@ -9454,7 +9431,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMutualElement_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(277u); +x_1 = lean_unsigned_to_nat(276u); x_2 = lean_unsigned_to_nat(26u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9482,7 +9459,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMutualElement_d _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(4u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9494,7 +9471,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMutualElement_d _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(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9742,7 +9719,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMutualPreamble_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(280u); +x_1 = lean_unsigned_to_nat(279u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9754,7 +9731,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMutualPreamble_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(287u); +x_1 = lean_unsigned_to_nat(286u); x_2 = lean_unsigned_to_nat(74u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9782,7 +9759,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMutualPreamble_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(280u); +x_1 = lean_unsigned_to_nat(279u); x_2 = lean_unsigned_to_nat(4u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9794,7 +9771,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandMutualPreamble_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(280u); +x_1 = lean_unsigned_to_nat(279u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10357,7 +10334,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMutual_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(290u); +x_1 = lean_unsigned_to_nat(289u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10369,7 +10346,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMutual_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(307u); +x_1 = lean_unsigned_to_nat(306u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10397,7 +10374,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMutual_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(290u); +x_1 = lean_unsigned_to_nat(289u); x_2 = lean_unsigned_to_nat(4u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10409,7 +10386,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMutual_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(290u); +x_1 = lean_unsigned_to_nat(289u); x_2 = lean_unsigned_to_nat(14u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11474,7 +11451,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabAttr_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(310u); +x_1 = lean_unsigned_to_nat(309u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11486,7 +11463,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabAttr_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(328u); +x_1 = lean_unsigned_to_nat(327u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11514,7 +11491,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabAttr_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(310u); +x_1 = lean_unsigned_to_nat(309u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11526,7 +11503,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabAttr_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(310u); +x_1 = lean_unsigned_to_nat(309u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11572,43 +11549,290 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("declModifiers", 13); +x_1 = lean_mk_string_from_bytes("invalid initialization command, unexpected modifiers", 52); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(6u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__1; +x_1 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__2; +x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__3; +x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__4; +x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__5; +x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__6; +x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__7; +x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declId", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("initFn", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__10; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__10; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__11; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___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_Command_expandInitialize___lambda__1___closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__14() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Term", 4); +x_1 = lean_mk_string_from_bytes("optDeclSig", 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("typeSpec", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(":", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("app", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("IO", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__18; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__18; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_expandInitialize___lambda__1___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_Elab_Command_expandInitialize___lambda__1___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__4; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__18; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__5() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__21; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandInitialize___lambda__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_Elab_Command_expandInitialize___lambda__1___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabDeclaration___closed__7; +x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__25() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declValSimple", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(":=", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__27() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("do", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(7u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__29() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declSig", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__30() { +_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_Elab_Command_expandInitialize___lambda__1___closed__31() { _start: { lean_object* x_1; @@ -11616,17 +11840,7 @@ x_1 = lean_mk_string_from_bytes("attributes", 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__4; -x_2 = l_Lean_Elab_Command_expandInitCmd___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_Command_expandInitCmd___lambda__1___closed__7() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__32() { _start: { lean_object* x_1; @@ -11634,7 +11848,7 @@ x_1 = lean_mk_string_from_bytes("@[", 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__8() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__33() { _start: { lean_object* x_1; @@ -11642,17 +11856,7 @@ x_1 = lean_mk_string_from_bytes("attrInstance", 12); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__4; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__8; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__10() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__34() { _start: { lean_object* x_1; @@ -11660,17 +11864,7 @@ x_1 = lean_mk_string_from_bytes("attrKind", 8); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__4; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__10; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__12() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11680,21 +11874,7 @@ x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(2); -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__11; -x_3 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__12; -x_4 = lean_alloc_ctor(1, 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_Elab_Command_expandInitCmd___lambda__1___closed__14() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__36() { _start: { lean_object* x_1; @@ -11702,17 +11882,7 @@ x_1 = lean_mk_string_from_bytes("Attr", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__4; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__14; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__16() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__37() { _start: { lean_object* x_1; @@ -11720,27 +11890,15 @@ x_1 = lean_mk_string_from_bytes("simple", 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__38() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__15; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__16; -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(",", 1); +return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabDeclaration___closed__7; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__13; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__39() { _start: { lean_object* x_1; @@ -11748,849 +11906,22 @@ x_1 = lean_mk_string_from_bytes("]", 1); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__20() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(6u); -x_2 = lean_mk_empty_array_with_capacity(x_1); +x_1 = l_Lean_Elab_Command_elabAxiom___lambda__5___closed__3; +x_2 = l_Array_append___rarg(x_1, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__20; -x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__22() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("declId", 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__22; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__24() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("initFn", 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__24; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__24; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__25; -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_Elab_Command_expandInitCmd___lambda__1___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__24; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__28() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("optDeclSig", 10); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__28; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__30() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("typeSpec", 8); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__4; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__30; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(":", 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__33() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("app", 3); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__4; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__33; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__35() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("IO", 2); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__36() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__35; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__35; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__36; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__35; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__39() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__39; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__41() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Unit", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__42() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__41; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__43() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__41; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__42; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__41; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__45() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__44; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__46() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__45; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabDeclaration___closed__7; -x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__48() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("declValSimple", 13); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__48; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(":=", 2); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("do", 2); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__4; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(7u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; uint8_t x_7; -lean_inc(x_4); -x_6 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_4, x_5); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 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; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_ctor_get(x_4, 2); -lean_inc(x_9); -x_10 = lean_ctor_get(x_4, 1); -lean_inc(x_10); -lean_dec(x_4); -x_11 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__7; -lean_inc(x_8); -x_12 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_12, 0, x_8); -lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Elab_Command_elabDeclaration___closed__7; -x_14 = lean_array_push(x_13, x_1); -x_15 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_16 = lean_array_push(x_14, x_15); -x_17 = lean_box(2); -x_18 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17; -x_19 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -lean_ctor_set(x_19, 2, x_16); -x_20 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__18; -x_21 = lean_array_push(x_20, x_19); -x_22 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9; -x_23 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_23, 0, x_17); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_23, 2, x_21); -x_24 = l_Lean_Elab_Command_elabInductive___closed__1; -x_25 = lean_array_push(x_24, x_23); -x_26 = l_Lean_Elab_Command_elabDeclaration___closed__4; -x_27 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_27, 0, x_17); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_27, 2, x_25); -x_28 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19; -lean_inc(x_8); -x_29 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_29, 0, x_8); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Elab_Command_elabDeclaration___closed__10; -x_31 = lean_array_push(x_30, x_12); -x_32 = lean_array_push(x_31, x_27); -x_33 = lean_array_push(x_32, x_29); -x_34 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6; -x_35 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_35, 0, x_17); -lean_ctor_set(x_35, 1, x_34); -lean_ctor_set(x_35, 2, x_33); -x_36 = lean_array_push(x_24, x_35); -x_37 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_37, 0, x_17); -lean_ctor_set(x_37, 1, x_26); -lean_ctor_set(x_37, 2, x_36); -x_38 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21; -x_39 = lean_array_push(x_38, x_37); -x_40 = lean_array_push(x_39, x_15); -x_41 = lean_array_push(x_40, x_15); -x_42 = lean_array_push(x_41, x_15); -x_43 = lean_array_push(x_42, x_15); -x_44 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2; -x_45 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_45, 0, x_17); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_43); -x_46 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; -lean_inc(x_8); -x_47 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_47, 0, x_8); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__27; -lean_inc(x_9); -lean_inc(x_10); -x_49 = l_Lean_addMacroScope(x_10, x_48, x_9); -x_50 = lean_box(0); -x_51 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26; -lean_inc(x_8); -x_52 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_52, 0, x_8); -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 = lean_array_push(x_13, x_52); -x_54 = lean_array_push(x_53, x_15); -x_55 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23; -x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_17); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_54); -x_57 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32; -lean_inc(x_8); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_8); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38; -lean_inc(x_9); -lean_inc(x_10); -x_60 = l_Lean_addMacroScope(x_10, x_59, x_9); -x_61 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37; -x_62 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40; -lean_inc(x_8); -x_63 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_63, 0, x_8); -lean_ctor_set(x_63, 1, x_61); -lean_ctor_set(x_63, 2, x_60); -lean_ctor_set(x_63, 3, x_62); -x_64 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__44; -x_65 = l_Lean_addMacroScope(x_10, x_64, x_9); -x_66 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__43; -x_67 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__46; -lean_inc(x_8); -x_68 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_68, 0, x_8); -lean_ctor_set(x_68, 1, x_66); -lean_ctor_set(x_68, 2, x_65); -lean_ctor_set(x_68, 3, x_67); -x_69 = lean_array_push(x_24, x_68); -x_70 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_70, 0, x_17); -lean_ctor_set(x_70, 1, x_26); -lean_ctor_set(x_70, 2, x_69); -x_71 = lean_array_push(x_13, x_63); -x_72 = lean_array_push(x_71, x_70); -x_73 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34; -x_74 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_74, 0, x_17); -lean_ctor_set(x_74, 1, x_73); -lean_ctor_set(x_74, 2, x_72); -x_75 = lean_array_push(x_13, x_58); -x_76 = lean_array_push(x_75, x_74); -x_77 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31; -x_78 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_78, 0, x_17); -lean_ctor_set(x_78, 1, x_77); -lean_ctor_set(x_78, 2, x_76); -x_79 = lean_array_push(x_24, x_78); -x_80 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_80, 0, x_17); -lean_ctor_set(x_80, 1, x_26); -lean_ctor_set(x_80, 2, x_79); -x_81 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47; -x_82 = lean_array_push(x_81, x_80); -x_83 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29; -x_84 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_84, 0, x_17); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_84, 2, x_82); -x_85 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50; -lean_inc(x_8); -x_86 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_86, 0, x_8); -lean_ctor_set(x_86, 1, x_85); -x_87 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51; -x_88 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_88, 0, x_8); -lean_ctor_set(x_88, 1, x_87); -x_89 = lean_array_push(x_13, x_88); -x_90 = lean_array_push(x_89, x_2); -x_91 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52; -x_92 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_92, 0, x_17); -lean_ctor_set(x_92, 1, x_91); -lean_ctor_set(x_92, 2, x_90); -x_93 = lean_array_push(x_30, x_86); -x_94 = lean_array_push(x_93, x_92); -x_95 = lean_array_push(x_94, x_15); -x_96 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49; -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 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53; -x_99 = lean_array_push(x_98, x_47); -x_100 = lean_array_push(x_99, x_56); -x_101 = lean_array_push(x_100, x_84); -x_102 = lean_array_push(x_101, x_97); -x_103 = lean_array_push(x_102, x_15); -x_104 = lean_array_push(x_103, x_15); -x_105 = lean_array_push(x_104, x_15); -x_106 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__12; -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_13, x_45); -x_109 = lean_array_push(x_108, x_107); -x_110 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__8; -x_111 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_111, 0, x_17); -lean_ctor_set(x_111, 1, x_110); -lean_ctor_set(x_111, 2, x_109); -lean_ctor_set(x_6, 0, x_111); -return x_6; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; 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; -x_112 = lean_ctor_get(x_6, 0); -x_113 = lean_ctor_get(x_6, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_6); -x_114 = lean_ctor_get(x_4, 2); -lean_inc(x_114); -x_115 = lean_ctor_get(x_4, 1); -lean_inc(x_115); -lean_dec(x_4); -x_116 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__7; -lean_inc(x_112); -x_117 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_117, 0, x_112); -lean_ctor_set(x_117, 1, x_116); -x_118 = l_Lean_Elab_Command_elabDeclaration___closed__7; -x_119 = lean_array_push(x_118, x_1); -x_120 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_121 = lean_array_push(x_119, x_120); -x_122 = lean_box(2); -x_123 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17; -x_124 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -lean_ctor_set(x_124, 2, x_121); -x_125 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__18; -x_126 = lean_array_push(x_125, x_124); -x_127 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9; -x_128 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_128, 0, x_122); -lean_ctor_set(x_128, 1, x_127); -lean_ctor_set(x_128, 2, x_126); -x_129 = l_Lean_Elab_Command_elabInductive___closed__1; -x_130 = lean_array_push(x_129, x_128); -x_131 = l_Lean_Elab_Command_elabDeclaration___closed__4; -x_132 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_132, 0, x_122); -lean_ctor_set(x_132, 1, x_131); -lean_ctor_set(x_132, 2, x_130); -x_133 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19; -lean_inc(x_112); -x_134 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_134, 0, x_112); -lean_ctor_set(x_134, 1, x_133); -x_135 = l_Lean_Elab_Command_elabDeclaration___closed__10; -x_136 = lean_array_push(x_135, x_117); -x_137 = lean_array_push(x_136, x_132); -x_138 = lean_array_push(x_137, x_134); -x_139 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6; -x_140 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_140, 0, x_122); -lean_ctor_set(x_140, 1, x_139); -lean_ctor_set(x_140, 2, x_138); -x_141 = lean_array_push(x_129, x_140); -x_142 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_142, 0, x_122); -lean_ctor_set(x_142, 1, x_131); -lean_ctor_set(x_142, 2, x_141); -x_143 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21; -x_144 = lean_array_push(x_143, x_142); -x_145 = lean_array_push(x_144, x_120); -x_146 = lean_array_push(x_145, x_120); -x_147 = lean_array_push(x_146, x_120); -x_148 = lean_array_push(x_147, x_120); -x_149 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2; -x_150 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_150, 0, x_122); -lean_ctor_set(x_150, 1, x_149); -lean_ctor_set(x_150, 2, x_148); -x_151 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; -lean_inc(x_112); -x_152 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_152, 0, x_112); -lean_ctor_set(x_152, 1, x_151); -x_153 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__27; -lean_inc(x_114); -lean_inc(x_115); -x_154 = l_Lean_addMacroScope(x_115, x_153, x_114); -x_155 = lean_box(0); -x_156 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26; -lean_inc(x_112); -x_157 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_157, 0, x_112); -lean_ctor_set(x_157, 1, x_156); -lean_ctor_set(x_157, 2, x_154); -lean_ctor_set(x_157, 3, x_155); -x_158 = lean_array_push(x_118, x_157); -x_159 = lean_array_push(x_158, x_120); -x_160 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23; -x_161 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_161, 0, x_122); -lean_ctor_set(x_161, 1, x_160); -lean_ctor_set(x_161, 2, x_159); -x_162 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32; -lean_inc(x_112); -x_163 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_163, 0, x_112); -lean_ctor_set(x_163, 1, x_162); -x_164 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38; -lean_inc(x_114); -lean_inc(x_115); -x_165 = l_Lean_addMacroScope(x_115, x_164, x_114); -x_166 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37; -x_167 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40; -lean_inc(x_112); -x_168 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_168, 0, x_112); -lean_ctor_set(x_168, 1, x_166); -lean_ctor_set(x_168, 2, x_165); -lean_ctor_set(x_168, 3, x_167); -x_169 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__44; -x_170 = l_Lean_addMacroScope(x_115, x_169, x_114); -x_171 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__43; -x_172 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__46; -lean_inc(x_112); -x_173 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_173, 0, x_112); -lean_ctor_set(x_173, 1, x_171); -lean_ctor_set(x_173, 2, x_170); -lean_ctor_set(x_173, 3, x_172); -x_174 = lean_array_push(x_129, x_173); -x_175 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_175, 0, x_122); -lean_ctor_set(x_175, 1, x_131); -lean_ctor_set(x_175, 2, x_174); -x_176 = lean_array_push(x_118, x_168); -x_177 = lean_array_push(x_176, x_175); -x_178 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34; -x_179 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_179, 0, x_122); -lean_ctor_set(x_179, 1, x_178); -lean_ctor_set(x_179, 2, x_177); -x_180 = lean_array_push(x_118, x_163); -x_181 = lean_array_push(x_180, x_179); -x_182 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31; -x_183 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_183, 0, x_122); -lean_ctor_set(x_183, 1, x_182); -lean_ctor_set(x_183, 2, x_181); -x_184 = lean_array_push(x_129, x_183); -x_185 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_185, 0, x_122); -lean_ctor_set(x_185, 1, x_131); -lean_ctor_set(x_185, 2, x_184); -x_186 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47; -x_187 = lean_array_push(x_186, x_185); -x_188 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29; -x_189 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_189, 0, x_122); -lean_ctor_set(x_189, 1, x_188); -lean_ctor_set(x_189, 2, x_187); -x_190 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50; -lean_inc(x_112); -x_191 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_191, 0, x_112); -lean_ctor_set(x_191, 1, x_190); -x_192 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51; -x_193 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_193, 0, x_112); -lean_ctor_set(x_193, 1, x_192); -x_194 = lean_array_push(x_118, x_193); -x_195 = lean_array_push(x_194, x_2); -x_196 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52; -x_197 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_197, 0, x_122); -lean_ctor_set(x_197, 1, x_196); -lean_ctor_set(x_197, 2, x_195); -x_198 = lean_array_push(x_135, x_191); -x_199 = lean_array_push(x_198, x_197); -x_200 = lean_array_push(x_199, x_120); -x_201 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49; -x_202 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_202, 0, x_122); -lean_ctor_set(x_202, 1, x_201); -lean_ctor_set(x_202, 2, x_200); -x_203 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53; -x_204 = lean_array_push(x_203, x_152); -x_205 = lean_array_push(x_204, x_161); -x_206 = lean_array_push(x_205, x_189); -x_207 = lean_array_push(x_206, x_202); -x_208 = lean_array_push(x_207, x_120); -x_209 = lean_array_push(x_208, x_120); -x_210 = lean_array_push(x_209, x_120); -x_211 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__12; -x_212 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_212, 0, x_122); -lean_ctor_set(x_212, 1, x_211); -lean_ctor_set(x_212, 2, x_210); -x_213 = lean_array_push(x_118, x_150); -x_214 = lean_array_push(x_213, x_212); -x_215 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__8; -x_216 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_216, 0, x_122); -lean_ctor_set(x_216, 1, x_215); -lean_ctor_set(x_216, 2, x_214); -x_217 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_217, 0, x_216); -lean_ctor_set(x_217, 1, x_113); -return x_217; -} -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("private", 7); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("protected", 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("unexpected visibility annotation", 32); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21; -x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___closed__6; -x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___closed__7; -x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___closed__8; -x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandInitCmd___closed__9; -x_2 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__11() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2; -x_3 = l_Lean_Elab_Command_expandInitCmd___closed__10; +x_2 = l_Lean_Elab_Command_elabDeclaration___closed__4; +x_3 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__40; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -12598,1725 +11929,1033 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabDeclaration___closed__7; -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__11; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabDeclaration___closed__7; -x_2 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__13; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__14() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__42() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("declSig", 7); +x_1 = lean_mk_string_from_bytes("unsafe", 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__15() { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___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, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__14; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__16() { -_start: +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_unsigned_to_nat(5u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +x_20 = lean_unsigned_to_nat(0u); +x_21 = l_Lean_Syntax_matchesNull(x_19, x_20); +if (x_21 == 0) { -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_Elab_Command_expandInitCmd___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("invalid initialization command, 'visibility' modifer is not allowed", 67); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__18() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("init", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__18; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__20() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("builtinInit", 11); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_expandInitCmd___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandInitCmd___closed__20; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitCmd(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getArg(x_2, x_5); -x_7 = lean_unsigned_to_nat(2u); -x_8 = l_Lean_Syntax_getArg(x_2, x_7); -x_9 = lean_unsigned_to_nat(3u); -x_10 = l_Lean_Syntax_getArg(x_2, x_9); -x_11 = l_Lean_Syntax_isNone(x_8); -if (x_1 == 0) -{ -lean_object* x_799; -x_799 = l_Lean_Elab_Command_expandInitCmd___closed__19; -x_12 = x_799; -goto block_798; -} -else -{ -lean_object* x_800; -x_800 = l_Lean_Elab_Command_expandInitCmd___closed__21; -x_12 = x_800; -goto block_798; -} -block_798: -{ -lean_object* x_13; -x_13 = l_Lean_mkIdentFrom(x_2, x_12); -if (x_11 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_14 = l_Lean_Syntax_getArg(x_8, x_5); -x_15 = lean_unsigned_to_nat(1u); -x_16 = l_Lean_Syntax_getArg(x_8, x_15); -lean_dec(x_8); -x_17 = l_Lean_Syntax_getArg(x_16, x_15); -lean_dec(x_16); -x_18 = l_Lean_Syntax_isNone(x_6); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = l_Lean_Syntax_getArg(x_6, x_5); -lean_dec(x_6); -x_20 = l_Lean_Syntax_getKind(x_19); -x_21 = l_Lean_Elab_Command_expandInitCmd___closed__2; -x_22 = lean_name_eq(x_20, x_21); -if (x_22 == 0) -{ -lean_object* x_23; uint8_t x_24; -x_23 = l_Lean_Elab_Command_expandInitCmd___closed__4; -x_24 = lean_name_eq(x_20, x_23); -lean_dec(x_20); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_17); -lean_dec(x_14); +lean_object* x_22; lean_object* x_23; lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); -x_25 = l_Lean_Elab_Command_expandInitCmd___closed__5; -x_26 = l_Lean_Macro_throwError___rarg(x_25, x_3, x_4); -lean_dec(x_3); -return 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); +x_22 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_23 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_22, x_16, x_17); +return x_23; } else { +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_236; +x_24 = l_Lean_Syntax_getOptional_x3f(x_3); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_339; +x_339 = lean_box(0); +x_236 = x_339; +goto block_338; +} +else +{ +uint8_t x_340; +x_340 = !lean_is_exclusive(x_24); +if (x_340 == 0) +{ +x_236 = x_24; +goto block_338; +} +else +{ +lean_object* x_341; lean_object* x_342; +x_341 = lean_ctor_get(x_24, 0); +lean_inc(x_341); +lean_dec(x_24); +x_342 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_342, 0, x_341); +x_236 = x_342; +goto block_338; +} +} +block_235: +{ lean_object* x_27; uint8_t x_28; -lean_inc(x_3); -x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_3, x_4); +lean_inc(x_16); +x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_16, x_26); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 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_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; x_29 = lean_ctor_get(x_27, 0); -x_30 = lean_ctor_get(x_3, 2); +x_30 = lean_ctor_get(x_16, 2); lean_inc(x_30); -x_31 = lean_ctor_get(x_3, 1); +x_31 = lean_ctor_get(x_16, 1); lean_inc(x_31); -lean_dec(x_3); -x_32 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; +lean_dec(x_16); +x_32 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__7; +lean_inc(x_4); +x_33 = l_Lean_Name_str___override(x_4, x_32); +x_34 = lean_box(2); +x_35 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__8; +x_36 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_5); +lean_ctor_set(x_36, 2, x_35); +x_37 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; +lean_inc(x_4); +x_38 = l_Lean_Name_str___override(x_4, x_37); lean_inc(x_29); -x_33 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_33, 0, x_29); -lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__27; +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_29); +lean_ctor_set(x_39, 1, x_37); +x_40 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__9; +lean_inc(x_4); +x_41 = l_Lean_Name_str___override(x_4, x_40); +x_42 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__13; lean_inc(x_30); lean_inc(x_31); -x_35 = l_Lean_addMacroScope(x_31, x_34, x_30); -x_36 = lean_box(0); -x_37 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26; +x_43 = l_Lean_addMacroScope(x_31, x_42, x_30); +x_44 = lean_box(0); +x_45 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__12; lean_inc(x_29); -x_38 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_38, 0, x_29); -lean_ctor_set(x_38, 1, x_37); -lean_ctor_set(x_38, 2, x_35); -lean_ctor_set(x_38, 3, x_36); -x_39 = l_Lean_Elab_Command_elabDeclaration___closed__7; -lean_inc(x_38); -x_40 = lean_array_push(x_39, x_38); -x_41 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_42 = lean_array_push(x_40, x_41); -x_43 = lean_box(2); -x_44 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23; -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 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32; +x_46 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_46, 0, x_29); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_46, 2, x_43); +lean_ctor_set(x_46, 3, x_44); +x_47 = l_Lean_Elab_Command_elabDeclaration___closed__7; +x_48 = lean_array_push(x_47, x_46); +x_49 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_50 = lean_array_push(x_48, x_49); +lean_inc(x_41); +x_51 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_51, 0, x_34); +lean_ctor_set(x_51, 1, x_41); +lean_ctor_set(x_51, 2, x_50); +x_52 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__14; +lean_inc(x_4); +x_53 = l_Lean_Name_str___override(x_4, x_52); +x_54 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__15; +lean_inc(x_6); +x_55 = l_Lean_Name_str___override(x_6, x_54); +x_56 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__16; lean_inc(x_29); -x_47 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_47, 0, x_29); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38; -x_49 = l_Lean_addMacroScope(x_31, x_48, x_30); -x_50 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37; -x_51 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40; +x_57 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_57, 0, x_29); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__17; +lean_inc(x_6); +x_59 = l_Lean_Name_str___override(x_6, x_58); +x_60 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__21; +x_61 = l_Lean_addMacroScope(x_31, x_60, x_30); +x_62 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__20; +x_63 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__23; lean_inc(x_29); -x_52 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_52, 0, x_29); -lean_ctor_set(x_52, 1, x_50); -lean_ctor_set(x_52, 2, x_49); -lean_ctor_set(x_52, 3, x_51); -x_53 = l_Lean_Elab_Command_elabInductive___closed__1; -lean_inc(x_17); -x_54 = lean_array_push(x_53, x_17); -x_55 = l_Lean_Elab_Command_elabDeclaration___closed__4; -x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_43); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_54); -x_57 = lean_array_push(x_39, x_52); -x_58 = lean_array_push(x_57, x_56); -x_59 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34; -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 = lean_array_push(x_39, x_47); -lean_inc(x_61); -x_62 = lean_array_push(x_61, x_60); -x_63 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31; -x_64 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_64, 0, x_43); -lean_ctor_set(x_64, 1, x_63); -lean_ctor_set(x_64, 2, x_62); -x_65 = lean_array_push(x_53, x_64); -x_66 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_66, 0, x_43); -lean_ctor_set(x_66, 1, x_55); -lean_ctor_set(x_66, 2, x_65); -x_67 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47; -x_68 = lean_array_push(x_67, x_66); -x_69 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29; -x_70 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_70, 0, x_43); -lean_ctor_set(x_70, 1, x_69); -lean_ctor_set(x_70, 2, x_68); -x_71 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50; +x_64 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_64, 0, x_29); +lean_ctor_set(x_64, 1, x_62); +lean_ctor_set(x_64, 2, x_61); +lean_ctor_set(x_64, 3, x_63); +x_65 = l_Lean_Elab_Command_elabInductive___closed__1; +lean_inc(x_7); +x_66 = lean_array_push(x_65, x_7); +x_67 = l_Lean_Elab_Command_elabDeclaration___closed__4; +x_68 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_68, 0, x_34); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_68, 2, x_66); +x_69 = lean_array_push(x_47, x_64); +x_70 = lean_array_push(x_69, x_68); +x_71 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_71, 0, x_34); +lean_ctor_set(x_71, 1, x_59); +lean_ctor_set(x_71, 2, x_70); +x_72 = lean_array_push(x_47, x_57); +lean_inc(x_72); +x_73 = lean_array_push(x_72, x_71); +lean_inc(x_55); +x_74 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_74, 0, x_34); +lean_ctor_set(x_74, 1, x_55); +lean_ctor_set(x_74, 2, x_73); +x_75 = lean_array_push(x_65, x_74); +x_76 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_76, 0, x_34); +lean_ctor_set(x_76, 1, x_67); +lean_ctor_set(x_76, 2, x_75); +x_77 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__24; +x_78 = lean_array_push(x_77, x_76); +x_79 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_79, 0, x_34); +lean_ctor_set(x_79, 1, x_53); +lean_ctor_set(x_79, 2, x_78); +x_80 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__25; +lean_inc(x_4); +x_81 = l_Lean_Name_str___override(x_4, x_80); +x_82 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__26; lean_inc(x_29); -x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_29); -lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51; +x_83 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_83, 0, x_29); +lean_ctor_set(x_83, 1, x_82); +x_84 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__27; +x_85 = l_Lean_Name_str___override(x_6, x_84); lean_inc(x_29); -x_74 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_74, 0, x_29); -lean_ctor_set(x_74, 1, x_73); -x_75 = lean_array_push(x_39, x_74); -x_76 = lean_array_push(x_75, x_10); -x_77 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52; -x_78 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_78, 0, x_43); -lean_ctor_set(x_78, 1, x_77); -lean_ctor_set(x_78, 2, x_76); -x_79 = l_Lean_Elab_Command_elabDeclaration___closed__10; -x_80 = lean_array_push(x_79, x_72); -x_81 = lean_array_push(x_80, x_78); -x_82 = lean_array_push(x_81, x_41); -x_83 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49; -x_84 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_84, 0, x_43); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_84, 2, x_82); -x_85 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53; -x_86 = lean_array_push(x_85, x_33); -x_87 = lean_array_push(x_86, x_45); -x_88 = lean_array_push(x_87, x_70); -x_89 = lean_array_push(x_88, x_84); -x_90 = lean_array_push(x_89, x_41); -x_91 = lean_array_push(x_90, x_41); -x_92 = lean_array_push(x_91, x_41); -x_93 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__12; +x_86 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_86, 0, x_29); +lean_ctor_set(x_86, 1, x_84); +x_87 = lean_array_push(x_47, x_86); +x_88 = lean_array_push(x_87, x_8); +x_89 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_89, 0, x_34); +lean_ctor_set(x_89, 1, x_85); +lean_ctor_set(x_89, 2, x_88); +x_90 = l_Lean_Elab_Command_elabDeclaration___closed__10; +x_91 = lean_array_push(x_90, x_83); +x_92 = lean_array_push(x_91, x_89); +x_93 = lean_array_push(x_92, x_49); x_94 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_94, 0, x_43); -lean_ctor_set(x_94, 1, x_93); -lean_ctor_set(x_94, 2, x_92); -x_95 = l_Lean_Elab_Command_expandInitCmd___closed__12; -x_96 = lean_array_push(x_95, x_94); -x_97 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__8; -x_98 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_98, 0, x_43); -lean_ctor_set(x_98, 1, x_97); -lean_ctor_set(x_98, 2, x_96); -x_99 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__7; -lean_inc(x_29); -x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_29); -lean_ctor_set(x_100, 1, x_99); -x_101 = lean_array_push(x_53, x_38); -x_102 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_102, 0, x_43); -lean_ctor_set(x_102, 1, x_55); -lean_ctor_set(x_102, 2, x_101); -x_103 = lean_array_push(x_39, x_13); -x_104 = lean_array_push(x_103, x_102); -x_105 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17; +lean_ctor_set(x_94, 0, x_34); +lean_ctor_set(x_94, 1, x_81); +lean_ctor_set(x_94, 2, x_93); +x_95 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__28; +x_96 = lean_array_push(x_95, x_39); +x_97 = lean_array_push(x_96, x_51); +x_98 = lean_array_push(x_97, x_79); +x_99 = lean_array_push(x_98, x_94); +x_100 = lean_array_push(x_99, x_49); +x_101 = lean_array_push(x_100, x_49); +x_102 = lean_array_push(x_101, x_49); +x_103 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_103, 0, x_34); +lean_ctor_set(x_103, 1, x_38); +lean_ctor_set(x_103, 2, x_102); +x_104 = lean_array_push(x_47, x_36); +x_105 = lean_array_push(x_104, x_103); +lean_inc(x_33); x_106 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_106, 0, x_43); -lean_ctor_set(x_106, 1, x_105); -lean_ctor_set(x_106, 2, x_104); -x_107 = l_Lean_Elab_Command_expandInitCmd___closed__13; -x_108 = lean_array_push(x_107, x_106); -x_109 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9; -x_110 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_110, 0, x_43); -lean_ctor_set(x_110, 1, x_109); -lean_ctor_set(x_110, 2, x_108); -x_111 = lean_array_push(x_53, x_110); +lean_ctor_set(x_106, 0, x_34); +lean_ctor_set(x_106, 1, x_33); +lean_ctor_set(x_106, 2, x_105); +x_107 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__15; +lean_inc(x_4); +x_108 = l_Lean_Name_str___override(x_4, x_107); +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_29); +lean_ctor_set(x_109, 1, x_107); +x_110 = lean_array_push(x_47, x_9); +x_111 = lean_array_push(x_110, x_49); x_112 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_112, 0, x_43); -lean_ctor_set(x_112, 1, x_55); +lean_ctor_set(x_112, 0, x_34); +lean_ctor_set(x_112, 1, x_41); lean_ctor_set(x_112, 2, x_111); -x_113 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19; -lean_inc(x_29); -x_114 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_114, 0, x_29); -lean_ctor_set(x_114, 1, x_113); -x_115 = lean_array_push(x_79, x_100); -x_116 = lean_array_push(x_115, x_112); -x_117 = lean_array_push(x_116, x_114); -x_118 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6; -x_119 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_119, 0, x_43); -lean_ctor_set(x_119, 1, x_118); -lean_ctor_set(x_119, 2, x_117); -x_120 = lean_array_push(x_53, x_119); -x_121 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_121, 0, x_43); -lean_ctor_set(x_121, 1, x_55); -lean_ctor_set(x_121, 2, x_120); -x_122 = l_Lean_Elab_Command_expandInitCmd___closed__3; -lean_inc(x_29); -x_123 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_123, 0, x_29); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_array_push(x_53, x_123); -x_125 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_125, 0, x_43); -lean_ctor_set(x_125, 1, x_23); -lean_ctor_set(x_125, 2, x_124); -x_126 = lean_array_push(x_53, x_125); +x_113 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__29; +x_114 = l_Lean_Name_str___override(x_4, x_113); +x_115 = lean_array_push(x_72, x_7); +x_116 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_116, 0, x_34); +lean_ctor_set(x_116, 1, x_55); +lean_ctor_set(x_116, 2, x_115); +x_117 = lean_array_push(x_77, x_116); +x_118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_118, 0, x_34); +lean_ctor_set(x_118, 1, x_114); +lean_ctor_set(x_118, 2, x_117); +x_119 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__30; +x_120 = lean_array_push(x_119, x_109); +x_121 = lean_array_push(x_120, x_112); +x_122 = lean_array_push(x_121, x_118); +x_123 = lean_array_push(x_122, x_49); +x_124 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_124, 0, x_34); +lean_ctor_set(x_124, 1, x_108); +lean_ctor_set(x_124, 2, x_123); +x_125 = lean_array_push(x_47, x_25); +x_126 = lean_array_push(x_125, x_124); x_127 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_127, 0, x_43); -lean_ctor_set(x_127, 1, x_55); +lean_ctor_set(x_127, 0, x_34); +lean_ctor_set(x_127, 1, x_33); lean_ctor_set(x_127, 2, x_126); -x_128 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21; -x_129 = lean_array_push(x_128, x_121); -x_130 = lean_array_push(x_129, x_127); -x_131 = lean_array_push(x_130, x_41); -x_132 = lean_array_push(x_131, x_41); -x_133 = lean_array_push(x_132, x_41); -x_134 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2; -x_135 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_135, 0, x_43); -lean_ctor_set(x_135, 1, x_134); -lean_ctor_set(x_135, 2, x_133); -x_136 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__15; -x_137 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_137, 0, x_29); -lean_ctor_set(x_137, 1, x_136); -x_138 = lean_array_push(x_61, x_17); -x_139 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_139, 0, x_43); -lean_ctor_set(x_139, 1, x_63); -lean_ctor_set(x_139, 2, x_138); -x_140 = lean_array_push(x_67, x_139); -x_141 = l_Lean_Elab_Command_expandInitCmd___closed__15; -x_142 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_142, 0, x_43); -lean_ctor_set(x_142, 1, x_141); -lean_ctor_set(x_142, 2, x_140); -x_143 = l_Lean_Elab_Command_expandInitCmd___closed__16; -x_144 = lean_array_push(x_143, x_137); -x_145 = lean_array_push(x_144, x_14); -x_146 = lean_array_push(x_145, x_142); -x_147 = lean_array_push(x_146, x_41); -x_148 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__16; -x_149 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_149, 0, x_43); -lean_ctor_set(x_149, 1, x_148); -lean_ctor_set(x_149, 2, x_147); -x_150 = lean_array_push(x_39, x_135); -x_151 = lean_array_push(x_150, x_149); -x_152 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_152, 0, x_43); -lean_ctor_set(x_152, 1, x_97); -lean_ctor_set(x_152, 2, x_151); -x_153 = lean_array_push(x_39, x_98); -x_154 = lean_array_push(x_153, x_152); -x_155 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_155, 0, x_43); -lean_ctor_set(x_155, 1, x_55); -lean_ctor_set(x_155, 2, x_154); -lean_ctor_set(x_27, 0, x_155); +x_128 = lean_array_push(x_47, x_106); +x_129 = lean_array_push(x_128, x_127); +x_130 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_130, 0, x_34); +lean_ctor_set(x_130, 1, x_67); +lean_ctor_set(x_130, 2, x_129); +lean_ctor_set(x_27, 0, x_130); return x_27; } else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; 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; -x_156 = lean_ctor_get(x_27, 0); -x_157 = lean_ctor_get(x_27, 1); -lean_inc(x_157); -lean_inc(x_156); +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; +x_131 = lean_ctor_get(x_27, 0); +x_132 = lean_ctor_get(x_27, 1); +lean_inc(x_132); +lean_inc(x_131); lean_dec(x_27); -x_158 = lean_ctor_get(x_3, 2); +x_133 = lean_ctor_get(x_16, 2); +lean_inc(x_133); +x_134 = lean_ctor_get(x_16, 1); +lean_inc(x_134); +lean_dec(x_16); +x_135 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__7; +lean_inc(x_4); +x_136 = l_Lean_Name_str___override(x_4, x_135); +x_137 = lean_box(2); +x_138 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__8; +x_139 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_5); +lean_ctor_set(x_139, 2, x_138); +x_140 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; +lean_inc(x_4); +x_141 = l_Lean_Name_str___override(x_4, x_140); +lean_inc(x_131); +x_142 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_142, 0, x_131); +lean_ctor_set(x_142, 1, x_140); +x_143 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__9; +lean_inc(x_4); +x_144 = l_Lean_Name_str___override(x_4, x_143); +x_145 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__13; +lean_inc(x_133); +lean_inc(x_134); +x_146 = l_Lean_addMacroScope(x_134, x_145, x_133); +x_147 = lean_box(0); +x_148 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__12; +lean_inc(x_131); +x_149 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_149, 0, x_131); +lean_ctor_set(x_149, 1, x_148); +lean_ctor_set(x_149, 2, x_146); +lean_ctor_set(x_149, 3, x_147); +x_150 = l_Lean_Elab_Command_elabDeclaration___closed__7; +x_151 = lean_array_push(x_150, x_149); +x_152 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_153 = lean_array_push(x_151, x_152); +lean_inc(x_144); +x_154 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_154, 0, x_137); +lean_ctor_set(x_154, 1, x_144); +lean_ctor_set(x_154, 2, x_153); +x_155 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__14; +lean_inc(x_4); +x_156 = l_Lean_Name_str___override(x_4, x_155); +x_157 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__15; +lean_inc(x_6); +x_158 = l_Lean_Name_str___override(x_6, x_157); +x_159 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__16; +lean_inc(x_131); +x_160 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_160, 0, x_131); +lean_ctor_set(x_160, 1, x_159); +x_161 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__17; +lean_inc(x_6); +x_162 = l_Lean_Name_str___override(x_6, x_161); +x_163 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__21; +x_164 = l_Lean_addMacroScope(x_134, x_163, x_133); +x_165 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__20; +x_166 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__23; +lean_inc(x_131); +x_167 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_167, 0, x_131); +lean_ctor_set(x_167, 1, x_165); +lean_ctor_set(x_167, 2, x_164); +lean_ctor_set(x_167, 3, x_166); +x_168 = l_Lean_Elab_Command_elabInductive___closed__1; +lean_inc(x_7); +x_169 = lean_array_push(x_168, x_7); +x_170 = l_Lean_Elab_Command_elabDeclaration___closed__4; +x_171 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_171, 0, x_137); +lean_ctor_set(x_171, 1, x_170); +lean_ctor_set(x_171, 2, x_169); +x_172 = lean_array_push(x_150, x_167); +x_173 = lean_array_push(x_172, x_171); +x_174 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_174, 0, x_137); +lean_ctor_set(x_174, 1, x_162); +lean_ctor_set(x_174, 2, x_173); +x_175 = lean_array_push(x_150, x_160); +lean_inc(x_175); +x_176 = lean_array_push(x_175, x_174); lean_inc(x_158); -x_159 = lean_ctor_get(x_3, 1); -lean_inc(x_159); -lean_dec(x_3); -x_160 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; -lean_inc(x_156); -x_161 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_161, 0, x_156); -lean_ctor_set(x_161, 1, x_160); -x_162 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__27; -lean_inc(x_158); -lean_inc(x_159); -x_163 = l_Lean_addMacroScope(x_159, x_162, x_158); -x_164 = lean_box(0); -x_165 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26; -lean_inc(x_156); -x_166 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_166, 0, x_156); -lean_ctor_set(x_166, 1, x_165); -lean_ctor_set(x_166, 2, x_163); -lean_ctor_set(x_166, 3, x_164); -x_167 = l_Lean_Elab_Command_elabDeclaration___closed__7; -lean_inc(x_166); -x_168 = lean_array_push(x_167, x_166); -x_169 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_170 = lean_array_push(x_168, x_169); -x_171 = lean_box(2); -x_172 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23; -x_173 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_173, 0, x_171); -lean_ctor_set(x_173, 1, x_172); -lean_ctor_set(x_173, 2, x_170); -x_174 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32; -lean_inc(x_156); -x_175 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_175, 0, x_156); -lean_ctor_set(x_175, 1, x_174); -x_176 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38; -x_177 = l_Lean_addMacroScope(x_159, x_176, x_158); -x_178 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37; -x_179 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40; -lean_inc(x_156); -x_180 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_180, 0, x_156); -lean_ctor_set(x_180, 1, x_178); -lean_ctor_set(x_180, 2, x_177); -lean_ctor_set(x_180, 3, x_179); -x_181 = l_Lean_Elab_Command_elabInductive___closed__1; -lean_inc(x_17); -x_182 = lean_array_push(x_181, x_17); -x_183 = l_Lean_Elab_Command_elabDeclaration___closed__4; -x_184 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_184, 0, x_171); -lean_ctor_set(x_184, 1, x_183); -lean_ctor_set(x_184, 2, x_182); -x_185 = lean_array_push(x_167, x_180); -x_186 = lean_array_push(x_185, x_184); -x_187 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34; -x_188 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_188, 0, x_171); -lean_ctor_set(x_188, 1, x_187); -lean_ctor_set(x_188, 2, x_186); -x_189 = lean_array_push(x_167, x_175); -lean_inc(x_189); -x_190 = lean_array_push(x_189, x_188); -x_191 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31; +x_177 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_177, 0, x_137); +lean_ctor_set(x_177, 1, x_158); +lean_ctor_set(x_177, 2, x_176); +x_178 = lean_array_push(x_168, x_177); +x_179 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_179, 0, x_137); +lean_ctor_set(x_179, 1, x_170); +lean_ctor_set(x_179, 2, x_178); +x_180 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__24; +x_181 = lean_array_push(x_180, x_179); +x_182 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_182, 0, x_137); +lean_ctor_set(x_182, 1, x_156); +lean_ctor_set(x_182, 2, x_181); +x_183 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__25; +lean_inc(x_4); +x_184 = l_Lean_Name_str___override(x_4, x_183); +x_185 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__26; +lean_inc(x_131); +x_186 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_186, 0, x_131); +lean_ctor_set(x_186, 1, x_185); +x_187 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__27; +x_188 = l_Lean_Name_str___override(x_6, x_187); +lean_inc(x_131); +x_189 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_189, 0, x_131); +lean_ctor_set(x_189, 1, x_187); +x_190 = lean_array_push(x_150, x_189); +x_191 = lean_array_push(x_190, x_8); x_192 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_192, 0, x_171); -lean_ctor_set(x_192, 1, x_191); -lean_ctor_set(x_192, 2, x_190); -x_193 = lean_array_push(x_181, x_192); -x_194 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_194, 0, x_171); -lean_ctor_set(x_194, 1, x_183); -lean_ctor_set(x_194, 2, x_193); -x_195 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47; -x_196 = lean_array_push(x_195, x_194); -x_197 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29; -x_198 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_198, 0, x_171); -lean_ctor_set(x_198, 1, x_197); -lean_ctor_set(x_198, 2, x_196); -x_199 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50; -lean_inc(x_156); -x_200 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_200, 0, x_156); -lean_ctor_set(x_200, 1, x_199); -x_201 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51; -lean_inc(x_156); -x_202 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_202, 0, x_156); -lean_ctor_set(x_202, 1, x_201); -x_203 = lean_array_push(x_167, x_202); -x_204 = lean_array_push(x_203, x_10); -x_205 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52; +lean_ctor_set(x_192, 0, x_137); +lean_ctor_set(x_192, 1, x_188); +lean_ctor_set(x_192, 2, x_191); +x_193 = l_Lean_Elab_Command_elabDeclaration___closed__10; +x_194 = lean_array_push(x_193, x_186); +x_195 = lean_array_push(x_194, x_192); +x_196 = lean_array_push(x_195, x_152); +x_197 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_197, 0, x_137); +lean_ctor_set(x_197, 1, x_184); +lean_ctor_set(x_197, 2, x_196); +x_198 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__28; +x_199 = lean_array_push(x_198, x_142); +x_200 = lean_array_push(x_199, x_154); +x_201 = lean_array_push(x_200, x_182); +x_202 = lean_array_push(x_201, x_197); +x_203 = lean_array_push(x_202, x_152); +x_204 = lean_array_push(x_203, x_152); +x_205 = lean_array_push(x_204, x_152); x_206 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_206, 0, x_171); -lean_ctor_set(x_206, 1, x_205); -lean_ctor_set(x_206, 2, x_204); -x_207 = l_Lean_Elab_Command_elabDeclaration___closed__10; -x_208 = lean_array_push(x_207, x_200); -x_209 = lean_array_push(x_208, x_206); -x_210 = lean_array_push(x_209, x_169); -x_211 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49; -x_212 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_212, 0, x_171); -lean_ctor_set(x_212, 1, x_211); -lean_ctor_set(x_212, 2, x_210); -x_213 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53; -x_214 = lean_array_push(x_213, x_161); -x_215 = lean_array_push(x_214, x_173); -x_216 = lean_array_push(x_215, x_198); -x_217 = lean_array_push(x_216, x_212); -x_218 = lean_array_push(x_217, x_169); -x_219 = lean_array_push(x_218, x_169); -x_220 = lean_array_push(x_219, x_169); -x_221 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__12; -x_222 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_222, 0, x_171); -lean_ctor_set(x_222, 1, x_221); -lean_ctor_set(x_222, 2, x_220); -x_223 = l_Lean_Elab_Command_expandInitCmd___closed__12; -x_224 = lean_array_push(x_223, x_222); -x_225 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__8; -x_226 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_226, 0, x_171); -lean_ctor_set(x_226, 1, x_225); -lean_ctor_set(x_226, 2, x_224); -x_227 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__7; -lean_inc(x_156); -x_228 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_228, 0, x_156); -lean_ctor_set(x_228, 1, x_227); -x_229 = lean_array_push(x_181, x_166); +lean_ctor_set(x_206, 0, x_137); +lean_ctor_set(x_206, 1, x_141); +lean_ctor_set(x_206, 2, x_205); +x_207 = lean_array_push(x_150, x_139); +x_208 = lean_array_push(x_207, x_206); +lean_inc(x_136); +x_209 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_209, 0, x_137); +lean_ctor_set(x_209, 1, x_136); +lean_ctor_set(x_209, 2, x_208); +x_210 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__15; +lean_inc(x_4); +x_211 = l_Lean_Name_str___override(x_4, x_210); +x_212 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_212, 0, x_131); +lean_ctor_set(x_212, 1, x_210); +x_213 = lean_array_push(x_150, x_9); +x_214 = lean_array_push(x_213, x_152); +x_215 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_215, 0, x_137); +lean_ctor_set(x_215, 1, x_144); +lean_ctor_set(x_215, 2, x_214); +x_216 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__29; +x_217 = l_Lean_Name_str___override(x_4, x_216); +x_218 = lean_array_push(x_175, x_7); +x_219 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_219, 0, x_137); +lean_ctor_set(x_219, 1, x_158); +lean_ctor_set(x_219, 2, x_218); +x_220 = lean_array_push(x_180, x_219); +x_221 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_221, 0, x_137); +lean_ctor_set(x_221, 1, x_217); +lean_ctor_set(x_221, 2, x_220); +x_222 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__30; +x_223 = lean_array_push(x_222, x_212); +x_224 = lean_array_push(x_223, x_215); +x_225 = lean_array_push(x_224, x_221); +x_226 = lean_array_push(x_225, x_152); +x_227 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_227, 0, x_137); +lean_ctor_set(x_227, 1, x_211); +lean_ctor_set(x_227, 2, x_226); +x_228 = lean_array_push(x_150, x_25); +x_229 = lean_array_push(x_228, x_227); x_230 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_230, 0, x_171); -lean_ctor_set(x_230, 1, x_183); +lean_ctor_set(x_230, 0, x_137); +lean_ctor_set(x_230, 1, x_136); lean_ctor_set(x_230, 2, x_229); -x_231 = lean_array_push(x_167, x_13); +x_231 = lean_array_push(x_150, x_209); x_232 = lean_array_push(x_231, x_230); -x_233 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17; -x_234 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_234, 0, x_171); -lean_ctor_set(x_234, 1, x_233); -lean_ctor_set(x_234, 2, x_232); -x_235 = l_Lean_Elab_Command_expandInitCmd___closed__13; -x_236 = lean_array_push(x_235, x_234); -x_237 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9; -x_238 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_238, 0, x_171); -lean_ctor_set(x_238, 1, x_237); -lean_ctor_set(x_238, 2, x_236); -x_239 = lean_array_push(x_181, x_238); -x_240 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_240, 0, x_171); -lean_ctor_set(x_240, 1, x_183); -lean_ctor_set(x_240, 2, x_239); -x_241 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19; -lean_inc(x_156); -x_242 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_242, 0, x_156); -lean_ctor_set(x_242, 1, x_241); -x_243 = lean_array_push(x_207, x_228); -x_244 = lean_array_push(x_243, x_240); -x_245 = lean_array_push(x_244, x_242); -x_246 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6; -x_247 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_247, 0, x_171); -lean_ctor_set(x_247, 1, x_246); -lean_ctor_set(x_247, 2, x_245); -x_248 = lean_array_push(x_181, x_247); -x_249 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_249, 0, x_171); -lean_ctor_set(x_249, 1, x_183); -lean_ctor_set(x_249, 2, x_248); -x_250 = l_Lean_Elab_Command_expandInitCmd___closed__3; -lean_inc(x_156); -x_251 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_251, 0, x_156); -lean_ctor_set(x_251, 1, x_250); -x_252 = lean_array_push(x_181, x_251); -x_253 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_253, 0, x_171); -lean_ctor_set(x_253, 1, x_23); -lean_ctor_set(x_253, 2, x_252); -x_254 = lean_array_push(x_181, x_253); -x_255 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_255, 0, x_171); -lean_ctor_set(x_255, 1, x_183); -lean_ctor_set(x_255, 2, x_254); -x_256 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21; -x_257 = lean_array_push(x_256, x_249); -x_258 = lean_array_push(x_257, x_255); -x_259 = lean_array_push(x_258, x_169); -x_260 = lean_array_push(x_259, x_169); -x_261 = lean_array_push(x_260, x_169); -x_262 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2; -x_263 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_263, 0, x_171); -lean_ctor_set(x_263, 1, x_262); -lean_ctor_set(x_263, 2, x_261); -x_264 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__15; -x_265 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_265, 0, x_156); +x_233 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_233, 0, x_137); +lean_ctor_set(x_233, 1, x_170); +lean_ctor_set(x_233, 2, x_232); +x_234 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_234, 0, x_233); +lean_ctor_set(x_234, 1, x_132); +return x_234; +} +} +block_338: +{ +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_inc(x_16); +x_237 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_16, x_17); +x_238 = lean_ctor_get(x_237, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_237, 1); +lean_inc(x_239); +lean_dec(x_237); +x_240 = lean_ctor_get(x_16, 2); +lean_inc(x_240); +x_241 = lean_ctor_get(x_16, 1); +lean_inc(x_241); +x_242 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__31; +lean_inc(x_6); +x_243 = l_Lean_Name_str___override(x_6, x_242); +x_244 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__32; +lean_inc(x_238); +x_245 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_245, 0, x_238); +lean_ctor_set(x_245, 1, x_244); +x_246 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__33; +lean_inc(x_6); +x_247 = l_Lean_Name_str___override(x_6, x_246); +x_248 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__34; +lean_inc(x_6); +x_249 = l_Lean_Name_str___override(x_6, x_248); +x_250 = lean_box(2); +x_251 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__35; +x_252 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_252, 0, x_250); +lean_ctor_set(x_252, 1, x_249); +lean_ctor_set(x_252, 2, x_251); +x_253 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__36; +x_254 = l_Lean_Name_str___override(x_10, x_253); +x_255 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__37; +x_256 = l_Lean_Name_str___override(x_254, x_255); +x_257 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__13; +x_258 = l_Lean_addMacroScope(x_241, x_257, x_240); +x_259 = lean_box(0); +x_260 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__12; +lean_inc(x_238); +x_261 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_261, 0, x_238); +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_Lean_Elab_Command_elabInductive___closed__1; +x_263 = lean_array_push(x_262, x_261); +x_264 = l_Lean_Elab_Command_elabDeclaration___closed__4; +x_265 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_265, 0, x_250); lean_ctor_set(x_265, 1, x_264); -x_266 = lean_array_push(x_189, x_17); -x_267 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_267, 0, x_171); -lean_ctor_set(x_267, 1, x_191); -lean_ctor_set(x_267, 2, x_266); -x_268 = lean_array_push(x_195, x_267); -x_269 = l_Lean_Elab_Command_expandInitCmd___closed__15; -x_270 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_270, 0, x_171); -lean_ctor_set(x_270, 1, x_269); -lean_ctor_set(x_270, 2, x_268); -x_271 = l_Lean_Elab_Command_expandInitCmd___closed__16; -x_272 = lean_array_push(x_271, x_265); -x_273 = lean_array_push(x_272, x_14); -x_274 = lean_array_push(x_273, x_270); -x_275 = lean_array_push(x_274, x_169); -x_276 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__16; -x_277 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_277, 0, x_171); -lean_ctor_set(x_277, 1, x_276); -lean_ctor_set(x_277, 2, x_275); -x_278 = lean_array_push(x_167, x_263); -x_279 = lean_array_push(x_278, x_277); -x_280 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_280, 0, x_171); -lean_ctor_set(x_280, 1, x_225); -lean_ctor_set(x_280, 2, x_279); -x_281 = lean_array_push(x_167, x_226); -x_282 = lean_array_push(x_281, x_280); -x_283 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_283, 0, x_171); -lean_ctor_set(x_283, 1, x_183); -lean_ctor_set(x_283, 2, x_282); -x_284 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_284, 0, x_283); -lean_ctor_set(x_284, 1, x_157); -return x_284; -} -} +lean_ctor_set(x_265, 2, x_263); +x_266 = l_Lean_Elab_Command_elabDeclaration___closed__7; +x_267 = lean_array_push(x_266, x_11); +x_268 = lean_array_push(x_267, x_265); +x_269 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_269, 0, x_250); +lean_ctor_set(x_269, 1, x_256); +lean_ctor_set(x_269, 2, x_268); +x_270 = lean_array_push(x_266, x_252); +x_271 = lean_array_push(x_270, x_269); +x_272 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_272, 0, x_250); +lean_ctor_set(x_272, 1, x_247); +lean_ctor_set(x_272, 2, x_271); +x_273 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__38; +lean_inc(x_238); +x_274 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_274, 0, x_238); +lean_ctor_set(x_274, 1, x_273); +x_275 = lean_array_push(x_266, x_272); +x_276 = lean_array_push(x_275, x_274); +x_277 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__39; +lean_inc(x_238); +x_278 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_278, 0, x_238); +lean_ctor_set(x_278, 1, x_277); +x_279 = l_Lean_Elab_Command_elabDeclaration___closed__10; +x_280 = lean_array_push(x_279, x_245); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_335; +x_335 = l_Lean_Elab_Command_elabAxiom___lambda__5___closed__3; +x_281 = x_335; +goto block_334; } else { -lean_object* x_285; uint8_t x_286; -lean_dec(x_20); -lean_inc(x_3); -x_285 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_3, x_4); -x_286 = !lean_is_exclusive(x_285); -if (x_286 == 0) -{ -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; -x_287 = lean_ctor_get(x_285, 0); -x_288 = lean_ctor_get(x_3, 2); -lean_inc(x_288); -x_289 = lean_ctor_get(x_3, 1); -lean_inc(x_289); -lean_dec(x_3); -x_290 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; -lean_inc(x_287); -x_291 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_291, 0, x_287); -lean_ctor_set(x_291, 1, x_290); -x_292 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__27; -lean_inc(x_288); -lean_inc(x_289); -x_293 = l_Lean_addMacroScope(x_289, x_292, x_288); -x_294 = lean_box(0); -x_295 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26; -lean_inc(x_287); -x_296 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_296, 0, x_287); -lean_ctor_set(x_296, 1, x_295); -lean_ctor_set(x_296, 2, x_293); -lean_ctor_set(x_296, 3, x_294); -x_297 = l_Lean_Elab_Command_elabDeclaration___closed__7; -lean_inc(x_296); -x_298 = lean_array_push(x_297, x_296); -x_299 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_300 = lean_array_push(x_298, x_299); -x_301 = lean_box(2); -x_302 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23; -x_303 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_303, 0, x_301); -lean_ctor_set(x_303, 1, x_302); -lean_ctor_set(x_303, 2, x_300); -x_304 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32; -lean_inc(x_287); -x_305 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_305, 0, x_287); -lean_ctor_set(x_305, 1, x_304); -x_306 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38; -x_307 = l_Lean_addMacroScope(x_289, x_306, x_288); -x_308 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37; -x_309 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40; -lean_inc(x_287); -x_310 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_310, 0, x_287); -lean_ctor_set(x_310, 1, x_308); -lean_ctor_set(x_310, 2, x_307); -lean_ctor_set(x_310, 3, x_309); -x_311 = l_Lean_Elab_Command_elabInductive___closed__1; -lean_inc(x_17); -x_312 = lean_array_push(x_311, x_17); -x_313 = l_Lean_Elab_Command_elabDeclaration___closed__4; -x_314 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_314, 0, x_301); -lean_ctor_set(x_314, 1, x_313); -lean_ctor_set(x_314, 2, x_312); -x_315 = lean_array_push(x_297, x_310); -x_316 = lean_array_push(x_315, x_314); -x_317 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34; -x_318 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_318, 0, x_301); -lean_ctor_set(x_318, 1, x_317); -lean_ctor_set(x_318, 2, x_316); -x_319 = lean_array_push(x_297, x_305); -lean_inc(x_319); -x_320 = lean_array_push(x_319, x_318); -x_321 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31; -x_322 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_322, 0, x_301); -lean_ctor_set(x_322, 1, x_321); -lean_ctor_set(x_322, 2, x_320); -x_323 = lean_array_push(x_311, x_322); -x_324 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_324, 0, x_301); -lean_ctor_set(x_324, 1, x_313); -lean_ctor_set(x_324, 2, x_323); -x_325 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47; -x_326 = lean_array_push(x_325, x_324); -x_327 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29; -x_328 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_328, 0, x_301); -lean_ctor_set(x_328, 1, x_327); -lean_ctor_set(x_328, 2, x_326); -x_329 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50; -lean_inc(x_287); -x_330 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_330, 0, x_287); -lean_ctor_set(x_330, 1, x_329); -x_331 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51; -lean_inc(x_287); -x_332 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_332, 0, x_287); -lean_ctor_set(x_332, 1, x_331); -x_333 = lean_array_push(x_297, x_332); -x_334 = lean_array_push(x_333, x_10); -x_335 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52; -x_336 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_336, 0, x_301); -lean_ctor_set(x_336, 1, x_335); -lean_ctor_set(x_336, 2, x_334); -x_337 = l_Lean_Elab_Command_elabDeclaration___closed__10; -x_338 = lean_array_push(x_337, x_330); -x_339 = lean_array_push(x_338, x_336); -x_340 = lean_array_push(x_339, x_299); -x_341 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49; -x_342 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_342, 0, x_301); -lean_ctor_set(x_342, 1, x_341); -lean_ctor_set(x_342, 2, x_340); -x_343 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53; -x_344 = lean_array_push(x_343, x_291); -x_345 = lean_array_push(x_344, x_303); -x_346 = lean_array_push(x_345, x_328); -x_347 = lean_array_push(x_346, x_342); -x_348 = lean_array_push(x_347, x_299); -x_349 = lean_array_push(x_348, x_299); -x_350 = lean_array_push(x_349, x_299); -x_351 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__12; -x_352 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_352, 0, x_301); -lean_ctor_set(x_352, 1, x_351); -lean_ctor_set(x_352, 2, x_350); -x_353 = l_Lean_Elab_Command_expandInitCmd___closed__12; -x_354 = lean_array_push(x_353, x_352); -x_355 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__8; -x_356 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_356, 0, x_301); -lean_ctor_set(x_356, 1, x_355); -lean_ctor_set(x_356, 2, x_354); -x_357 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__7; -lean_inc(x_287); -x_358 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_358, 0, x_287); -lean_ctor_set(x_358, 1, x_357); -x_359 = lean_array_push(x_311, x_296); -x_360 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_360, 0, x_301); -lean_ctor_set(x_360, 1, x_313); -lean_ctor_set(x_360, 2, x_359); -x_361 = lean_array_push(x_297, x_13); -x_362 = lean_array_push(x_361, x_360); -x_363 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17; -x_364 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_364, 0, x_301); -lean_ctor_set(x_364, 1, x_363); -lean_ctor_set(x_364, 2, x_362); -x_365 = l_Lean_Elab_Command_expandInitCmd___closed__13; -x_366 = lean_array_push(x_365, x_364); -x_367 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9; -x_368 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_368, 0, x_301); -lean_ctor_set(x_368, 1, x_367); -lean_ctor_set(x_368, 2, x_366); -x_369 = lean_array_push(x_311, x_368); -x_370 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_370, 0, x_301); -lean_ctor_set(x_370, 1, x_313); -lean_ctor_set(x_370, 2, x_369); -x_371 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19; -lean_inc(x_287); -x_372 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_372, 0, x_287); -lean_ctor_set(x_372, 1, x_371); -x_373 = lean_array_push(x_337, x_358); -x_374 = lean_array_push(x_373, x_370); -x_375 = lean_array_push(x_374, x_372); -x_376 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6; -x_377 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_377, 0, x_301); -lean_ctor_set(x_377, 1, x_376); -lean_ctor_set(x_377, 2, x_375); -x_378 = lean_array_push(x_311, x_377); -x_379 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_379, 0, x_301); -lean_ctor_set(x_379, 1, x_313); -lean_ctor_set(x_379, 2, x_378); -x_380 = l_Lean_Elab_Command_expandInitCmd___closed__1; -lean_inc(x_287); -x_381 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_381, 0, x_287); -lean_ctor_set(x_381, 1, x_380); -x_382 = lean_array_push(x_311, x_381); -x_383 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_383, 0, x_301); -lean_ctor_set(x_383, 1, x_21); -lean_ctor_set(x_383, 2, x_382); -x_384 = lean_array_push(x_311, x_383); -x_385 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_385, 0, x_301); -lean_ctor_set(x_385, 1, x_313); -lean_ctor_set(x_385, 2, x_384); -x_386 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21; -x_387 = lean_array_push(x_386, x_379); -x_388 = lean_array_push(x_387, x_385); -x_389 = lean_array_push(x_388, x_299); -x_390 = lean_array_push(x_389, x_299); -x_391 = lean_array_push(x_390, x_299); -x_392 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2; -x_393 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_393, 0, x_301); -lean_ctor_set(x_393, 1, x_392); -lean_ctor_set(x_393, 2, x_391); -x_394 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__15; -x_395 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_395, 0, x_287); -lean_ctor_set(x_395, 1, x_394); -x_396 = lean_array_push(x_319, x_17); -x_397 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_397, 0, x_301); -lean_ctor_set(x_397, 1, x_321); -lean_ctor_set(x_397, 2, x_396); -x_398 = lean_array_push(x_325, x_397); -x_399 = l_Lean_Elab_Command_expandInitCmd___closed__15; -x_400 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_400, 0, x_301); -lean_ctor_set(x_400, 1, x_399); -lean_ctor_set(x_400, 2, x_398); -x_401 = l_Lean_Elab_Command_expandInitCmd___closed__16; -x_402 = lean_array_push(x_401, x_395); -x_403 = lean_array_push(x_402, x_14); -x_404 = lean_array_push(x_403, x_400); -x_405 = lean_array_push(x_404, x_299); -x_406 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__16; -x_407 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_407, 0, x_301); -lean_ctor_set(x_407, 1, x_406); -lean_ctor_set(x_407, 2, x_405); -x_408 = lean_array_push(x_297, x_393); -x_409 = lean_array_push(x_408, x_407); -x_410 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_410, 0, x_301); -lean_ctor_set(x_410, 1, x_355); -lean_ctor_set(x_410, 2, x_409); -x_411 = lean_array_push(x_297, x_356); -x_412 = lean_array_push(x_411, x_410); -x_413 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_413, 0, x_301); -lean_ctor_set(x_413, 1, x_313); -lean_ctor_set(x_413, 2, x_412); -lean_ctor_set(x_285, 0, x_413); -return x_285; -} -else -{ -lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; -x_414 = lean_ctor_get(x_285, 0); -x_415 = lean_ctor_get(x_285, 1); -lean_inc(x_415); -lean_inc(x_414); -lean_dec(x_285); -x_416 = lean_ctor_get(x_3, 2); -lean_inc(x_416); -x_417 = lean_ctor_get(x_3, 1); -lean_inc(x_417); -lean_dec(x_3); -x_418 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; -lean_inc(x_414); -x_419 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_419, 0, x_414); -lean_ctor_set(x_419, 1, x_418); -x_420 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__27; -lean_inc(x_416); -lean_inc(x_417); -x_421 = l_Lean_addMacroScope(x_417, x_420, x_416); -x_422 = lean_box(0); -x_423 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26; -lean_inc(x_414); -x_424 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_424, 0, x_414); -lean_ctor_set(x_424, 1, x_423); -lean_ctor_set(x_424, 2, x_421); -lean_ctor_set(x_424, 3, x_422); -x_425 = l_Lean_Elab_Command_elabDeclaration___closed__7; -lean_inc(x_424); -x_426 = lean_array_push(x_425, x_424); -x_427 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_428 = lean_array_push(x_426, x_427); -x_429 = lean_box(2); -x_430 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23; -x_431 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_431, 0, x_429); -lean_ctor_set(x_431, 1, x_430); -lean_ctor_set(x_431, 2, x_428); -x_432 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32; -lean_inc(x_414); -x_433 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_433, 0, x_414); -lean_ctor_set(x_433, 1, x_432); -x_434 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38; -x_435 = l_Lean_addMacroScope(x_417, x_434, x_416); -x_436 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37; -x_437 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40; -lean_inc(x_414); -x_438 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_438, 0, x_414); -lean_ctor_set(x_438, 1, x_436); -lean_ctor_set(x_438, 2, x_435); -lean_ctor_set(x_438, 3, x_437); -x_439 = l_Lean_Elab_Command_elabInductive___closed__1; -lean_inc(x_17); -x_440 = lean_array_push(x_439, x_17); -x_441 = l_Lean_Elab_Command_elabDeclaration___closed__4; -x_442 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_442, 0, x_429); -lean_ctor_set(x_442, 1, x_441); -lean_ctor_set(x_442, 2, x_440); -x_443 = lean_array_push(x_425, x_438); -x_444 = lean_array_push(x_443, x_442); -x_445 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34; -x_446 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_446, 0, x_429); -lean_ctor_set(x_446, 1, x_445); -lean_ctor_set(x_446, 2, x_444); -x_447 = lean_array_push(x_425, x_433); -lean_inc(x_447); -x_448 = lean_array_push(x_447, x_446); -x_449 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31; -x_450 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_450, 0, x_429); -lean_ctor_set(x_450, 1, x_449); -lean_ctor_set(x_450, 2, x_448); -x_451 = lean_array_push(x_439, x_450); -x_452 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_452, 0, x_429); -lean_ctor_set(x_452, 1, x_441); -lean_ctor_set(x_452, 2, x_451); -x_453 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47; -x_454 = lean_array_push(x_453, x_452); -x_455 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29; -x_456 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_456, 0, x_429); -lean_ctor_set(x_456, 1, x_455); -lean_ctor_set(x_456, 2, x_454); -x_457 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50; -lean_inc(x_414); -x_458 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_458, 0, x_414); -lean_ctor_set(x_458, 1, x_457); -x_459 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51; -lean_inc(x_414); -x_460 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_460, 0, x_414); -lean_ctor_set(x_460, 1, x_459); -x_461 = lean_array_push(x_425, x_460); -x_462 = lean_array_push(x_461, x_10); -x_463 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52; -x_464 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_464, 0, x_429); -lean_ctor_set(x_464, 1, x_463); -lean_ctor_set(x_464, 2, x_462); -x_465 = l_Lean_Elab_Command_elabDeclaration___closed__10; -x_466 = lean_array_push(x_465, x_458); -x_467 = lean_array_push(x_466, x_464); -x_468 = lean_array_push(x_467, x_427); -x_469 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49; -x_470 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_470, 0, x_429); -lean_ctor_set(x_470, 1, x_469); -lean_ctor_set(x_470, 2, x_468); -x_471 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53; -x_472 = lean_array_push(x_471, x_419); -x_473 = lean_array_push(x_472, x_431); -x_474 = lean_array_push(x_473, x_456); -x_475 = lean_array_push(x_474, x_470); -x_476 = lean_array_push(x_475, x_427); -x_477 = lean_array_push(x_476, x_427); -x_478 = lean_array_push(x_477, x_427); -x_479 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__12; -x_480 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_480, 0, x_429); -lean_ctor_set(x_480, 1, x_479); -lean_ctor_set(x_480, 2, x_478); -x_481 = l_Lean_Elab_Command_expandInitCmd___closed__12; -x_482 = lean_array_push(x_481, x_480); -x_483 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__8; -x_484 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_484, 0, x_429); -lean_ctor_set(x_484, 1, x_483); -lean_ctor_set(x_484, 2, x_482); -x_485 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__7; -lean_inc(x_414); -x_486 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_486, 0, x_414); -lean_ctor_set(x_486, 1, x_485); -x_487 = lean_array_push(x_439, x_424); -x_488 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_488, 0, x_429); -lean_ctor_set(x_488, 1, x_441); -lean_ctor_set(x_488, 2, x_487); -x_489 = lean_array_push(x_425, x_13); -x_490 = lean_array_push(x_489, x_488); -x_491 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17; -x_492 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_492, 0, x_429); -lean_ctor_set(x_492, 1, x_491); -lean_ctor_set(x_492, 2, x_490); -x_493 = l_Lean_Elab_Command_expandInitCmd___closed__13; -x_494 = lean_array_push(x_493, x_492); -x_495 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9; -x_496 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_496, 0, x_429); -lean_ctor_set(x_496, 1, x_495); -lean_ctor_set(x_496, 2, x_494); -x_497 = lean_array_push(x_439, x_496); -x_498 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_498, 0, x_429); -lean_ctor_set(x_498, 1, x_441); -lean_ctor_set(x_498, 2, x_497); -x_499 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19; -lean_inc(x_414); -x_500 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_500, 0, x_414); -lean_ctor_set(x_500, 1, x_499); -x_501 = lean_array_push(x_465, x_486); -x_502 = lean_array_push(x_501, x_498); -x_503 = lean_array_push(x_502, x_500); -x_504 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6; -x_505 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_505, 0, x_429); -lean_ctor_set(x_505, 1, x_504); -lean_ctor_set(x_505, 2, x_503); -x_506 = lean_array_push(x_439, x_505); -x_507 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_507, 0, x_429); -lean_ctor_set(x_507, 1, x_441); -lean_ctor_set(x_507, 2, x_506); -x_508 = l_Lean_Elab_Command_expandInitCmd___closed__1; -lean_inc(x_414); -x_509 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_509, 0, x_414); -lean_ctor_set(x_509, 1, x_508); -x_510 = lean_array_push(x_439, x_509); -x_511 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_511, 0, x_429); -lean_ctor_set(x_511, 1, x_21); -lean_ctor_set(x_511, 2, x_510); -x_512 = lean_array_push(x_439, x_511); -x_513 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_513, 0, x_429); -lean_ctor_set(x_513, 1, x_441); -lean_ctor_set(x_513, 2, x_512); -x_514 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21; -x_515 = lean_array_push(x_514, x_507); -x_516 = lean_array_push(x_515, x_513); -x_517 = lean_array_push(x_516, x_427); -x_518 = lean_array_push(x_517, x_427); -x_519 = lean_array_push(x_518, x_427); -x_520 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2; -x_521 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_521, 0, x_429); -lean_ctor_set(x_521, 1, x_520); -lean_ctor_set(x_521, 2, x_519); -x_522 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__15; -x_523 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_523, 0, x_414); -lean_ctor_set(x_523, 1, x_522); -x_524 = lean_array_push(x_447, x_17); -x_525 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_525, 0, x_429); -lean_ctor_set(x_525, 1, x_449); -lean_ctor_set(x_525, 2, x_524); -x_526 = lean_array_push(x_453, x_525); -x_527 = l_Lean_Elab_Command_expandInitCmd___closed__15; -x_528 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_528, 0, x_429); -lean_ctor_set(x_528, 1, x_527); -lean_ctor_set(x_528, 2, x_526); -x_529 = l_Lean_Elab_Command_expandInitCmd___closed__16; -x_530 = lean_array_push(x_529, x_523); -x_531 = lean_array_push(x_530, x_14); -x_532 = lean_array_push(x_531, x_528); -x_533 = lean_array_push(x_532, x_427); -x_534 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__16; -x_535 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_535, 0, x_429); -lean_ctor_set(x_535, 1, x_534); -lean_ctor_set(x_535, 2, x_533); -x_536 = lean_array_push(x_425, x_521); -x_537 = lean_array_push(x_536, x_535); -x_538 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_538, 0, x_429); -lean_ctor_set(x_538, 1, x_483); -lean_ctor_set(x_538, 2, x_537); -x_539 = lean_array_push(x_425, x_484); -x_540 = lean_array_push(x_539, x_538); -x_541 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_541, 0, x_429); -lean_ctor_set(x_541, 1, x_441); -lean_ctor_set(x_541, 2, x_540); -x_542 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_542, 0, x_541); -lean_ctor_set(x_542, 1, x_415); -return x_542; -} -} -} -else -{ -lean_object* x_543; uint8_t x_544; -lean_dec(x_6); -lean_inc(x_3); -x_543 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_3, x_4); -x_544 = !lean_is_exclusive(x_543); -if (x_544 == 0) -{ -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; -x_545 = lean_ctor_get(x_543, 0); -x_546 = lean_ctor_get(x_3, 2); -lean_inc(x_546); -x_547 = lean_ctor_get(x_3, 1); -lean_inc(x_547); -lean_dec(x_3); -x_548 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; -lean_inc(x_545); -x_549 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_549, 0, x_545); -lean_ctor_set(x_549, 1, x_548); -x_550 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__27; -lean_inc(x_546); -lean_inc(x_547); -x_551 = l_Lean_addMacroScope(x_547, x_550, x_546); -x_552 = lean_box(0); -x_553 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26; -lean_inc(x_545); -x_554 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_554, 0, x_545); -lean_ctor_set(x_554, 1, x_553); -lean_ctor_set(x_554, 2, x_551); -lean_ctor_set(x_554, 3, x_552); -x_555 = l_Lean_Elab_Command_elabDeclaration___closed__7; -lean_inc(x_554); -x_556 = lean_array_push(x_555, x_554); -x_557 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_558 = lean_array_push(x_556, x_557); -x_559 = lean_box(2); -x_560 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23; -x_561 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_561, 0, x_559); -lean_ctor_set(x_561, 1, x_560); -lean_ctor_set(x_561, 2, x_558); -x_562 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32; -lean_inc(x_545); -x_563 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_563, 0, x_545); -lean_ctor_set(x_563, 1, x_562); -x_564 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38; -x_565 = l_Lean_addMacroScope(x_547, x_564, x_546); -x_566 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37; -x_567 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40; -lean_inc(x_545); -x_568 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_568, 0, x_545); -lean_ctor_set(x_568, 1, x_566); -lean_ctor_set(x_568, 2, x_565); -lean_ctor_set(x_568, 3, x_567); -x_569 = l_Lean_Elab_Command_elabInductive___closed__1; -lean_inc(x_17); -x_570 = lean_array_push(x_569, x_17); -x_571 = l_Lean_Elab_Command_elabDeclaration___closed__4; -x_572 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_572, 0, x_559); -lean_ctor_set(x_572, 1, x_571); -lean_ctor_set(x_572, 2, x_570); -x_573 = lean_array_push(x_555, x_568); -x_574 = lean_array_push(x_573, x_572); -x_575 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34; -x_576 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_576, 0, x_559); -lean_ctor_set(x_576, 1, x_575); -lean_ctor_set(x_576, 2, x_574); -x_577 = lean_array_push(x_555, x_563); -lean_inc(x_577); -x_578 = lean_array_push(x_577, x_576); -x_579 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31; -x_580 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_580, 0, x_559); -lean_ctor_set(x_580, 1, x_579); -lean_ctor_set(x_580, 2, x_578); -x_581 = lean_array_push(x_569, x_580); -x_582 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_582, 0, x_559); -lean_ctor_set(x_582, 1, x_571); -lean_ctor_set(x_582, 2, x_581); -x_583 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47; -x_584 = lean_array_push(x_583, x_582); -x_585 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29; -x_586 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_586, 0, x_559); -lean_ctor_set(x_586, 1, x_585); -lean_ctor_set(x_586, 2, x_584); -x_587 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50; -lean_inc(x_545); -x_588 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_588, 0, x_545); -lean_ctor_set(x_588, 1, x_587); -x_589 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51; -lean_inc(x_545); -x_590 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_590, 0, x_545); -lean_ctor_set(x_590, 1, x_589); -x_591 = lean_array_push(x_555, x_590); -x_592 = lean_array_push(x_591, x_10); -x_593 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52; -x_594 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_594, 0, x_559); -lean_ctor_set(x_594, 1, x_593); -lean_ctor_set(x_594, 2, x_592); -x_595 = l_Lean_Elab_Command_elabDeclaration___closed__10; -x_596 = lean_array_push(x_595, x_588); -x_597 = lean_array_push(x_596, x_594); -x_598 = lean_array_push(x_597, x_557); -x_599 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49; -x_600 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_600, 0, x_559); -lean_ctor_set(x_600, 1, x_599); -lean_ctor_set(x_600, 2, x_598); -x_601 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53; -x_602 = lean_array_push(x_601, x_549); -x_603 = lean_array_push(x_602, x_561); -x_604 = lean_array_push(x_603, x_586); -x_605 = lean_array_push(x_604, x_600); -x_606 = lean_array_push(x_605, x_557); -x_607 = lean_array_push(x_606, x_557); -x_608 = lean_array_push(x_607, x_557); -x_609 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__12; -x_610 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_610, 0, x_559); -lean_ctor_set(x_610, 1, x_609); -lean_ctor_set(x_610, 2, x_608); -x_611 = l_Lean_Elab_Command_expandInitCmd___closed__12; -x_612 = lean_array_push(x_611, x_610); -x_613 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__8; -x_614 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_614, 0, x_559); -lean_ctor_set(x_614, 1, x_613); -lean_ctor_set(x_614, 2, x_612); -x_615 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__7; -lean_inc(x_545); -x_616 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_616, 0, x_545); -lean_ctor_set(x_616, 1, x_615); -x_617 = lean_array_push(x_569, x_554); -x_618 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_618, 0, x_559); -lean_ctor_set(x_618, 1, x_571); -lean_ctor_set(x_618, 2, x_617); -x_619 = lean_array_push(x_555, x_13); -x_620 = lean_array_push(x_619, x_618); -x_621 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17; -x_622 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_622, 0, x_559); -lean_ctor_set(x_622, 1, x_621); -lean_ctor_set(x_622, 2, x_620); -x_623 = l_Lean_Elab_Command_expandInitCmd___closed__13; -x_624 = lean_array_push(x_623, x_622); -x_625 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9; -x_626 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_626, 0, x_559); -lean_ctor_set(x_626, 1, x_625); -lean_ctor_set(x_626, 2, x_624); -x_627 = lean_array_push(x_569, x_626); -x_628 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_628, 0, x_559); -lean_ctor_set(x_628, 1, x_571); -lean_ctor_set(x_628, 2, x_627); -x_629 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19; -lean_inc(x_545); -x_630 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_630, 0, x_545); -lean_ctor_set(x_630, 1, x_629); -x_631 = lean_array_push(x_595, x_616); -x_632 = lean_array_push(x_631, x_628); -x_633 = lean_array_push(x_632, x_630); -x_634 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6; -x_635 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_635, 0, x_559); -lean_ctor_set(x_635, 1, x_634); -lean_ctor_set(x_635, 2, x_633); -x_636 = lean_array_push(x_569, x_635); -x_637 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_637, 0, x_559); -lean_ctor_set(x_637, 1, x_571); -lean_ctor_set(x_637, 2, x_636); -x_638 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21; -x_639 = lean_array_push(x_638, x_637); -x_640 = lean_array_push(x_639, x_557); -x_641 = lean_array_push(x_640, x_557); -x_642 = lean_array_push(x_641, x_557); -x_643 = lean_array_push(x_642, x_557); -x_644 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2; -x_645 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_645, 0, x_559); -lean_ctor_set(x_645, 1, x_644); -lean_ctor_set(x_645, 2, x_643); -x_646 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__15; -x_647 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_647, 0, x_545); -lean_ctor_set(x_647, 1, x_646); -x_648 = lean_array_push(x_577, x_17); -x_649 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_649, 0, x_559); -lean_ctor_set(x_649, 1, x_579); -lean_ctor_set(x_649, 2, x_648); -x_650 = lean_array_push(x_583, x_649); -x_651 = l_Lean_Elab_Command_expandInitCmd___closed__15; -x_652 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_652, 0, x_559); -lean_ctor_set(x_652, 1, x_651); -lean_ctor_set(x_652, 2, x_650); -x_653 = l_Lean_Elab_Command_expandInitCmd___closed__16; -x_654 = lean_array_push(x_653, x_647); -x_655 = lean_array_push(x_654, x_14); -x_656 = lean_array_push(x_655, x_652); -x_657 = lean_array_push(x_656, x_557); -x_658 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__16; -x_659 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_659, 0, x_559); -lean_ctor_set(x_659, 1, x_658); -lean_ctor_set(x_659, 2, x_657); -x_660 = lean_array_push(x_555, x_645); -x_661 = lean_array_push(x_660, x_659); -x_662 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_662, 0, x_559); -lean_ctor_set(x_662, 1, x_613); -lean_ctor_set(x_662, 2, x_661); -x_663 = lean_array_push(x_555, x_614); -x_664 = lean_array_push(x_663, x_662); -x_665 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_665, 0, x_559); -lean_ctor_set(x_665, 1, x_571); -lean_ctor_set(x_665, 2, x_664); -lean_ctor_set(x_543, 0, x_665); -return x_543; -} -else -{ -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; -x_666 = lean_ctor_get(x_543, 0); -x_667 = lean_ctor_get(x_543, 1); -lean_inc(x_667); -lean_inc(x_666); -lean_dec(x_543); -x_668 = lean_ctor_get(x_3, 2); -lean_inc(x_668); -x_669 = lean_ctor_get(x_3, 1); -lean_inc(x_669); -lean_dec(x_3); -x_670 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; -lean_inc(x_666); -x_671 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_671, 0, x_666); -lean_ctor_set(x_671, 1, x_670); -x_672 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__27; -lean_inc(x_668); -lean_inc(x_669); -x_673 = l_Lean_addMacroScope(x_669, x_672, x_668); -x_674 = lean_box(0); -x_675 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26; -lean_inc(x_666); -x_676 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_676, 0, x_666); -lean_ctor_set(x_676, 1, x_675); -lean_ctor_set(x_676, 2, x_673); -lean_ctor_set(x_676, 3, x_674); -x_677 = l_Lean_Elab_Command_elabDeclaration___closed__7; -lean_inc(x_676); -x_678 = lean_array_push(x_677, x_676); -x_679 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; -x_680 = lean_array_push(x_678, x_679); -x_681 = lean_box(2); -x_682 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23; -x_683 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_683, 0, x_681); -lean_ctor_set(x_683, 1, x_682); -lean_ctor_set(x_683, 2, x_680); -x_684 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32; -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 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38; -x_687 = l_Lean_addMacroScope(x_669, x_686, x_668); -x_688 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37; -x_689 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40; -lean_inc(x_666); -x_690 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_690, 0, x_666); -lean_ctor_set(x_690, 1, x_688); -lean_ctor_set(x_690, 2, x_687); -lean_ctor_set(x_690, 3, x_689); -x_691 = l_Lean_Elab_Command_elabInductive___closed__1; -lean_inc(x_17); -x_692 = lean_array_push(x_691, x_17); -x_693 = l_Lean_Elab_Command_elabDeclaration___closed__4; -x_694 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_694, 0, x_681); -lean_ctor_set(x_694, 1, x_693); -lean_ctor_set(x_694, 2, x_692); -x_695 = lean_array_push(x_677, x_690); -x_696 = lean_array_push(x_695, x_694); -x_697 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34; -x_698 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_698, 0, x_681); -lean_ctor_set(x_698, 1, x_697); -lean_ctor_set(x_698, 2, x_696); -x_699 = lean_array_push(x_677, x_685); -lean_inc(x_699); -x_700 = lean_array_push(x_699, x_698); -x_701 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31; -x_702 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_702, 0, x_681); -lean_ctor_set(x_702, 1, x_701); -lean_ctor_set(x_702, 2, x_700); -x_703 = lean_array_push(x_691, x_702); -x_704 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_704, 0, x_681); -lean_ctor_set(x_704, 1, x_693); -lean_ctor_set(x_704, 2, x_703); -x_705 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47; -x_706 = lean_array_push(x_705, x_704); -x_707 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29; -x_708 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_708, 0, x_681); -lean_ctor_set(x_708, 1, x_707); -lean_ctor_set(x_708, 2, x_706); -x_709 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50; -lean_inc(x_666); -x_710 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_710, 0, x_666); -lean_ctor_set(x_710, 1, x_709); -x_711 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51; -lean_inc(x_666); -x_712 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_712, 0, x_666); -lean_ctor_set(x_712, 1, x_711); -x_713 = lean_array_push(x_677, x_712); -x_714 = lean_array_push(x_713, x_10); -x_715 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52; -x_716 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_716, 0, x_681); -lean_ctor_set(x_716, 1, x_715); -lean_ctor_set(x_716, 2, x_714); -x_717 = l_Lean_Elab_Command_elabDeclaration___closed__10; -x_718 = lean_array_push(x_717, x_710); -x_719 = lean_array_push(x_718, x_716); -x_720 = lean_array_push(x_719, x_679); -x_721 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49; -x_722 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_722, 0, x_681); -lean_ctor_set(x_722, 1, x_721); -lean_ctor_set(x_722, 2, x_720); -x_723 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53; -x_724 = lean_array_push(x_723, x_671); -x_725 = lean_array_push(x_724, x_683); -x_726 = lean_array_push(x_725, x_708); -x_727 = lean_array_push(x_726, x_722); -x_728 = lean_array_push(x_727, x_679); -x_729 = lean_array_push(x_728, x_679); -x_730 = lean_array_push(x_729, x_679); -x_731 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__12; -x_732 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_732, 0, x_681); -lean_ctor_set(x_732, 1, x_731); -lean_ctor_set(x_732, 2, x_730); -x_733 = l_Lean_Elab_Command_expandInitCmd___closed__12; -x_734 = lean_array_push(x_733, x_732); -x_735 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__8; -x_736 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_736, 0, x_681); -lean_ctor_set(x_736, 1, x_735); -lean_ctor_set(x_736, 2, x_734); -x_737 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__7; -lean_inc(x_666); -x_738 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_738, 0, x_666); -lean_ctor_set(x_738, 1, x_737); -x_739 = lean_array_push(x_691, x_676); -x_740 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_740, 0, x_681); -lean_ctor_set(x_740, 1, x_693); -lean_ctor_set(x_740, 2, x_739); -x_741 = lean_array_push(x_677, x_13); -x_742 = lean_array_push(x_741, x_740); -x_743 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17; -x_744 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_744, 0, x_681); -lean_ctor_set(x_744, 1, x_743); -lean_ctor_set(x_744, 2, x_742); -x_745 = l_Lean_Elab_Command_expandInitCmd___closed__13; -x_746 = lean_array_push(x_745, x_744); -x_747 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9; -x_748 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_748, 0, x_681); -lean_ctor_set(x_748, 1, x_747); -lean_ctor_set(x_748, 2, x_746); -x_749 = lean_array_push(x_691, x_748); -x_750 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_750, 0, x_681); -lean_ctor_set(x_750, 1, x_693); -lean_ctor_set(x_750, 2, x_749); -x_751 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19; -lean_inc(x_666); -x_752 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_752, 0, x_666); -lean_ctor_set(x_752, 1, x_751); -x_753 = lean_array_push(x_717, x_738); -x_754 = lean_array_push(x_753, x_750); -x_755 = lean_array_push(x_754, x_752); -x_756 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6; -x_757 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_757, 0, x_681); -lean_ctor_set(x_757, 1, x_756); -lean_ctor_set(x_757, 2, x_755); -x_758 = lean_array_push(x_691, x_757); -x_759 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_759, 0, x_681); -lean_ctor_set(x_759, 1, x_693); -lean_ctor_set(x_759, 2, x_758); -x_760 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21; -x_761 = lean_array_push(x_760, x_759); -x_762 = lean_array_push(x_761, x_679); -x_763 = lean_array_push(x_762, x_679); -x_764 = lean_array_push(x_763, x_679); -x_765 = lean_array_push(x_764, x_679); -x_766 = l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2; -x_767 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_767, 0, x_681); -lean_ctor_set(x_767, 1, x_766); -lean_ctor_set(x_767, 2, x_765); -x_768 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__15; -x_769 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_769, 0, x_666); -lean_ctor_set(x_769, 1, x_768); -x_770 = lean_array_push(x_699, x_17); -x_771 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_771, 0, x_681); -lean_ctor_set(x_771, 1, x_701); -lean_ctor_set(x_771, 2, x_770); -x_772 = lean_array_push(x_705, x_771); -x_773 = l_Lean_Elab_Command_expandInitCmd___closed__15; -x_774 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_774, 0, x_681); -lean_ctor_set(x_774, 1, x_773); -lean_ctor_set(x_774, 2, x_772); -x_775 = l_Lean_Elab_Command_expandInitCmd___closed__16; -x_776 = lean_array_push(x_775, x_769); -x_777 = lean_array_push(x_776, x_14); -x_778 = lean_array_push(x_777, x_774); -x_779 = lean_array_push(x_778, x_679); -x_780 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__16; -x_781 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_781, 0, x_681); -lean_ctor_set(x_781, 1, x_780); -lean_ctor_set(x_781, 2, x_779); -x_782 = lean_array_push(x_677, x_767); -x_783 = lean_array_push(x_782, x_781); -x_784 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_784, 0, x_681); -lean_ctor_set(x_784, 1, x_735); -lean_ctor_set(x_784, 2, x_783); -x_785 = lean_array_push(x_677, x_736); -x_786 = lean_array_push(x_785, x_784); -x_787 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_787, 0, x_681); -lean_ctor_set(x_787, 1, x_693); -lean_ctor_set(x_787, 2, x_786); -x_788 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_788, 0, x_787); -lean_ctor_set(x_788, 1, x_667); -return x_788; -} -} -} -else -{ -uint8_t x_789; -lean_dec(x_8); -x_789 = l_Lean_Syntax_isNone(x_6); -lean_dec(x_6); -if (x_789 == 0) -{ -lean_object* x_790; lean_object* x_791; uint8_t x_792; +lean_object* x_336; lean_object* x_337; +x_336 = lean_ctor_get(x_13, 0); +lean_inc(x_336); lean_dec(x_13); +x_337 = lean_array_push(x_262, x_336); +x_281 = x_337; +goto block_334; +} +block_334: +{ +lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; +x_282 = l_Lean_Elab_Command_elabAxiom___lambda__5___closed__3; +x_283 = l_Array_append___rarg(x_282, x_281); +x_284 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_284, 0, x_250); +lean_ctor_set(x_284, 1, x_264); +lean_ctor_set(x_284, 2, x_283); +x_285 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__2; +x_286 = lean_array_push(x_285, x_284); +if (lean_obj_tag(x_12) == 0) +{ +x_287 = x_282; +goto block_332; +} +else +{ +lean_object* x_333; +x_333 = lean_ctor_get(x_12, 0); +lean_inc(x_333); +lean_dec(x_12); +x_287 = x_333; +goto block_332; +} +block_332: +{ +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_288 = l_Array_append___rarg(x_276, x_287); +x_289 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_289, 0, x_250); +lean_ctor_set(x_289, 1, x_264); +lean_ctor_set(x_289, 2, x_288); +x_290 = lean_array_push(x_280, x_289); +x_291 = lean_array_push(x_290, x_278); +x_292 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_292, 0, x_250); +lean_ctor_set(x_292, 1, x_243); +lean_ctor_set(x_292, 2, x_291); +x_293 = lean_array_push(x_262, x_292); +x_294 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_294, 0, x_250); +lean_ctor_set(x_294, 1, x_264); +lean_ctor_set(x_294, 2, x_293); +x_295 = lean_array_push(x_286, x_294); +if (lean_obj_tag(x_236) == 0) +{ +x_296 = x_282; +goto block_329; +} +else +{ +lean_object* x_330; lean_object* x_331; +x_330 = lean_ctor_get(x_236, 0); +lean_inc(x_330); +lean_dec(x_236); +x_331 = lean_array_push(x_282, x_330); +x_296 = x_331; +goto block_329; +} +block_329: +{ +lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; +x_297 = l_Array_append___rarg(x_282, x_296); +x_298 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_298, 0, x_250); +lean_ctor_set(x_298, 1, x_264); +lean_ctor_set(x_298, 2, x_297); +x_299 = lean_array_push(x_295, x_298); +x_300 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_301 = lean_array_push(x_299, x_300); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; +lean_dec(x_238); +x_302 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__41; +x_303 = lean_array_push(x_301, x_302); +x_304 = lean_array_push(x_303, x_300); +lean_inc(x_5); +x_305 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_305, 0, x_250); +lean_ctor_set(x_305, 1, x_5); +lean_ctor_set(x_305, 2, x_304); +x_25 = x_305; +x_26 = x_239; +goto block_235; +} +else +{ +lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; +x_306 = lean_ctor_get(x_15, 0); +x_307 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__42; +lean_inc(x_4); +x_308 = l_Lean_Name_str___override(x_4, x_307); +x_309 = l_Lean_Syntax_getHeadInfo_x3f(x_306); +if (lean_obj_tag(x_309) == 0) +{ +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_310 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_310, 0, x_238); +lean_ctor_set(x_310, 1, x_307); +x_311 = lean_array_push(x_262, x_310); +x_312 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_312, 0, x_250); +lean_ctor_set(x_312, 1, x_308); +lean_ctor_set(x_312, 2, x_311); +x_313 = lean_array_push(x_262, x_312); +x_314 = l_Array_append___rarg(x_282, x_313); +x_315 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_315, 0, x_250); +lean_ctor_set(x_315, 1, x_264); +lean_ctor_set(x_315, 2, x_314); +x_316 = lean_array_push(x_301, x_315); +x_317 = lean_array_push(x_316, x_300); +lean_inc(x_5); +x_318 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_318, 0, x_250); +lean_ctor_set(x_318, 1, x_5); +lean_ctor_set(x_318, 2, x_317); +x_25 = x_318; +x_26 = x_239; +goto block_235; +} +else +{ +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; +lean_dec(x_238); +x_319 = lean_ctor_get(x_309, 0); +lean_inc(x_319); +lean_dec(x_309); +x_320 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_320, 0, x_319); +lean_ctor_set(x_320, 1, x_307); +x_321 = lean_array_push(x_262, x_320); +x_322 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_322, 0, x_250); +lean_ctor_set(x_322, 1, x_308); +lean_ctor_set(x_322, 2, x_321); +x_323 = lean_array_push(x_262, x_322); +x_324 = l_Array_append___rarg(x_282, x_323); +x_325 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_325, 0, x_250); +lean_ctor_set(x_325, 1, x_264); +lean_ctor_set(x_325, 2, x_324); +x_326 = lean_array_push(x_301, x_325); +x_327 = lean_array_push(x_326, x_300); +lean_inc(x_5); +x_328 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_328, 0, x_250); +lean_ctor_set(x_328, 1, x_5); +lean_ctor_set(x_328, 2, x_327); +x_25 = x_328; +x_26 = x_239; +goto block_235; +} +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +lean_dec(x_12); +x_16 = lean_unsigned_to_nat(2u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +x_18 = lean_unsigned_to_nat(3u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +x_20 = lean_unsigned_to_nat(0u); +x_21 = l_Lean_Syntax_matchesNull(x_19, x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_11); lean_dec(x_10); -x_790 = l_Lean_Elab_Command_expandInitCmd___closed__17; -x_791 = l_Lean_Macro_throwError___rarg(x_790, x_3, x_4); +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_792 = !lean_is_exclusive(x_791); -if (x_792 == 0) -{ -return x_791; +x_22 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_23 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_22, x_14, x_15); +return x_23; } else { -lean_object* x_793; lean_object* x_794; lean_object* x_795; -x_793 = lean_ctor_get(x_791, 0); -x_794 = lean_ctor_get(x_791, 1); -lean_inc(x_794); -lean_inc(x_793); -lean_dec(x_791); -x_795 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_795, 0, x_793); -lean_ctor_set(x_795, 1, x_794); -return x_795; +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_unsigned_to_nat(4u); +x_25 = l_Lean_Syntax_getArg(x_1, x_24); +x_26 = l_Lean_Syntax_isNone(x_25); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_unsigned_to_nat(1u); +lean_inc(x_25); +x_28 = l_Lean_Syntax_matchesNull(x_25, x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_25); +lean_dec(x_17); +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); +lean_dec(x_3); +x_29 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_30 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_29, x_14, x_15); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = l_Lean_Syntax_getArg(x_25, x_20); +lean_dec(x_25); +x_32 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__42; +lean_inc(x_3); +x_33 = l_Lean_Name_str___override(x_3, x_32); +lean_inc(x_31); +x_34 = l_Lean_Syntax_isOfKind(x_31, x_33); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_31); +lean_dec(x_17); +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); +lean_dec(x_3); +x_35 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_36 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_35, x_14, x_15); +return x_36; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = l_Lean_Syntax_getArg(x_31, x_20); +lean_dec(x_31); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_39 = lean_box(0); +x_40 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_1, x_2, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_11, x_39, x_38, x_14, x_15); +lean_dec(x_38); +lean_dec(x_17); +return x_40; +} } } else { -lean_object* x_796; lean_object* x_797; -x_796 = lean_box(0); -x_797 = l_Lean_Elab_Command_expandInitCmd___lambda__1(x_13, x_10, x_796, x_3, x_4); -return x_797; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_25); +x_41 = lean_box(0); +x_42 = lean_box(0); +x_43 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_1, x_2, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_11, x_42, x_41, x_14, x_15); +lean_dec(x_17); +return x_43; } } } } -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___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_Elab_Command_expandInitialize___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_6; -x_6 = l_Lean_Elab_Command_expandInitCmd___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_dec(x_11); +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +x_17 = l_Lean_Syntax_isNone(x_16); +if (x_17 == 0) +{ +uint8_t x_18; +lean_inc(x_16); +x_18 = l_Lean_Syntax_matchesNull(x_16, x_15); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_16); +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); lean_dec(x_3); -return x_6; +x_19 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_20 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_19, x_13, x_14); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_Lean_Syntax_getArg(x_16, x_21); +lean_dec(x_16); +x_23 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__31; +lean_inc(x_5); +x_24 = l_Lean_Name_str___override(x_5, x_23); +lean_inc(x_22); +x_25 = l_Lean_Syntax_isOfKind(x_22, x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_22); +lean_dec(x_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); +lean_dec(x_3); +x_26 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_27 = l_Lean_Macro_throwErrorAt___rarg(x_2, x_26, x_13, x_14); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = l_Lean_Syntax_getArg(x_22, x_15); +lean_dec(x_22); +x_29 = l_Lean_Syntax_getArgs(x_28); +lean_dec(x_28); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_box(0); +x_32 = l_Lean_Elab_Command_expandInitialize___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_12, x_31, x_30, x_13, x_14); +return x_32; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitCmd___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_16); +x_33 = lean_box(0); +x_34 = lean_box(0); +x_35 = l_Lean_Elab_Command_expandInitialize___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_12, x_34, x_33, x_13, x_14); +return x_35; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__1() { _start: { -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_1); -lean_dec(x_1); -x_6 = l_Lean_Elab_Command_expandInitCmd(x_5, x_2, x_3, x_4); -return x_6; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Term", 4); +return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__2() { _start: { -uint8_t x_4; lean_object* x_5; -x_4 = 0; -x_5 = l_Lean_Elab_Command_expandInitCmd(x_4, x_1, x_2, x_3); -return x_5; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Unit", 4); +return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__2; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__3; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__4___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_Command_expandInitialize___lambda__4___closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandInitialize___lambda__4___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_Elab_Command_expandInitialize___lambda__4___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("docComment", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__9() { _start: { lean_object* x_1; @@ -14324,17 +12963,1732 @@ x_1 = lean_mk_string_from_bytes("initialize", 10); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("builtinInit", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("init", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___lambda__4___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_Command_expandInitialize___lambda__4___closed__12; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_604; lean_object* x_605; lean_object* x_606; uint8_t x_607; +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__4___closed__1; +lean_inc(x_2); +x_15 = l_Lean_Name_str___override(x_2, x_14); +x_604 = lean_unsigned_to_nat(0u); +x_605 = l_Lean_Syntax_getArg(x_6, x_604); +lean_dec(x_6); +x_606 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__9; +x_607 = l_Lean_Syntax_isToken(x_606, x_605); +lean_dec(x_605); +if (x_607 == 0) +{ +lean_object* x_608; +x_608 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__11; +x_16 = x_608; +goto block_603; +} +else +{ +lean_object* x_609; +x_609 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__13; +x_16 = x_609; +goto block_603; +} +block_603: +{ +lean_object* x_17; +x_17 = l_Lean_mkIdentFrom(x_1, x_16); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +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_matchesNull(x_19, x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_21 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_22 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_21, x_10, x_11); +lean_dec(x_3); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_unsigned_to_nat(1u); +x_24 = l_Lean_Syntax_getArg(x_3, x_23); +x_25 = l_Lean_Syntax_matchesNull(x_24, x_18); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_26 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_27 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_26, x_10, x_11); +lean_dec(x_3); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_unsigned_to_nat(2u); +x_29 = l_Lean_Syntax_getArg(x_3, x_28); +x_30 = l_Lean_Syntax_matchesNull(x_29, x_18); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_31 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_32 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_31, x_10, x_11); +lean_dec(x_3); +return x_32; +} +else +{ +lean_object* x_33; uint8_t x_34; +x_33 = l_Lean_Syntax_getArg(x_3, x_12); +x_34 = l_Lean_Syntax_matchesNull(x_33, x_18); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_35 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_36 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_35, x_10, x_11); +lean_dec(x_3); +return x_36; +} +else +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_37 = lean_unsigned_to_nat(4u); +x_38 = l_Lean_Syntax_getArg(x_3, x_37); +x_39 = l_Lean_Syntax_matchesNull(x_38, x_18); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_40 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_41 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_40, x_10, x_11); +lean_dec(x_3); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_42 = lean_unsigned_to_nat(5u); +x_43 = l_Lean_Syntax_getArg(x_3, x_42); +x_44 = l_Lean_Syntax_matchesNull(x_43, x_18); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +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_46; +} +else +{ +lean_object* x_47; uint8_t x_48; +lean_dec(x_3); +lean_inc(x_10); +x_47 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_10, x_11); +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; 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; +x_49 = lean_ctor_get(x_47, 0); +x_50 = lean_ctor_get(x_10, 2); +lean_inc(x_50); +x_51 = lean_ctor_get(x_10, 1); +lean_inc(x_51); +lean_dec(x_10); +x_52 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__7; +lean_inc(x_4); +x_53 = l_Lean_Name_str___override(x_4, x_52); +x_54 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__31; +lean_inc(x_15); +x_55 = l_Lean_Name_str___override(x_15, x_54); +x_56 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__32; +lean_inc(x_49); +x_57 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_57, 0, x_49); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__33; +lean_inc(x_15); +x_59 = l_Lean_Name_str___override(x_15, x_58); +x_60 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__34; +lean_inc(x_15); +x_61 = l_Lean_Name_str___override(x_15, x_60); +x_62 = lean_box(2); +x_63 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__35; +x_64 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_61); +lean_ctor_set(x_64, 2, x_63); +x_65 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__36; +x_66 = l_Lean_Name_str___override(x_2, x_65); +x_67 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__37; +x_68 = l_Lean_Name_str___override(x_66, x_67); +x_69 = l_Lean_Elab_Command_elabDeclaration___closed__7; +x_70 = lean_array_push(x_69, x_17); +x_71 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_72 = lean_array_push(x_70, x_71); +x_73 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_73, 0, x_62); +lean_ctor_set(x_73, 1, x_68); +lean_ctor_set(x_73, 2, x_72); +x_74 = lean_array_push(x_69, x_64); +x_75 = lean_array_push(x_74, x_73); +x_76 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_76, 0, x_62); +lean_ctor_set(x_76, 1, x_59); +lean_ctor_set(x_76, 2, x_75); +x_77 = l_Lean_Elab_Command_elabInductive___closed__1; +x_78 = lean_array_push(x_77, x_76); +x_79 = l_Lean_Elab_Command_elabDeclaration___closed__4; +x_80 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_80, 0, x_62); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_80, 2, x_78); +x_81 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__39; +lean_inc(x_49); +x_82 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_82, 0, x_49); +lean_ctor_set(x_82, 1, x_81); +x_83 = l_Lean_Elab_Command_elabDeclaration___closed__10; +x_84 = lean_array_push(x_83, x_57); +x_85 = lean_array_push(x_84, x_80); +x_86 = lean_array_push(x_85, x_82); +x_87 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_87, 0, x_62); +lean_ctor_set(x_87, 1, x_55); +lean_ctor_set(x_87, 2, x_86); +x_88 = lean_array_push(x_77, x_87); +x_89 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_89, 0, x_62); +lean_ctor_set(x_89, 1, x_79); +lean_ctor_set(x_89, 2, x_88); +x_90 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__3; +x_91 = lean_array_push(x_90, x_89); +x_92 = lean_array_push(x_91, x_71); +x_93 = lean_array_push(x_92, x_71); +x_94 = lean_array_push(x_93, x_71); +x_95 = lean_array_push(x_94, x_71); +x_96 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_96, 0, x_62); +lean_ctor_set(x_96, 1, x_5); +lean_ctor_set(x_96, 2, x_95); +x_97 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; +lean_inc(x_4); +x_98 = l_Lean_Name_str___override(x_4, x_97); +lean_inc(x_49); +x_99 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_99, 0, x_49); +lean_ctor_set(x_99, 1, x_97); +x_100 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__9; +lean_inc(x_4); +x_101 = l_Lean_Name_str___override(x_4, x_100); +x_102 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__13; +lean_inc(x_50); +lean_inc(x_51); +x_103 = l_Lean_addMacroScope(x_51, x_102, x_50); +x_104 = lean_box(0); +x_105 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__12; +lean_inc(x_49); +x_106 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_106, 0, x_49); +lean_ctor_set(x_106, 1, x_105); +lean_ctor_set(x_106, 2, x_103); +lean_ctor_set(x_106, 3, x_104); +x_107 = lean_array_push(x_69, x_106); +x_108 = lean_array_push(x_107, x_71); +x_109 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_109, 0, x_62); +lean_ctor_set(x_109, 1, x_101); +lean_ctor_set(x_109, 2, x_108); +x_110 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__14; +lean_inc(x_4); +x_111 = l_Lean_Name_str___override(x_4, x_110); +x_112 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__15; +lean_inc(x_15); +x_113 = l_Lean_Name_str___override(x_15, x_112); +x_114 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__16; +lean_inc(x_49); +x_115 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_115, 0, x_49); +lean_ctor_set(x_115, 1, x_114); +x_116 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__17; +lean_inc(x_15); +x_117 = l_Lean_Name_str___override(x_15, x_116); +x_118 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__21; +lean_inc(x_50); +lean_inc(x_51); +x_119 = l_Lean_addMacroScope(x_51, x_118, x_50); +x_120 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__20; +x_121 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__23; +lean_inc(x_49); +x_122 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_122, 0, x_49); +lean_ctor_set(x_122, 1, x_120); +lean_ctor_set(x_122, 2, x_119); +lean_ctor_set(x_122, 3, x_121); +x_123 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__5; +x_124 = l_Lean_addMacroScope(x_51, x_123, x_50); +x_125 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__4; +x_126 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__7; +lean_inc(x_49); +x_127 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_127, 0, x_49); +lean_ctor_set(x_127, 1, x_125); +lean_ctor_set(x_127, 2, x_124); +lean_ctor_set(x_127, 3, x_126); +x_128 = lean_array_push(x_77, x_127); +x_129 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_129, 0, x_62); +lean_ctor_set(x_129, 1, x_79); +lean_ctor_set(x_129, 2, x_128); +x_130 = lean_array_push(x_69, x_122); +x_131 = lean_array_push(x_130, x_129); +x_132 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_132, 0, x_62); +lean_ctor_set(x_132, 1, x_117); +lean_ctor_set(x_132, 2, x_131); +x_133 = lean_array_push(x_69, x_115); +x_134 = lean_array_push(x_133, x_132); +x_135 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_135, 0, x_62); +lean_ctor_set(x_135, 1, x_113); +lean_ctor_set(x_135, 2, x_134); +x_136 = lean_array_push(x_77, x_135); +x_137 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_137, 0, x_62); +lean_ctor_set(x_137, 1, x_79); +lean_ctor_set(x_137, 2, x_136); +x_138 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__24; +x_139 = lean_array_push(x_138, x_137); +x_140 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_140, 0, x_62); +lean_ctor_set(x_140, 1, x_111); +lean_ctor_set(x_140, 2, x_139); +x_141 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__25; +x_142 = l_Lean_Name_str___override(x_4, x_141); +x_143 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__26; +lean_inc(x_49); +x_144 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_144, 0, x_49); +lean_ctor_set(x_144, 1, x_143); +x_145 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__27; +x_146 = l_Lean_Name_str___override(x_15, x_145); +x_147 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_147, 0, x_49); +lean_ctor_set(x_147, 1, x_145); +x_148 = lean_array_push(x_69, x_147); +x_149 = lean_array_push(x_148, x_13); +x_150 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_150, 0, x_62); +lean_ctor_set(x_150, 1, x_146); +lean_ctor_set(x_150, 2, x_149); +x_151 = lean_array_push(x_83, x_144); +x_152 = lean_array_push(x_151, x_150); +x_153 = lean_array_push(x_152, x_71); +x_154 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_154, 0, x_62); +lean_ctor_set(x_154, 1, x_142); +lean_ctor_set(x_154, 2, x_153); +x_155 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__28; +x_156 = lean_array_push(x_155, x_99); +x_157 = lean_array_push(x_156, x_109); +x_158 = lean_array_push(x_157, x_140); +x_159 = lean_array_push(x_158, x_154); +x_160 = lean_array_push(x_159, x_71); +x_161 = lean_array_push(x_160, x_71); +x_162 = lean_array_push(x_161, x_71); +x_163 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_163, 0, x_62); +lean_ctor_set(x_163, 1, x_98); +lean_ctor_set(x_163, 2, x_162); +x_164 = lean_array_push(x_69, x_96); +x_165 = lean_array_push(x_164, x_163); +x_166 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_166, 0, x_62); +lean_ctor_set(x_166, 1, x_53); +lean_ctor_set(x_166, 2, x_165); +lean_ctor_set(x_47, 0, x_166); +return x_47; +} +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; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +x_167 = lean_ctor_get(x_47, 0); +x_168 = lean_ctor_get(x_47, 1); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_47); +x_169 = lean_ctor_get(x_10, 2); +lean_inc(x_169); +x_170 = lean_ctor_get(x_10, 1); +lean_inc(x_170); +lean_dec(x_10); +x_171 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__7; +lean_inc(x_4); +x_172 = l_Lean_Name_str___override(x_4, x_171); +x_173 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__31; +lean_inc(x_15); +x_174 = l_Lean_Name_str___override(x_15, x_173); +x_175 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__32; +lean_inc(x_167); +x_176 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_176, 0, x_167); +lean_ctor_set(x_176, 1, x_175); +x_177 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__33; +lean_inc(x_15); +x_178 = l_Lean_Name_str___override(x_15, x_177); +x_179 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__34; +lean_inc(x_15); +x_180 = l_Lean_Name_str___override(x_15, x_179); +x_181 = lean_box(2); +x_182 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__35; +x_183 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_180); +lean_ctor_set(x_183, 2, x_182); +x_184 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__36; +x_185 = l_Lean_Name_str___override(x_2, x_184); +x_186 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__37; +x_187 = l_Lean_Name_str___override(x_185, x_186); +x_188 = l_Lean_Elab_Command_elabDeclaration___closed__7; +x_189 = lean_array_push(x_188, x_17); +x_190 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_191 = lean_array_push(x_189, x_190); +x_192 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_192, 0, x_181); +lean_ctor_set(x_192, 1, x_187); +lean_ctor_set(x_192, 2, x_191); +x_193 = lean_array_push(x_188, x_183); +x_194 = lean_array_push(x_193, x_192); +x_195 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_195, 0, x_181); +lean_ctor_set(x_195, 1, x_178); +lean_ctor_set(x_195, 2, x_194); +x_196 = l_Lean_Elab_Command_elabInductive___closed__1; +x_197 = lean_array_push(x_196, x_195); +x_198 = l_Lean_Elab_Command_elabDeclaration___closed__4; +x_199 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_199, 0, x_181); +lean_ctor_set(x_199, 1, x_198); +lean_ctor_set(x_199, 2, x_197); +x_200 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__39; +lean_inc(x_167); +x_201 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_201, 0, x_167); +lean_ctor_set(x_201, 1, x_200); +x_202 = l_Lean_Elab_Command_elabDeclaration___closed__10; +x_203 = lean_array_push(x_202, x_176); +x_204 = lean_array_push(x_203, x_199); +x_205 = lean_array_push(x_204, x_201); +x_206 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_206, 0, x_181); +lean_ctor_set(x_206, 1, x_174); +lean_ctor_set(x_206, 2, x_205); +x_207 = lean_array_push(x_196, x_206); +x_208 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_208, 0, x_181); +lean_ctor_set(x_208, 1, x_198); +lean_ctor_set(x_208, 2, x_207); +x_209 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__3; +x_210 = lean_array_push(x_209, x_208); +x_211 = lean_array_push(x_210, x_190); +x_212 = lean_array_push(x_211, x_190); +x_213 = lean_array_push(x_212, x_190); +x_214 = lean_array_push(x_213, x_190); +x_215 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_215, 0, x_181); +lean_ctor_set(x_215, 1, x_5); +lean_ctor_set(x_215, 2, x_214); +x_216 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; +lean_inc(x_4); +x_217 = l_Lean_Name_str___override(x_4, x_216); +lean_inc(x_167); +x_218 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_218, 0, x_167); +lean_ctor_set(x_218, 1, x_216); +x_219 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__9; +lean_inc(x_4); +x_220 = l_Lean_Name_str___override(x_4, x_219); +x_221 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__13; +lean_inc(x_169); +lean_inc(x_170); +x_222 = l_Lean_addMacroScope(x_170, x_221, x_169); +x_223 = lean_box(0); +x_224 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__12; +lean_inc(x_167); +x_225 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_225, 0, x_167); +lean_ctor_set(x_225, 1, x_224); +lean_ctor_set(x_225, 2, x_222); +lean_ctor_set(x_225, 3, x_223); +x_226 = lean_array_push(x_188, x_225); +x_227 = lean_array_push(x_226, x_190); +x_228 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_228, 0, x_181); +lean_ctor_set(x_228, 1, x_220); +lean_ctor_set(x_228, 2, x_227); +x_229 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__14; +lean_inc(x_4); +x_230 = l_Lean_Name_str___override(x_4, x_229); +x_231 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__15; +lean_inc(x_15); +x_232 = l_Lean_Name_str___override(x_15, x_231); +x_233 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__16; +lean_inc(x_167); +x_234 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_234, 0, x_167); +lean_ctor_set(x_234, 1, x_233); +x_235 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__17; +lean_inc(x_15); +x_236 = l_Lean_Name_str___override(x_15, x_235); +x_237 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__21; +lean_inc(x_169); +lean_inc(x_170); +x_238 = l_Lean_addMacroScope(x_170, x_237, x_169); +x_239 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__20; +x_240 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__23; +lean_inc(x_167); +x_241 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_241, 0, x_167); +lean_ctor_set(x_241, 1, x_239); +lean_ctor_set(x_241, 2, x_238); +lean_ctor_set(x_241, 3, x_240); +x_242 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__5; +x_243 = l_Lean_addMacroScope(x_170, x_242, x_169); +x_244 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__4; +x_245 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__7; +lean_inc(x_167); +x_246 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_246, 0, x_167); +lean_ctor_set(x_246, 1, x_244); +lean_ctor_set(x_246, 2, x_243); +lean_ctor_set(x_246, 3, x_245); +x_247 = lean_array_push(x_196, x_246); +x_248 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_248, 0, x_181); +lean_ctor_set(x_248, 1, x_198); +lean_ctor_set(x_248, 2, x_247); +x_249 = lean_array_push(x_188, x_241); +x_250 = lean_array_push(x_249, x_248); +x_251 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_251, 0, x_181); +lean_ctor_set(x_251, 1, x_236); +lean_ctor_set(x_251, 2, x_250); +x_252 = lean_array_push(x_188, x_234); +x_253 = lean_array_push(x_252, x_251); +x_254 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_254, 0, x_181); +lean_ctor_set(x_254, 1, x_232); +lean_ctor_set(x_254, 2, x_253); +x_255 = lean_array_push(x_196, x_254); +x_256 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_256, 0, x_181); +lean_ctor_set(x_256, 1, x_198); +lean_ctor_set(x_256, 2, x_255); +x_257 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__24; +x_258 = lean_array_push(x_257, x_256); +x_259 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_259, 0, x_181); +lean_ctor_set(x_259, 1, x_230); +lean_ctor_set(x_259, 2, x_258); +x_260 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__25; +x_261 = l_Lean_Name_str___override(x_4, x_260); +x_262 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__26; +lean_inc(x_167); +x_263 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_263, 0, x_167); +lean_ctor_set(x_263, 1, x_262); +x_264 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__27; +x_265 = l_Lean_Name_str___override(x_15, x_264); +x_266 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_266, 0, x_167); +lean_ctor_set(x_266, 1, x_264); +x_267 = lean_array_push(x_188, x_266); +x_268 = lean_array_push(x_267, x_13); +x_269 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_269, 0, x_181); +lean_ctor_set(x_269, 1, x_265); +lean_ctor_set(x_269, 2, x_268); +x_270 = lean_array_push(x_202, x_263); +x_271 = lean_array_push(x_270, x_269); +x_272 = lean_array_push(x_271, x_190); +x_273 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_273, 0, x_181); +lean_ctor_set(x_273, 1, x_261); +lean_ctor_set(x_273, 2, x_272); +x_274 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__28; +x_275 = lean_array_push(x_274, x_218); +x_276 = lean_array_push(x_275, x_228); +x_277 = lean_array_push(x_276, x_259); +x_278 = lean_array_push(x_277, x_273); +x_279 = lean_array_push(x_278, x_190); +x_280 = lean_array_push(x_279, x_190); +x_281 = lean_array_push(x_280, x_190); +x_282 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_282, 0, x_181); +lean_ctor_set(x_282, 1, x_217); +lean_ctor_set(x_282, 2, x_281); +x_283 = lean_array_push(x_188, x_215); +x_284 = lean_array_push(x_283, x_282); +x_285 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_285, 0, x_181); +lean_ctor_set(x_285, 1, x_172); +lean_ctor_set(x_285, 2, x_284); +x_286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_168); +return x_286; +} +} +} +} +} +} +} +} +else +{ +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_287; lean_object* x_288; uint8_t x_289; +lean_dec(x_8); +x_287 = lean_unsigned_to_nat(0u); +x_288 = l_Lean_Syntax_getArg(x_3, x_287); +x_289 = l_Lean_Syntax_matchesNull(x_288, x_287); +if (x_289 == 0) +{ +lean_object* x_290; lean_object* x_291; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_290 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_291 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_290, x_10, x_11); +lean_dec(x_3); +return x_291; +} +else +{ +lean_object* x_292; lean_object* x_293; uint8_t x_294; +x_292 = lean_unsigned_to_nat(1u); +x_293 = l_Lean_Syntax_getArg(x_3, x_292); +x_294 = l_Lean_Syntax_matchesNull(x_293, x_287); +if (x_294 == 0) +{ +lean_object* x_295; lean_object* x_296; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_295 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_296 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_295, x_10, x_11); +lean_dec(x_3); +return x_296; +} +else +{ +lean_object* x_297; lean_object* x_298; uint8_t x_299; +x_297 = lean_unsigned_to_nat(2u); +x_298 = l_Lean_Syntax_getArg(x_3, x_297); +x_299 = l_Lean_Syntax_matchesNull(x_298, x_287); +if (x_299 == 0) +{ +lean_object* x_300; lean_object* x_301; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_300 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_301 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_300, x_10, x_11); +lean_dec(x_3); +return x_301; +} +else +{ +lean_object* x_302; uint8_t x_303; +x_302 = l_Lean_Syntax_getArg(x_3, x_12); +x_303 = l_Lean_Syntax_matchesNull(x_302, x_287); +if (x_303 == 0) +{ +lean_object* x_304; lean_object* x_305; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_304 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_305 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_304, x_10, x_11); +lean_dec(x_3); +return x_305; +} +else +{ +lean_object* x_306; lean_object* x_307; uint8_t x_308; +x_306 = lean_unsigned_to_nat(4u); +x_307 = l_Lean_Syntax_getArg(x_3, x_306); +x_308 = l_Lean_Syntax_matchesNull(x_307, x_287); +if (x_308 == 0) +{ +lean_object* x_309; lean_object* x_310; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_309 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_310 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_309, x_10, x_11); +lean_dec(x_3); +return x_310; +} +else +{ +lean_object* x_311; lean_object* x_312; uint8_t x_313; +x_311 = lean_unsigned_to_nat(5u); +x_312 = l_Lean_Syntax_getArg(x_3, x_311); +x_313 = l_Lean_Syntax_matchesNull(x_312, x_287); +if (x_313 == 0) +{ +lean_object* x_314; lean_object* x_315; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_314 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_315 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_314, x_10, x_11); +lean_dec(x_3); +return x_315; +} +else +{ +lean_object* x_316; uint8_t x_317; +lean_dec(x_3); +lean_inc(x_10); +x_316 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_10, x_11); +x_317 = !lean_is_exclusive(x_316); +if (x_317 == 0) +{ +lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; 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; +x_318 = lean_ctor_get(x_316, 0); +x_319 = lean_ctor_get(x_10, 2); +lean_inc(x_319); +x_320 = lean_ctor_get(x_10, 1); +lean_inc(x_320); +lean_dec(x_10); +x_321 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__7; +lean_inc(x_4); +x_322 = l_Lean_Name_str___override(x_4, x_321); +x_323 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__31; +lean_inc(x_15); +x_324 = l_Lean_Name_str___override(x_15, x_323); +x_325 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__32; +lean_inc(x_318); +x_326 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_326, 0, x_318); +lean_ctor_set(x_326, 1, x_325); +x_327 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__33; +lean_inc(x_15); +x_328 = l_Lean_Name_str___override(x_15, x_327); +x_329 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__34; +lean_inc(x_15); +x_330 = l_Lean_Name_str___override(x_15, x_329); +x_331 = lean_box(2); +x_332 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__35; +x_333 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_333, 0, x_331); +lean_ctor_set(x_333, 1, x_330); +lean_ctor_set(x_333, 2, x_332); +x_334 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__36; +x_335 = l_Lean_Name_str___override(x_2, x_334); +x_336 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__37; +x_337 = l_Lean_Name_str___override(x_335, x_336); +x_338 = l_Lean_Elab_Command_elabDeclaration___closed__7; +x_339 = lean_array_push(x_338, x_17); +x_340 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_341 = lean_array_push(x_339, x_340); +x_342 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_342, 0, x_331); +lean_ctor_set(x_342, 1, x_337); +lean_ctor_set(x_342, 2, x_341); +x_343 = lean_array_push(x_338, x_333); +x_344 = lean_array_push(x_343, x_342); +x_345 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_345, 0, x_331); +lean_ctor_set(x_345, 1, x_328); +lean_ctor_set(x_345, 2, x_344); +x_346 = l_Lean_Elab_Command_elabInductive___closed__1; +x_347 = lean_array_push(x_346, x_345); +x_348 = l_Lean_Elab_Command_elabDeclaration___closed__4; +x_349 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_349, 0, x_331); +lean_ctor_set(x_349, 1, x_348); +lean_ctor_set(x_349, 2, x_347); +x_350 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__39; +lean_inc(x_318); +x_351 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_351, 0, x_318); +lean_ctor_set(x_351, 1, x_350); +x_352 = l_Lean_Elab_Command_elabDeclaration___closed__10; +x_353 = lean_array_push(x_352, x_326); +x_354 = lean_array_push(x_353, x_349); +x_355 = lean_array_push(x_354, x_351); +x_356 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_356, 0, x_331); +lean_ctor_set(x_356, 1, x_324); +lean_ctor_set(x_356, 2, x_355); +x_357 = lean_array_push(x_346, x_356); +x_358 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_358, 0, x_331); +lean_ctor_set(x_358, 1, x_348); +lean_ctor_set(x_358, 2, x_357); +x_359 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__3; +x_360 = lean_array_push(x_359, x_358); +x_361 = lean_array_push(x_360, x_340); +x_362 = lean_array_push(x_361, x_340); +x_363 = lean_array_push(x_362, x_340); +x_364 = lean_array_push(x_363, x_340); +x_365 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_365, 0, x_331); +lean_ctor_set(x_365, 1, x_5); +lean_ctor_set(x_365, 2, x_364); +x_366 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; +lean_inc(x_4); +x_367 = l_Lean_Name_str___override(x_4, x_366); +lean_inc(x_318); +x_368 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_368, 0, x_318); +lean_ctor_set(x_368, 1, x_366); +x_369 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__9; +lean_inc(x_4); +x_370 = l_Lean_Name_str___override(x_4, x_369); +x_371 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__13; +lean_inc(x_319); +lean_inc(x_320); +x_372 = l_Lean_addMacroScope(x_320, x_371, x_319); +x_373 = lean_box(0); +x_374 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__12; +lean_inc(x_318); +x_375 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_375, 0, x_318); +lean_ctor_set(x_375, 1, x_374); +lean_ctor_set(x_375, 2, x_372); +lean_ctor_set(x_375, 3, x_373); +x_376 = lean_array_push(x_338, x_375); +x_377 = lean_array_push(x_376, x_340); +x_378 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_378, 0, x_331); +lean_ctor_set(x_378, 1, x_370); +lean_ctor_set(x_378, 2, x_377); +x_379 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__14; +lean_inc(x_4); +x_380 = l_Lean_Name_str___override(x_4, x_379); +x_381 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__15; +lean_inc(x_15); +x_382 = l_Lean_Name_str___override(x_15, x_381); +x_383 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__16; +lean_inc(x_318); +x_384 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_384, 0, x_318); +lean_ctor_set(x_384, 1, x_383); +x_385 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__17; +lean_inc(x_15); +x_386 = l_Lean_Name_str___override(x_15, x_385); +x_387 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__21; +lean_inc(x_319); +lean_inc(x_320); +x_388 = l_Lean_addMacroScope(x_320, x_387, x_319); +x_389 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__20; +x_390 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__23; +lean_inc(x_318); +x_391 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_391, 0, x_318); +lean_ctor_set(x_391, 1, x_389); +lean_ctor_set(x_391, 2, x_388); +lean_ctor_set(x_391, 3, x_390); +x_392 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__5; +x_393 = l_Lean_addMacroScope(x_320, x_392, x_319); +x_394 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__4; +x_395 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__7; +lean_inc(x_318); +x_396 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_396, 0, x_318); +lean_ctor_set(x_396, 1, x_394); +lean_ctor_set(x_396, 2, x_393); +lean_ctor_set(x_396, 3, x_395); +x_397 = lean_array_push(x_346, x_396); +x_398 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_398, 0, x_331); +lean_ctor_set(x_398, 1, x_348); +lean_ctor_set(x_398, 2, x_397); +x_399 = lean_array_push(x_338, x_391); +x_400 = lean_array_push(x_399, x_398); +x_401 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_401, 0, x_331); +lean_ctor_set(x_401, 1, x_386); +lean_ctor_set(x_401, 2, x_400); +x_402 = lean_array_push(x_338, x_384); +x_403 = lean_array_push(x_402, x_401); +x_404 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_404, 0, x_331); +lean_ctor_set(x_404, 1, x_382); +lean_ctor_set(x_404, 2, x_403); +x_405 = lean_array_push(x_346, x_404); +x_406 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_406, 0, x_331); +lean_ctor_set(x_406, 1, x_348); +lean_ctor_set(x_406, 2, x_405); +x_407 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__24; +x_408 = lean_array_push(x_407, x_406); +x_409 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_409, 0, x_331); +lean_ctor_set(x_409, 1, x_380); +lean_ctor_set(x_409, 2, x_408); +x_410 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__25; +x_411 = l_Lean_Name_str___override(x_4, x_410); +x_412 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__26; +lean_inc(x_318); +x_413 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_413, 0, x_318); +lean_ctor_set(x_413, 1, x_412); +x_414 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__27; +x_415 = l_Lean_Name_str___override(x_15, x_414); +x_416 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_416, 0, x_318); +lean_ctor_set(x_416, 1, x_414); +x_417 = lean_array_push(x_338, x_416); +x_418 = lean_array_push(x_417, x_13); +x_419 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_419, 0, x_331); +lean_ctor_set(x_419, 1, x_415); +lean_ctor_set(x_419, 2, x_418); +x_420 = lean_array_push(x_352, x_413); +x_421 = lean_array_push(x_420, x_419); +x_422 = lean_array_push(x_421, x_340); +x_423 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_423, 0, x_331); +lean_ctor_set(x_423, 1, x_411); +lean_ctor_set(x_423, 2, x_422); +x_424 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__28; +x_425 = lean_array_push(x_424, x_368); +x_426 = lean_array_push(x_425, x_378); +x_427 = lean_array_push(x_426, x_409); +x_428 = lean_array_push(x_427, x_423); +x_429 = lean_array_push(x_428, x_340); +x_430 = lean_array_push(x_429, x_340); +x_431 = lean_array_push(x_430, x_340); +x_432 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_432, 0, x_331); +lean_ctor_set(x_432, 1, x_367); +lean_ctor_set(x_432, 2, x_431); +x_433 = lean_array_push(x_338, x_365); +x_434 = lean_array_push(x_433, x_432); +x_435 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_435, 0, x_331); +lean_ctor_set(x_435, 1, x_322); +lean_ctor_set(x_435, 2, x_434); +lean_ctor_set(x_316, 0, x_435); +return x_316; +} +else +{ +lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; +x_436 = lean_ctor_get(x_316, 0); +x_437 = lean_ctor_get(x_316, 1); +lean_inc(x_437); +lean_inc(x_436); +lean_dec(x_316); +x_438 = lean_ctor_get(x_10, 2); +lean_inc(x_438); +x_439 = lean_ctor_get(x_10, 1); +lean_inc(x_439); +lean_dec(x_10); +x_440 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__7; +lean_inc(x_4); +x_441 = l_Lean_Name_str___override(x_4, x_440); +x_442 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__31; +lean_inc(x_15); +x_443 = l_Lean_Name_str___override(x_15, x_442); +x_444 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__32; +lean_inc(x_436); +x_445 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_445, 0, x_436); +lean_ctor_set(x_445, 1, x_444); +x_446 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__33; +lean_inc(x_15); +x_447 = l_Lean_Name_str___override(x_15, x_446); +x_448 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__34; +lean_inc(x_15); +x_449 = l_Lean_Name_str___override(x_15, x_448); +x_450 = lean_box(2); +x_451 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__35; +x_452 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_452, 0, x_450); +lean_ctor_set(x_452, 1, x_449); +lean_ctor_set(x_452, 2, x_451); +x_453 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__36; +x_454 = l_Lean_Name_str___override(x_2, x_453); +x_455 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__37; +x_456 = l_Lean_Name_str___override(x_454, x_455); +x_457 = l_Lean_Elab_Command_elabDeclaration___closed__7; +x_458 = lean_array_push(x_457, x_17); +x_459 = l_Lean_Elab_Command_expandMutualPreamble___closed__3; +x_460 = lean_array_push(x_458, x_459); +x_461 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_461, 0, x_450); +lean_ctor_set(x_461, 1, x_456); +lean_ctor_set(x_461, 2, x_460); +x_462 = lean_array_push(x_457, x_452); +x_463 = lean_array_push(x_462, x_461); +x_464 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_464, 0, x_450); +lean_ctor_set(x_464, 1, x_447); +lean_ctor_set(x_464, 2, x_463); +x_465 = l_Lean_Elab_Command_elabInductive___closed__1; +x_466 = lean_array_push(x_465, x_464); +x_467 = l_Lean_Elab_Command_elabDeclaration___closed__4; +x_468 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_468, 0, x_450); +lean_ctor_set(x_468, 1, x_467); +lean_ctor_set(x_468, 2, x_466); +x_469 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__39; +lean_inc(x_436); +x_470 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_470, 0, x_436); +lean_ctor_set(x_470, 1, x_469); +x_471 = l_Lean_Elab_Command_elabDeclaration___closed__10; +x_472 = lean_array_push(x_471, x_445); +x_473 = lean_array_push(x_472, x_468); +x_474 = lean_array_push(x_473, x_470); +x_475 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_475, 0, x_450); +lean_ctor_set(x_475, 1, x_443); +lean_ctor_set(x_475, 2, x_474); +x_476 = lean_array_push(x_465, x_475); +x_477 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_477, 0, x_450); +lean_ctor_set(x_477, 1, x_467); +lean_ctor_set(x_477, 2, x_476); +x_478 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__3; +x_479 = lean_array_push(x_478, x_477); +x_480 = lean_array_push(x_479, x_459); +x_481 = lean_array_push(x_480, x_459); +x_482 = lean_array_push(x_481, x_459); +x_483 = lean_array_push(x_482, x_459); +x_484 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_484, 0, x_450); +lean_ctor_set(x_484, 1, x_5); +lean_ctor_set(x_484, 2, x_483); +x_485 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__11; +lean_inc(x_4); +x_486 = l_Lean_Name_str___override(x_4, x_485); +lean_inc(x_436); +x_487 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_487, 0, x_436); +lean_ctor_set(x_487, 1, x_485); +x_488 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__9; +lean_inc(x_4); +x_489 = l_Lean_Name_str___override(x_4, x_488); +x_490 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__13; +lean_inc(x_438); +lean_inc(x_439); +x_491 = l_Lean_addMacroScope(x_439, x_490, x_438); +x_492 = lean_box(0); +x_493 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__12; +lean_inc(x_436); +x_494 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_494, 0, x_436); +lean_ctor_set(x_494, 1, x_493); +lean_ctor_set(x_494, 2, x_491); +lean_ctor_set(x_494, 3, x_492); +x_495 = lean_array_push(x_457, x_494); +x_496 = lean_array_push(x_495, x_459); +x_497 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_497, 0, x_450); +lean_ctor_set(x_497, 1, x_489); +lean_ctor_set(x_497, 2, x_496); +x_498 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__14; +lean_inc(x_4); +x_499 = l_Lean_Name_str___override(x_4, x_498); +x_500 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__15; +lean_inc(x_15); +x_501 = l_Lean_Name_str___override(x_15, x_500); +x_502 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__16; +lean_inc(x_436); +x_503 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_503, 0, x_436); +lean_ctor_set(x_503, 1, x_502); +x_504 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__17; +lean_inc(x_15); +x_505 = l_Lean_Name_str___override(x_15, x_504); +x_506 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__21; +lean_inc(x_438); +lean_inc(x_439); +x_507 = l_Lean_addMacroScope(x_439, x_506, x_438); +x_508 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__20; +x_509 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__23; +lean_inc(x_436); +x_510 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_510, 0, x_436); +lean_ctor_set(x_510, 1, x_508); +lean_ctor_set(x_510, 2, x_507); +lean_ctor_set(x_510, 3, x_509); +x_511 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__5; +x_512 = l_Lean_addMacroScope(x_439, x_511, x_438); +x_513 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__4; +x_514 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__7; +lean_inc(x_436); +x_515 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_515, 0, x_436); +lean_ctor_set(x_515, 1, x_513); +lean_ctor_set(x_515, 2, x_512); +lean_ctor_set(x_515, 3, x_514); +x_516 = lean_array_push(x_465, x_515); +x_517 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_517, 0, x_450); +lean_ctor_set(x_517, 1, x_467); +lean_ctor_set(x_517, 2, x_516); +x_518 = lean_array_push(x_457, x_510); +x_519 = lean_array_push(x_518, x_517); +x_520 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_520, 0, x_450); +lean_ctor_set(x_520, 1, x_505); +lean_ctor_set(x_520, 2, x_519); +x_521 = lean_array_push(x_457, x_503); +x_522 = lean_array_push(x_521, x_520); +x_523 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_523, 0, x_450); +lean_ctor_set(x_523, 1, x_501); +lean_ctor_set(x_523, 2, x_522); +x_524 = lean_array_push(x_465, x_523); +x_525 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_525, 0, x_450); +lean_ctor_set(x_525, 1, x_467); +lean_ctor_set(x_525, 2, x_524); +x_526 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__24; +x_527 = lean_array_push(x_526, x_525); +x_528 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_528, 0, x_450); +lean_ctor_set(x_528, 1, x_499); +lean_ctor_set(x_528, 2, x_527); +x_529 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__25; +x_530 = l_Lean_Name_str___override(x_4, x_529); +x_531 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__26; +lean_inc(x_436); +x_532 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_532, 0, x_436); +lean_ctor_set(x_532, 1, x_531); +x_533 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__27; +x_534 = l_Lean_Name_str___override(x_15, x_533); +x_535 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_535, 0, x_436); +lean_ctor_set(x_535, 1, x_533); +x_536 = lean_array_push(x_457, x_535); +x_537 = lean_array_push(x_536, x_13); +x_538 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_538, 0, x_450); +lean_ctor_set(x_538, 1, x_534); +lean_ctor_set(x_538, 2, x_537); +x_539 = lean_array_push(x_471, x_532); +x_540 = lean_array_push(x_539, x_538); +x_541 = lean_array_push(x_540, x_459); +x_542 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_542, 0, x_450); +lean_ctor_set(x_542, 1, x_530); +lean_ctor_set(x_542, 2, x_541); +x_543 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__28; +x_544 = lean_array_push(x_543, x_487); +x_545 = lean_array_push(x_544, x_497); +x_546 = lean_array_push(x_545, x_528); +x_547 = lean_array_push(x_546, x_542); +x_548 = lean_array_push(x_547, x_459); +x_549 = lean_array_push(x_548, x_459); +x_550 = lean_array_push(x_549, x_459); +x_551 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_551, 0, x_450); +lean_ctor_set(x_551, 1, x_486); +lean_ctor_set(x_551, 2, x_550); +x_552 = lean_array_push(x_457, x_484); +x_553 = lean_array_push(x_552, x_551); +x_554 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_554, 0, x_450); +lean_ctor_set(x_554, 1, x_441); +lean_ctor_set(x_554, 2, x_553); +x_555 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_555, 0, x_554); +lean_ctor_set(x_555, 1, x_437); +return x_555; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_556; uint8_t x_557; +x_556 = lean_ctor_get(x_8, 0); +lean_inc(x_556); +lean_dec(x_8); +x_557 = !lean_is_exclusive(x_9); +if (x_557 == 0) +{ +lean_object* x_558; uint8_t x_559; +x_558 = lean_ctor_get(x_9, 0); +lean_inc(x_3); +x_559 = l_Lean_Syntax_isOfKind(x_3, x_5); +if (x_559 == 0) +{ +lean_object* x_560; lean_object* x_561; +lean_free_object(x_9); +lean_dec(x_558); +lean_dec(x_556); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_560 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_561 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_560, x_10, x_11); +lean_dec(x_3); +return x_561; +} +else +{ +lean_object* x_562; lean_object* x_563; uint8_t x_564; +x_562 = lean_unsigned_to_nat(0u); +x_563 = l_Lean_Syntax_getArg(x_3, x_562); +x_564 = l_Lean_Syntax_isNone(x_563); +if (x_564 == 0) +{ +lean_object* x_565; uint8_t x_566; +x_565 = lean_unsigned_to_nat(1u); +lean_inc(x_563); +x_566 = l_Lean_Syntax_matchesNull(x_563, x_565); +if (x_566 == 0) +{ +lean_object* x_567; lean_object* x_568; +lean_dec(x_563); +lean_free_object(x_9); +lean_dec(x_558); +lean_dec(x_556); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_567 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_568 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_567, x_10, x_11); +lean_dec(x_3); +return x_568; +} +else +{ +lean_object* x_569; lean_object* x_570; lean_object* x_571; uint8_t x_572; +x_569 = l_Lean_Syntax_getArg(x_563, x_562); +lean_dec(x_563); +x_570 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__8; +lean_inc(x_4); +x_571 = l_Lean_Name_str___override(x_4, x_570); +lean_inc(x_569); +x_572 = l_Lean_Syntax_isOfKind(x_569, x_571); +lean_dec(x_571); +if (x_572 == 0) +{ +lean_object* x_573; lean_object* x_574; +lean_dec(x_569); +lean_free_object(x_9); +lean_dec(x_558); +lean_dec(x_556); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_573 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_574 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_573, x_10, x_11); +lean_dec(x_3); +return x_574; +} +else +{ +lean_object* x_575; lean_object* x_576; +lean_ctor_set(x_9, 0, x_569); +x_575 = lean_box(0); +x_576 = l_Lean_Elab_Command_expandInitialize___lambda__3(x_3, x_3, x_4, x_5, x_15, x_558, x_13, x_556, x_2, x_17, x_575, x_9, x_10, x_11); +lean_dec(x_3); +return x_576; +} +} +} +else +{ +lean_object* x_577; lean_object* x_578; lean_object* x_579; +lean_dec(x_563); +lean_free_object(x_9); +x_577 = lean_box(0); +x_578 = lean_box(0); +x_579 = l_Lean_Elab_Command_expandInitialize___lambda__3(x_3, x_3, x_4, x_5, x_15, x_558, x_13, x_556, x_2, x_17, x_578, x_577, x_10, x_11); +lean_dec(x_3); +return x_579; +} +} +} +else +{ +lean_object* x_580; uint8_t x_581; +x_580 = lean_ctor_get(x_9, 0); +lean_inc(x_580); +lean_dec(x_9); +lean_inc(x_3); +x_581 = l_Lean_Syntax_isOfKind(x_3, x_5); +if (x_581 == 0) +{ +lean_object* x_582; lean_object* x_583; +lean_dec(x_580); +lean_dec(x_556); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_582 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_583 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_582, x_10, x_11); +lean_dec(x_3); +return x_583; +} +else +{ +lean_object* x_584; lean_object* x_585; uint8_t x_586; +x_584 = lean_unsigned_to_nat(0u); +x_585 = l_Lean_Syntax_getArg(x_3, x_584); +x_586 = l_Lean_Syntax_isNone(x_585); +if (x_586 == 0) +{ +lean_object* x_587; uint8_t x_588; +x_587 = lean_unsigned_to_nat(1u); +lean_inc(x_585); +x_588 = l_Lean_Syntax_matchesNull(x_585, x_587); +if (x_588 == 0) +{ +lean_object* x_589; lean_object* x_590; +lean_dec(x_585); +lean_dec(x_580); +lean_dec(x_556); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_589 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_590 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_589, x_10, x_11); +lean_dec(x_3); +return x_590; +} +else +{ +lean_object* x_591; lean_object* x_592; lean_object* x_593; uint8_t x_594; +x_591 = l_Lean_Syntax_getArg(x_585, x_584); +lean_dec(x_585); +x_592 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__8; +lean_inc(x_4); +x_593 = l_Lean_Name_str___override(x_4, x_592); +lean_inc(x_591); +x_594 = l_Lean_Syntax_isOfKind(x_591, x_593); +lean_dec(x_593); +if (x_594 == 0) +{ +lean_object* x_595; lean_object* x_596; +lean_dec(x_591); +lean_dec(x_580); +lean_dec(x_556); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_595 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_596 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_595, x_10, x_11); +lean_dec(x_3); +return x_596; +} +else +{ +lean_object* x_597; lean_object* x_598; lean_object* x_599; +x_597 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_597, 0, x_591); +x_598 = lean_box(0); +x_599 = l_Lean_Elab_Command_expandInitialize___lambda__3(x_3, x_3, x_4, x_5, x_15, x_580, x_13, x_556, x_2, x_17, x_598, x_597, x_10, x_11); +lean_dec(x_3); +return x_599; +} +} +} +else +{ +lean_object* x_600; lean_object* x_601; lean_object* x_602; +lean_dec(x_585); +x_600 = lean_box(0); +x_601 = lean_box(0); +x_602 = l_Lean_Elab_Command_expandInitialize___lambda__3(x_3, x_3, x_4, x_5, x_15, x_580, x_13, x_556, x_2, x_17, x_601, x_600, x_10, x_11); +lean_dec(x_3); +return x_602; +} +} +} +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; +x_2 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declModifiers", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; +x_2 = l_Lean_Elab_Command_expandInitialize___closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("initializeKeyword", 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; +x_2 = l_Lean_Elab_Command_expandInitialize___closed__4; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__4; +x_2 = l_Lean_Elab_Command_expandInitialize___lambda__4___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandInitialize___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandInitialize___closed__6; +x_2 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__15; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Elab_Command_expandInitialize___closed__1; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Elab_Command_expandInitialize___closed__3; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_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; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = l_Lean_Elab_Command_expandInitialize___closed__5; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_18 = lean_box(1); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_3); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_unsigned_to_nat(2u); +x_21 = l_Lean_Syntax_getArg(x_1, x_20); +x_22 = l_Lean_Syntax_isNone(x_21); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_unsigned_to_nat(3u); +lean_inc(x_21); +x_24 = l_Lean_Syntax_matchesNull(x_21, x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_21); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_25 = lean_box(1); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = l_Lean_Syntax_getArg(x_21, x_8); +x_28 = l_Lean_Syntax_getArg(x_21, x_14); +lean_dec(x_21); +x_29 = l_Lean_Elab_Command_expandInitialize___closed__7; +lean_inc(x_28); +x_30 = l_Lean_Syntax_isOfKind(x_28, x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_31 = lean_box(1); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_3); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_33 = l_Lean_Syntax_getArg(x_28, x_14); +lean_dec(x_28); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_27); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_33); +x_36 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__4; +x_37 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; +x_38 = lean_box(0); +x_39 = l_Lean_Elab_Command_expandInitialize___lambda__4(x_1, x_36, x_9, x_37, x_10, x_15, x_38, x_34, x_35, x_2, x_3); +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_dec(x_21); +x_40 = lean_box(0); +x_41 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__4; +x_42 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; +x_43 = lean_box(0); +x_44 = l_Lean_Elab_Command_expandInitialize___lambda__4(x_1, x_41, x_9, x_42, x_10, x_15, x_43, x_40, x_40, x_2, x_3); +return x_44; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l_Lean_Elab_Command_expandInitialize___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, x_16, x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_Lean_Elab_Command_expandInitialize___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_2); +lean_dec(x_1); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___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: +{ +lean_object* x_15; +x_15 = l_Lean_Elab_Command_expandInitialize___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); +lean_dec(x_2); +lean_dec(x_1); +return x_15; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1() { _start: { lean_object* x_1; @@ -14342,17 +14696,17 @@ x_1 = lean_mk_string_from_bytes("expandInitialize", 16); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__2; -x_2 = l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__5() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__3() { _start: { lean_object* x_1; @@ -14365,9 +14719,9 @@ _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_Command_expandMutualNamespace___closed__5; -x_3 = l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__5; +x_3 = l_Lean_Elab_Command_expandInitialize___closed__1; +x_4 = l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -14376,7 +14730,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInitialize_decl _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(329u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14388,8 +14742,8 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInitialize_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(355u); -x_2 = lean_unsigned_to_nat(34u); +x_1 = lean_unsigned_to_nat(343u); +x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -14403,7 +14757,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_Command_expandInitialize_declRange___closed__1; x_2 = lean_unsigned_to_nat(49u); x_3 = l___regBuiltin_Lean_Elab_Command_expandInitialize_declRange___closed__2; -x_4 = lean_unsigned_to_nat(34u); +x_4 = lean_unsigned_to_nat(31u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -14416,7 +14770,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInitialize_decl _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(329u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14428,7 +14782,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandInitialize_decl _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(329u); x_2 = lean_unsigned_to_nat(69u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14468,180 +14822,13 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize_declR _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2; x_3 = l___regBuiltin_Lean_Elab_Command_expandInitialize_declRange___closed__7; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandBuiltinInitialize(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = 1; -x_5 = l_Lean_Elab_Command_expandInitCmd(x_4, x_1, x_2, x_3); -return x_5; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("builtin_initialize", 18); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("expandBuiltinInitialize", 23); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__2; -x_2 = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandBuiltinInitialize), 3, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize(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_Command_expandMutualNamespace___closed__5; -x_3 = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___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_Command_expandBuiltinInitialize_declRange___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(357u); -x_2 = lean_unsigned_to_nat(57u); -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_Command_expandBuiltinInitialize_declRange___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(358u); -x_2 = lean_unsigned_to_nat(33u); -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_Command_expandBuiltinInitialize_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_Command_expandBuiltinInitialize_declRange___closed__1; -x_2 = lean_unsigned_to_nat(57u); -x_3 = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_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); -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_Command_expandBuiltinInitialize_declRange___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(357u); -x_2 = lean_unsigned_to_nat(61u); -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_Command_expandBuiltinInitialize_declRange___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(357u); -x_2 = lean_unsigned_to_nat(84u); -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_Command_expandBuiltinInitialize_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_Command_expandBuiltinInitialize_declRange___closed__4; -x_2 = lean_unsigned_to_nat(61u); -x_3 = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__5; -x_4 = lean_unsigned_to_nat(84u); -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_Command_expandBuiltinInitialize_declRange___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__3; -x_2 = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_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_Command_expandBuiltinInitialize_declRange(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__4; -x_3 = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__7; -x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Declaration___hyg_7118_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Declaration___hyg_7296_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -15094,164 +15281,136 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabAttr_declRange___close res = l___regBuiltin_Lean_Elab_Command_elabAttr_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__1 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__1); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__2); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__3 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__3); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__4 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__4); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__5 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__5); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__6); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__7 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__7); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__8 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__8); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__9); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__10 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__10); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__11 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__11); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__12 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__12); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__13 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__13); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__14 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__14(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__14); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__15 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__15(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__15); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__16 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__16(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__16); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__17); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__18 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__18(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__18); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__19); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__20 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__20(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__20); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__21); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__22 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__22(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__22); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__23); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__24 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__24(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__24); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__25 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__25(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__25); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__26); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__27 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__27(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__27); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__28 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__28(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__28); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__29); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__30 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__30(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__30); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__31); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__33 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__33(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__33); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__34); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__35 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__35(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__35); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__36 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__36(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__36); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__38); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__39 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__39(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__39); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__40); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__41 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__41(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__41); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__42 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__42(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__42); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__43 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__43(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__43); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__44 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__44(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__44); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__45 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__45(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__45); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__46 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__46(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__46); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__47); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__48 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__48(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__48); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__49); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__50); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__51); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52); -l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53 = _init_l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__53); -l_Lean_Elab_Command_expandInitCmd___closed__1 = _init_l_Lean_Elab_Command_expandInitCmd___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__1); -l_Lean_Elab_Command_expandInitCmd___closed__2 = _init_l_Lean_Elab_Command_expandInitCmd___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__2); -l_Lean_Elab_Command_expandInitCmd___closed__3 = _init_l_Lean_Elab_Command_expandInitCmd___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__3); -l_Lean_Elab_Command_expandInitCmd___closed__4 = _init_l_Lean_Elab_Command_expandInitCmd___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__4); -l_Lean_Elab_Command_expandInitCmd___closed__5 = _init_l_Lean_Elab_Command_expandInitCmd___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__5); -l_Lean_Elab_Command_expandInitCmd___closed__6 = _init_l_Lean_Elab_Command_expandInitCmd___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__6); -l_Lean_Elab_Command_expandInitCmd___closed__7 = _init_l_Lean_Elab_Command_expandInitCmd___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__7); -l_Lean_Elab_Command_expandInitCmd___closed__8 = _init_l_Lean_Elab_Command_expandInitCmd___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__8); -l_Lean_Elab_Command_expandInitCmd___closed__9 = _init_l_Lean_Elab_Command_expandInitCmd___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__9); -l_Lean_Elab_Command_expandInitCmd___closed__10 = _init_l_Lean_Elab_Command_expandInitCmd___closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__10); -l_Lean_Elab_Command_expandInitCmd___closed__11 = _init_l_Lean_Elab_Command_expandInitCmd___closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__11); -l_Lean_Elab_Command_expandInitCmd___closed__12 = _init_l_Lean_Elab_Command_expandInitCmd___closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__12); -l_Lean_Elab_Command_expandInitCmd___closed__13 = _init_l_Lean_Elab_Command_expandInitCmd___closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__13); -l_Lean_Elab_Command_expandInitCmd___closed__14 = _init_l_Lean_Elab_Command_expandInitCmd___closed__14(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__14); -l_Lean_Elab_Command_expandInitCmd___closed__15 = _init_l_Lean_Elab_Command_expandInitCmd___closed__15(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__15); -l_Lean_Elab_Command_expandInitCmd___closed__16 = _init_l_Lean_Elab_Command_expandInitCmd___closed__16(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__16); -l_Lean_Elab_Command_expandInitCmd___closed__17 = _init_l_Lean_Elab_Command_expandInitCmd___closed__17(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__17); -l_Lean_Elab_Command_expandInitCmd___closed__18 = _init_l_Lean_Elab_Command_expandInitCmd___closed__18(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__18); -l_Lean_Elab_Command_expandInitCmd___closed__19 = _init_l_Lean_Elab_Command_expandInitCmd___closed__19(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__19); -l_Lean_Elab_Command_expandInitCmd___closed__20 = _init_l_Lean_Elab_Command_expandInitCmd___closed__20(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__20); -l_Lean_Elab_Command_expandInitCmd___closed__21 = _init_l_Lean_Elab_Command_expandInitCmd___closed__21(); -lean_mark_persistent(l_Lean_Elab_Command_expandInitCmd___closed__21); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__2 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__2); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__3 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__3); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__4 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__4); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__5 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__5); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__6 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__6); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__7 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__7); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__8 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__8); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__9 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__9); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__10 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__10); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__11 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__11); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__12 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__12); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__13 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__13); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__14 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__14); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__15 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__15); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__16 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__16); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__17 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__17); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__18 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__18); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__19 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__19); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__20 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__20); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__21 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__21); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__22 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__22); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__23 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__23); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__24 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__24); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__25 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__25); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__26 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__26); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__27 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__27); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__28 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__28); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__29 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__29(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__29); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__30 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__30(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__30); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__31 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__31(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__31); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__32 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__32(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__32); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__33 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__33(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__33); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__34 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__34(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__34); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__35 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__35(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__35); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__36 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__36(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__36); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__37 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__37(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__37); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__38 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__38(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__38); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__39 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__39(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__39); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__40 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__40(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__40); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__41 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__41(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__41); +l_Lean_Elab_Command_expandInitialize___lambda__1___closed__42 = _init_l_Lean_Elab_Command_expandInitialize___lambda__1___closed__42(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__1___closed__42); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__1 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__1); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__2 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__2); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__3 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__3); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__4 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__4); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__5 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__5); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__6 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__6); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__7 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__7); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__8 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__8); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__9 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__9); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__10 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__10); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__11 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__11); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__12 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__12); +l_Lean_Elab_Command_expandInitialize___lambda__4___closed__13 = _init_l_Lean_Elab_Command_expandInitialize___lambda__4___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___lambda__4___closed__13); +l_Lean_Elab_Command_expandInitialize___closed__1 = _init_l_Lean_Elab_Command_expandInitialize___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___closed__1); +l_Lean_Elab_Command_expandInitialize___closed__2 = _init_l_Lean_Elab_Command_expandInitialize___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___closed__2); +l_Lean_Elab_Command_expandInitialize___closed__3 = _init_l_Lean_Elab_Command_expandInitialize___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___closed__3); +l_Lean_Elab_Command_expandInitialize___closed__4 = _init_l_Lean_Elab_Command_expandInitialize___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___closed__4); +l_Lean_Elab_Command_expandInitialize___closed__5 = _init_l_Lean_Elab_Command_expandInitialize___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___closed__5); +l_Lean_Elab_Command_expandInitialize___closed__6 = _init_l_Lean_Elab_Command_expandInitialize___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___closed__6); +l_Lean_Elab_Command_expandInitialize___closed__7 = _init_l_Lean_Elab_Command_expandInitialize___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandInitialize___closed__7); l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1); l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2); l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__3(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__3); -l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__4); -l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__5); res = l___regBuiltin_Lean_Elab_Command_expandInitialize(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -15272,37 +15431,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandInitialize_declRange res = l___regBuiltin_Lean_Elab_Command_expandInitialize_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__1); -l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__2); -l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__3); -l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__4); -l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__5); -res = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__1); -l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__2); -l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__3); -l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__4); -l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__5); -l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__6(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__6); -l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__7(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange___closed__7); -res = l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize_declRange(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Declaration___hyg_7118_(lean_io_mk_world()); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Declaration___hyg_7296_(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/BEq.c b/stage0/stdlib/Lean/Elab/Deriving/BEq.c index 7efd584809..e484c4622e 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/BEq.c +++ b/stage0/stdlib/Lean/Elab/Deriving/BEq.c @@ -1306,7 +1306,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_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__15; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__16; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__17; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Deriving/Basic.c b/stage0/stdlib/Lean/Elab/Deriving/Basic.c index d87a51b177..eb0960996d 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Basic.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Basic.c @@ -2216,7 +2216,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_Array_forInUnsafe_loop___at_Lean_Elab_elabDeriving___spec__19___closed__1; x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_elabDeriving___spec__19___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Array_forInUnsafe_loop___at_Lean_Elab_elabDeriving___spec__19___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Deriving/DecEq.c b/stage0/stdlib/Lean/Elab/Deriving/DecEq.c index 973cd192d5..468520a7c9 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/DecEq.c +++ b/stage0/stdlib/Lean/Elab/Deriving/DecEq.c @@ -2978,7 +2978,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_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__5; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__6; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__7; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c b/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c index cf6100eec6..da4b96d6a2 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c +++ b/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c @@ -36,7 +36,6 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk lean_object* l_Lean_LocalDecl_userName(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__13; 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; @@ -44,6 +43,7 @@ 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*, 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_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_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*); @@ -59,6 +59,7 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la 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; 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; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__35; @@ -118,7 +119,6 @@ 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; @@ -187,7 +187,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJs 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*); @@ -217,7 +216,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_6449_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527_(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*); @@ -247,12 +246,10 @@ lean_object* l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1 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_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6449____closed__1; 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*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__1___closed__3; -static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6449____closed__2; LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__23; lean_object* l_panic___at_Lean_Elab_Deriving_mkLocalInstanceLetDecls___spec__1(lean_object*); @@ -296,6 +293,7 @@ static lean_object* l_Array_qsort_sort___at_Lean_Elab_Deriving_FromToJson_mkFrom 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; 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; @@ -304,8 +302,8 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk 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*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__2___closed__8; -static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__11; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__22; static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__21; lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -335,6 +333,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJs 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_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*); +static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__39; 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*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__12; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; @@ -343,7 +342,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandl static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__17; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__27; 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_mkFromJsonInstanceHandler___lambda__1___closed__12; 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_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; @@ -357,6 +355,7 @@ static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFro 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_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; @@ -393,11 +392,11 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la 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_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__16; 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*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__10; 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_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527____closed__2; 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; @@ -428,12 +427,15 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la 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; +static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__34; lean_object* l_String_dropRightWhile(lean_object*, lean_object*); lean_object* l_Lean_Elab_Deriving_mkInductiveApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__11; uint8_t l_Lean_isStructure(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527____closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__9(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__4; @@ -951,7 +953,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_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__1; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -6014,7 +6016,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandle _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("declValSimple", 13); +x_1 = lean_mk_string_from_bytes("typeSpec", 8); return x_1; } } @@ -6022,7 +6024,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandle _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__11; +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_mkToJsonInstanceHandler___lambda__3___closed__26; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -6032,7 +6034,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandle _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes(":=", 2); +x_1 = lean_mk_string_from_bytes(":", 1); return x_1; } } @@ -6040,12 +6042,95 @@ static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandle _start: { lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30() { +_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_mkToJsonInstanceHandler___spec__7___closed__9; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__29; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31() { +_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__2; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__32() { +_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__31; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__33() { +_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__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_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declValSimple", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__11; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__34; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(":=", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(7u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__38() { _start: { lean_object* x_1; @@ -6053,12 +6138,12 @@ x_1 = lean_mk_string_from_bytes("partial", 7); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__11; -x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__38; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -6096,43 +6181,43 @@ x_21 = lean_nat_dec_lt(x_17, x_20); lean_dec(x_20); if (x_18 == 0) { -lean_object* x_218; lean_object* x_219; +lean_object* x_252; lean_object* x_253; lean_dec(x_15); -x_218 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; -x_219 = l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(x_218); -x_22 = x_219; -goto block_217; +x_252 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; +x_253 = l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(x_252); +x_22 = x_253; +goto block_251; } else { -lean_object* x_220; -x_220 = lean_array_fget(x_15, x_17); +lean_object* x_254; +x_254 = lean_array_fget(x_15, x_17); lean_dec(x_15); -x_22 = x_220; -goto block_217; +x_22 = x_254; +goto block_251; } -block_217: +block_251: { lean_object* x_23; lean_object* x_24; x_23 = lean_mk_syntax_ident(x_22); if (x_21 == 0) { -lean_object* x_214; lean_object* x_215; +lean_object* x_248; lean_object* x_249; lean_dec(x_19); -x_214 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; -x_215 = l_panic___at_Lean_Elab_Deriving_mkLocalInstanceLetDecls___spec__1(x_214); -x_24 = x_215; -goto block_213; +x_248 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; +x_249 = l_panic___at_Lean_Elab_Deriving_mkLocalInstanceLetDecls___spec__1(x_248); +x_24 = x_249; +goto block_247; } else { -lean_object* x_216; -x_216 = lean_array_fget(x_19, x_17); +lean_object* x_250; +x_250 = lean_array_fget(x_19, x_17); lean_dec(x_19); -x_24 = x_216; -goto block_213; +x_24 = x_250; +goto block_247; } -block_213: +block_247: { lean_object* x_25; lean_object* x_26; lean_object* x_27; x_25 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__2; @@ -6248,7 +6333,7 @@ lean_ctor_set(x_73, 2, x_71); x_74 = lean_ctor_get_uint8(x_13, sizeof(void*)*2); if (x_74 == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 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_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_inc(x_8); x_75 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_42); x_76 = lean_ctor_get(x_75, 0); @@ -6256,255 +6341,325 @@ lean_inc(x_76); x_77 = lean_ctor_get(x_75, 1); lean_inc(x_77); lean_dec(x_75); -x_78 = lean_st_ref_get(x_9, x_77); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__16; +x_78 = lean_ctor_get(x_8, 10); +lean_inc(x_78); +x_79 = lean_st_ref_get(x_9, x_77); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); +x_82 = lean_ctor_get(x_80, 0); +lean_inc(x_82); +lean_dec(x_80); +x_83 = lean_environment_main_module(x_82); +x_84 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__16; lean_inc(x_76); -x_81 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_81, 0, x_76); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_array_push(x_60, x_81); -x_83 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__17; -x_84 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_84, 0, x_53); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_84, 2, x_82); -x_85 = lean_array_push(x_60, x_84); -x_86 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_86, 0, x_53); -lean_ctor_set(x_86, 1, x_54); -lean_ctor_set(x_86, 2, x_85); -x_87 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__19; -x_88 = lean_array_push(x_87, x_86); -x_89 = lean_array_push(x_88, x_66); -x_90 = lean_array_push(x_89, x_66); -x_91 = lean_array_push(x_90, x_66); -x_92 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__15; -x_93 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_93, 0, x_53); -lean_ctor_set(x_93, 1, x_92); -lean_ctor_set(x_93, 2, x_91); -x_94 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__20; +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_76); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_array_push(x_60, x_85); +x_87 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__17; +x_88 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_88, 0, x_53); +lean_ctor_set(x_88, 1, x_87); +lean_ctor_set(x_88, 2, x_86); +x_89 = lean_array_push(x_60, x_88); +x_90 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_90, 0, x_53); +lean_ctor_set(x_90, 1, x_54); +lean_ctor_set(x_90, 2, x_89); +x_91 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__19; +x_92 = lean_array_push(x_91, x_90); +x_93 = lean_array_push(x_92, x_66); +x_94 = lean_array_push(x_93, x_66); +x_95 = lean_array_push(x_94, x_66); +x_96 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__15; +x_97 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_97, 0, x_53); +lean_ctor_set(x_97, 1, x_96); +lean_ctor_set(x_97, 2, x_95); +x_98 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__20; lean_inc(x_76); -x_95 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_95, 0, x_76); -lean_ctor_set(x_95, 1, x_94); -x_96 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__7; -x_97 = lean_array_push(x_96, x_23); -x_98 = lean_array_push(x_97, x_66); -x_99 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__23; -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_53); -lean_ctor_set(x_100, 1, x_99); -lean_ctor_set(x_100, 2, x_98); -x_101 = lean_ctor_get(x_28, 0); -lean_inc(x_101); +x_99 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_99, 0, x_76); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__7; +x_101 = lean_array_push(x_100, x_23); +x_102 = lean_array_push(x_101, x_66); +x_103 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__23; +x_104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_104, 0, x_53); +lean_ctor_set(x_104, 1, x_103); +lean_ctor_set(x_104, 2, x_102); +x_105 = lean_ctor_get(x_28, 0); +lean_inc(x_105); lean_dec(x_28); -x_102 = l_Array_append___rarg(x_51, x_101); -x_103 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_103, 0, x_53); -lean_ctor_set(x_103, 1, x_54); -lean_ctor_set(x_103, 2, x_102); -x_104 = lean_array_push(x_96, x_103); -x_105 = lean_array_push(x_104, x_66); -x_106 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__25; +x_106 = l_Array_append___rarg(x_51, x_105); x_107 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_107, 0, x_53); -lean_ctor_set(x_107, 1, x_106); -lean_ctor_set(x_107, 2, x_105); +lean_ctor_set(x_107, 1, x_54); +lean_ctor_set(x_107, 2, x_106); x_108 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; +lean_inc(x_76); x_109 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_109, 0, x_76); lean_ctor_set(x_109, 1, x_108); -x_110 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; -x_111 = lean_array_push(x_110, x_109); -x_112 = lean_array_push(x_111, x_73); -x_113 = lean_array_push(x_112, x_66); -x_114 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__27; -x_115 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_115, 0, x_53); -lean_ctor_set(x_115, 1, x_114); -lean_ctor_set(x_115, 2, x_113); -x_116 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__29; -x_117 = lean_array_push(x_116, x_95); -x_118 = lean_array_push(x_117, x_100); -x_119 = lean_array_push(x_118, x_107); -x_120 = lean_array_push(x_119, x_115); -x_121 = lean_array_push(x_120, x_66); -x_122 = lean_array_push(x_121, x_66); -x_123 = lean_array_push(x_122, x_66); -x_124 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__21; -x_125 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_125, 0, x_53); -lean_ctor_set(x_125, 1, x_124); -lean_ctor_set(x_125, 2, x_123); -x_126 = lean_array_push(x_96, x_93); -x_127 = lean_array_push(x_126, x_125); -x_128 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__13; -x_129 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_129, 0, x_53); -lean_ctor_set(x_129, 1, x_128); -lean_ctor_set(x_129, 2, x_127); -x_130 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2(x_13, x_25, x_3, x_60, x_129, x_4, x_5, x_6, x_7, x_8, x_9, x_79); +x_110 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__8; +x_111 = l_Lean_addMacroScope(x_83, x_110, x_78); +x_112 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30; +x_113 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__33; +lean_inc(x_76); +x_114 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_114, 0, x_76); +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_100, x_109); +x_116 = lean_array_push(x_115, x_114); +x_117 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__27; +x_118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_118, 0, x_53); +lean_ctor_set(x_118, 1, x_117); +lean_ctor_set(x_118, 2, x_116); +x_119 = lean_array_push(x_60, x_118); +x_120 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_120, 0, x_53); +lean_ctor_set(x_120, 1, x_54); +lean_ctor_set(x_120, 2, x_119); +x_121 = lean_array_push(x_100, x_107); +x_122 = lean_array_push(x_121, x_120); +x_123 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__25; +x_124 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_124, 0, x_53); +lean_ctor_set(x_124, 1, x_123); +lean_ctor_set(x_124, 2, x_122); +x_125 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36; +x_126 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_126, 0, x_76); +lean_ctor_set(x_126, 1, x_125); +x_127 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; +x_128 = lean_array_push(x_127, x_126); +x_129 = lean_array_push(x_128, x_73); +x_130 = lean_array_push(x_129, x_66); +x_131 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__35; +x_132 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_132, 0, x_53); +lean_ctor_set(x_132, 1, x_131); +lean_ctor_set(x_132, 2, x_130); +x_133 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__37; +x_134 = lean_array_push(x_133, x_99); +x_135 = lean_array_push(x_134, x_104); +x_136 = lean_array_push(x_135, x_124); +x_137 = lean_array_push(x_136, x_132); +x_138 = lean_array_push(x_137, x_66); +x_139 = lean_array_push(x_138, x_66); +x_140 = lean_array_push(x_139, x_66); +x_141 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__21; +x_142 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_142, 0, x_53); +lean_ctor_set(x_142, 1, x_141); +lean_ctor_set(x_142, 2, x_140); +x_143 = lean_array_push(x_100, x_97); +x_144 = lean_array_push(x_143, x_142); +x_145 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__13; +x_146 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_146, 0, x_53); +lean_ctor_set(x_146, 1, x_145); +lean_ctor_set(x_146, 2, x_144); +x_147 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2(x_13, x_25, x_3, x_60, x_146, x_4, x_5, x_6, x_7, x_8, x_9, x_81); lean_dec(x_13); -return x_130; +return x_147; } else { -lean_object* x_131; lean_object* x_132; -x_131 = lean_ctor_get(x_28, 1); -lean_inc(x_131); +lean_object* x_148; lean_object* x_149; +x_148 = lean_ctor_get(x_28, 1); +lean_inc(x_148); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_132 = l_Lean_Elab_Deriving_mkLocalInstanceLetDecls(x_13, x_25, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_42); -if (lean_obj_tag(x_132) == 0) +x_149 = l_Lean_Elab_Deriving_mkLocalInstanceLetDecls(x_13, x_25, x_148, x_4, x_5, x_6, x_7, x_8, x_9, x_42); +if (lean_obj_tag(x_149) == 0) { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 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; -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_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; +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); 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_135 = l_Lean_Elab_Deriving_mkLet(x_133, x_73, x_4, x_5, x_6, x_7, x_8, x_9, x_134); -lean_dec(x_133); -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_135, 1); -lean_inc(x_137); -lean_dec(x_135); +x_152 = l_Lean_Elab_Deriving_mkLet(x_150, x_73, x_4, x_5, x_6, x_7, x_8, x_9, x_151); +lean_dec(x_150); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +lean_dec(x_152); lean_inc(x_8); -x_138 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_137); -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_138, 1); -lean_inc(x_140); -lean_dec(x_138); -x_141 = lean_st_ref_get(x_9, x_140); -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); -lean_dec(x_141); -x_143 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__16; -lean_inc(x_139); -x_144 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_144, 0, x_139); -lean_ctor_set(x_144, 1, x_143); -x_145 = lean_array_push(x_60, x_144); -x_146 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__17; -x_147 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_147, 0, x_53); -lean_ctor_set(x_147, 1, x_146); -lean_ctor_set(x_147, 2, x_145); -x_148 = lean_array_push(x_60, x_147); -x_149 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_149, 0, x_53); -lean_ctor_set(x_149, 1, x_54); -lean_ctor_set(x_149, 2, x_148); -x_150 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30; -lean_inc(x_139); -x_151 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_151, 0, x_139); -lean_ctor_set(x_151, 1, x_150); -x_152 = lean_array_push(x_60, x_151); -x_153 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31; -x_154 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_154, 0, x_53); -lean_ctor_set(x_154, 1, x_153); -lean_ctor_set(x_154, 2, x_152); -x_155 = lean_array_push(x_60, x_154); -x_156 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_156, 0, x_53); -lean_ctor_set(x_156, 1, x_54); -lean_ctor_set(x_156, 2, x_155); -x_157 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__19; -x_158 = lean_array_push(x_157, x_149); -x_159 = lean_array_push(x_158, x_66); -x_160 = lean_array_push(x_159, x_66); -x_161 = lean_array_push(x_160, x_156); -x_162 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__15; -x_163 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_163, 0, x_53); -lean_ctor_set(x_163, 1, x_162); -lean_ctor_set(x_163, 2, x_161); -x_164 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__20; -lean_inc(x_139); +x_155 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_154); +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +lean_dec(x_155); +x_158 = lean_ctor_get(x_8, 10); +lean_inc(x_158); +x_159 = lean_st_ref_get(x_9, x_157); +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +lean_dec(x_159); +x_162 = lean_ctor_get(x_160, 0); +lean_inc(x_162); +lean_dec(x_160); +x_163 = lean_environment_main_module(x_162); +x_164 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__16; +lean_inc(x_156); x_165 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_165, 0, x_139); +lean_ctor_set(x_165, 0, x_156); lean_ctor_set(x_165, 1, x_164); -x_166 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__7; -x_167 = lean_array_push(x_166, x_23); -x_168 = lean_array_push(x_167, x_66); -x_169 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__23; +x_166 = lean_array_push(x_60, x_165); +x_167 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__17; +x_168 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_168, 0, x_53); +lean_ctor_set(x_168, 1, x_167); +lean_ctor_set(x_168, 2, x_166); +x_169 = lean_array_push(x_60, x_168); x_170 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_170, 0, x_53); -lean_ctor_set(x_170, 1, x_169); -lean_ctor_set(x_170, 2, x_168); -x_171 = lean_ctor_get(x_28, 0); -lean_inc(x_171); -lean_dec(x_28); -x_172 = l_Array_append___rarg(x_51, x_171); -x_173 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_173, 0, x_53); -lean_ctor_set(x_173, 1, x_54); -lean_ctor_set(x_173, 2, x_172); -x_174 = lean_array_push(x_166, x_173); -x_175 = lean_array_push(x_174, x_66); -x_176 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__25; +lean_ctor_set(x_170, 1, x_54); +lean_ctor_set(x_170, 2, x_169); +x_171 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__38; +lean_inc(x_156); +x_172 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_172, 0, x_156); +lean_ctor_set(x_172, 1, x_171); +x_173 = lean_array_push(x_60, x_172); +x_174 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__39; +x_175 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_175, 0, x_53); +lean_ctor_set(x_175, 1, x_174); +lean_ctor_set(x_175, 2, x_173); +x_176 = lean_array_push(x_60, x_175); x_177 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_177, 0, x_53); -lean_ctor_set(x_177, 1, x_176); -lean_ctor_set(x_177, 2, x_175); -x_178 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; -x_179 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_179, 0, x_139); -lean_ctor_set(x_179, 1, x_178); -x_180 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; -x_181 = lean_array_push(x_180, x_179); -x_182 = lean_array_push(x_181, x_136); -x_183 = lean_array_push(x_182, x_66); -x_184 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__27; -x_185 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_185, 0, x_53); -lean_ctor_set(x_185, 1, x_184); -lean_ctor_set(x_185, 2, x_183); -x_186 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__29; -x_187 = lean_array_push(x_186, x_165); -x_188 = lean_array_push(x_187, x_170); -x_189 = lean_array_push(x_188, x_177); -x_190 = lean_array_push(x_189, x_185); -x_191 = lean_array_push(x_190, x_66); -x_192 = lean_array_push(x_191, x_66); -x_193 = lean_array_push(x_192, x_66); -x_194 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__21; -x_195 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_195, 0, x_53); -lean_ctor_set(x_195, 1, x_194); -lean_ctor_set(x_195, 2, x_193); -x_196 = lean_array_push(x_166, x_163); -x_197 = lean_array_push(x_196, x_195); -x_198 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__13; -x_199 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_199, 0, x_53); -lean_ctor_set(x_199, 1, x_198); -lean_ctor_set(x_199, 2, x_197); -x_200 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2(x_13, x_25, x_3, x_60, x_199, x_4, x_5, x_6, x_7, x_8, x_9, x_142); +lean_ctor_set(x_177, 1, x_54); +lean_ctor_set(x_177, 2, x_176); +x_178 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__19; +x_179 = lean_array_push(x_178, x_170); +x_180 = lean_array_push(x_179, x_66); +x_181 = lean_array_push(x_180, x_66); +x_182 = lean_array_push(x_181, x_177); +x_183 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__15; +x_184 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_184, 0, x_53); +lean_ctor_set(x_184, 1, x_183); +lean_ctor_set(x_184, 2, x_182); +x_185 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__20; +lean_inc(x_156); +x_186 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_186, 0, x_156); +lean_ctor_set(x_186, 1, x_185); +x_187 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__7; +x_188 = lean_array_push(x_187, x_23); +x_189 = lean_array_push(x_188, x_66); +x_190 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__23; +x_191 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_191, 0, x_53); +lean_ctor_set(x_191, 1, x_190); +lean_ctor_set(x_191, 2, x_189); +x_192 = lean_ctor_get(x_28, 0); +lean_inc(x_192); +lean_dec(x_28); +x_193 = l_Array_append___rarg(x_51, x_192); +x_194 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_194, 0, x_53); +lean_ctor_set(x_194, 1, x_54); +lean_ctor_set(x_194, 2, x_193); +x_195 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; +lean_inc(x_156); +x_196 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_196, 0, x_156); +lean_ctor_set(x_196, 1, x_195); +x_197 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__8; +x_198 = l_Lean_addMacroScope(x_163, x_197, x_158); +x_199 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30; +x_200 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__33; +lean_inc(x_156); +x_201 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_201, 0, x_156); +lean_ctor_set(x_201, 1, x_199); +lean_ctor_set(x_201, 2, x_198); +lean_ctor_set(x_201, 3, x_200); +x_202 = lean_array_push(x_187, x_196); +x_203 = lean_array_push(x_202, x_201); +x_204 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__27; +x_205 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_205, 0, x_53); +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_alloc_ctor(1, 3, 0); +lean_ctor_set(x_207, 0, x_53); +lean_ctor_set(x_207, 1, x_54); +lean_ctor_set(x_207, 2, x_206); +x_208 = lean_array_push(x_187, x_194); +x_209 = lean_array_push(x_208, x_207); +x_210 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__25; +x_211 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_211, 0, x_53); +lean_ctor_set(x_211, 1, x_210); +lean_ctor_set(x_211, 2, x_209); +x_212 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36; +x_213 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_213, 0, x_156); +lean_ctor_set(x_213, 1, x_212); +x_214 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; +x_215 = lean_array_push(x_214, x_213); +x_216 = lean_array_push(x_215, x_153); +x_217 = lean_array_push(x_216, x_66); +x_218 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__35; +x_219 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_219, 0, x_53); +lean_ctor_set(x_219, 1, x_218); +lean_ctor_set(x_219, 2, x_217); +x_220 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__37; +x_221 = lean_array_push(x_220, x_186); +x_222 = lean_array_push(x_221, x_191); +x_223 = lean_array_push(x_222, x_211); +x_224 = lean_array_push(x_223, x_219); +x_225 = lean_array_push(x_224, x_66); +x_226 = lean_array_push(x_225, x_66); +x_227 = lean_array_push(x_226, x_66); +x_228 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__21; +x_229 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_229, 0, x_53); +lean_ctor_set(x_229, 1, x_228); +lean_ctor_set(x_229, 2, x_227); +x_230 = lean_array_push(x_187, x_184); +x_231 = lean_array_push(x_230, x_229); +x_232 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__13; +x_233 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_233, 0, x_53); +lean_ctor_set(x_233, 1, x_232); +lean_ctor_set(x_233, 2, x_231); +x_234 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2(x_13, x_25, x_3, x_60, x_233, x_4, x_5, x_6, x_7, x_8, x_9, x_161); lean_dec(x_13); -return x_200; +return x_234; } else { -uint8_t x_201; +uint8_t x_235; lean_dec(x_73); lean_dec(x_28); lean_dec(x_23); @@ -6515,30 +6670,30 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_201 = !lean_is_exclusive(x_132); -if (x_201 == 0) +x_235 = !lean_is_exclusive(x_149); +if (x_235 == 0) { -return x_132; +return x_149; } else { -lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_202 = lean_ctor_get(x_132, 0); -x_203 = lean_ctor_get(x_132, 1); -lean_inc(x_203); -lean_inc(x_202); -lean_dec(x_132); -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_202); -lean_ctor_set(x_204, 1, x_203); -return x_204; +lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_236 = lean_ctor_get(x_149, 0); +x_237 = lean_ctor_get(x_149, 1); +lean_inc(x_237); +lean_inc(x_236); +lean_dec(x_149); +x_238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_238, 0, x_236); +lean_ctor_set(x_238, 1, x_237); +return x_238; } } } } else { -uint8_t x_205; +uint8_t x_239; lean_dec(x_31); lean_dec(x_28); lean_dec(x_23); @@ -6549,29 +6704,29 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_205 = !lean_is_exclusive(x_35); -if (x_205 == 0) +x_239 = !lean_is_exclusive(x_35); +if (x_239 == 0) { return x_35; } else { -lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_206 = lean_ctor_get(x_35, 0); -x_207 = lean_ctor_get(x_35, 1); -lean_inc(x_207); -lean_inc(x_206); +lean_object* x_240; lean_object* x_241; lean_object* x_242; +x_240 = lean_ctor_get(x_35, 0); +x_241 = lean_ctor_get(x_35, 1); +lean_inc(x_241); +lean_inc(x_240); lean_dec(x_35); -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; +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_240); +lean_ctor_set(x_242, 1, x_241); +return x_242; } } } else { -uint8_t x_209; +uint8_t x_243; lean_dec(x_23); lean_dec(x_13); lean_dec(x_9); @@ -6581,23 +6736,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_209 = !lean_is_exclusive(x_27); -if (x_209 == 0) +x_243 = !lean_is_exclusive(x_27); +if (x_243 == 0) { return x_27; } else { -lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_210 = lean_ctor_get(x_27, 0); -x_211 = lean_ctor_get(x_27, 1); -lean_inc(x_211); -lean_inc(x_210); +lean_object* x_244; lean_object* x_245; lean_object* x_246; +x_244 = lean_ctor_get(x_27, 0); +x_245 = lean_ctor_get(x_27, 1); +lean_inc(x_245); +lean_inc(x_244); lean_dec(x_27); -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_210); -lean_ctor_set(x_212, 1, x_211); -return x_212; +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_244); +lean_ctor_set(x_246, 1, x_245); +return x_246; } } } @@ -6605,7 +6760,7 @@ return x_212; } else { -uint8_t x_221; +uint8_t x_255; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6613,23 +6768,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_221 = !lean_is_exclusive(x_12); -if (x_221 == 0) +x_255 = !lean_is_exclusive(x_12); +if (x_255 == 0) { return x_12; } else { -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_12, 0); -x_223 = lean_ctor_get(x_12, 1); -lean_inc(x_223); -lean_inc(x_222); +lean_object* x_256; lean_object* x_257; lean_object* x_258; +x_256 = lean_ctor_get(x_12, 0); +x_257 = lean_ctor_get(x_12, 1); +lean_inc(x_257); +lean_inc(x_256); lean_dec(x_12); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_222); -lean_ctor_set(x_224, 1, x_223); -return x_224; +x_258 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_258, 0, x_256); +lean_ctor_set(x_258, 1, x_257); +return x_258; } } } @@ -6656,8 +6811,8 @@ static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandle _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__2; -x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -6666,9 +6821,11 @@ static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandle _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__3; -x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__3; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -6678,7 +6835,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__4___closed__4; -x_3 = lean_alloc_ctor(0, 2, 0); +x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -6687,24 +6844,12 @@ return x_3; static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___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_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__7() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string_from_bytes("<|", 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__8() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__7() { _start: { lean_object* x_1; @@ -6712,22 +6857,22 @@ x_1 = lean_mk_string_from_bytes("List.join", 9); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__9() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__8; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__7; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__10() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__8; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__7; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__9; +x_3 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__8; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -6735,7 +6880,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__11() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__10() { _start: { lean_object* x_1; @@ -6743,17 +6888,17 @@ x_1 = lean_mk_string_from_bytes("List", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__12() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__11; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__13() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__12() { _start: { lean_object* x_1; @@ -6761,13 +6906,25 @@ x_1 = lean_mk_string_from_bytes("join", 4); return x_1; } } +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__11; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___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_mkToJsonInstanceHandler___lambda__4___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__12; +x_1 = lean_box(0); x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__13; -x_3 = l_Lean_Name_str___override(x_1, x_2); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -6777,18 +6934,6 @@ _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__4___closed__14; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__16() { -_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__4___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); @@ -6810,36 +6955,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_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; 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_192 = lean_ctor_get(x_12, 0); -lean_inc(x_192); -x_193 = lean_array_get_size(x_192); -x_194 = lean_unsigned_to_nat(0u); -x_195 = lean_nat_dec_lt(x_194, x_193); -lean_dec(x_193); -if (x_195 == 0) +x_205 = lean_ctor_get(x_12, 0); +lean_inc(x_205); +x_206 = lean_array_get_size(x_205); +x_207 = lean_unsigned_to_nat(0u); +x_208 = lean_nat_dec_lt(x_207, x_206); +lean_dec(x_206); +if (x_208 == 0) { -lean_object* x_196; lean_object* x_197; -lean_dec(x_192); -x_196 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; -x_197 = l_panic___at_Lean_Elab_Deriving_mkLocalInstanceLetDecls___spec__1(x_196); -x_14 = x_197; -goto block_191; +lean_object* x_209; lean_object* x_210; +lean_dec(x_205); +x_209 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; +x_210 = l_panic___at_Lean_Elab_Deriving_mkLocalInstanceLetDecls___spec__1(x_209); +x_14 = x_210; +goto block_204; } else { -lean_object* x_198; -x_198 = lean_array_fget(x_192, x_194); -lean_dec(x_192); -x_14 = x_198; -goto block_191; +lean_object* x_211; +x_211 = lean_array_fget(x_205, x_207); +lean_dec(x_205); +x_14 = x_211; +goto block_204; } -block_191: +block_204: { lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__2; @@ -6853,7 +6998,7 @@ lean_inc(x_3); 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; 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; 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_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; 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; 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_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -6951,280 +7096,309 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_46); lean_ctor_set(x_69, 1, x_50); lean_ctor_set(x_69, 2, x_68); -x_70 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__7; -x_71 = lean_array_push(x_70, x_69); -x_72 = lean_array_push(x_71, x_54); -x_73 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__25; -x_74 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_74, 0, x_46); -lean_ctor_set(x_74, 1, x_73); -lean_ctor_set(x_74, 2, x_72); -x_75 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; +x_70 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; lean_inc(x_34); -x_76 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_76, 0, x_34); -lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__4; +x_71 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_71, 0, x_34); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__8; lean_inc(x_36); lean_inc(x_41); -x_78 = l_Lean_addMacroScope(x_41, x_77, x_36); -x_79 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__3; -x_80 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__6; +x_73 = l_Lean_addMacroScope(x_41, x_72, x_36); +x_74 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30; +x_75 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__33; lean_inc(x_34); -x_81 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_81, 0, x_34); -lean_ctor_set(x_81, 1, x_79); -lean_ctor_set(x_81, 2, x_78); -lean_ctor_set(x_81, 3, x_80); -x_82 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__7; +x_76 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_76, 0, x_34); +lean_ctor_set(x_76, 1, x_74); +lean_ctor_set(x_76, 2, x_73); +lean_ctor_set(x_76, 3, x_75); +x_77 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__7; +x_78 = lean_array_push(x_77, x_71); +x_79 = lean_array_push(x_78, x_76); +x_80 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__27; +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_46); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_79); +x_82 = lean_array_push(x_44, x_81); +x_83 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_83, 0, x_46); +lean_ctor_set(x_83, 1, x_50); +lean_ctor_set(x_83, 2, x_82); +x_84 = lean_array_push(x_77, x_69); +x_85 = lean_array_push(x_84, x_83); +x_86 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__25; +x_87 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_87, 0, x_46); +lean_ctor_set(x_87, 1, x_86); +lean_ctor_set(x_87, 2, x_85); +x_88 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36; lean_inc(x_34); -x_83 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_83, 0, x_34); -lean_ctor_set(x_83, 1, x_82); -x_84 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__14; -x_85 = l_Lean_addMacroScope(x_41, x_84, x_36); -x_86 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__10; -x_87 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__16; +x_89 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_89, 0, x_34); +lean_ctor_set(x_89, 1, x_88); +x_90 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__4; +lean_inc(x_36); +lean_inc(x_41); +x_91 = l_Lean_addMacroScope(x_41, x_90, x_36); +x_92 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__3; +x_93 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__5; lean_inc(x_34); -x_88 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_88, 0, x_34); -lean_ctor_set(x_88, 1, x_86); -lean_ctor_set(x_88, 2, x_85); -lean_ctor_set(x_88, 3, x_87); -x_89 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_94 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_94, 0, x_34); +lean_ctor_set(x_94, 1, x_92); +lean_ctor_set(x_94, 2, x_91); +lean_ctor_set(x_94, 3, x_93); +x_95 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__6; lean_inc(x_34); -x_90 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_90, 0, x_34); -lean_ctor_set(x_90, 1, x_89); -x_91 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; -x_92 = l_Lean_mkSepArray(x_31, x_91); -lean_dec(x_31); -x_93 = l_Array_append___rarg(x_67, x_92); -x_94 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_94, 0, x_46); -lean_ctor_set(x_94, 1, x_50); -lean_ctor_set(x_94, 2, x_93); -x_95 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; x_96 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_96, 0, x_34); lean_ctor_set(x_96, 1, x_95); -x_97 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; -x_98 = lean_array_push(x_97, x_90); -x_99 = lean_array_push(x_98, x_94); -x_100 = lean_array_push(x_99, x_96); -x_101 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; -x_102 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_102, 0, x_46); -lean_ctor_set(x_102, 1, x_101); -lean_ctor_set(x_102, 2, x_100); -x_103 = lean_array_push(x_44, x_102); -x_104 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_104, 0, x_46); -lean_ctor_set(x_104, 1, x_50); -lean_ctor_set(x_104, 2, x_103); -x_105 = lean_array_push(x_70, x_88); -x_106 = lean_array_push(x_105, x_104); -x_107 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__3; -x_108 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_108, 0, x_46); -lean_ctor_set(x_108, 1, x_107); -lean_ctor_set(x_108, 2, x_106); -x_109 = lean_array_push(x_97, x_81); -x_110 = lean_array_push(x_109, x_83); -x_111 = lean_array_push(x_110, x_108); -x_112 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__2; -x_113 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_113, 0, x_46); -lean_ctor_set(x_113, 1, x_112); -lean_ctor_set(x_113, 2, x_111); -x_114 = lean_array_push(x_97, x_76); -x_115 = lean_array_push(x_114, x_113); -x_116 = lean_array_push(x_115, x_54); -x_117 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__27; -x_118 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_118, 0, x_46); -lean_ctor_set(x_118, 1, x_117); -lean_ctor_set(x_118, 2, x_116); -x_119 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__29; -x_120 = lean_array_push(x_119, x_61); -x_121 = lean_array_push(x_70, x_59); +x_97 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__13; +x_98 = l_Lean_addMacroScope(x_41, x_97, x_36); +x_99 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__9; +x_100 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__15; +lean_inc(x_34); +x_101 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_101, 0, x_34); +lean_ctor_set(x_101, 1, x_99); +lean_ctor_set(x_101, 2, x_98); +lean_ctor_set(x_101, 3, x_100); +x_102 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +lean_inc(x_34); +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_34); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; +x_105 = l_Lean_mkSepArray(x_31, x_104); +lean_dec(x_31); +x_106 = l_Array_append___rarg(x_67, x_105); +x_107 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_107, 0, x_46); +lean_ctor_set(x_107, 1, x_50); +lean_ctor_set(x_107, 2, x_106); +x_108 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_34); +lean_ctor_set(x_109, 1, x_108); +x_110 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; +x_111 = lean_array_push(x_110, x_103); +x_112 = lean_array_push(x_111, x_107); +x_113 = lean_array_push(x_112, x_109); +x_114 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_115 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_115, 0, x_46); +lean_ctor_set(x_115, 1, x_114); +lean_ctor_set(x_115, 2, x_113); +x_116 = lean_array_push(x_44, x_115); +x_117 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_117, 0, x_46); +lean_ctor_set(x_117, 1, x_50); +lean_ctor_set(x_117, 2, x_116); +x_118 = lean_array_push(x_77, x_101); +x_119 = lean_array_push(x_118, x_117); +x_120 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__3; +x_121 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_121, 0, x_46); +lean_ctor_set(x_121, 1, x_120); +lean_ctor_set(x_121, 2, x_119); +x_122 = lean_array_push(x_110, x_94); +x_123 = lean_array_push(x_122, x_96); +x_124 = lean_array_push(x_123, x_121); +x_125 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__2; +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_46); +lean_ctor_set(x_126, 1, x_125); +lean_ctor_set(x_126, 2, x_124); +x_127 = lean_array_push(x_110, x_89); +x_128 = lean_array_push(x_127, x_126); +x_129 = lean_array_push(x_128, x_54); +x_130 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__35; +x_131 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_131, 0, x_46); +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__37; +x_133 = lean_array_push(x_132, x_61); +x_134 = lean_array_push(x_77, x_59); if (x_65 == 0) { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; lean_dec(x_62); -x_122 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; -x_123 = l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(x_122); -x_124 = lean_mk_syntax_ident(x_123); -x_125 = lean_array_push(x_70, x_124); -x_126 = lean_array_push(x_125, x_54); -x_127 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__23; -x_128 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_128, 0, x_46); -lean_ctor_set(x_128, 1, x_127); -lean_ctor_set(x_128, 2, x_126); -x_129 = lean_array_push(x_120, x_128); -x_130 = lean_array_push(x_129, x_74); -x_131 = lean_array_push(x_130, x_118); -x_132 = lean_array_push(x_131, x_54); -x_133 = lean_array_push(x_132, x_54); -x_134 = lean_array_push(x_133, x_54); -x_135 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__21; -x_136 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_136, 0, x_46); -lean_ctor_set(x_136, 1, x_135); -lean_ctor_set(x_136, 2, x_134); -x_137 = lean_array_push(x_121, x_136); -x_138 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__13; -x_139 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_139, 0, x_46); -lean_ctor_set(x_139, 1, x_138); -lean_ctor_set(x_139, 2, x_137); -x_140 = 1; -x_141 = l_Lean_Elab_Deriving_mkInstanceCmds(x_12, x_15, x_2, x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_39); +x_135 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; +x_136 = l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(x_135); +x_137 = lean_mk_syntax_ident(x_136); +x_138 = lean_array_push(x_77, x_137); +x_139 = lean_array_push(x_138, x_54); +x_140 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__23; +x_141 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_141, 0, x_46); +lean_ctor_set(x_141, 1, x_140); +lean_ctor_set(x_141, 2, x_139); +x_142 = lean_array_push(x_133, x_141); +x_143 = lean_array_push(x_142, x_87); +x_144 = lean_array_push(x_143, x_131); +x_145 = lean_array_push(x_144, x_54); +x_146 = lean_array_push(x_145, x_54); +x_147 = lean_array_push(x_146, x_54); +x_148 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__21; +x_149 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_149, 0, x_46); +lean_ctor_set(x_149, 1, x_148); +lean_ctor_set(x_149, 2, x_147); +x_150 = lean_array_push(x_134, x_149); +x_151 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__13; +x_152 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_152, 0, x_46); +lean_ctor_set(x_152, 1, x_151); +lean_ctor_set(x_152, 2, x_150); +x_153 = 1; +x_154 = l_Lean_Elab_Deriving_mkInstanceCmds(x_12, x_15, x_2, x_153, x_3, x_4, x_5, x_6, x_7, x_8, x_39); lean_dec(x_12); -if (lean_obj_tag(x_141) == 0) +if (lean_obj_tag(x_154) == 0) { -uint8_t x_142; -x_142 = !lean_is_exclusive(x_141); -if (x_142 == 0) +uint8_t x_155; +x_155 = !lean_is_exclusive(x_154); +if (x_155 == 0) { -lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_143 = lean_ctor_get(x_141, 0); -x_144 = lean_array_push(x_44, x_139); -x_145 = l_Array_append___rarg(x_144, x_143); -lean_ctor_set(x_141, 0, x_145); -return x_141; -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_146 = lean_ctor_get(x_141, 0); -x_147 = lean_ctor_get(x_141, 1); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_141); -x_148 = lean_array_push(x_44, x_139); -x_149 = l_Array_append___rarg(x_148, x_146); -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_147); -return x_150; -} -} -else -{ -uint8_t x_151; -lean_dec(x_139); -x_151 = !lean_is_exclusive(x_141); -if (x_151 == 0) -{ -return x_141; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_141, 0); -x_153 = lean_ctor_get(x_141, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_141); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); +lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_156 = lean_ctor_get(x_154, 0); +x_157 = lean_array_push(x_44, x_152); +x_158 = l_Array_append___rarg(x_157, x_156); +lean_ctor_set(x_154, 0, x_158); return x_154; } +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_154, 0); +x_160 = lean_ctor_get(x_154, 1); +lean_inc(x_160); +lean_inc(x_159); +lean_dec(x_154); +x_161 = lean_array_push(x_44, x_152); +x_162 = l_Array_append___rarg(x_161, x_159); +x_163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_160); +return x_163; } } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; lean_object* x_173; -x_155 = lean_array_fget(x_62, x_64); +uint8_t x_164; +lean_dec(x_152); +x_164 = !lean_is_exclusive(x_154); +if (x_164 == 0) +{ +return x_154; +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_165 = lean_ctor_get(x_154, 0); +x_166 = lean_ctor_get(x_154, 1); +lean_inc(x_166); +lean_inc(x_165); +lean_dec(x_154); +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_165); +lean_ctor_set(x_167, 1, x_166); +return x_167; +} +} +} +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; 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; +x_168 = lean_array_fget(x_62, x_64); lean_dec(x_62); -x_156 = lean_mk_syntax_ident(x_155); -x_157 = lean_array_push(x_70, x_156); -x_158 = lean_array_push(x_157, x_54); -x_159 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__23; -x_160 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_160, 0, x_46); -lean_ctor_set(x_160, 1, x_159); -lean_ctor_set(x_160, 2, x_158); -x_161 = lean_array_push(x_120, x_160); -x_162 = lean_array_push(x_161, x_74); -x_163 = lean_array_push(x_162, x_118); -x_164 = lean_array_push(x_163, x_54); -x_165 = lean_array_push(x_164, x_54); -x_166 = lean_array_push(x_165, x_54); -x_167 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__21; -x_168 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_168, 0, x_46); -lean_ctor_set(x_168, 1, x_167); -lean_ctor_set(x_168, 2, x_166); -x_169 = lean_array_push(x_121, x_168); -x_170 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__13; -x_171 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_171, 0, x_46); -lean_ctor_set(x_171, 1, x_170); -lean_ctor_set(x_171, 2, x_169); -x_172 = 1; -x_173 = l_Lean_Elab_Deriving_mkInstanceCmds(x_12, x_15, x_2, x_172, x_3, x_4, x_5, x_6, x_7, x_8, x_39); +x_169 = lean_mk_syntax_ident(x_168); +x_170 = lean_array_push(x_77, x_169); +x_171 = lean_array_push(x_170, x_54); +x_172 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__23; +x_173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_173, 0, x_46); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set(x_173, 2, x_171); +x_174 = lean_array_push(x_133, x_173); +x_175 = lean_array_push(x_174, x_87); +x_176 = lean_array_push(x_175, x_131); +x_177 = lean_array_push(x_176, x_54); +x_178 = lean_array_push(x_177, x_54); +x_179 = lean_array_push(x_178, x_54); +x_180 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__21; +x_181 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_181, 0, x_46); +lean_ctor_set(x_181, 1, x_180); +lean_ctor_set(x_181, 2, x_179); +x_182 = lean_array_push(x_134, x_181); +x_183 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__13; +x_184 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_184, 0, x_46); +lean_ctor_set(x_184, 1, x_183); +lean_ctor_set(x_184, 2, x_182); +x_185 = 1; +x_186 = l_Lean_Elab_Deriving_mkInstanceCmds(x_12, x_15, x_2, x_185, x_3, x_4, x_5, x_6, x_7, x_8, x_39); lean_dec(x_12); -if (lean_obj_tag(x_173) == 0) -{ -uint8_t x_174; -x_174 = !lean_is_exclusive(x_173); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_175 = lean_ctor_get(x_173, 0); -x_176 = lean_array_push(x_44, x_171); -x_177 = l_Array_append___rarg(x_176, x_175); -lean_ctor_set(x_173, 0, x_177); -return x_173; -} -else -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_178 = lean_ctor_get(x_173, 0); -x_179 = lean_ctor_get(x_173, 1); -lean_inc(x_179); -lean_inc(x_178); -lean_dec(x_173); -x_180 = lean_array_push(x_44, x_171); -x_181 = l_Array_append___rarg(x_180, x_178); -x_182 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_182, 0, x_181); -lean_ctor_set(x_182, 1, x_179); -return x_182; -} -} -else -{ -uint8_t x_183; -lean_dec(x_171); -x_183 = !lean_is_exclusive(x_173); -if (x_183 == 0) -{ -return x_173; -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_184 = lean_ctor_get(x_173, 0); -x_185 = lean_ctor_get(x_173, 1); -lean_inc(x_185); -lean_inc(x_184); -lean_dec(x_173); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_184); -lean_ctor_set(x_186, 1, x_185); -return x_186; -} -} -} -} -else +if (lean_obj_tag(x_186) == 0) { uint8_t x_187; +x_187 = !lean_is_exclusive(x_186); +if (x_187 == 0) +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_188 = lean_ctor_get(x_186, 0); +x_189 = lean_array_push(x_44, x_184); +x_190 = l_Array_append___rarg(x_189, x_188); +lean_ctor_set(x_186, 0, x_190); +return x_186; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_191 = lean_ctor_get(x_186, 0); +x_192 = lean_ctor_get(x_186, 1); +lean_inc(x_192); +lean_inc(x_191); +lean_dec(x_186); +x_193 = lean_array_push(x_44, x_184); +x_194 = l_Array_append___rarg(x_193, x_191); +x_195 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_192); +return x_195; +} +} +else +{ +uint8_t x_196; +lean_dec(x_184); +x_196 = !lean_is_exclusive(x_186); +if (x_196 == 0) +{ +return x_186; +} +else +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_197 = lean_ctor_get(x_186, 0); +x_198 = lean_ctor_get(x_186, 1); +lean_inc(x_198); +lean_inc(x_197); +lean_dec(x_186); +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_197); +lean_ctor_set(x_199, 1, x_198); +return x_199; +} +} +} +} +else +{ +uint8_t x_200; lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); @@ -7233,30 +7407,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_187 = !lean_is_exclusive(x_17); -if (x_187 == 0) +x_200 = !lean_is_exclusive(x_17); +if (x_200 == 0) { return x_17; } else { -lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_188 = lean_ctor_get(x_17, 0); -x_189 = lean_ctor_get(x_17, 1); -lean_inc(x_189); -lean_inc(x_188); +lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_201 = lean_ctor_get(x_17, 0); +x_202 = lean_ctor_get(x_17, 1); +lean_inc(x_202); +lean_inc(x_201); lean_dec(x_17); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_188); -lean_ctor_set(x_190, 1, x_189); -return x_190; +x_203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_203, 0, x_201); +lean_ctor_set(x_203, 1, x_202); +return x_203; } } } } else { -uint8_t x_199; +uint8_t x_212; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -7264,23 +7438,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_199 = !lean_is_exclusive(x_11); -if (x_199 == 0) +x_212 = !lean_is_exclusive(x_11); +if (x_212 == 0) { return x_11; } else { -lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_200 = lean_ctor_get(x_11, 0); -x_201 = lean_ctor_get(x_11, 1); -lean_inc(x_201); -lean_inc(x_200); +lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_213 = lean_ctor_get(x_11, 0); +x_214 = lean_ctor_get(x_11, 1); +lean_inc(x_214); +lean_inc(x_213); lean_dec(x_11); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_200); -lean_ctor_set(x_202, 1, x_201); -return x_202; +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_213); +lean_ctor_set(x_215, 1, x_214); +return x_215; } } } @@ -8576,7 +8750,7 @@ x_51 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstance x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_26); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__29; +x_53 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__37; x_54 = lean_array_push(x_53, x_43); x_55 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__20; x_56 = lean_array_push(x_54, x_55); @@ -8671,7 +8845,7 @@ x_100 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanc x_101 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_101, 0, x_80); lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__29; +x_102 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__37; x_103 = lean_array_push(x_102, x_92); x_104 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__20; x_105 = lean_array_push(x_103, x_104); @@ -9075,7 +9249,7 @@ static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__3; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31; x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -11753,52 +11927,13 @@ return x_1; static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(":", 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; -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; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; -x_2 = lean_unsigned_to_nat(0u); -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); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(5u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("typeSpec", 8); -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__3() { _start: { lean_object* x_1; @@ -11806,22 +11941,22 @@ x_1 = lean_mk_string_from_bytes("Except", 6); return x_1; } } -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__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__7; +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__9() { +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__7; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8; +x_3 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___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); @@ -11829,7 +11964,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__10() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6() { _start: { lean_object* x_1; @@ -11837,22 +11972,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__11() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__10; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6; 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__12() { +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; lean_object* x_4; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__10; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__11; +x_3 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__7; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -11860,12 +11995,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__13() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__10; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -12013,7 +12148,7 @@ x_226 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_226, 0, x_187); lean_ctor_set(x_226, 1, x_8); lean_ctor_set(x_226, 2, x_225); -x_227 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2; +x_227 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; lean_inc(x_173); x_228 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_228, 0, x_173); @@ -12032,7 +12167,7 @@ lean_inc(x_12); x_234 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_234, 0, x_233); lean_ctor_set(x_234, 1, x_12); -x_235 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__4; +x_235 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30; lean_inc(x_173); x_236 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_236, 0, x_173); @@ -12053,7 +12188,7 @@ lean_inc(x_173); x_241 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_241, 0, x_173); lean_ctor_set(x_241, 1, x_240); -x_242 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5; +x_242 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2; x_243 = lean_array_push(x_242, x_220); x_244 = lean_array_push(x_243, x_226); x_245 = lean_array_push(x_244, x_239); @@ -12070,7 +12205,7 @@ x_250 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_250, 0, x_187); lean_ctor_set(x_250, 1, x_8); lean_ctor_set(x_250, 2, x_249); -x_251 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6; +x_251 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__26; x_252 = l_Lean_Name_str___override(x_11, x_251); lean_inc(x_175); lean_inc(x_14); @@ -12084,14 +12219,14 @@ lean_inc(x_12); x_255 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_255, 0, x_254); lean_ctor_set(x_255, 1, x_12); -x_256 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; +x_256 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5; lean_inc(x_173); x_257 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_257, 0, x_173); lean_ctor_set(x_257, 1, x_256); lean_ctor_set(x_257, 2, x_253); lean_ctor_set(x_257, 3, x_255); -x_258 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__13; +x_258 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; x_259 = l_Lean_addMacroScope(x_180, x_258, x_175); lean_inc(x_12); x_260 = lean_alloc_ctor(0, 2, 0); @@ -12100,7 +12235,7 @@ lean_ctor_set(x_260, 1, x_12); x_261 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_261, 0, x_260); lean_ctor_set(x_261, 1, x_12); -x_262 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__12; +x_262 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8; lean_inc(x_173); x_263 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_263, 0, x_173); @@ -12140,9 +12275,9 @@ x_276 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_276, 0, x_187); lean_ctor_set(x_276, 1, x_214); lean_ctor_set(x_276, 2, x_275); -x_277 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__26; +x_277 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__34; x_278 = l_Lean_Name_str___override(x_182, x_277); -x_279 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; +x_279 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36; x_280 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_280, 0, x_173); lean_ctor_set(x_280, 1, x_279); @@ -12155,7 +12290,7 @@ x_285 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_285, 0, x_187); lean_ctor_set(x_285, 1, x_278); lean_ctor_set(x_285, 2, x_284); -x_286 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__29; +x_286 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__37; x_287 = lean_array_push(x_286, x_207); x_288 = lean_array_push(x_287, x_212); x_289 = lean_array_push(x_288, x_276); @@ -12260,7 +12395,7 @@ x_55 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_55, 0, x_46); lean_ctor_set(x_55, 1, x_8); lean_ctor_set(x_55, 2, x_54); -x_56 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30; +x_56 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__38; lean_inc(x_41); x_57 = l_Lean_Name_str___override(x_41, x_56); lean_inc(x_32); @@ -12347,7 +12482,7 @@ x_92 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_92, 0, x_46); lean_ctor_set(x_92, 1, x_8); lean_ctor_set(x_92, 2, x_91); -x_93 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2; +x_93 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; lean_inc(x_32); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_32); @@ -12366,7 +12501,7 @@ lean_inc(x_12); x_100 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_100, 0, x_99); lean_ctor_set(x_100, 1, x_12); -x_101 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__4; +x_101 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30; lean_inc(x_32); x_102 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_102, 0, x_32); @@ -12387,7 +12522,7 @@ lean_inc(x_32); x_107 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_107, 0, x_32); lean_ctor_set(x_107, 1, x_106); -x_108 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5; +x_108 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2; x_109 = lean_array_push(x_108, x_86); x_110 = lean_array_push(x_109, x_92); x_111 = lean_array_push(x_110, x_105); @@ -12404,7 +12539,7 @@ x_116 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_116, 0, x_46); lean_ctor_set(x_116, 1, x_8); lean_ctor_set(x_116, 2, x_115); -x_117 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6; +x_117 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__26; x_118 = l_Lean_Name_str___override(x_11, x_117); lean_inc(x_34); lean_inc(x_14); @@ -12418,14 +12553,14 @@ lean_inc(x_12); x_121 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_121, 0, x_120); lean_ctor_set(x_121, 1, x_12); -x_122 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; +x_122 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5; lean_inc(x_32); x_123 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_123, 0, x_32); lean_ctor_set(x_123, 1, x_122); lean_ctor_set(x_123, 2, x_119); lean_ctor_set(x_123, 3, x_121); -x_124 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__13; +x_124 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; x_125 = l_Lean_addMacroScope(x_39, x_124, x_34); lean_inc(x_12); x_126 = lean_alloc_ctor(0, 2, 0); @@ -12434,7 +12569,7 @@ lean_ctor_set(x_126, 1, x_12); x_127 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_127, 0, x_126); lean_ctor_set(x_127, 1, x_12); -x_128 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__12; +x_128 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8; lean_inc(x_32); x_129 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_129, 0, x_32); @@ -12474,9 +12609,9 @@ x_142 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_142, 0, x_46); lean_ctor_set(x_142, 1, x_80); lean_ctor_set(x_142, 2, x_141); -x_143 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__26; +x_143 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__34; x_144 = l_Lean_Name_str___override(x_41, x_143); -x_145 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; +x_145 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36; x_146 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_146, 0, x_32); lean_ctor_set(x_146, 1, x_145); @@ -12489,7 +12624,7 @@ x_151 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_151, 0, x_46); lean_ctor_set(x_151, 1, x_144); lean_ctor_set(x_151, 2, x_150); -x_152 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__29; +x_152 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__37; x_153 = lean_array_push(x_152, x_73); x_154 = lean_array_push(x_153, x_78); x_155 = lean_array_push(x_154, x_142); @@ -12558,7 +12693,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__1___closed__7; +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; } @@ -13116,7 +13251,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__4___closed__3; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -13139,9 +13274,11 @@ 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_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__6; -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6; -x_3 = l_Lean_Name_str___override(x_1, x_2); +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -13150,8 +13287,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__5; -x_3 = lean_alloc_ctor(0, 2, 0); +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -13162,8 +13299,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__3___closed__9; -x_3 = lean_alloc_ctor(1, 2, 0); +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -13174,8 +13311,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__13; -x_3 = lean_alloc_ctor(0, 2, 0); +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_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -13184,34 +13321,22 @@ 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__3___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_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__13() { -_start: -{ lean_object* x_1; 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__14() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__13() { _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__13; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___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__3___closed__15() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__14() { _start: { lean_object* x_1; @@ -13219,7 +13344,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__16() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__15() { _start: { lean_object* x_1; @@ -13227,17 +13352,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__17() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__16() { _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__16; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__15; 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__18() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -13247,13 +13372,13 @@ x_3 = lean_array_push(x_1, x_2); return x_3; } } -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__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__17; -x_3 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__18; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__16; +x_3 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__17; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -13261,7 +13386,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -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__19() { _start: { lean_object* x_1; @@ -13448,7 +13573,7 @@ x_78 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_78, 0, x_48); lean_ctor_set(x_78, 1, x_52); lean_ctor_set(x_78, 2, x_77); -x_79 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2; +x_79 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; lean_inc(x_36); x_80 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_80, 0, x_36); @@ -13457,7 +13582,7 @@ x_81 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___clo lean_inc(x_38); lean_inc(x_43); x_82 = l_Lean_addMacroScope(x_43, x_81, x_38); -x_83 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__4; +x_83 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30; x_84 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__7; lean_inc(x_36); x_85 = lean_alloc_ctor(3, 4, 0); @@ -13478,7 +13603,7 @@ lean_inc(x_36); x_91 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_91, 0, x_36); lean_ctor_set(x_91, 1, x_90); -x_92 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5; +x_92 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2; x_93 = lean_array_push(x_92, x_71); x_94 = lean_array_push(x_93, x_78); x_95 = lean_array_push(x_94, x_89); @@ -13498,20 +13623,20 @@ x_102 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___ lean_inc(x_38); lean_inc(x_43); x_103 = l_Lean_addMacroScope(x_43, x_102, x_38); -x_104 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; -x_105 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__10; +x_104 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5; +x_105 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__9; lean_inc(x_36); x_106 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_106, 0, x_36); lean_ctor_set(x_106, 1, x_104); lean_ctor_set(x_106, 2, x_103); lean_ctor_set(x_106, 3, x_105); -x_107 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__13; +x_107 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; lean_inc(x_38); lean_inc(x_43); x_108 = l_Lean_addMacroScope(x_43, x_107, x_38); -x_109 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__12; -x_110 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__12; +x_109 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8; +x_110 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__11; lean_inc(x_36); x_111 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_111, 0, x_36); @@ -13532,7 +13657,7 @@ lean_ctor_set(x_118, 0, x_48); lean_ctor_set(x_118, 1, x_117); lean_ctor_set(x_118, 2, x_116); x_119 = lean_array_push(x_87, x_118); -x_120 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__8; +x_120 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__27; x_121 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_121, 0, x_48); lean_ctor_set(x_121, 1, x_120); @@ -13549,7 +13674,7 @@ x_127 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_127, 0, x_48); lean_ctor_set(x_127, 1, x_126); lean_ctor_set(x_127, 2, x_125); -x_128 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; +x_128 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36; lean_inc(x_36); x_129 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_129, 0, x_36); @@ -13565,7 +13690,7 @@ x_133 = lean_array_get_size(x_132); x_134 = lean_usize_of_nat(x_133); lean_dec(x_133); x_135 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__6; -x_136 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__3; +x_136 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31; lean_inc(x_36); x_137 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5(x_36, x_38, x_43, x_52, x_56, x_46, x_86, x_135, x_16, x_74, x_76, x_136, x_74, x_117, x_134, x_28, x_132); x_138 = l_Array_append___rarg(x_68, x_137); @@ -13574,7 +13699,7 @@ lean_inc(x_36); x_140 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_140, 0, x_36); lean_ctor_set(x_140, 1, x_139); -x_141 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__15; +x_141 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__14; lean_inc(x_36); x_142 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_142, 0, x_36); @@ -13594,7 +13719,7 @@ x_150 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_150, 0, x_48); lean_ctor_set(x_150, 1, x_52); lean_ctor_set(x_150, 2, x_149); -x_151 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__20; +x_151 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__19; x_152 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_152, 0, x_36); lean_ctor_set(x_152, 1, x_151); @@ -13602,11 +13727,11 @@ x_153 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___cl x_154 = lean_array_push(x_153, x_142); x_155 = lean_array_push(x_154, x_56); x_156 = lean_array_push(x_155, x_150); -x_157 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__19; +x_157 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__18; x_158 = lean_array_push(x_156, x_157); x_159 = lean_array_push(x_158, x_56); x_160 = lean_array_push(x_159, x_152); -x_161 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__14; +x_161 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__13; x_162 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_162, 0, x_48); lean_ctor_set(x_162, 1, x_161); @@ -13652,12 +13777,12 @@ x_182 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceH x_183 = lean_array_push(x_182, x_129); x_184 = lean_array_push(x_183, x_181); x_185 = lean_array_push(x_184, x_56); -x_186 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__27; +x_186 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__35; x_187 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_187, 0, x_48); lean_ctor_set(x_187, 1, x_186); lean_ctor_set(x_187, 2, x_185); -x_188 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__29; +x_188 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__37; x_189 = lean_array_push(x_188, x_63); x_190 = lean_array_push(x_86, x_61); if (x_66 == 0) @@ -14679,7 +14804,7 @@ lean_dec(x_2); return x_10; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6449____closed__1() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527____closed__1() { _start: { lean_object* x_1; @@ -14687,7 +14812,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_6449____closed__2() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527____closed__2() { _start: { lean_object* x_1; @@ -14695,12 +14820,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_6449_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527_(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_6449____closed__1; +x_3 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527____closed__1; x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -14709,7 +14834,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_6449____closed__2; +x_7 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527____closed__2; x_8 = l_Lean_Elab_registerBuiltinDerivingHandler(x_6, x_7, x_5); return x_8; } @@ -14964,6 +15089,22 @@ l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30 lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30); l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31); +l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__32 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__32(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__32); +l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__33 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__33(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__33); +l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__34 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__34(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__34); +l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__35 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__35(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__35); +l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36); +l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__37 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__37(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__37); +l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__38 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__38(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__38); +l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__39 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__39(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__39); l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__1(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__1); l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__2(); @@ -14994,8 +15135,6 @@ l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__14 lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__14); l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__15 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__15(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__15); -l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__16 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__16(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__16); l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__1 = _init_l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__1(); lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__1); l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__2 = _init_l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__2(); @@ -15204,14 +15343,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__1___closed__11 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__11); -l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__12 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__12(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__12); -l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__13 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__13(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__13); 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(); @@ -15274,13 +15405,11 @@ l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__ 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_6449____closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6449____closed__1(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6449____closed__1); -l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6449____closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6449____closed__2(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6449____closed__2); -res = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6449_(lean_io_mk_world()); +l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527____closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527____closed__1(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527____closed__1); +l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527____closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527____closed__2(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527____closed__2); +res = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6527_(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/Hashable.c b/stage0/stdlib/Lean/Elab/Deriving/Hashable.c index d1b877eba5..b9502c3b25 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Hashable.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Hashable.c @@ -877,7 +877,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_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__26; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__27; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__28; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Deriving/Inhabited.c b/stage0/stdlib/Lean/Elab/Deriving/Inhabited.c index 3f7a9921a4..f26b8692c9 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Inhabited.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Inhabited.c @@ -10170,7 +10170,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_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__5; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__6; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__7; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Deriving/Ord.c b/stage0/stdlib/Lean/Elab/Deriving/Ord.c index bde71102d9..ea370db7bd 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Ord.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Ord.c @@ -1499,7 +1499,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_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__5; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__6; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__7; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Deriving/Repr.c b/stage0/stdlib/Lean/Elab/Deriving/Repr.c index 6345101040..d92ed34b6d 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Repr.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Repr.c @@ -1843,7 +1843,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_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__3___closed__5; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__3___closed__6; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__3___closed__7; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Deriving/Util.c b/stage0/stdlib/Lean/Elab/Deriving/Util.c index 71a76a7ebe..6a248b03ec 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Util.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Util.c @@ -1109,7 +1109,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_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkInstImplicitBinders___spec__1___closed__5; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkInstImplicitBinders___spec__1___closed__6; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkInstImplicitBinders___spec__1___closed__7; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 1d63ac1e0d..17fc3c65e5 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -16444,7 +16444,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___closed__1; x_2 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/ElabRules.c b/stage0/stdlib/Lean/Elab/ElabRules.c index 476a01f738..6c33d37238 100644 --- a/stage0/stdlib/Lean/Elab/ElabRules.c +++ b/stage0/stdlib/Lean/Elab/ElabRules.c @@ -1136,7 +1136,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_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__9; x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__10; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__11; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Extra.c b/stage0/stdlib/Lean/Elab/Extra.c index 6b3513df1b..7efe7b68cb 100644 --- a/stage0/stdlib/Lean/Elab/Extra.c +++ b/stage0/stdlib/Lean/Elab/Extra.c @@ -13851,7 +13851,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_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__4___closed__9; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__4___closed__10; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__4___closed__11; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index cf5082480f..75a07ec03e 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -95,6 +95,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_withCtorRef___rarg___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_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*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__2___closed__8; @@ -292,6 +293,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__4___bo LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__15; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +lean_object* l_Lean_simpLevelIMax_x27(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__2; static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__8___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__9___closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -382,18 +384,19 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0_ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams(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_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___lambda__3___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams(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__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ComputedFields_setComputedFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInductiveViews___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_replaceRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___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_Elab_Command_elabInductiveViews(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_simpLevelMax_x27(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__8(uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isInductiveFamily(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -409,6 +412,7 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__8___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__9___closed__5; static lean_object* l_Lean_Elab_Command_accLevelAtCtor___lambda__2___closed__1; +lean_object* l_Lean_mkLevelIMax_x27(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed(lean_object*); @@ -603,9 +607,9 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inducti lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___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_Inductive_0__Lean_Elab_Command_isInductiveFamily___lambda__1(lean_object*, lean_object*, lean_object*, 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___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__3___closed__1; lean_object* lean_mk_below(lean_object*, lean_object*); -lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___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___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -759,7 +763,6 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); -lean_object* lean_level_update_succ(lean_object*, lean_object*); lean_object* l_Lean_Level_getLevelOffset(lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__3; @@ -2640,7 +2643,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_Inductive_0__Lean_Elab_Command_checkNumParams___closed__1; x_2 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10292,205 +10295,391 @@ case 1: lean_object* x_9; lean_object* x_10; uint8_t x_11; x_9 = lean_ctor_get(x_1, 0); lean_inc(x_9); +lean_inc(x_9); x_10 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { -lean_object* x_12; lean_object* x_13; +lean_object* x_12; size_t x_13; size_t x_14; uint8_t x_15; x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_level_update_succ(x_1, x_12); -lean_ctor_set(x_10, 0, x_13); +x_13 = lean_ptr_addr(x_9); +lean_dec(x_9); +x_14 = lean_ptr_addr(x_12); +x_15 = lean_usize_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_1); +x_16 = l_Lean_Level_succ___override(x_12); +lean_ctor_set(x_10, 0, x_16); 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_inc(x_14); -lean_dec(x_10); -x_16 = lean_level_update_succ(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; +lean_dec(x_12); +lean_ctor_set(x_10, 0, x_1); +return x_10; } } -case 2: +else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_18 = lean_ctor_get(x_1, 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_10, 0); +x_18 = lean_ctor_get(x_10, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_1, 1); -lean_inc(x_19); -x_20 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_22); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +lean_inc(x_17); +lean_dec(x_10); +x_19 = lean_ptr_addr(x_9); +lean_dec(x_9); +x_20 = lean_ptr_addr(x_17); +x_21 = lean_usize_dec_eq(x_19, x_20); +if (x_21 == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_level_update_max(x_1, x_21, x_25); -lean_ctor_set(x_23, 0, x_26); +lean_object* x_22; lean_object* x_23; +lean_dec(x_1); +x_22 = l_Lean_Level_succ___override(x_17); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_18); return x_23; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); +lean_object* x_24; +lean_dec(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_18); +return x_24; +} +} +} +case 2: +{ +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_25 = lean_ctor_get(x_1, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_1, 1); +lean_inc(x_26); +lean_inc(x_25); +x_27 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_23); -x_29 = lean_level_update_max(x_1, x_21, x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_26); +x_30 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_29); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; size_t x_33; size_t x_34; uint8_t x_35; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ptr_addr(x_25); +lean_dec(x_25); +x_34 = lean_ptr_addr(x_28); +x_35 = lean_usize_dec_eq(x_33, x_34); +if (x_35 == 0) +{ +lean_object* x_36; +lean_dec(x_26); +lean_dec(x_1); +x_36 = l_Lean_mkLevelMax_x27(x_28, x_32); +lean_ctor_set(x_30, 0, x_36); return x_30; } +else +{ +size_t x_37; size_t x_38; uint8_t x_39; +x_37 = lean_ptr_addr(x_26); +lean_dec(x_26); +x_38 = lean_ptr_addr(x_32); +x_39 = lean_usize_dec_eq(x_37, x_38); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_1); +x_40 = l_Lean_mkLevelMax_x27(x_28, x_32); +lean_ctor_set(x_30, 0, x_40); +return x_30; +} +else +{ +lean_object* x_41; +x_41 = l_Lean_simpLevelMax_x27(x_28, x_32, x_1); +lean_dec(x_1); +lean_dec(x_32); +lean_dec(x_28); +lean_ctor_set(x_30, 0, x_41); +return x_30; +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_30, 0); +x_43 = lean_ctor_get(x_30, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_30); +x_44 = lean_ptr_addr(x_25); +lean_dec(x_25); +x_45 = lean_ptr_addr(x_28); +x_46 = lean_usize_dec_eq(x_44, x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_26); +lean_dec(x_1); +x_47 = l_Lean_mkLevelMax_x27(x_28, x_42); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_43); +return x_48; +} +else +{ +size_t x_49; size_t x_50; uint8_t x_51; +x_49 = lean_ptr_addr(x_26); +lean_dec(x_26); +x_50 = lean_ptr_addr(x_42); +x_51 = lean_usize_dec_eq(x_49, x_50); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_1); +x_52 = l_Lean_mkLevelMax_x27(x_28, x_42); +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 +{ +lean_object* x_54; lean_object* x_55; +x_54 = l_Lean_simpLevelMax_x27(x_28, x_42, x_1); +lean_dec(x_1); +lean_dec(x_42); +lean_dec(x_28); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_43); +return x_55; +} +} +} } case 3: { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_31 = lean_ctor_get(x_1, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_1, 1); -lean_inc(x_32); -x_33 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_35); -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_56 = lean_ctor_get(x_1, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_1, 1); +lean_inc(x_57); +lean_inc(x_56); +x_58 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_56, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +lean_inc(x_57); +x_61 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_60); +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_level_update_imax(x_1, x_34, x_38); -lean_ctor_set(x_36, 0, x_39); -return x_36; +lean_object* x_63; size_t x_64; size_t x_65; uint8_t x_66; +x_63 = lean_ctor_get(x_61, 0); +x_64 = lean_ptr_addr(x_56); +lean_dec(x_56); +x_65 = lean_ptr_addr(x_59); +x_66 = lean_usize_dec_eq(x_64, x_65); +if (x_66 == 0) +{ +lean_object* x_67; +lean_dec(x_57); +lean_dec(x_1); +x_67 = l_Lean_mkLevelIMax_x27(x_59, x_63); +lean_ctor_set(x_61, 0, x_67); +return x_61; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_ctor_get(x_36, 0); -x_41 = lean_ctor_get(x_36, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_36); -x_42 = lean_level_update_imax(x_1, x_34, x_40); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -return x_43; +size_t x_68; size_t x_69; uint8_t x_70; +x_68 = lean_ptr_addr(x_57); +lean_dec(x_57); +x_69 = lean_ptr_addr(x_63); +x_70 = lean_usize_dec_eq(x_68, x_69); +if (x_70 == 0) +{ +lean_object* x_71; +lean_dec(x_1); +x_71 = l_Lean_mkLevelIMax_x27(x_59, x_63); +lean_ctor_set(x_61, 0, x_71); +return x_61; +} +else +{ +lean_object* x_72; +x_72 = l_Lean_simpLevelIMax_x27(x_59, x_63, x_1); +lean_dec(x_1); +lean_ctor_set(x_61, 0, x_72); +return x_61; +} +} +} +else +{ +lean_object* x_73; lean_object* x_74; size_t x_75; size_t x_76; uint8_t x_77; +x_73 = lean_ctor_get(x_61, 0); +x_74 = lean_ctor_get(x_61, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_61); +x_75 = lean_ptr_addr(x_56); +lean_dec(x_56); +x_76 = lean_ptr_addr(x_59); +x_77 = lean_usize_dec_eq(x_75, x_76); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_57); +lean_dec(x_1); +x_78 = l_Lean_mkLevelIMax_x27(x_59, x_73); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_74); +return x_79; +} +else +{ +size_t x_80; size_t x_81; uint8_t x_82; +x_80 = lean_ptr_addr(x_57); +lean_dec(x_57); +x_81 = lean_ptr_addr(x_73); +x_82 = lean_usize_dec_eq(x_80, x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; +lean_dec(x_1); +x_83 = l_Lean_mkLevelIMax_x27(x_59, x_73); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_74); +return x_84; +} +else +{ +lean_object* x_85; lean_object* x_86; +x_85 = l_Lean_simpLevelIMax_x27(x_59, x_73, x_1); +lean_dec(x_1); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_74); +return x_86; +} +} } } case 5: { -lean_object* x_44; lean_object* x_45; lean_object* x_46; 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_1, 0); -lean_inc(x_44); -x_60 = lean_st_ref_get(x_7, x_8); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_62 = lean_st_ref_get(x_5, x_61); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_ctor_get(x_63, 0); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_ctor_get(x_65, 5); -lean_inc(x_66); -lean_dec(x_65); -lean_inc(x_44); -x_67 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_66, x_44); -if (lean_obj_tag(x_67) == 0) +lean_object* x_87; lean_object* x_88; lean_object* x_89; 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_87 = lean_ctor_get(x_1, 0); +lean_inc(x_87); +x_103 = lean_st_ref_get(x_7, x_8); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +lean_dec(x_103); +x_105 = lean_st_ref_get(x_5, 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); +lean_dec(x_106); +x_109 = lean_ctor_get(x_108, 5); +lean_inc(x_109); +lean_dec(x_108); +lean_inc(x_87); +x_110 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_109, x_87); +if (lean_obj_tag(x_110) == 0) { -x_45 = x_67; -x_46 = x_64; -goto block_59; +x_88 = x_110; +x_89 = x_107; +goto block_102; } else { -lean_object* x_68; lean_object* x_69; -x_68 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(x_5, x_6, x_7, x_64); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_45 = x_67; -x_46 = x_69; -goto block_59; +lean_object* x_111; lean_object* x_112; +x_111 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(x_5, x_6, x_7, x_107); +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +lean_dec(x_111); +x_88 = x_110; +x_89 = x_112; +goto block_102; } -block_59: +block_102: { -if (lean_obj_tag(x_45) == 0) +if (lean_obj_tag(x_88) == 0) { -lean_object* x_47; -lean_dec(x_44); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_1); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_object* x_90; +lean_dec(x_87); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_1); +lean_ctor_set(x_90, 1, x_89); +return x_90; } else { -lean_object* x_48; uint8_t x_49; +lean_object* x_91; uint8_t x_92; lean_dec(x_1); -x_48 = lean_ctor_get(x_45, 0); -lean_inc(x_48); -lean_dec(x_45); -x_49 = l_Lean_Level_hasMVar(x_48); -if (x_49 == 0) +x_91 = lean_ctor_get(x_88, 0); +lean_inc(x_91); +lean_dec(x_88); +x_92 = l_Lean_Level_hasMVar(x_91); +if (x_92 == 0) { -lean_object* x_50; -lean_dec(x_44); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_46); -return x_50; +lean_object* x_93; +lean_dec(x_87); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_89); +return x_93; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_51 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_46); -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_52); -x_54 = l_Lean_assignLevelMVar___at_Lean_Elab_Command_shouldInferResultUniverse___spec__2(x_44, x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_53); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_94 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_91, x_2, x_3, x_4, x_5, x_6, x_7, x_89); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +lean_inc(x_95); +x_97 = l_Lean_assignLevelMVar___at_Lean_Elab_Command_shouldInferResultUniverse___spec__2(x_87, x_95, x_2, x_3, x_4, x_5, x_6, x_7, x_96); +x_98 = !lean_is_exclusive(x_97); +if (x_98 == 0) { -lean_object* x_56; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -lean_ctor_set(x_54, 0, x_52); -return x_54; +lean_object* x_99; +x_99 = lean_ctor_get(x_97, 0); +lean_dec(x_99); +lean_ctor_set(x_97, 0, x_95); +return x_97; } else { -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_52); -lean_ctor_set(x_58, 1, x_57); -return x_58; +lean_object* x_100; lean_object* x_101; +x_100 = lean_ctor_get(x_97, 1); +lean_inc(x_100); +lean_dec(x_97); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_95); +lean_ctor_set(x_101, 1, x_100); +return x_101; } } } @@ -10498,11 +10687,11 @@ return x_58; } default: { -lean_object* x_70; -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_1); -lean_ctor_set(x_70, 1, x_8); -return x_70; +lean_object* x_113; +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_1); +lean_ctor_set(x_113, 1, x_8); +return x_113; } } } @@ -12236,205 +12425,391 @@ case 1: lean_object* x_10; lean_object* x_11; uint8_t x_12; x_10 = lean_ctor_get(x_1, 0); lean_inc(x_10); +lean_inc(x_10); x_11 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; +lean_object* x_13; size_t x_14; size_t x_15; uint8_t x_16; x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_level_update_succ(x_1, x_13); -lean_ctor_set(x_11, 0, x_14); +x_14 = lean_ptr_addr(x_10); +lean_dec(x_10); +x_15 = lean_ptr_addr(x_13); +x_16 = lean_usize_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_1); +x_17 = l_Lean_Level_succ___override(x_13); +lean_ctor_set(x_11, 0, x_17); return x_11; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -x_17 = lean_level_update_succ(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_dec(x_13); +lean_ctor_set(x_11, 0, x_1); +return x_11; } } -case 2: +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; -x_19 = lean_ctor_get(x_1, 0); +lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; uint8_t x_22; +x_18 = lean_ctor_get(x_11, 0); +x_19 = lean_ctor_get(x_11, 1); lean_inc(x_19); -x_20 = lean_ctor_get(x_1, 1); -lean_inc(x_20); -x_21 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) +lean_inc(x_18); +lean_dec(x_11); +x_20 = lean_ptr_addr(x_10); +lean_dec(x_10); +x_21 = lean_ptr_addr(x_18); +x_22 = lean_usize_dec_eq(x_20, x_21); +if (x_22 == 0) { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_level_update_max(x_1, x_22, x_26); -lean_ctor_set(x_24, 0, x_27); +lean_object* x_23; lean_object* x_24; +lean_dec(x_1); +x_23 = l_Lean_Level_succ___override(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; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = lean_ctor_get(x_24, 0); -x_29 = lean_ctor_get(x_24, 1); +lean_object* x_25; +lean_dec(x_18); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_19); +return x_25; +} +} +} +case 2: +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_26 = lean_ctor_get(x_1, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_1, 1); +lean_inc(x_27); +lean_inc(x_26); +x_28 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_24); -x_30 = lean_level_update_max(x_1, x_22, x_28); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_27); +x_31 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; size_t x_34; size_t x_35; uint8_t x_36; +x_33 = lean_ctor_get(x_31, 0); +x_34 = lean_ptr_addr(x_26); +lean_dec(x_26); +x_35 = lean_ptr_addr(x_29); +x_36 = lean_usize_dec_eq(x_34, x_35); +if (x_36 == 0) +{ +lean_object* x_37; +lean_dec(x_27); +lean_dec(x_1); +x_37 = l_Lean_mkLevelMax_x27(x_29, x_33); +lean_ctor_set(x_31, 0, x_37); return x_31; } +else +{ +size_t x_38; size_t x_39; uint8_t x_40; +x_38 = lean_ptr_addr(x_27); +lean_dec(x_27); +x_39 = lean_ptr_addr(x_33); +x_40 = lean_usize_dec_eq(x_38, x_39); +if (x_40 == 0) +{ +lean_object* x_41; +lean_dec(x_1); +x_41 = l_Lean_mkLevelMax_x27(x_29, x_33); +lean_ctor_set(x_31, 0, x_41); +return x_31; +} +else +{ +lean_object* x_42; +x_42 = l_Lean_simpLevelMax_x27(x_29, x_33, x_1); +lean_dec(x_1); +lean_dec(x_33); +lean_dec(x_29); +lean_ctor_set(x_31, 0, x_42); +return x_31; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_31, 0); +x_44 = lean_ctor_get(x_31, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_31); +x_45 = lean_ptr_addr(x_26); +lean_dec(x_26); +x_46 = lean_ptr_addr(x_29); +x_47 = lean_usize_dec_eq(x_45, x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_27); +lean_dec(x_1); +x_48 = l_Lean_mkLevelMax_x27(x_29, x_43); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_44); +return x_49; +} +else +{ +size_t x_50; size_t x_51; uint8_t x_52; +x_50 = lean_ptr_addr(x_27); +lean_dec(x_27); +x_51 = lean_ptr_addr(x_43); +x_52 = lean_usize_dec_eq(x_50, x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_1); +x_53 = l_Lean_mkLevelMax_x27(x_29, x_43); +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 +{ +lean_object* x_55; lean_object* x_56; +x_55 = l_Lean_simpLevelMax_x27(x_29, x_43, x_1); +lean_dec(x_1); +lean_dec(x_43); +lean_dec(x_29); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_44); +return x_56; +} +} +} } case 3: { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_32 = lean_ctor_get(x_1, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_1, 1); -lean_inc(x_33); -x_34 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_36); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_57 = lean_ctor_get(x_1, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_1, 1); +lean_inc(x_58); +lean_inc(x_57); +x_59 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +lean_inc(x_58); +x_62 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_61); +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) { -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_37, 0); -x_40 = lean_level_update_imax(x_1, x_35, x_39); -lean_ctor_set(x_37, 0, x_40); -return x_37; +lean_object* x_64; size_t x_65; size_t x_66; uint8_t x_67; +x_64 = lean_ctor_get(x_62, 0); +x_65 = lean_ptr_addr(x_57); +lean_dec(x_57); +x_66 = lean_ptr_addr(x_60); +x_67 = lean_usize_dec_eq(x_65, x_66); +if (x_67 == 0) +{ +lean_object* x_68; +lean_dec(x_58); +lean_dec(x_1); +x_68 = l_Lean_mkLevelIMax_x27(x_60, x_64); +lean_ctor_set(x_62, 0, x_68); +return x_62; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_41 = lean_ctor_get(x_37, 0); -x_42 = lean_ctor_get(x_37, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_37); -x_43 = lean_level_update_imax(x_1, x_35, x_41); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -return x_44; +size_t x_69; size_t x_70; uint8_t x_71; +x_69 = lean_ptr_addr(x_58); +lean_dec(x_58); +x_70 = lean_ptr_addr(x_64); +x_71 = lean_usize_dec_eq(x_69, x_70); +if (x_71 == 0) +{ +lean_object* x_72; +lean_dec(x_1); +x_72 = l_Lean_mkLevelIMax_x27(x_60, x_64); +lean_ctor_set(x_62, 0, x_72); +return x_62; +} +else +{ +lean_object* x_73; +x_73 = l_Lean_simpLevelIMax_x27(x_60, x_64, x_1); +lean_dec(x_1); +lean_ctor_set(x_62, 0, x_73); +return x_62; +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; size_t x_76; size_t x_77; uint8_t x_78; +x_74 = lean_ctor_get(x_62, 0); +x_75 = lean_ctor_get(x_62, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_62); +x_76 = lean_ptr_addr(x_57); +lean_dec(x_57); +x_77 = lean_ptr_addr(x_60); +x_78 = lean_usize_dec_eq(x_76, x_77); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; +lean_dec(x_58); +lean_dec(x_1); +x_79 = l_Lean_mkLevelIMax_x27(x_60, x_74); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_75); +return x_80; +} +else +{ +size_t x_81; size_t x_82; uint8_t x_83; +x_81 = lean_ptr_addr(x_58); +lean_dec(x_58); +x_82 = lean_ptr_addr(x_74); +x_83 = lean_usize_dec_eq(x_81, x_82); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; +lean_dec(x_1); +x_84 = l_Lean_mkLevelIMax_x27(x_60, x_74); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_75); +return x_85; +} +else +{ +lean_object* x_86; lean_object* x_87; +x_86 = l_Lean_simpLevelIMax_x27(x_60, x_74, x_1); +lean_dec(x_1); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_75); +return x_87; +} +} } } case 5: { -lean_object* x_45; lean_object* x_46; lean_object* x_47; 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_1, 0); -lean_inc(x_45); -x_61 = lean_st_ref_get(x_8, x_9); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_63 = lean_st_ref_get(x_6, x_62); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_ctor_get(x_66, 5); -lean_inc(x_67); -lean_dec(x_66); -lean_inc(x_45); -x_68 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_67, x_45); -if (lean_obj_tag(x_68) == 0) +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_88 = lean_ctor_get(x_1, 0); +lean_inc(x_88); +x_104 = lean_st_ref_get(x_8, x_9); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +lean_dec(x_104); +x_106 = lean_st_ref_get(x_6, x_105); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = lean_ctor_get(x_107, 0); +lean_inc(x_109); +lean_dec(x_107); +x_110 = lean_ctor_get(x_109, 5); +lean_inc(x_110); +lean_dec(x_109); +lean_inc(x_88); +x_111 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_110, x_88); +if (lean_obj_tag(x_111) == 0) { -x_46 = x_68; -x_47 = x_65; -goto block_60; +x_89 = x_111; +x_90 = x_108; +goto block_103; } else { -lean_object* x_69; lean_object* x_70; -x_69 = l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3___rarg(x_6, x_7, x_8, x_65); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_46 = x_68; -x_47 = x_70; -goto block_60; +lean_object* x_112; lean_object* x_113; +x_112 = l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3___rarg(x_6, x_7, x_8, x_108); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_89 = x_111; +x_90 = x_113; +goto block_103; } -block_60: +block_103: { -if (lean_obj_tag(x_46) == 0) +if (lean_obj_tag(x_89) == 0) { -lean_object* x_48; -lean_dec(x_45); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_1); -lean_ctor_set(x_48, 1, x_47); -return x_48; +lean_object* x_91; +lean_dec(x_88); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_1); +lean_ctor_set(x_91, 1, x_90); +return x_91; } else { -lean_object* x_49; uint8_t x_50; +lean_object* x_92; uint8_t x_93; lean_dec(x_1); -x_49 = lean_ctor_get(x_46, 0); -lean_inc(x_49); -lean_dec(x_46); -x_50 = l_Lean_Level_hasMVar(x_49); -if (x_50 == 0) +x_92 = lean_ctor_get(x_89, 0); +lean_inc(x_92); +lean_dec(x_89); +x_93 = l_Lean_Level_hasMVar(x_92); +if (x_93 == 0) { -lean_object* x_51; -lean_dec(x_45); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_47); -return x_51; +lean_object* x_94; +lean_dec(x_88); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_90); +return x_94; } 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_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_47); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -lean_inc(x_53); -x_55 = l_Lean_assignLevelMVar___at_Lean_Elab_Command_accLevelAtCtor___spec__2(x_45, x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_54); -x_56 = !lean_is_exclusive(x_55); -if (x_56 == 0) +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; +x_95 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_92, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_90); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +lean_inc(x_96); +x_98 = l_Lean_assignLevelMVar___at_Lean_Elab_Command_accLevelAtCtor___spec__2(x_88, x_96, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_97); +x_99 = !lean_is_exclusive(x_98); +if (x_99 == 0) { -lean_object* x_57; -x_57 = lean_ctor_get(x_55, 0); -lean_dec(x_57); -lean_ctor_set(x_55, 0, x_53); -return x_55; +lean_object* x_100; +x_100 = lean_ctor_get(x_98, 0); +lean_dec(x_100); +lean_ctor_set(x_98, 0, x_96); +return x_98; } else { -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -lean_dec(x_55); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_53); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_object* x_101; lean_object* x_102; +x_101 = lean_ctor_get(x_98, 1); +lean_inc(x_101); +lean_dec(x_98); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_96); +lean_ctor_set(x_102, 1, x_101); +return x_102; } } } @@ -12442,11 +12817,11 @@ return x_59; } default: { -lean_object* x_71; -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_1); -lean_ctor_set(x_71, 1, x_9); -return x_71; +lean_object* x_114; +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_1); +lean_ctor_set(x_114, 1, x_9); +return x_114; } } } diff --git a/stage0/stdlib/Lean/Elab/LetRec.c b/stage0/stdlib/Lean/Elab/LetRec.c index 4ebc63a00d..d16b15ae3c 100644 --- a/stage0/stdlib/Lean/Elab/LetRec.c +++ b/stage0/stdlib/Lean/Elab/LetRec.c @@ -3934,7 +3934,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_Std_Range_forIn_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__1___closed__1; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Level.c b/stage0/stdlib/Lean/Elab/Level.c index 599de296a5..7d3551fdfa 100644 --- a/stage0/stdlib/Lean/Elab/Level.c +++ b/stage0/stdlib/Lean/Elab/Level.c @@ -68,12 +68,12 @@ static lean_object* l_Lean_Elab_Level_elabLevel___closed__25; LEAN_EXPORT lean_object* l_Lean_Elab_Level_mkFreshLevelMVar(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Level_instMonadOptionsLevelElabM___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Level_maxUniverseOffset; -lean_object* lean_level_mk_max_simp(lean_object*, lean_object*); +lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Level_elabLevel___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Elab_Level_mkFreshLevelMVar___spec__2___boxed(lean_object*); -lean_object* lean_level_mk_imax_simp(lean_object*, lean_object*); +lean_object* l_Lean_mkLevelIMax_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Level_initFn____x40_Lean_Elab_Level___hyg_266_(lean_object*); static lean_object* l_Lean_Elab_Level_elabLevel___closed__12; lean_object* l_Nat_repr(lean_object*); @@ -1074,7 +1074,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = lean_level_mk_imax_simp(x_12, x_4); +x_14 = l_Lean_mkLevelIMax_x27(x_12, x_4); x_2 = x_9; x_4 = x_14; x_6 = x_13; @@ -1137,7 +1137,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = lean_level_mk_max_simp(x_12, x_4); +x_14 = l_Lean_mkLevelMax_x27(x_12, x_4); x_2 = x_9; x_4 = x_14; x_6 = x_13; diff --git a/stage0/stdlib/Lean/Elab/MacroRules.c b/stage0/stdlib/Lean/Elab/MacroRules.c index bff0c23f20..0565319230 100644 --- a/stage0/stdlib/Lean/Elab/MacroRules.c +++ b/stage0/stdlib/Lean/Elab/MacroRules.c @@ -925,7 +925,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_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___closed__9; x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___closed__10; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___closed__11; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index f2cad38223..0a2c515fd2 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -98,7 +98,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatte LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__5___boxed(lean_object*, lean_object*); -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -635,7 +634,6 @@ static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErr LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__12(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_contains___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___spec__3___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_elabMatch_elabMatchDefault___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___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_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_eraseIndices(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -685,6 +683,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_isAtomic uint8_t l_Array_contains___at___private_Lean_Meta_Match_Value_0__Lean_Meta_isUIntTypeName___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternElabConfig___rarg(lean_object*, 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_Array_filterMapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__7___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -947,6 +946,7 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux__ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_main_unpack_go___spec__1(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_Match_0__Lean_Elab_Term_ToDepElimPattern_withMVar___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_Meta_mkFreshTypeMVar(uint8_t, 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_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__11; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__11; @@ -4293,9 +4293,11 @@ return x_30; } case 10: { -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_17, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); lean_inc(x_31); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); @@ -4303,26 +4305,46 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_32); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_32 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_31, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_32) == 0) +x_33 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_32, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); +lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; uint8_t x_38; +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_ptr_addr(x_32); lean_dec(x_32); -x_35 = lean_expr_update_mdata(x_17, x_33); -x_36 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_34); -return x_36; +x_37 = lean_ptr_addr(x_34); +x_38 = lean_usize_dec_eq(x_36, x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_17); +x_39 = l_Lean_Expr_mdata___override(x_31, x_34); +x_40 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_39, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_35); +return x_40; } else { -uint8_t x_37; +lean_object* x_41; +lean_dec(x_34); +lean_dec(x_31); +x_41 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(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_35); +return x_41; +} +} +else +{ +uint8_t x_42; +lean_dec(x_32); +lean_dec(x_31); lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -4335,31 +4357,35 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_32); -if (x_37 == 0) +x_42 = !lean_is_exclusive(x_33); +if (x_42 == 0) { -return x_32; +return x_33; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_32, 0); -x_39 = lean_ctor_get(x_32, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_32); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_33, 0); +x_44 = lean_ctor_get(x_33, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_33); +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; } } } case 11: { -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_17, 2); -lean_inc(x_41); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_17, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_17, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_17, 2); +lean_inc(x_48); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); @@ -4367,26 +4393,48 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_48); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_42 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_41, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_42) == 0) +x_49 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_48, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = 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_expr_update_proj(x_17, x_43); -x_46 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_45, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_44); -return x_46; +lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_ptr_addr(x_48); +lean_dec(x_48); +x_53 = lean_ptr_addr(x_50); +x_54 = lean_usize_dec_eq(x_52, x_53); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_17); +x_55 = l_Lean_Expr_proj___override(x_46, x_47, x_50); +x_56 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_55, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_51); +return x_56; } else { -uint8_t x_47; +lean_object* x_57; +lean_dec(x_50); +lean_dec(x_47); +lean_dec(x_46); +x_57 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(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_51); +return x_57; +} +} +else +{ +uint8_t x_58; +lean_dec(x_48); +lean_dec(x_47); +lean_dec(x_46); lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -4399,31 +4447,31 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_47 = !lean_is_exclusive(x_42); -if (x_47 == 0) +x_58 = !lean_is_exclusive(x_49); +if (x_58 == 0) { -return x_42; +return x_49; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_42, 0); -x_49 = lean_ctor_get(x_42, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_42); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_49, 0); +x_60 = lean_ctor_get(x_49, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_49); +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; } } } default: { -lean_object* x_51; -x_51 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(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); -return x_51; +lean_object* x_62; +x_62 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(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); +return x_62; } } } @@ -8912,7 +8960,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_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1___closed__1; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -25136,74 +25184,119 @@ return x_111; } case 11: { -lean_object* x_112; lean_object* x_113; -x_112 = lean_ctor_get(x_1, 2); +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_112 = lean_ctor_get(x_1, 0); lean_inc(x_112); -x_113 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_112, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_113) == 0) +x_113 = lean_ctor_get(x_1, 1); +lean_inc(x_113); +x_114 = lean_ctor_get(x_1, 2); +lean_inc(x_114); +lean_inc(x_114); +x_115 = l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go(x_114, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +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; -x_115 = lean_ctor_get(x_113, 0); -x_116 = lean_expr_update_proj(x_1, x_115); -lean_ctor_set(x_113, 0, x_116); -return x_113; -} -else +lean_object* x_117; size_t x_118; size_t x_119; uint8_t x_120; +x_117 = lean_ctor_get(x_115, 0); +x_118 = lean_ptr_addr(x_114); +lean_dec(x_114); +x_119 = lean_ptr_addr(x_117); +x_120 = lean_usize_dec_eq(x_118, x_119); +if (x_120 == 0) { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_117 = lean_ctor_get(x_113, 0); -x_118 = lean_ctor_get(x_113, 1); -lean_inc(x_118); -lean_inc(x_117); -lean_dec(x_113); -x_119 = lean_expr_update_proj(x_1, x_117); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -return x_120; -} -} -else -{ -uint8_t x_121; +lean_object* x_121; lean_dec(x_1); -x_121 = !lean_is_exclusive(x_113); -if (x_121 == 0) -{ -return x_113; +x_121 = l_Lean_Expr_proj___override(x_112, x_113, x_117); +lean_ctor_set(x_115, 0, x_121); +return x_115; } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_113, 0); -x_123 = lean_ctor_get(x_113, 1); +lean_dec(x_117); +lean_dec(x_113); +lean_dec(x_112); +lean_ctor_set(x_115, 0, x_1); +return x_115; +} +} +else +{ +lean_object* x_122; lean_object* x_123; size_t x_124; size_t x_125; uint8_t x_126; +x_122 = lean_ctor_get(x_115, 0); +x_123 = lean_ctor_get(x_115, 1); lean_inc(x_123); lean_inc(x_122); +lean_dec(x_115); +x_124 = lean_ptr_addr(x_114); +lean_dec(x_114); +x_125 = lean_ptr_addr(x_122); +x_126 = lean_usize_dec_eq(x_124, x_125); +if (x_126 == 0) +{ +lean_object* x_127; lean_object* x_128; +lean_dec(x_1); +x_127 = l_Lean_Expr_proj___override(x_112, x_113, x_122); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_123); +return x_128; +} +else +{ +lean_object* x_129; +lean_dec(x_122); lean_dec(x_113); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -return x_124; +lean_dec(x_112); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_1); +lean_ctor_set(x_129, 1, x_123); +return x_129; +} +} +} +else +{ +uint8_t x_130; +lean_dec(x_114); +lean_dec(x_113); +lean_dec(x_112); +lean_dec(x_1); +x_130 = !lean_is_exclusive(x_115); +if (x_130 == 0) +{ +return x_115; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_115, 0); +x_132 = lean_ctor_get(x_115, 1); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_115); +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; } } } default: { -lean_object* x_125; +lean_object* x_134; 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_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_1); -lean_ctor_set(x_125, 1, x_9); -return x_125; +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_1); +lean_ctor_set(x_134, 1, x_9); +return x_134; } } } diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 866389d669..1f5837222a 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -2636,7 +2636,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_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___closed__1; x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Notation.c b/stage0/stdlib/Lean/Elab/Notation.c index a02d62c140..dccf28828a 100644 --- a/stage0/stdlib/Lean/Elab/Notation.c +++ b/stage0/stdlib/Lean/Elab/Notation.c @@ -1945,7 +1945,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_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Command_hasDuplicateAntiquot___spec__1___closed__4; x_2 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Command_hasDuplicateAntiquot___spec__1___closed__5; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Command_hasDuplicateAntiquot___spec__1___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Open.c b/stage0/stdlib/Lean/Elab/Open.c index 361fea89c0..72dcf379fa 100644 --- a/stage0/stdlib/Lean/Elab/Open.c +++ b/stage0/stdlib/Lean/Elab/Open.c @@ -3641,7 +3641,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_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__2___closed__3; x_2 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__2___closed__4; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__2___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PatternVar.c b/stage0/stdlib/Lean/Elab/PatternVar.c index 1f06e50fc6..907da89ebb 100644 --- a/stage0/stdlib/Lean/Elab/PatternVar.c +++ b/stage0/stdlib/Lean/Elab/PatternVar.c @@ -1169,7 +1169,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_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__1; x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c b/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c index f6b0f6d578..339156d88b 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c @@ -5186,7 +5186,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_addAndCompileUnsafe___closed__1; x_2 = l_Lean_Elab_addAndCompileUnsafe___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Elab_addAndCompileUnsafe___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c index 98dbdb35a6..9edfa2ec0a 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c @@ -338,7 +338,6 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreD lean_object* l_Lean_Meta_delta_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_replaceFVarId(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_deltaRHS_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__27___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_commitWhenSome_x3f___at_Lean_Elab_Eqns_funext_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -376,6 +375,7 @@ LEAN_EXPORT lean_object* l_Lean_ForEachExpr_visit___at_Lean_Elab_Eqns_simpEqnTyp LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpEqnType(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_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__9___boxed(lean_object*, lean_object*, 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_Elab_Eqns_deltaLHS___lambda__2___closed__9; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); @@ -491,6 +491,7 @@ LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Elab_Eqns_removeUnusedEqnHyp static lean_object* l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__11(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldProof___lambda__1(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_Std_PersistentHashMap_findAtAux___at_Lean_Elab_Eqns_getUnfoldFor_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___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_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__31(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1746,7 +1747,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_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__1___closed__1; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -20116,80 +20117,128 @@ x_10 = lean_ctor_get(x_7, 1); x_11 = l_Lean_Expr_getAppFn(x_9); if (lean_obj_tag(x_11) == 11) { -lean_object* x_12; lean_object* x_13; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_free_object(x_7); -x_12 = lean_ctor_get(x_11, 2); +x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); -x_13 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_whnfAux(x_12, x_2, x_3, x_4, x_5, x_10); -if (lean_obj_tag(x_13) == 0) +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_11, 2); +lean_inc(x_14); +lean_inc(x_14); +x_15 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_whnfAux(x_14, x_2, x_3, x_4, x_5, x_10); +if (lean_obj_tag(x_15) == 0) { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 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; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_expr_update_proj(x_11, x_15); -x_17 = lean_unsigned_to_nat(0u); -x_18 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_9, x_17); -x_19 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__3___closed__5; -lean_inc(x_18); -x_20 = lean_mk_array(x_18, x_19); -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_sub(x_18, x_21); -lean_dec(x_18); -x_23 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_9, x_20, x_22); -x_24 = l_Lean_mkAppN(x_16, x_23); -lean_ctor_set(x_13, 0, x_24); -return x_13; +lean_object* x_17; size_t x_18; size_t 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_object* x_27; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ptr_addr(x_14); +lean_dec(x_14); +x_19 = lean_ptr_addr(x_17); +x_20 = lean_usize_dec_eq(x_18, x_19); +x_21 = lean_unsigned_to_nat(0u); +x_22 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_9, x_21); +x_23 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__3___closed__5; +lean_inc(x_22); +x_24 = lean_mk_array(x_22, x_23); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_sub(x_22, x_25); +lean_dec(x_22); +x_27 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_9, x_24, x_26); +if (x_20 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_11); +x_28 = l_Lean_Expr_proj___override(x_12, x_13, x_17); +x_29 = l_Lean_mkAppN(x_28, x_27); +lean_ctor_set(x_15, 0, x_29); +return x_15; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_25 = lean_ctor_get(x_13, 0); -x_26 = lean_ctor_get(x_13, 1); -lean_inc(x_26); -lean_inc(x_25); +lean_object* x_30; +lean_dec(x_17); lean_dec(x_13); -x_27 = lean_expr_update_proj(x_11, x_25); -x_28 = lean_unsigned_to_nat(0u); -x_29 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_9, x_28); -x_30 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__3___closed__5; -lean_inc(x_29); -x_31 = lean_mk_array(x_29, x_30); -x_32 = lean_unsigned_to_nat(1u); -x_33 = lean_nat_sub(x_29, x_32); -lean_dec(x_29); -x_34 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_9, x_31, x_33); -x_35 = l_Lean_mkAppN(x_27, 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_26); -return x_36; +lean_dec(x_12); +x_30 = l_Lean_mkAppN(x_11, x_27); +lean_ctor_set(x_15, 0, x_30); +return x_15; } } else { -uint8_t x_37; +lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_31 = lean_ctor_get(x_15, 0); +x_32 = lean_ctor_get(x_15, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_15); +x_33 = lean_ptr_addr(x_14); +lean_dec(x_14); +x_34 = lean_ptr_addr(x_31); +x_35 = lean_usize_dec_eq(x_33, x_34); +x_36 = lean_unsigned_to_nat(0u); +x_37 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_9, x_36); +x_38 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__3___closed__5; +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_9, x_39, x_41); +if (x_35 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_11); +x_43 = l_Lean_Expr_proj___override(x_12, x_13, x_31); +x_44 = l_Lean_mkAppN(x_43, x_42); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_32); +return x_45; +} +else +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_31); +lean_dec(x_13); +lean_dec(x_12); +x_46 = l_Lean_mkAppN(x_11, x_42); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_32); +return x_47; +} +} +} +else +{ +uint8_t x_48; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_9); -x_37 = !lean_is_exclusive(x_13); -if (x_37 == 0) +x_48 = !lean_is_exclusive(x_15); +if (x_48 == 0) { -return x_13; +return x_15; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_13, 0); -x_39 = lean_ctor_get(x_13, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_13); -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_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_15, 0); +x_50 = lean_ctor_get(x_15, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_15); +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; } } } @@ -20205,120 +20254,153 @@ return x_7; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_7, 0); -x_42 = lean_ctor_get(x_7, 1); -lean_inc(x_42); -lean_inc(x_41); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_7, 0); +x_53 = lean_ctor_get(x_7, 1); +lean_inc(x_53); +lean_inc(x_52); lean_dec(x_7); -x_43 = l_Lean_Expr_getAppFn(x_41); -if (lean_obj_tag(x_43) == 11) +x_54 = l_Lean_Expr_getAppFn(x_52); +if (lean_obj_tag(x_54) == 11) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_43, 2); -lean_inc(x_44); -x_45 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_whnfAux(x_44, x_2, x_3, x_4, x_5, x_42); -if (lean_obj_tag(x_45) == 0) +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +x_57 = lean_ctor_get(x_54, 2); +lean_inc(x_57); +lean_inc(x_57); +x_58 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_whnfAux(x_57, x_2, x_3, x_4, x_5, x_53); +if (lean_obj_tag(x_58) == 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; -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_expr_update_proj(x_43, x_46); -x_50 = lean_unsigned_to_nat(0u); -x_51 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_41, x_50); -x_52 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__3___closed__5; -lean_inc(x_51); -x_53 = lean_mk_array(x_51, x_52); -x_54 = lean_unsigned_to_nat(1u); -x_55 = lean_nat_sub(x_51, x_54); -lean_dec(x_51); -x_56 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_41, x_53, x_55); -x_57 = l_Lean_mkAppN(x_49, x_56); -if (lean_is_scalar(x_48)) { - x_58 = lean_alloc_ctor(0, 2, 0); -} else { - x_58 = x_48; -} -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_47); -return x_58; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -lean_dec(x_43); -lean_dec(x_41); -x_59 = lean_ctor_get(x_45, 0); +lean_object* x_59; lean_object* x_60; lean_object* x_61; size_t x_62; size_t x_63; uint8_t 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_59 = lean_ctor_get(x_58, 0); lean_inc(x_59); -x_60 = lean_ctor_get(x_45, 1); +x_60 = lean_ctor_get(x_58, 1); lean_inc(x_60); -if (lean_is_exclusive(x_45)) { - lean_ctor_release(x_45, 0); - lean_ctor_release(x_45, 1); - x_61 = x_45; +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_61 = x_58; } else { - lean_dec_ref(x_45); + lean_dec_ref(x_58); x_61 = lean_box(0); } -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(1, 2, 0); -} else { - x_62 = x_61; -} -lean_ctor_set(x_62, 0, x_59); -lean_ctor_set(x_62, 1, x_60); -return x_62; -} -} -else -{ -lean_object* x_63; -lean_dec(x_43); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_41); -lean_ctor_set(x_63, 1, x_42); -return x_63; -} -} -} -else -{ -uint8_t x_64; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_64 = !lean_is_exclusive(x_7); +x_62 = lean_ptr_addr(x_57); +lean_dec(x_57); +x_63 = lean_ptr_addr(x_59); +x_64 = lean_usize_dec_eq(x_62, x_63); +x_65 = lean_unsigned_to_nat(0u); +x_66 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_52, x_65); +x_67 = l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__3___closed__5; +lean_inc(x_66); +x_68 = lean_mk_array(x_66, x_67); +x_69 = lean_unsigned_to_nat(1u); +x_70 = lean_nat_sub(x_66, x_69); +lean_dec(x_66); +x_71 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_52, x_68, x_70); if (x_64 == 0) { +lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_dec(x_54); +x_72 = l_Lean_Expr_proj___override(x_55, x_56, x_59); +x_73 = l_Lean_mkAppN(x_72, x_71); +if (lean_is_scalar(x_61)) { + x_74 = lean_alloc_ctor(0, 2, 0); +} else { + x_74 = x_61; +} +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_60); +return x_74; +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_59); +lean_dec(x_56); +lean_dec(x_55); +x_75 = l_Lean_mkAppN(x_54, x_71); +if (lean_is_scalar(x_61)) { + x_76 = lean_alloc_ctor(0, 2, 0); +} else { + x_76 = x_61; +} +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_60); +return x_76; +} +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_57); +lean_dec(x_56); +lean_dec(x_55); +lean_dec(x_54); +lean_dec(x_52); +x_77 = lean_ctor_get(x_58, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_58, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_79 = x_58; +} else { + lean_dec_ref(x_58); + x_79 = lean_box(0); +} +if (lean_is_scalar(x_79)) { + x_80 = lean_alloc_ctor(1, 2, 0); +} else { + x_80 = x_79; +} +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_78); +return x_80; +} +} +else +{ +lean_object* x_81; +lean_dec(x_54); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_52); +lean_ctor_set(x_81, 1, x_53); +return x_81; +} +} +} +else +{ +uint8_t x_82; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_82 = !lean_is_exclusive(x_7); +if (x_82 == 0) +{ return x_7; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_7, 0); -x_66 = lean_ctor_get(x_7, 1); -lean_inc(x_66); -lean_inc(x_65); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_7, 0); +x_84 = lean_ctor_get(x_7, 1); +lean_inc(x_84); +lean_inc(x_83); lean_dec(x_7); -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; +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; } } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c index a38a110575..b6f85e8840 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c @@ -7509,7 +7509,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_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__22___lambda__3___closed__1; x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__22___lambda__3___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__22___lambda__3___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/MkInhabitant.c b/stage0/stdlib/Lean/Elab/PreDefinition/MkInhabitant.c index 0d6ed07a99..5713d8efad 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/MkInhabitant.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/MkInhabitant.c @@ -570,7 +570,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_PreDefinition_MkInhabitant_0__Lean_Elab_mkFnInhabitant_x3f_loop___closed__2; x_2 = l___private_Lean_Elab_PreDefinition_MkInhabitant_0__Lean_Elab_mkFnInhabitant_x3f_loop___closed__3; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_PreDefinition_MkInhabitant_0__Lean_Elab_mkFnInhabitant_x3f_loop___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c index 56988e53fb..0af8e30875 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c @@ -1681,7 +1681,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_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__2___closed__1; x_2 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__2___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_withBelowDict___spec__1___rarg___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c index 22d87aaa4d..668e6e83ca 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c @@ -1842,7 +1842,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_Std_Range_forIn_loop___at_Lean_Elab_Structural_mkEqns___spec__1___closed__1; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Structural_mkEqns___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Structural_mkEqns___spec__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/IndPred.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/IndPred.c index d232da7d4e..09f228516d 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/IndPred.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/IndPred.c @@ -261,7 +261,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_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___spec__1___closed__2; x_2 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___spec__1___closed__3; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_PreDefinition_Structural_IndPred_0__Lean_Elab_Structural_replaceIndPredRecApps_loop_addBelow___spec__1___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c index 31ede234a6..9217e7c13c 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c @@ -2816,7 +2816,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Structural_structuralRecursion___closed__6; x_2 = l_Lean_Elab_Structural_structuralRecursion___closed__7; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Elab_Structural_structuralRecursion___closed__8; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/SmartUnfolding.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/SmartUnfolding.c index cbc216e225..4c2ac6d713 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/SmartUnfolding.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/SmartUnfolding.c @@ -141,7 +141,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_Meta_matchMatcherApp_x3f___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__1___closed__2; x_2 = l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__1___closed__3; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_Structural_addSmartUnfoldingDefAux_visit___spec__1___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c index da55467f70..3db98e0591 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c @@ -2207,7 +2207,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_PreDefinition_WF_Eqns_0__Lean_Elab_WF_decodePackedArg_x3f___closed__1; x_2 = l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_decodePackedArg_x3f___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_decodePackedArg_x3f___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c index 192c059f7b..2a8c3d8cb1 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c @@ -59,7 +59,6 @@ lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_CasesOnApp_addArg_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getRecAppSyntax_x3f(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__2___rarg(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_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -69,6 +68,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t l_Lean_Elab_Structural_recArgHasLooseBVarsAt(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_mkFix___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__11___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); @@ -498,7 +498,7 @@ 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 = l_Lean_Elab_Tactic_evalTacticAux(x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +x_22 = l_Lean_Elab_Tactic_evalTactic(x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); return x_22; } } @@ -985,7 +985,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_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__2; x_2 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__3; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Ite.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Ite.c index e49e6ba37d..14bc04ef7a 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Ite.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Ite.c @@ -146,7 +146,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_Meta_iteToDIte___lambda__1___closed__8; x_2 = l_Lean_Meta_iteToDIte___lambda__1___closed__9; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_iteToDIte___lambda__1___closed__10; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c index 37d4b846f9..8e1aa2fa47 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c @@ -257,7 +257,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_PreDefinition_WF_Main_0__Lean_Elab_isOnlyOneUnaryDef___closed__1; x_2 = l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_isOnlyOneUnaryDef___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_isOnlyOneUnaryDef___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackDomain.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackDomain.c index 7ddc47535f..7a1014cd43 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackDomain.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackDomain.c @@ -389,7 +389,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_WF_mkUnaryArg_go___closed__1; x_2 = l_Lean_Elab_WF_mkUnaryArg_go___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Elab_WF_mkUnaryArg_go___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackMutual.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackMutual.c index 4a6454c54b..acabbcd0c6 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackMutual.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackMutual.c @@ -947,7 +947,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_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel___spec__1___closed__2; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel___spec__1___closed__3; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel___spec__1___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c index f53ea919df..2cb400fc26 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c @@ -352,7 +352,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_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems___lambda__1___closed__1; x_2 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/TerminationHint.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/TerminationHint.c index ad8e34f9d8..6df323d50e 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/TerminationHint.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/TerminationHint.c @@ -4057,7 +4057,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_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_TerminationHint_0__Lean_Elab_WF_expandTerminationByNonCore___spec__9___closed__3; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_TerminationHint_0__Lean_Elab_WF_expandTerminationByNonCore___spec__9___closed__4; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_TerminationHint_0__Lean_Elab_WF_expandTerminationByNonCore___spec__9___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index d8d01c302b..dac6a661ed 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -2931,7 +2931,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Term_Quotation_mkTuple___closed__10; x_2 = l_Lean_Elab_Term_Quotation_mkTuple___closed__11; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Elab_Term_Quotation_mkTuple___closed__12; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Quotation/Util.c b/stage0/stdlib/Lean/Elab/Quotation/Util.c index 434ff2425f..250eeea55a 100644 --- a/stage0/stdlib/Lean/Elab/Quotation/Util.c +++ b/stage0/stdlib/Lean/Elab/Quotation/Util.c @@ -578,7 +578,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_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__4; x_2 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__5; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index a6d8e02ade..7235fbdda1 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -81,7 +81,6 @@ lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTerm___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources___spec__2___rarg(lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__2; LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Elab_Term_StructInst_formatStruct___spec__1(lean_object*, lean_object*); -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__1___closed__8; lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst___closed__3; @@ -134,6 +133,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExp LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__20; +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___closed__1; LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__1___closed__2; @@ -506,7 +506,6 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_Struct_structName___boxed(lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___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_expr_update_proj(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_instInhabitedField___closed__1; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__4; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__7; @@ -545,6 +544,7 @@ static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___c LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst___closed__2; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__2; +size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___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(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__2; @@ -706,6 +706,7 @@ extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findField_x3f(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___spec__2___closed__4; +lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__5; lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__5___rarg___closed__2; @@ -3441,7 +3442,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_StructInst_0__Lean_Elab_Term_StructInst_mkSourcesWithSyntax___closed__1; x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSourcesWithSyntax___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSourcesWithSyntax___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -21386,248 +21387,373 @@ return x_81; } case 10: { -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_2, 1); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_2, 0); lean_inc(x_82); -x_83 = l_Lean_Elab_Term_StructInst_DefaultFields_reduce(x_1, x_82, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_83) == 0) +x_83 = lean_ctor_get(x_2, 1); +lean_inc(x_83); +lean_inc(x_83); +x_84 = l_Lean_Elab_Term_StructInst_DefaultFields_reduce(x_1, x_83, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_84) == 0) { -uint8_t x_84; -x_84 = !lean_is_exclusive(x_83); -if (x_84 == 0) +uint8_t x_85; +x_85 = !lean_is_exclusive(x_84); +if (x_85 == 0) { -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_83, 0); -x_86 = l_Lean_Elab_Term_StructInst_defaultMissing_x3f(x_2); -if (lean_obj_tag(x_86) == 0) +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_84, 0); +x_87 = l_Lean_Elab_Term_StructInst_defaultMissing_x3f(x_2); +if (lean_obj_tag(x_87) == 0) { -lean_object* x_87; -x_87 = lean_expr_update_mdata(x_2, x_85); -lean_ctor_set(x_83, 0, x_87); -return x_83; -} -else -{ -uint8_t x_88; -lean_dec(x_86); -x_88 = l_Lean_Expr_isMVar(x_85); -if (x_88 == 0) -{ -lean_dec(x_2); -return x_83; -} -else -{ -lean_object* x_89; -x_89 = lean_expr_update_mdata(x_2, x_85); -lean_ctor_set(x_83, 0, x_89); -return x_83; -} -} -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_83, 0); -x_91 = lean_ctor_get(x_83, 1); -lean_inc(x_91); -lean_inc(x_90); +size_t x_88; size_t x_89; uint8_t x_90; +x_88 = lean_ptr_addr(x_83); lean_dec(x_83); -x_92 = l_Lean_Elab_Term_StructInst_defaultMissing_x3f(x_2); -if (lean_obj_tag(x_92) == 0) +x_89 = lean_ptr_addr(x_86); +x_90 = lean_usize_dec_eq(x_88, x_89); +if (x_90 == 0) { -lean_object* x_93; lean_object* x_94; -x_93 = lean_expr_update_mdata(x_2, x_90); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_91); -return x_94; +lean_object* x_91; +lean_dec(x_2); +x_91 = l_Lean_Expr_mdata___override(x_82, x_86); +lean_ctor_set(x_84, 0, x_91); +return x_84; } else { -uint8_t x_95; -lean_dec(x_92); -x_95 = l_Lean_Expr_isMVar(x_90); +lean_dec(x_86); +lean_dec(x_82); +lean_ctor_set(x_84, 0, x_2); +return x_84; +} +} +else +{ +uint8_t x_92; +lean_dec(x_87); +x_92 = l_Lean_Expr_isMVar(x_86); +if (x_92 == 0) +{ +lean_dec(x_83); +lean_dec(x_82); +lean_dec(x_2); +return x_84; +} +else +{ +size_t x_93; size_t x_94; uint8_t x_95; +x_93 = lean_ptr_addr(x_83); +lean_dec(x_83); +x_94 = lean_ptr_addr(x_86); +x_95 = lean_usize_dec_eq(x_93, x_94); if (x_95 == 0) { lean_object* x_96; lean_dec(x_2); -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_90); -lean_ctor_set(x_96, 1, x_91); -return x_96; +x_96 = l_Lean_Expr_mdata___override(x_82, x_86); +lean_ctor_set(x_84, 0, x_96); +return x_84; } else { -lean_object* x_97; lean_object* x_98; -x_97 = lean_expr_update_mdata(x_2, x_90); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_91); -return x_98; +lean_dec(x_86); +lean_dec(x_82); +lean_ctor_set(x_84, 0, x_2); +return x_84; } } } } else { -uint8_t x_99; -lean_dec(x_2); -x_99 = !lean_is_exclusive(x_83); -if (x_99 == 0) +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 = l_Lean_Elab_Term_StructInst_defaultMissing_x3f(x_2); +if (lean_obj_tag(x_99) == 0) { -return x_83; -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_83, 0); -x_101 = lean_ctor_get(x_83, 1); -lean_inc(x_101); -lean_inc(x_100); +size_t x_100; size_t x_101; uint8_t x_102; +x_100 = lean_ptr_addr(x_83); lean_dec(x_83); -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_ptr_addr(x_97); +x_102 = lean_usize_dec_eq(x_100, x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; +lean_dec(x_2); +x_103 = l_Lean_Expr_mdata___override(x_82, x_97); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_98); +return x_104; +} +else +{ +lean_object* x_105; +lean_dec(x_97); +lean_dec(x_82); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_2); +lean_ctor_set(x_105, 1, x_98); +return x_105; +} +} +else +{ +uint8_t x_106; +lean_dec(x_99); +x_106 = l_Lean_Expr_isMVar(x_97); +if (x_106 == 0) +{ +lean_object* x_107; +lean_dec(x_83); +lean_dec(x_82); +lean_dec(x_2); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_97); +lean_ctor_set(x_107, 1, x_98); +return x_107; +} +else +{ +size_t x_108; size_t x_109; uint8_t x_110; +x_108 = lean_ptr_addr(x_83); +lean_dec(x_83); +x_109 = lean_ptr_addr(x_97); +x_110 = lean_usize_dec_eq(x_108, x_109); +if (x_110 == 0) +{ +lean_object* x_111; lean_object* x_112; +lean_dec(x_2); +x_111 = l_Lean_Expr_mdata___override(x_82, x_97); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_98); +return x_112; +} +else +{ +lean_object* x_113; +lean_dec(x_97); +lean_dec(x_82); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_2); +lean_ctor_set(x_113, 1, x_98); +return x_113; +} +} +} +} +} +else +{ +uint8_t x_114; +lean_dec(x_83); +lean_dec(x_82); +lean_dec(x_2); +x_114 = !lean_is_exclusive(x_84); +if (x_114 == 0) +{ +return x_84; +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_84, 0); +x_116 = lean_ctor_get(x_84, 1); +lean_inc(x_116); +lean_inc(x_115); +lean_dec(x_84); +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_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_2, 1); -lean_inc(x_103); -x_104 = lean_ctor_get(x_2, 2); -lean_inc(x_104); +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_118 = lean_ctor_get(x_2, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_2, 1); +lean_inc(x_119); +x_120 = lean_ctor_get(x_2, 2); +lean_inc(x_120); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_104); -x_105 = l_Lean_Meta_project_x3f(x_104, x_103, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_103); -if (lean_obj_tag(x_105) == 0) -{ -lean_object* x_106; -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -if (lean_obj_tag(x_106) == 0) -{ -lean_object* x_107; lean_object* x_108; -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = l_Lean_Elab_Term_StructInst_DefaultFields_reduce(x_1, x_104, x_3, x_4, x_5, x_6, 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_expr_update_proj(x_2, 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_expr_update_proj(x_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_113); -return x_115; -} -} -else -{ -uint8_t x_116; -lean_dec(x_2); -x_116 = !lean_is_exclusive(x_108); -if (x_116 == 0) -{ -return x_108; -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_108, 0); -x_118 = lean_ctor_get(x_108, 1); -lean_inc(x_118); -lean_inc(x_117); -lean_dec(x_108); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -return x_119; -} -} -} -else -{ -lean_object* x_120; lean_object* x_121; -lean_dec(x_104); -lean_dec(x_2); -x_120 = lean_ctor_get(x_105, 1); lean_inc(x_120); -lean_dec(x_105); -x_121 = lean_ctor_get(x_106, 0); -lean_inc(x_121); -lean_dec(x_106); -x_2 = x_121; -x_7 = x_120; +x_121 = l_Lean_Meta_project_x3f(x_120, x_119, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_121) == 0) +{ +lean_object* x_122; +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +if (lean_obj_tag(x_122) == 0) +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +lean_inc(x_120); +x_124 = l_Lean_Elab_Term_StructInst_DefaultFields_reduce(x_1, x_120, x_3, x_4, x_5, x_6, x_123); +if (lean_obj_tag(x_124) == 0) +{ +uint8_t x_125; +x_125 = !lean_is_exclusive(x_124); +if (x_125 == 0) +{ +lean_object* x_126; size_t x_127; size_t x_128; uint8_t x_129; +x_126 = lean_ctor_get(x_124, 0); +x_127 = lean_ptr_addr(x_120); +lean_dec(x_120); +x_128 = lean_ptr_addr(x_126); +x_129 = lean_usize_dec_eq(x_127, x_128); +if (x_129 == 0) +{ +lean_object* x_130; +lean_dec(x_2); +x_130 = l_Lean_Expr_proj___override(x_118, x_119, x_126); +lean_ctor_set(x_124, 0, x_130); +return x_124; +} +else +{ +lean_dec(x_126); +lean_dec(x_119); +lean_dec(x_118); +lean_ctor_set(x_124, 0, x_2); +return x_124; +} +} +else +{ +lean_object* x_131; lean_object* x_132; size_t x_133; size_t x_134; uint8_t x_135; +x_131 = lean_ctor_get(x_124, 0); +x_132 = lean_ctor_get(x_124, 1); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_124); +x_133 = lean_ptr_addr(x_120); +lean_dec(x_120); +x_134 = lean_ptr_addr(x_131); +x_135 = lean_usize_dec_eq(x_133, x_134); +if (x_135 == 0) +{ +lean_object* x_136; lean_object* x_137; +lean_dec(x_2); +x_136 = l_Lean_Expr_proj___override(x_118, x_119, x_131); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_132); +return x_137; +} +else +{ +lean_object* x_138; +lean_dec(x_131); +lean_dec(x_119); +lean_dec(x_118); +x_138 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_2); +lean_ctor_set(x_138, 1, x_132); +return x_138; +} +} +} +else +{ +uint8_t x_139; +lean_dec(x_120); +lean_dec(x_119); +lean_dec(x_118); +lean_dec(x_2); +x_139 = !lean_is_exclusive(x_124); +if (x_139 == 0) +{ +return x_124; +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_124, 0); +x_141 = lean_ctor_get(x_124, 1); +lean_inc(x_141); +lean_inc(x_140); +lean_dec(x_124); +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_143; lean_object* x_144; +lean_dec(x_120); +lean_dec(x_119); +lean_dec(x_118); +lean_dec(x_2); +x_143 = lean_ctor_get(x_121, 1); +lean_inc(x_143); +lean_dec(x_121); +x_144 = lean_ctor_get(x_122, 0); +lean_inc(x_144); +lean_dec(x_122); +x_2 = x_144; +x_7 = x_143; goto _start; } } else { -uint8_t x_123; -lean_dec(x_104); +uint8_t x_146; +lean_dec(x_120); +lean_dec(x_119); +lean_dec(x_118); 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_123 = !lean_is_exclusive(x_105); -if (x_123 == 0) +x_146 = !lean_is_exclusive(x_121); +if (x_146 == 0) { -return x_105; +return x_121; } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_105, 0); -x_125 = lean_ctor_get(x_105, 1); -lean_inc(x_125); -lean_inc(x_124); -lean_dec(x_105); -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; +lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_147 = lean_ctor_get(x_121, 0); +x_148 = lean_ctor_get(x_121, 1); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_121); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_147); +lean_ctor_set(x_149, 1, x_148); +return x_149; } } } default: { -lean_object* x_127; +lean_object* x_150; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_2); -lean_ctor_set(x_127, 1, x_7); -return x_127; +x_150 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_150, 0, x_2); +lean_ctor_set(x_150, 1, x_7); +return x_150; } } } diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index c2625a206a..69dd343de3 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -390,7 +390,6 @@ static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__5___closed__2; static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_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_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___spec__1___rarg(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_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__2; static lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2___closed__4; @@ -574,6 +573,7 @@ lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Term_expandDeclId___spec__9( static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___rarg___closed__9; uint8_t l_Lean_Expr_isForall(lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); +lean_object* l_Lean_Elab_Term_elabTermEnsuringType___boxed(lean_object*, lean_object*, lean_object*, 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___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldKind____x40_Lean_Elab_Structure___hyg_327____boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4___closed__6; @@ -721,6 +721,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Struc LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(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___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_522____closed__11; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___closed__6; +lean_object* l_Lean_Elab_Term_elabTerm___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_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___lambda__1(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabStructure___closed__1; LEAN_EXPORT uint8_t l_Lean_Elab_Command_instDecidableEqStructFieldKind(uint8_t, uint8_t); @@ -819,7 +820,7 @@ static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue___lambda__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_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f_go_x3f___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__5___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_12385_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_12391_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_3275_(lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); @@ -13759,7 +13760,7 @@ lean_inc(x_3); x_19 = l_Lean_Elab_Term_addAutoBoundImplicits(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); if (lean_obj_tag(x_19) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +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; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -13767,114 +13768,121 @@ lean_inc(x_21); lean_dec(x_19); x_22 = lean_box(0); x_23 = 1; +x_24 = lean_box(x_23); +x_25 = lean_box(x_23); +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_26, 0, x_15); +lean_closure_set(x_26, 1, x_22); +lean_closure_set(x_26, 2, x_24); +lean_closure_set(x_26, 3, x_25); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_24 = l_Lean_Elab_Term_elabTerm(x_15, x_22, x_23, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_21); -if (lean_obj_tag(x_24) == 0) +x_27 = l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* 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 = l_Lean_Meta_mkLambdaFVars(x_20, x_25, x_16, x_23, x_27, x_5, x_6, x_7, x_8, x_26); +lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = 1; +x_31 = l_Lean_Meta_mkLambdaFVars(x_20, x_28, x_16, x_23, x_30, x_5, x_6, x_7, x_8, x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -if (lean_obj_tag(x_28) == 0) +if (lean_obj_tag(x_31) == 0) { -uint8_t x_29; -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +uint8_t x_32; +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_28, 0); -lean_ctor_set(x_11, 0, x_30); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_11); -lean_ctor_set(x_28, 0, x_31); -return x_28; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_28, 0); -x_33 = lean_ctor_get(x_28, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_28); -lean_ctor_set(x_11, 0, x_32); +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_31, 0); +lean_ctor_set(x_11, 0, x_33); x_34 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_34, 0, x_22); lean_ctor_set(x_34, 1, x_11); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -return x_35; +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); +lean_ctor_set(x_11, 0, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_22); +lean_ctor_set(x_37, 1, x_11); +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_36; +uint8_t x_39; lean_free_object(x_11); -x_36 = !lean_is_exclusive(x_28); -if (x_36 == 0) +x_39 = !lean_is_exclusive(x_31); +if (x_39 == 0) { -return x_28; +return x_31; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_28, 0); -x_38 = lean_ctor_get(x_28, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_28); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_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; } } } else { -uint8_t x_40; +uint8_t x_43; lean_dec(x_20); lean_free_object(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_40 = !lean_is_exclusive(x_24); -if (x_40 == 0) +x_43 = !lean_is_exclusive(x_27); +if (x_43 == 0) { -return x_24; +return x_27; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_24, 0); -x_42 = lean_ctor_get(x_24, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_24); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_27, 0); +x_45 = lean_ctor_get(x_27, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_27); +x_46 = 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_44; +uint8_t x_47; lean_free_object(x_11); lean_dec(x_15); lean_dec(x_8); @@ -13883,29 +13891,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_44 = !lean_is_exclusive(x_19); -if (x_44 == 0) +x_47 = !lean_is_exclusive(x_19); +if (x_47 == 0) { return x_19; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_19, 0); -x_46 = lean_ctor_get(x_19, 1); -lean_inc(x_46); -lean_inc(x_45); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_19, 0); +x_49 = lean_ctor_get(x_19, 1); +lean_inc(x_49); +lean_inc(x_48); lean_dec(x_19); -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; +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; } } } else { -uint8_t x_48; +uint8_t x_51; lean_free_object(x_11); lean_dec(x_15); lean_dec(x_8); @@ -13915,201 +13923,208 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_48 = !lean_is_exclusive(x_17); -if (x_48 == 0) +x_51 = !lean_is_exclusive(x_17); +if (x_51 == 0) { return x_17; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_17, 0); -x_50 = lean_ctor_get(x_17, 1); -lean_inc(x_50); -lean_inc(x_49); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_17, 0); +x_53 = lean_ctor_get(x_17, 1); +lean_inc(x_53); +lean_inc(x_52); lean_dec(x_17); -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_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_52; uint8_t x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_11, 0); -lean_inc(x_52); +lean_object* x_55; uint8_t x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_11, 0); +lean_inc(x_55); lean_dec(x_11); -x_53 = 0; +x_56 = 0; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_54 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_53, x_53, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_54) == 0) +x_57 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_56, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_57) == 0) { -lean_object* x_55; lean_object* x_56; -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -lean_dec(x_54); +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_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_3); -x_56 = l_Lean_Elab_Term_addAutoBoundImplicits(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_55); -if (lean_obj_tag(x_56) == 0) +x_59 = l_Lean_Elab_Term_addAutoBoundImplicits(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_58); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t 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); -lean_dec(x_56); -x_59 = lean_box(0); -x_60 = 1; +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; +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_box(0); +x_63 = 1; +x_64 = lean_box(x_63); +x_65 = lean_box(x_63); +x_66 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTerm___boxed), 11, 4); +lean_closure_set(x_66, 0, x_55); +lean_closure_set(x_66, 1, x_62); +lean_closure_set(x_66, 2, x_64); +lean_closure_set(x_66, 3, x_65); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_61 = l_Lean_Elab_Term_elabTerm(x_52, x_59, x_60, x_60, x_3, x_4, x_5, x_6, x_7, x_8, x_58); -if (lean_obj_tag(x_61) == 0) +x_67 = l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(x_66, x_3, x_4, x_5, x_6, x_7, x_8, x_61); +if (lean_obj_tag(x_67) == 0) { -lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; -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 = 1; -x_65 = l_Lean_Meta_mkLambdaFVars(x_57, x_62, x_53, x_60, x_64, x_5, x_6, x_7, x_8, x_63); +lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = 1; +x_71 = l_Lean_Meta_mkLambdaFVars(x_60, x_68, x_56, x_63, x_70, x_5, x_6, x_7, x_8, x_69); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -if (lean_obj_tag(x_65) == 0) +if (lean_obj_tag(x_71) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_68 = x_65; -} else { - lean_dec_ref(x_65); - x_68 = lean_box(0); -} -x_69 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_69, 0, x_66); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_59); -lean_ctor_set(x_70, 1, x_69); -if (lean_is_scalar(x_68)) { - x_71 = lean_alloc_ctor(0, 2, 0); -} else { - x_71 = x_68; -} -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_67); -return x_71; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_72 = lean_ctor_get(x_65, 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; +x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); -x_73 = lean_ctor_get(x_65, 1); +x_73 = lean_ctor_get(x_71, 1); lean_inc(x_73); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_74 = x_65; +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_74 = x_71; } else { - lean_dec_ref(x_65); + lean_dec_ref(x_71); x_74 = lean_box(0); } -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(1, 2, 0); -} else { - x_75 = x_74; -} +x_75 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_75, 0, x_72); -lean_ctor_set(x_75, 1, x_73); -return x_75; +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_62); +lean_ctor_set(x_76, 1, x_75); +if (lean_is_scalar(x_74)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_74; +} +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_73); +return x_77; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_78 = lean_ctor_get(x_71, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_71, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_80 = x_71; +} else { + lean_dec_ref(x_71); + x_80 = lean_box(0); +} +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(1, 2, 0); +} else { + x_81 = x_80; +} +lean_ctor_set(x_81, 0, x_78); +lean_ctor_set(x_81, 1, x_79); +return x_81; } } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -lean_dec(x_57); +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_60); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_76 = lean_ctor_get(x_61, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_61, 1); -lean_inc(x_77); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_78 = x_61; +x_82 = lean_ctor_get(x_67, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_67, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_84 = x_67; } else { - lean_dec_ref(x_61); - x_78 = lean_box(0); + lean_dec_ref(x_67); + x_84 = lean_box(0); } -if (lean_is_scalar(x_78)) { - x_79 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(1, 2, 0); } else { - x_79 = x_78; + x_85 = x_84; } -lean_ctor_set(x_79, 0, x_76); -lean_ctor_set(x_79, 1, x_77); -return x_79; +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_83); +return x_85; } } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -lean_dec(x_52); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_55); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_80 = lean_ctor_get(x_56, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_56, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_82 = x_56; +x_86 = lean_ctor_get(x_59, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_59, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_88 = x_59; } else { - lean_dec_ref(x_56); - x_82 = lean_box(0); + lean_dec_ref(x_59); + x_88 = lean_box(0); } -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); } else { - x_83 = x_82; + x_89 = x_88; } -lean_ctor_set(x_83, 0, x_80); -lean_ctor_set(x_83, 1, x_81); -return x_83; +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +return x_89; } } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_52); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_55); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -14117,342 +14132,350 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_84 = lean_ctor_get(x_54, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_54, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_86 = x_54; +x_90 = lean_ctor_get(x_57, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_57, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_92 = x_57; } else { - lean_dec_ref(x_54); - x_86 = lean_box(0); + lean_dec_ref(x_57); + x_92 = lean_box(0); } -if (lean_is_scalar(x_86)) { - x_87 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(1, 2, 0); } else { - x_87 = x_86; + x_93 = x_92; } -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_85); -return x_87; +lean_ctor_set(x_93, 0, x_90); +lean_ctor_set(x_93, 1, x_91); +return x_93; } } } } else { -uint8_t x_88; -x_88 = !lean_is_exclusive(x_10); -if (x_88 == 0) -{ -lean_object* x_89; lean_object* x_90; -x_89 = lean_ctor_get(x_10, 0); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_90 = l_Lean_Elab_Term_elabType(x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_90) == 0) -{ -lean_object* x_91; lean_object* x_92; uint8_t x_93; lean_object* x_94; -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = 0; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_94 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_93, x_93, x_3, x_4, x_5, x_6, x_7, x_8, x_92); -if (lean_obj_tag(x_94) == 0) +uint8_t x_94; +x_94 = !lean_is_exclusive(x_10); +if (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); +x_95 = lean_ctor_get(x_10, 0); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); -x_96 = l_Lean_Elab_Term_addAutoBoundImplicits(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_95); +x_96 = l_Lean_Elab_Term_elabType(x_95, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_96) == 0) { -lean_object* x_97; -x_97 = lean_ctor_get(x_1, 7); +lean_object* x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; +x_97 = lean_ctor_get(x_96, 0); lean_inc(x_97); -lean_dec(x_1); -if (lean_obj_tag(x_97) == 0) -{ -lean_object* x_98; lean_object* x_99; uint8_t x_100; uint8_t x_101; lean_object* x_102; -lean_dec(x_4); -lean_dec(x_3); -x_98 = lean_ctor_get(x_96, 0); +x_98 = lean_ctor_get(x_96, 1); lean_inc(x_98); -x_99 = lean_ctor_get(x_96, 1); -lean_inc(x_99); lean_dec(x_96); -x_100 = 1; -x_101 = 1; -x_102 = l_Lean_Meta_mkForallFVars(x_98, x_91, x_93, x_100, x_101, x_5, x_6, x_7, x_8, x_99); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); +x_99 = 0; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_100 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_99, x_99, x_3, x_4, x_5, x_6, x_7, x_8, x_98); +if (lean_obj_tag(x_100) == 0) +{ +lean_object* x_101; lean_object* x_102; +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +lean_dec(x_100); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_3); +x_102 = l_Lean_Elab_Term_addAutoBoundImplicits(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_101); if (lean_obj_tag(x_102) == 0) { -uint8_t x_103; -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) +lean_object* x_103; +x_103 = lean_ctor_get(x_1, 7); +lean_inc(x_103); +lean_dec(x_1); +if (lean_obj_tag(x_103) == 0) { -lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_object* x_104; lean_object* x_105; uint8_t x_106; uint8_t x_107; lean_object* x_108; +lean_dec(x_4); +lean_dec(x_3); x_104 = lean_ctor_get(x_102, 0); -lean_ctor_set(x_10, 0, x_104); -x_105 = lean_box(0); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_10); -lean_ctor_set(x_106, 1, x_105); -lean_ctor_set(x_102, 0, x_106); -return x_102; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_107 = lean_ctor_get(x_102, 0); -x_108 = lean_ctor_get(x_102, 1); -lean_inc(x_108); -lean_inc(x_107); +lean_inc(x_104); +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); lean_dec(x_102); -lean_ctor_set(x_10, 0, x_107); -x_109 = lean_box(0); -x_110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_110, 0, x_10); -lean_ctor_set(x_110, 1, x_109); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_108); -return x_111; -} +x_106 = 1; +x_107 = 1; +x_108 = l_Lean_Meta_mkForallFVars(x_104, x_97, x_99, x_106, x_107, x_5, x_6, x_7, x_8, x_105); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +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; lean_object* x_112; +x_110 = lean_ctor_get(x_108, 0); +lean_ctor_set(x_10, 0, x_110); +x_111 = lean_box(0); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_10); +lean_ctor_set(x_112, 1, x_111); +lean_ctor_set(x_108, 0, x_112); +return x_108; } else { -uint8_t x_112; -lean_free_object(x_10); -x_112 = !lean_is_exclusive(x_102); -if (x_112 == 0) -{ -return x_102; -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_102, 0); -x_114 = lean_ctor_get(x_102, 1); +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_113 = lean_ctor_get(x_108, 0); +x_114 = lean_ctor_get(x_108, 1); lean_inc(x_114); lean_inc(x_113); -lean_dec(x_102); -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; +lean_dec(x_108); +lean_ctor_set(x_10, 0, x_113); +x_115 = lean_box(0); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_10); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_114); +return x_117; +} +} +else +{ +uint8_t x_118; +lean_free_object(x_10); +x_118 = !lean_is_exclusive(x_108); +if (x_118 == 0) +{ +return x_108; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_108, 0); +x_120 = lean_ctor_get(x_108, 1); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_108); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; } } } else { -lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_116 = lean_ctor_get(x_96, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_96, 1); -lean_inc(x_117); -lean_dec(x_96); -x_118 = !lean_is_exclusive(x_97); -if (x_118 == 0) +lean_object* x_122; lean_object* x_123; uint8_t x_124; +x_122 = lean_ctor_get(x_102, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_102, 1); +lean_inc(x_123); +lean_dec(x_102); +x_124 = !lean_is_exclusive(x_103); +if (x_124 == 0) { -lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; -x_119 = lean_ctor_get(x_97, 0); -lean_inc(x_91); -lean_ctor_set(x_97, 0, x_91); -x_120 = lean_box(0); -x_121 = 1; +lean_object* x_125; lean_object* x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_125 = lean_ctor_get(x_103, 0); +lean_inc(x_97); +lean_ctor_set(x_103, 0, x_97); +x_126 = lean_box(0); +x_127 = 1; +x_128 = lean_box(x_127); +x_129 = lean_box(x_127); +x_130 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_130, 0, x_125); +lean_closure_set(x_130, 1, x_103); +lean_closure_set(x_130, 2, x_128); +lean_closure_set(x_130, 3, x_129); +lean_closure_set(x_130, 4, x_126); 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_122 = l_Lean_Elab_Term_elabTermEnsuringType(x_119, x_97, x_121, x_121, x_120, x_3, x_4, x_5, x_6, x_7, x_8, x_117); -if (lean_obj_tag(x_122) == 0) +x_131 = l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(x_130, x_3, x_4, x_5, x_6, x_7, x_8, x_123); +if (lean_obj_tag(x_131) == 0) { -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +lean_dec(x_131); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_125 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_93, x_93, x_3, x_4, x_5, x_6, x_7, x_8, x_124); -if (lean_obj_tag(x_125) == 0) +x_134 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_99, x_99, x_3, x_4, x_5, x_6, x_7, x_8, x_133); +if (lean_obj_tag(x_134) == 0) { -lean_object* x_126; uint8_t x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_125, 1); -lean_inc(x_126); -lean_dec(x_125); -x_127 = 1; -lean_inc(x_116); -x_128 = l_Lean_Meta_mkForallFVars(x_116, x_91, x_93, x_121, x_127, x_5, x_6, x_7, x_8, x_126); -if (lean_obj_tag(x_128) == 0) +lean_object* x_135; uint8_t x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +lean_dec(x_134); +x_136 = 1; +lean_inc(x_122); +x_137 = l_Lean_Meta_mkForallFVars(x_122, x_97, x_99, x_127, x_136, x_5, x_6, x_7, x_8, x_135); +if (lean_obj_tag(x_137) == 0) { -lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -lean_dec(x_128); -x_131 = l_Lean_Meta_mkLambdaFVars(x_116, x_123, x_93, x_121, x_127, x_5, x_6, x_7, x_8, x_130); +lean_object* x_138; lean_object* x_139; lean_object* x_140; +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 = l_Lean_Meta_mkLambdaFVars(x_122, x_132, x_99, x_127, x_136, x_5, x_6, x_7, x_8, x_139); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -if (lean_obj_tag(x_131) == 0) -{ -uint8_t x_132; -x_132 = !lean_is_exclusive(x_131); -if (x_132 == 0) -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_133 = lean_ctor_get(x_131, 0); -lean_ctor_set(x_10, 0, x_129); -x_134 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_134, 0, x_133); -x_135 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_135, 0, x_10); -lean_ctor_set(x_135, 1, x_134); -lean_ctor_set(x_131, 0, x_135); -return x_131; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_136 = lean_ctor_get(x_131, 0); -x_137 = lean_ctor_get(x_131, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_131); -lean_ctor_set(x_10, 0, x_129); -x_138 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_138, 0, x_136); -x_139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_139, 0, x_10); -lean_ctor_set(x_139, 1, x_138); -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_137); -return x_140; -} -} -else +if (lean_obj_tag(x_140) == 0) { uint8_t x_141; -lean_dec(x_129); -lean_free_object(x_10); -x_141 = !lean_is_exclusive(x_131); +x_141 = !lean_is_exclusive(x_140); if (x_141 == 0) { -return x_131; -} -else -{ lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_142 = lean_ctor_get(x_131, 0); -x_143 = lean_ctor_get(x_131, 1); -lean_inc(x_143); -lean_inc(x_142); -lean_dec(x_131); -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_142); +x_142 = lean_ctor_get(x_140, 0); +lean_ctor_set(x_10, 0, x_138); +x_143 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_143, 0, x_142); +x_144 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_144, 0, x_10); lean_ctor_set(x_144, 1, x_143); -return x_144; -} -} +lean_ctor_set(x_140, 0, x_144); +return x_140; } else { -uint8_t x_145; -lean_dec(x_123); -lean_dec(x_116); -lean_free_object(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_145 = !lean_is_exclusive(x_128); -if (x_145 == 0) -{ -return x_128; -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_128, 0); -x_147 = lean_ctor_get(x_128, 1); -lean_inc(x_147); +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_145 = lean_ctor_get(x_140, 0); +x_146 = lean_ctor_get(x_140, 1); lean_inc(x_146); -lean_dec(x_128); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); +lean_inc(x_145); +lean_dec(x_140); +lean_ctor_set(x_10, 0, x_138); +x_147 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_147, 0, x_145); +x_148 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_148, 0, x_10); lean_ctor_set(x_148, 1, x_147); -return x_148; +x_149 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_146); +return x_149; +} +} +else +{ +uint8_t x_150; +lean_dec(x_138); +lean_free_object(x_10); +x_150 = !lean_is_exclusive(x_140); +if (x_150 == 0) +{ +return x_140; +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_151 = lean_ctor_get(x_140, 0); +x_152 = lean_ctor_get(x_140, 1); +lean_inc(x_152); +lean_inc(x_151); +lean_dec(x_140); +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; } } } else { -uint8_t x_149; -lean_dec(x_123); -lean_dec(x_116); -lean_dec(x_91); +uint8_t x_154; +lean_dec(x_132); +lean_dec(x_122); lean_free_object(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_149 = !lean_is_exclusive(x_125); -if (x_149 == 0) +x_154 = !lean_is_exclusive(x_137); +if (x_154 == 0) { -return x_125; +return x_137; } else { -lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_150 = lean_ctor_get(x_125, 0); -x_151 = lean_ctor_get(x_125, 1); -lean_inc(x_151); -lean_inc(x_150); -lean_dec(x_125); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -return x_152; +lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_ctor_get(x_137, 0); +x_156 = lean_ctor_get(x_137, 1); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_137); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +return x_157; } } } else { -uint8_t x_153; -lean_dec(x_116); -lean_dec(x_91); +uint8_t x_158; +lean_dec(x_132); +lean_dec(x_122); +lean_dec(x_97); +lean_free_object(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_158 = !lean_is_exclusive(x_134); +if (x_158 == 0) +{ +return x_134; +} +else +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_159 = lean_ctor_get(x_134, 0); +x_160 = lean_ctor_get(x_134, 1); +lean_inc(x_160); +lean_inc(x_159); +lean_dec(x_134); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_159); +lean_ctor_set(x_161, 1, x_160); +return x_161; +} +} +} +else +{ +uint8_t x_162; +lean_dec(x_122); +lean_dec(x_97); lean_free_object(x_10); lean_dec(x_8); lean_dec(x_7); @@ -14460,223 +14483,132 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_153 = !lean_is_exclusive(x_122); -if (x_153 == 0) +x_162 = !lean_is_exclusive(x_131); +if (x_162 == 0) { -return x_122; +return x_131; } else { -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_122, 0); -x_155 = lean_ctor_get(x_122, 1); -lean_inc(x_155); -lean_inc(x_154); -lean_dec(x_122); -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; +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_131, 0); +x_164 = lean_ctor_get(x_131, 1); +lean_inc(x_164); +lean_inc(x_163); +lean_dec(x_131); +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_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; -x_157 = lean_ctor_get(x_97, 0); -lean_inc(x_157); -lean_dec(x_97); -lean_inc(x_91); -x_158 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_158, 0, x_91); -x_159 = lean_box(0); -x_160 = 1; +lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_166 = lean_ctor_get(x_103, 0); +lean_inc(x_166); +lean_dec(x_103); +lean_inc(x_97); +x_167 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_167, 0, x_97); +x_168 = lean_box(0); +x_169 = 1; +x_170 = lean_box(x_169); +x_171 = lean_box(x_169); +x_172 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_172, 0, x_166); +lean_closure_set(x_172, 1, x_167); +lean_closure_set(x_172, 2, x_170); +lean_closure_set(x_172, 3, x_171); +lean_closure_set(x_172, 4, x_168); 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_161 = l_Lean_Elab_Term_elabTermEnsuringType(x_157, x_158, x_160, x_160, x_159, x_3, x_4, x_5, x_6, x_7, x_8, x_117); -if (lean_obj_tag(x_161) == 0) +x_173 = l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(x_172, x_3, x_4, x_5, x_6, x_7, x_8, x_123); +if (lean_obj_tag(x_173) == 0) { -lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_162 = lean_ctor_get(x_161, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_161, 1); -lean_inc(x_163); -lean_dec(x_161); +lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_173, 1); +lean_inc(x_175); +lean_dec(x_173); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_164 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_93, x_93, x_3, x_4, x_5, x_6, x_7, x_8, x_163); -if (lean_obj_tag(x_164) == 0) +x_176 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_99, x_99, x_3, x_4, x_5, x_6, x_7, x_8, x_175); +if (lean_obj_tag(x_176) == 0) { -lean_object* x_165; uint8_t x_166; lean_object* x_167; -x_165 = lean_ctor_get(x_164, 1); -lean_inc(x_165); -lean_dec(x_164); -x_166 = 1; -lean_inc(x_116); -x_167 = l_Lean_Meta_mkForallFVars(x_116, x_91, x_93, x_160, x_166, x_5, x_6, x_7, x_8, x_165); -if (lean_obj_tag(x_167) == 0) -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_167, 1); -lean_inc(x_169); -lean_dec(x_167); -x_170 = l_Lean_Meta_mkLambdaFVars(x_116, x_162, x_93, x_160, x_166, x_5, x_6, x_7, x_8, x_169); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -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, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); -if (lean_is_exclusive(x_170)) { - lean_ctor_release(x_170, 0); - lean_ctor_release(x_170, 1); - x_173 = x_170; -} else { - lean_dec_ref(x_170); - x_173 = lean_box(0); -} -lean_ctor_set(x_10, 0, x_168); -x_174 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_174, 0, x_171); -x_175 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_175, 0, x_10); -lean_ctor_set(x_175, 1, x_174); -if (lean_is_scalar(x_173)) { - x_176 = lean_alloc_ctor(0, 2, 0); -} else { - x_176 = x_173; -} -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_172); -return x_176; -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_168); -lean_free_object(x_10); -x_177 = lean_ctor_get(x_170, 0); +lean_object* x_177; uint8_t x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_176, 1); 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_dec(x_176); +x_178 = 1; +lean_inc(x_122); +x_179 = l_Lean_Meta_mkForallFVars(x_122, x_97, x_99, x_169, x_178, x_5, x_6, x_7, x_8, x_177); +if (lean_obj_tag(x_179) == 0) { -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; -lean_dec(x_162); -lean_dec(x_116); -lean_free_object(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_181 = lean_ctor_get(x_167, 0); +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_179, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_179, 1); lean_inc(x_181); -x_182 = lean_ctor_get(x_167, 1); -lean_inc(x_182); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - x_183 = x_167; -} else { - lean_dec_ref(x_167); - x_183 = lean_box(0); -} -if (lean_is_scalar(x_183)) { - x_184 = lean_alloc_ctor(1, 2, 0); -} else { - x_184 = x_183; -} -lean_ctor_set(x_184, 0, x_181); -lean_ctor_set(x_184, 1, x_182); -return x_184; -} -} -else -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -lean_dec(x_162); -lean_dec(x_116); -lean_dec(x_91); -lean_free_object(x_10); +lean_dec(x_179); +x_182 = l_Lean_Meta_mkLambdaFVars(x_122, x_174, x_99, x_169, x_178, x_5, x_6, x_7, x_8, x_181); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_185 = lean_ctor_get(x_164, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_164, 1); -lean_inc(x_186); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_187 = x_164; +if (lean_obj_tag(x_182) == 0) +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_183 = lean_ctor_get(x_182, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_182, 1); +lean_inc(x_184); +if (lean_is_exclusive(x_182)) { + lean_ctor_release(x_182, 0); + lean_ctor_release(x_182, 1); + x_185 = x_182; } else { - lean_dec_ref(x_164); - x_187 = lean_box(0); + lean_dec_ref(x_182); + x_185 = lean_box(0); } -if (lean_is_scalar(x_187)) { - x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_180); +x_186 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_186, 0, x_183); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_10); +lean_ctor_set(x_187, 1, x_186); +if (lean_is_scalar(x_185)) { + x_188 = lean_alloc_ctor(0, 2, 0); } else { - x_188 = x_187; + x_188 = x_185; } -lean_ctor_set(x_188, 0, x_185); -lean_ctor_set(x_188, 1, x_186); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_184); return x_188; } -} else { lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; -lean_dec(x_116); -lean_dec(x_91); +lean_dec(x_180); lean_free_object(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); -x_189 = lean_ctor_get(x_161, 0); +x_189 = lean_ctor_get(x_182, 0); lean_inc(x_189); -x_190 = lean_ctor_get(x_161, 1); +x_190 = lean_ctor_get(x_182, 1); lean_inc(x_190); -if (lean_is_exclusive(x_161)) { - lean_ctor_release(x_161, 0); - lean_ctor_release(x_161, 1); - x_191 = x_161; +if (lean_is_exclusive(x_182)) { + lean_ctor_release(x_182, 0); + lean_ctor_release(x_182, 1); + x_191 = x_182; } else { - lean_dec_ref(x_161); + lean_dec_ref(x_182); x_191 = lean_box(0); } if (lean_is_scalar(x_191)) { @@ -14689,12 +14621,111 @@ lean_ctor_set(x_192, 1, x_190); return x_192; } } +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; +lean_dec(x_174); +lean_dec(x_122); +lean_free_object(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_193 = lean_ctor_get(x_179, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_179, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_179)) { + lean_ctor_release(x_179, 0); + lean_ctor_release(x_179, 1); + x_195 = x_179; +} else { + lean_dec_ref(x_179); + x_195 = lean_box(0); +} +if (lean_is_scalar(x_195)) { + x_196 = lean_alloc_ctor(1, 2, 0); +} else { + x_196 = x_195; +} +lean_ctor_set(x_196, 0, x_193); +lean_ctor_set(x_196, 1, x_194); +return x_196; } } else { -uint8_t x_193; -lean_dec(x_91); +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_174); +lean_dec(x_122); +lean_dec(x_97); +lean_free_object(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_197 = lean_ctor_get(x_176, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_176, 1); +lean_inc(x_198); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_199 = x_176; +} else { + lean_dec_ref(x_176); + x_199 = lean_box(0); +} +if (lean_is_scalar(x_199)) { + x_200 = lean_alloc_ctor(1, 2, 0); +} else { + x_200 = x_199; +} +lean_ctor_set(x_200, 0, x_197); +lean_ctor_set(x_200, 1, x_198); +return x_200; +} +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +lean_dec(x_122); +lean_dec(x_97); +lean_free_object(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); +x_201 = lean_ctor_get(x_173, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_173, 1); +lean_inc(x_202); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_203 = x_173; +} else { + lean_dec_ref(x_173); + x_203 = lean_box(0); +} +if (lean_is_scalar(x_203)) { + x_204 = lean_alloc_ctor(1, 2, 0); +} else { + x_204 = x_203; +} +lean_ctor_set(x_204, 0, x_201); +lean_ctor_set(x_204, 1, x_202); +return x_204; +} +} +} +} +else +{ +uint8_t x_205; +lean_dec(x_97); lean_free_object(x_10); lean_dec(x_8); lean_dec(x_7); @@ -14703,96 +14734,96 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_193 = !lean_is_exclusive(x_96); -if (x_193 == 0) +x_205 = !lean_is_exclusive(x_102); +if (x_205 == 0) +{ +return x_102; +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_206 = lean_ctor_get(x_102, 0); +x_207 = lean_ctor_get(x_102, 1); +lean_inc(x_207); +lean_inc(x_206); +lean_dec(x_102); +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 +{ +uint8_t x_209; +lean_dec(x_97); +lean_free_object(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_209 = !lean_is_exclusive(x_100); +if (x_209 == 0) +{ +return x_100; +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; +x_210 = lean_ctor_get(x_100, 0); +x_211 = lean_ctor_get(x_100, 1); +lean_inc(x_211); +lean_inc(x_210); +lean_dec(x_100); +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_210); +lean_ctor_set(x_212, 1, x_211); +return x_212; +} +} +} +else +{ +uint8_t x_213; +lean_free_object(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_213 = !lean_is_exclusive(x_96); +if (x_213 == 0) { return x_96; } else { -lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_194 = lean_ctor_get(x_96, 0); -x_195 = lean_ctor_get(x_96, 1); -lean_inc(x_195); -lean_inc(x_194); +lean_object* x_214; lean_object* x_215; lean_object* x_216; +x_214 = lean_ctor_get(x_96, 0); +x_215 = lean_ctor_get(x_96, 1); +lean_inc(x_215); +lean_inc(x_214); lean_dec(x_96); -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; +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_214); +lean_ctor_set(x_216, 1, x_215); +return x_216; } } } else { -uint8_t x_197; -lean_dec(x_91); -lean_free_object(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_197 = !lean_is_exclusive(x_94); -if (x_197 == 0) -{ -return x_94; -} -else -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_198 = lean_ctor_get(x_94, 0); -x_199 = lean_ctor_get(x_94, 1); -lean_inc(x_199); -lean_inc(x_198); -lean_dec(x_94); -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_198); -lean_ctor_set(x_200, 1, x_199); -return x_200; -} -} -} -else -{ -uint8_t x_201; -lean_free_object(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_201 = !lean_is_exclusive(x_90); -if (x_201 == 0) -{ -return x_90; -} -else -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_202 = lean_ctor_get(x_90, 0); -x_203 = lean_ctor_get(x_90, 1); -lean_inc(x_203); -lean_inc(x_202); -lean_dec(x_90); -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_202); -lean_ctor_set(x_204, 1, x_203); -return x_204; -} -} -} -else -{ -lean_object* x_205; lean_object* x_206; -x_205 = lean_ctor_get(x_10, 0); -lean_inc(x_205); +lean_object* x_217; lean_object* x_218; +x_217 = lean_ctor_get(x_10, 0); +lean_inc(x_217); lean_dec(x_10); lean_inc(x_8); lean_inc(x_7); @@ -14800,405 +14831,380 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_206 = l_Lean_Elab_Term_elabType(x_205, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_206) == 0) -{ -lean_object* x_207; lean_object* x_208; uint8_t x_209; lean_object* x_210; -x_207 = lean_ctor_get(x_206, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_206, 1); -lean_inc(x_208); -lean_dec(x_206); -x_209 = 0; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_210 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_209, x_209, x_3, x_4, x_5, x_6, x_7, x_8, x_208); -if (lean_obj_tag(x_210) == 0) -{ -lean_object* x_211; lean_object* x_212; -x_211 = lean_ctor_get(x_210, 1); -lean_inc(x_211); -lean_dec(x_210); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_3); -x_212 = l_Lean_Elab_Term_addAutoBoundImplicits(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_211); -if (lean_obj_tag(x_212) == 0) -{ -lean_object* x_213; -x_213 = lean_ctor_get(x_1, 7); -lean_inc(x_213); -lean_dec(x_1); -if (lean_obj_tag(x_213) == 0) -{ -lean_object* x_214; lean_object* x_215; uint8_t x_216; uint8_t x_217; lean_object* x_218; -lean_dec(x_4); -lean_dec(x_3); -x_214 = lean_ctor_get(x_212, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_212, 1); -lean_inc(x_215); -lean_dec(x_212); -x_216 = 1; -x_217 = 1; -x_218 = l_Lean_Meta_mkForallFVars(x_214, x_207, x_209, x_216, x_217, x_5, x_6, x_7, x_8, x_215); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); +x_218 = l_Lean_Elab_Term_elabType(x_217, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_218) == 0) { -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; +lean_object* x_219; lean_object* x_220; uint8_t x_221; lean_object* x_222; x_219 = lean_ctor_get(x_218, 0); lean_inc(x_219); x_220 = lean_ctor_get(x_218, 1); lean_inc(x_220); -if (lean_is_exclusive(x_218)) { - lean_ctor_release(x_218, 0); - lean_ctor_release(x_218, 1); - x_221 = x_218; -} else { - lean_dec_ref(x_218); - x_221 = lean_box(0); -} -x_222 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_222, 0, x_219); -x_223 = lean_box(0); -x_224 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_224, 0, x_222); -lean_ctor_set(x_224, 1, x_223); -if (lean_is_scalar(x_221)) { - x_225 = lean_alloc_ctor(0, 2, 0); -} else { - x_225 = x_221; -} -lean_ctor_set(x_225, 0, x_224); -lean_ctor_set(x_225, 1, x_220); -return x_225; -} -else -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_226 = lean_ctor_get(x_218, 0); -lean_inc(x_226); -x_227 = lean_ctor_get(x_218, 1); -lean_inc(x_227); -if (lean_is_exclusive(x_218)) { - lean_ctor_release(x_218, 0); - lean_ctor_release(x_218, 1); - x_228 = x_218; -} else { - lean_dec_ref(x_218); - x_228 = lean_box(0); -} -if (lean_is_scalar(x_228)) { - x_229 = lean_alloc_ctor(1, 2, 0); -} else { - x_229 = x_228; -} -lean_ctor_set(x_229, 0, x_226); -lean_ctor_set(x_229, 1, x_227); -return x_229; -} -} -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; uint8_t x_236; lean_object* x_237; -x_230 = lean_ctor_get(x_212, 0); -lean_inc(x_230); -x_231 = lean_ctor_get(x_212, 1); -lean_inc(x_231); -lean_dec(x_212); -x_232 = lean_ctor_get(x_213, 0); -lean_inc(x_232); -if (lean_is_exclusive(x_213)) { - lean_ctor_release(x_213, 0); - x_233 = x_213; -} else { - lean_dec_ref(x_213); - x_233 = lean_box(0); -} -lean_inc(x_207); -if (lean_is_scalar(x_233)) { - x_234 = lean_alloc_ctor(1, 1, 0); -} else { - x_234 = x_233; -} -lean_ctor_set(x_234, 0, x_207); -x_235 = lean_box(0); -x_236 = 1; +lean_dec(x_218); +x_221 = 0; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_237 = l_Lean_Elab_Term_elabTermEnsuringType(x_232, x_234, x_236, x_236, x_235, x_3, x_4, x_5, x_6, x_7, x_8, x_231); -if (lean_obj_tag(x_237) == 0) +x_222 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_221, x_221, x_3, x_4, x_5, x_6, x_7, x_8, x_220); +if (lean_obj_tag(x_222) == 0) { -lean_object* x_238; lean_object* x_239; lean_object* x_240; -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); +lean_object* x_223; lean_object* x_224; +x_223 = lean_ctor_get(x_222, 1); +lean_inc(x_223); +lean_dec(x_222); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_240 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_209, x_209, x_3, x_4, x_5, x_6, x_7, x_8, x_239); -if (lean_obj_tag(x_240) == 0) +lean_inc(x_3); +x_224 = l_Lean_Elab_Term_addAutoBoundImplicits(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_223); +if (lean_obj_tag(x_224) == 0) { -lean_object* x_241; uint8_t x_242; lean_object* x_243; -x_241 = lean_ctor_get(x_240, 1); -lean_inc(x_241); -lean_dec(x_240); -x_242 = 1; -lean_inc(x_230); -x_243 = l_Lean_Meta_mkForallFVars(x_230, x_207, x_209, x_236, x_242, x_5, x_6, x_7, x_8, x_241); -if (lean_obj_tag(x_243) == 0) +lean_object* x_225; +x_225 = lean_ctor_get(x_1, 7); +lean_inc(x_225); +lean_dec(x_1); +if (lean_obj_tag(x_225) == 0) { -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_243, 0); +lean_object* x_226; lean_object* x_227; uint8_t x_228; uint8_t x_229; lean_object* x_230; +lean_dec(x_4); +lean_dec(x_3); +x_226 = lean_ctor_get(x_224, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_224, 1); +lean_inc(x_227); +lean_dec(x_224); +x_228 = 1; +x_229 = 1; +x_230 = l_Lean_Meta_mkForallFVars(x_226, x_219, x_221, x_228, x_229, x_5, x_6, x_7, x_8, x_227); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +if (lean_obj_tag(x_230) == 0) +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_230, 1); +lean_inc(x_232); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_233 = x_230; +} else { + lean_dec_ref(x_230); + x_233 = lean_box(0); +} +x_234 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_234, 0, x_231); +x_235 = lean_box(0); +x_236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_236, 0, x_234); +lean_ctor_set(x_236, 1, x_235); +if (lean_is_scalar(x_233)) { + x_237 = lean_alloc_ctor(0, 2, 0); +} else { + x_237 = x_233; +} +lean_ctor_set(x_237, 0, x_236); +lean_ctor_set(x_237, 1, x_232); +return x_237; +} +else +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +x_238 = lean_ctor_get(x_230, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_230, 1); +lean_inc(x_239); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_240 = x_230; +} else { + lean_dec_ref(x_230); + 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; +} +} +else +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +x_242 = lean_ctor_get(x_224, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_224, 1); +lean_inc(x_243); +lean_dec(x_224); +x_244 = lean_ctor_get(x_225, 0); lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); -lean_inc(x_245); -lean_dec(x_243); -x_246 = l_Lean_Meta_mkLambdaFVars(x_230, x_238, x_209, x_236, x_242, x_5, x_6, x_7, x_8, x_245); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -if (lean_obj_tag(x_246) == 0) -{ -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_247 = lean_ctor_get(x_246, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_246, 1); -lean_inc(x_248); -if (lean_is_exclusive(x_246)) { - lean_ctor_release(x_246, 0); - lean_ctor_release(x_246, 1); - x_249 = x_246; +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + x_245 = x_225; } else { - lean_dec_ref(x_246); - x_249 = lean_box(0); + lean_dec_ref(x_225); + x_245 = lean_box(0); } -x_250 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_250, 0, x_244); -x_251 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_251, 0, x_247); -x_252 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_252, 0, x_250); -lean_ctor_set(x_252, 1, x_251); -if (lean_is_scalar(x_249)) { - x_253 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_219); +if (lean_is_scalar(x_245)) { + x_246 = lean_alloc_ctor(1, 1, 0); } else { - x_253 = x_249; + x_246 = x_245; } -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_248); -return x_253; -} -else +lean_ctor_set(x_246, 0, x_219); +x_247 = lean_box(0); +x_248 = 1; +x_249 = lean_box(x_248); +x_250 = lean_box(x_248); +x_251 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_251, 0, x_244); +lean_closure_set(x_251, 1, x_246); +lean_closure_set(x_251, 2, x_249); +lean_closure_set(x_251, 3, x_250); +lean_closure_set(x_251, 4, x_247); +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_252 = l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(x_251, x_3, x_4, x_5, x_6, x_7, x_8, x_243); +if (lean_obj_tag(x_252) == 0) { -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -lean_dec(x_244); -x_254 = lean_ctor_get(x_246, 0); +lean_object* x_253; lean_object* x_254; lean_object* x_255; +x_253 = lean_ctor_get(x_252, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_252, 1); lean_inc(x_254); -x_255 = lean_ctor_get(x_246, 1); -lean_inc(x_255); -if (lean_is_exclusive(x_246)) { - lean_ctor_release(x_246, 0); - lean_ctor_release(x_246, 1); - x_256 = x_246; -} else { - lean_dec_ref(x_246); - x_256 = lean_box(0); -} -if (lean_is_scalar(x_256)) { - x_257 = lean_alloc_ctor(1, 2, 0); -} else { - x_257 = x_256; -} -lean_ctor_set(x_257, 0, x_254); -lean_ctor_set(x_257, 1, x_255); -return x_257; -} -} -else +lean_dec(x_252); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_255 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_221, x_221, x_3, x_4, x_5, x_6, x_7, x_8, x_254); +if (lean_obj_tag(x_255) == 0) { -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -lean_dec(x_238); -lean_dec(x_230); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_258 = lean_ctor_get(x_243, 0); -lean_inc(x_258); -x_259 = lean_ctor_get(x_243, 1); +lean_object* x_256; uint8_t x_257; lean_object* x_258; +x_256 = lean_ctor_get(x_255, 1); +lean_inc(x_256); +lean_dec(x_255); +x_257 = 1; +lean_inc(x_242); +x_258 = l_Lean_Meta_mkForallFVars(x_242, x_219, x_221, x_248, x_257, x_5, x_6, x_7, x_8, x_256); +if (lean_obj_tag(x_258) == 0) +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; +x_259 = lean_ctor_get(x_258, 0); lean_inc(x_259); -if (lean_is_exclusive(x_243)) { - lean_ctor_release(x_243, 0); - lean_ctor_release(x_243, 1); - x_260 = x_243; -} else { - lean_dec_ref(x_243); - x_260 = lean_box(0); -} -if (lean_is_scalar(x_260)) { - x_261 = lean_alloc_ctor(1, 2, 0); -} else { - x_261 = x_260; -} -lean_ctor_set(x_261, 0, x_258); -lean_ctor_set(x_261, 1, x_259); -return x_261; -} -} -else -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_238); -lean_dec(x_230); -lean_dec(x_207); +x_260 = lean_ctor_get(x_258, 1); +lean_inc(x_260); +lean_dec(x_258); +x_261 = l_Lean_Meta_mkLambdaFVars(x_242, x_253, x_221, x_248, x_257, x_5, x_6, x_7, x_8, x_260); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_262 = lean_ctor_get(x_240, 0); +if (lean_obj_tag(x_261) == 0) +{ +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_262 = lean_ctor_get(x_261, 0); lean_inc(x_262); -x_263 = lean_ctor_get(x_240, 1); +x_263 = lean_ctor_get(x_261, 1); lean_inc(x_263); -if (lean_is_exclusive(x_240)) { - lean_ctor_release(x_240, 0); - lean_ctor_release(x_240, 1); - x_264 = x_240; +if (lean_is_exclusive(x_261)) { + lean_ctor_release(x_261, 0); + lean_ctor_release(x_261, 1); + x_264 = x_261; } else { - lean_dec_ref(x_240); + lean_dec_ref(x_261); x_264 = lean_box(0); } +x_265 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_265, 0, x_259); +x_266 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_266, 0, x_262); +x_267 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_267, 0, x_265); +lean_ctor_set(x_267, 1, x_266); if (lean_is_scalar(x_264)) { - x_265 = lean_alloc_ctor(1, 2, 0); + x_268 = lean_alloc_ctor(0, 2, 0); } else { - x_265 = x_264; -} -lean_ctor_set(x_265, 0, x_262); -lean_ctor_set(x_265, 1, x_263); -return x_265; + x_268 = x_264; } +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_263); +return x_268; } else { -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; -lean_dec(x_230); -lean_dec(x_207); -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_266 = lean_ctor_get(x_237, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_237, 1); -lean_inc(x_267); -if (lean_is_exclusive(x_237)) { - lean_ctor_release(x_237, 0); - lean_ctor_release(x_237, 1); - x_268 = x_237; -} else { - lean_dec_ref(x_237); - x_268 = lean_box(0); -} -if (lean_is_scalar(x_268)) { - x_269 = lean_alloc_ctor(1, 2, 0); -} else { - x_269 = x_268; -} -lean_ctor_set(x_269, 0, x_266); -lean_ctor_set(x_269, 1, x_267); -return x_269; -} -} -} -else -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; -lean_dec(x_207); -lean_dec(x_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_270 = lean_ctor_get(x_212, 0); +lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; +lean_dec(x_259); +x_269 = lean_ctor_get(x_261, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_261, 1); lean_inc(x_270); -x_271 = lean_ctor_get(x_212, 1); -lean_inc(x_271); -if (lean_is_exclusive(x_212)) { - lean_ctor_release(x_212, 0); - lean_ctor_release(x_212, 1); - x_272 = x_212; +if (lean_is_exclusive(x_261)) { + lean_ctor_release(x_261, 0); + lean_ctor_release(x_261, 1); + x_271 = x_261; } else { - lean_dec_ref(x_212); - x_272 = lean_box(0); + lean_dec_ref(x_261); + x_271 = lean_box(0); } -if (lean_is_scalar(x_272)) { - x_273 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_271)) { + x_272 = lean_alloc_ctor(1, 2, 0); } else { - x_273 = x_272; + x_272 = x_271; } -lean_ctor_set(x_273, 0, x_270); -lean_ctor_set(x_273, 1, x_271); -return x_273; +lean_ctor_set(x_272, 0, x_269); +lean_ctor_set(x_272, 1, x_270); +return x_272; } } else { -lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; -lean_dec(x_207); +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +lean_dec(x_253); +lean_dec(x_242); lean_dec(x_8); 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_274 = lean_ctor_get(x_210, 0); +x_273 = lean_ctor_get(x_258, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_258, 1); lean_inc(x_274); -x_275 = lean_ctor_get(x_210, 1); -lean_inc(x_275); -if (lean_is_exclusive(x_210)) { - lean_ctor_release(x_210, 0); - lean_ctor_release(x_210, 1); - x_276 = x_210; +if (lean_is_exclusive(x_258)) { + lean_ctor_release(x_258, 0); + lean_ctor_release(x_258, 1); + x_275 = x_258; } else { - lean_dec_ref(x_210); - x_276 = lean_box(0); + lean_dec_ref(x_258); + x_275 = lean_box(0); } -if (lean_is_scalar(x_276)) { - x_277 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_275)) { + x_276 = lean_alloc_ctor(1, 2, 0); } else { - x_277 = x_276; + x_276 = x_275; } -lean_ctor_set(x_277, 0, x_274); -lean_ctor_set(x_277, 1, x_275); -return x_277; +lean_ctor_set(x_276, 0, x_273); +lean_ctor_set(x_276, 1, x_274); +return x_276; } } else { -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; +lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; +lean_dec(x_253); +lean_dec(x_242); +lean_dec(x_219); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_277 = lean_ctor_get(x_255, 0); +lean_inc(x_277); +x_278 = lean_ctor_get(x_255, 1); +lean_inc(x_278); +if (lean_is_exclusive(x_255)) { + lean_ctor_release(x_255, 0); + lean_ctor_release(x_255, 1); + x_279 = x_255; +} else { + lean_dec_ref(x_255); + x_279 = lean_box(0); +} +if (lean_is_scalar(x_279)) { + x_280 = lean_alloc_ctor(1, 2, 0); +} else { + x_280 = x_279; +} +lean_ctor_set(x_280, 0, x_277); +lean_ctor_set(x_280, 1, x_278); +return x_280; +} +} +else +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; +lean_dec(x_242); +lean_dec(x_219); +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_281 = lean_ctor_get(x_252, 0); +lean_inc(x_281); +x_282 = lean_ctor_get(x_252, 1); +lean_inc(x_282); +if (lean_is_exclusive(x_252)) { + lean_ctor_release(x_252, 0); + lean_ctor_release(x_252, 1); + x_283 = x_252; +} else { + lean_dec_ref(x_252); + x_283 = lean_box(0); +} +if (lean_is_scalar(x_283)) { + x_284 = lean_alloc_ctor(1, 2, 0); +} else { + x_284 = x_283; +} +lean_ctor_set(x_284, 0, x_281); +lean_ctor_set(x_284, 1, x_282); +return x_284; +} +} +} +else +{ +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; +lean_dec(x_219); +lean_dec(x_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_285 = lean_ctor_get(x_224, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_224, 1); +lean_inc(x_286); +if (lean_is_exclusive(x_224)) { + lean_ctor_release(x_224, 0); + lean_ctor_release(x_224, 1); + x_287 = x_224; +} else { + lean_dec_ref(x_224); + x_287 = lean_box(0); +} +if (lean_is_scalar(x_287)) { + x_288 = lean_alloc_ctor(1, 2, 0); +} else { + x_288 = x_287; +} +lean_ctor_set(x_288, 0, x_285); +lean_ctor_set(x_288, 1, x_286); +return x_288; +} +} +else +{ +lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; +lean_dec(x_219); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -15207,26 +15213,59 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_278 = lean_ctor_get(x_206, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_206, 1); -lean_inc(x_279); -if (lean_is_exclusive(x_206)) { - lean_ctor_release(x_206, 0); - lean_ctor_release(x_206, 1); - x_280 = x_206; +x_289 = lean_ctor_get(x_222, 0); +lean_inc(x_289); +x_290 = lean_ctor_get(x_222, 1); +lean_inc(x_290); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + x_291 = x_222; } else { - lean_dec_ref(x_206); - x_280 = lean_box(0); + lean_dec_ref(x_222); + x_291 = lean_box(0); } -if (lean_is_scalar(x_280)) { - x_281 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_291)) { + x_292 = lean_alloc_ctor(1, 2, 0); } else { - x_281 = x_280; + x_292 = x_291; } -lean_ctor_set(x_281, 0, x_278); -lean_ctor_set(x_281, 1, x_279); -return x_281; +lean_ctor_set(x_292, 0, x_289); +lean_ctor_set(x_292, 1, x_290); +return x_292; +} +} +else +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; +lean_dec(x_8); +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_293 = lean_ctor_get(x_218, 0); +lean_inc(x_293); +x_294 = lean_ctor_get(x_218, 1); +lean_inc(x_294); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_295 = x_218; +} else { + lean_dec_ref(x_218); + x_295 = lean_box(0); +} +if (lean_is_scalar(x_295)) { + x_296 = lean_alloc_ctor(1, 2, 0); +} else { + x_296 = x_295; +} +lean_ctor_set(x_296, 0, x_293); +lean_ctor_set(x_296, 1, x_294); +return x_296; } } } @@ -20438,7 +20477,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_Structure_0__Lean_Elab_Command_addCtorFields___closed__1; x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -30083,7 +30122,7 @@ lean_dec(x_8); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_12385_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_12391_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -30808,7 +30847,7 @@ l_Lean_Elab_Command_elabStructure___closed__12 = _init_l_Lean_Elab_Command_elabS lean_mark_persistent(l_Lean_Elab_Command_elabStructure___closed__12); l_Lean_Elab_Command_elabStructure___closed__13 = _init_l_Lean_Elab_Command_elabStructure___closed__13(); lean_mark_persistent(l_Lean_Elab_Command_elabStructure___closed__13); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_12385_(lean_io_mk_world()); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_12391_(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/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 73df9aa73b..d7abe169c2 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -1369,7 +1369,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_Syntax_0__Lean_Elab_Term_mkParserSeq___closed__4; x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___closed__5; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/SyntheticMVars.c b/stage0/stdlib/Lean/Elab/SyntheticMVars.c index 7763ac2935..a62b2e7442 100644 --- a/stage0/stdlib/Lean/Elab/SyntheticMVars.c +++ b/stage0/stdlib/Lean/Elab/SyntheticMVars.c @@ -6491,7 +6491,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_Std_Range_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefaultInstance___spec__1___closed__1; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefaultInstance___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefaultInstance___spec__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index 098364a802..f2509ccba8 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -16,68 +16,68 @@ extern "C" { lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM___closed__3; static lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___closed__2; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAux___boxed__const__1; -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___closed__8; -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___closed__4; -static lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); +static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6___closed__2; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__8; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__1; -static lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg___closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__7; LEAN_EXPORT lean_object* l_Lean_isExprMVarAssigned___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__5; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__15; -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___closed__1; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__3; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1(lean_object*); uint8_t l_Std_PersistentHashMap_contains___at_Lean_isExprMVarAssigned___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___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_Tactic_adaptExpander___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkTacticAttribute(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_SavedState_restore(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_Tactic_evalTactic___spec__4(lean_object*, 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_EXPORT lean_object* l_Lean_Elab_admitGoal___lambda__1(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_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4(lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); uint8_t l_Lean_Elab_isAbortExceptionId(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadTacticM___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_evalTactic___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_pruneSolvedGoals(lean_object*, 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_Elab_Tactic_tagUntaggedGoals___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8___rarg___closed__1; static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__2; LEAN_EXPORT 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_EXPORT lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___closed__7; +lean_object* l_Lean_toMessageList(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_Elab_Tactic_appendGoals___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_pruneSolvedGoals___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_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*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_focus(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_focusAndDone(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__6; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_done(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_mkInitialTacticInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval(lean_object*, lean_object*, 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_withCaseRef___rarg___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_run___lambda__1___closed__1; @@ -87,7 +87,7 @@ uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT 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_EXPORT lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_TacticM_runCore_x27(lean_object*); static lean_object* l_Lean_Elab_goalsToMessageData___closed__1; -static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__1; +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__4; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__9; static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__5; @@ -97,99 +97,113 @@ lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tryCatch(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_setGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__3; static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__14; lean_object* l_Lean_MetavarContext_setMVarUserName(lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getGoals___boxed(lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__4; -static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3; static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__3; +static lean_object* l_Lean_Elab_Tactic_evalTactic___closed__3; LEAN_EXPORT lean_object* l_Lean_assignExprMVar___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_Lean_Elab_Tactic_mkTacticAttribute___closed__4; lean_object* l_Std_PersistentHashMap_insert___at_Lean_assignExprMVar___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__5(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___rarg(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_done___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); lean_object* l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_assignExprMVar___at_Lean_Elab_Tactic_closeMainGoal___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_Meta_withPPInaccessibleNames___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___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_Elab_Tactic_withTacticInfoContext___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_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___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_liftMetaTacticAux___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_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___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_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic___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_Elab_Tactic_saveState(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___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_EXPORT lean_object* l_Lean_Elab_Tactic_tryCatch___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_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic___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_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withoutRecover(lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_closeMainGoal___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_Tactic_getMainGoal_loop(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_tagUntaggedGoals___boxed(lean_object*, lean_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_assignExprMVar___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_instAlternativeTacticM___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___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_goalsToMessageData___closed__2; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__3; lean_object* l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__5; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSorry(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvar___override(lean_object*); lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_closeMainGoal___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_Tactic_evalTactic_eval(lean_object*, lean_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_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__3; LEAN_EXPORT 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*); -static lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo___elambda__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_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs(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_mkInitialTacticInfo(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_instMonadExceptExceptionTacticM; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadTacticM; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withTacticInfoContext(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_expandEval___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_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__1; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__2; LEAN_EXPORT 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*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkTacticInfo___boxed(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_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_orElse___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_Elab_Tactic_withTacticInfoContext___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_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_focusAndDone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__6; -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___closed__3; uint8_t l_Lean_Expr_hasExprMVar(lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__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_Elab_Tactic_liftMetaMAtMain___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instOrElseTacticM___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAux___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_instMonadTacticM___closed__8; -LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_abortTacticExceptionId; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getGoals___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___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_name_append_index_after(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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_EXPORT lean_object* l_Lean_Elab_Tactic_getMainTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___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_Elab_Tactic_getGoals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Term_reportUnsolvedGoals___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_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___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_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withMacroExpansion___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -199,92 +213,95 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___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_EXPORT lean_object* l_Lean_Elab_Tactic_closeMainGoal___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_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainContext___spec__1(lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___closed__5; static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__9; -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3439____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27(lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainModule___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo___elambda__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_List_forM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__4(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_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainModule___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_expandTacticMacro___closed__1; +uint8_t l_Array_isEmpty___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instAlternativeMetaM; 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_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadTacticM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalTactic___closed__2; extern lean_object* l_Lean_Meta_instMonadMetaM; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_Context_recover___default; static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic___closed__1; static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_TacticM_runCore(lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__2___closed__1; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__3; lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceOptions(lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___closed__3; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp___rarg(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_evalTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___closed__1; LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___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_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__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_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withMacroExpansion___spec__2(lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___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_Elab_Tactic_liftMetaTactic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___closed__7; -static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaTactic1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___closed__1; static lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_appendGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___lambda__1(lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tryTactic_x3f(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTacticAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___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_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withMainContext(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withPPInaccessibleNames___at_Lean_Elab_Term_reportUnsolvedGoals___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_Tactic_evalTactic___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_goalsToMessageData(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_focusAndDone___rarg___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_Lean_MetavarContext_isAnonymousMVar(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__1; static lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___lambda__1___closed__2; -static lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__3; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___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_Lean_Elab_Tactic_evalTactic_throwExs___spec__9(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_instMonadTermElabM; extern lean_object* l_Lean_Elab_macroAttribute; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___closed__2; static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___closed__2; -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTacticAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_run___spec__1___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_Tactic_instMonadTacticM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); @@ -293,98 +310,115 @@ lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_obj lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__11; -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns(lean_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_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___closed__1; static lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___lambda__1___closed__1; +static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_setGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNamesImp___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__10; +static lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_evalTactic_expandEval___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_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Exception_getRef(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___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_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVarsCore(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__13; +static lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__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_Elab_Tactic_withMacroExpansion___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___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_set(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__1; +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAt(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_eq(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1; +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___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_EXPORT lean_object* l_Lean_isExprMVarAssigned___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__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_throwError___at_Lean_Elab_Tactic_instAlternativeTacticM___spec__1___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_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_adaptExpander(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_forM___at_Lean_Elab_Tactic_evalTactic_expandEval___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_Elab_Tactic_closeMainGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tryTactic___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3439_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4607_(lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___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_Elab_Tactic_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_reportUnsolvedGoals(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_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4607____closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___boxed__const__1; static lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic___closed__8; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic___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_Elab_Tactic_tryTactic_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__6; lean_object* l_Lean_indentD(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___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_ReaderT_instMonadReaderT___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withoutRecover___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_Tactic_evalTactic_handleEx___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tryTactic(lean_object*); +static lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaTactic1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalTacticAux___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_saveState___boxed(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instOrElseTacticM(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_saveState___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_Tactic_throwNoGoalsToBeSolved(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withMacroExpansion(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__6(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_reportUnsolvedGoals___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_Tactic_expandTacticMacroFns_loop___closed__2; uint8_t l_List_isEmpty___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__1; uint8_t l_Lean_Elab_isAbortTacticException(lean_object*); +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__2; static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Elab_goalsToMessageData___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM; LEAN_EXPORT lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_run___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic_throwExs___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_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainModule(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_instAlternativeTacticM___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* l_Lean_indentExpr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainModule___boxed(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_Tactic_evalTactic_expandEval___spec__8___rarg(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__12; -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_orElse(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAux___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_EXPORT lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getGoals(lean_object*); @@ -394,25 +428,31 @@ lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_ static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkTacticInfo(lean_object*, lean_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_appendTR___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_run___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_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8___rarg___closed__1; LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Term_reportUnsolvedGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_expandTacticMacro(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_evalTactic_handleEx(lean_object*, lean_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_evalTactic_expandEval___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_getRefPos___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__8___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM___closed__2; LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; +static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_SavedState_restore___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_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___closed__1; lean_object* l_ReaderT_instAlternativeReaderT___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Exception_toMessageData(lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__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_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg(lean_object*); uint8_t l_Lean_Syntax_isIdent(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___closed__4; +static lean_object* l_Lean_Elab_Tactic_evalTactic___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal___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: { @@ -3867,7 +3907,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -3905,7 +3945,7 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic_throwExs___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; @@ -3918,7 +3958,7 @@ x_14 = l_Lean_replaceRef(x_1, x_13); lean_dec(x_13); lean_dec(x_1); lean_ctor_set(x_9, 5, x_14); -x_15 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -3970,7 +4010,7 @@ lean_ctor_set(x_28, 7, x_23); lean_ctor_set(x_28, 8, x_24); lean_ctor_set(x_28, 9, x_25); lean_ctor_set(x_28, 10, x_26); -x_29 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28, x_10, x_11); +x_29 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28, x_10, x_11); lean_dec(x_10); lean_dec(x_28); lean_dec(x_8); @@ -3983,7 +4023,1051 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +static lean_object* _init_l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_abortTacticExceptionId; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___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_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___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; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___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; +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg), 1, 0); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__5(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_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; size_t x_7; size_t x_8; +x_6 = lean_array_uget(x_1, x_2); +x_7 = 1; +x_8 = lean_usize_add(x_2, x_7); +if (lean_obj_tag(x_6) == 0) +{ +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_array_push(x_4, x_9); +x_2 = x_8; +x_4 = x_10; +goto _start; +} +else +{ +lean_dec(x_6); +x_2 = x_8; +goto _start; +} +} +else +{ +return x_4; +} +} +} +static lean_object* _init_l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4___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; +} +} +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_nat_dec_lt(x_2, x_3); +if (x_4 == 0) +{ +lean_object* x_5; +lean_dec(x_3); +lean_dec(x_2); +x_5 = l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4___closed__1; +return x_5; +} +else +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_le(x_3, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_3); +lean_dec(x_2); +x_8 = l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4___closed__1; +return x_8; +} +else +{ +size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_usize_of_nat(x_2); +lean_dec(x_2); +x_10 = lean_usize_of_nat(x_3); +lean_dec(x_3); +x_11 = l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4___closed__1; +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__5(x_1, x_9, x_10, x_11); +return x_12; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__8___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 5); +x_5 = 0; +x_6 = l_Lean_Syntax_getPos_x3f(x_4, x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_3); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +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; +} +} +} +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = lean_alloc_closure((void*)(l_Lean_getRefPos___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__8___rarg___boxed), 3, 0); +return x_7; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___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_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___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; +x_11 = l_Lean_getRefPos___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__8___rarg(x_8, x_9, x_10); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_11, 0); +x_14 = l_Lean_Exception_getRef(x_1); +x_15 = 0; +x_16 = l_Lean_Syntax_getPos_x3f(x_14, x_15); +lean_dec(x_14); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; +lean_dec(x_13); +x_17 = l_Lean_Exception_toMessageData(x_1); +lean_ctor_set(x_11, 0, x_17); +return x_11; +} +else +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_nat_dec_eq(x_13, x_18); +lean_dec(x_13); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_20 = lean_ctor_get(x_8, 1); +x_21 = l_Lean_FileMap_toPosition(x_20, x_18); +lean_dec(x_18); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = l_Nat_repr(x_22); +x_24 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +x_28 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__2; +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_ctor_get(x_21, 1); +lean_inc(x_30); +lean_dec(x_21); +x_31 = l_Nat_repr(x_30); +x_32 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_29); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__4; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_Exception_toMessageData(x_1); +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_26); +lean_ctor_set(x_11, 0, x_39); +return x_11; +} +else +{ +lean_object* x_40; +lean_dec(x_18); +x_40 = l_Lean_Exception_toMessageData(x_1); +lean_ctor_set(x_11, 0, x_40); +return x_11; +} +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; +x_41 = lean_ctor_get(x_11, 0); +x_42 = lean_ctor_get(x_11, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_11); +x_43 = l_Lean_Exception_getRef(x_1); +x_44 = 0; +x_45 = l_Lean_Syntax_getPos_x3f(x_43, x_44); +lean_dec(x_43); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_41); +x_46 = l_Lean_Exception_toMessageData(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_42); +return x_47; +} +else +{ +lean_object* x_48; uint8_t x_49; +x_48 = lean_ctor_get(x_45, 0); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_nat_dec_eq(x_41, x_48); +lean_dec(x_41); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_50 = lean_ctor_get(x_8, 1); +x_51 = l_Lean_FileMap_toPosition(x_50, x_48); +lean_dec(x_48); +x_52 = lean_ctor_get(x_51, 0); +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 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; +x_57 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__2; +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_ctor_get(x_51, 1); +lean_inc(x_60); +lean_dec(x_51); +x_61 = l_Nat_repr(x_60); +x_62 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_63 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_59); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___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 = l_Lean_Exception_toMessageData(x_1); +x_68 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_56); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_42); +return x_70; +} +else +{ +lean_object* x_71; lean_object* x_72; +lean_dec(x_48); +x_71 = l_Lean_Exception_toMessageData(x_1); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_42); +return x_72; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__9(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = lean_usize_dec_lt(x_2, x_1); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_3); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_15 = lean_array_uget(x_3, x_2); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_3, x_2, x_16); +x_18 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7(x_15, x_4, x_5, x_6, x_7, x_8, x_9, 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 = 1; +x_22 = lean_usize_add(x_2, x_21); +x_23 = lean_array_uset(x_17, x_2, x_19); +x_2 = x_22; +x_3 = x_23; +x_12 = x_20; +goto _start; +} +} +} +static lean_object* _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(", errors ", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +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; lean_object* x_25; +x_12 = lean_array_get_size(x_2); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__9(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_1); +x_20 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6___closed__2; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_toMessageList(x_16); +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_18); +x_25 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_25; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__10(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_4, x_3); +if (x_6 == 0) +{ +lean_inc(x_5); +return x_5; +} +else +{ +lean_object* x_7; +x_7 = lean_array_uget(x_2, x_4); +if (lean_obj_tag(x_7) == 0) +{ +size_t x_8; size_t x_9; +lean_dec(x_7); +x_8 = 1; +x_9 = lean_usize_add(x_4, x_8); +{ +size_t _tmp_3 = x_9; +lean_object* _tmp_4 = x_1; +x_4 = _tmp_3; +x_5 = _tmp_4; +} +goto _start; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_7); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unexpected syntax ", 18); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_evalTactic_throwExs___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tactic failed", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_evalTactic_throwExs___closed__3; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_evalTactic_throwExs___closed__4; +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_Tactic_evalTactic_throwExs___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic_throwExs___lambda__1___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_evalTactic_throwExs___closed__7; +x_2 = lean_box(0); +x_3 = lean_apply_1(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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_21; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_array_get_size(x_2); +x_35 = lean_unsigned_to_nat(0u); +lean_inc(x_34); +x_36 = l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4(x_2, x_35, x_34); +x_37 = l_Array_isEmpty___rarg(x_36); +if (x_37 == 0) +{ +lean_object* x_38; uint8_t x_39; +lean_dec(x_34); +lean_dec(x_2); +x_38 = lean_array_get_size(x_36); +x_39 = lean_nat_dec_lt(x_35, x_38); +lean_dec(x_38); +if (x_39 == 0) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_9); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_9, 5); +x_42 = l_Lean_replaceRef(x_1, x_41); +lean_dec(x_41); +lean_dec(x_1); +lean_ctor_set(x_9, 5, x_42); +x_43 = l_Lean_Elab_Tactic_evalTactic_throwExs___closed__5; +x_44 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6(x_43, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_45 = lean_ctor_get(x_9, 0); +x_46 = lean_ctor_get(x_9, 1); +x_47 = lean_ctor_get(x_9, 2); +x_48 = lean_ctor_get(x_9, 3); +x_49 = lean_ctor_get(x_9, 4); +x_50 = lean_ctor_get(x_9, 5); +x_51 = lean_ctor_get(x_9, 6); +x_52 = lean_ctor_get(x_9, 7); +x_53 = lean_ctor_get(x_9, 8); +x_54 = lean_ctor_get(x_9, 9); +x_55 = lean_ctor_get(x_9, 10); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_9); +x_56 = l_Lean_replaceRef(x_1, x_50); +lean_dec(x_50); +lean_dec(x_1); +x_57 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_57, 0, x_45); +lean_ctor_set(x_57, 1, x_46); +lean_ctor_set(x_57, 2, x_47); +lean_ctor_set(x_57, 3, x_48); +lean_ctor_set(x_57, 4, x_49); +lean_ctor_set(x_57, 5, x_56); +lean_ctor_set(x_57, 6, x_51); +lean_ctor_set(x_57, 7, x_52); +lean_ctor_set(x_57, 8, x_53); +lean_ctor_set(x_57, 9, x_54); +lean_ctor_set(x_57, 10, x_55); +x_58 = l_Lean_Elab_Tactic_evalTactic_throwExs___closed__5; +x_59 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6(x_58, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_57, x_10, x_11); +return x_59; +} +} +else +{ +lean_object* x_60; lean_object* 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); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_60 = lean_array_fget(x_36, x_35); +lean_dec(x_36); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_11); +return x_61; +} +} +else +{ +size_t x_62; size_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +lean_dec(x_36); +x_62 = lean_usize_of_nat(x_34); +lean_dec(x_34); +x_63 = 0; +x_64 = l_Lean_Elab_Tactic_evalTactic_throwExs___closed__6; +x_65 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__10(x_64, x_2, x_62, x_63, x_64); +lean_dec(x_2); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +lean_dec(x_65); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; +x_67 = l_Lean_Elab_Tactic_evalTactic_throwExs___closed__8; +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; +x_68 = lean_box(0); +x_12 = x_68; +goto block_20; +} +else +{ +lean_object* x_69; +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +x_21 = x_69; +goto block_33; +} +} +else +{ +lean_object* x_70; +x_70 = lean_ctor_get(x_66, 0); +lean_inc(x_70); +lean_dec(x_66); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; +x_71 = lean_box(0); +x_12 = x_71; +goto block_20; +} +else +{ +lean_object* x_72; +x_72 = lean_ctor_get(x_70, 0); +lean_inc(x_72); +lean_dec(x_70); +x_21 = x_72; +goto block_33; +} +} +} +block_20: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_12); +lean_inc(x_1); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_1); +x_14 = l_Lean_indentD(x_13); +x_15 = l_Lean_Elab_Tactic_evalTactic_throwExs___closed__2; +x_16 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__1(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_19; +} +block_33: +{ +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_dec(x_21); +lean_inc(x_1); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_1); +x_23 = l_Lean_indentD(x_22); +x_24 = l_Lean_Elab_Tactic_evalTactic_throwExs___closed__2; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__1(x_1, x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_1); +x_29 = lean_ctor_get(x_21, 0); +lean_inc(x_29); +lean_dec(x_21); +x_30 = l_Lean_Elab_Tactic_SavedState_restore(x_29, 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); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg(x_31); +return x_32; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +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_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic_throwExs___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; +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_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__5(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_getRefPos___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__8___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_getRefPos___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__8(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_14 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__9(x_13, x_14, 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_15; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__10___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_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__10(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_evalTactic_throwExs___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic_handleEx___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_unsupportedSyntaxExceptionId; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_handleEx(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_3); +x_17 = lean_array_push(x_2, x_16); +x_18 = lean_apply_10(x_4, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_15); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_3, 0); +lean_inc(x_19); +x_20 = l_Lean_Elab_Tactic_evalTactic_handleEx___closed__1; +x_21 = lean_nat_dec_eq(x_19, x_20); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__1; +x_23 = lean_nat_dec_eq(x_19, x_22); +lean_dec(x_19); +if (x_23 == 0) +{ +lean_object* x_24; +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_2); +lean_dec(x_1); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_3); +lean_ctor_set(x_24, 1, x_13); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_3); +x_25 = l_Lean_Elab_Tactic_saveState___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_26); +x_29 = lean_array_push(x_2, x_28); +x_30 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_27); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_apply_10(x_4, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_31); +return x_32; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_19); +lean_dec(x_3); +x_33 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = lean_apply_10(x_4, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_34); +return x_35; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___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; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -4456,95 +5540,59 @@ return x_134; } } } -static lean_object* _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("unexpected syntax ", 18); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Elab_unsupportedSyntaxExceptionId; -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_eval(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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: { if (lean_obj_tag(x_3) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_1); -lean_inc(x_2); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_2); -x_14 = l_Lean_indentD(x_13); -x_15 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2; -x_16 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__1(x_2, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_19; +lean_object* x_14; +lean_dec(x_2); +x_14 = l_Lean_Elab_Tactic_evalTactic_throwExs(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 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; -x_20 = lean_ctor_get(x_3, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_3, 1); -lean_inc(x_21); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 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; +x_15 = lean_ctor_get(x_3, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_3, 1); +lean_inc(x_16); lean_dec(x_3); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_inc(x_2); -x_23 = lean_apply_1(x_22, x_2); -x_24 = lean_ctor_get(x_20, 0); -lean_inc(x_24); -lean_dec(x_20); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); -x_27 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set_uint8(x_27, sizeof(void*)*1, x_26); -lean_inc(x_2); -x_28 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_2, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -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_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg___lambda__1), 11, 1); -lean_closure_set(x_31, 0, x_29); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_inc(x_1); +x_18 = lean_apply_1(x_17, x_1); +x_44 = lean_ctor_get(x_15, 0); +lean_inc(x_44); +lean_dec(x_15); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_46 = lean_ctor_get_uint8(x_5, sizeof(void*)*1); +x_47 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set_uint8(x_47, sizeof(void*)*1, x_46); +lean_inc(x_1); +x_48 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg___lambda__1), 11, 1); +lean_closure_set(x_51, 0, x_49); +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); -lean_inc(x_5); -x_32 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_23, x_31, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_30); -if (lean_obj_tag(x_32) == 0) +x_52 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__1(x_18, x_51, x_47, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_50); +if (lean_obj_tag(x_52) == 0) { -lean_dec(x_21); +lean_dec(x_16); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -4555,151 +5603,107 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -return x_32; +return x_52; } else { -lean_object* x_33; +lean_object* x_53; lean_object* x_54; +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_19 = x_53; +x_20 = x_54; +goto block_43; +} +block_43: +{ +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_inc(x_2); +x_21 = l_Lean_Elab_Tactic_SavedState_restore(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_23, 0, x_19); +x_24 = lean_array_push(x_4, x_23); +x_3 = x_16; +x_4 = x_24; +x_13 = x_22; +goto _start; +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_19, 0); +lean_inc(x_26); +x_27 = l_Lean_Elab_Tactic_evalTactic_handleEx___closed__1; +x_28 = lean_nat_dec_eq(x_26, x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__1; +x_30 = lean_nat_dec_eq(x_26, x_29); +lean_dec(x_26); +if (x_30 == 0) +{ +lean_object* x_31; +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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_19); +lean_ctor_set(x_31, 1, x_20); +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_dec(x_19); +x_32 = l_Lean_Elab_Tactic_saveState___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -if (lean_obj_tag(x_33) == 0) -{ -if (lean_obj_tag(x_21) == 0) -{ -uint8_t 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_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_34 = !lean_is_exclusive(x_32); -if (x_34 == 0) -{ -lean_object* x_35; -x_35 = lean_ctor_get(x_32, 0); -lean_dec(x_35); -return x_32; -} -else -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_32, 1); -lean_inc(x_36); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); lean_dec(x_32); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_dec(x_33); -x_38 = lean_ctor_get(x_32, 1); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_33); +x_36 = lean_array_push(x_4, x_35); +lean_inc(x_2); +x_37 = l_Lean_Elab_Tactic_SavedState_restore(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_34); +x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); -lean_dec(x_32); -lean_inc(x_1); -x_39 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_3 = x_21; -x_12 = x_40; +lean_dec(x_37); +x_3 = x_16; +x_4 = x_36; +x_13 = x_38; goto _start; } } else { -uint8_t x_42; -x_42 = !lean_is_exclusive(x_32); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_43 = lean_ctor_get(x_32, 1); -x_44 = lean_ctor_get(x_32, 0); -lean_dec(x_44); -x_45 = lean_ctor_get(x_33, 0); -lean_inc(x_45); -x_46 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__3; -x_47 = lean_nat_dec_eq(x_45, x_46); -lean_dec(x_45); -if (x_47 == 0) -{ -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_32; -} -else -{ -lean_object* x_48; lean_object* x_49; -lean_free_object(x_32); -lean_dec(x_33); -lean_inc(x_1); -x_48 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_43); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); -x_3 = x_21; -x_12 = x_49; -goto _start; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_51 = lean_ctor_get(x_32, 1); -lean_inc(x_51); -lean_dec(x_32); -x_52 = lean_ctor_get(x_33, 0); -lean_inc(x_52); -x_53 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__3; -x_54 = lean_nat_dec_eq(x_52, x_53); -lean_dec(x_52); -if (x_54 == 0) -{ -lean_object* x_55; -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_33); -lean_ctor_set(x_55, 1, x_51); -return x_55; -} -else -{ -lean_object* x_56; lean_object* x_57; -lean_dec(x_33); -lean_inc(x_1); -x_56 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_51); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_3 = x_21; -x_12 = x_57; +lean_object* x_40; lean_object* x_41; +lean_dec(x_26); +lean_dec(x_19); +lean_inc(x_2); +x_40 = l_Lean_Elab_Tactic_SavedState_restore(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_3 = x_16; +x_13 = x_41; goto _start; } } @@ -4707,32 +5711,7 @@ goto _start; } } } -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; @@ -4745,7 +5724,7 @@ lean_ctor_set(x_14, 1, x_10); return x_14; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__1() { _start: { lean_object* x_1; @@ -4753,17 +5732,17 @@ x_1 = lean_mk_string_from_bytes("_traceMsg", 9); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1; +x_2 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__3() { _start: { lean_object* x_1; @@ -4771,16 +5750,16 @@ x_1 = lean_mk_string_from_bytes("[", 1); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3; +x_1 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__5() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__5() { _start: { lean_object* x_1; @@ -4788,16 +5767,16 @@ x_1 = lean_mk_string_from_bytes("] ", 2); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__6() { +static lean_object* _init_l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__5; +x_1 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__5; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; @@ -4828,15 +5807,15 @@ 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; uint8_t x_39; x_24 = lean_ctor_get(x_19, 0); -x_25 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2; +x_25 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__2; x_26 = l_Lean_Name_append(x_1, x_25); x_27 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_27, 0, x_1); -x_28 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4; +x_28 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__4; x_29 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__6; +x_30 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__6; x_31 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); @@ -4887,15 +5866,15 @@ x_45 = lean_ctor_get_uint8(x_19, sizeof(void*)*1); x_46 = lean_ctor_get(x_19, 0); lean_inc(x_46); lean_dec(x_19); -x_47 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2; +x_47 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__2; x_48 = l_Lean_Name_append(x_1, x_47); x_49 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_49, 0, x_1); -x_50 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4; +x_50 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__4; x_51 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); -x_52 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__6; +x_52 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__6; x_53 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_53, 0, x_51); lean_ctor_set(x_53, 1, x_52); @@ -4964,15 +5943,15 @@ if (lean_is_exclusive(x_19)) { lean_dec_ref(x_19); x_73 = lean_box(0); } -x_74 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2; +x_74 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__2; x_75 = l_Lean_Name_append(x_1, x_74); x_76 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_76, 0, x_1); -x_77 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4; +x_77 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__4; x_78 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_76); -x_79 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__6; +x_79 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__6; x_80 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); @@ -5028,7 +6007,7 @@ return x_93; } } } -LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { if (lean_obj_tag(x_1) == 0) @@ -5080,7 +6059,7 @@ x_23 = lean_ctor_get(x_17, 1); lean_inc(x_23); lean_dec(x_17); lean_inc(x_15); -x_24 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +x_24 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__2(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_unbox(x_25); @@ -5107,7 +6086,7 @@ x_30 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_30, 0, x_16); x_31 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_31, 0, x_30); -x_32 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_15, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_32 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3(x_15, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); @@ -5119,7 +6098,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -5157,7 +6136,7 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -5170,7 +6149,7 @@ x_14 = l_Lean_replaceRef(x_1, x_13); lean_dec(x_13); lean_dec(x_1); lean_ctor_set(x_9, 5, x_14); -x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -5222,7 +6201,7 @@ lean_ctor_set(x_28, 7, x_23); lean_ctor_set(x_28, 8, x_24); lean_ctor_set(x_28, 9, x_25); lean_ctor_set(x_28, 10, x_26); -x_29 = l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28, x_10, x_11); +x_29 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28, x_10, x_11); lean_dec(x_10); lean_dec(x_28); lean_dec(x_8); @@ -5235,7 +6214,7 @@ return x_29; } } } -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__1() { +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -5245,21 +6224,21 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__2() { +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__1; +x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__2; +x_11 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__2; x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_1); lean_ctor_set(x_12, 1, x_11); @@ -5269,38 +6248,38 @@ lean_ctor_set(x_13, 1, x_10); return x_13; } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__3; +x_2 = l_Lean_Elab_Tactic_evalTactic_handleEx___closed__1; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8___rarg(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8___rarg___closed__1; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___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_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___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; -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8___rarg), 1, 0); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8___rarg), 1, 0); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; @@ -5469,7 +6448,7 @@ return x_41; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; lean_object* x_7; @@ -5481,7 +6460,7 @@ lean_ctor_set(x_7, 1, x_4); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -5492,7 +6471,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -5503,7 +6482,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; @@ -5529,23 +6508,23 @@ lean_inc(x_19); x_20 = lean_ctor_get(x_8, 10); lean_inc(x_20); lean_inc(x_14); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1___boxed), 4, 1); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__1___boxed), 4, 1); lean_closure_set(x_21, 0, x_14); lean_inc(x_18); x_22 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed), 3, 1); lean_closure_set(x_22, 0, x_18); lean_inc(x_14); -x_23 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__2___boxed), 4, 1); +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__2___boxed), 4, 1); lean_closure_set(x_23, 0, x_14); lean_inc(x_19); lean_inc(x_18); lean_inc(x_14); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__3___boxed), 6, 3); +x_24 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__3___boxed), 6, 3); lean_closure_set(x_24, 0, x_14); lean_closure_set(x_24, 1, x_18); lean_closure_set(x_24, 2, x_19); lean_inc(x_14); -x_25 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4___boxed), 6, 3); +x_25 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__4___boxed), 6, 3); lean_closure_set(x_25, 0, x_14); lean_closure_set(x_25, 1, x_18); lean_closure_set(x_25, 2, x_19); @@ -5608,7 +6587,7 @@ x_46 = lean_ctor_get(x_37, 1); lean_inc(x_46); lean_dec(x_37); x_47 = l_List_reverse___rarg(x_46); -x_48 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_45); +x_48 = l_List_forM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__4(x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_45); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5667,7 +6646,7 @@ x_61 = lean_ctor_get(x_37, 1); lean_inc(x_61); lean_dec(x_37); x_62 = l_List_reverse___rarg(x_61); -x_63 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_60); +x_63 = l_List_forM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__4(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_60); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5719,14 +6698,14 @@ x_72 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_72, 0, x_69); x_73 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_73, 0, x_72); -x_74 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__5(x_68, x_73, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_74 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__5(x_68, x_73, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); return x_74; } else { lean_object* x_75; lean_dec(x_69); -x_75 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7(x_68, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_75 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7(x_68, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5749,13 +6728,13 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_76 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8___rarg(x_29); +x_76 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8___rarg(x_29); return x_76; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___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; @@ -5767,7 +6746,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_11 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -5776,7 +6755,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_14 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); return x_14; } else @@ -5811,120 +6790,61 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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_dec(x_4); -lean_inc(x_1); -x_14 = l_Lean_Elab_Tactic_SavedState_restore(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -x_16 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop(x_1, x_2, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_15); -return x_16; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("tactic '", 8); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("' has not been implemented", 26); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, 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: { if (lean_obj_tag(x_3) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_1); -lean_inc(x_2); -x_13 = l_Lean_Syntax_getKind(x_2); -x_14 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_14, 0, x_13); -x_15 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__2; -x_16 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__4; -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__1(x_2, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_19; +lean_object* x_15; +x_15 = l_Lean_Elab_Tactic_evalTactic_eval(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_15; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_20 = lean_ctor_get(x_3, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_3, 1); -lean_inc(x_21); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_16 = lean_ctor_get(x_3, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_3, 1); +lean_inc(x_17); lean_dec(x_3); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_inc(x_2); -x_23 = lean_apply_1(x_22, x_2); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__1), 10, 1); -lean_closure_set(x_24, 0, x_23); -x_25 = lean_ctor_get(x_20, 0); -lean_inc(x_25); -lean_dec(x_20); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); -x_28 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set_uint8(x_28, sizeof(void*)*1, x_27); -lean_inc(x_2); -x_29 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_2, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg___lambda__1), 11, 1); -lean_closure_set(x_32, 0, x_30); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_inc(x_1); +x_19 = lean_apply_1(x_18, x_1); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__1), 10, 1); +lean_closure_set(x_20, 0, x_19); +x_46 = lean_ctor_get(x_16, 0); +lean_inc(x_46); +lean_dec(x_16); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); +x_49 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_48); +lean_inc(x_1); +x_50 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_49, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +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_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg___lambda__1), 11, 1); +lean_closure_set(x_53, 0, x_51); +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); -lean_inc(x_6); -lean_inc(x_5); -x_33 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_24, x_32, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -if (lean_obj_tag(x_33) == 0) +x_54 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__1(x_20, x_53, x_49, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_52); +if (lean_obj_tag(x_54) == 0) { -lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5935,30 +6855,57 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -return x_33; +return x_54; } else { -uint8_t x_34; -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) +lean_object* x_55; lean_object* x_56; +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_21 = x_55; +x_22 = x_56; +goto block_45; +} +block_45: { -lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_35 = lean_ctor_get(x_33, 0); -x_36 = lean_ctor_get(x_33, 1); -x_37 = l_List_isEmpty___rarg(x_21); -if (x_37 == 0) +if (lean_obj_tag(x_21) == 0) { -lean_object* x_38; lean_object* x_39; -lean_free_object(x_33); -lean_dec(x_35); -x_38 = lean_box(0); -x_39 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__2(x_1, x_2, x_21, x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_36); -return x_39; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_inc(x_2); +x_23 = l_Lean_Elab_Tactic_SavedState_restore(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_22); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_21); +x_26 = lean_array_push(x_5, x_25); +x_3 = x_17; +x_5 = x_26; +x_14 = x_24; +goto _start; } else { -lean_dec(x_21); +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_21, 0); +lean_inc(x_28); +x_29 = l_Lean_Elab_Tactic_evalTactic_handleEx___closed__1; +x_30 = lean_nat_dec_eq(x_28, x_29); +if (x_30 == 0) +{ +lean_object* x_31; uint8_t x_32; +x_31 = l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__1; +x_32 = lean_nat_dec_eq(x_28, x_31); +lean_dec(x_28); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5969,59 +6916,171 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_22); return x_33; } -} else { -lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_40 = lean_ctor_get(x_33, 0); -x_41 = lean_ctor_get(x_33, 1); -lean_inc(x_41); +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_21); +x_34 = l_Lean_Elab_Tactic_saveState___rarg(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_22); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_35); +x_38 = lean_array_push(x_5, x_37); +lean_inc(x_2); +x_39 = l_Lean_Elab_Tactic_SavedState_restore(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_36); +x_40 = lean_ctor_get(x_39, 1); lean_inc(x_40); -lean_dec(x_33); -x_42 = l_List_isEmpty___rarg(x_21); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -lean_dec(x_40); -x_43 = lean_box(0); -x_44 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop___lambda__2(x_1, x_2, x_21, x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_41); -return x_44; +lean_dec(x_39); +x_3 = x_17; +x_5 = x_38; +x_14 = x_40; +goto _start; +} } else { -lean_object* x_45; +lean_object* x_42; lean_object* x_43; +lean_dec(x_28); lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_40); -lean_ctor_set(x_45, 1, x_41); -return x_45; +lean_inc(x_2); +x_42 = l_Lean_Elab_Tactic_SavedState_restore(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_22); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_3 = x_17; +x_14 = x_43; +goto _start; } } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___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; -x_11 = l_Lean_Elab_Tactic_evalTacticAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_8, 5); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_6, x_7, x_8, x_9, x_10); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set_tag(x_12, 1); +lean_ctor_set(x_12, 0, x_15); +return x_12; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_12); +lean_inc(x_11); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 5); +x_14 = l_Lean_replaceRef(x_1, x_13); +lean_dec(x_13); +lean_dec(x_1); +lean_ctor_set(x_9, 5, x_14); +x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_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_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_9, 1); +x_18 = lean_ctor_get(x_9, 2); +x_19 = lean_ctor_get(x_9, 3); +x_20 = lean_ctor_get(x_9, 4); +x_21 = lean_ctor_get(x_9, 5); +x_22 = lean_ctor_get(x_9, 6); +x_23 = lean_ctor_get(x_9, 7); +x_24 = lean_ctor_get(x_9, 8); +x_25 = lean_ctor_get(x_9, 9); +x_26 = lean_ctor_get(x_9, 10); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_9); +x_27 = l_Lean_replaceRef(x_1, x_21); +lean_dec(x_21); +lean_dec(x_1); +x_28 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_28, 0, x_16); +lean_ctor_set(x_28, 1, x_17); +lean_ctor_set(x_28, 2, x_18); +lean_ctor_set(x_28, 3, x_19); +lean_ctor_set(x_28, 4, x_20); +lean_ctor_set(x_28, 5, x_27); +lean_ctor_set(x_28, 6, x_22); +lean_ctor_set(x_28, 7, x_23); +lean_ctor_set(x_28, 8, x_24); +lean_ctor_set(x_28, 9, x_25); +lean_ctor_set(x_28, 10, x_26); +x_29 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28, x_10, x_11); +lean_dec(x_10); +lean_dec(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_3); +return x_29; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic___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, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -6039,7 +7098,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_16 = l_Lean_Elab_Tactic_evalTacticAux(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Lean_Elab_Tactic_evalTactic(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; @@ -6104,11 +7163,11 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTacticAux___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_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__2; +x_11 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__2; x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_1); lean_ctor_set(x_12, 1, x_11); @@ -6118,7 +7177,7 @@ lean_ctor_set(x_13, 1, x_10); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; @@ -6129,7 +7188,23 @@ lean_ctor_set(x_5, 1, x_3); return x_5; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__2___closed__1() { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_4); +x_14 = l_Lean_Elab_Tactic_saveState___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4___closed__1; +x_18 = l_Lean_Elab_Tactic_evalTactic_expandEval(x_1, x_15, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +return x_18; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -6137,45 +7212,139 @@ x_1 = l_Lean_Elab_Tactic_tacticElabAttribute; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAux___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) { +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__2() { _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_1; +x_1 = l_Lean_Elab_macroAttribute; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tactic '", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("' has not been implemented", 26); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_dec(x_2); -x_12 = l_Lean_Elab_Tactic_saveState___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = lean_st_ref_get(x_10, x_11); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = lean_st_ref_get(x_10, x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); lean_inc(x_1); -x_19 = l_Lean_Syntax_getKind(x_1); -x_20 = l_Lean_Elab_Tactic_evalTacticAux___lambda__2___closed__1; -x_21 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_20, x_18, x_19); -if (lean_obj_tag(x_21) == 0) +x_16 = l_Lean_Syntax_getKind(x_1); +x_17 = l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__1; +lean_inc(x_16); +x_18 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_17, x_15, x_16); +x_19 = lean_st_ref_get(x_10, x_14); +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); +lean_dec(x_20); +x_23 = l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__2; +lean_inc(x_16); +x_24 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_23, x_22, x_16); +x_25 = l_List_isEmpty___rarg(x_18); +if (x_25 == 0) { -lean_object* x_22; -x_22 = l_Lean_Elab_Tactic_expandTacticMacro(x_13, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -return x_22; +lean_object* x_26; lean_object* x_27; +lean_dec(x_16); +x_26 = lean_box(0); +x_27 = l_Lean_Elab_Tactic_evalTactic___lambda__2(x_1, x_24, x_18, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +return x_27; } else { -lean_object* x_23; -x_23 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop(x_13, x_1, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -return x_23; +uint8_t x_28; +x_28 = l_List_isEmpty___rarg(x_24); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_16); +x_29 = lean_box(0); +x_30 = l_Lean_Elab_Tactic_evalTactic___lambda__2(x_1, x_24, x_18, x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_dec(x_24); +lean_dec(x_18); +x_31 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_31, 0, x_16); +x_32 = l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__4; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__6; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic___spec__1(x_1, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +return x_36; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_36, 0); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_36); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAux___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_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; @@ -6205,7 +7374,7 @@ x_31 = lean_ctor_get(x_25, 1); lean_inc(x_31); lean_dec(x_25); lean_inc(x_8); -x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_8, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_10, x_31); +x_32 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__2(x_8, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_10, x_31); x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); x_34 = lean_ctor_get(x_32, 1); @@ -6224,7 +7393,7 @@ if (x_12 == 0) lean_object* x_14; lean_object* x_15; lean_dec(x_8); x_14 = lean_box(0); -x_15 = l_Lean_Elab_Tactic_evalTacticAux___lambda__2(x_1, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_10, x_13); +x_15 = l_Lean_Elab_Tactic_evalTactic___lambda__3(x_1, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_10, x_13); return x_15; } else @@ -6240,27 +7409,27 @@ lean_ctor_set(x_18, 1, x_16); x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); -x_20 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_8, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_10, x_13); +x_20 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3(x_8, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_10, x_13); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); -x_23 = l_Lean_Elab_Tactic_evalTacticAux___lambda__2(x_1, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_10, x_22); +x_23 = l_Lean_Elab_Tactic_evalTactic___lambda__3(x_1, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_10, x_22); return x_23; } } } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticAux___lambda__1___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___lambda__1___boxed), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___closed__2() { _start: { lean_object* x_1; @@ -6268,17 +7437,17 @@ x_1 = lean_mk_string_from_bytes("null", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___closed__3() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Tactic_evalTacticAux___closed__2; +x_2 = l_Lean_Elab_Tactic_evalTactic___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___closed__4() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -6288,7 +7457,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___closed__5() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___closed__5() { _start: { lean_object* x_1; @@ -6296,17 +7465,17 @@ x_1 = lean_mk_string_from_bytes("step", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___closed__6() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_evalTacticAux___closed__4; -x_2 = l_Lean_Elab_Tactic_evalTacticAux___closed__5; +x_1 = l_Lean_Elab_Tactic_evalTactic___closed__4; +x_2 = l_Lean_Elab_Tactic_evalTactic___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___closed__7() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___closed__7() { _start: { lean_object* x_1; @@ -6314,16 +7483,16 @@ x_1 = lean_mk_string_from_bytes("unexpected tactic", 17); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___closed__8() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_evalTacticAux___closed__7; +x_1 = l_Lean_Elab_Tactic_evalTactic___closed__7; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalTacticAux___boxed__const__1() { +static lean_object* _init_l_Lean_Elab_Tactic_evalTactic___boxed__const__1() { _start: { size_t x_1; lean_object* x_2; @@ -6332,7 +7501,7 @@ x_2 = lean_box_usize(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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_Elab_Tactic_evalTactic(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -6395,7 +7564,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_28 = l_Lean_Elab_Tactic_evalTacticAux___closed__1; +x_28 = l_Lean_Elab_Tactic_evalTactic___closed__1; x_29 = l_Lean_Core_withFreshMacroScope___rarg(x_28, x_27, x_9, x_10); return x_29; } @@ -6404,14 +7573,14 @@ case 1: lean_object* x_30; lean_object* x_31; uint8_t x_32; x_30 = lean_ctor_get(x_1, 1); lean_inc(x_30); -x_31 = l_Lean_Elab_Tactic_evalTacticAux___closed__3; +x_31 = l_Lean_Elab_Tactic_evalTactic___closed__3; x_32 = lean_name_eq(x_30, x_31); lean_dec(x_30); if (x_32 == 0) { lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = l_Lean_Elab_Tactic_evalTacticAux___closed__6; -x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticAux___lambda__3), 11, 8); +x_33 = l_Lean_Elab_Tactic_evalTactic___closed__6; +x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___lambda__4), 11, 8); lean_closure_set(x_34, 0, x_1); lean_closure_set(x_34, 1, x_2); lean_closure_set(x_34, 2, x_3); @@ -6442,7 +7611,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_40 = l_Lean_Elab_Tactic_evalTacticAux___closed__1; +x_40 = l_Lean_Elab_Tactic_evalTactic___closed__1; x_41 = l_Lean_Core_withFreshMacroScope___rarg(x_40, x_27, x_9, x_10); return x_41; } @@ -6461,7 +7630,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_43 = l_Lean_Elab_Tactic_evalTacticAux___closed__1; +x_43 = l_Lean_Elab_Tactic_evalTactic___closed__1; x_44 = l_Lean_Core_withFreshMacroScope___rarg(x_43, x_27, x_9, x_10); return x_44; } @@ -6471,9 +7640,9 @@ size_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_objec x_45 = lean_usize_of_nat(x_37); lean_dec(x_37); x_46 = lean_box(0); -x_47 = l_Lean_Elab_Tactic_evalTacticAux___boxed__const__1; +x_47 = l_Lean_Elab_Tactic_evalTactic___boxed__const__1; x_48 = lean_box_usize(x_45); -x_49 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1___boxed), 13, 10); +x_49 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic___spec__3___boxed), 13, 10); lean_closure_set(x_49, 0, x_36); lean_closure_set(x_49, 1, x_47); lean_closure_set(x_49, 2, x_48); @@ -6496,7 +7665,7 @@ lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean x_51 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_51, 0, x_1); x_52 = l_Lean_indentD(x_51); -x_53 = l_Lean_Elab_Tactic_evalTacticAux___closed__8; +x_53 = l_Lean_Elab_Tactic_evalTactic___closed__8; x_54 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -6504,7 +7673,7 @@ x_55 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; 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_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2___boxed), 10, 7); +x_57 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2___boxed), 10, 7); lean_closure_set(x_57, 0, x_56); lean_closure_set(x_57, 1, x_2); lean_closure_set(x_57, 2, x_3); @@ -6531,7 +7700,7 @@ lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_1); -x_59 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTacticAux___spec__2(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_59 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic___spec__4(x_23, 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); @@ -6624,7 +7793,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_77 = l_Lean_Elab_Tactic_evalTacticAux___closed__1; +x_77 = l_Lean_Elab_Tactic_evalTactic___closed__1; x_78 = l_Lean_Core_withFreshMacroScope___rarg(x_77, x_76, x_9, x_10); return x_78; } @@ -6633,14 +7802,14 @@ case 1: lean_object* x_79; lean_object* x_80; uint8_t x_81; x_79 = lean_ctor_get(x_1, 1); lean_inc(x_79); -x_80 = l_Lean_Elab_Tactic_evalTacticAux___closed__3; +x_80 = l_Lean_Elab_Tactic_evalTactic___closed__3; x_81 = lean_name_eq(x_79, x_80); lean_dec(x_79); if (x_81 == 0) { lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = l_Lean_Elab_Tactic_evalTacticAux___closed__6; -x_83 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticAux___lambda__3), 11, 8); +x_82 = l_Lean_Elab_Tactic_evalTactic___closed__6; +x_83 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic___lambda__4), 11, 8); lean_closure_set(x_83, 0, x_1); lean_closure_set(x_83, 1, x_2); lean_closure_set(x_83, 2, x_3); @@ -6671,7 +7840,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_89 = l_Lean_Elab_Tactic_evalTacticAux___closed__1; +x_89 = l_Lean_Elab_Tactic_evalTactic___closed__1; x_90 = l_Lean_Core_withFreshMacroScope___rarg(x_89, x_76, x_9, x_10); return x_90; } @@ -6690,7 +7859,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_92 = l_Lean_Elab_Tactic_evalTacticAux___closed__1; +x_92 = l_Lean_Elab_Tactic_evalTactic___closed__1; x_93 = l_Lean_Core_withFreshMacroScope___rarg(x_92, x_76, x_9, x_10); return x_93; } @@ -6700,9 +7869,9 @@ size_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_objec x_94 = lean_usize_of_nat(x_86); lean_dec(x_86); x_95 = lean_box(0); -x_96 = l_Lean_Elab_Tactic_evalTacticAux___boxed__const__1; +x_96 = l_Lean_Elab_Tactic_evalTactic___boxed__const__1; x_97 = lean_box_usize(x_94); -x_98 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1___boxed), 13, 10); +x_98 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic___spec__3___boxed), 13, 10); lean_closure_set(x_98, 0, x_85); lean_closure_set(x_98, 1, x_96); lean_closure_set(x_98, 2, x_97); @@ -6725,7 +7894,7 @@ lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; x_100 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_100, 0, x_1); x_101 = l_Lean_indentD(x_100); -x_102 = l_Lean_Elab_Tactic_evalTacticAux___closed__8; +x_102 = l_Lean_Elab_Tactic_evalTactic___closed__8; x_103 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_103, 0, x_102); lean_ctor_set(x_103, 1, x_101); @@ -6733,7 +7902,7 @@ x_104 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; x_105 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_105, 0, x_103); lean_ctor_set(x_105, 1, x_104); -x_106 = lean_alloc_closure((void*)(l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2___boxed), 10, 7); +x_106 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2___boxed), 10, 7); lean_closure_set(x_106, 0, x_105); lean_closure_set(x_106, 1, x_2); lean_closure_set(x_106, 2, x_3); @@ -6760,7 +7929,7 @@ lean_dec(x_62); lean_dec(x_61); lean_dec(x_60); lean_dec(x_1); -x_108 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTacticAux___spec__2(x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_72, x_9, x_10); +x_108 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic___spec__4(x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_72, x_9, x_10); lean_dec(x_9); lean_dec(x_72); lean_dec(x_7); @@ -6774,48 +7943,11 @@ return x_108; } } } -static lean_object* _init_l_Lean_Elab_Tactic_expandTacticMacro___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Elab_macroAttribute; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_expandTacticMacro(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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; -x_12 = lean_st_ref_get(x_10, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -lean_inc(x_2); -x_16 = l_Lean_Syntax_getKind(x_2); -x_17 = l_Lean_Elab_Tactic_expandTacticMacro___closed__1; -x_18 = l_Lean_KeyedDeclsAttribute_getEntries___rarg(x_17, x_15, x_16); -x_19 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop(x_1, x_2, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -return x_19; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_Tactic_expandTacticMacroFns_loop(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6827,11 +7959,11 @@ lean_dec(x_2); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__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 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -6843,11 +7975,11 @@ lean_dec(x_3); return x_12; } } -LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_List_forM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6859,11 +7991,11 @@ lean_dec(x_2); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6875,11 +8007,11 @@ lean_dec(x_2); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6891,11 +8023,11 @@ lean_dec(x_2); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6907,61 +8039,48 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); return x_7; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticAux___spec__1(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_1); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTacticAux___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_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTacticAux___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6973,11 +8092,40 @@ lean_dec(x_2); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic___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: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_15 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTactic___spec__3(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_1); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1(x_1, x_2, x_3); +x_4 = l_Lean_Elab_Tactic_evalTactic___lambda__1(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; @@ -7087,51 +8235,11 @@ lean_dec(x_2); return x_11; } } -static lean_object* _init_l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Elab_abortTacticExceptionId; -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__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_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg___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; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___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; -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg), 1, 0); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_done(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; x_10 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -7150,7 +8258,7 @@ lean_object* x_16; lean_object* x_17; x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); lean_dec(x_15); -x_17 = l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg(x_16); +x_17 = l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg(x_16); return x_17; } else @@ -7210,7 +8318,7 @@ lean_object* x_27; lean_object* x_28; x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); -x_28 = l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg(x_27); +x_28 = l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg(x_27); return x_28; } else @@ -7257,28 +8365,13 @@ return x_34; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -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_Elab_Tactic_done___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; x_10 = l_Lean_Elab_Tactic_done(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_2); +lean_dec(x_1); return x_10; } } @@ -7538,6 +8631,7 @@ lean_inc(x_13); lean_dec(x_11); x_14 = l_Lean_Elab_Tactic_done(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); lean_dec(x_3); +lean_dec(x_2); if (lean_obj_tag(x_14) == 0) { uint8_t x_15; @@ -9567,7 +10661,7 @@ lean_inc(x_19); lean_dec(x_17); x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg___lambda__1), 11, 1); lean_closure_set(x_20, 0, x_18); -x_21 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_16, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); +x_21 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__1(x_16, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); return x_21; } } @@ -10229,7 +11323,7 @@ lean_object* x_13; lean_object* x_14; x_13 = lean_alloc_closure((void*)(l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1___rarg___lambda__1___boxed), 12, 2); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_2); -x_14 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_3, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__1(x_3, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } @@ -10250,7 +11344,7 @@ x_15 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); lean_ctor_set(x_5, 2, x_15); -x_16 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_16; } else @@ -10305,7 +11399,7 @@ lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 4, x_28); lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 5, x_29); lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 6, x_30); lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 7, x_32); -x_36 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_35, x_6, x_7, x_8, x_9, x_10, x_11); +x_36 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_35, x_6, x_7, x_8, x_9, x_10, x_11); return x_36; } } @@ -11111,7 +12205,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_19 = l_Lean_Elab_Tactic_evalTacticAux(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +x_19 = l_Lean_Elab_Tactic_evalTactic(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; @@ -11280,7 +12374,7 @@ x_27 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +x_29 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -11325,7 +12419,7 @@ x_37 = l_Lean_Elab_Term_reportUnsolvedGoals___closed__8; 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_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_30); +x_39 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_30); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12980,7 +14074,7 @@ x_6 = l_Lean_Elab_Tactic_withCaseRef___rarg___closed__1; x_7 = lean_array_push(x_6, x_3); x_8 = lean_array_push(x_7, x_4); x_9 = lean_box(2); -x_10 = l_Lean_Elab_Tactic_evalTacticAux___closed__3; +x_10 = l_Lean_Elab_Tactic_evalTactic___closed__3; x_11 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); @@ -13016,21 +14110,21 @@ lean_dec(x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3439____closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4607____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Tactic_evalTacticAux___closed__4; +x_1 = l_Lean_Elab_Tactic_evalTactic___closed__4; x_2 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3439_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4607_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3439____closed__1; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4607____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -13176,68 +14270,94 @@ l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec lean_mark_persistent(l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__2); l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__3 = _init_l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__3(); lean_mark_persistent(l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__3); -l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__1); -l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__2); -l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__3 = _init_l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___closed__3); -l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__1); -l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__2); -l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__3); -l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__4); -l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__5 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__5(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__5); -l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__6 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__6(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___closed__6); -l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__1(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__1); -l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__2(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___closed__2); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__8___rarg___closed__1); -l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__1 = _init_l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__1); -l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__2 = _init_l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__2); -l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__3 = _init_l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__3); -l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__4 = _init_l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__4(); -lean_mark_persistent(l_Lean_Elab_Tactic_expandTacticMacroFns_loop___closed__4); -l_Lean_Elab_Tactic_evalTacticAux___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_evalTacticAux___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___lambda__2___closed__1); -l_Lean_Elab_Tactic_evalTacticAux___closed__1 = _init_l_Lean_Elab_Tactic_evalTacticAux___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___closed__1); -l_Lean_Elab_Tactic_evalTacticAux___closed__2 = _init_l_Lean_Elab_Tactic_evalTacticAux___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___closed__2); -l_Lean_Elab_Tactic_evalTacticAux___closed__3 = _init_l_Lean_Elab_Tactic_evalTacticAux___closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___closed__3); -l_Lean_Elab_Tactic_evalTacticAux___closed__4 = _init_l_Lean_Elab_Tactic_evalTacticAux___closed__4(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___closed__4); -l_Lean_Elab_Tactic_evalTacticAux___closed__5 = _init_l_Lean_Elab_Tactic_evalTacticAux___closed__5(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___closed__5); -l_Lean_Elab_Tactic_evalTacticAux___closed__6 = _init_l_Lean_Elab_Tactic_evalTacticAux___closed__6(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___closed__6); -l_Lean_Elab_Tactic_evalTacticAux___closed__7 = _init_l_Lean_Elab_Tactic_evalTacticAux___closed__7(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___closed__7); -l_Lean_Elab_Tactic_evalTacticAux___closed__8 = _init_l_Lean_Elab_Tactic_evalTacticAux___closed__8(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___closed__8); -l_Lean_Elab_Tactic_evalTacticAux___boxed__const__1 = _init_l_Lean_Elab_Tactic_evalTacticAux___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalTacticAux___boxed__const__1); -l_Lean_Elab_Tactic_expandTacticMacro___closed__1 = _init_l_Lean_Elab_Tactic_expandTacticMacro___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_expandTacticMacro___closed__1); +l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__1 = _init_l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__1); +l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__2 = _init_l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__3___rarg___closed__2); +l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4___closed__1 = _init_l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4___closed__1(); +lean_mark_persistent(l_Array_filterMapM___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__4___closed__1); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__1 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__1(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__1); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__2 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__2(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__2); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__3 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__3(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__3); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__4 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__4(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__7___closed__4); +l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6___closed__1 = _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6___closed__1); +l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6___closed__2 = _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6___closed__2(); +lean_mark_persistent(l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__6___closed__2); +l_Lean_Elab_Tactic_evalTactic_throwExs___closed__1 = _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic_throwExs___closed__1); +l_Lean_Elab_Tactic_evalTactic_throwExs___closed__2 = _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic_throwExs___closed__2); +l_Lean_Elab_Tactic_evalTactic_throwExs___closed__3 = _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic_throwExs___closed__3); +l_Lean_Elab_Tactic_evalTactic_throwExs___closed__4 = _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic_throwExs___closed__4); +l_Lean_Elab_Tactic_evalTactic_throwExs___closed__5 = _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic_throwExs___closed__5); +l_Lean_Elab_Tactic_evalTactic_throwExs___closed__6 = _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic_throwExs___closed__6); +l_Lean_Elab_Tactic_evalTactic_throwExs___closed__7 = _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic_throwExs___closed__7); +l_Lean_Elab_Tactic_evalTactic_throwExs___closed__8 = _init_l_Lean_Elab_Tactic_evalTactic_throwExs___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic_throwExs___closed__8); +l_Lean_Elab_Tactic_evalTactic_handleEx___closed__1 = _init_l_Lean_Elab_Tactic_evalTactic_handleEx___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic_handleEx___closed__1); +l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__1); +l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__2); +l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__3 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__3(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__3); +l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__4 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__4(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__4); +l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__5 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__5(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__5); +l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__6 = _init_l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__6(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3___closed__6); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__1(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__1); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__2(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__7___closed__2); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8___rarg___closed__1); +l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__1 = _init_l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__1); +l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__2 = _init_l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__2); +l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__3 = _init_l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__3); +l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__4 = _init_l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__4); +l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__5 = _init_l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__5); +l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__6 = _init_l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___lambda__3___closed__6); +l_Lean_Elab_Tactic_evalTactic___closed__1 = _init_l_Lean_Elab_Tactic_evalTactic___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___closed__1); +l_Lean_Elab_Tactic_evalTactic___closed__2 = _init_l_Lean_Elab_Tactic_evalTactic___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___closed__2); +l_Lean_Elab_Tactic_evalTactic___closed__3 = _init_l_Lean_Elab_Tactic_evalTactic___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___closed__3); +l_Lean_Elab_Tactic_evalTactic___closed__4 = _init_l_Lean_Elab_Tactic_evalTactic___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___closed__4); +l_Lean_Elab_Tactic_evalTactic___closed__5 = _init_l_Lean_Elab_Tactic_evalTactic___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___closed__5); +l_Lean_Elab_Tactic_evalTactic___closed__6 = _init_l_Lean_Elab_Tactic_evalTactic___closed__6(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___closed__6); +l_Lean_Elab_Tactic_evalTactic___closed__7 = _init_l_Lean_Elab_Tactic_evalTactic___closed__7(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___closed__7); +l_Lean_Elab_Tactic_evalTactic___closed__8 = _init_l_Lean_Elab_Tactic_evalTactic___closed__8(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___closed__8); +l_Lean_Elab_Tactic_evalTactic___boxed__const__1 = _init_l_Lean_Elab_Tactic_evalTactic___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalTactic___boxed__const__1); l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___closed__1 = _init_l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___closed__1); l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___closed__2 = _init_l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___closed__2(); lean_mark_persistent(l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___closed__2); -l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg___closed__1); -l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg___closed__2 = _init_l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg___closed__2(); -lean_mark_persistent(l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg___closed__2); l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___closed__1 = _init_l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___closed__1(); lean_mark_persistent(l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___closed__1); l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___closed__2 = _init_l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___closed__2(); @@ -13286,9 +14406,9 @@ l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2 = _init_l_Lean_Elab_Tactic_get lean_mark_persistent(l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2); l_Lean_Elab_Tactic_withCaseRef___rarg___closed__1 = _init_l_Lean_Elab_Tactic_withCaseRef___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_withCaseRef___rarg___closed__1); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3439____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3439____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3439____closed__1); -res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3439_(lean_io_mk_world()); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4607____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4607____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4607____closed__1); +res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_4607_(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 3c1da5ea54..3b8a05922b 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c @@ -66,7 +66,6 @@ static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_evalOpen__ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange___closed__2; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRotateRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_ContextInfo_saveNoFileMap___at_Lean_Elab_Tactic_renameInaccessibles___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -160,7 +159,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace(lean_objec static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__5; static lean_object* l_Lean_Elab_Tactic_evalCase___closed__1; static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__22___closed__3; -lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_evalOpen___spec__11___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_done(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_Elab_Tactic_evalOpen___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*, lean_object*, lean_object*); @@ -508,7 +506,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone(lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__25___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_declRange___closed__2; -lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(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_Open_0__Lean_Elab_OpenDecl_elabOpenScoped___at_Lean_Elab_Tactic_evalOpen___spec__29(lean_object*, 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_evalOpen_declRange___closed__4; @@ -550,7 +547,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__7; lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars___closed__3; -lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_runTactic___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___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRange___closed__2; @@ -575,7 +571,6 @@ lean_object* l_Array_back___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_saveNoFileMap___at_Lean_Elab_Tactic_renameInaccessibles___spec__5___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSleep(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_evalRefl___closed__1; -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___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_evalRenameInaccessibles_declRange___closed__3; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__26; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_addCheckpoints___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*); @@ -726,8 +721,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalAssumption___boxed(lean_object*) LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFirst_loop___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_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_forEachVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_addCheckpoints_push___closed__10; lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___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* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__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_Elab_Tactic_evalRevert(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_evalFocus(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_evalWithAnnotateState___closed__1; @@ -825,6 +822,7 @@ 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_evalRotateLeft(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_evalParen_declRange(lean_object*); +lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__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_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalFail___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars___closed__1; @@ -883,6 +881,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFail(lean_object*, lean_object*, static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState_declRange___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_renameInaccessibles___spec__8(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__9; +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___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_Elab_Tactic_evalFailIfSuccess(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_forIn_loop___at_Lean_Elab_Tactic_evalOpen___spec__35___boxed(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_evalWithAnnotateState___closed__7; @@ -1332,7 +1331,7 @@ lean_inc(x_21); lean_dec(x_19); x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalWithAnnotateState___lambda__1), 11, 1); lean_closure_set(x_22, 0, x_20); -x_23 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_18, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21); +x_23 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__1(x_18, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21); return x_23; } } @@ -1535,6 +1534,7 @@ _start: lean_object* x_10; x_10 = l_Lean_Elab_Tactic_evalDone___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_2); +lean_dec(x_1); return x_10; } } @@ -1735,7 +1735,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_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1___closed__1; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -1910,7 +1910,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_52 = l_Lean_Elab_Tactic_evalTacticAux(x_51, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_52 = l_Lean_Elab_Tactic_evalTactic(x_51, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_52) == 0) { lean_object* x_53; lean_object* x_54; @@ -1967,7 +1967,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_60 = l_Lean_Elab_Tactic_evalTacticAux(x_59, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_60 = l_Lean_Elab_Tactic_evalTactic(x_59, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_60) == 0) { lean_object* x_61; lean_object* x_62; @@ -2314,7 +2314,7 @@ _start: lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = lean_unsigned_to_nat(1u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } @@ -3056,7 +3056,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_19 = l_Lean_Elab_Tactic_evalTacticAux(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_19 = l_Lean_Elab_Tactic_evalTactic(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -3736,7 +3736,7 @@ lean_inc(x_14); lean_dec(x_13); x_15 = lean_unsigned_to_nat(1u); x_16 = l_Lean_Syntax_getArg(x_3, x_15); -x_17 = l_Lean_Elab_Tactic_evalTacticAux(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_14); +x_17 = l_Lean_Elab_Tactic_evalTactic(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_14); return x_17; } else @@ -9192,7 +9192,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_31 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_30, x_9, x_17); +x_31 = l_Lean_Elab_Tactic_evalTactic(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_30, x_9, x_17); if (lean_obj_tag(x_31) == 0) { lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; @@ -10415,7 +10415,7 @@ lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_dec(x_2); lean_dec(x_1); x_18 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___closed__2; -x_19 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +x_19 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -10749,7 +10749,7 @@ x_23 = l_Lean_Elab_Tactic_elabSetOption___closed__1; x_24 = l_Lean_Option_get___at_Std_Format_pretty_x27___spec__1(x_16, x_23); lean_ctor_set(x_8, 4, x_24); lean_ctor_set(x_8, 2, x_16); -x_25 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +x_25 = l_Lean_Elab_Tactic_evalTactic(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); return x_25; } else @@ -10788,7 +10788,7 @@ lean_ctor_set(x_37, 7, x_31); lean_ctor_set(x_37, 8, x_32); lean_ctor_set(x_37, 9, x_33); lean_ctor_set(x_37, 10, x_34); -x_38 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_37, x_9, x_17); +x_38 = l_Lean_Elab_Tactic_evalTactic(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_37, x_9, x_17); return x_38; } } @@ -11135,7 +11135,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_47 = l_Lean_Elab_Tactic_evalTacticAux(x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); +x_47 = l_Lean_Elab_Tactic_evalTactic(x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_28); if (lean_obj_tag(x_47) == 0) { lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; @@ -11332,7 +11332,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_89 = l_Lean_Elab_Tactic_evalTacticAux(x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_71); +x_89 = l_Lean_Elab_Tactic_evalTactic(x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_71); if (lean_obj_tag(x_89) == 0) { lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; @@ -11805,7 +11805,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_42 = l_Lean_Elab_Tactic_evalTacticAux(x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_41); +x_42 = l_Lean_Elab_Tactic_evalTactic(x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_41); if (lean_obj_tag(x_42) == 0) { lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; @@ -11911,7 +11911,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_73 = l_Lean_Elab_Tactic_evalTacticAux(x_69, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_72); +x_73 = l_Lean_Elab_Tactic_evalTactic(x_69, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_72); if (lean_obj_tag(x_73) == 0) { 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_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; @@ -12070,7 +12070,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_120 = l_Lean_Elab_Tactic_evalTacticAux(x_116, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_119); +x_120 = l_Lean_Elab_Tactic_evalTactic(x_116, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, 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; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; @@ -12259,7 +12259,7 @@ x_20 = lean_ctor_get(x_16, 1); lean_inc(x_20); lean_dec(x_16); x_21 = l_Lean_Elab_Tactic_evalAnyGoals___closed__3; -x_22 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +x_22 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12500,7 +12500,7 @@ _start: lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = lean_unsigned_to_nat(0u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } @@ -12719,7 +12719,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_19 = l_Lean_Elab_Tactic_evalTacticAux(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +x_19 = l_Lean_Elab_Tactic_evalTactic(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); if (lean_obj_tag(x_19) == 0) { lean_dec(x_17); @@ -13474,7 +13474,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_23 = l_Lean_Elab_Tactic_evalTacticAux(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); +x_23 = l_Lean_Elab_Tactic_evalTactic(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); if (lean_obj_tag(x_23) == 0) { lean_object* x_24; uint8_t x_25; @@ -13525,7 +13525,7 @@ else { lean_object* x_15; lean_object* x_16; x_15 = l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; -x_16 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +x_16 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -14107,7 +14107,7 @@ _start: { lean_object* x_10; lean_object* x_11; x_10 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Tactic_evalTraceMessage___spec__1___closed__2; -x_11 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } @@ -16209,7 +16209,7 @@ x_58 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_58, 0, x_26); lean_ctor_set(x_58, 1, x_57); lean_ctor_set(x_58, 2, x_56); -x_59 = l_Lean_Elab_Tactic_evalTacticAux(x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_34); +x_59 = l_Lean_Elab_Tactic_evalTactic(x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_34); return x_59; } } @@ -16448,7 +16448,7 @@ x_175 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_175, 0, x_83); lean_ctor_set(x_175, 1, x_174); lean_ctor_set(x_175, 2, x_173); -x_176 = l_Lean_Elab_Tactic_evalTacticAux(x_175, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_71); +x_176 = l_Lean_Elab_Tactic_evalTactic(x_175, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_71); return x_176; } else @@ -16668,7 +16668,7 @@ x_15 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); lean_ctor_set(x_5, 2, x_15); -x_16 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_16; } else @@ -16723,7 +16723,7 @@ lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 4, x_28); lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 5, x_29); lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 6, x_30); lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 7, x_32); -x_36 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_35, x_6, x_7, x_8, x_9, x_10, x_11); +x_36 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_35, x_6, x_7, x_8, x_9, x_10, x_11); return x_36; } } @@ -16746,7 +16746,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_14 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_14 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -26193,7 +26193,7 @@ x_42 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1___closed_ x_43 = l_panic___at_Lean_expandExplicitBindersAux_loop___spec__1(x_42); x_44 = l_Lean_Syntax_getArg(x_43, x_13); lean_dec(x_43); -x_45 = l_Lean_Elab_Tactic_evalTacticAux(x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_45 = l_Lean_Elab_Tactic_evalTactic(x_44, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_45; } else @@ -26203,7 +26203,7 @@ x_46 = lean_array_fget(x_1, x_2); lean_dec(x_2); x_47 = l_Lean_Syntax_getArg(x_46, x_13); lean_dec(x_46); -x_48 = l_Lean_Elab_Tactic_evalTacticAux(x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_48 = l_Lean_Elab_Tactic_evalTactic(x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_48; } } @@ -26673,7 +26673,7 @@ lean_ctor_set(x_37, 1, x_17); x_38 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_33); -x_39 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_39 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); return x_39; } } @@ -26690,7 +26690,7 @@ x_42 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen__ 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_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_44 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); return x_44; } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Cache.c b/stage0/stdlib/Lean/Elab/Tactic/Cache.c index 0fc51cd70c..5eb8e4436a 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Cache.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Cache.c @@ -24,7 +24,6 @@ static lean_object* l___private_Lean_Elab_Tactic_Cache_0__Lean_Elab_Tactic_dbg__ static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Cache___hyg_16____closed__6; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Elab_Tactic_evalCheckpoint___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Elab_Tactic_evalCheckpoint___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCheckpoint___closed__14; @@ -32,6 +31,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCheckpoint_declRange___c lean_object* lean_dbg_trace(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Cache_0__Lean_Elab_Tactic_dbg__cache(lean_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*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Elab_Tactic_Cache_0__Lean_Elab_Tactic_dbg__cache_x27___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Cache_0__Lean_Elab_Tactic_dbg__cache___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_evalCheckpoint___closed__5; @@ -1917,7 +1917,7 @@ lean_inc(x_13); lean_dec(x_11); x_14 = lean_unsigned_to_nat(1u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = l_Lean_Elab_Tactic_evalTacticAux(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_16 = l_Lean_Elab_Tactic_evalTactic(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); return x_16; } else @@ -1940,7 +1940,7 @@ lean_dec(x_19); lean_dec(x_17); x_22 = lean_unsigned_to_nat(1u); x_23 = l_Lean_Syntax_getArg(x_1, x_22); -x_24 = l_Lean_Elab_Tactic_evalTacticAux(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); +x_24 = l_Lean_Elab_Tactic_evalTactic(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18); return x_24; } else @@ -1983,7 +1983,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_27); -x_31 = l_Lean_Elab_Tactic_evalTacticAux(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_30); +x_31 = l_Lean_Elab_Tactic_evalTactic(x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_30); if (lean_obj_tag(x_31) == 0) { lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c index bf33ef2e29..fd5e878ba1 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c @@ -70,7 +70,6 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact_ 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_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_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; @@ -202,7 +201,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv___closed LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_markAsConvGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta___closed__1; -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__3; lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed_declRange___closed__5; @@ -251,6 +249,7 @@ lean_object* l_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Basic_0__Lean_Elab_Tactic_Conv_convLocalDecl___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_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__25; lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___spec__1___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___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf_declRange___closed__2; @@ -941,7 +940,7 @@ 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_refineCore___spec__1(x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_67); +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); @@ -3660,7 +3659,7 @@ x_85 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_85, 0, x_34); lean_ctor_set(x_85, 1, x_84); lean_ctor_set(x_85, 2, x_83); -x_86 = l_Lean_Elab_Tactic_evalTacticAux(x_85, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +x_86 = l_Lean_Elab_Tactic_evalTactic(x_85, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_23); return x_86; } else @@ -4165,7 +4164,7 @@ _start: lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = lean_unsigned_to_nat(0u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } @@ -4635,7 +4634,7 @@ _start: lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = lean_unsigned_to_nat(1u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } @@ -5340,7 +5339,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_13 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +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); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; @@ -5561,7 +5560,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_11 = l_Lean_Elab_Tactic_evalTacticAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_Tactic_evalTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; @@ -6256,7 +6255,7 @@ 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_Tactic_evalTacticAux(x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_58 = l_Lean_Elab_Tactic_evalTactic(x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_29); return x_58; } else @@ -6968,7 +6967,7 @@ x_125 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_125, 0, x_79); lean_ctor_set(x_125, 1, x_4); lean_ctor_set(x_125, 2, x_124); -x_126 = l_Lean_Elab_Tactic_evalTacticAux(x_125, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_68); +x_126 = l_Lean_Elab_Tactic_evalTactic(x_125, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_68); return x_126; } else @@ -6988,7 +6987,7 @@ x_132 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_132, 0, x_79); lean_ctor_set(x_132, 1, x_4); lean_ctor_set(x_132, 2, x_131); -x_133 = l_Lean_Elab_Tactic_evalTacticAux(x_132, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_68); +x_133 = l_Lean_Elab_Tactic_evalTactic(x_132, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_68); return x_133; } } @@ -7026,7 +7025,7 @@ x_148 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_148, 0, x_79); lean_ctor_set(x_148, 1, x_4); lean_ctor_set(x_148, 2, x_147); -x_149 = l_Lean_Elab_Tactic_evalTacticAux(x_148, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_68); +x_149 = l_Lean_Elab_Tactic_evalTactic(x_148, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_68); return x_149; } else @@ -7046,7 +7045,7 @@ x_155 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_155, 0, x_79); lean_ctor_set(x_155, 1, x_4); lean_ctor_set(x_155, 2, x_154); -x_156 = l_Lean_Elab_Tactic_evalTacticAux(x_155, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_68); +x_156 = l_Lean_Elab_Tactic_evalTactic(x_155, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_68); return x_156; } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Change.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Change.c index 64eb27894a..a29968cb36 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Change.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Change.c @@ -35,7 +35,6 @@ lean_object* l_Lean_Elab_Tactic_filterOldMVars(lean_object*, lean_object*, lean_ static lean_object* l_Lean_Elab_Tactic_Conv_evalChange___closed__12; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalChange_declRange___closed__3; lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalChange_declRange___closed__5; static lean_object* l_Lean_Elab_Tactic_Conv_evalChange___closed__1; @@ -43,6 +42,7 @@ static lean_object* l_Lean_Elab_Tactic_Conv_evalChange___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalChange___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_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; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalChange___closed__6; lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType(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___regBuiltin_Lean_Elab_Tactic_Conv_evalChange_declRange___closed__7; @@ -372,7 +372,7 @@ x_53 = l_Lean_Elab_Tactic_Conv_evalChange___closed__16; x_54 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_54, 0, x_52); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_45); +x_55 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_45); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c index 801107ddf0..387f88cdae 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c @@ -146,7 +146,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs_declRange___clo lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalLhs___boxed(lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f___lambda__3___closed__6; lean_object* l_Lean_Syntax_getId(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -157,7 +156,6 @@ static lean_object* l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_ lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_markAsConvGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_extLetBodyCongr_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* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f___lambda__3___closed__3; lean_object* lean_array_to_list(lean_object*, lean_object*); @@ -190,8 +188,10 @@ extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_extCore___lambda__2___closed__3; lean_object* l_Int_toNat(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___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___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_extCore___lambda__2___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs_declRange___closed__5; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__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_List_forIn_loop___at___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_selectIdx___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_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalExt(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__2; @@ -3459,7 +3459,7 @@ x_24 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_selectId x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_26 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_26; } } @@ -3584,7 +3584,7 @@ if (lean_obj_tag(x_28) == 0) { lean_object* x_29; lean_object* x_30; uint8_t x_31; x_29 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_selectIdx___closed__4; -x_30 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +x_30 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -4612,7 +4612,7 @@ lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_dec(x_18); lean_dec(x_3); x_23 = l_Lean_Elab_Tactic_Conv_evalArg___lambda__2___closed__4; -x_24 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_24 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_23, 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); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c index e846884f3f..23e5f309ab 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c @@ -57,7 +57,6 @@ static lean_object* l_Lean_Elab_Tactic_Conv_evalPattern___lambda__3___closed__4; lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(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* lean_st_mk_ref(lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalPattern___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalPattern___closed__4; lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -69,6 +68,7 @@ lean_object* l_Lean_Expr_toHeadIndex(lean_object*); 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*); size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__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___private_Lean_Elab_Tactic_Conv_Pattern_0__Lean_Elab_Tactic_Conv_findPattern_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___private_Lean_Elab_Tactic_Conv_Pattern_0__Lean_Elab_Tactic_Conv_findPattern_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_evalPattern___closed__3; @@ -1749,7 +1749,7 @@ x_41 = l_Lean_Elab_Tactic_Conv_evalPattern___lambda__3___closed__4; 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_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); +x_43 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_36); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Delta.c b/stage0/stdlib/Lean/Elab/Tactic/Delta.c index b6b0d62be6..3e17c407b9 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Delta.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Delta.c @@ -63,7 +63,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDelta_declRange___closed static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDelta___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDelta___closed__3; lean_object* lean_format_pretty(lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_deltaLocalDecl___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*); @@ -73,6 +72,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalDelta___spe extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_evalDelta___spec__7___closed__1; static lean_object* l_Lean_Elab_Tactic_deltaLocalDecl___closed__8; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDelta_declRange___closed__6; static lean_object* l_Lean_Elab_Tactic_deltaLocalDecl___closed__6; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_evalDelta___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -953,7 +953,7 @@ x_16 = l_Lean_Elab_Tactic_deltaLocalDecl___closed__8; x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_18 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_18; } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c index c669a479a3..93eb603599 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c +++ b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c @@ -17,7 +17,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstance lean_object* l_Lean_Meta_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_findSomeRevM_x3f___at_Lean_Elab_Tactic_evalRename___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_Elab_Tactic_evalApplyLikeTactic(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_evalRename___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_Elab_Tactic_evalApplyLikeTactic___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_Tactic_evalSpecialize_declRange___closed__2; size_t lean_usize_add(size_t, size_t); @@ -38,19 +37,18 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabAsFVar___lambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRename_declRange___closed__1; LEAN_EXPORT lean_object* l_Std_PersistentArray_findSomeRevM_x3f___at_Lean_Elab_Tactic_evalRename___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_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide___closed__2; lean_object* l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__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_Elab_Tactic_elabTermWithHoles___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalApply_declRange___closed__6; +lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, 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_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll_declRange___closed__4; -lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___rarg(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_evalDecide_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalWithReducible(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -61,6 +59,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_closeMainGoalUsing___lambda__1(lean_ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducible___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances___closed__3; uint8_t l_Lean_MetavarKind_isNatural(uint8_t); +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___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_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__6; 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*); @@ -69,11 +68,9 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide(lean_object* LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_x27(lean_object*); static lean_object* l_Lean_Elab_Tactic_refineCore___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalRename___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_refineCore___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_x27_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_closeMainGoalUsing(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRename_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTermForApply___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -84,6 +81,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declRange__ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSpecialize(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDecide___boxed(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange___closed__6; static lean_object* l_Lean_Elab_Tactic_refineCore___lambda__4___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRename(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -109,16 +107,14 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange___close LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalNativeDecide___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_filterOldMVars___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabAsFVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalRename___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalApply(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_withoutModifyingStateWithInfoAndMessages___at_Lean_Elab_Tactic_evalRename___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___lambda__1___closed__2; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg___closed__1; lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide___closed__5; lean_object* l_Lean_assignExprMVar___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_Lean_Elab_Tactic_evalDecide___rarg___lambda__1___closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRename___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_Tactic_evalRename___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_appArg_x21(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -129,7 +125,6 @@ lean_object* l_Lean_Meta_zetaReduce___lambda__2___boxed(lean_object*, lean_objec static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalConstructor___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_getFVarId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__1___closed__3; -static lean_object* l_Lean_Elab_Tactic_evalRename___lambda__1___closed__2; static lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__1___closed__5; lean_object* l_Lean_Meta_mkDecide(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalConstructor___closed__5; @@ -138,6 +133,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSpecialize_declRange___c lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_apply(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_getFVarId___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_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Tactic_evalRename___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact_declRange___closed__7; @@ -147,12 +143,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_refineCore___lambda__4(lean_object*, static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_x27_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_filterOldMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSpecialize___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRename___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_Elab_Tactic_evalRename___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_evalWithReducible_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_declRange___closed__1; lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll_declRange___closed__2; static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___lambda__1___closed__7; +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTermWithHoles(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_array_fget(lean_object*, lean_object*); @@ -163,6 +160,7 @@ static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___closed__1; lean_object* l_Lean_Meta_rename(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvar___override(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSpecialize___closed__2; +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarsNoDelayed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalRename___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide___closed__4; @@ -187,7 +185,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tacti lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalExact___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalConstructor___boxed(lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4; static lean_object* l_Lean_Elab_Tactic_evalExact___closed__8; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances___closed__2; @@ -199,6 +196,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange___close static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducible___closed__1; lean_object* l_Lean_Elab_Tactic_getMainTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalExact___closed__1; +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__2; static lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalApply___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances___closed__1; @@ -206,7 +204,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSpecialize_declRange___c static lean_object* l_Lean_Elab_Tactic_evalSpecialize___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_logUnassignedAndAbort___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_declRange(lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__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_Elab_Tactic_elabTermForApply___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTerm_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -216,7 +213,6 @@ static lean_object* l_Lean_Elab_Tactic_evalExact___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_x27_declRange___closed__4; lean_object* l_Lean_Elab_Term_isLetRecAuxMVar(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_evalRename(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___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_evalWithReducibleAndInstances_declRange___closed__3; lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declRange(lean_object*); @@ -263,18 +259,22 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_x27___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducible_declRange___closed__2; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSpecialize___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRename_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType(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_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducible_declRange___closed__1; static lean_object* l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_preprocessPropToDecide___closed__2; lean_object* l_Lean_LocalDecl_type(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_preprocessPropToDecide___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalExact___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_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8(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_evalNativeDecide___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_Elab_Tactic_refineCore___lambda__3___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_filterOldMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType___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_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances_declRange___closed__7; static lean_object* l_Lean_Elab_Tactic_evalRefine___closed__1; static lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_logUnassignedAndAbort___spec__1___rarg___closed__1; @@ -286,6 +286,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll___close static lean_object* l_Lean_Elab_Tactic_filterOldMVars___closed__1; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__1; +static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__3; static lean_object* l_Lean_Elab_Tactic_evalApply___closed__3; static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___lambda__1___closed__4; static lean_object* l_Lean_Elab_Tactic_evalRefine___closed__2; @@ -387,6 +388,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_findDeclRevM_x3f___at_Lean_Elab_Tactic_evalRename___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_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___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_Tactic_getFVarId___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_refineCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -428,7 +430,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_closeMainGoalUsing___lambda__1___box static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange___closed__2; static lean_object* l_Lean_Elab_Tactic_getFVarId___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_refineCore(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_evalRename___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_Tactic_evalWithUnfoldingAll___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalExact(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_x27_declRange___closed__7; @@ -451,7 +452,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalConstructor___closed__4; static lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__1___closed__2; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Lean_Meta_constructor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_constructor(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact_declRange___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances_declRange(lean_object*); @@ -3016,44 +3017,6 @@ x_15 = l_Lean_Elab_Tactic_elabTermWithHoles(x_1, x_2, x_3, x_14, x_5, x_6, x_7, return x_15; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_8, 5); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_6, x_7, x_8, x_9, x_10); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_11); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_11); -lean_ctor_set(x_15, 1, x_14); -lean_ctor_set_tag(x_12, 1); -lean_ctor_set(x_12, 0, x_15); -return x_12; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_12, 0); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_12); -lean_inc(x_11); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_16); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_refineCore___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: { @@ -3251,7 +3214,7 @@ x_43 = l_Lean_Elab_Tactic_refineCore___lambda__4___closed__6; x_44 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_44, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); +x_45 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_44, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_27); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3402,22 +3365,6 @@ x_15 = l_Lean_Elab_Tactic_withMainContext___rarg(x_14, x_4, x_5, x_6, x_7, x_8, return x_15; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_refineCore___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: { @@ -3926,7 +3873,7 @@ lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); x_21 = l_Lean_Elab_Tactic_evalSpecialize___lambda__1___closed__2; -x_22 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +x_22 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5561,46 +5508,47 @@ 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; lean_object* x_13; +lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; 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_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_13 = l_Lean_Meta_constructor(x_11, x_5, x_6, x_7, x_8, x_12); -if (lean_obj_tag(x_13) == 0) +x_14 = l_Lean_Meta_constructor(x_11, x_13, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_14; lean_object* x_15; uint8_t 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_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); -x_16 = 0; +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = 0; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_17 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_16, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -if (lean_obj_tag(x_17) == 0) +x_18 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_17, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +if (lean_obj_tag(x_18) == 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 = l_Lean_Elab_Tactic_replaceMainGoal(x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -return x_19; +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = l_Lean_Elab_Tactic_replaceMainGoal(x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +return x_20; } else { -uint8_t x_20; -lean_dec(x_14); +uint8_t x_21; +lean_dec(x_15); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -5609,29 +5557,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) { -return x_17; +return x_18; } else { -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_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_inc(x_22); -lean_inc(x_21); -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; +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; } } } else { -uint8_t x_24; +uint8_t x_25; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -5640,29 +5588,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_24 = !lean_is_exclusive(x_13); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_14); +if (x_25 == 0) { -return x_13; +return x_14; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_13, 0); -x_26 = lean_ctor_get(x_13, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_14, 0); +x_27 = lean_ctor_get(x_14, 1); +lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_13); -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_dec(x_14); +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_28; +uint8_t x_29; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -5671,23 +5619,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_10); -if (x_28 == 0) +x_29 = !lean_is_exclusive(x_10); +if (x_29 == 0) { return x_10; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_10, 0); -x_30 = lean_ctor_get(x_10, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_10, 0); +x_31 = lean_ctor_get(x_10, 1); +lean_inc(x_31); lean_inc(x_30); -lean_inc(x_29); lean_dec(x_10); -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_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; } } } @@ -5901,7 +5849,7 @@ if (x_15 == 0) uint8_t x_16; lean_object* x_17; x_16 = 2; lean_ctor_set_uint8(x_14, 5, x_16); -x_17 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_17 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_17) == 0) { uint8_t x_18; @@ -5981,7 +5929,7 @@ lean_ctor_set_uint8(x_40, 11, x_36); lean_ctor_set_uint8(x_40, 12, x_37); lean_ctor_set_uint8(x_40, 13, x_38); lean_ctor_set(x_6, 0, x_40); -x_41 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_41 = 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); if (lean_obj_tag(x_41) == 0) { lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; @@ -6094,7 +6042,7 @@ lean_ctor_set(x_72, 2, x_52); lean_ctor_set(x_72, 3, x_53); lean_ctor_set(x_72, 4, x_54); lean_ctor_set(x_72, 5, x_55); -x_73 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_72, x_7, x_8, x_9, x_10); +x_73 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_72, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_73) == 0) { lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; @@ -6330,7 +6278,7 @@ if (x_15 == 0) uint8_t x_16; lean_object* x_17; x_16 = 3; lean_ctor_set_uint8(x_14, 5, x_16); -x_17 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_17 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_17) == 0) { uint8_t x_18; @@ -6410,7 +6358,7 @@ lean_ctor_set_uint8(x_40, 11, x_36); lean_ctor_set_uint8(x_40, 12, x_37); lean_ctor_set_uint8(x_40, 13, x_38); lean_ctor_set(x_6, 0, x_40); -x_41 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_41 = 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); if (lean_obj_tag(x_41) == 0) { lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; @@ -6523,7 +6471,7 @@ lean_ctor_set(x_72, 2, x_52); lean_ctor_set(x_72, 3, x_53); lean_ctor_set(x_72, 4, x_54); lean_ctor_set(x_72, 5, x_55); -x_73 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_72, x_7, x_8, x_9, x_10); +x_73 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_72, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_73) == 0) { lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; @@ -6759,7 +6707,7 @@ if (x_15 == 0) uint8_t x_16; lean_object* x_17; x_16 = 0; lean_ctor_set_uint8(x_14, 5, x_16); -x_17 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_17 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_17) == 0) { uint8_t x_18; @@ -6839,7 +6787,7 @@ lean_ctor_set_uint8(x_40, 11, x_36); lean_ctor_set_uint8(x_40, 12, x_37); lean_ctor_set_uint8(x_40, 13, x_38); lean_ctor_set(x_6, 0, x_40); -x_41 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_41 = 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); if (lean_obj_tag(x_41) == 0) { lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; @@ -6952,7 +6900,7 @@ lean_ctor_set(x_72, 2, x_52); lean_ctor_set(x_72, 3, x_53); lean_ctor_set(x_72, 4, x_54); lean_ctor_set(x_72, 5, x_55); -x_73 = l_Lean_Elab_Tactic_evalTacticAux(x_12, x_2, x_3, x_4, x_5, x_72, x_7, x_8, x_9, x_10); +x_73 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_72, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_73) == 0) { lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; @@ -8574,59 +8522,105 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withNewMCtxDepth___at_Lean_Elab_Tac return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages___at_Lean_Elab_Tactic_evalRename___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; -x_11 = lean_apply_2(x_1, x_2, x_3); -x_12 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___rarg(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_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = l_Lean_Elab_Tactic_saveState___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +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_14 = lean_apply_9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_14) == 0) { -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -return x_12; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_12); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_Tactic_SavedState_restore(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, 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_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_17, 0); +lean_dec(x_19); +lean_ctor_set(x_17, 0, x_15); +return x_17; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_15); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } else { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_12); -if (x_17 == 0) +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_14, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_dec(x_14); +x_24 = l_Lean_Elab_Tactic_SavedState_restore(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) { -return x_12; +lean_object* x_26; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +lean_ctor_set_tag(x_24, 1); +lean_ctor_set(x_24, 0, x_22); +return x_24; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_12, 0); -x_19 = lean_ctor_get(x_12, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_12); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; +lean_object* 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(1, 2, 0); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } } -static lean_object* _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__1() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -8634,16 +8628,16 @@ x_1 = lean_mk_string_from_bytes("failed to find a hypothesis with type", 37); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__2() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__1; +x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__3() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__3() { _start: { lean_object* x_1; @@ -8651,16 +8645,16 @@ x_1 = lean_mk_string_from_bytes("", 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4() { +static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__3; +x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRename___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_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; @@ -8702,11 +8696,11 @@ x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); x_20 = l_Lean_indentExpr(x_14); -x_21 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__2; +x_21 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__2; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4; +x_23 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); @@ -8821,100 +8815,77 @@ return x_39; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRename___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_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___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, 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_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_12 = l_Lean_Elab_withoutModifyingStateWithInfoAndMessages___at_Lean_Elab_Tactic_evalRename___spec__8(x_1, 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; -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); -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_3); -x_15 = l_Lean_Elab_Tactic_getMainGoal(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; -x_16 = lean_ctor_get(x_15, 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; +x_12 = lean_alloc_closure((void*)(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___boxed), 11, 2); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_2); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withoutRecover___rarg), 10, 1); +lean_closure_set(x_13, 0, x_12); +x_14 = l_Lean_Elab_Tactic_saveState___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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 = l_Lean_Syntax_getId(x_2); +lean_dec(x_14); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_19 = l_Lean_Meta_rename(x_16, x_13, x_18, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_19) == 0) +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_17 = l_Lean_Meta_withNewMCtxDepth___at_Lean_Elab_Tactic_evalRename___spec__7___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_20); -lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_Elab_Tactic_replaceMainGoal(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t 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_SavedState_restore(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19); +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_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set(x_20, 0, x_18); +return x_20; +} +else +{ +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_18); +lean_ctor_set(x_24, 1, x_23); return x_24; } -else -{ -uint8_t 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); -lean_dec(x_4); -lean_dec(x_3); -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_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_17, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_17, 1); lean_inc(x_26); -lean_dec(x_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_dec(x_13); +lean_dec(x_17); +x_27 = l_Lean_Elab_Tactic_SavedState_restore(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -8923,29 +8894,93 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_29 = !lean_is_exclusive(x_15); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) { -return x_15; +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set_tag(x_27, 1); +lean_ctor_set(x_27, 0, x_25); +return x_27; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_15, 0); -x_31 = lean_ctor_get(x_15, 1); -lean_inc(x_31); +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 1); lean_inc(x_30); -lean_dec(x_15); -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_dec(x_27); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_25); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRename___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_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_13 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_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); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_16 = l_Lean_Elab_Tactic_getMainGoal(x_4, x_5, 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; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_Syntax_getId(x_3); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_20 = l_Lean_Meta_rename(x_17, x_14, x_19, x_8, x_9, x_10, x_11, x_18); +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; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_21); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Elab_Tactic_replaceMainGoal(x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +return x_25; +} else { -uint8_t x_33; +uint8_t x_26; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -8953,24 +8988,86 @@ 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_12); -if (x_33 == 0) +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) { -return x_12; +return x_20; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_12, 0); -x_35 = lean_ctor_get(x_12, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_20, 0); +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_20); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +else +{ +uint8_t x_30; +lean_dec(x_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); +lean_dec(x_4); +x_30 = !lean_is_exclusive(x_16); +if (x_30 == 0) +{ +return x_16; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_16, 0); +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_16); +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_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_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_inc(x_34); -lean_dec(x_12); -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_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; } } } @@ -9062,18 +9159,14 @@ return x_20; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = lean_box(0); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRename___lambda__1___boxed), 11, 2); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRename___lambda__1___boxed), 12, 3); lean_closure_set(x_22, 0, x_15); lean_closure_set(x_22, 1, x_21); -x_23 = lean_alloc_closure((void*)(l_Lean_Meta_withNewMCtxDepth___at_Lean_Elab_Tactic_evalRename___spec__7___rarg), 10, 1); -lean_closure_set(x_23, 0, x_22); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRename___lambda__2___boxed), 11, 2); -lean_closure_set(x_24, 0, x_23); -lean_closure_set(x_24, 1, x_17); -x_25 = l_Lean_Elab_Tactic_withMainContext___rarg(x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_25; +lean_closure_set(x_22, 2, x_17); +x_23 = l_Lean_Elab_Tactic_withMainContext___rarg(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_23; } } } @@ -9145,22 +9238,22 @@ lean_dec(x_4); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRename___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_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Elab_Tactic_evalRename___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 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___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); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRename___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_EXPORT lean_object* l_Lean_Elab_Tactic_evalRename___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; -x_12 = l_Lean_Elab_Tactic_evalRename___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_2); -return x_12; +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_evalRename___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_3); +return x_13; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRename___closed__1() { @@ -9217,7 +9310,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRename_declRange__ _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(256u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9372,7 +9465,7 @@ x_12 = l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_preprocessPropT x_13 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); -x_14 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4; +x_14 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4; x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -9766,11 +9859,11 @@ x_35 = l_Lean_Elab_Tactic_evalDecide___rarg___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_evalRename___lambda__1___closed__4; +x_37 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4; 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_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_31); +x_39 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_31); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -9910,11 +10003,11 @@ x_72 = l_Lean_Elab_Tactic_evalDecide___rarg___lambda__2___closed__2; x_73 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); -x_74 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4; +x_74 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4; x_75 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_75, 0, x_73); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_75, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_68); +x_76 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_75, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_68); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10167,7 +10260,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(274u); +x_1 = lean_unsigned_to_nat(270u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10179,7 +10272,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(284u); +x_1 = lean_unsigned_to_nat(280u); x_2 = lean_unsigned_to_nat(74u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10207,7 +10300,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(274u); +x_1 = lean_unsigned_to_nat(270u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10219,7 +10312,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(274u); +x_1 = lean_unsigned_to_nat(270u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10807,7 +10900,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(297u); +x_1 = lean_unsigned_to_nat(293u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10819,7 +10912,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(304u); +x_1 = lean_unsigned_to_nat(300u); x_2 = lean_unsigned_to_nat(160u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10847,7 +10940,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(297u); +x_1 = lean_unsigned_to_nat(293u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10859,7 +10952,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(297u); +x_1 = lean_unsigned_to_nat(293u); x_2 = lean_unsigned_to_nat(69u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11288,14 +11381,14 @@ l_Lean_Elab_Tactic_elabAsFVar___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic lean_mark_persistent(l_Lean_Elab_Tactic_elabAsFVar___lambda__1___closed__1); l_Lean_Elab_Tactic_elabAsFVar___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_elabAsFVar___lambda__1___closed__2(); lean_mark_persistent(l_Lean_Elab_Tactic_elabAsFVar___lambda__1___closed__2); -l_Lean_Elab_Tactic_evalRename___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalRename___lambda__1___closed__1); -l_Lean_Elab_Tactic_evalRename___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalRename___lambda__1___closed__2); -l_Lean_Elab_Tactic_evalRename___lambda__1___closed__3 = _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalRename___lambda__1___closed__3); -l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4 = _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__1 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__1); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__2 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__2); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__3 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__3); +l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4); l_Lean_Elab_Tactic_evalRename___closed__1 = _init_l_Lean_Elab_Tactic_evalRename___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_evalRename___closed__1); l_Lean_Elab_Tactic_evalRename___closed__2 = _init_l_Lean_Elab_Tactic_evalRename___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Induction.c b/stage0/stdlib/Lean/Elab/Tactic/Induction.c index b4e0d5ff8a..d10bbe1758 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Induction.c @@ -14,6 +14,7 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__1; static lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___closed__3; static lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_go___lambda__2___closed__1; static lean_object* l_Lean_Elab_Tactic_isHoleRHS___closed__6; @@ -37,6 +38,7 @@ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__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_object*); lean_object* lean_erase_macro_scopes(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalInduction___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_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_8482_(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); @@ -58,7 +60,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts___lambda__1(lean_ob lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterTRAux___at_Lean_resolveGlobalConstCore___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction_declRange___closed__6; @@ -69,7 +70,6 @@ uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getOptPreTacOfOptInductionAlts___closed__1; lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_ElimApp_evalAlts_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_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_Elab_Tactic_evalInduction___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); @@ -83,20 +83,18 @@ extern lean_object* l_Std_Format_defWidth; static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabCasesTargets___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_Tactic_Induction_0__Lean_Elab_Tactic_getAltsOfOptInductionAlts(lean_object*); -static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___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_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getBindingName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__1___lambda__2___closed__3; lean_object* l_Lean_Meta_getElimInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterMap___at_Lean_resolveGlobalConst___spec__1(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__2; 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_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__1; 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*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___lambda__2(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_EXPORT lean_object* l_Lean_Elab_Tactic_evalCases___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* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2___closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -136,7 +134,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getBindingName___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCases___closed__3; -static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__2; lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__2___closed__2; @@ -146,7 +143,6 @@ static lean_object* l_Lean_Elab_Tactic_getInductiveValFromMajor___lambda__1___cl static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__2___closed__2; lean_object* l_Lean_assignExprMVar___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*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__1___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__1___closed__2; static lean_object* l_Lean_Elab_Tactic_evalInduction___lambda__2___closed__2; @@ -204,7 +200,6 @@ static lean_object* l_panic___at_Lean_Elab_Tactic_ElimApp_reorderAlts___spec__1_ lean_object* l_Lean_assignExprMVar___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalInduction___lambda__2___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_expandCases_x3f(lean_object*); -static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltRHS___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2___boxed(lean_object**); @@ -245,7 +240,6 @@ static lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Ind static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__8___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts(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_ElimApp_evalAlts_go___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_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__14___closed__2; static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_saveAltVarsInfo___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*); @@ -268,6 +262,7 @@ LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__1___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___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* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkGeneralizationForbiddenSet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_evalTactic_expandEval___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_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_Expr_fvarId_x21(lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___closed__1; @@ -276,7 +271,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tac static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(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_evalInduction___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(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_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ElimApp_State_targetPos___default; @@ -289,7 +283,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_ static lean_object* l_Lean_Elab_Tactic_ElimApp_State_alts___default___closed__1; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getFType___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -306,6 +300,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalInduction___lambda__1___boxed(le lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2___closed__8; lean_object* l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_expandInductionAlts_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalAlt___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*); @@ -324,10 +319,11 @@ lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Meta_setMVarKind(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction_declRange___closed__3; lean_object* l_Lean_Expr_sort___override(lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCases_declRange(lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___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_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__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___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltRHS(lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ElimApp_reorderAlts(lean_object*, lean_object*); @@ -351,6 +347,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tac LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___lambda__2___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_expandMultiAlt_x3f(lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___closed__2; @@ -379,13 +376,13 @@ size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getFirstAltLhs(lean_object*); extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTargets___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_Elab_Tactic_ElimApp_mkElimApp_loop(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_ElimApp_mkElimApp_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getBindingName(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalInduction___lambda__3___boxed(lean_object**); lean_object* l_Lean_Elab_Term_mkConst(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_ElimApp_reorderAlts___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType(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_Elab_Tactic_isHoleRHS___closed__3; @@ -412,13 +409,11 @@ lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedMVarId; -static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__3; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarSetToGeneralize(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCases___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_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__14(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___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getNumArgs(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_saveAltVarsInfo___spec__13___boxed(lean_object*, lean_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_elabCasesTargets___lambda__1(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -431,6 +426,7 @@ static lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCases___lambda__1___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___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_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVars___boxed(lean_object*); +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__1; uint8_t l_Lean_Syntax_hasArgs(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltsOfOptInductionAlts___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_saveAltVarsInfo___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*); @@ -466,6 +462,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tac lean_object* l_Lean_Meta_getCustomEliminator_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTargets___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___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_expandInduction_x3f(lean_object*); +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTargets___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -485,7 +482,6 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___spec__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___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTerm(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_app___override(lean_object*, lean_object*); @@ -521,10 +517,10 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_ static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_elabCasesTargets___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_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabCasesTargets___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_throwErrorAt___at_Lean_Elab_Tactic_evalTactic___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_evalInduction___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCases___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_ElimApp_mkElimApp___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_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_generalizeTargetsEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -547,7 +543,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tac LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_ContextInfo_save___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_saveAltVarsInfo___spec__3(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_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_isHoleRHS___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltsOfInductionAlts(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__1; @@ -580,6 +575,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tac static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__1___closed__2; lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__2; +static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__2; +lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___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_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___lambda__2___closed__3; static lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__3___closed__2; @@ -2175,7 +2173,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___lambda__2___closed__1; x_2 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___lambda__2___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4015,69 +4013,7 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_9, 5); -x_14 = l_Lean_replaceRef(x_1, x_13); -lean_dec(x_13); -lean_ctor_set(x_9, 5, x_14); -x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_9); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_16 = lean_ctor_get(x_9, 0); -x_17 = lean_ctor_get(x_9, 1); -x_18 = lean_ctor_get(x_9, 2); -x_19 = lean_ctor_get(x_9, 3); -x_20 = lean_ctor_get(x_9, 4); -x_21 = lean_ctor_get(x_9, 5); -x_22 = lean_ctor_get(x_9, 6); -x_23 = lean_ctor_get(x_9, 7); -x_24 = lean_ctor_get(x_9, 8); -x_25 = lean_ctor_get(x_9, 9); -x_26 = lean_ctor_get(x_9, 10); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_9); -x_27 = l_Lean_replaceRef(x_1, x_21); -lean_dec(x_21); -x_28 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_28, 0, x_16); -lean_ctor_set(x_28, 1, x_17); -lean_ctor_set(x_28, 2, x_18); -lean_ctor_set(x_28, 3, x_19); -lean_ctor_set(x_28, 4, x_20); -lean_ctor_set(x_28, 5, x_27); -lean_ctor_set(x_28, 6, x_22); -lean_ctor_set(x_28, 7, x_23); -lean_ctor_set(x_28, 8, x_24); -lean_ctor_set(x_28, 9, x_25); -lean_ctor_set(x_28, 10, x_26); -x_29 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28, x_10, x_11); -lean_dec(x_28); -return x_29; -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -4114,7 +4050,7 @@ return x_13; } } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__1() { +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -4122,16 +4058,16 @@ x_1 = lean_mk_string_from_bytes("invalid alternative name '", 26); return x_1; } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__2() { +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__1; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__3() { +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -4141,7 +4077,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_object* x_15; uint8_t x_27; @@ -4179,7 +4115,7 @@ size_t x_34; size_t x_35; uint8_t x_36; x_34 = 0; x_35 = lean_usize_of_nat(x_28); lean_dec(x_28); -x_36 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2(x_14, x_3, x_34, x_35); +x_36 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1(x_14, x_3, x_34, x_35); if (x_36 == 0) { lean_object* x_37; @@ -4191,8 +4127,16 @@ else { lean_object* x_38; lean_object* x_39; lean_dec(x_14); +lean_dec(x_12); lean_dec(x_11); -x_38 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__3; +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_38 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__3; x_39 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_13); @@ -4205,8 +4149,16 @@ else { lean_object* x_40; lean_object* x_41; lean_dec(x_14); +lean_dec(x_12); lean_dec(x_11); -x_40 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__3; +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_40 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__3; x_41 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_13); @@ -4218,7 +4170,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean lean_dec(x_15); x_16 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_16, 0, x_14); -x_17 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__2; +x_17 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__2; x_18 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); @@ -4226,7 +4178,7 @@ x_19 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___closed__4; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1(x_1, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_21 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic___spec__1(x_1, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); x_22 = !lean_is_exclusive(x_21); if (x_22 == 0) { @@ -4248,7 +4200,7 @@ return x_25; } } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__1() { +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__1() { _start: { lean_object* x_1; @@ -4256,16 +4208,16 @@ x_1 = lean_mk_string_from_bytes("invalid occurrence of wildcard alternative, it return x_1; } } -static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__2() { +static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__1; +x_1 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { uint8_t x_18; @@ -4309,9 +4261,15 @@ if (x_27 == 0) { lean_object* x_28; lean_object* x_29; x_28 = lean_box(0); +lean_inc(x_16); lean_inc(x_15); -x_29 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1(x_24, x_26, x_1, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec(x_24); +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_29 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1(x_24, x_26, x_1, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_29) == 0) { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; @@ -4335,7 +4293,14 @@ else { uint8_t x_35; 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); +lean_dec(x_9); lean_dec(x_5); x_35 = !lean_is_exclusive(x_29); if (x_35 == 0) @@ -4377,9 +4342,16 @@ x_43 = l_Lean_replaceRef(x_24, x_42); lean_dec(x_42); lean_dec(x_24); lean_ctor_set(x_15, 5, x_43); -x_44 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__2; -x_45 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_44, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_44 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__2; +x_45 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_44, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_16); lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); x_46 = !lean_is_exclusive(x_45); if (x_46 == 0) { @@ -4440,9 +4412,16 @@ lean_ctor_set(x_62, 7, x_57); lean_ctor_set(x_62, 8, x_58); lean_ctor_set(x_62, 9, x_59); lean_ctor_set(x_62, 10, x_60); -x_63 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__2; -x_64 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_63, x_9, x_10, x_11, x_12, x_13, x_14, x_62, x_16, x_17); +x_63 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__2; +x_64 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_63, x_9, x_10, x_11, x_12, x_13, x_14, x_62, x_16, x_17); +lean_dec(x_16); lean_dec(x_62); +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_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); x_66 = lean_ctor_get(x_64, 1); @@ -4469,9 +4448,15 @@ else { lean_object* x_69; lean_object* x_70; x_69 = lean_box(0); +lean_inc(x_16); lean_inc(x_15); -x_70 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1(x_24, x_26, x_1, x_69, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec(x_24); +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_70 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1(x_24, x_26, x_1, x_69, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_70) == 0) { lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; @@ -4495,7 +4480,14 @@ else { uint8_t x_76; 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); +lean_dec(x_9); lean_dec(x_5); x_76 = !lean_is_exclusive(x_70); if (x_76 == 0) @@ -4523,7 +4515,14 @@ return x_79; else { lean_object* x_84; +lean_dec(x_16); lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); x_84 = lean_alloc_ctor(0, 2, 0); @@ -4535,7 +4534,14 @@ return x_84; else { lean_object* x_85; +lean_dec(x_16); lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); x_85 = lean_alloc_ctor(0, 2, 0); @@ -4554,7 +4560,7 @@ x_13 = lean_unsigned_to_nat(0u); x_14 = lean_unsigned_to_nat(1u); x_15 = lean_box(0); lean_inc(x_12); -x_16 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3(x_1, x_2, x_12, x_12, x_13, x_12, x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2(x_1, x_2, x_12, x_12, x_13, x_12, x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_12); if (lean_obj_tag(x_16) == 0) { @@ -4604,23 +4610,7 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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; @@ -4628,33 +4618,25 @@ 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___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2(x_1, x_2, x_5, x_6); +x_7 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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: { lean_object* x_14; -x_14 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); +x_14 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -4675,14 +4657,7 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_16); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); +x_18 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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, x_15, x_16, x_17); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); @@ -4696,13 +4671,6 @@ _start: { lean_object* x_12; x_12 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_12; @@ -12040,7 +12008,14 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts(lean_object* x_1, l _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); +lean_inc(x_10); +lean_inc(x_9); x_18 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames(x_2, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_18) == 0) { @@ -12072,7 +12047,7 @@ lean_closure_set(x_24, 5, x_7); lean_closure_set(x_24, 6, x_8); x_25 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_ElimApp_evalAlts___lambda__1___boxed), 11, 1); lean_closure_set(x_25, 0, x_5); -x_26 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_24, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_19); +x_26 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__1(x_24, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_19); return x_26; } } @@ -12242,7 +12217,7 @@ lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint x_37 = lean_ctor_get(x_31, 1); lean_inc(x_37); lean_dec(x_31); -x_38 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_37); +x_38 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__2(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_37); x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); x_40 = lean_ctor_get(x_38, 1); @@ -12277,7 +12252,7 @@ lean_ctor_set(x_24, 1, x_22); x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_17, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); +x_26 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3(x_17, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); @@ -12357,7 +12332,7 @@ lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint x_75 = lean_ctor_get(x_69, 1); lean_inc(x_75); lean_dec(x_69); -x_76 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_54, x_9, x_75); +x_76 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__2(x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_54, x_9, x_75); x_77 = lean_ctor_get(x_76, 0); lean_inc(x_77); x_78 = lean_ctor_get(x_76, 1); @@ -12392,7 +12367,7 @@ lean_ctor_set(x_62, 1, x_60); x_63 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); -x_64 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_55, x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_54, x_9, x_57); +x_64 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3(x_55, x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_54, x_9, x_57); x_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); x_66 = lean_ctor_get(x_64, 1); @@ -12514,7 +12489,7 @@ x_20 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lea x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_22 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); x_23 = !lean_is_exclusive(x_22); if (x_23 == 0) { @@ -12632,7 +12607,7 @@ x_36 = l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__6; x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_37, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_38 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_37, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); x_39 = !lean_is_exclusive(x_38); if (x_39 == 0) { @@ -12734,7 +12709,7 @@ x_35 = l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__6; x_36 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_36, 0, x_34); lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_36, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_37 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_36, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); x_38 = !lean_is_exclusive(x_37); if (x_38 == 0) { @@ -13692,6 +13667,7 @@ x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lea if (x_2 == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_1); x_14 = lean_box(0); x_15 = lean_box(x_2); x_16 = lean_apply_11(x_13, x_15, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); @@ -13701,14 +13677,7 @@ else { lean_object* x_17; lean_object* x_18; uint8_t x_19; x_17 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__2___closed__3; -x_18 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +x_18 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic___spec__1(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) { @@ -13797,15 +13766,7 @@ if (x_25 == 0) { lean_object* x_26; lean_object* x_27; uint8_t x_28; x_26 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___closed__2; -x_27 = l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__1(x_17, x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_17); +x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic___spec__1(x_17, x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) { @@ -13838,7 +13799,6 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); x_33 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__2(x_17, x_4, x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_17); if (lean_obj_tag(x_33) == 0) { lean_object* x_34; @@ -14050,7 +14010,6 @@ x_13 = lean_unbox(x_2); lean_dec(x_2); x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__2(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_3); -lean_dec(x_1); return x_14; } } @@ -14603,7 +14562,7 @@ x_16 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___closed__4; x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_18 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_18; } } @@ -15924,7 +15883,7 @@ x_25 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInf 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_refineCore___spec__1(x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_27 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_26, 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); @@ -16061,7 +16020,7 @@ x_33 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInf x_34 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_34, 0, x_32); lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +x_35 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -16166,7 +16125,7 @@ if (x_15 == 0) lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_dec(x_2); x_16 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___lambda__4___closed__2; -x_17 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_17 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_16, 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); @@ -17314,7 +17273,7 @@ if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_object* x_12; lean_dec(x_1); -x_11 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__3; +x_11 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__3; x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_8); @@ -18073,7 +18032,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint x_58 = lean_ctor_get(x_52, 1); lean_inc(x_58); lean_dec(x_52); -x_59 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_36, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_58); +x_59 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__2(x_36, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_58); x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); x_61 = lean_ctor_get(x_59, 1); @@ -18110,7 +18069,7 @@ x_45 = l_Lean_Elab_Tactic_ElimApp_setMotiveArg___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_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_36, x_46, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_38); +x_47 = l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3(x_36, x_46, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_38); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_ctor_get(x_47, 1); @@ -18683,7 +18642,7 @@ x_15 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); lean_ctor_set(x_5, 2, x_15); -x_16 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_16; } else @@ -18738,7 +18697,7 @@ lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 4, x_28); lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 5, x_29); lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 6, x_30); lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 7, x_32); -x_36 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_35, x_6, x_7, x_8, x_9, x_10, x_11); +x_36 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_35, x_6, x_7, x_8, x_9, x_10, x_11); return x_36; } } @@ -21526,16 +21485,16 @@ l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFiel lean_mark_persistent(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___lambda__1___closed__2); l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___closed__1 = _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___closed__1); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__1(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__1); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__2 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__2(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__2); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__3 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__3(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1___closed__3); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__1(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__1); -l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__2 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__2(); -lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___closed__2); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__1); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__2 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__2); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__3 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__3(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___closed__3); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__1); +l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__2 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___closed__2); l_Lean_Elab_ContextInfo_saveNoFileMap___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_saveAltVarsInfo___spec__4___rarg___closed__1 = _init_l_Lean_Elab_ContextInfo_saveNoFileMap___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_saveAltVarsInfo___spec__4___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_ContextInfo_saveNoFileMap___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_saveAltVarsInfo___spec__4___rarg___closed__1); l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_saveAltVarsInfo___boxed__const__1 = _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_saveAltVarsInfo___boxed__const__1(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Match.c b/stage0/stdlib/Lean/Elab/Tactic/Match.c index 18ec014417..3881b60dfd 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Match.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Match.c @@ -40,12 +40,12 @@ 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; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__2___closed__4; -lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalMatch___closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__1; 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_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; @@ -100,12 +100,12 @@ uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__7; +lean_object* l_List_forM___at_Lean_Elab_Tactic_evalTactic_expandEval___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_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__6___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1; -lean_object* l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalMatch___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); @@ -2516,7 +2516,7 @@ x_46 = lean_ctor_get(x_37, 1); lean_inc(x_46); lean_dec(x_37); x_47 = l_List_reverse___rarg(x_46); -x_48 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_45); +x_48 = l_List_forM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__4(x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_45); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2575,7 +2575,7 @@ x_61 = lean_ctor_get(x_37, 1); lean_inc(x_61); lean_dec(x_37); x_62 = l_List_reverse___rarg(x_61); -x_63 = l_List_forM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__4(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_60); +x_63 = l_List_forM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__4(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_60); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2702,7 +2702,7 @@ x_15 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); lean_ctor_set(x_5, 2, x_15); -x_16 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_16 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); return x_16; } else @@ -2757,7 +2757,7 @@ lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 4, x_28); lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 5, x_29); lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 6, x_30); lean_ctor_set_uint8(x_35, sizeof(void*)*8 + 7, x_32); -x_36 = l_Lean_Elab_Tactic_evalTacticAux(x_2, x_3, x_4, x_35, x_6, x_7, x_8, x_9, x_10, x_11); +x_36 = l_Lean_Elab_Tactic_evalTactic(x_2, x_3, x_4, x_35, x_6, x_7, x_8, x_9, x_10, x_11); return x_36; } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Meta.c b/stage0/stdlib/Lean/Elab/Tactic/Meta.c index 97000a4417..9205b9069f 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Meta.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Meta.c @@ -25,10 +25,10 @@ lean_object* l_Lean_Elab_Tactic_pruneSolvedGoals(lean_object*, lean_object*, lea 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___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_runTactic___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_runTactic___spec__5___closed__1; -lean_object* l_Lean_Elab_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_instantiateLCtxMVars___at_Lean_Elab_runTactic___spec__2___closed__3; +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* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_Elab_runTactic___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1344,7 +1344,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_11 = l_Lean_Elab_Tactic_evalTacticAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_Tactic_evalTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; diff --git a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c index f3af3e8314..e1630bc177 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c @@ -112,7 +112,6 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq_ lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__2___closed__1; static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_withRWRulesSeq___spec__2___closed__1; -lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_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_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -120,7 +119,6 @@ static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewri LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_rewriteTarget___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___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Rewrite___hyg_956_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_runTactic___spec__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* l_Lean_Meta_evalExpr_x27___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_withRWRulesSeq___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -129,7 +127,6 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_ela lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__11; -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__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_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_elabRewriteConfig___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_withoutModifyingState___at_Lean_Elab_Tactic_elabRewriteConfig___spec__12___at_Lean_Elab_Tactic_elabRewriteConfig___spec__13___closed__1; lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); @@ -154,8 +151,10 @@ extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; static lean_object* l_Lean_Elab_Tactic_evalRewriteSeq___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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___lambda__2___closed__4; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__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_Elab_Tactic_evalRewriteSeq___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_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___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* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__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_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___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_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__2___closed__8; lean_object* l_Lean_LocalDecl_type(lean_object*); @@ -185,6 +184,7 @@ static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabRewri lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(lean_object*, uint8_t, uint8_t, 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___lambda__2___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__9; +lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___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_Tactic_evalRewriteSeq___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___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq(lean_object*); @@ -990,7 +990,7 @@ x_18 = l_Lean_Elab_Tactic_withRWRulesSeq_go___closed__4; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_20 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_19, 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); @@ -1268,7 +1268,7 @@ x_16 = l_Lean_Elab_Tactic_withRWRulesSeq_go___closed__4; x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_18 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_18; } } @@ -2536,7 +2536,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_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___closed__3; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___closed__4; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -2666,7 +2666,7 @@ lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_49 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_47, x_48, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); +x_49 = l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__1(x_47, x_48, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_44); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; lean_object* x_51; lean_object* x_52; diff --git a/stage0/stdlib/Lean/Elab/Tactic/Simp.c b/stage0/stdlib/Lean/Elab/Tactic/Simp.c index 2bf265e7e9..daa3be5f42 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Simp.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Simp.c @@ -223,7 +223,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabDSimpConfigCore___boxed(lean_obj lean_object* lean_format_pretty(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__7___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_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__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_Elab_Tactic_simpLocation(lean_object*, lean_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_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); @@ -275,6 +274,7 @@ LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___private_Lean_Elab_ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__19___closed__8; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___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* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__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_Elab_Tactic_SimpKind_noConfusion___rarg___lambda__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimp___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages___at_Lean_Elab_Tactic_tacticToDischarge___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -5365,7 +5365,7 @@ x_16 = l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Simp_0__Lean_ x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_18 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_18; } } @@ -6602,7 +6602,7 @@ x_19 = l_Lean_Meta_SimpTheorems_erase___at___private_Lean_Elab_Tactic_Simp_0__Le x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_21 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_20, 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); @@ -8330,7 +8330,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_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___closed__1; x_2 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10117,7 +10117,7 @@ else lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_dec(x_2); x_17 = l_Lean_Elab_Tactic_mkSimpContext___lambda__3___closed__2; -x_18 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_18 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_17, 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); @@ -10199,7 +10199,7 @@ else lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_dec(x_17); x_25 = l_Lean_Elab_Tactic_mkSimpContext___closed__2; -x_26 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_26 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_25, 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); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Split.c b/stage0/stdlib/Lean/Elab/Tactic/Split.c index 2331f6d628..c46692f230 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Split.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Split.c @@ -37,20 +37,16 @@ static lean_object* l_Lean_Elab_Tactic_evalSplit___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit_declRange___closed__5; lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__6___closed__3; -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalSplit___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___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__14; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalSplit___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* l_Lean_Elab_Tactic_expandOptLocation(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__5___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__7; -lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_Meta_getNondepPropHyps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit_declRange___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit_declRange(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalSplit___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_Lean_Elab_Tactic_evalSplit___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit_declRange___closed__2; -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -61,6 +57,7 @@ lean_object* l_Lean_Meta_splitLocalDecl_x3f(lean_object*, lean_object*, lean_obj extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__13; static lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSplit___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*); @@ -78,6 +75,7 @@ static lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__2; uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__3; lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__5___closed__5; @@ -251,68 +249,6 @@ return x_40; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalSplit___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_9, 5); -x_14 = l_Lean_replaceRef(x_1, x_13); -lean_dec(x_13); -lean_ctor_set(x_9, 5, x_14); -x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_9); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_16 = lean_ctor_get(x_9, 0); -x_17 = lean_ctor_get(x_9, 1); -x_18 = lean_ctor_get(x_9, 2); -x_19 = lean_ctor_get(x_9, 3); -x_20 = lean_ctor_get(x_9, 4); -x_21 = lean_ctor_get(x_9, 5); -x_22 = lean_ctor_get(x_9, 6); -x_23 = lean_ctor_get(x_9, 7); -x_24 = lean_ctor_get(x_9, 8); -x_25 = lean_ctor_get(x_9, 9); -x_26 = lean_ctor_get(x_9, 10); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_9); -x_27 = l_Lean_replaceRef(x_1, x_21); -lean_dec(x_21); -x_28 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_28, 0, x_16); -lean_ctor_set(x_28, 1, x_17); -lean_ctor_set(x_28, 2, x_18); -lean_ctor_set(x_28, 3, x_19); -lean_ctor_set(x_28, 4, x_20); -lean_ctor_set(x_28, 5, x_27); -lean_ctor_set(x_28, 6, x_22); -lean_ctor_set(x_28, 7, x_23); -lean_ctor_set(x_28, 8, x_24); -lean_ctor_set(x_28, 9, x_25); -lean_ctor_set(x_28, 10, x_26); -x_29 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_28, x_10, x_11); -lean_dec(x_28); -return x_29; -} -} -} static lean_object* _init_l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__1() { _start: { @@ -1190,7 +1126,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Tactic_evalSplit___lambda__5___closed__1; x_2 = l_Lean_Elab_Tactic_evalSplit___lambda__5___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Elab_Tactic_evalSplit___lambda__5___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -1414,15 +1350,7 @@ block_26: lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_dec(x_19); x_20 = l_Lean_Elab_Tactic_evalSplit___lambda__6___closed__3; -x_21 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalSplit___spec__2(x_13, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_13); +x_21 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic___spec__1(x_13, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_22 = !lean_is_exclusive(x_21); if (x_22 == 0) { @@ -1475,7 +1403,7 @@ if (x_13 == 0) lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_dec(x_1); x_14 = l_Lean_Elab_Tactic_evalSplit___closed__2; -x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_14, 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); @@ -1525,22 +1453,6 @@ lean_dec(x_3); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalSplit___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalSplit___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_12; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSplit___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: { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Unfold.c b/stage0/stdlib/Lean/Elab/Tactic/Unfold.c index d38fc28a50..707f74b54e 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Unfold.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Unfold.c @@ -58,7 +58,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnfold_declRange___close lean_object* lean_format_pretty(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnfold___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnfold_declRange___closed__7; -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__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_Elab_Tactic_unfoldTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnfold___closed__6; @@ -75,6 +74,7 @@ static lean_object* l_Lean_Elab_Tactic_evalUnfold_go___lambda__1___closed__3; size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnfold_go___lambda__1___closed__4; extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___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_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_unfoldLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_evalUnfold_go___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*); @@ -536,7 +536,7 @@ x_16 = l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_evalUnfold_go___spec__7 x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwError___at_Lean_Elab_Tactic_refineCore___spec__1(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_18 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_18; } } diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 3f2da904f5..2458ffe74b 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -41679,7 +41679,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_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___closed__1; x_2 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___closed__3; 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 d3d72bc4ba..909e1a78e5 100644 --- a/stage0/stdlib/Lean/Expr.c +++ b/stage0/stdlib/Lean/Expr.c @@ -23,8 +23,6 @@ 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_EXPORT lean_object* l_Lean_Expr_updateSort___boxed(lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__40; 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*); @@ -50,7 +48,6 @@ static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hy LEAN_EXPORT lean_object* l_Lean_Expr_replaceFVar___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Expr_projIdx_x21___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_getAppNumArgs___boxed(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -73,7 +70,6 @@ static lean_object* l_Lean_mkNatLit___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Expr_traverseApp___spec__1(lean_object*); static lean_object* l_Lean_Expr_letBody_x21___closed__1; -LEAN_EXPORT lean_object* l_Lean_Expr_updateConst___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkDecIsTrue___closed__3; LEAN_EXPORT lean_object* l_Lean_Expr_withApp(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkApp6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -99,7 +95,6 @@ static lean_object* l_Lean_Expr_instHashableExpr___closed__1; static lean_object* l_Lean_mkInaccessible___closed__1; LEAN_EXPORT uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1848_(lean_object*); static lean_object* l_Lean_Expr_litValue_x21___closed__1; -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); uint32_t lean_uint8_to_uint32(uint8_t); LEAN_EXPORT lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); static lean_object* l_Lean_Expr_letBody_x21___closed__2; @@ -107,6 +102,7 @@ static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hy LEAN_EXPORT lean_object* l_Lean_Expr_getAppArgs(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__8; static lean_object* l_Lean_Expr_projIdx_x21___closed__2; +lean_object* l_Lean_Level_succ___override(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_etaExpandedBody(lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_mkAppN___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -114,17 +110,17 @@ static lean_object* l_Lean_mkEM___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_isLit___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_replaceFVars___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_approxDepth___boxed(lean_object*); -static lean_object* l_Lean_Expr_updateLambda_x21___closed__3; uint64_t lean_uint64_add(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Lean_instReprData__1___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_bindingInfo_x21___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ExprStructEq_instHashableExprStructEq; LEAN_EXPORT lean_object* l_Lean_Expr_letE___override___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_bool_to_uint64(uint8_t); -static lean_object* l_Lean_Expr_updateMData_x21___closed__2; static lean_object* l_Lean_mkNatLit___closed__9; LEAN_EXPORT uint8_t l_Lean_Expr_isArrow(lean_object*); +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__3; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkOr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Expr_instantiateLevelParams___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -134,7 +130,6 @@ static lean_object* l_Lean_Expr_letValue_x21___closed__2; static lean_object* l_Lean_Expr_mkAppData___closed__4; LEAN_EXPORT lean_object* l_Lean_Expr_isOptParam___boxed(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__11; -static lean_object* l_Lean_Expr_updateMData_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_mkForallEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_getAutoParamTactic_x3f(lean_object*); @@ -156,6 +151,7 @@ LEAN_EXPORT lean_object* l_Lean_Expr_hash___boxed(lean_object*); static lean_object* l_Lean_Expr_appFn_x21_x27___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_betaRev___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__18; +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl(lean_object*, lean_object*); static lean_object* l_Lean_Literal_type___closed__5; LEAN_EXPORT lean_object* l_Lean_Expr_mvarId_x21___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_appFn_x21_x27___boxed(lean_object*); @@ -189,19 +185,18 @@ LEAN_EXPORT lean_object* l_Lean_Expr_binderInfoEx___boxed(lean_object*); LEAN_EXPORT uint8_t l_Lean_Expr_isApp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_Data_binderInfo___boxed(lean_object*); static lean_object* l_Lean_Expr_ctorName___closed__2; -static lean_object* l_Lean_Expr_updateApp_x21___closed__2; LEAN_EXPORT uint8_t l_Lean_Expr_hasLooseBVarInExplicitDomain(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Expr_hasFVarEx___boxed(lean_object*); uint64_t l_Lean_Level_hash(lean_object*); static lean_object* l_Lean_Expr_ctorName___closed__8; static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__26; LEAN_EXPORT lean_object* l_Lean_Expr_lt___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateLet___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_appFn_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_hasLevelMVar___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_isAutoParam___boxed(lean_object*); LEAN_EXPORT uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); static lean_object* l_Lean_Expr_mkData___closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl(lean_object*, lean_object*); static lean_object* l_Lean_Expr_mvarId_x21___closed__2; static lean_object* l_Lean_mkSimpleThunkType___closed__1; LEAN_EXPORT lean_object* l_Lean_BinderInfo_toUInt64___boxed(lean_object*); @@ -222,16 +217,16 @@ LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Expr_traverseApp___spe LEAN_EXPORT lean_object* l_Lean_mkLetFunAnnotation(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Expr_appFn_x21_x27___closed__1; +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__1; LEAN_EXPORT uint8_t lean_expr_has_level_mvar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_ExprStructEq_instBEqExprStructEq___closed__1; static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__44; -static lean_object* l_Lean_Expr_updateForall_x21___closed__1; static lean_object* l_Lean_ExprStructEq_instHashableExprStructEq___closed__1; static lean_object* l_Lean_Expr_appFn_x21___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_getOptParamDefault_x3f(lean_object*); -LEAN_EXPORT uint8_t l_Lean_Expr_ptrEq(lean_object*, lean_object*); +uint8_t l_ptrEqList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_getRevArgD(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Expr_instantiateLevelParams___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_getAppArgs___closed__1; @@ -240,17 +235,18 @@ uint8_t l_Lean_Level_hasParam(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Expr_0__Lean_beqFVarId____x40_Lean_Expr___hyg_1793_(lean_object*, lean_object*); lean_object* l_Std_mkHashSetImp___rarg(lean_object*); LEAN_EXPORT uint8_t l_Lean_instDecidableLtLiteralInstLTLiteral(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateApp_x21(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_mkAppRevRange(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldr___at_Lean_Expr_const___override___spec__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateForall_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_appArg_x21(lean_object*); static lean_object* l_Lean_Expr_fvarId_x21___closed__2; +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__2; uint8_t lean_expr_lt(lean_object*, lean_object*); static lean_object* l_Lean_Expr_sortLevel_x21___closed__3; static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__47; +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); static lean_object* l_Lean_Expr_letName_x21___closed__1; +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__2; static lean_object* l_Lean_Expr_projExpr_x21___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_replaceFVars(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_mdataExpr_x21(lean_object*); @@ -261,8 +257,6 @@ LEAN_EXPORT lean_object* l_Lean_Expr_letName_x21___boxed(lean_object*); static lean_object* l_Lean_Expr_projExpr_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_instCoeExprExprStructEq___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_projExpr_x21___boxed(lean_object*); -static lean_object* l_Lean_Expr_updateForall_x21___closed__3; -LEAN_EXPORT lean_object* l_Lean_Expr_updateForall_x21(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_looseBVarRange___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_mkDataForBinder___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_BinderInfo_hash___boxed(lean_object*); @@ -290,6 +284,7 @@ LEAN_EXPORT lean_object* l_Lean_instReprFVarId(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_bindingName_x21___boxed(lean_object*); static lean_object* l_Lean_Expr_updateLambdaE_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_getAppFn___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkOr___closed__1; static lean_object* l_Lean_instReprData__1___lambda__5___closed__1; uint32_t lean_uint32_add(uint32_t, uint32_t); @@ -299,6 +294,7 @@ static lean_object* l_Lean_instReprData__1___lambda__4___closed__1; uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_natLit_x3f___boxed(lean_object*); +lean_object* l_Lean_simpLevelIMax_x27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkMData(lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__25; static lean_object* l_Lean_mkOr___closed__3; @@ -330,18 +326,15 @@ LEAN_EXPORT lean_object* l_Lean_Expr_isConstOf___boxed(lean_object*, lean_object LEAN_EXPORT lean_object* lean_expr_mk_mdata(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instBEqBinderInfo; static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__1; -static lean_object* l_Lean_Expr_updateSort_x21___closed__3; LEAN_EXPORT uint64_t l_Lean_BinderInfo_toUInt64(uint8_t); LEAN_EXPORT lean_object* l_Lean_Expr_lam___override___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_letName_x21___closed__3; static lean_object* l_Lean_mkEM___closed__3; -LEAN_EXPORT lean_object* l_Lean_Expr_updateLambda_x21(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__35; LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_reprLiteral____x40_Lean_Expr___hyg_109_(lean_object*, lean_object*); static lean_object* l_Lean_instHashableFVarId___closed__1; static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__39; -static lean_object* l_Lean_Expr_updateForall_x21___closed__2; static lean_object* l_Lean_Expr_updateLambdaE_x21___closed__2; LEAN_EXPORT lean_object* l_Lean_mkProj(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instReprFVarId___boxed(lean_object*, lean_object*); @@ -351,12 +344,10 @@ lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_ob LEAN_EXPORT lean_object* l_Lean_Expr_updateFn(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_ExprStructEq_beq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__48; static lean_object* l_Lean_instReprData__1___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Lean_ExprStructEq_beq___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateSort_x21(lean_object*, lean_object*); LEAN_EXPORT uint8_t lean_expr_has_expr_mvar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_setPPUniverses(lean_object*, uint8_t); LEAN_EXPORT lean_object* lean_expr_consume_type_annotations(lean_object*); @@ -367,12 +358,12 @@ static lean_object* l_Lean_Expr_constName_x21___closed__3; static lean_object* l_Lean_Literal_type___closed__6; LEAN_EXPORT uint8_t l_Lean_Expr_hasLevelParam(lean_object*); LEAN_EXPORT lean_object* l_Lean_instCoeExprExprStructEq(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateConst_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instEmptyCollectionFVarIdMap(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__11; LEAN_EXPORT lean_object* l_Lean_Expr_projExpr_x21(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__2; +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__3; static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__36; LEAN_EXPORT lean_object* l_Lean_instReprData__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_constLevels_x21(lean_object*); @@ -381,6 +372,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_beqLiteral____x40_Lean_Ex LEAN_EXPORT lean_object* l_Lean_patternAnnotation_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_instFVarIdSetInhabited; static lean_object* l_Lean_Expr_sortLevel_x21___closed__1; +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__2; LEAN_EXPORT uint8_t lean_expr_has_mvar(lean_object*); static lean_object* l_Lean_Expr_mkData___closed__7; LEAN_EXPORT lean_object* l_Lean_mkRawNatLit(lean_object*); @@ -398,9 +390,11 @@ lean_object* l_panic___at_Lean_Level_normalize___spec__1(lean_object*); static lean_object* l_Lean_isLHSGoal_x3f___closed__1; LEAN_EXPORT uint8_t lean_expr_binder_info(lean_object*); static lean_object* l_Lean_Expr_mkData___closed__2; -lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkAnnotation(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_letFunAnnotation_x3f___boxed(lean_object*); +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__1; +lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_BinderInfo_isStrictImplicit(uint8_t); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__43; LEAN_EXPORT lean_object* l_Lean_Expr_looseBVarRangeEx___boxed(lean_object*); @@ -410,6 +404,7 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_abstractRange___boxed(lean_object*, lean_object*, lean_object*); uint32_t lean_uint64_to_uint32(uint64_t); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__27; +lean_object* l_Lean_simpLevelMax_x27(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___rarg(lean_object*, lean_object*); uint8_t lean_uint32_dec_lt(uint32_t, uint32_t); LEAN_EXPORT lean_object* l_Lean_instInhabitedLiteral; @@ -426,7 +421,7 @@ LEAN_EXPORT uint8_t l_Lean_Expr_isHeadBetaTarget(lean_object*, uint8_t); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__17; LEAN_EXPORT uint8_t l_Lean_Expr_isBinding(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_bindingBody_x21___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateProj_x21(lean_object*, lean_object*); +lean_object* l_Lean_mkLevelIMax_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); static uint32_t l_Lean_Expr_mkAppData___closed__1; static lean_object* l_Lean_Expr_appArg_x21_x27___closed__2; @@ -449,11 +444,9 @@ static lean_object* l_Lean_Expr_instBEqExpr___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_hasMVarEx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkAppRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint32_t l_Lean_Expr_approxDepth(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_ptrEq___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_setAppPPExplicitForExposingMVars(lean_object*); static lean_object* l_Lean_Expr_fvarId_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_isType___boxed(lean_object*); -static lean_object* l_Lean_Expr_updateConst_x21___closed__2; LEAN_EXPORT lean_object* lean_expr_mk_bvar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_instHashableExpr; static lean_object* l_Lean_mkDecIsTrue___closed__2; @@ -490,7 +483,6 @@ static lean_object* l_Lean_Expr_mdataExpr_x21___closed__3; static lean_object* l_Lean_Literal_type___closed__4; static lean_object* l_Lean_mkDecIsTrue___closed__4; LEAN_EXPORT lean_object* lean_expr_mk_lit(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateMData_x21(lean_object*, lean_object*); uint64_t lean_uint64_of_nat(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__7; LEAN_EXPORT uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); @@ -498,7 +490,6 @@ LEAN_EXPORT uint8_t l_Lean_Expr_Data_hasLevelMVar(uint64_t); lean_object* lean_expr_dbg_to_string(lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Expr_traverseApp___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Expr_updateConst_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l_Lean_Expr_mkDataForLet(uint64_t, lean_object*, uint32_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t); static lean_object* l_Lean_mkSimpleThunk___closed__2; @@ -506,20 +497,20 @@ LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_mkAppRangeAux___boxed(lea static lean_object* l_Lean_instReprData__1___lambda__7___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_appFn_x21_x27(lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Expr_const___override___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Expr_updateProj_x21___closed__3; static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__4; static lean_object* l_Lean_Literal_type___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_mkDataForLet___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__23; uint64_t l___private_Lean_Level_0__Lean_hashMVarId____x40_Lean_Level___hyg_478_(lean_object*); +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_instantiate___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Expr_0__Lean_beqLiteral____x40_Lean_Expr___hyg_31_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isLetFun___boxed(lean_object*); static lean_object* l_Lean_mkSimpleThunk___closed__1; lean_object* l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(lean_object*); LEAN_EXPORT uint8_t l_Lean_Expr_isAppOfArity_x27(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_appFn_x21___closed__1; -static lean_object* l_Lean_Expr_updateApp_x21___closed__1; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__49; @@ -532,6 +523,8 @@ static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hy LEAN_EXPORT lean_object* lean_expr_mk_let(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); static lean_object* l_Lean_Expr_fvarId_x21___closed__3; +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__3; +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_instantiateRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_hasFVar___boxed(lean_object*); LEAN_EXPORT uint8_t l_Lean_isLetFun(lean_object*); @@ -554,7 +547,6 @@ static lean_object* l_Lean_Expr_mkAppData___closed__3; LEAN_EXPORT lean_object* lean_expr_mk_app(lean_object*, lean_object*); static lean_object* l_Lean_Expr_constName_x21___closed__2; LEAN_EXPORT lean_object* l_Lean_instReprData__1___lambda__4(lean_object*, uint64_t, lean_object*, lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Expr_isForall(lean_object*); LEAN_EXPORT uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); LEAN_EXPORT lean_object* l_Lean_mkDecIsFalse(lean_object*, lean_object*); @@ -577,13 +569,11 @@ static lean_object* l_Lean_Expr_getAutoParamTactic_x3f___closed__2; LEAN_EXPORT uint8_t l_Lean_Expr_isLambda(lean_object*); static uint64_t l_Lean_Expr_mkAppData___closed__6; static lean_object* l_Lean_instInhabitedLiteral___closed__1; -static lean_object* l_Lean_Expr_updateSort_x21___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_ctorName(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_replaceFVarId(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkApp9(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_data___boxed(lean_object*); static lean_object* l_Lean_Expr_setPPExplicit___closed__1; -lean_object* lean_expr_update_proj(lean_object*, lean_object*); static lean_object* l_Lean_Expr_setPPExplicit___closed__2; LEAN_EXPORT uint8_t l_Lean_BinderInfo_isImplicit(uint8_t); LEAN_EXPORT lean_object* l_Lean_Expr_traverseApp(lean_object*); @@ -592,7 +582,7 @@ LEAN_EXPORT lean_object* l_Lean_Expr_setPPExplicit___boxed(lean_object*, lean_ob LEAN_EXPORT lean_object* l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_looseBVarRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_bvarIdx_x21(lean_object*); -static lean_object* l_Lean_Expr_updateProj_x21___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Expr_mkData___spec__1___boxed__const__1; LEAN_EXPORT lean_object* l_Lean_Expr_setAppPPExplicit(lean_object*); @@ -605,23 +595,19 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Expr_bindingInfo_x21___spec__1(lean_o static lean_object* l_Lean_Expr_mkData___closed__6; LEAN_EXPORT uint8_t l_Lean_instInhabitedBinderInfo; static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__29; -static lean_object* l_Lean_Expr_updateLambda_x21___closed__1; +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__3; LEAN_EXPORT lean_object* l_Lean_instBEqFVarId; LEAN_EXPORT lean_object* l_Lean_Expr_fvar___override(lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); LEAN_EXPORT lean_object* l_Lean_instInhabitedFVarId; -static lean_object* l_Lean_Expr_updateProj_x21___closed__1; size_t lean_ptr_addr(lean_object*); LEAN_EXPORT uint8_t l_Lean_Expr_isType(lean_object*); -lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkNatLit___closed__3; LEAN_EXPORT lean_object* l_Lean_Expr_isProj___boxed(lean_object*); -static lean_object* l_Lean_Expr_updateLambda_x21___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instReprData__1___lambda__7(lean_object*, uint64_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Expr_mkData___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_getOptParamDefault_x3f___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateMData___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_repr___at___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Expr_traverseApp___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_appFn_x21___boxed(lean_object*); @@ -635,12 +621,12 @@ static lean_object* l_Lean_Expr_constLevels_x21___closed__1; uint8_t lean_expr_eqv(lean_object*, lean_object*); static lean_object* l_Lean_mkAnd___closed__3; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_mkAppRev___spec__1(lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__1; static lean_object* l_Lean_Expr_getOptParamDefault_x3f___closed__1; static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__25; LEAN_EXPORT uint8_t l_Lean_Expr_isMVar(lean_object*); uint8_t lean_expr_equal(lean_object*, lean_object*); LEAN_EXPORT uint8_t lean_expr_has_fvar(lean_object*); -lean_object* lean_expr_update_sort(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_uint64_to_uint8(uint64_t); LEAN_EXPORT lean_object* l_Lean_Expr_hasAnyFVar(lean_object*, lean_object*); @@ -666,7 +652,6 @@ LEAN_EXPORT lean_object* l_Lean_instReprData__1___lambda__5(lean_object*, uint64 LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Expr_instantiateLevelParamsArray___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); LEAN_EXPORT uint8_t l_List_foldr___at_Lean_Expr_const___override___spec__3(uint8_t, lean_object*); -static lean_object* l_Lean_Expr_updateMData_x21___closed__3; static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__24; LEAN_EXPORT lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_Data_looseBVarRange___boxed(lean_object*); @@ -686,6 +671,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_getParamSubst(lean_o uint64_t lean_uint64_shift_left(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Lean_Expr_binderInfo___boxed(lean_object*); static lean_object* l_Lean_instInhabitedExpr___closed__1; +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl___closed__1; LEAN_EXPORT lean_object* l_Lean_Literal_lt___boxed(lean_object*, lean_object*); lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__32; @@ -693,7 +679,6 @@ static lean_object* l_Lean_Expr_appArg_x21___closed__2; LEAN_EXPORT lean_object* l_Lean_patternWithRef_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkApp7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___rarg___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateLambda_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_expr_mk_proj(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_projIdx_x21___closed__1; static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__22; @@ -701,6 +686,7 @@ static lean_object* l_Lean_Expr_appFn_x21___closed__2; uint64_t lean_uint64_lor(uint64_t, uint64_t); static lean_object* l_Lean_mkNatLit___closed__5; LEAN_EXPORT lean_object* l_Lean_Expr_Data_hasExprMVar___boxed(lean_object*); +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__2; LEAN_EXPORT lean_object* l_Lean_instReprBinderInfo; LEAN_EXPORT lean_object* l_Lean_Expr_etaExpanded_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_liftLooseBVars___boxed(lean_object*, lean_object*, lean_object*); @@ -739,23 +725,22 @@ static lean_object* l_Lean_Expr_setPPUniverses___closed__1; LEAN_EXPORT lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_instantiate1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_getRevArgD___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instReprData__1___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_instantiateRev___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__3; LEAN_EXPORT lean_object* l_Lean_Expr_isSort___boxed(lean_object*); static lean_object* l_Lean_Expr_isOutParam___closed__1; uint8_t lean_uint16_to_uint8(uint16_t); -static lean_object* l_Lean_Expr_updateLet_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_constName_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); -lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Expr_mkData___closed__4; lean_object* l_panic___at_Lean_TSyntax_getNat___spec__1(lean_object*); LEAN_EXPORT lean_object* lean_expr_mk_sort(lean_object*); LEAN_EXPORT lean_object* l_Lean_Literal_hash___boxed(lean_object*); -lean_object* lean_level_update_succ(lean_object*, lean_object*); lean_object* l_Lean_KVMap_findCore(lean_object*, lean_object*); static lean_object* l_Lean_instReprData__1___lambda__2___closed__1; +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_isBVar___boxed(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__15; static lean_object* l_Lean_instHashableLiteral___closed__1; @@ -767,28 +752,33 @@ LEAN_EXPORT lean_object* lean_expr_mk_fvar(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Expr_letType_x21___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Expr_setAppPPExplicitForExposingMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl___closed__2; LEAN_EXPORT lean_object* l_Lean_instFVarIdHashSetInhabited; static lean_object* l___private_Lean_Expr_0__Lean_patternRefAnnotationKey___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkLet(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__3; static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__12; lean_object* l_Lean_Name_quickCmp___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__26; static lean_object* l_Lean_instForInFVarIdSetFVarId___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_letType_x21___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateProj___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_letType_x21___closed__2; +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Expr_isStringLit(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshMVarId(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__5; lean_object* lean_uint64_to_nat(uint64_t); LEAN_EXPORT uint64_t lean_expr_hash(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instReprData__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_Data_hasFVar___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_mkAppRangeAux(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__30; +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___closed__2; LEAN_EXPORT uint8_t l_Lean_Expr_isProj(lean_object*); LEAN_EXPORT lean_object* l_Lean_instFVarIdHashSetEmptyCollection; static lean_object* l_Lean_instReprLiteral___closed__1; @@ -821,6 +811,7 @@ LEAN_EXPORT lean_object* l_Lean_Expr_updateForallE_x21(lean_object*, lean_object LEAN_EXPORT lean_object* l_Lean_mkPatternWithRef(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_instBEqData__1(uint64_t, uint64_t); lean_object* lean_string_length(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_mkAppN___spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_projIdx_x21(lean_object*); @@ -841,7 +832,6 @@ static lean_object* l___private_Lean_Expr_0__Lean_reprLiteral____x40_Lean_Expr__ static lean_object* l_Lean_mkDecIsFalse___closed__3; static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__20; LEAN_EXPORT lean_object* l_Lean_Expr_isHeadBetaTarget___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Expr_updateLet_x21___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_setOption___at_Lean_Expr_setPPExplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_isAtomic___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_Data_nonDepLet___boxed(lean_object*); @@ -875,12 +865,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Ex static lean_object* l___private_Lean_Expr_0__Lean_reprLiteral____x40_Lean_Expr___hyg_109____closed__5; static lean_object* l_Lean_mkLetFunAnnotation___closed__2; static lean_object* l_Lean_instBEqBinderInfo___closed__1; -lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_isCharLit___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_setOption___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint64_t l_Lean_BinderInfo_hash(uint8_t); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____spec__2(lean_object*, lean_object*); +static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__1; static lean_object* l_Lean_Expr_setPPUniverses___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_uint32_dec_le(uint32_t, uint32_t); @@ -899,12 +889,11 @@ LEAN_EXPORT lean_object* lean_expr_mk_lambda(lean_object*, lean_object*, lean_ob LEAN_EXPORT lean_object* l_Lean_Expr_consumeMData___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_equal___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_updateLet_x21(lean_object*, lean_object*, 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_updateForall___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_casesOn___override(lean_object*); 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*); static lean_object* l_Lean_mkNot___closed__2; LEAN_EXPORT lean_object* l_Lean_BinderInfo_toCtorIdx___boxed(lean_object*); @@ -927,10 +916,8 @@ static lean_object* l_Lean_instFVarIdHashSetInhabited___closed__1; static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_378____closed__10; static lean_object* l_Lean_Expr_isOutParam___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_hasAnyFVar_visit(lean_object*, lean_object*); -lean_object* lean_expr_update_const(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Level_mvarId_x21___spec__1(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_patternRefAnnotationKey___closed__2; -static lean_object* l_Lean_Expr_updateSort_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_isConst___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkInaccessible(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_2766____closed__13; @@ -8271,27 +8258,6 @@ x_1 = l_Lean_Expr_instBEqExpr___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l_Lean_Expr_ptrEq(lean_object* x_1, lean_object* x_2) { -_start: -{ -size_t x_3; size_t x_4; uint8_t x_5; -x_3 = lean_ptr_addr(x_1); -x_4 = lean_ptr_addr(x_2); -x_5 = lean_usize_dec_eq(x_3, x_4); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_ptrEq___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_Expr_ptrEq(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_Expr_equal___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -9251,7 +9217,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_getRevArg_x21___closed__1; -x_3 = lean_unsigned_to_nat(907u); +x_3 = lean_unsigned_to_nat(904u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Expr_getRevArg_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9548,7 +9514,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_appFn_x21___closed__1; -x_3 = lean_unsigned_to_nat(941u); +x_3 = lean_unsigned_to_nat(938u); x_4 = lean_unsigned_to_nat(15u); x_5 = l_Lean_Expr_appFn_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9597,7 +9563,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_appArg_x21___closed__1; -x_3 = lean_unsigned_to_nat(945u); +x_3 = lean_unsigned_to_nat(942u); x_4 = lean_unsigned_to_nat(15u); x_5 = l_Lean_Expr_appFn_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9646,7 +9612,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_appFn_x21_x27___closed__1; -x_3 = lean_unsigned_to_nat(950u); +x_3 = lean_unsigned_to_nat(947u); x_4 = lean_unsigned_to_nat(17u); x_5 = l_Lean_Expr_appFn_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9704,7 +9670,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_appArg_x21_x27___closed__1; -x_3 = lean_unsigned_to_nat(955u); +x_3 = lean_unsigned_to_nat(952u); x_4 = lean_unsigned_to_nat(17u); x_5 = l_Lean_Expr_appFn_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9770,7 +9736,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_sortLevel_x21___closed__1; -x_3 = lean_unsigned_to_nat(959u); +x_3 = lean_unsigned_to_nat(956u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_Expr_sortLevel_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9836,7 +9802,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_litValue_x21___closed__1; -x_3 = lean_unsigned_to_nat(963u); +x_3 = lean_unsigned_to_nat(960u); x_4 = lean_unsigned_to_nat(13u); x_5 = l_Lean_Expr_litValue_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10063,7 +10029,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_constName_x21___closed__1; -x_3 = lean_unsigned_to_nat(982u); +x_3 = lean_unsigned_to_nat(979u); x_4 = lean_unsigned_to_nat(17u); x_5 = l_Lean_Expr_constName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10150,7 +10116,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_constLevels_x21___closed__1; -x_3 = lean_unsigned_to_nat(990u); +x_3 = lean_unsigned_to_nat(987u); x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Expr_constName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10200,7 +10166,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_bvarIdx_x21___closed__1; -x_3 = lean_unsigned_to_nat(994u); +x_3 = lean_unsigned_to_nat(991u); x_4 = lean_unsigned_to_nat(16u); x_5 = l_Lean_Expr_bvarIdx_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10266,7 +10232,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_fvarId_x21___closed__1; -x_3 = lean_unsigned_to_nat(998u); +x_3 = lean_unsigned_to_nat(995u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_Expr_fvarId_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10316,7 +10282,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_mvarId_x21___closed__1; -x_3 = lean_unsigned_to_nat(1002u); +x_3 = lean_unsigned_to_nat(999u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_Expr_mvarId_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10373,7 +10339,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_bindingName_x21___closed__1; -x_3 = lean_unsigned_to_nat(1007u); +x_3 = lean_unsigned_to_nat(1004u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Expr_bindingName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10431,7 +10397,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_bindingDomain_x21___closed__1; -x_3 = lean_unsigned_to_nat(1012u); +x_3 = lean_unsigned_to_nat(1009u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Expr_bindingName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10489,7 +10455,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_bindingBody_x21___closed__1; -x_3 = lean_unsigned_to_nat(1017u); +x_3 = lean_unsigned_to_nat(1014u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Expr_bindingName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10557,7 +10523,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_bindingInfo_x21___closed__1; -x_3 = lean_unsigned_to_nat(1022u); +x_3 = lean_unsigned_to_nat(1019u); x_4 = lean_unsigned_to_nat(24u); x_5 = l_Lean_Expr_bindingName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10617,7 +10583,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_letName_x21___closed__1; -x_3 = lean_unsigned_to_nat(1026u); +x_3 = lean_unsigned_to_nat(1023u); x_4 = lean_unsigned_to_nat(17u); x_5 = l_Lean_Expr_letName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10666,7 +10632,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_letType_x21___closed__1; -x_3 = lean_unsigned_to_nat(1030u); +x_3 = lean_unsigned_to_nat(1027u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_Expr_letName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10715,7 +10681,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_letValue_x21___closed__1; -x_3 = lean_unsigned_to_nat(1034u); +x_3 = lean_unsigned_to_nat(1031u); x_4 = lean_unsigned_to_nat(21u); x_5 = l_Lean_Expr_letName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10764,7 +10730,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_letBody_x21___closed__1; -x_3 = lean_unsigned_to_nat(1038u); +x_3 = lean_unsigned_to_nat(1035u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Expr_letName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10847,7 +10813,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_mdataExpr_x21___closed__1; -x_3 = lean_unsigned_to_nat(1046u); +x_3 = lean_unsigned_to_nat(1043u); x_4 = lean_unsigned_to_nat(17u); x_5 = l_Lean_Expr_mdataExpr_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10904,7 +10870,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_projExpr_x21___closed__1; -x_3 = lean_unsigned_to_nat(1050u); +x_3 = lean_unsigned_to_nat(1047u); x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Expr_projExpr_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10953,7 +10919,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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_projIdx_x21___closed__1; -x_3 = lean_unsigned_to_nat(1054u); +x_3 = lean_unsigned_to_nat(1051u); x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Expr_projExpr_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -12787,122 +12753,152 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Expr_updateApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_expr_update_app(x_1, x_2, x_3); -return x_5; -} -} -static lean_object* _init_l_Lean_Expr_updateApp_x21___closed__1() { +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateApp!", 20); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateApp!Impl", 45); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateApp_x21___closed__2() { +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___closed__2() { _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_Expr_mkData___closed__5; -x_2 = l_Lean_Expr_updateApp_x21___closed__1; -x_3 = lean_unsigned_to_nat(1413u); -x_4 = lean_unsigned_to_nat(14u); +x_2 = l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___closed__1; +x_3 = lean_unsigned_to_nat(1401u); +x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Expr_appFn_x21___closed__2; 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_Expr_updateApp_x21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 5) { -lean_object* x_4; -x_4 = lean_expr_update_app(x_1, x_2, x_3); -return x_4; +lean_object* x_4; lean_object* x_5; size_t x_6; size_t 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_ptr_addr(x_4); +x_7 = lean_ptr_addr(x_2); +x_8 = lean_usize_dec_eq(x_6, x_7); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = l_Lean_Expr_app___override(x_2, x_3); +return x_9; +} +else +{ +size_t x_10; size_t x_11; uint8_t x_12; +x_10 = lean_ptr_addr(x_5); +x_11 = lean_ptr_addr(x_3); +x_12 = lean_usize_dec_eq(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = l_Lean_Expr_app___override(x_2, x_3); +return x_13; } else { -lean_object* x_5; lean_object* x_6; lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_5 = l_Lean_Expr_updateApp_x21___closed__2; -x_6 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_5); -return x_6; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_updateConst___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_expr_update_const(x_1, x_2); -return x_4; -} -} -static lean_object* _init_l_Lean_Expr_updateConst_x21___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateConst!", 22); +lean_inc(x_1); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateConst_x21___closed__2() { +} +else +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +lean_dec(x_2); +x_14 = l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___closed__2; +x_15 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_14); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateConst!Impl", 47); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl___closed__2() { _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_Expr_mkData___closed__5; -x_2 = l_Lean_Expr_updateConst_x21___closed__1; -x_3 = lean_unsigned_to_nat(1422u); -x_4 = lean_unsigned_to_nat(20u); +x_2 = l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl___closed__1; +x_3 = lean_unsigned_to_nat(1412u); +x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Expr_constName_x21___closed__2; 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_Expr_updateConst_x21(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 4) { -lean_object* x_3; -x_3 = lean_expr_update_const(x_1, x_2); -return x_3; +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = l_ptrEqList___rarg(x_4, x_2); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_1); +x_6 = l_Lean_Expr_const___override(x_3, x_2); +return x_6; } else { -lean_object* x_4; lean_object* x_5; +lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_4 = l_Lean_Expr_updateConst_x21___closed__2; -x_5 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_4); -return x_5; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_updateSort___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_expr_update_sort(x_1, x_2); -return x_4; -} -} -static lean_object* _init_l_Lean_Expr_updateSort_x21___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateSort!", 21); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateSort_x21___closed__2() { +else +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +lean_dec(x_1); +x_7 = l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl___closed__2; +x_8 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_7); +return x_8; +} +} +} +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateSort!Impl", 46); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__2() { _start: { lean_object* x_1; @@ -12910,64 +12906,70 @@ x_1 = lean_mk_string_from_bytes("level expected", 14); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateSort_x21___closed__3() { +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__3() { _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_Expr_mkData___closed__5; -x_2 = l_Lean_Expr_updateSort_x21___closed__1; -x_3 = lean_unsigned_to_nat(1431u); -x_4 = lean_unsigned_to_nat(16u); -x_5 = l_Lean_Expr_updateSort_x21___closed__2; +x_2 = l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__1; +x_3 = lean_unsigned_to_nat(1423u); +x_4 = lean_unsigned_to_nat(14u); +x_5 = l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__2; 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_Expr_updateSort_x21(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 3) { -lean_object* x_3; -x_3 = lean_expr_update_sort(x_1, x_2); -return x_3; +lean_object* x_3; size_t x_4; size_t x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ptr_addr(x_3); +x_5 = lean_ptr_addr(x_2); +x_6 = lean_usize_dec_eq(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +x_7 = l_Lean_Expr_sort___override(x_2); +return x_7; } else { -lean_object* x_4; lean_object* x_5; lean_dec(x_2); -lean_dec(x_1); -x_4 = l_Lean_Expr_updateSort_x21___closed__3; -x_5 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_4); -return x_5; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_updateProj___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_expr_update_proj(x_1, x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_updateMData___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_expr_update_mdata(x_1, x_2); -return x_4; -} -} -static lean_object* _init_l_Lean_Expr_updateMData_x21___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateMData!", 22); +lean_inc(x_1); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateMData_x21___closed__2() { +else +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +x_8 = l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__3; +x_9 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_8); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateMData!Impl", 47); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__2() { _start: { lean_object* x_1; @@ -12975,48 +12977,67 @@ x_1 = lean_mk_string_from_bytes("mdata expected", 14); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateMData_x21___closed__3() { +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__3() { _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_Expr_mkData___closed__5; -x_2 = l_Lean_Expr_updateMData_x21___closed__1; -x_3 = lean_unsigned_to_nat(1448u); -x_4 = lean_unsigned_to_nat(16u); -x_5 = l_Lean_Expr_updateMData_x21___closed__2; +x_2 = l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__1; +x_3 = lean_unsigned_to_nat(1434u); +x_4 = lean_unsigned_to_nat(17u); +x_5 = l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__2; 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_Expr_updateMData_x21(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 10) { -lean_object* x_3; -x_3 = lean_expr_update_mdata(x_1, x_2); -return x_3; +lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; uint8_t x_7; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_6 = lean_ptr_addr(x_2); +x_7 = lean_usize_dec_eq(x_5, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_1); +x_8 = l_Lean_Expr_mdata___override(x_3, x_2); +return x_8; } else { -lean_object* x_4; lean_object* x_5; +lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_4 = l_Lean_Expr_updateMData_x21___closed__3; -x_5 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_4); -return x_5; -} -} -} -static lean_object* _init_l_Lean_Expr_updateProj_x21___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateProj!", 21); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateProj_x21___closed__2() { +else +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_2); +lean_dec(x_1); +x_9 = l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__3; +x_10 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_9); +return x_10; +} +} +} +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateProj!Impl", 46); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__2() { _start: { lean_object* x_1; @@ -13024,58 +13045,70 @@ x_1 = lean_mk_string_from_bytes("proj expected", 13); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateProj_x21___closed__3() { +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__3() { _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_Expr_mkData___closed__5; -x_2 = l_Lean_Expr_updateProj_x21___closed__1; -x_3 = lean_unsigned_to_nat(1453u); -x_4 = lean_unsigned_to_nat(15u); -x_5 = l_Lean_Expr_updateProj_x21___closed__2; +x_2 = l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__1; +x_3 = lean_unsigned_to_nat(1445u); +x_4 = lean_unsigned_to_nat(18u); +x_5 = l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__2; 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_Expr_updateProj_x21(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 11) { -lean_object* x_3; -x_3 = lean_expr_update_proj(x_1, x_2); -return x_3; +lean_object* x_3; lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; uint8_t x_8; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 2); +lean_inc(x_5); +x_6 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_7 = lean_ptr_addr(x_2); +x_8 = lean_usize_dec_eq(x_6, x_7); +if (x_8 == 0) +{ +lean_object* x_9; +lean_dec(x_1); +x_9 = l_Lean_Expr_proj___override(x_3, x_4, x_2); +return x_9; } else { -lean_object* x_4; lean_object* x_5; +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_4 = l_Lean_Expr_updateProj_x21___closed__3; -x_5 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_4); -return x_5; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_updateForall___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; lean_object* x_7; -x_6 = lean_unbox(x_2); -lean_dec(x_2); -x_7 = lean_expr_update_forall(x_1, x_6, x_3, x_4); -return x_7; -} -} -static lean_object* _init_l_Lean_Expr_updateForall_x21___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateForall!", 23); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateForall_x21___closed__2() { +else +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_2); +lean_dec(x_1); +x_10 = l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__3; +x_11 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_10); +return x_11; +} +} +} +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateForall!Impl", 48); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__2() { _start: { lean_object* x_1; @@ -13083,47 +13116,98 @@ x_1 = lean_mk_string_from_bytes("forall expected", 15); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateForall_x21___closed__3() { +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__3() { _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_Expr_mkData___closed__5; -x_2 = l_Lean_Expr_updateForall_x21___closed__1; -x_3 = lean_unsigned_to_nat(1462u); -x_4 = lean_unsigned_to_nat(18u); -x_5 = l_Lean_Expr_updateForall_x21___closed__2; +x_2 = l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__1; +x_3 = lean_unsigned_to_nat(1460u); +x_4 = lean_unsigned_to_nat(23u); +x_5 = l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__2; 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_Expr_updateForall_x21(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_1) == 7) { -lean_object* x_5; -x_5 = lean_expr_update_forall(x_1, x_2, x_3, x_4); -return x_5; +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; size_t x_9; size_t x_10; uint8_t x_11; +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_ctor_get(x_1, 2); +lean_inc(x_7); +x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +x_9 = lean_ptr_addr(x_6); +lean_dec(x_6); +x_10 = lean_ptr_addr(x_3); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_7); +lean_dec(x_1); +x_12 = l_Lean_Expr_forallE___override(x_5, x_3, x_4, x_2); +return x_12; } else { -lean_object* x_6; lean_object* x_7; +size_t x_13; size_t x_14; uint8_t x_15; +x_13 = lean_ptr_addr(x_7); +lean_dec(x_7); +x_14 = lean_ptr_addr(x_4); +x_15 = lean_usize_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_1); +x_16 = l_Lean_Expr_forallE___override(x_5, x_3, x_4, x_2); +return x_16; +} +else +{ +uint8_t x_17; +x_17 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_8, x_2); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_1); +x_18 = l_Lean_Expr_forallE___override(x_5, x_3, x_4, x_2); +return x_18; +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_1; +} +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_6 = l_Lean_Expr_updateForall_x21___closed__3; -x_7 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_6); -return x_7; +x_19 = l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__3; +x_20 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_19); +return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_updateForall_x21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___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_Expr_updateForall_x21(x_1, x_5, x_3, x_4); +x_6 = l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl(x_1, x_5, x_3, x_4); return x_6; } } @@ -13141,9 +13225,9 @@ _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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_updateForallE_x21___closed__1; -x_3 = lean_unsigned_to_nat(1467u); -x_4 = lean_unsigned_to_nat(23u); -x_5 = l_Lean_Expr_updateForall_x21___closed__2; +x_3 = lean_unsigned_to_nat(1471u); +x_4 = lean_unsigned_to_nat(24u); +x_5 = l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -13153,42 +13237,87 @@ _start: { if (lean_obj_tag(x_1) == 7) { -uint8_t x_4; lean_object* x_5; -x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_5 = lean_expr_update_forall(x_1, x_4, x_2, x_3); -return x_5; +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; size_t x_9; size_t x_10; uint8_t x_11; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 2); +lean_inc(x_6); +x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_8 = l_Lean_Expr_forallE___override(x_4, x_5, x_6, x_7); +x_9 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_10 = lean_ptr_addr(x_2); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_8); +lean_dec(x_6); +x_12 = l_Lean_Expr_forallE___override(x_4, x_2, x_3, x_7); +return x_12; } else { -lean_object* x_6; lean_object* x_7; +size_t x_13; size_t x_14; uint8_t x_15; +x_13 = lean_ptr_addr(x_6); +lean_dec(x_6); +x_14 = lean_ptr_addr(x_3); +x_15 = lean_usize_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_8); +x_16 = l_Lean_Expr_forallE___override(x_4, x_2, x_3, x_7); +return x_16; +} +else +{ +uint8_t x_17; +x_17 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_7, x_7); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_8); +x_18 = l_Lean_Expr_forallE___override(x_4, x_2, x_3, x_7); +return x_18; +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_6 = l_Lean_Expr_updateForallE_x21___closed__2; -x_7 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_6); -return x_7; +x_19 = l_Lean_Expr_updateForallE_x21___closed__2; +x_20 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_19); +return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_updateLambda___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; lean_object* x_7; -x_6 = lean_unbox(x_2); -lean_dec(x_2); -x_7 = lean_expr_update_lambda(x_1, x_6, x_3, x_4); -return x_7; -} -} -static lean_object* _init_l_Lean_Expr_updateLambda_x21___closed__1() { +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateLambda!", 23); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateLambda!Impl", 48); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateLambda_x21___closed__2() { +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__2() { _start: { lean_object* x_1; @@ -13196,47 +13325,98 @@ x_1 = lean_mk_string_from_bytes("lambda expected", 15); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateLambda_x21___closed__3() { +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__3() { _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_Expr_mkData___closed__5; -x_2 = l_Lean_Expr_updateLambda_x21___closed__1; -x_3 = lean_unsigned_to_nat(1476u); -x_4 = lean_unsigned_to_nat(14u); -x_5 = l_Lean_Expr_updateLambda_x21___closed__2; +x_2 = l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__1; +x_3 = lean_unsigned_to_nat(1480u); +x_4 = lean_unsigned_to_nat(19u); +x_5 = l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__2; 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_Expr_updateLambda_x21(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_1) == 6) { -lean_object* x_5; -x_5 = lean_expr_update_lambda(x_1, x_2, x_3, x_4); -return x_5; +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; size_t x_9; size_t x_10; uint8_t x_11; +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_ctor_get(x_1, 2); +lean_inc(x_7); +x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +x_9 = lean_ptr_addr(x_6); +lean_dec(x_6); +x_10 = lean_ptr_addr(x_3); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_7); +lean_dec(x_1); +x_12 = l_Lean_Expr_lam___override(x_5, x_3, x_4, x_2); +return x_12; } else { -lean_object* x_6; lean_object* x_7; +size_t x_13; size_t x_14; uint8_t x_15; +x_13 = lean_ptr_addr(x_7); +lean_dec(x_7); +x_14 = lean_ptr_addr(x_4); +x_15 = lean_usize_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_1); +x_16 = l_Lean_Expr_lam___override(x_5, x_3, x_4, x_2); +return x_16; +} +else +{ +uint8_t x_17; +x_17 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_8, x_2); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_1); +x_18 = l_Lean_Expr_lam___override(x_5, x_3, x_4, x_2); +return x_18; +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_1; +} +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_6 = l_Lean_Expr_updateLambda_x21___closed__3; -x_7 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_6); -return x_7; +x_19 = l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__3; +x_20 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_19); +return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_updateLambda_x21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___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_Expr_updateLambda_x21(x_1, x_5, x_3, x_4); +x_6 = l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl(x_1, x_5, x_3, x_4); return x_6; } } @@ -13254,9 +13434,9 @@ _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_Expr_mkData___closed__5; x_2 = l_Lean_Expr_updateLambdaE_x21___closed__1; -x_3 = lean_unsigned_to_nat(1481u); -x_4 = lean_unsigned_to_nat(19u); -x_5 = l_Lean_Expr_updateLambda_x21___closed__2; +x_3 = lean_unsigned_to_nat(1491u); +x_4 = lean_unsigned_to_nat(20u); +x_5 = l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } @@ -13266,71 +13446,177 @@ _start: { if (lean_obj_tag(x_1) == 6) { -uint8_t x_4; lean_object* x_5; -x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_5 = lean_expr_update_lambda(x_1, x_4, x_2, x_3); -return x_5; +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; size_t x_9; size_t x_10; uint8_t x_11; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 2); +lean_inc(x_6); +x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_8 = l_Lean_Expr_lam___override(x_4, x_5, x_6, x_7); +x_9 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_10 = lean_ptr_addr(x_2); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_8); +lean_dec(x_6); +x_12 = l_Lean_Expr_lam___override(x_4, x_2, x_3, x_7); +return x_12; } else { -lean_object* x_6; lean_object* x_7; +size_t x_13; size_t x_14; uint8_t x_15; +x_13 = lean_ptr_addr(x_6); +lean_dec(x_6); +x_14 = lean_ptr_addr(x_3); +x_15 = lean_usize_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_8); +x_16 = l_Lean_Expr_lam___override(x_4, x_2, x_3, x_7); +return x_16; +} +else +{ +uint8_t x_17; +x_17 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_7, x_7); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_8); +x_18 = l_Lean_Expr_lam___override(x_4, x_2, x_3, x_7); +return x_18; +} +else +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_6 = l_Lean_Expr_updateLambdaE_x21___closed__2; -x_7 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_6); -return x_7; +x_19 = l_Lean_Expr_updateLambdaE_x21___closed__2; +x_20 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_19); +return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_updateLet___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 = lean_expr_update_let(x_1, x_2, x_3, x_4); -return x_6; -} -} -static lean_object* _init_l_Lean_Expr_updateLet_x21___closed__1() { +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateLet!", 20); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateLet!Impl", 45); return x_1; } } -static lean_object* _init_l_Lean_Expr_updateLet_x21___closed__2() { +static lean_object* _init_l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl___closed__2() { _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_Expr_mkData___closed__5; -x_2 = l_Lean_Expr_updateLet_x21___closed__1; -x_3 = lean_unsigned_to_nat(1490u); -x_4 = lean_unsigned_to_nat(15u); +x_2 = l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl___closed__1; +x_3 = lean_unsigned_to_nat(1500u); +x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_Expr_letName_x21___closed__2; 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_Expr_updateLet_x21(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_1) == 8) { -lean_object* x_5; -x_5 = lean_expr_update_let(x_1, x_2, x_3, x_4); -return x_5; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; size_t x_10; size_t x_11; uint8_t x_12; +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_ctor_get(x_1, 2); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 3); +lean_inc(x_8); +x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); +x_10 = lean_ptr_addr(x_6); +lean_dec(x_6); +x_11 = lean_ptr_addr(x_2); +x_12 = lean_usize_dec_eq(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_1); +x_13 = l_Lean_Expr_letE___override(x_5, x_2, x_3, x_4, x_9); +return x_13; } else { -lean_object* x_6; lean_object* x_7; +size_t x_14; size_t x_15; uint8_t x_16; +x_14 = lean_ptr_addr(x_7); +lean_dec(x_7); +x_15 = lean_ptr_addr(x_3); +x_16 = lean_usize_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_8); +lean_dec(x_1); +x_17 = l_Lean_Expr_letE___override(x_5, x_2, x_3, x_4, x_9); +return x_17; +} +else +{ +size_t x_18; size_t x_19; uint8_t x_20; +x_18 = lean_ptr_addr(x_8); +lean_dec(x_8); +x_19 = lean_ptr_addr(x_4); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_1); +x_21 = l_Lean_Expr_letE___override(x_5, x_2, x_3, x_4, x_9); +return x_21; +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_1; +} +} +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_6 = l_Lean_Expr_updateLet_x21___closed__2; -x_7 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_6); -return x_7; +x_22 = l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl___closed__2; +x_23 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_22); +return x_23; } } } @@ -13339,14 +13625,43 @@ _start: { if (lean_obj_tag(x_1) == 5) { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_3; lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; uint8_t x_8; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); +lean_inc(x_3); x_5 = l_Lean_Expr_updateFn(x_3, x_2); -x_6 = lean_expr_update_app(x_1, x_5, x_4); -return x_6; +x_6 = lean_ptr_addr(x_3); +lean_dec(x_3); +x_7 = lean_ptr_addr(x_5); +x_8 = lean_usize_dec_eq(x_6, x_7); +if (x_8 == 0) +{ +lean_object* x_9; +lean_dec(x_1); +x_9 = l_Lean_Expr_app___override(x_5, x_4); +return x_9; +} +else +{ +size_t x_10; uint8_t x_11; +x_10 = lean_ptr_addr(x_4); +x_11 = lean_usize_dec_eq(x_10, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_1); +x_12 = l_Lean_Expr_app___override(x_5, x_4); +return x_12; +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +return x_1; +} +} } else { @@ -13370,73 +13685,262 @@ _start: { if (lean_obj_tag(x_1) == 6) { -lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_2 = lean_ctor_get(x_1, 1); +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = lean_ctor_get(x_1, 2); +x_3 = lean_ctor_get(x_1, 1); lean_inc(x_3); -x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_5 = l_Lean_Expr_eta(x_3); -if (lean_obj_tag(x_5) == 5) +x_4 = lean_ctor_get(x_1, 2); +lean_inc(x_4); +x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_4); +x_6 = l_Lean_Expr_eta(x_4); +if (lean_obj_tag(x_6) == 5) { -lean_object* x_6; -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_ctor_get(x_5, 0); +lean_object* x_7; +x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = lean_ctor_get(x_6, 0); lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_nat_dec_eq(x_8, x_9); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; size_t x_13; uint8_t x_14; lean_dec(x_8); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_7); -x_11 = lean_expr_update_lambda(x_1, x_4, x_2, x_5); -return x_11; -} -else -{ -uint8_t x_12; -x_12 = lean_expr_has_loose_bvar(x_7, x_9); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_expr_lower_loose_bvars(x_7, x_13, x_13); -lean_dec(x_7); -return x_14; -} -else +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_12 = l_Lean_Expr_lam___override(x_2, x_3, x_4, x_5); +x_13 = lean_ptr_addr(x_3); +x_14 = lean_usize_dec_eq(x_13, x_13); +if (x_14 == 0) { lean_object* x_15; -lean_dec(x_7); -x_15 = lean_expr_update_lambda(x_1, x_4, x_2, x_5); +lean_dec(x_12); +lean_dec(x_4); +x_15 = l_Lean_Expr_lam___override(x_2, x_3, x_6, x_5); return x_15; } -} +else +{ +size_t x_16; size_t x_17; uint8_t x_18; +x_16 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_17 = lean_ptr_addr(x_6); +x_18 = lean_usize_dec_eq(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_12); +x_19 = l_Lean_Expr_lam___override(x_2, x_3, x_6, x_5); +return x_19; +} +else +{ +uint8_t x_20; +x_20 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_5, x_5); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_12); +x_21 = l_Lean_Expr_lam___override(x_2, x_3, x_6, x_5); +return x_21; } else { -lean_object* x_16; lean_dec(x_6); -x_16 = lean_expr_update_lambda(x_1, x_4, x_2, x_5); -return x_16; +lean_dec(x_3); +lean_dec(x_2); +return x_12; +} +} } } else { -lean_object* x_17; -x_17 = lean_expr_update_lambda(x_1, x_4, x_2, x_5); -return x_17; +uint8_t x_22; +x_22 = lean_expr_has_loose_bvar(x_8, x_10); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_expr_lower_loose_bvars(x_8, x_23, x_23); +lean_dec(x_8); +return x_24; +} +else +{ +lean_object* x_25; size_t x_26; uint8_t x_27; +lean_dec(x_8); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_25 = l_Lean_Expr_lam___override(x_2, x_3, x_4, x_5); +x_26 = lean_ptr_addr(x_3); +x_27 = lean_usize_dec_eq(x_26, x_26); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_25); +lean_dec(x_4); +x_28 = l_Lean_Expr_lam___override(x_2, x_3, x_6, x_5); +return x_28; +} +else +{ +size_t x_29; size_t x_30; uint8_t x_31; +x_29 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_30 = lean_ptr_addr(x_6); +x_31 = lean_usize_dec_eq(x_29, x_30); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_25); +x_32 = l_Lean_Expr_lam___override(x_2, x_3, x_6, x_5); +return x_32; +} +else +{ +uint8_t x_33; +x_33 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_5, x_5); +if (x_33 == 0) +{ +lean_object* x_34; +lean_dec(x_25); +x_34 = l_Lean_Expr_lam___override(x_2, x_3, x_6, x_5); +return x_34; +} +else +{ +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_25; +} +} +} +} +} +} +else +{ +lean_object* x_35; size_t x_36; uint8_t x_37; +lean_dec(x_7); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_35 = l_Lean_Expr_lam___override(x_2, x_3, x_4, x_5); +x_36 = lean_ptr_addr(x_3); +x_37 = lean_usize_dec_eq(x_36, x_36); +if (x_37 == 0) +{ +lean_object* x_38; +lean_dec(x_35); +lean_dec(x_4); +x_38 = l_Lean_Expr_lam___override(x_2, x_3, x_6, x_5); +return x_38; +} +else +{ +size_t x_39; size_t x_40; uint8_t x_41; +x_39 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_40 = lean_ptr_addr(x_6); +x_41 = lean_usize_dec_eq(x_39, x_40); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_35); +x_42 = l_Lean_Expr_lam___override(x_2, x_3, x_6, x_5); +return x_42; +} +else +{ +uint8_t x_43; +x_43 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_5, x_5); +if (x_43 == 0) +{ +lean_object* x_44; +lean_dec(x_35); +x_44 = l_Lean_Expr_lam___override(x_2, x_3, x_6, x_5); +return x_44; +} +else +{ +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_35; +} +} +} +} +} +else +{ +lean_object* x_45; size_t x_46; uint8_t x_47; +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_45 = l_Lean_Expr_lam___override(x_2, x_3, x_4, x_5); +x_46 = lean_ptr_addr(x_3); +x_47 = lean_usize_dec_eq(x_46, x_46); +if (x_47 == 0) +{ +lean_object* x_48; +lean_dec(x_45); +lean_dec(x_4); +x_48 = l_Lean_Expr_lam___override(x_2, x_3, x_6, x_5); +return x_48; +} +else +{ +size_t x_49; size_t x_50; uint8_t x_51; +x_49 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_50 = lean_ptr_addr(x_6); +x_51 = lean_usize_dec_eq(x_49, x_50); +if (x_51 == 0) +{ +lean_object* x_52; +lean_dec(x_45); +x_52 = l_Lean_Expr_lam___override(x_2, x_3, x_6, x_5); +return x_52; +} +else +{ +uint8_t x_53; +x_53 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_5, x_5); +if (x_53 == 0) +{ +lean_object* x_54; +lean_dec(x_45); +x_54 = l_Lean_Expr_lam___override(x_2, x_3, x_6, x_5); +return x_54; +} +else +{ +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_45; +} +} +} } } else @@ -13460,100 +13964,365 @@ else switch (lean_obj_tag(x_2)) { case 3: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; uint8_t x_8; x_4 = lean_ctor_get(x_2, 0); lean_inc(x_4); +lean_inc(x_4); x_5 = l_Lean_Level_instantiateParams(x_1, x_4); -x_6 = lean_expr_update_sort(x_2, x_5); -return x_6; +x_6 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_7 = lean_ptr_addr(x_5); +x_8 = lean_usize_dec_eq(x_6, x_7); +if (x_8 == 0) +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = l_Lean_Expr_sort___override(x_5); +return x_9; +} +else +{ +lean_dec(x_5); +return x_2; +} } case 4: { -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_2, 1); -lean_inc(x_7); -x_8 = lean_alloc_closure((void*)(l_Lean_Level_instantiateParams), 2, 1); -lean_closure_set(x_8, 0, x_1); -x_9 = lean_box(0); -x_10 = l_List_mapTRAux___rarg(x_8, x_7, x_9); -x_11 = lean_expr_update_const(x_2, x_10); -return x_11; +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_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +x_12 = lean_alloc_closure((void*)(l_Lean_Level_instantiateParams), 2, 1); +lean_closure_set(x_12, 0, x_1); +x_13 = lean_box(0); +lean_inc(x_11); +x_14 = l_List_mapTRAux___rarg(x_12, x_11, x_13); +x_15 = l_ptrEqList___rarg(x_11, x_14); +lean_dec(x_11); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_2); +x_16 = l_Lean_Expr_const___override(x_10, x_14); +return x_16; +} +else +{ +lean_dec(x_14); +lean_dec(x_10); +return x_2; +} } case 5: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_2, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_2, 1); -lean_inc(x_13); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; uint8_t x_23; +x_17 = lean_ctor_get(x_2, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +lean_inc(x_17); lean_inc(x_1); -x_14 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_12); -x_15 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_13); -x_16 = lean_expr_update_app(x_2, x_14, x_15); -return x_16; +x_19 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_17); +lean_inc(x_18); +x_20 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_18); +x_21 = lean_ptr_addr(x_17); +lean_dec(x_17); +x_22 = lean_ptr_addr(x_19); +x_23 = lean_usize_dec_eq(x_21, x_22); +if (x_23 == 0) +{ +lean_object* x_24; +lean_dec(x_18); +lean_dec(x_2); +x_24 = l_Lean_Expr_app___override(x_19, x_20); +return x_24; +} +else +{ +size_t x_25; size_t x_26; uint8_t x_27; +x_25 = lean_ptr_addr(x_18); +lean_dec(x_18); +x_26 = lean_ptr_addr(x_20); +x_27 = lean_usize_dec_eq(x_25, x_26); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_2); +x_28 = l_Lean_Expr_app___override(x_19, x_20); +return x_28; +} +else +{ +lean_dec(x_20); +lean_dec(x_19); +return x_2; +} +} } case 6: { -lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_ctor_get(x_2, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_2, 2); -lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +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; size_t x_36; size_t x_37; uint8_t x_38; +x_29 = lean_ctor_get(x_2, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_2, 1); +lean_inc(x_30); +x_31 = lean_ctor_get(x_2, 2); +lean_inc(x_31); +x_32 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); +lean_inc(x_30); lean_inc(x_1); -x_20 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_17); -x_21 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_18); -x_22 = lean_expr_update_lambda(x_2, x_19, x_20, x_21); -return x_22; +x_33 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_30); +lean_inc(x_31); +x_34 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_31); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +x_35 = l_Lean_Expr_lam___override(x_29, x_30, x_31, x_32); +x_36 = lean_ptr_addr(x_30); +lean_dec(x_30); +x_37 = lean_ptr_addr(x_33); +x_38 = lean_usize_dec_eq(x_36, x_37); +if (x_38 == 0) +{ +lean_object* x_39; +lean_dec(x_35); +lean_dec(x_31); +x_39 = l_Lean_Expr_lam___override(x_29, x_33, x_34, x_32); +return x_39; +} +else +{ +size_t x_40; size_t x_41; uint8_t x_42; +x_40 = lean_ptr_addr(x_31); +lean_dec(x_31); +x_41 = lean_ptr_addr(x_34); +x_42 = lean_usize_dec_eq(x_40, x_41); +if (x_42 == 0) +{ +lean_object* x_43; +lean_dec(x_35); +x_43 = l_Lean_Expr_lam___override(x_29, x_33, x_34, x_32); +return x_43; +} +else +{ +uint8_t x_44; +x_44 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_32, x_32); +if (x_44 == 0) +{ +lean_object* x_45; +lean_dec(x_35); +x_45 = l_Lean_Expr_lam___override(x_29, x_33, x_34, x_32); +return x_45; +} +else +{ +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_29); +return x_35; +} +} +} } case 7: { -lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_23 = lean_ctor_get(x_2, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_2, 2); -lean_inc(x_24); -x_25 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +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; size_t x_53; size_t x_54; uint8_t x_55; +x_46 = lean_ctor_get(x_2, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_2, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_2, 2); +lean_inc(x_48); +x_49 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); +lean_inc(x_47); lean_inc(x_1); -x_26 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_23); -x_27 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_24); -x_28 = lean_expr_update_forall(x_2, x_25, x_26, x_27); -return x_28; +x_50 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_47); +lean_inc(x_48); +x_51 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_48); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +x_52 = l_Lean_Expr_forallE___override(x_46, x_47, x_48, x_49); +x_53 = lean_ptr_addr(x_47); +lean_dec(x_47); +x_54 = lean_ptr_addr(x_50); +x_55 = lean_usize_dec_eq(x_53, x_54); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_52); +lean_dec(x_48); +x_56 = l_Lean_Expr_forallE___override(x_46, x_50, x_51, x_49); +return x_56; +} +else +{ +size_t x_57; size_t x_58; uint8_t x_59; +x_57 = lean_ptr_addr(x_48); +lean_dec(x_48); +x_58 = lean_ptr_addr(x_51); +x_59 = lean_usize_dec_eq(x_57, x_58); +if (x_59 == 0) +{ +lean_object* x_60; +lean_dec(x_52); +x_60 = l_Lean_Expr_forallE___override(x_46, x_50, x_51, x_49); +return x_60; +} +else +{ +uint8_t x_61; +x_61 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_49, x_49); +if (x_61 == 0) +{ +lean_object* x_62; +lean_dec(x_52); +x_62 = l_Lean_Expr_forallE___override(x_46, x_50, x_51, x_49); +return x_62; +} +else +{ +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_46); +return x_52; +} +} +} } case 8: { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_29 = lean_ctor_get(x_2, 1); -lean_inc(x_29); -x_30 = lean_ctor_get(x_2, 2); -lean_inc(x_30); -x_31 = lean_ctor_get(x_2, 3); -lean_inc(x_31); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; size_t x_71; size_t x_72; uint8_t x_73; +x_63 = lean_ctor_get(x_2, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_2, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_2, 2); +lean_inc(x_65); +x_66 = lean_ctor_get(x_2, 3); +lean_inc(x_66); +x_67 = lean_ctor_get_uint8(x_2, sizeof(void*)*4 + 8); +lean_inc(x_64); lean_inc(x_1); -x_32 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_29); +x_68 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_64); +lean_inc(x_65); lean_inc(x_1); -x_33 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_30); -x_34 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_31); -x_35 = lean_expr_update_let(x_2, x_32, x_33, x_34); -return x_35; +x_69 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_65); +lean_inc(x_66); +x_70 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_66); +x_71 = lean_ptr_addr(x_64); +lean_dec(x_64); +x_72 = lean_ptr_addr(x_68); +x_73 = lean_usize_dec_eq(x_71, x_72); +if (x_73 == 0) +{ +lean_object* x_74; +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_2); +x_74 = l_Lean_Expr_letE___override(x_63, x_68, x_69, x_70, x_67); +return x_74; +} +else +{ +size_t x_75; size_t x_76; uint8_t x_77; +x_75 = lean_ptr_addr(x_65); +lean_dec(x_65); +x_76 = lean_ptr_addr(x_69); +x_77 = lean_usize_dec_eq(x_75, x_76); +if (x_77 == 0) +{ +lean_object* x_78; +lean_dec(x_66); +lean_dec(x_2); +x_78 = l_Lean_Expr_letE___override(x_63, x_68, x_69, x_70, x_67); +return x_78; +} +else +{ +size_t x_79; size_t x_80; uint8_t x_81; +x_79 = lean_ptr_addr(x_66); +lean_dec(x_66); +x_80 = lean_ptr_addr(x_70); +x_81 = lean_usize_dec_eq(x_79, x_80); +if (x_81 == 0) +{ +lean_object* x_82; +lean_dec(x_2); +x_82 = l_Lean_Expr_letE___override(x_63, x_68, x_69, x_70, x_67); +return x_82; +} +else +{ +lean_dec(x_70); +lean_dec(x_69); +lean_dec(x_68); +lean_dec(x_63); +return x_2; +} +} +} } case 10: { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_2, 1); -lean_inc(x_36); -x_37 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_36); -x_38 = lean_expr_update_mdata(x_2, x_37); -return x_38; +lean_object* x_83; lean_object* x_84; lean_object* x_85; size_t x_86; size_t x_87; uint8_t x_88; +x_83 = lean_ctor_get(x_2, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_2, 1); +lean_inc(x_84); +lean_inc(x_84); +x_85 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_84); +x_86 = lean_ptr_addr(x_84); +lean_dec(x_84); +x_87 = lean_ptr_addr(x_85); +x_88 = lean_usize_dec_eq(x_86, x_87); +if (x_88 == 0) +{ +lean_object* x_89; +lean_dec(x_2); +x_89 = l_Lean_Expr_mdata___override(x_83, x_85); +return x_89; +} +else +{ +lean_dec(x_85); +lean_dec(x_83); +return x_2; +} } case 11: { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_2, 2); -lean_inc(x_39); -x_40 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_39); -x_41 = lean_expr_update_proj(x_2, x_40); -return x_41; +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; size_t x_94; size_t x_95; uint8_t x_96; +x_90 = lean_ctor_get(x_2, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_2, 1); +lean_inc(x_91); +x_92 = lean_ctor_get(x_2, 2); +lean_inc(x_92); +lean_inc(x_92); +x_93 = l_Lean_Expr_instantiateLevelParamsCore_visit(x_1, x_92); +x_94 = lean_ptr_addr(x_92); +lean_dec(x_92); +x_95 = lean_ptr_addr(x_93); +x_96 = lean_usize_dec_eq(x_94, x_95); +if (x_96 == 0) +{ +lean_object* x_97; +lean_dec(x_2); +x_97 = l_Lean_Expr_proj___override(x_90, x_91, x_93); +return x_97; +} +else +{ +lean_dec(x_93); +lean_dec(x_91); +lean_dec(x_90); +return x_2; +} } default: { @@ -13634,90 +14403,149 @@ case 1: { lean_object* x_4; uint8_t x_5; x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); x_5 = l_Lean_Level_hasParam(x_3); if (x_5 == 0) { -lean_dec(x_4); +lean_inc(x_3); return x_3; } else { -lean_object* x_6; lean_object* x_7; +lean_object* x_6; size_t x_7; size_t x_8; uint8_t x_9; x_6 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(x_1, x_2, x_4); -x_7 = lean_level_update_succ(x_3, x_6); -return x_7; +x_7 = lean_ptr_addr(x_4); +x_8 = lean_ptr_addr(x_6); +x_9 = lean_usize_dec_eq(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = l_Lean_Level_succ___override(x_6); +return x_10; +} +else +{ +lean_dec(x_6); +lean_inc(x_3); +return x_3; +} } } case 2: { -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -x_10 = l_Lean_Level_hasParam(x_3); -if (x_10 == 0) +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +x_13 = l_Lean_Level_hasParam(x_3); +if (x_13 == 0) { -lean_dec(x_9); -lean_dec(x_8); +lean_inc(x_3); return x_3; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(x_1, x_2, x_8); -x_12 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(x_1, x_2, x_9); -x_13 = lean_level_update_max(x_3, x_11, x_12); -return x_13; +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; uint8_t x_18; +x_14 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(x_1, x_2, x_11); +x_15 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(x_1, x_2, x_12); +x_16 = lean_ptr_addr(x_11); +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; +x_19 = l_Lean_mkLevelMax_x27(x_14, x_15); +return x_19; +} +else +{ +size_t x_20; size_t x_21; uint8_t x_22; +x_20 = lean_ptr_addr(x_12); +x_21 = lean_ptr_addr(x_15); +x_22 = lean_usize_dec_eq(x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = l_Lean_mkLevelMax_x27(x_14, x_15); +return x_23; +} +else +{ +lean_object* x_24; +x_24 = l_Lean_simpLevelMax_x27(x_14, x_15, x_3); +lean_dec(x_15); +lean_dec(x_14); +return x_24; +} +} } } case 3: { -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_3, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_3, 1); -lean_inc(x_15); -x_16 = l_Lean_Level_hasParam(x_3); -if (x_16 == 0) +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_3, 0); +x_26 = lean_ctor_get(x_3, 1); +x_27 = l_Lean_Level_hasParam(x_3); +if (x_27 == 0) { -lean_dec(x_15); -lean_dec(x_14); +lean_inc(x_3); return x_3; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(x_1, x_2, x_14); -x_18 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(x_1, x_2, x_15); -x_19 = lean_level_update_imax(x_3, x_17, x_18); -return x_19; +lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; uint8_t x_32; +x_28 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(x_1, x_2, x_25); +x_29 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(x_1, x_2, x_26); +x_30 = lean_ptr_addr(x_25); +x_31 = lean_ptr_addr(x_28); +x_32 = lean_usize_dec_eq(x_30, x_31); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = l_Lean_mkLevelIMax_x27(x_28, x_29); +return x_33; +} +else +{ +size_t x_34; size_t x_35; uint8_t x_36; +x_34 = lean_ptr_addr(x_26); +x_35 = lean_ptr_addr(x_29); +x_36 = lean_usize_dec_eq(x_34, x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = l_Lean_mkLevelIMax_x27(x_28, x_29); +return x_37; +} +else +{ +lean_object* x_38; +x_38 = l_Lean_simpLevelIMax_x27(x_28, x_29, x_3); +return x_38; +} +} } } case 4: { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_3, 0); -lean_inc(x_20); -x_21 = l___private_Lean_Expr_0__Lean_Expr_getParamSubst(x_1, x_2, x_20); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_3, 0); +x_40 = l___private_Lean_Expr_0__Lean_Expr_getParamSubst(x_1, x_2, x_39); +if (lean_obj_tag(x_40) == 0) { +lean_inc(x_3); return x_3; } else { -lean_object* x_22; -lean_dec(x_3); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_dec(x_21); -return x_22; +lean_object* x_41; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +lean_dec(x_40); +return x_41; } } default: { +lean_inc(x_3); return x_3; } } @@ -13731,90 +14559,149 @@ case 1: { lean_object* x_4; uint8_t x_5; x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); x_5 = l_Lean_Level_hasParam(x_3); if (x_5 == 0) { -lean_dec(x_4); +lean_inc(x_3); return x_3; } else { -lean_object* x_6; lean_object* x_7; +lean_object* x_6; size_t x_7; size_t x_8; uint8_t x_9; x_6 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3(x_1, x_2, x_4); -x_7 = lean_level_update_succ(x_3, x_6); -return x_7; +x_7 = lean_ptr_addr(x_4); +x_8 = lean_ptr_addr(x_6); +x_9 = lean_usize_dec_eq(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = l_Lean_Level_succ___override(x_6); +return x_10; +} +else +{ +lean_dec(x_6); +lean_inc(x_3); +return x_3; +} } } case 2: { -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -x_10 = l_Lean_Level_hasParam(x_3); -if (x_10 == 0) +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +x_13 = l_Lean_Level_hasParam(x_3); +if (x_13 == 0) { -lean_dec(x_9); -lean_dec(x_8); +lean_inc(x_3); return x_3; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3(x_1, x_2, x_8); -x_12 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3(x_1, x_2, x_9); -x_13 = lean_level_update_max(x_3, x_11, x_12); -return x_13; +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; uint8_t x_18; +x_14 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3(x_1, x_2, x_11); +x_15 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3(x_1, x_2, x_12); +x_16 = lean_ptr_addr(x_11); +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; +x_19 = l_Lean_mkLevelMax_x27(x_14, x_15); +return x_19; +} +else +{ +size_t x_20; size_t x_21; uint8_t x_22; +x_20 = lean_ptr_addr(x_12); +x_21 = lean_ptr_addr(x_15); +x_22 = lean_usize_dec_eq(x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = l_Lean_mkLevelMax_x27(x_14, x_15); +return x_23; +} +else +{ +lean_object* x_24; +x_24 = l_Lean_simpLevelMax_x27(x_14, x_15, x_3); +lean_dec(x_15); +lean_dec(x_14); +return x_24; +} +} } } case 3: { -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_3, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_3, 1); -lean_inc(x_15); -x_16 = l_Lean_Level_hasParam(x_3); -if (x_16 == 0) +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_3, 0); +x_26 = lean_ctor_get(x_3, 1); +x_27 = l_Lean_Level_hasParam(x_3); +if (x_27 == 0) { -lean_dec(x_15); -lean_dec(x_14); +lean_inc(x_3); return x_3; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3(x_1, x_2, x_14); -x_18 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3(x_1, x_2, x_15); -x_19 = lean_level_update_imax(x_3, x_17, x_18); -return x_19; +lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; uint8_t x_32; +x_28 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3(x_1, x_2, x_25); +x_29 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3(x_1, x_2, x_26); +x_30 = lean_ptr_addr(x_25); +x_31 = lean_ptr_addr(x_28); +x_32 = lean_usize_dec_eq(x_30, x_31); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = l_Lean_mkLevelIMax_x27(x_28, x_29); +return x_33; +} +else +{ +size_t x_34; size_t x_35; uint8_t x_36; +x_34 = lean_ptr_addr(x_26); +x_35 = lean_ptr_addr(x_29); +x_36 = lean_usize_dec_eq(x_34, x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = l_Lean_mkLevelIMax_x27(x_28, x_29); +return x_37; +} +else +{ +lean_object* x_38; +x_38 = l_Lean_simpLevelIMax_x27(x_28, x_29, x_3); +return x_38; +} +} } } case 4: { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_3, 0); -lean_inc(x_20); -x_21 = l___private_Lean_Expr_0__Lean_Expr_getParamSubst(x_1, x_2, x_20); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_3, 0); +x_40 = l___private_Lean_Expr_0__Lean_Expr_getParamSubst(x_1, x_2, x_39); +if (lean_obj_tag(x_40) == 0) { +lean_inc(x_3); return x_3; } else { -lean_object* x_22; -lean_dec(x_3); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_dec(x_21); -return x_22; +lean_object* x_41; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +lean_dec(x_40); +return x_41; } } default: { +lean_inc(x_3); return x_3; } } @@ -13839,6 +14726,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); x_8 = lean_ctor_get(x_3, 1); x_9 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3(x_1, x_2, x_7); +lean_dec(x_7); lean_ctor_set(x_3, 1, x_4); lean_ctor_set(x_3, 0, x_9); { @@ -13858,6 +14746,7 @@ lean_inc(x_12); lean_inc(x_11); lean_dec(x_3); x_13 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3(x_1, x_2, x_11); +lean_dec(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_4); @@ -13882,93 +14771,357 @@ else switch (lean_obj_tag(x_3)) { case 3: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; uint8_t x_9; x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); x_6 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(x_1, x_2, x_5); -x_7 = lean_expr_update_sort(x_3, x_6); -return x_7; +x_7 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_8 = lean_ptr_addr(x_6); +x_9 = lean_usize_dec_eq(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_3); +x_10 = l_Lean_Expr_sort___override(x_6); +return x_10; +} +else +{ +lean_dec(x_6); +return x_3; +} } case 4: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); -x_9 = lean_box(0); -x_10 = l_List_mapTRAux___at_Lean_Expr_instantiateLevelParams___spec__4(x_1, x_2, x_8, x_9); -x_11 = lean_expr_update_const(x_3, x_10); -return x_11; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_ctor_get(x_3, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +x_13 = lean_box(0); +lean_inc(x_12); +x_14 = l_List_mapTRAux___at_Lean_Expr_instantiateLevelParams___spec__4(x_1, x_2, x_12, x_13); +x_15 = l_ptrEqList___rarg(x_12, x_14); +lean_dec(x_12); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_3); +x_16 = l_Lean_Expr_const___override(x_11, x_14); +return x_16; +} +else +{ +lean_dec(x_14); +lean_dec(x_11); +return x_3; +} } case 5: { -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_3, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_3, 1); -lean_inc(x_13); -x_14 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_12); -x_15 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_13); -x_16 = lean_expr_update_app(x_3, x_14, x_15); -return 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; uint8_t x_23; +x_17 = lean_ctor_get(x_3, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_3, 1); +lean_inc(x_18); +lean_inc(x_17); +x_19 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_17); +lean_inc(x_18); +x_20 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_18); +x_21 = lean_ptr_addr(x_17); +lean_dec(x_17); +x_22 = lean_ptr_addr(x_19); +x_23 = lean_usize_dec_eq(x_21, x_22); +if (x_23 == 0) +{ +lean_object* x_24; +lean_dec(x_18); +lean_dec(x_3); +x_24 = l_Lean_Expr_app___override(x_19, x_20); +return x_24; +} +else +{ +size_t x_25; size_t x_26; uint8_t x_27; +x_25 = lean_ptr_addr(x_18); +lean_dec(x_18); +x_26 = lean_ptr_addr(x_20); +x_27 = lean_usize_dec_eq(x_25, x_26); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_3); +x_28 = l_Lean_Expr_app___override(x_19, x_20); +return x_28; +} +else +{ +lean_dec(x_20); +lean_dec(x_19); +return x_3; +} +} } case 6: { -lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_ctor_get(x_3, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_3, 2); -lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); -x_20 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_17); -x_21 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_18); -x_22 = lean_expr_update_lambda(x_3, x_19, x_20, x_21); -return x_22; +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; size_t x_36; size_t x_37; uint8_t x_38; +x_29 = lean_ctor_get(x_3, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_3, 1); +lean_inc(x_30); +x_31 = lean_ctor_get(x_3, 2); +lean_inc(x_31); +x_32 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); +lean_dec(x_3); +lean_inc(x_30); +x_33 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_30); +lean_inc(x_31); +x_34 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_31); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +x_35 = l_Lean_Expr_lam___override(x_29, x_30, x_31, x_32); +x_36 = lean_ptr_addr(x_30); +lean_dec(x_30); +x_37 = lean_ptr_addr(x_33); +x_38 = lean_usize_dec_eq(x_36, x_37); +if (x_38 == 0) +{ +lean_object* x_39; +lean_dec(x_35); +lean_dec(x_31); +x_39 = l_Lean_Expr_lam___override(x_29, x_33, x_34, x_32); +return x_39; +} +else +{ +size_t x_40; size_t x_41; uint8_t x_42; +x_40 = lean_ptr_addr(x_31); +lean_dec(x_31); +x_41 = lean_ptr_addr(x_34); +x_42 = lean_usize_dec_eq(x_40, x_41); +if (x_42 == 0) +{ +lean_object* x_43; +lean_dec(x_35); +x_43 = l_Lean_Expr_lam___override(x_29, x_33, x_34, x_32); +return x_43; +} +else +{ +uint8_t x_44; +x_44 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_32, x_32); +if (x_44 == 0) +{ +lean_object* x_45; +lean_dec(x_35); +x_45 = l_Lean_Expr_lam___override(x_29, x_33, x_34, x_32); +return x_45; +} +else +{ +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_29); +return x_35; +} +} +} } case 7: { -lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_23 = lean_ctor_get(x_3, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_3, 2); -lean_inc(x_24); -x_25 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); -x_26 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_23); -x_27 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_24); -x_28 = lean_expr_update_forall(x_3, x_25, x_26, x_27); -return x_28; +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; size_t x_53; size_t x_54; uint8_t x_55; +x_46 = lean_ctor_get(x_3, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_3, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_3, 2); +lean_inc(x_48); +x_49 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); +lean_dec(x_3); +lean_inc(x_47); +x_50 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_47); +lean_inc(x_48); +x_51 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_48); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +x_52 = l_Lean_Expr_forallE___override(x_46, x_47, x_48, x_49); +x_53 = lean_ptr_addr(x_47); +lean_dec(x_47); +x_54 = lean_ptr_addr(x_50); +x_55 = lean_usize_dec_eq(x_53, x_54); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_52); +lean_dec(x_48); +x_56 = l_Lean_Expr_forallE___override(x_46, x_50, x_51, x_49); +return x_56; +} +else +{ +size_t x_57; size_t x_58; uint8_t x_59; +x_57 = lean_ptr_addr(x_48); +lean_dec(x_48); +x_58 = lean_ptr_addr(x_51); +x_59 = lean_usize_dec_eq(x_57, x_58); +if (x_59 == 0) +{ +lean_object* x_60; +lean_dec(x_52); +x_60 = l_Lean_Expr_forallE___override(x_46, x_50, x_51, x_49); +return x_60; +} +else +{ +uint8_t x_61; +x_61 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_49, x_49); +if (x_61 == 0) +{ +lean_object* x_62; +lean_dec(x_52); +x_62 = l_Lean_Expr_forallE___override(x_46, x_50, x_51, x_49); +return x_62; +} +else +{ +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_46); +return x_52; +} +} +} } case 8: { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_29 = lean_ctor_get(x_3, 1); -lean_inc(x_29); -x_30 = lean_ctor_get(x_3, 2); -lean_inc(x_30); -x_31 = lean_ctor_get(x_3, 3); -lean_inc(x_31); -x_32 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_29); -x_33 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_30); -x_34 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_31); -x_35 = lean_expr_update_let(x_3, x_32, x_33, x_34); -return x_35; +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; size_t x_71; size_t x_72; uint8_t x_73; +x_63 = lean_ctor_get(x_3, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +x_66 = lean_ctor_get(x_3, 3); +lean_inc(x_66); +x_67 = lean_ctor_get_uint8(x_3, sizeof(void*)*4 + 8); +lean_inc(x_64); +x_68 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_64); +lean_inc(x_65); +x_69 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_65); +lean_inc(x_66); +x_70 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_66); +x_71 = lean_ptr_addr(x_64); +lean_dec(x_64); +x_72 = lean_ptr_addr(x_68); +x_73 = lean_usize_dec_eq(x_71, x_72); +if (x_73 == 0) +{ +lean_object* x_74; +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_3); +x_74 = l_Lean_Expr_letE___override(x_63, x_68, x_69, x_70, x_67); +return x_74; +} +else +{ +size_t x_75; size_t x_76; uint8_t x_77; +x_75 = lean_ptr_addr(x_65); +lean_dec(x_65); +x_76 = lean_ptr_addr(x_69); +x_77 = lean_usize_dec_eq(x_75, x_76); +if (x_77 == 0) +{ +lean_object* x_78; +lean_dec(x_66); +lean_dec(x_3); +x_78 = l_Lean_Expr_letE___override(x_63, x_68, x_69, x_70, x_67); +return x_78; +} +else +{ +size_t x_79; size_t x_80; uint8_t x_81; +x_79 = lean_ptr_addr(x_66); +lean_dec(x_66); +x_80 = lean_ptr_addr(x_70); +x_81 = lean_usize_dec_eq(x_79, x_80); +if (x_81 == 0) +{ +lean_object* x_82; +lean_dec(x_3); +x_82 = l_Lean_Expr_letE___override(x_63, x_68, x_69, x_70, x_67); +return x_82; +} +else +{ +lean_dec(x_70); +lean_dec(x_69); +lean_dec(x_68); +lean_dec(x_63); +return x_3; +} +} +} } case 10: { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_3, 1); -lean_inc(x_36); -x_37 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_36); -x_38 = lean_expr_update_mdata(x_3, x_37); -return x_38; +lean_object* x_83; lean_object* x_84; lean_object* x_85; size_t x_86; size_t x_87; uint8_t x_88; +x_83 = lean_ctor_get(x_3, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_3, 1); +lean_inc(x_84); +lean_inc(x_84); +x_85 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_84); +x_86 = lean_ptr_addr(x_84); +lean_dec(x_84); +x_87 = lean_ptr_addr(x_85); +x_88 = lean_usize_dec_eq(x_86, x_87); +if (x_88 == 0) +{ +lean_object* x_89; +lean_dec(x_3); +x_89 = l_Lean_Expr_mdata___override(x_83, x_85); +return x_89; +} +else +{ +lean_dec(x_85); +lean_dec(x_83); +return x_3; +} } case 11: { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_3, 2); -lean_inc(x_39); -x_40 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_39); -x_41 = lean_expr_update_proj(x_3, x_40); -return x_41; +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; size_t x_94; size_t x_95; uint8_t x_96; +x_90 = lean_ctor_get(x_3, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_3, 1); +lean_inc(x_91); +x_92 = lean_ctor_get(x_3, 2); +lean_inc(x_92); +lean_inc(x_92); +x_93 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(x_1, x_2, x_92); +x_94 = lean_ptr_addr(x_92); +lean_dec(x_92); +x_95 = lean_ptr_addr(x_93); +x_96 = lean_usize_dec_eq(x_94, x_95); +if (x_96 == 0) +{ +lean_object* x_97; +lean_dec(x_3); +x_97 = l_Lean_Expr_proj___override(x_90, x_91, x_93); +return x_97; +} +else +{ +lean_dec(x_93); +lean_dec(x_91); +lean_dec(x_90); +return x_3; +} } default: { @@ -13993,6 +15146,7 @@ _start: { lean_object* x_4; x_4 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(x_1, x_2, x_3); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_4; @@ -14003,6 +15157,7 @@ _start: { lean_object* x_4; x_4 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__3(x_1, x_2, x_3); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_4; @@ -14104,91 +15259,150 @@ case 1: { lean_object* x_4; uint8_t x_5; x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); x_5 = l_Lean_Level_hasParam(x_3); if (x_5 == 0) { -lean_dec(x_4); +lean_inc(x_3); return x_3; } else { -lean_object* x_6; lean_object* x_7; +lean_object* x_6; size_t x_7; size_t x_8; uint8_t x_9; x_6 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__2(x_1, x_2, x_4); -x_7 = lean_level_update_succ(x_3, x_6); -return x_7; +x_7 = lean_ptr_addr(x_4); +x_8 = lean_ptr_addr(x_6); +x_9 = lean_usize_dec_eq(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = l_Lean_Level_succ___override(x_6); +return x_10; +} +else +{ +lean_dec(x_6); +lean_inc(x_3); +return x_3; +} } } case 2: { -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -x_10 = l_Lean_Level_hasParam(x_3); -if (x_10 == 0) +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +x_13 = l_Lean_Level_hasParam(x_3); +if (x_13 == 0) { -lean_dec(x_9); -lean_dec(x_8); +lean_inc(x_3); return x_3; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__2(x_1, x_2, x_8); -x_12 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__2(x_1, x_2, x_9); -x_13 = lean_level_update_max(x_3, x_11, x_12); -return x_13; +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; uint8_t x_18; +x_14 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__2(x_1, x_2, x_11); +x_15 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__2(x_1, x_2, x_12); +x_16 = lean_ptr_addr(x_11); +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; +x_19 = l_Lean_mkLevelMax_x27(x_14, x_15); +return x_19; +} +else +{ +size_t x_20; size_t x_21; uint8_t x_22; +x_20 = lean_ptr_addr(x_12); +x_21 = lean_ptr_addr(x_15); +x_22 = lean_usize_dec_eq(x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = l_Lean_mkLevelMax_x27(x_14, x_15); +return x_23; +} +else +{ +lean_object* x_24; +x_24 = l_Lean_simpLevelMax_x27(x_14, x_15, x_3); +lean_dec(x_15); +lean_dec(x_14); +return x_24; +} +} } } case 3: { -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_3, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_3, 1); -lean_inc(x_15); -x_16 = l_Lean_Level_hasParam(x_3); -if (x_16 == 0) +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_3, 0); +x_26 = lean_ctor_get(x_3, 1); +x_27 = l_Lean_Level_hasParam(x_3); +if (x_27 == 0) { -lean_dec(x_15); -lean_dec(x_14); +lean_inc(x_3); return x_3; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__2(x_1, x_2, x_14); -x_18 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__2(x_1, x_2, x_15); -x_19 = lean_level_update_imax(x_3, x_17, x_18); -return x_19; +lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; uint8_t x_32; +x_28 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__2(x_1, x_2, x_25); +x_29 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__2(x_1, x_2, x_26); +x_30 = lean_ptr_addr(x_25); +x_31 = lean_ptr_addr(x_28); +x_32 = lean_usize_dec_eq(x_30, x_31); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = l_Lean_mkLevelIMax_x27(x_28, x_29); +return x_33; +} +else +{ +size_t x_34; size_t x_35; uint8_t x_36; +x_34 = lean_ptr_addr(x_26); +x_35 = lean_ptr_addr(x_29); +x_36 = lean_usize_dec_eq(x_34, x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = l_Lean_mkLevelIMax_x27(x_28, x_29); +return x_37; +} +else +{ +lean_object* x_38; +x_38 = l_Lean_simpLevelIMax_x27(x_28, x_29, x_3); +return x_38; +} +} } } case 4: { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_3, 0); -lean_inc(x_20); -x_21 = lean_unsigned_to_nat(0u); -x_22 = l___private_Lean_Expr_0__Lean_Expr_getParamSubstArray(x_1, x_2, x_20, x_21); -lean_dec(x_20); -if (lean_obj_tag(x_22) == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_3, 0); +x_40 = lean_unsigned_to_nat(0u); +x_41 = l___private_Lean_Expr_0__Lean_Expr_getParamSubstArray(x_1, x_2, x_39, x_40); +if (lean_obj_tag(x_41) == 0) { +lean_inc(x_3); return x_3; } else { -lean_object* x_23; -lean_dec(x_3); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -lean_dec(x_22); -return x_23; +lean_object* x_42; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +lean_dec(x_41); +return x_42; } } default: { +lean_inc(x_3); return x_3; } } @@ -14202,91 +15416,150 @@ case 1: { lean_object* x_4; uint8_t x_5; x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); x_5 = l_Lean_Level_hasParam(x_3); if (x_5 == 0) { -lean_dec(x_4); +lean_inc(x_3); return x_3; } else { -lean_object* x_6; lean_object* x_7; +lean_object* x_6; size_t x_7; size_t x_8; uint8_t x_9; x_6 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(x_1, x_2, x_4); -x_7 = lean_level_update_succ(x_3, x_6); -return x_7; +x_7 = lean_ptr_addr(x_4); +x_8 = lean_ptr_addr(x_6); +x_9 = lean_usize_dec_eq(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = l_Lean_Level_succ___override(x_6); +return x_10; +} +else +{ +lean_dec(x_6); +lean_inc(x_3); +return x_3; +} } } case 2: { -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -x_10 = l_Lean_Level_hasParam(x_3); -if (x_10 == 0) +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +x_13 = l_Lean_Level_hasParam(x_3); +if (x_13 == 0) { -lean_dec(x_9); -lean_dec(x_8); +lean_inc(x_3); return x_3; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(x_1, x_2, x_8); -x_12 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(x_1, x_2, x_9); -x_13 = lean_level_update_max(x_3, x_11, x_12); -return x_13; +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; uint8_t x_18; +x_14 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(x_1, x_2, x_11); +x_15 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(x_1, x_2, x_12); +x_16 = lean_ptr_addr(x_11); +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; +x_19 = l_Lean_mkLevelMax_x27(x_14, x_15); +return x_19; +} +else +{ +size_t x_20; size_t x_21; uint8_t x_22; +x_20 = lean_ptr_addr(x_12); +x_21 = lean_ptr_addr(x_15); +x_22 = lean_usize_dec_eq(x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = l_Lean_mkLevelMax_x27(x_14, x_15); +return x_23; +} +else +{ +lean_object* x_24; +x_24 = l_Lean_simpLevelMax_x27(x_14, x_15, x_3); +lean_dec(x_15); +lean_dec(x_14); +return x_24; +} +} } } case 3: { -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_3, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_3, 1); -lean_inc(x_15); -x_16 = l_Lean_Level_hasParam(x_3); -if (x_16 == 0) +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_3, 0); +x_26 = lean_ctor_get(x_3, 1); +x_27 = l_Lean_Level_hasParam(x_3); +if (x_27 == 0) { -lean_dec(x_15); -lean_dec(x_14); +lean_inc(x_3); return x_3; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(x_1, x_2, x_14); -x_18 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(x_1, x_2, x_15); -x_19 = lean_level_update_imax(x_3, x_17, x_18); -return x_19; +lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; uint8_t x_32; +x_28 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(x_1, x_2, x_25); +x_29 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(x_1, x_2, x_26); +x_30 = lean_ptr_addr(x_25); +x_31 = lean_ptr_addr(x_28); +x_32 = lean_usize_dec_eq(x_30, x_31); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = l_Lean_mkLevelIMax_x27(x_28, x_29); +return x_33; +} +else +{ +size_t x_34; size_t x_35; uint8_t x_36; +x_34 = lean_ptr_addr(x_26); +x_35 = lean_ptr_addr(x_29); +x_36 = lean_usize_dec_eq(x_34, x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = l_Lean_mkLevelIMax_x27(x_28, x_29); +return x_37; +} +else +{ +lean_object* x_38; +x_38 = l_Lean_simpLevelIMax_x27(x_28, x_29, x_3); +return x_38; +} +} } } case 4: { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_3, 0); -lean_inc(x_20); -x_21 = lean_unsigned_to_nat(0u); -x_22 = l___private_Lean_Expr_0__Lean_Expr_getParamSubstArray(x_1, x_2, x_20, x_21); -lean_dec(x_20); -if (lean_obj_tag(x_22) == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_3, 0); +x_40 = lean_unsigned_to_nat(0u); +x_41 = l___private_Lean_Expr_0__Lean_Expr_getParamSubstArray(x_1, x_2, x_39, x_40); +if (lean_obj_tag(x_41) == 0) { +lean_inc(x_3); return x_3; } else { -lean_object* x_23; -lean_dec(x_3); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -lean_dec(x_22); -return x_23; +lean_object* x_42; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +lean_dec(x_41); +return x_42; } } default: { +lean_inc(x_3); return x_3; } } @@ -14311,6 +15584,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); x_8 = lean_ctor_get(x_3, 1); x_9 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(x_1, x_2, x_7); +lean_dec(x_7); lean_ctor_set(x_3, 1, x_4); lean_ctor_set(x_3, 0, x_9); { @@ -14330,6 +15604,7 @@ lean_inc(x_12); lean_inc(x_11); lean_dec(x_3); x_13 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(x_1, x_2, x_11); +lean_dec(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_4); @@ -14354,93 +15629,357 @@ else switch (lean_obj_tag(x_3)) { case 3: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; uint8_t x_9; x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); x_6 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__2(x_1, x_2, x_5); -x_7 = lean_expr_update_sort(x_3, x_6); -return x_7; +x_7 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_8 = lean_ptr_addr(x_6); +x_9 = lean_usize_dec_eq(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_3); +x_10 = l_Lean_Expr_sort___override(x_6); +return x_10; +} +else +{ +lean_dec(x_6); +return x_3; +} } case 4: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); -x_9 = lean_box(0); -x_10 = l_List_mapTRAux___at_Lean_Expr_instantiateLevelParamsArray___spec__4(x_1, x_2, x_8, x_9); -x_11 = lean_expr_update_const(x_3, x_10); -return x_11; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_ctor_get(x_3, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +x_13 = lean_box(0); +lean_inc(x_12); +x_14 = l_List_mapTRAux___at_Lean_Expr_instantiateLevelParamsArray___spec__4(x_1, x_2, x_12, x_13); +x_15 = l_ptrEqList___rarg(x_12, x_14); +lean_dec(x_12); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_3); +x_16 = l_Lean_Expr_const___override(x_11, x_14); +return x_16; +} +else +{ +lean_dec(x_14); +lean_dec(x_11); +return x_3; +} } case 5: { -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_3, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_3, 1); -lean_inc(x_13); -x_14 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_12); -x_15 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_13); -x_16 = lean_expr_update_app(x_3, x_14, x_15); -return 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; uint8_t x_23; +x_17 = lean_ctor_get(x_3, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_3, 1); +lean_inc(x_18); +lean_inc(x_17); +x_19 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_17); +lean_inc(x_18); +x_20 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_18); +x_21 = lean_ptr_addr(x_17); +lean_dec(x_17); +x_22 = lean_ptr_addr(x_19); +x_23 = lean_usize_dec_eq(x_21, x_22); +if (x_23 == 0) +{ +lean_object* x_24; +lean_dec(x_18); +lean_dec(x_3); +x_24 = l_Lean_Expr_app___override(x_19, x_20); +return x_24; +} +else +{ +size_t x_25; size_t x_26; uint8_t x_27; +x_25 = lean_ptr_addr(x_18); +lean_dec(x_18); +x_26 = lean_ptr_addr(x_20); +x_27 = lean_usize_dec_eq(x_25, x_26); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_3); +x_28 = l_Lean_Expr_app___override(x_19, x_20); +return x_28; +} +else +{ +lean_dec(x_20); +lean_dec(x_19); +return x_3; +} +} } case 6: { -lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_ctor_get(x_3, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_3, 2); -lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); -x_20 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_17); -x_21 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_18); -x_22 = lean_expr_update_lambda(x_3, x_19, x_20, x_21); -return x_22; +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; size_t x_36; size_t x_37; uint8_t x_38; +x_29 = lean_ctor_get(x_3, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_3, 1); +lean_inc(x_30); +x_31 = lean_ctor_get(x_3, 2); +lean_inc(x_31); +x_32 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); +lean_dec(x_3); +lean_inc(x_30); +x_33 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_30); +lean_inc(x_31); +x_34 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_31); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +x_35 = l_Lean_Expr_lam___override(x_29, x_30, x_31, x_32); +x_36 = lean_ptr_addr(x_30); +lean_dec(x_30); +x_37 = lean_ptr_addr(x_33); +x_38 = lean_usize_dec_eq(x_36, x_37); +if (x_38 == 0) +{ +lean_object* x_39; +lean_dec(x_35); +lean_dec(x_31); +x_39 = l_Lean_Expr_lam___override(x_29, x_33, x_34, x_32); +return x_39; +} +else +{ +size_t x_40; size_t x_41; uint8_t x_42; +x_40 = lean_ptr_addr(x_31); +lean_dec(x_31); +x_41 = lean_ptr_addr(x_34); +x_42 = lean_usize_dec_eq(x_40, x_41); +if (x_42 == 0) +{ +lean_object* x_43; +lean_dec(x_35); +x_43 = l_Lean_Expr_lam___override(x_29, x_33, x_34, x_32); +return x_43; +} +else +{ +uint8_t x_44; +x_44 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_32, x_32); +if (x_44 == 0) +{ +lean_object* x_45; +lean_dec(x_35); +x_45 = l_Lean_Expr_lam___override(x_29, x_33, x_34, x_32); +return x_45; +} +else +{ +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_29); +return x_35; +} +} +} } case 7: { -lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_23 = lean_ctor_get(x_3, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_3, 2); -lean_inc(x_24); -x_25 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); -x_26 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_23); -x_27 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_24); -x_28 = lean_expr_update_forall(x_3, x_25, x_26, x_27); -return x_28; +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; size_t x_53; size_t x_54; uint8_t x_55; +x_46 = lean_ctor_get(x_3, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_3, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_3, 2); +lean_inc(x_48); +x_49 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); +lean_dec(x_3); +lean_inc(x_47); +x_50 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_47); +lean_inc(x_48); +x_51 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_48); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +x_52 = l_Lean_Expr_forallE___override(x_46, x_47, x_48, x_49); +x_53 = lean_ptr_addr(x_47); +lean_dec(x_47); +x_54 = lean_ptr_addr(x_50); +x_55 = lean_usize_dec_eq(x_53, x_54); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_52); +lean_dec(x_48); +x_56 = l_Lean_Expr_forallE___override(x_46, x_50, x_51, x_49); +return x_56; +} +else +{ +size_t x_57; size_t x_58; uint8_t x_59; +x_57 = lean_ptr_addr(x_48); +lean_dec(x_48); +x_58 = lean_ptr_addr(x_51); +x_59 = lean_usize_dec_eq(x_57, x_58); +if (x_59 == 0) +{ +lean_object* x_60; +lean_dec(x_52); +x_60 = l_Lean_Expr_forallE___override(x_46, x_50, x_51, x_49); +return x_60; +} +else +{ +uint8_t x_61; +x_61 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_49, x_49); +if (x_61 == 0) +{ +lean_object* x_62; +lean_dec(x_52); +x_62 = l_Lean_Expr_forallE___override(x_46, x_50, x_51, x_49); +return x_62; +} +else +{ +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_46); +return x_52; +} +} +} } case 8: { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_29 = lean_ctor_get(x_3, 1); -lean_inc(x_29); -x_30 = lean_ctor_get(x_3, 2); -lean_inc(x_30); -x_31 = lean_ctor_get(x_3, 3); -lean_inc(x_31); -x_32 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_29); -x_33 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_30); -x_34 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_31); -x_35 = lean_expr_update_let(x_3, x_32, x_33, x_34); -return x_35; +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; size_t x_71; size_t x_72; uint8_t x_73; +x_63 = lean_ctor_get(x_3, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +x_66 = lean_ctor_get(x_3, 3); +lean_inc(x_66); +x_67 = lean_ctor_get_uint8(x_3, sizeof(void*)*4 + 8); +lean_inc(x_64); +x_68 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_64); +lean_inc(x_65); +x_69 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_65); +lean_inc(x_66); +x_70 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_66); +x_71 = lean_ptr_addr(x_64); +lean_dec(x_64); +x_72 = lean_ptr_addr(x_68); +x_73 = lean_usize_dec_eq(x_71, x_72); +if (x_73 == 0) +{ +lean_object* x_74; +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_3); +x_74 = l_Lean_Expr_letE___override(x_63, x_68, x_69, x_70, x_67); +return x_74; +} +else +{ +size_t x_75; size_t x_76; uint8_t x_77; +x_75 = lean_ptr_addr(x_65); +lean_dec(x_65); +x_76 = lean_ptr_addr(x_69); +x_77 = lean_usize_dec_eq(x_75, x_76); +if (x_77 == 0) +{ +lean_object* x_78; +lean_dec(x_66); +lean_dec(x_3); +x_78 = l_Lean_Expr_letE___override(x_63, x_68, x_69, x_70, x_67); +return x_78; +} +else +{ +size_t x_79; size_t x_80; uint8_t x_81; +x_79 = lean_ptr_addr(x_66); +lean_dec(x_66); +x_80 = lean_ptr_addr(x_70); +x_81 = lean_usize_dec_eq(x_79, x_80); +if (x_81 == 0) +{ +lean_object* x_82; +lean_dec(x_3); +x_82 = l_Lean_Expr_letE___override(x_63, x_68, x_69, x_70, x_67); +return x_82; +} +else +{ +lean_dec(x_70); +lean_dec(x_69); +lean_dec(x_68); +lean_dec(x_63); +return x_3; +} +} +} } case 10: { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_3, 1); -lean_inc(x_36); -x_37 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_36); -x_38 = lean_expr_update_mdata(x_3, x_37); -return x_38; +lean_object* x_83; lean_object* x_84; lean_object* x_85; size_t x_86; size_t x_87; uint8_t x_88; +x_83 = lean_ctor_get(x_3, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_3, 1); +lean_inc(x_84); +lean_inc(x_84); +x_85 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_84); +x_86 = lean_ptr_addr(x_84); +lean_dec(x_84); +x_87 = lean_ptr_addr(x_85); +x_88 = lean_usize_dec_eq(x_86, x_87); +if (x_88 == 0) +{ +lean_object* x_89; +lean_dec(x_3); +x_89 = l_Lean_Expr_mdata___override(x_83, x_85); +return x_89; +} +else +{ +lean_dec(x_85); +lean_dec(x_83); +return x_3; +} } case 11: { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_3, 2); -lean_inc(x_39); -x_40 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_39); -x_41 = lean_expr_update_proj(x_3, x_40); -return x_41; +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; size_t x_94; size_t x_95; uint8_t x_96; +x_90 = lean_ctor_get(x_3, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_3, 1); +lean_inc(x_91); +x_92 = lean_ctor_get(x_3, 2); +lean_inc(x_92); +lean_inc(x_92); +x_93 = l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(x_1, x_2, x_92); +x_94 = lean_ptr_addr(x_92); +lean_dec(x_92); +x_95 = lean_ptr_addr(x_93); +x_96 = lean_usize_dec_eq(x_94, x_95); +if (x_96 == 0) +{ +lean_object* x_97; +lean_dec(x_3); +x_97 = l_Lean_Expr_proj___override(x_90, x_91, x_93); +return x_97; +} +else +{ +lean_dec(x_93); +lean_dec(x_91); +lean_dec(x_90); +return x_3; +} } default: { @@ -14465,6 +16004,7 @@ _start: { lean_object* x_4; x_4 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__2(x_1, x_2, x_3); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_4; @@ -14475,6 +16015,7 @@ _start: { lean_object* x_4; x_4 = l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__3(x_1, x_2, x_3); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_4; @@ -16127,56 +17668,56 @@ l_Lean_Expr_isOutParam___closed__1 = _init_l_Lean_Expr_isOutParam___closed__1(); lean_mark_persistent(l_Lean_Expr_isOutParam___closed__1); l_Lean_Expr_isOutParam___closed__2 = _init_l_Lean_Expr_isOutParam___closed__2(); lean_mark_persistent(l_Lean_Expr_isOutParam___closed__2); -l_Lean_Expr_updateApp_x21___closed__1 = _init_l_Lean_Expr_updateApp_x21___closed__1(); -lean_mark_persistent(l_Lean_Expr_updateApp_x21___closed__1); -l_Lean_Expr_updateApp_x21___closed__2 = _init_l_Lean_Expr_updateApp_x21___closed__2(); -lean_mark_persistent(l_Lean_Expr_updateApp_x21___closed__2); -l_Lean_Expr_updateConst_x21___closed__1 = _init_l_Lean_Expr_updateConst_x21___closed__1(); -lean_mark_persistent(l_Lean_Expr_updateConst_x21___closed__1); -l_Lean_Expr_updateConst_x21___closed__2 = _init_l_Lean_Expr_updateConst_x21___closed__2(); -lean_mark_persistent(l_Lean_Expr_updateConst_x21___closed__2); -l_Lean_Expr_updateSort_x21___closed__1 = _init_l_Lean_Expr_updateSort_x21___closed__1(); -lean_mark_persistent(l_Lean_Expr_updateSort_x21___closed__1); -l_Lean_Expr_updateSort_x21___closed__2 = _init_l_Lean_Expr_updateSort_x21___closed__2(); -lean_mark_persistent(l_Lean_Expr_updateSort_x21___closed__2); -l_Lean_Expr_updateSort_x21___closed__3 = _init_l_Lean_Expr_updateSort_x21___closed__3(); -lean_mark_persistent(l_Lean_Expr_updateSort_x21___closed__3); -l_Lean_Expr_updateMData_x21___closed__1 = _init_l_Lean_Expr_updateMData_x21___closed__1(); -lean_mark_persistent(l_Lean_Expr_updateMData_x21___closed__1); -l_Lean_Expr_updateMData_x21___closed__2 = _init_l_Lean_Expr_updateMData_x21___closed__2(); -lean_mark_persistent(l_Lean_Expr_updateMData_x21___closed__2); -l_Lean_Expr_updateMData_x21___closed__3 = _init_l_Lean_Expr_updateMData_x21___closed__3(); -lean_mark_persistent(l_Lean_Expr_updateMData_x21___closed__3); -l_Lean_Expr_updateProj_x21___closed__1 = _init_l_Lean_Expr_updateProj_x21___closed__1(); -lean_mark_persistent(l_Lean_Expr_updateProj_x21___closed__1); -l_Lean_Expr_updateProj_x21___closed__2 = _init_l_Lean_Expr_updateProj_x21___closed__2(); -lean_mark_persistent(l_Lean_Expr_updateProj_x21___closed__2); -l_Lean_Expr_updateProj_x21___closed__3 = _init_l_Lean_Expr_updateProj_x21___closed__3(); -lean_mark_persistent(l_Lean_Expr_updateProj_x21___closed__3); -l_Lean_Expr_updateForall_x21___closed__1 = _init_l_Lean_Expr_updateForall_x21___closed__1(); -lean_mark_persistent(l_Lean_Expr_updateForall_x21___closed__1); -l_Lean_Expr_updateForall_x21___closed__2 = _init_l_Lean_Expr_updateForall_x21___closed__2(); -lean_mark_persistent(l_Lean_Expr_updateForall_x21___closed__2); -l_Lean_Expr_updateForall_x21___closed__3 = _init_l_Lean_Expr_updateForall_x21___closed__3(); -lean_mark_persistent(l_Lean_Expr_updateForall_x21___closed__3); +l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___closed__1 = _init_l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___closed__1(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___closed__1); +l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___closed__2 = _init_l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___closed__2(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___closed__2); +l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl___closed__1 = _init_l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl___closed__1(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl___closed__1); +l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl___closed__2 = _init_l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl___closed__2(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl___closed__2); +l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__1 = _init_l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__1(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__1); +l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__2 = _init_l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__2(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__2); +l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__3 = _init_l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__3(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateSort_x21Impl___closed__3); +l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__1 = _init_l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__1(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__1); +l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__2 = _init_l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__2(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__2); +l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__3 = _init_l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__3(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl___closed__3); +l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__1 = _init_l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__1(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__1); +l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__2 = _init_l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__2(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__2); +l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__3 = _init_l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__3(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__3); +l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__1 = _init_l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__1(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__1); +l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__2 = _init_l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__2(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__2); +l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__3 = _init_l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__3(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateForall_x21Impl___closed__3); l_Lean_Expr_updateForallE_x21___closed__1 = _init_l_Lean_Expr_updateForallE_x21___closed__1(); lean_mark_persistent(l_Lean_Expr_updateForallE_x21___closed__1); l_Lean_Expr_updateForallE_x21___closed__2 = _init_l_Lean_Expr_updateForallE_x21___closed__2(); lean_mark_persistent(l_Lean_Expr_updateForallE_x21___closed__2); -l_Lean_Expr_updateLambda_x21___closed__1 = _init_l_Lean_Expr_updateLambda_x21___closed__1(); -lean_mark_persistent(l_Lean_Expr_updateLambda_x21___closed__1); -l_Lean_Expr_updateLambda_x21___closed__2 = _init_l_Lean_Expr_updateLambda_x21___closed__2(); -lean_mark_persistent(l_Lean_Expr_updateLambda_x21___closed__2); -l_Lean_Expr_updateLambda_x21___closed__3 = _init_l_Lean_Expr_updateLambda_x21___closed__3(); -lean_mark_persistent(l_Lean_Expr_updateLambda_x21___closed__3); +l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__1 = _init_l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__1(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__1); +l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__2 = _init_l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__2(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__2); +l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__3 = _init_l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__3(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateLambda_x21Impl___closed__3); l_Lean_Expr_updateLambdaE_x21___closed__1 = _init_l_Lean_Expr_updateLambdaE_x21___closed__1(); lean_mark_persistent(l_Lean_Expr_updateLambdaE_x21___closed__1); l_Lean_Expr_updateLambdaE_x21___closed__2 = _init_l_Lean_Expr_updateLambdaE_x21___closed__2(); lean_mark_persistent(l_Lean_Expr_updateLambdaE_x21___closed__2); -l_Lean_Expr_updateLet_x21___closed__1 = _init_l_Lean_Expr_updateLet_x21___closed__1(); -lean_mark_persistent(l_Lean_Expr_updateLet_x21___closed__1); -l_Lean_Expr_updateLet_x21___closed__2 = _init_l_Lean_Expr_updateLet_x21___closed__2(); -lean_mark_persistent(l_Lean_Expr_updateLet_x21___closed__2); +l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl___closed__1 = _init_l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl___closed__1(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl___closed__1); +l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl___closed__2 = _init_l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl___closed__2(); +lean_mark_persistent(l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl___closed__2); l_Lean_Expr_setPPExplicit___closed__1 = _init_l_Lean_Expr_setPPExplicit___closed__1(); lean_mark_persistent(l_Lean_Expr_setPPExplicit___closed__1); l_Lean_Expr_setPPExplicit___closed__2 = _init_l_Lean_Expr_setPPExplicit___closed__2(); diff --git a/stage0/stdlib/Lean/Level.c b/stage0/stdlib/Lean/Level.c index 1e6cc552b8..225fc712c3 100644 --- a/stage0/stdlib/Lean/Level.c +++ b/stage0/stdlib/Lean/Level.c @@ -15,6 +15,7 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_Level_dec(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_getMaxArgsAux(lean_object*, lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_simpLevelIMax_x27___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Level_PP_Result_quote___lambda__3___closed__9; size_t lean_usize_add(size_t, size_t); LEAN_EXPORT uint8_t l_Lean_Level_isNeverZero(lean_object*); @@ -36,6 +37,8 @@ static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level__ static lean_object* l_Lean_Level_PP_Result_quote___lambda__3___closed__8; static lean_object* l_Lean_Level_PP_Result_format___closed__1; LEAN_EXPORT lean_object* l_Lean_Level_quote___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__3; +uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Level_normalize___closed__6; lean_object* l_Array_append___rarg(lean_object*, lean_object*); @@ -43,7 +46,6 @@ LEAN_EXPORT lean_object* l_Lean_instForInMVarIdMapProdMVarId(lean_object*, lean_ static lean_object* l___private_Lean_Level_0__Lean_reprMVarId____x40_Lean_Level___hyg_506____closed__11; LEAN_EXPORT lean_object* l_Lean_Level_isMVar___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_getMaxArgsAux___at_Lean_Level_normalize___spec__2(lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Level_updateIMax___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_succ___override(lean_object*); static lean_object* l_Lean_Level_mkData___closed__3; extern lean_object* l_Std_Format_defWidth; @@ -59,7 +61,6 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Level_PP_Result_quote___spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_instReprData___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_getOffsetAux___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Level_updateMax_x21(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_level_mk_max(lean_object*, lean_object*); static lean_object* l_Lean_Level_PP_toResult___closed__4; static lean_object* l_Lean_Level_instHashableLevel___closed__1; @@ -75,10 +76,12 @@ static lean_object* l_Lean_Level_mkData___closed__2; lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Level_geq_go(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__1; LEAN_EXPORT uint8_t l_Lean_Level_isEquiv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_instBEqLevel; LEAN_EXPORT lean_object* l_Lean_instReprData___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Level_PP_Result_quote___spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__2; LEAN_EXPORT uint8_t lean_level_has_param(lean_object*); LEAN_EXPORT uint64_t l_Lean_Level_hash(lean_object*); static lean_object* l_Lean_instReprData___lambda__3___closed__1; @@ -86,8 +89,10 @@ LEAN_EXPORT lean_object* l_Lean_instReprData___lambda__3___boxed(lean_object*, l static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level___hyg_935____closed__4; static lean_object* l___private_Lean_Level_0__Lean_Level_PP_parenIfFalse___closed__4; static lean_object* l_Lean_instForInMVarIdMapProdMVarId___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_isExplicit___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_instForInMVarIdSetMVarId(lean_object*); +static lean_object* l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__3; LEAN_EXPORT uint32_t lean_level_hash(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_hasParamEx___boxed(lean_object*); @@ -106,7 +111,6 @@ lean_object* l_Array_qpartition_loop___rarg(lean_object*, lean_object*, lean_obj LEAN_EXPORT lean_object* l_Lean_Level_depth(lean_object*); static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level___hyg_935____closed__22; LEAN_EXPORT lean_object* l_Lean_Level_isSucc___boxed(lean_object*); -static lean_object* l_Lean_Level_updateIMax_x21___closed__1; LEAN_EXPORT uint8_t l___private_Lean_Level_0__Lean_Level_isAlreadyNormalizedCheap(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_mvarId_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_getMaxArgsAux___at_Lean_Level_normalize___spec__2___boxed(lean_object*, lean_object*, lean_object*); @@ -119,11 +123,11 @@ static lean_object* l_Lean_Level_data___override___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level___hyg_935____closed__12; LEAN_EXPORT lean_object* l_Lean_Level_geq___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Level_updateMax_x21___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_isAlreadyNormalizedCheap___boxed(lean_object*); static lean_object* l_Lean_Level_PP_Result_format___closed__6; +static lean_object* l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__2; static lean_object* l_Lean_instForInMVarIdSetMVarId___closed__2; -LEAN_EXPORT lean_object* lean_level_simp_imax(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_simpLevelIMax_x27(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level___hyg_935____closed__8; static lean_object* l_Lean_Level_mvarId_x21___closed__3; extern uint64_t l_instInhabitedUInt64; @@ -135,7 +139,6 @@ static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level__ LEAN_EXPORT lean_object* l_Lean_Level_Data_hasMVar___boxed(lean_object*); lean_object* l_Std_RBTree_forIn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Name_hash___override(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Level_updateIMax_x21(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkLevelIMax(lean_object*, lean_object*); static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level___hyg_935____closed__1; @@ -150,13 +153,12 @@ LEAN_EXPORT lean_object* l_Lean_Level_imax___override(lean_object*, lean_object* static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level___hyg_935____closed__2; LEAN_EXPORT uint8_t l_Lean_Level_isParam(lean_object*); static lean_object* l_Lean_Level_PP_Result_format___closed__2; -LEAN_EXPORT lean_object* l_Lean_Level_updateSucc_x21(lean_object*, lean_object*); -static lean_object* l_Lean_Level_updateMax_x21___closed__1; lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_isParam___boxed(lean_object*); static lean_object* l_Lean_Level_PP_toResult___closed__2; static lean_object* l___private_Lean_Level_0__Lean_reprMVarId____x40_Lean_Level___hyg_506____closed__10; lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__1; LEAN_EXPORT uint8_t l_Lean_Level_geq(lean_object*, lean_object*); LEAN_EXPORT uint32_t lean_level_depth(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_isIMax___boxed(lean_object*); @@ -167,18 +169,18 @@ LEAN_EXPORT lean_object* l_Lean_Level_instHashableLevel; LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Level_normalize___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_any___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Level_PP_Result_quote___lambda__3___closed__7; +LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_mkData(uint64_t, lean_object*, uint8_t, uint8_t); LEAN_EXPORT lean_object* l_panic___at_Lean_Level_normalize___spec__1(lean_object*); static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level___hyg_935____closed__11; -lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Level_any(lean_object*, lean_object*); -LEAN_EXPORT lean_object* lean_level_mk_max_simp(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l_Lean_Level_normalize___closed__1; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); uint32_t lean_uint64_to_uint32(uint64_t); static lean_object* l_Lean_instHashableMVarId___closed__1; -LEAN_EXPORT lean_object* lean_level_simp_max(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_simpLevelMax_x27(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkLevelMax(lean_object*, lean_object*); static lean_object* l___private_Lean_Level_0__Lean_reprMVarId____x40_Lean_Level___hyg_506____closed__5; @@ -187,16 +189,16 @@ LEAN_EXPORT lean_object* l_Lean_instMVarIdSetEmptyCollection; LEAN_EXPORT lean_object* l_Lean_Level_PP_Result_quote___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_depth___boxed(lean_object*); static lean_object* l___private_Lean_Level_0__Lean_reprMVarId____x40_Lean_Level___hyg_506____closed__3; -LEAN_EXPORT lean_object* lean_level_mk_imax_simp(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkLevelIMax_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_toNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_geq_go___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_normLtAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedMVarIdMap(lean_object*); +static lean_object* l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__2; LEAN_EXPORT uint8_t l___private_Lean_Level_0__Lean_beqMVarId____x40_Lean_Level___hyg_423_(lean_object*, lean_object*); static lean_object* l_Lean_instReprMVarId___closed__1; lean_object* l_Nat_repr(lean_object*); -static lean_object* l_Lean_Level_updateSucc_x21___closed__3; LEAN_EXPORT lean_object* l_Lean_Level_casesOn___override___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Level_PP_Result_quote___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Level_PP_Result_quote___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -210,16 +212,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Le static lean_object* l___private_Lean_Level_0__Lean_reprMVarId____x40_Lean_Level___hyg_506____closed__7; static lean_object* l_Lean_Level_PP_Result_quote___lambda__4___closed__2; lean_object* lean_format_pretty(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Level_updateMax___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_isExplicitSubsumedAux___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_occurs___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_isZero___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_ctorToNat(lean_object*); -static lean_object* l_Lean_Level_updateMax_x21___closed__3; static lean_object* l_Lean_instReprData___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Level_ofNat___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_instBEqData___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Level_updateSucc___boxed(lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_of_nat(lean_object*); static lean_object* l_Lean_Level_PP_toResult___closed__5; LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Level_normalize___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -240,6 +239,7 @@ LEAN_EXPORT uint8_t l___private_Lean_Level_0__Lean_Level_isExplicitSubsumedAux(l static lean_object* l_Lean_Level_normalize___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_skipExplicit___boxed(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_Lean_simpLevelMax_x27___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Level_isIMax(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_PP_Result_quote___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_PP_Result_quote___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -252,6 +252,7 @@ LEAN_EXPORT lean_object* l_Nat_toLevel(lean_object*); LEAN_EXPORT uint8_t l_Lean_Level_normLt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_casesOn___override___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Level_PP_Result_format___closed__3; +static lean_object* l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__3; static lean_object* l_Lean_Level_PP_Result_quote___lambda__3___closed__5; LEAN_EXPORT lean_object* l_Lean_Level_PP_Result_imax(lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*); @@ -263,11 +264,10 @@ static lean_object* l_Lean_Level_normalize___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_mkLevelMaxCore(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level___hyg_935____closed__20; uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); -lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*); +size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l_Nat_imax___boxed(lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); LEAN_EXPORT uint8_t l_Lean_instBEqData(uint64_t, uint64_t); -static lean_object* l_Lean_Level_updateIMax_x21___closed__3; LEAN_EXPORT lean_object* l_Lean_instInhabitedMVarId; LEAN_EXPORT lean_object* l_Lean_Level_zero___override; static lean_object* l_Lean_levelOne___closed__1; @@ -282,6 +282,7 @@ static lean_object* l_Lean_Level_PP_toResult___closed__3; static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level___hyg_935____closed__16; LEAN_EXPORT lean_object* l_Lean_Level_find_x3f(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl(lean_object*, lean_object*); uint8_t l_Std_RBNode_isRed___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_PP_Result_quote___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Level_Data_hasMVar(uint64_t); @@ -296,7 +297,6 @@ static lean_object* l_Lean_Level_PP_Result_quote___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Lean_instReprMVarId__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_PP_Result_quote(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_PP_Result_quote___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Level_updateSucc_x21___closed__2; static lean_object* l_Lean_Level_PP_Result_quote___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_instReprMVarId__1___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Level_isMVar(lean_object*); @@ -314,7 +314,6 @@ LEAN_EXPORT lean_object* l_Lean_Level_depthEx___boxed(lean_object*); static lean_object* l_Lean_instReprData___lambda__2___closed__2; static lean_object* l___private_Lean_Level_0__Lean_Level_PP_parenIfFalse___closed__3; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); -lean_object* lean_level_update_succ(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_getLevelOffset(lean_object*); static lean_object* l_Lean_Level_PP_Result_quote___lambda__5___closed__3; static lean_object* l___private_Lean_Level_0__Lean_reprMVarId____x40_Lean_Level___hyg_506____closed__9; @@ -337,6 +336,7 @@ LEAN_EXPORT lean_object* l_Lean_Level_isEquiv___boxed(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Lean_Level_instQuoteLevelStrAnonymous(lean_object*); uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); LEAN_EXPORT lean_object* lean_level_mk_zero(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Level_normalize___closed__7; LEAN_EXPORT uint8_t l_Lean_Level_isZero(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_casesOn___override(lean_object*); @@ -355,6 +355,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_PP_parenIfFalse___ lean_object* lean_mk_syntax_ident(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_hashMVarId____x40_Lean_Level___hyg_478____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_ofNat(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_PP_Result_quote___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Level_isMaxIMax(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_hash___boxed(lean_object*); @@ -364,8 +365,9 @@ LEAN_EXPORT lean_object* l_Lean_instReprData___boxed(lean_object*, lean_object*) LEAN_EXPORT uint8_t l_Lean_Level_isSucc(lean_object*); static lean_object* l_Lean_Level_PP_Result_quote___lambda__5___closed__1; static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level___hyg_935____closed__18; +LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Level_isExplicit(lean_object*); -static lean_object* l_Lean_Level_updateSucc_x21___closed__1; +static lean_object* l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__1; LEAN_EXPORT lean_object* l_Lean_Level_mvar___override(lean_object*); static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level___hyg_935____closed__14; uint64_t lean_uint64_shift_right(uint64_t, uint64_t); @@ -389,7 +391,6 @@ static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level__ lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_Data_hasParam___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_PP_Result_quote___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Level_updateIMax_x21___closed__2; LEAN_EXPORT lean_object* l_Lean_Level_PP_toResult(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Level_mvarId_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_PP_Result_quote___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -4197,7 +4198,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_Level_normalize___closed__5; x_2 = l_Lean_Level_normalize___closed__6; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Level_normalize___closed__7; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -6046,7 +6047,7 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* lean_level_mk_max_simp(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_mkLevelMax_x27(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_13; uint8_t x_32; @@ -6331,7 +6332,7 @@ return x_2; } } } -LEAN_EXPORT lean_object* lean_level_simp_max(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_simpLevelMax_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_13; uint8_t x_32; @@ -6354,16 +6355,12 @@ if (lean_obj_tag(x_1) == 2) { lean_object* x_36; lean_object* x_37; uint8_t x_38; x_36 = lean_ctor_get(x_1, 0); -lean_inc(x_36); x_37 = lean_ctor_get(x_1, 1); -lean_inc(x_37); x_38 = lean_level_eq(x_2, x_36); -lean_dec(x_36); if (x_38 == 0) { uint8_t x_39; x_39 = lean_level_eq(x_2, x_37); -lean_dec(x_37); if (x_39 == 0) { lean_object* x_40; @@ -6373,16 +6370,13 @@ goto block_31; } else { -lean_dec(x_3); -lean_dec(x_2); +lean_inc(x_1); return x_1; } } else { -lean_dec(x_37); -lean_dec(x_3); -lean_dec(x_2); +lean_inc(x_1); return x_1; } } @@ -6409,16 +6403,12 @@ if (lean_obj_tag(x_1) == 2) { lean_object* x_46; lean_object* x_47; uint8_t x_48; x_46 = lean_ctor_get(x_1, 0); -lean_inc(x_46); x_47 = lean_ctor_get(x_1, 1); -lean_inc(x_47); x_48 = lean_level_eq(x_2, x_46); -lean_dec(x_46); if (x_48 == 0) { uint8_t x_49; x_49 = lean_level_eq(x_2, x_47); -lean_dec(x_47); if (x_49 == 0) { lean_object* x_50; @@ -6428,16 +6418,13 @@ goto block_31; } else { -lean_dec(x_3); -lean_dec(x_2); +lean_inc(x_1); return x_1; } } else { -lean_dec(x_47); -lean_dec(x_3); -lean_dec(x_2); +lean_inc(x_1); return x_1; } } @@ -6451,30 +6438,26 @@ goto block_31; } else { -lean_dec(x_3); -lean_dec(x_2); +lean_inc(x_1); return x_1; } } } else { -lean_dec(x_3); -lean_dec(x_2); +lean_inc(x_1); return x_1; } } else { -lean_dec(x_3); -lean_dec(x_1); +lean_inc(x_2); return x_2; } } else { -lean_dec(x_3); -lean_dec(x_2); +lean_inc(x_1); return x_1; } block_12: @@ -6488,14 +6471,12 @@ lean_dec(x_6); lean_dec(x_5); if (x_7 == 0) { -lean_dec(x_2); -lean_dec(x_1); +lean_inc(x_3); return x_3; } else { lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -lean_dec(x_3); x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Level_getOffsetAux(x_2, x_8); x_10 = l_Lean_Level_getOffsetAux(x_1, x_8); @@ -6504,12 +6485,12 @@ lean_dec(x_10); lean_dec(x_9); if (x_11 == 0) { -lean_dec(x_1); +lean_inc(x_2); return x_2; } else { -lean_dec(x_2); +lean_inc(x_1); return x_1; } } @@ -6525,16 +6506,12 @@ if (lean_obj_tag(x_2) == 2) { lean_object* x_15; lean_object* x_16; uint8_t x_17; x_15 = lean_ctor_get(x_2, 0); -lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); -lean_inc(x_16); x_17 = lean_level_eq(x_1, x_15); -lean_dec(x_15); if (x_17 == 0) { uint8_t x_18; x_18 = lean_level_eq(x_1, x_16); -lean_dec(x_16); if (x_18 == 0) { lean_object* x_19; @@ -6544,16 +6521,13 @@ goto block_12; } else { -lean_dec(x_3); -lean_dec(x_1); +lean_inc(x_2); return x_2; } } else { -lean_dec(x_16); -lean_dec(x_3); -lean_dec(x_1); +lean_inc(x_2); return x_2; } } @@ -6580,16 +6554,12 @@ if (lean_obj_tag(x_2) == 2) { lean_object* x_25; lean_object* x_26; uint8_t x_27; x_25 = lean_ctor_get(x_2, 0); -lean_inc(x_25); x_26 = lean_ctor_get(x_2, 1); -lean_inc(x_26); x_27 = lean_level_eq(x_1, x_25); -lean_dec(x_25); if (x_27 == 0) { uint8_t x_28; x_28 = lean_level_eq(x_1, x_26); -lean_dec(x_26); if (x_28 == 0) { lean_object* x_29; @@ -6599,16 +6569,13 @@ goto block_12; } else { -lean_dec(x_3); -lean_dec(x_1); +lean_inc(x_2); return x_2; } } else { -lean_dec(x_26); -lean_dec(x_3); -lean_dec(x_1); +lean_inc(x_2); return x_2; } } @@ -6622,14 +6589,24 @@ goto block_12; } else { -lean_dec(x_3); -lean_dec(x_1); +lean_inc(x_2); return x_2; } } } } } +LEAN_EXPORT lean_object* l_Lean_simpLevelMax_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_simpLevelMax_x27(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___private_Lean_Level_0__Lean_mkLevelIMaxCore(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -6680,12 +6657,12 @@ else { lean_object* x_10; lean_dec(x_3); -x_10 = lean_level_mk_max_simp(x_1, x_2); +x_10 = l_Lean_mkLevelMax_x27(x_1, x_2); return x_10; } } } -LEAN_EXPORT lean_object* lean_level_mk_imax_simp(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_mkLevelIMax_x27(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -6729,12 +6706,12 @@ return x_2; else { lean_object* x_8; -x_8 = lean_level_mk_max_simp(x_1, x_2); +x_8 = l_Lean_mkLevelMax_x27(x_1, x_2); return x_8; } } } -LEAN_EXPORT lean_object* lean_level_simp_imax(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_simpLevelIMax_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -6755,24 +6732,22 @@ lean_dec(x_2); if (x_7 == 0) { lean_dec(x_1); +lean_inc(x_3); return x_3; } else { -lean_dec(x_3); return x_1; } } else { -lean_dec(x_3); lean_dec(x_1); return x_2; } } else { -lean_dec(x_3); lean_dec(x_1); return x_2; } @@ -6780,29 +6755,29 @@ return x_2; else { lean_object* x_8; -lean_dec(x_3); -x_8 = lean_level_mk_max_simp(x_1, x_2); +x_8 = l_Lean_mkLevelMax_x27(x_1, x_2); return x_8; } } } -LEAN_EXPORT lean_object* l_Lean_Level_updateSucc___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_simpLevelIMax_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_level_update_succ(x_1, x_2); +x_4 = l_Lean_simpLevelIMax_x27(x_1, x_2, x_3); +lean_dec(x_3); return x_4; } } -static lean_object* _init_l_Lean_Level_updateSucc_x21___closed__1() { +static lean_object* _init_l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Level.updateSucc!", 22); +x_1 = lean_mk_string_from_bytes("_private.Lean.Level.0.Lean.Level.updateSucc!Impl", 48); return x_1; } } -static lean_object* _init_l_Lean_Level_updateSucc_x21___closed__2() { +static lean_object* _init_l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__2() { _start: { lean_object* x_1; @@ -6810,56 +6785,70 @@ x_1 = lean_mk_string_from_bytes("succ level expected", 19); return x_1; } } -static lean_object* _init_l_Lean_Level_updateSucc_x21___closed__3() { +static lean_object* _init_l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__3() { _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_Level_mkData___closed__2; -x_2 = l_Lean_Level_updateSucc_x21___closed__1; -x_3 = lean_unsigned_to_nat(538u); -x_4 = lean_unsigned_to_nat(15u); -x_5 = l_Lean_Level_updateSucc_x21___closed__2; +x_2 = l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__1; +x_3 = lean_unsigned_to_nat(527u); +x_4 = lean_unsigned_to_nat(14u); +x_5 = l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__2; 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_Level_updateSucc_x21(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 1) { -lean_object* x_3; -x_3 = lean_level_update_succ(x_1, x_2); -return x_3; +lean_object* x_3; size_t x_4; size_t x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ptr_addr(x_3); +x_5 = lean_ptr_addr(x_2); +x_6 = lean_usize_dec_eq(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +x_7 = l_Lean_Level_succ___override(x_2); +return x_7; } else { -lean_object* x_4; lean_object* x_5; lean_dec(x_2); -lean_dec(x_1); -x_4 = l_Lean_Level_updateSucc_x21___closed__3; -x_5 = l_panic___at_Lean_Level_normalize___spec__1(x_4); -return x_5; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Level_updateMax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_level_update_max(x_1, x_2, x_3); -return x_5; -} -} -static lean_object* _init_l_Lean_Level_updateMax_x21___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Level.updateMax!", 21); +lean_inc(x_1); return x_1; } } -static lean_object* _init_l_Lean_Level_updateMax_x21___closed__2() { +else +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +x_8 = l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__3; +x_9 = l_panic___at_Lean_Level_normalize___spec__1(x_8); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_private.Lean.Level.0.Lean.Level.updateMax!Impl", 47); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__2() { _start: { lean_object* x_1; @@ -6867,57 +6856,87 @@ x_1 = lean_mk_string_from_bytes("max level expected", 18); return x_1; } } -static lean_object* _init_l_Lean_Level_updateMax_x21___closed__3() { +static lean_object* _init_l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__3() { _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_Level_mkData___closed__2; -x_2 = l_Lean_Level_updateMax_x21___closed__1; -x_3 = lean_unsigned_to_nat(547u); -x_4 = lean_unsigned_to_nat(14u); -x_5 = l_Lean_Level_updateMax_x21___closed__2; +x_2 = l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__1; +x_3 = lean_unsigned_to_nat(538u); +x_4 = lean_unsigned_to_nat(19u); +x_5 = l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__2; 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_Level_updateMax_x21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 2) { -lean_object* x_4; -x_4 = lean_level_update_max(x_1, x_2, x_3); -return x_4; +lean_object* x_4; lean_object* x_5; size_t x_6; size_t 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_ptr_addr(x_4); +x_7 = lean_ptr_addr(x_2); +x_8 = lean_usize_dec_eq(x_6, x_7); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = l_Lean_mkLevelMax_x27(x_2, x_3); +return x_9; } else { -lean_object* x_5; lean_object* x_6; +size_t x_10; size_t x_11; uint8_t x_12; +x_10 = lean_ptr_addr(x_5); +x_11 = lean_ptr_addr(x_3); +x_12 = lean_usize_dec_eq(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = l_Lean_mkLevelMax_x27(x_2, x_3); +return x_13; +} +else +{ +lean_object* x_14; +x_14 = l_Lean_simpLevelMax_x27(x_2, x_3, x_1); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_5 = l_Lean_Level_updateMax_x21___closed__3; -x_6 = l_panic___at_Lean_Level_normalize___spec__1(x_5); -return x_6; +return x_14; } } } -LEAN_EXPORT lean_object* l_Lean_Level_updateIMax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_3); +lean_dec(x_2); +x_15 = l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__3; +x_16 = l_panic___at_Lean_Level_normalize___spec__1(x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_5; -x_5 = lean_level_update_imax(x_1, x_2, x_3); -return x_5; +lean_object* x_4; +x_4 = l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; } } -static lean_object* _init_l_Lean_Level_updateIMax_x21___closed__1() { +static lean_object* _init_l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Level.updateIMax!", 22); +x_1 = lean_mk_string_from_bytes("_private.Lean.Level.0.Lean.Level.updateIMax!Impl", 48); return x_1; } } -static lean_object* _init_l_Lean_Level_updateIMax_x21___closed__2() { +static lean_object* _init_l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__2() { _start: { lean_object* x_1; @@ -6925,40 +6944,76 @@ x_1 = lean_mk_string_from_bytes("imax level expected", 19); return x_1; } } -static lean_object* _init_l_Lean_Level_updateIMax_x21___closed__3() { +static lean_object* _init_l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__3() { _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_Level_mkData___closed__2; -x_2 = l_Lean_Level_updateIMax_x21___closed__1; -x_3 = lean_unsigned_to_nat(556u); -x_4 = lean_unsigned_to_nat(15u); -x_5 = l_Lean_Level_updateIMax_x21___closed__2; +x_2 = l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__1; +x_3 = lean_unsigned_to_nat(549u); +x_4 = lean_unsigned_to_nat(20u); +x_5 = l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__2; 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_Level_updateIMax_x21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 3) { -lean_object* x_4; -x_4 = lean_level_update_imax(x_1, x_2, x_3); -return x_4; +lean_object* x_4; lean_object* x_5; size_t x_6; size_t 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_ptr_addr(x_4); +x_7 = lean_ptr_addr(x_2); +x_8 = lean_usize_dec_eq(x_6, x_7); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = l_Lean_mkLevelIMax_x27(x_2, x_3); +return x_9; } else { -lean_object* x_5; lean_object* x_6; +size_t x_10; size_t x_11; uint8_t x_12; +x_10 = lean_ptr_addr(x_5); +x_11 = lean_ptr_addr(x_3); +x_12 = lean_usize_dec_eq(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = l_Lean_mkLevelIMax_x27(x_2, x_3); +return x_13; +} +else +{ +lean_object* x_14; +x_14 = l_Lean_simpLevelIMax_x27(x_2, x_3, x_1); +return x_14; +} +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_5 = l_Lean_Level_updateIMax_x21___closed__3; -x_6 = l_panic___at_Lean_Level_normalize___spec__1(x_5); -return x_6; +x_15 = l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__3; +x_16 = l_panic___at_Lean_Level_normalize___spec__1(x_15); +return x_16; } } } +LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lean_Level_mkNaryMax(lean_object* x_1) { _start: { @@ -6988,7 +7043,7 @@ x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec(x_1); x_6 = l_Lean_Level_mkNaryMax(x_3); -x_7 = lean_level_mk_max_simp(x_5, x_6); +x_7 = l_Lean_mkLevelMax_x27(x_5, x_6); return x_7; } } @@ -7012,80 +7067,165 @@ return x_2; } else { -lean_object* x_5; lean_object* x_6; +lean_object* x_5; size_t x_6; size_t x_7; uint8_t x_8; +lean_inc(x_3); x_5 = l_Lean_Level_instantiateParams(x_1, x_3); -x_6 = lean_level_update_succ(x_2, x_5); -return x_6; +x_6 = lean_ptr_addr(x_3); +lean_dec(x_3); +x_7 = lean_ptr_addr(x_5); +x_8 = lean_usize_dec_eq(x_6, x_7); +if (x_8 == 0) +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = l_Lean_Level_succ___override(x_5); +return x_9; +} +else +{ +lean_dec(x_5); +return x_2; +} } } case 2: { -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_ctor_get(x_2, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_2, 1); -lean_inc(x_8); -x_9 = l_Lean_Level_hasParam(x_2); -if (x_9 == 0) +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +x_12 = l_Lean_Level_hasParam(x_2); +if (x_12 == 0) { -lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_1); return x_2; } else { -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; +lean_inc(x_10); lean_inc(x_1); -x_10 = l_Lean_Level_instantiateParams(x_1, x_7); -x_11 = l_Lean_Level_instantiateParams(x_1, x_8); -x_12 = lean_level_update_max(x_2, x_10, x_11); -return x_12; +x_13 = l_Lean_Level_instantiateParams(x_1, x_10); +lean_inc(x_11); +x_14 = l_Lean_Level_instantiateParams(x_1, x_11); +x_15 = lean_ptr_addr(x_10); +lean_dec(x_10); +x_16 = lean_ptr_addr(x_13); +x_17 = lean_usize_dec_eq(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_11); +lean_dec(x_2); +x_18 = l_Lean_mkLevelMax_x27(x_13, x_14); +return x_18; +} +else +{ +size_t x_19; size_t x_20; uint8_t x_21; +x_19 = lean_ptr_addr(x_11); +lean_dec(x_11); +x_20 = lean_ptr_addr(x_14); +x_21 = lean_usize_dec_eq(x_19, x_20); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_2); +x_22 = l_Lean_mkLevelMax_x27(x_13, x_14); +return x_22; +} +else +{ +lean_object* x_23; +x_23 = l_Lean_simpLevelMax_x27(x_13, x_14, x_2); +lean_dec(x_2); +lean_dec(x_14); +lean_dec(x_13); +return x_23; +} +} } } case 3: { -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_2, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_2, 1); -lean_inc(x_14); -x_15 = l_Lean_Level_hasParam(x_2); -if (x_15 == 0) +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_2, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_2, 1); +lean_inc(x_25); +x_26 = l_Lean_Level_hasParam(x_2); +if (x_26 == 0) { -lean_dec(x_14); -lean_dec(x_13); +lean_dec(x_25); +lean_dec(x_24); lean_dec(x_1); return x_2; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; uint8_t x_31; +lean_inc(x_24); lean_inc(x_1); -x_16 = l_Lean_Level_instantiateParams(x_1, x_13); -x_17 = l_Lean_Level_instantiateParams(x_1, x_14); -x_18 = lean_level_update_imax(x_2, x_16, x_17); -return x_18; +x_27 = l_Lean_Level_instantiateParams(x_1, x_24); +lean_inc(x_25); +x_28 = l_Lean_Level_instantiateParams(x_1, x_25); +x_29 = lean_ptr_addr(x_24); +lean_dec(x_24); +x_30 = lean_ptr_addr(x_27); +x_31 = lean_usize_dec_eq(x_29, x_30); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_25); +lean_dec(x_2); +x_32 = l_Lean_mkLevelIMax_x27(x_27, x_28); +return x_32; +} +else +{ +size_t x_33; size_t x_34; uint8_t x_35; +x_33 = lean_ptr_addr(x_25); +lean_dec(x_25); +x_34 = lean_ptr_addr(x_28); +x_35 = lean_usize_dec_eq(x_33, x_34); +if (x_35 == 0) +{ +lean_object* x_36; +lean_dec(x_2); +x_36 = l_Lean_mkLevelIMax_x27(x_27, x_28); +return x_36; +} +else +{ +lean_object* x_37; +x_37 = l_Lean_simpLevelIMax_x27(x_27, x_28, x_2); +lean_dec(x_2); +return x_37; +} +} } } case 4: { -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_2, 0); -lean_inc(x_19); -x_20 = lean_apply_1(x_1, x_19); -if (lean_obj_tag(x_20) == 0) +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_2, 0); +lean_inc(x_38); +x_39 = lean_apply_1(x_1, x_38); +if (lean_obj_tag(x_39) == 0) { return x_2; } else { -lean_object* x_21; +lean_object* x_40; lean_dec(x_2); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -lean_dec(x_20); -return x_21; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +lean_dec(x_39); +return x_40; } } default: @@ -10427,24 +10567,24 @@ l_Lean_Level_PP_Result_quote___lambda__6___closed__1 = _init_l_Lean_Level_PP_Res lean_mark_persistent(l_Lean_Level_PP_Result_quote___lambda__6___closed__1); l_Lean_Level_PP_Result_quote___closed__1 = _init_l_Lean_Level_PP_Result_quote___closed__1(); lean_mark_persistent(l_Lean_Level_PP_Result_quote___closed__1); -l_Lean_Level_updateSucc_x21___closed__1 = _init_l_Lean_Level_updateSucc_x21___closed__1(); -lean_mark_persistent(l_Lean_Level_updateSucc_x21___closed__1); -l_Lean_Level_updateSucc_x21___closed__2 = _init_l_Lean_Level_updateSucc_x21___closed__2(); -lean_mark_persistent(l_Lean_Level_updateSucc_x21___closed__2); -l_Lean_Level_updateSucc_x21___closed__3 = _init_l_Lean_Level_updateSucc_x21___closed__3(); -lean_mark_persistent(l_Lean_Level_updateSucc_x21___closed__3); -l_Lean_Level_updateMax_x21___closed__1 = _init_l_Lean_Level_updateMax_x21___closed__1(); -lean_mark_persistent(l_Lean_Level_updateMax_x21___closed__1); -l_Lean_Level_updateMax_x21___closed__2 = _init_l_Lean_Level_updateMax_x21___closed__2(); -lean_mark_persistent(l_Lean_Level_updateMax_x21___closed__2); -l_Lean_Level_updateMax_x21___closed__3 = _init_l_Lean_Level_updateMax_x21___closed__3(); -lean_mark_persistent(l_Lean_Level_updateMax_x21___closed__3); -l_Lean_Level_updateIMax_x21___closed__1 = _init_l_Lean_Level_updateIMax_x21___closed__1(); -lean_mark_persistent(l_Lean_Level_updateIMax_x21___closed__1); -l_Lean_Level_updateIMax_x21___closed__2 = _init_l_Lean_Level_updateIMax_x21___closed__2(); -lean_mark_persistent(l_Lean_Level_updateIMax_x21___closed__2); -l_Lean_Level_updateIMax_x21___closed__3 = _init_l_Lean_Level_updateIMax_x21___closed__3(); -lean_mark_persistent(l_Lean_Level_updateIMax_x21___closed__3); +l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__1 = _init_l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__1(); +lean_mark_persistent(l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__1); +l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__2 = _init_l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__2(); +lean_mark_persistent(l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__2); +l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__3 = _init_l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__3(); +lean_mark_persistent(l___private_Lean_Level_0__Lean_Level_updateSucc_x21Impl___closed__3); +l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__1 = _init_l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__1(); +lean_mark_persistent(l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__1); +l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__2 = _init_l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__2(); +lean_mark_persistent(l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__2); +l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__3 = _init_l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__3(); +lean_mark_persistent(l___private_Lean_Level_0__Lean_Level_updateMax_x21Impl___closed__3); +l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__1 = _init_l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__1(); +lean_mark_persistent(l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__1); +l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__2 = _init_l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__2(); +lean_mark_persistent(l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__2); +l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__3 = _init_l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__3(); +lean_mark_persistent(l___private_Lean_Level_0__Lean_Level_updateIMax_x21Impl___closed__3); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/LocalContext.c b/stage0/stdlib/Lean/LocalContext.c index 2ca25a6e00..d24a998d17 100644 --- a/stage0/stdlib/Lean/LocalContext.c +++ b/stage0/stdlib/Lean/LocalContext.c @@ -9738,7 +9738,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_Nat_foldRev_loop___at_Lean_LocalContext_mkBinding___spec__1___closed__1; x_2 = l_Nat_foldRev_loop___at_Lean_LocalContext_mkBinding___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Nat_foldRev_loop___at_Lean_LocalContext_mkBinding___spec__1___closed__3; 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/ACLt.c b/stage0/stdlib/Lean/Meta/ACLt.c index 4bf2fb799d..0cd76e921e 100644 --- a/stage0/stdlib/Lean/Meta/ACLt.c +++ b/stage0/stdlib/Lean/Meta/ACLt.c @@ -1206,7 +1206,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_Std_Range_forIn_loop___at_Lean_Meta_ACLt_lt_ltApp___spec__2___closed__7; x_2 = l_Std_Range_forIn_loop___at_Lean_Meta_ACLt_lt_ltApp___spec__2___closed__8; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Meta_ACLt_lt_ltApp___spec__2___closed__9; 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/AbstractMVars.c b/stage0/stdlib/Lean/Meta/AbstractMVars.c index f801878116..b571d82eca 100644 --- a/stage0/stdlib/Lean/Meta/AbstractMVars.c +++ b/stage0/stdlib/Lean/Meta/AbstractMVars.c @@ -14,21 +14,24 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Std_AssocList_contains___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__4___boxed(lean_object*, lean_object*); -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_openAbstractMVarsResult___boxed(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_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_param___override(lean_object*); +lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); 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_Std_Data_HashMap_0__Std_numBucketsForCapacity(lean_object*); +lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); +uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_AbstractMVars_abstractExprMVars___spec__8(lean_object*, lean_object*); -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); +lean_object* l_Lean_Level_succ___override(lean_object*); LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Meta_AbstractMVars_State_lmap___default___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_AbstractMVars_abstractExprMVars___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_AbstractMVars_instMonadMCtxM; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); @@ -38,7 +41,9 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_StateT_get___at_Lean_Meta_AbstractMVars_instMonadMCtxM___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_foldlM___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__7(lean_object*, lean_object*); +lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedAbstractMVarsResult; +uint8_t l_ptrEqList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashMap_insert___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_AbstractMVars_instMonadMCtxM___closed__3; LEAN_EXPORT lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_AbstractMVars_abstractExprMVars___spec__2(lean_object*, lean_object*); @@ -51,6 +56,7 @@ static lean_object* l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVa LEAN_EXPORT lean_object* l_Std_AssocList_replace___at_Lean_Meta_AbstractMVars_abstractExprMVars___spec__9(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_openAbstractMVarsResult___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_AbstractMVars_instMonadMCtxM___closed__1; +lean_object* l_Lean_simpLevelIMax_x27(lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -59,12 +65,14 @@ LEAN_EXPORT lean_object* l_Lean_Meta_abstractMVars(lean_object*, lean_object*, l lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_AbstractMVars_abstractExprMVars(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___closed__2; -lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instBEqAbstractMVarsResult___closed__1; +lean_object* l_Lean_simpLevelMax_x27(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); lean_object* lean_name_append_index_after(lean_object*, lean_object*); +lean_object* l_Lean_mkLevelIMax_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_AbstractMVars_mkFreshFVarId(lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Meta_AbstractMVars_abstractExprMVars___spec__10(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__1(lean_object*, lean_object*); @@ -74,15 +82,14 @@ LEAN_EXPORT lean_object* l_Lean_Meta_AbstractMVars_instMonadMCtxM___lambda__1(le static lean_object* l_Lean_Meta_AbstractMVars_instMonadMCtxM___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_AbstractMVars_mkFreshId(lean_object*); LEAN_EXPORT uint8_t l_Std_AssocList_contains___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__4(lean_object*, lean_object*); +lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* l_Lean_Meta_lambdaMetaTelescope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_beqAbstractMVarsResult____x40_Lean_Meta_AbstractMVars___hyg_42____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); uint64_t l___private_Lean_Level_0__Lean_hashMVarId____x40_Lean_Level___hyg_478_(lean_object*); lean_object* l_Lean_Expr_bvar___override(lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Std_HashMap_insert___at_Lean_Meta_AbstractMVars_abstractExprMVars___spec__4(lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); static lean_object* l_Lean_Meta_AbstractMVars_abstractExprMVars___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_AbstractMVars_State_emap___default; LEAN_EXPORT lean_object* l_Std_HashMapImp_moveEntries___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__6(lean_object*, lean_object*, lean_object*); @@ -90,13 +97,13 @@ lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_objec LEAN_EXPORT lean_object* l_Lean_Meta_AbstractMVars_instMonadMCtxM___lambda__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Meta_AbstractMVars_State_emap___default___spec__1___boxed(lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); -lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*); +size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashMapImp_expand___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__5(lean_object*, lean_object*); +lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_AbstractMVars_State_nextParamIdx___default; uint8_t lean_expr_eqv(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedAbstractMVarsResult___closed__3; -lean_object* lean_expr_update_sort(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Meta_AbstractMVars_State_lmap___default___spec__1___boxed(lean_object*); @@ -113,15 +120,16 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedAbstractMVarsResult___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_AbstractMVars_State_lmap___default; -lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* lean_level_update_succ(lean_object*, lean_object*); +lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_openAbstractMVarsResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_beqAbstractMVarsResult____x40_Lean_Meta_AbstractMVars___hyg_42____boxed(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getLevelDepth(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_362_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_instBEqAbstractMVarsResult; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_openAbstractMVarsResult___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParamsArray___spec__1(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_Meta_abstractMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_AssocList_contains___at_Lean_Meta_AbstractMVars_abstractExprMVars___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Meta_AbstractMVars_instMonadMCtxM___spec__2(lean_object*, lean_object*); @@ -129,10 +137,8 @@ LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Meta_Abstr lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_AbstractMVars_State_paramNames___default; lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); -lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_AbstractMVars_State_fvars___default; LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Meta_AbstractMVars_instMonadMCtxM___spec__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_const(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_AbstractMVars_abstractExprMVars___spec__6(lean_object*, lean_object*); static lean_object* _init_l_Lean_Meta_instInhabitedAbstractMVarsResult___closed__1() { @@ -1082,205 +1088,391 @@ case 1: lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); +lean_inc(x_5); x_6 = l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars(x_5, x_2); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; +lean_object* x_8; size_t x_9; size_t x_10; uint8_t x_11; x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_level_update_succ(x_1, x_8); -lean_ctor_set(x_6, 0, x_9); +x_9 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_10 = lean_ptr_addr(x_8); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_1); +x_12 = l_Lean_Level_succ___override(x_8); +lean_ctor_set(x_6, 0, x_12); 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); -x_12 = lean_level_update_succ(x_1, x_10); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; +lean_dec(x_8); +lean_ctor_set(x_6, 0, x_1); +return x_6; } } -case 2: +else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_14 = lean_ctor_get(x_1, 0); +lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_6, 0); +x_14 = lean_ctor_get(x_6, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_1, 1); -lean_inc(x_15); -x_16 = l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars(x_14, x_2); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars(x_15, x_18); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) +lean_inc(x_13); +lean_dec(x_6); +x_15 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_16 = lean_ptr_addr(x_13); +x_17 = lean_usize_dec_eq(x_15, x_16); +if (x_17 == 0) { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_level_update_max(x_1, x_17, x_21); -lean_ctor_set(x_19, 0, x_22); +lean_object* x_18; lean_object* x_19; +lean_dec(x_1); +x_18 = l_Lean_Level_succ___override(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_14); return x_19; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_19, 0); -x_24 = lean_ctor_get(x_19, 1); +lean_object* x_20; +lean_dec(x_13); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_1); +lean_ctor_set(x_20, 1, x_14); +return x_20; +} +} +} +case 2: +{ +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_ctor_get(x_1, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_1, 1); +lean_inc(x_22); +lean_inc(x_21); +x_23 = l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars(x_21, x_2); +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_19); -x_25 = lean_level_update_max(x_1, x_17, 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); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +lean_inc(x_22); +x_26 = l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars(x_22, x_25); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; size_t x_29; size_t x_30; uint8_t x_31; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ptr_addr(x_21); +lean_dec(x_21); +x_30 = lean_ptr_addr(x_24); +x_31 = lean_usize_dec_eq(x_29, x_30); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_22); +lean_dec(x_1); +x_32 = l_Lean_mkLevelMax_x27(x_24, x_28); +lean_ctor_set(x_26, 0, x_32); return x_26; } +else +{ +size_t x_33; size_t x_34; uint8_t x_35; +x_33 = lean_ptr_addr(x_22); +lean_dec(x_22); +x_34 = lean_ptr_addr(x_28); +x_35 = lean_usize_dec_eq(x_33, x_34); +if (x_35 == 0) +{ +lean_object* x_36; +lean_dec(x_1); +x_36 = l_Lean_mkLevelMax_x27(x_24, x_28); +lean_ctor_set(x_26, 0, x_36); +return x_26; +} +else +{ +lean_object* x_37; +x_37 = l_Lean_simpLevelMax_x27(x_24, x_28, x_1); +lean_dec(x_1); +lean_dec(x_28); +lean_dec(x_24); +lean_ctor_set(x_26, 0, x_37); +return x_26; +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; uint8_t x_42; +x_38 = lean_ctor_get(x_26, 0); +x_39 = lean_ctor_get(x_26, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_26); +x_40 = lean_ptr_addr(x_21); +lean_dec(x_21); +x_41 = lean_ptr_addr(x_24); +x_42 = lean_usize_dec_eq(x_40, x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_22); +lean_dec(x_1); +x_43 = l_Lean_mkLevelMax_x27(x_24, x_38); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_39); +return x_44; +} +else +{ +size_t x_45; size_t x_46; uint8_t x_47; +x_45 = lean_ptr_addr(x_22); +lean_dec(x_22); +x_46 = lean_ptr_addr(x_38); +x_47 = lean_usize_dec_eq(x_45, x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_1); +x_48 = l_Lean_mkLevelMax_x27(x_24, x_38); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_39); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = l_Lean_simpLevelMax_x27(x_24, x_38, x_1); +lean_dec(x_1); +lean_dec(x_38); +lean_dec(x_24); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_39); +return x_51; +} +} +} } case 3: { -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_1, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_1, 1); -lean_inc(x_28); -x_29 = l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars(x_27, x_2); -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___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars(x_28, x_31); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 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; uint8_t x_58; +x_52 = lean_ctor_get(x_1, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_1, 1); +lean_inc(x_53); +lean_inc(x_52); +x_54 = l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars(x_52, x_2); +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); +lean_inc(x_53); +x_57 = l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars(x_53, x_56); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_32, 0); -x_35 = lean_level_update_imax(x_1, x_30, x_34); -lean_ctor_set(x_32, 0, x_35); -return x_32; +lean_object* x_59; size_t x_60; size_t x_61; uint8_t x_62; +x_59 = lean_ctor_get(x_57, 0); +x_60 = lean_ptr_addr(x_52); +lean_dec(x_52); +x_61 = lean_ptr_addr(x_55); +x_62 = lean_usize_dec_eq(x_60, x_61); +if (x_62 == 0) +{ +lean_object* x_63; +lean_dec(x_53); +lean_dec(x_1); +x_63 = l_Lean_mkLevelIMax_x27(x_55, x_59); +lean_ctor_set(x_57, 0, x_63); +return x_57; } else { -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_dec(x_32); -x_38 = lean_level_update_imax(x_1, x_30, x_36); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -return x_39; +size_t x_64; size_t x_65; uint8_t x_66; +x_64 = lean_ptr_addr(x_53); +lean_dec(x_53); +x_65 = lean_ptr_addr(x_59); +x_66 = lean_usize_dec_eq(x_64, x_65); +if (x_66 == 0) +{ +lean_object* x_67; +lean_dec(x_1); +x_67 = l_Lean_mkLevelIMax_x27(x_55, x_59); +lean_ctor_set(x_57, 0, x_67); +return x_57; +} +else +{ +lean_object* x_68; +x_68 = l_Lean_simpLevelIMax_x27(x_55, x_59, x_1); +lean_dec(x_1); +lean_ctor_set(x_57, 0, x_68); +return x_57; +} +} +} +else +{ +lean_object* x_69; lean_object* x_70; size_t x_71; size_t x_72; uint8_t x_73; +x_69 = lean_ctor_get(x_57, 0); +x_70 = lean_ctor_get(x_57, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_57); +x_71 = lean_ptr_addr(x_52); +lean_dec(x_52); +x_72 = lean_ptr_addr(x_55); +x_73 = lean_usize_dec_eq(x_71, x_72); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; +lean_dec(x_53); +lean_dec(x_1); +x_74 = l_Lean_mkLevelIMax_x27(x_55, x_69); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_70); +return x_75; +} +else +{ +size_t x_76; size_t x_77; uint8_t x_78; +x_76 = lean_ptr_addr(x_53); +lean_dec(x_53); +x_77 = lean_ptr_addr(x_69); +x_78 = lean_usize_dec_eq(x_76, x_77); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; +lean_dec(x_1); +x_79 = l_Lean_mkLevelIMax_x27(x_55, x_69); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_70); +return x_80; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = l_Lean_simpLevelIMax_x27(x_55, x_69, x_1); +lean_dec(x_1); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_70); +return x_82; +} +} } } case 5: { -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, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_2, 2); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_41); -x_42 = l_Lean_MetavarContext_getLevelDepth(x_41, x_40); -x_43 = lean_ctor_get(x_41, 0); -lean_inc(x_43); -x_44 = lean_nat_dec_eq(x_42, x_43); -lean_dec(x_43); -lean_dec(x_42); -if (x_44 == 0) +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_83 = lean_ctor_get(x_1, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_2, 2); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_84); +x_85 = l_Lean_MetavarContext_getLevelDepth(x_84, x_83); +x_86 = lean_ctor_get(x_84, 0); +lean_inc(x_86); +x_87 = lean_nat_dec_eq(x_85, x_86); +lean_dec(x_86); +lean_dec(x_85); +if (x_87 == 0) { -lean_object* x_45; -lean_dec(x_41); -lean_dec(x_40); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_1); -lean_ctor_set(x_45, 1, x_2); -return x_45; +lean_object* x_88; +lean_dec(x_84); +lean_dec(x_83); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_1); +lean_ctor_set(x_88, 1, x_2); +return x_88; } else { -lean_object* x_46; lean_object* x_47; +lean_object* x_89; lean_object* x_90; lean_dec(x_1); -x_46 = lean_ctor_get(x_2, 6); -lean_inc(x_46); -lean_inc(x_40); -lean_inc(x_46); -x_47 = l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__1(x_46, x_40); -if (lean_obj_tag(x_47) == 0) +x_89 = lean_ctor_get(x_2, 6); +lean_inc(x_89); +lean_inc(x_83); +lean_inc(x_89); +x_90 = l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__1(x_89, x_83); +if (lean_obj_tag(x_90) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; 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_48 = lean_ctor_get(x_2, 3); -lean_inc(x_48); -x_49 = l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___closed__2; -lean_inc(x_48); -x_50 = l_Lean_Name_num___override(x_49, x_48); -lean_inc(x_50); -x_51 = l_Lean_Level_param___override(x_50); -x_52 = lean_ctor_get(x_2, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_2, 1); -lean_inc(x_53); -x_54 = lean_unsigned_to_nat(1u); -x_55 = lean_nat_add(x_48, x_54); -lean_dec(x_48); -x_56 = lean_ctor_get(x_2, 4); -lean_inc(x_56); -x_57 = lean_array_push(x_56, x_50); -x_58 = lean_ctor_get(x_2, 5); -lean_inc(x_58); -lean_inc(x_51); -x_59 = l_Std_HashMap_insert___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__3(x_46, x_40, x_51); -x_60 = lean_ctor_get(x_2, 7); -lean_inc(x_60); +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_91 = lean_ctor_get(x_2, 3); +lean_inc(x_91); +x_92 = l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___closed__2; +lean_inc(x_91); +x_93 = l_Lean_Name_num___override(x_92, x_91); +lean_inc(x_93); +x_94 = l_Lean_Level_param___override(x_93); +x_95 = lean_ctor_get(x_2, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_2, 1); +lean_inc(x_96); +x_97 = lean_unsigned_to_nat(1u); +x_98 = lean_nat_add(x_91, x_97); +lean_dec(x_91); +x_99 = lean_ctor_get(x_2, 4); +lean_inc(x_99); +x_100 = lean_array_push(x_99, x_93); +x_101 = lean_ctor_get(x_2, 5); +lean_inc(x_101); +lean_inc(x_94); +x_102 = l_Std_HashMap_insert___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__3(x_89, x_83, x_94); +x_103 = lean_ctor_get(x_2, 7); +lean_inc(x_103); lean_dec(x_2); -x_61 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_61, 0, x_52); -lean_ctor_set(x_61, 1, x_53); -lean_ctor_set(x_61, 2, x_41); -lean_ctor_set(x_61, 3, x_55); -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(x_61, 7, x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_51); -lean_ctor_set(x_62, 1, x_61); -return x_62; +x_104 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_104, 0, x_95); +lean_ctor_set(x_104, 1, x_96); +lean_ctor_set(x_104, 2, x_84); +lean_ctor_set(x_104, 3, x_98); +lean_ctor_set(x_104, 4, x_100); +lean_ctor_set(x_104, 5, x_101); +lean_ctor_set(x_104, 6, x_102); +lean_ctor_set(x_104, 7, x_103); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_94); +lean_ctor_set(x_105, 1, x_104); +return x_105; } else { -lean_object* x_63; lean_object* x_64; -lean_dec(x_46); -lean_dec(x_41); -lean_dec(x_40); -x_63 = lean_ctor_get(x_47, 0); -lean_inc(x_63); -lean_dec(x_47); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_2); -return x_64; +lean_object* x_106; lean_object* x_107; +lean_dec(x_89); +lean_dec(x_84); +lean_dec(x_83); +x_106 = lean_ctor_get(x_90, 0); +lean_inc(x_106); +lean_dec(x_90); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_2); +return x_107; } } } default: { -lean_object* x_65; -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_1); -lean_ctor_set(x_65, 1, x_2); -return x_65; +lean_object* x_108; +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_1); +lean_ctor_set(x_108, 1, x_2); +return x_108; } } } @@ -2305,290 +2497,858 @@ case 3: lean_object* x_117; lean_object* x_118; uint8_t x_119; x_117 = lean_ctor_get(x_1, 0); lean_inc(x_117); +lean_inc(x_117); x_118 = l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars(x_117, x_2); x_119 = !lean_is_exclusive(x_118); if (x_119 == 0) { -lean_object* x_120; lean_object* x_121; +lean_object* x_120; size_t x_121; size_t x_122; uint8_t x_123; x_120 = lean_ctor_get(x_118, 0); -x_121 = lean_expr_update_sort(x_1, x_120); -lean_ctor_set(x_118, 0, x_121); +x_121 = lean_ptr_addr(x_117); +lean_dec(x_117); +x_122 = lean_ptr_addr(x_120); +x_123 = lean_usize_dec_eq(x_121, x_122); +if (x_123 == 0) +{ +lean_object* x_124; +lean_dec(x_1); +x_124 = l_Lean_Expr_sort___override(x_120); +lean_ctor_set(x_118, 0, x_124); return x_118; } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_122 = lean_ctor_get(x_118, 0); -x_123 = lean_ctor_get(x_118, 1); -lean_inc(x_123); -lean_inc(x_122); +lean_dec(x_120); +lean_ctor_set(x_118, 0, x_1); +return x_118; +} +} +else +{ +lean_object* x_125; lean_object* x_126; size_t x_127; size_t x_128; uint8_t x_129; +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_124 = lean_expr_update_sort(x_1, x_122); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_123); -return x_125; +x_127 = lean_ptr_addr(x_117); +lean_dec(x_117); +x_128 = lean_ptr_addr(x_125); +x_129 = lean_usize_dec_eq(x_127, x_128); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; +lean_dec(x_1); +x_130 = l_Lean_Expr_sort___override(x_125); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_126); +return x_131; +} +else +{ +lean_object* x_132; +lean_dec(x_125); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_1); +lean_ctor_set(x_132, 1, x_126); +return x_132; +} } } case 4: { -lean_object* x_126; lean_object* x_127; uint8_t x_128; -x_126 = lean_ctor_get(x_1, 1); -lean_inc(x_126); -x_127 = l_List_mapM___at_Lean_Meta_AbstractMVars_abstractExprMVars___spec__10(x_126, x_2); -x_128 = !lean_is_exclusive(x_127); -if (x_128 == 0) +lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; +x_133 = lean_ctor_get(x_1, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_1, 1); +lean_inc(x_134); +lean_inc(x_134); +x_135 = l_List_mapM___at_Lean_Meta_AbstractMVars_abstractExprMVars___spec__10(x_134, x_2); +x_136 = !lean_is_exclusive(x_135); +if (x_136 == 0) { -lean_object* x_129; lean_object* x_130; -x_129 = lean_ctor_get(x_127, 0); -x_130 = lean_expr_update_const(x_1, x_129); -lean_ctor_set(x_127, 0, x_130); -return x_127; +lean_object* x_137; uint8_t x_138; +x_137 = lean_ctor_get(x_135, 0); +x_138 = l_ptrEqList___rarg(x_134, x_137); +lean_dec(x_134); +if (x_138 == 0) +{ +lean_object* x_139; +lean_dec(x_1); +x_139 = l_Lean_Expr_const___override(x_133, x_137); +lean_ctor_set(x_135, 0, x_139); +return x_135; } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -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_dec(x_127); -x_133 = lean_expr_update_const(x_1, x_131); -x_134 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_132); -return x_134; +lean_dec(x_137); +lean_dec(x_133); +lean_ctor_set(x_135, 0, x_1); +return x_135; +} +} +else +{ +lean_object* x_140; lean_object* x_141; uint8_t x_142; +x_140 = lean_ctor_get(x_135, 0); +x_141 = lean_ctor_get(x_135, 1); +lean_inc(x_141); +lean_inc(x_140); +lean_dec(x_135); +x_142 = l_ptrEqList___rarg(x_134, x_140); +lean_dec(x_134); +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; +lean_dec(x_1); +x_143 = l_Lean_Expr_const___override(x_133, x_140); +x_144 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_141); +return x_144; +} +else +{ +lean_object* x_145; +lean_dec(x_140); +lean_dec(x_133); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_1); +lean_ctor_set(x_145, 1, x_141); +return x_145; +} } } case 5: { -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; -x_135 = lean_ctor_get(x_1, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_1, 1); -lean_inc(x_136); -x_137 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_135, x_2); -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 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_136, x_139); -x_141 = !lean_is_exclusive(x_140); -if (x_141 == 0) -{ -lean_object* x_142; lean_object* x_143; -x_142 = lean_ctor_get(x_140, 0); -x_143 = lean_expr_update_app(x_1, x_138, x_142); -lean_ctor_set(x_140, 0, x_143); -return x_140; -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_144 = lean_ctor_get(x_140, 0); -x_145 = lean_ctor_get(x_140, 1); -lean_inc(x_145); -lean_inc(x_144); -lean_dec(x_140); -x_146 = lean_expr_update_app(x_1, x_138, x_144); -x_147 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_145); -return x_147; -} -} -case 6: -{ -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; uint8_t x_155; -x_148 = lean_ctor_get(x_1, 1); -lean_inc(x_148); -x_149 = lean_ctor_get(x_1, 2); +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; +x_146 = lean_ctor_get(x_1, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_1, 1); +lean_inc(x_147); +lean_inc(x_146); +x_148 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_146, x_2); +x_149 = lean_ctor_get(x_148, 0); lean_inc(x_149); -x_150 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_151 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_148, x_2); -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_154 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_149, x_153); -x_155 = !lean_is_exclusive(x_154); -if (x_155 == 0) +x_150 = lean_ctor_get(x_148, 1); +lean_inc(x_150); +lean_dec(x_148); +lean_inc(x_147); +x_151 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_147, x_150); +x_152 = !lean_is_exclusive(x_151); +if (x_152 == 0) { -lean_object* x_156; lean_object* x_157; -x_156 = lean_ctor_get(x_154, 0); -x_157 = lean_expr_update_lambda(x_1, x_150, x_152, x_156); -lean_ctor_set(x_154, 0, x_157); -return x_154; +lean_object* x_153; size_t x_154; size_t x_155; uint8_t x_156; +x_153 = lean_ctor_get(x_151, 0); +x_154 = lean_ptr_addr(x_146); +lean_dec(x_146); +x_155 = lean_ptr_addr(x_149); +x_156 = lean_usize_dec_eq(x_154, x_155); +if (x_156 == 0) +{ +lean_object* x_157; +lean_dec(x_147); +lean_dec(x_1); +x_157 = l_Lean_Expr_app___override(x_149, x_153); +lean_ctor_set(x_151, 0, x_157); +return x_151; } else { -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_158 = lean_ctor_get(x_154, 0); -x_159 = lean_ctor_get(x_154, 1); -lean_inc(x_159); -lean_inc(x_158); -lean_dec(x_154); -x_160 = lean_expr_update_lambda(x_1, x_150, x_152, x_158); -x_161 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_159); -return x_161; -} -} -case 7: +size_t x_158; size_t x_159; uint8_t x_160; +x_158 = lean_ptr_addr(x_147); +lean_dec(x_147); +x_159 = lean_ptr_addr(x_153); +x_160 = lean_usize_dec_eq(x_158, x_159); +if (x_160 == 0) { -lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; -x_162 = lean_ctor_get(x_1, 1); -lean_inc(x_162); -x_163 = lean_ctor_get(x_1, 2); +lean_object* x_161; +lean_dec(x_1); +x_161 = l_Lean_Expr_app___override(x_149, x_153); +lean_ctor_set(x_151, 0, x_161); +return x_151; +} +else +{ +lean_dec(x_153); +lean_dec(x_149); +lean_ctor_set(x_151, 0, x_1); +return x_151; +} +} +} +else +{ +lean_object* x_162; lean_object* x_163; size_t x_164; size_t x_165; uint8_t x_166; +x_162 = lean_ctor_get(x_151, 0); +x_163 = lean_ctor_get(x_151, 1); lean_inc(x_163); -x_164 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_165 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_162, x_2); -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 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_163, x_167); -x_169 = !lean_is_exclusive(x_168); -if (x_169 == 0) +lean_inc(x_162); +lean_dec(x_151); +x_164 = lean_ptr_addr(x_146); +lean_dec(x_146); +x_165 = lean_ptr_addr(x_149); +x_166 = lean_usize_dec_eq(x_164, x_165); +if (x_166 == 0) { -lean_object* x_170; lean_object* x_171; -x_170 = lean_ctor_get(x_168, 0); -x_171 = lean_expr_update_forall(x_1, x_164, x_166, x_170); -lean_ctor_set(x_168, 0, x_171); +lean_object* x_167; lean_object* x_168; +lean_dec(x_147); +lean_dec(x_1); +x_167 = l_Lean_Expr_app___override(x_149, x_162); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_163); return x_168; } else { -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_172 = lean_ctor_get(x_168, 0); -x_173 = lean_ctor_get(x_168, 1); -lean_inc(x_173); -lean_inc(x_172); -lean_dec(x_168); -x_174 = lean_expr_update_forall(x_1, x_164, x_166, x_172); -x_175 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_175, 0, x_174); -lean_ctor_set(x_175, 1, x_173); -return x_175; -} -} -case 8: +size_t x_169; size_t x_170; uint8_t x_171; +x_169 = lean_ptr_addr(x_147); +lean_dec(x_147); +x_170 = lean_ptr_addr(x_162); +x_171 = lean_usize_dec_eq(x_169, x_170); +if (x_171 == 0) { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; +lean_object* x_172; lean_object* x_173; +lean_dec(x_1); +x_172 = l_Lean_Expr_app___override(x_149, x_162); +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_163); +return x_173; +} +else +{ +lean_object* x_174; +lean_dec(x_162); +lean_dec(x_149); +x_174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_174, 0, x_1); +lean_ctor_set(x_174, 1, x_163); +return x_174; +} +} +} +} +case 6: +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_175 = lean_ctor_get(x_1, 0); +lean_inc(x_175); x_176 = lean_ctor_get(x_1, 1); lean_inc(x_176); x_177 = lean_ctor_get(x_1, 2); lean_inc(x_177); -x_178 = lean_ctor_get(x_1, 3); -lean_inc(x_178); +x_178 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_176); x_179 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_176, x_2); 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); +lean_inc(x_177); x_182 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_177, x_181); -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_182, 1); -lean_inc(x_184); -lean_dec(x_182); -x_185 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_178, x_184); -x_186 = !lean_is_exclusive(x_185); -if (x_186 == 0) +x_183 = !lean_is_exclusive(x_182); +if (x_183 == 0) { -lean_object* x_187; lean_object* x_188; -x_187 = lean_ctor_get(x_185, 0); -x_188 = lean_expr_update_let(x_1, x_180, x_183, x_187); -lean_ctor_set(x_185, 0, x_188); -return x_185; -} -else +lean_object* x_184; lean_object* x_185; size_t x_186; size_t x_187; uint8_t x_188; +x_184 = lean_ctor_get(x_182, 0); +lean_inc(x_177); +lean_inc(x_176); +lean_inc(x_175); +x_185 = l_Lean_Expr_lam___override(x_175, x_176, x_177, x_178); +x_186 = lean_ptr_addr(x_176); +lean_dec(x_176); +x_187 = lean_ptr_addr(x_180); +x_188 = lean_usize_dec_eq(x_186, x_187); +if (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_185, 0); -x_190 = lean_ctor_get(x_185, 1); -lean_inc(x_190); -lean_inc(x_189); +lean_object* x_189; lean_dec(x_185); -x_191 = lean_expr_update_let(x_1, x_180, x_183, x_189); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_190); -return x_192; -} -} -case 10: -{ -lean_object* x_193; lean_object* x_194; uint8_t x_195; -x_193 = lean_ctor_get(x_1, 1); -lean_inc(x_193); -x_194 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_193, x_2); -x_195 = !lean_is_exclusive(x_194); -if (x_195 == 0) -{ -lean_object* x_196; lean_object* x_197; -x_196 = lean_ctor_get(x_194, 0); -x_197 = lean_expr_update_mdata(x_1, x_196); -lean_ctor_set(x_194, 0, x_197); -return x_194; +lean_dec(x_177); +x_189 = l_Lean_Expr_lam___override(x_175, x_180, x_184, x_178); +lean_ctor_set(x_182, 0, x_189); +return x_182; } else { -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_198 = lean_ctor_get(x_194, 0); -x_199 = lean_ctor_get(x_194, 1); -lean_inc(x_199); -lean_inc(x_198); -lean_dec(x_194); -x_200 = lean_expr_update_mdata(x_1, x_198); -x_201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_199); -return x_201; +size_t x_190; size_t x_191; uint8_t x_192; +x_190 = lean_ptr_addr(x_177); +lean_dec(x_177); +x_191 = lean_ptr_addr(x_184); +x_192 = lean_usize_dec_eq(x_190, x_191); +if (x_192 == 0) +{ +lean_object* x_193; +lean_dec(x_185); +x_193 = l_Lean_Expr_lam___override(x_175, x_180, x_184, x_178); +lean_ctor_set(x_182, 0, x_193); +return x_182; +} +else +{ +uint8_t x_194; +x_194 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_178, x_178); +if (x_194 == 0) +{ +lean_object* x_195; +lean_dec(x_185); +x_195 = l_Lean_Expr_lam___override(x_175, x_180, x_184, x_178); +lean_ctor_set(x_182, 0, x_195); +return x_182; +} +else +{ +lean_dec(x_184); +lean_dec(x_180); +lean_dec(x_175); +lean_ctor_set(x_182, 0, x_185); +return x_182; } } -case 11: +} +} +else { -lean_object* x_202; lean_object* x_203; uint8_t x_204; -x_202 = lean_ctor_get(x_1, 2); -lean_inc(x_202); -x_203 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_202, x_2); -x_204 = !lean_is_exclusive(x_203); -if (x_204 == 0) +lean_object* x_196; lean_object* x_197; lean_object* x_198; size_t x_199; size_t x_200; uint8_t x_201; +x_196 = lean_ctor_get(x_182, 0); +x_197 = lean_ctor_get(x_182, 1); +lean_inc(x_197); +lean_inc(x_196); +lean_dec(x_182); +lean_inc(x_177); +lean_inc(x_176); +lean_inc(x_175); +x_198 = l_Lean_Expr_lam___override(x_175, x_176, x_177, x_178); +x_199 = lean_ptr_addr(x_176); +lean_dec(x_176); +x_200 = lean_ptr_addr(x_180); +x_201 = lean_usize_dec_eq(x_199, x_200); +if (x_201 == 0) { -lean_object* x_205; lean_object* x_206; -x_205 = lean_ctor_get(x_203, 0); -x_206 = lean_expr_update_proj(x_1, x_205); -lean_ctor_set(x_203, 0, x_206); +lean_object* x_202; lean_object* x_203; +lean_dec(x_198); +lean_dec(x_177); +x_202 = l_Lean_Expr_lam___override(x_175, x_180, x_196, x_178); +x_203 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_197); return x_203; } else { -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; -x_207 = lean_ctor_get(x_203, 0); -x_208 = lean_ctor_get(x_203, 1); -lean_inc(x_208); -lean_inc(x_207); -lean_dec(x_203); -x_209 = lean_expr_update_proj(x_1, x_207); -x_210 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_208); -return x_210; +size_t x_204; size_t x_205; uint8_t x_206; +x_204 = lean_ptr_addr(x_177); +lean_dec(x_177); +x_205 = lean_ptr_addr(x_196); +x_206 = lean_usize_dec_eq(x_204, x_205); +if (x_206 == 0) +{ +lean_object* x_207; lean_object* x_208; +lean_dec(x_198); +x_207 = l_Lean_Expr_lam___override(x_175, x_180, x_196, x_178); +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_197); +return x_208; +} +else +{ +uint8_t x_209; +x_209 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_178, x_178); +if (x_209 == 0) +{ +lean_object* x_210; lean_object* x_211; +lean_dec(x_198); +x_210 = l_Lean_Expr_lam___override(x_175, x_180, x_196, x_178); +x_211 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_197); +return x_211; +} +else +{ +lean_object* x_212; +lean_dec(x_196); +lean_dec(x_180); +lean_dec(x_175); +x_212 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_212, 0, x_198); +lean_ctor_set(x_212, 1, x_197); +return x_212; +} +} +} +} +} +case 7: +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; +x_213 = lean_ctor_get(x_1, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_1, 1); +lean_inc(x_214); +x_215 = lean_ctor_get(x_1, 2); +lean_inc(x_215); +x_216 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_214); +x_217 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_214, x_2); +x_218 = lean_ctor_get(x_217, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_217, 1); +lean_inc(x_219); +lean_dec(x_217); +lean_inc(x_215); +x_220 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_215, x_219); +x_221 = !lean_is_exclusive(x_220); +if (x_221 == 0) +{ +lean_object* x_222; lean_object* x_223; size_t x_224; size_t x_225; uint8_t x_226; +x_222 = lean_ctor_get(x_220, 0); +lean_inc(x_215); +lean_inc(x_214); +lean_inc(x_213); +x_223 = l_Lean_Expr_forallE___override(x_213, x_214, x_215, x_216); +x_224 = lean_ptr_addr(x_214); +lean_dec(x_214); +x_225 = lean_ptr_addr(x_218); +x_226 = lean_usize_dec_eq(x_224, x_225); +if (x_226 == 0) +{ +lean_object* x_227; +lean_dec(x_223); +lean_dec(x_215); +x_227 = l_Lean_Expr_forallE___override(x_213, x_218, x_222, x_216); +lean_ctor_set(x_220, 0, x_227); +return x_220; +} +else +{ +size_t x_228; size_t x_229; uint8_t x_230; +x_228 = lean_ptr_addr(x_215); +lean_dec(x_215); +x_229 = lean_ptr_addr(x_222); +x_230 = lean_usize_dec_eq(x_228, x_229); +if (x_230 == 0) +{ +lean_object* x_231; +lean_dec(x_223); +x_231 = l_Lean_Expr_forallE___override(x_213, x_218, x_222, x_216); +lean_ctor_set(x_220, 0, x_231); +return x_220; +} +else +{ +uint8_t x_232; +x_232 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_216, x_216); +if (x_232 == 0) +{ +lean_object* x_233; +lean_dec(x_223); +x_233 = l_Lean_Expr_forallE___override(x_213, x_218, x_222, x_216); +lean_ctor_set(x_220, 0, x_233); +return x_220; +} +else +{ +lean_dec(x_222); +lean_dec(x_218); +lean_dec(x_213); +lean_ctor_set(x_220, 0, x_223); +return x_220; +} +} +} +} +else +{ +lean_object* x_234; lean_object* x_235; lean_object* x_236; size_t x_237; size_t x_238; uint8_t x_239; +x_234 = lean_ctor_get(x_220, 0); +x_235 = lean_ctor_get(x_220, 1); +lean_inc(x_235); +lean_inc(x_234); +lean_dec(x_220); +lean_inc(x_215); +lean_inc(x_214); +lean_inc(x_213); +x_236 = l_Lean_Expr_forallE___override(x_213, x_214, x_215, x_216); +x_237 = lean_ptr_addr(x_214); +lean_dec(x_214); +x_238 = lean_ptr_addr(x_218); +x_239 = lean_usize_dec_eq(x_237, x_238); +if (x_239 == 0) +{ +lean_object* x_240; lean_object* x_241; +lean_dec(x_236); +lean_dec(x_215); +x_240 = l_Lean_Expr_forallE___override(x_213, x_218, x_234, x_216); +x_241 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_235); +return x_241; +} +else +{ +size_t x_242; size_t x_243; uint8_t x_244; +x_242 = lean_ptr_addr(x_215); +lean_dec(x_215); +x_243 = lean_ptr_addr(x_234); +x_244 = lean_usize_dec_eq(x_242, x_243); +if (x_244 == 0) +{ +lean_object* x_245; lean_object* x_246; +lean_dec(x_236); +x_245 = l_Lean_Expr_forallE___override(x_213, x_218, x_234, x_216); +x_246 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_235); +return x_246; +} +else +{ +uint8_t x_247; +x_247 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_216, x_216); +if (x_247 == 0) +{ +lean_object* x_248; lean_object* x_249; +lean_dec(x_236); +x_248 = l_Lean_Expr_forallE___override(x_213, x_218, x_234, x_216); +x_249 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_235); +return x_249; +} +else +{ +lean_object* x_250; +lean_dec(x_234); +lean_dec(x_218); +lean_dec(x_213); +x_250 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_250, 0, x_236); +lean_ctor_set(x_250, 1, x_235); +return x_250; +} +} +} +} +} +case 8: +{ +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; uint8_t 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; uint8_t x_263; +x_251 = lean_ctor_get(x_1, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_1, 1); +lean_inc(x_252); +x_253 = lean_ctor_get(x_1, 2); +lean_inc(x_253); +x_254 = lean_ctor_get(x_1, 3); +lean_inc(x_254); +x_255 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); +lean_inc(x_252); +x_256 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_252, x_2); +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); +lean_inc(x_253); +x_259 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_253, x_258); +x_260 = lean_ctor_get(x_259, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_259, 1); +lean_inc(x_261); +lean_dec(x_259); +lean_inc(x_254); +x_262 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_254, x_261); +x_263 = !lean_is_exclusive(x_262); +if (x_263 == 0) +{ +lean_object* x_264; size_t x_265; size_t x_266; uint8_t x_267; +x_264 = lean_ctor_get(x_262, 0); +x_265 = lean_ptr_addr(x_252); +lean_dec(x_252); +x_266 = lean_ptr_addr(x_257); +x_267 = lean_usize_dec_eq(x_265, x_266); +if (x_267 == 0) +{ +lean_object* x_268; +lean_dec(x_254); +lean_dec(x_253); +lean_dec(x_1); +x_268 = l_Lean_Expr_letE___override(x_251, x_257, x_260, x_264, x_255); +lean_ctor_set(x_262, 0, x_268); +return x_262; +} +else +{ +size_t x_269; size_t x_270; uint8_t x_271; +x_269 = lean_ptr_addr(x_253); +lean_dec(x_253); +x_270 = lean_ptr_addr(x_260); +x_271 = lean_usize_dec_eq(x_269, x_270); +if (x_271 == 0) +{ +lean_object* x_272; +lean_dec(x_254); +lean_dec(x_1); +x_272 = l_Lean_Expr_letE___override(x_251, x_257, x_260, x_264, x_255); +lean_ctor_set(x_262, 0, x_272); +return x_262; +} +else +{ +size_t x_273; size_t x_274; uint8_t x_275; +x_273 = lean_ptr_addr(x_254); +lean_dec(x_254); +x_274 = lean_ptr_addr(x_264); +x_275 = lean_usize_dec_eq(x_273, x_274); +if (x_275 == 0) +{ +lean_object* x_276; +lean_dec(x_1); +x_276 = l_Lean_Expr_letE___override(x_251, x_257, x_260, x_264, x_255); +lean_ctor_set(x_262, 0, x_276); +return x_262; +} +else +{ +lean_dec(x_264); +lean_dec(x_260); +lean_dec(x_257); +lean_dec(x_251); +lean_ctor_set(x_262, 0, x_1); +return x_262; +} +} +} +} +else +{ +lean_object* x_277; lean_object* x_278; size_t x_279; size_t x_280; uint8_t x_281; +x_277 = lean_ctor_get(x_262, 0); +x_278 = lean_ctor_get(x_262, 1); +lean_inc(x_278); +lean_inc(x_277); +lean_dec(x_262); +x_279 = lean_ptr_addr(x_252); +lean_dec(x_252); +x_280 = lean_ptr_addr(x_257); +x_281 = lean_usize_dec_eq(x_279, x_280); +if (x_281 == 0) +{ +lean_object* x_282; lean_object* x_283; +lean_dec(x_254); +lean_dec(x_253); +lean_dec(x_1); +x_282 = l_Lean_Expr_letE___override(x_251, x_257, x_260, x_277, x_255); +x_283 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_278); +return x_283; +} +else +{ +size_t x_284; size_t x_285; uint8_t x_286; +x_284 = lean_ptr_addr(x_253); +lean_dec(x_253); +x_285 = lean_ptr_addr(x_260); +x_286 = lean_usize_dec_eq(x_284, x_285); +if (x_286 == 0) +{ +lean_object* x_287; lean_object* x_288; +lean_dec(x_254); +lean_dec(x_1); +x_287 = l_Lean_Expr_letE___override(x_251, x_257, x_260, x_277, x_255); +x_288 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_288, 0, x_287); +lean_ctor_set(x_288, 1, x_278); +return x_288; +} +else +{ +size_t x_289; size_t x_290; uint8_t x_291; +x_289 = lean_ptr_addr(x_254); +lean_dec(x_254); +x_290 = lean_ptr_addr(x_277); +x_291 = lean_usize_dec_eq(x_289, x_290); +if (x_291 == 0) +{ +lean_object* x_292; lean_object* x_293; +lean_dec(x_1); +x_292 = l_Lean_Expr_letE___override(x_251, x_257, x_260, x_277, x_255); +x_293 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_293, 0, x_292); +lean_ctor_set(x_293, 1, x_278); +return x_293; +} +else +{ +lean_object* x_294; +lean_dec(x_277); +lean_dec(x_260); +lean_dec(x_257); +lean_dec(x_251); +x_294 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_294, 0, x_1); +lean_ctor_set(x_294, 1, x_278); +return x_294; +} +} +} +} +} +case 10: +{ +lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; +x_295 = lean_ctor_get(x_1, 0); +lean_inc(x_295); +x_296 = lean_ctor_get(x_1, 1); +lean_inc(x_296); +lean_inc(x_296); +x_297 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_296, x_2); +x_298 = !lean_is_exclusive(x_297); +if (x_298 == 0) +{ +lean_object* x_299; size_t x_300; size_t x_301; uint8_t x_302; +x_299 = lean_ctor_get(x_297, 0); +x_300 = lean_ptr_addr(x_296); +lean_dec(x_296); +x_301 = lean_ptr_addr(x_299); +x_302 = lean_usize_dec_eq(x_300, x_301); +if (x_302 == 0) +{ +lean_object* x_303; +lean_dec(x_1); +x_303 = l_Lean_Expr_mdata___override(x_295, x_299); +lean_ctor_set(x_297, 0, x_303); +return x_297; +} +else +{ +lean_dec(x_299); +lean_dec(x_295); +lean_ctor_set(x_297, 0, x_1); +return x_297; +} +} +else +{ +lean_object* x_304; lean_object* x_305; size_t x_306; size_t x_307; uint8_t x_308; +x_304 = lean_ctor_get(x_297, 0); +x_305 = lean_ctor_get(x_297, 1); +lean_inc(x_305); +lean_inc(x_304); +lean_dec(x_297); +x_306 = lean_ptr_addr(x_296); +lean_dec(x_296); +x_307 = lean_ptr_addr(x_304); +x_308 = lean_usize_dec_eq(x_306, x_307); +if (x_308 == 0) +{ +lean_object* x_309; lean_object* x_310; +lean_dec(x_1); +x_309 = l_Lean_Expr_mdata___override(x_295, x_304); +x_310 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_310, 0, x_309); +lean_ctor_set(x_310, 1, x_305); +return x_310; +} +else +{ +lean_object* x_311; +lean_dec(x_304); +lean_dec(x_295); +x_311 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_311, 0, x_1); +lean_ctor_set(x_311, 1, x_305); +return x_311; +} +} +} +case 11: +{ +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; uint8_t x_316; +x_312 = lean_ctor_get(x_1, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_1, 1); +lean_inc(x_313); +x_314 = lean_ctor_get(x_1, 2); +lean_inc(x_314); +lean_inc(x_314); +x_315 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_314, x_2); +x_316 = !lean_is_exclusive(x_315); +if (x_316 == 0) +{ +lean_object* x_317; size_t x_318; size_t x_319; uint8_t x_320; +x_317 = lean_ctor_get(x_315, 0); +x_318 = lean_ptr_addr(x_314); +lean_dec(x_314); +x_319 = lean_ptr_addr(x_317); +x_320 = lean_usize_dec_eq(x_318, x_319); +if (x_320 == 0) +{ +lean_object* x_321; +lean_dec(x_1); +x_321 = l_Lean_Expr_proj___override(x_312, x_313, x_317); +lean_ctor_set(x_315, 0, x_321); +return x_315; +} +else +{ +lean_dec(x_317); +lean_dec(x_313); +lean_dec(x_312); +lean_ctor_set(x_315, 0, x_1); +return x_315; +} +} +else +{ +lean_object* x_322; lean_object* x_323; size_t x_324; size_t x_325; uint8_t x_326; +x_322 = lean_ctor_get(x_315, 0); +x_323 = lean_ctor_get(x_315, 1); +lean_inc(x_323); +lean_inc(x_322); +lean_dec(x_315); +x_324 = lean_ptr_addr(x_314); +lean_dec(x_314); +x_325 = lean_ptr_addr(x_322); +x_326 = lean_usize_dec_eq(x_324, x_325); +if (x_326 == 0) +{ +lean_object* x_327; lean_object* x_328; +lean_dec(x_1); +x_327 = l_Lean_Expr_proj___override(x_312, x_313, x_322); +x_328 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_328, 0, x_327); +lean_ctor_set(x_328, 1, x_323); +return x_328; +} +else +{ +lean_object* x_329; +lean_dec(x_322); +lean_dec(x_313); +lean_dec(x_312); +x_329 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_329, 0, x_1); +lean_ctor_set(x_329, 1, x_323); +return x_329; +} } } default: { -lean_object* x_211; -x_211 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_211, 0, x_1); -lean_ctor_set(x_211, 1, x_2); -return x_211; +lean_object* x_330; +x_330 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_330, 0, x_1); +lean_ctor_set(x_330, 1, x_2); +return x_330; } } } diff --git a/stage0/stdlib/Lean/Meta/AbstractNestedProofs.c b/stage0/stdlib/Lean/Meta/AbstractNestedProofs.c index bb091e473c..95a7c3dde4 100644 --- a/stage0/stdlib/Lean/Meta/AbstractNestedProofs.c +++ b/stage0/stdlib/Lean/Meta/AbstractNestedProofs.c @@ -22,10 +22,10 @@ lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint lean_object* l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(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* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_AbstractNestedProofs_isNonTrivialProof___spec__1(lean_object*, size_t, size_t); static lean_object* l_Lean_Meta_abstractNestedProofs___closed__1; +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); @@ -61,12 +61,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_AbstractNestedProofs_0__Lean_Meta LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_AbstractNestedProofs_visit___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*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_AbstractNestedProofs_0__Lean_Meta_AbstractNestedProofs_mkAuxLemma(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l___private_Lean_Meta_AbstractNestedProofs_0__Lean_Meta_AbstractNestedProofs_mkAuxLemma___closed__1; lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l_Lean_LocalDecl_value_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at_Lean_Meta_AbstractNestedProofs_visit___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_ptr_addr(lean_object*); lean_object* l_Lean_LocalDecl_index(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_AbstractNestedProofs_visit___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_Array_forInUnsafe_loop___at_Lean_Meta_AbstractNestedProofs_visit___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -90,6 +90,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_AbstractNestedProofs_visit___lambda__1___bo lean_object* l___private_Lean_MonadEnv_0__Lean_mkAuxNameAux(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_AbstractNestedProofs_visit___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_AbstractNestedProofs_visit___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_setType(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_Lean_Meta_AbstractNestedProofs_visit___spec__7(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1686,166 +1687,145 @@ return x_75; } case 10: { -lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; x_76 = lean_ctor_get(x_32, 1); lean_inc(x_76); lean_dec(x_32); -x_77 = lean_ctor_get(x_1, 1); +x_77 = lean_ctor_get(x_1, 0); lean_inc(x_77); +x_78 = lean_ctor_get(x_1, 1); +lean_inc(x_78); lean_inc(x_8); lean_inc(x_3); -x_78 = l_Lean_Meta_AbstractNestedProofs_visit(x_77, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_76); -if (lean_obj_tag(x_78) == 0) +lean_inc(x_78); +x_79 = l_Lean_Meta_AbstractNestedProofs_visit(x_78, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_76); +if (lean_obj_tag(x_79) == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); +lean_object* x_80; lean_object* x_81; size_t x_82; size_t x_83; uint8_t x_84; +x_80 = lean_ctor_get(x_79, 0); lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); +x_82 = lean_ptr_addr(x_78); lean_dec(x_78); -lean_inc(x_1); -x_81 = lean_expr_update_mdata(x_1, x_79); -x_18 = x_81; -x_19 = x_80; +x_83 = lean_ptr_addr(x_80); +x_84 = lean_usize_dec_eq(x_82, x_83); +if (x_84 == 0) +{ +lean_object* x_85; +x_85 = l_Lean_Expr_mdata___override(x_77, x_80); +x_18 = x_85; +x_19 = x_81; goto block_31; } else { -uint8_t x_82; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_1); -x_82 = !lean_is_exclusive(x_78); -if (x_82 == 0) -{ -return x_78; +lean_dec(x_80); +lean_dec(x_77); +lean_inc(x_1); +x_18 = x_1; +x_19 = x_81; +goto block_31; +} } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_78, 0); -x_84 = lean_ctor_get(x_78, 1); -lean_inc(x_84); -lean_inc(x_83); +uint8_t x_86; lean_dec(x_78); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; +lean_dec(x_77); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_1); +x_86 = !lean_is_exclusive(x_79); +if (x_86 == 0) +{ +return x_79; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_79, 0); +x_88 = lean_ctor_get(x_79, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_79); +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; } } } case 11: { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_32, 1); -lean_inc(x_86); +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_32, 1); +lean_inc(x_90); lean_dec(x_32); -x_87 = lean_ctor_get(x_1, 2); -lean_inc(x_87); +x_91 = lean_ctor_get(x_1, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_1, 1); +lean_inc(x_92); +x_93 = lean_ctor_get(x_1, 2); +lean_inc(x_93); lean_inc(x_8); lean_inc(x_3); -x_88 = l_Lean_Meta_AbstractNestedProofs_visit(x_87, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_86); -if (lean_obj_tag(x_88) == 0) +lean_inc(x_93); +x_94 = l_Lean_Meta_AbstractNestedProofs_visit(x_93, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_90); +if (lean_obj_tag(x_94) == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -lean_inc(x_1); -x_91 = lean_expr_update_proj(x_1, x_89); -x_18 = x_91; -x_19 = x_90; +lean_object* x_95; lean_object* x_96; size_t x_97; size_t x_98; uint8_t x_99; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_ptr_addr(x_93); +lean_dec(x_93); +x_98 = lean_ptr_addr(x_95); +x_99 = lean_usize_dec_eq(x_97, x_98); +if (x_99 == 0) +{ +lean_object* x_100; +x_100 = l_Lean_Expr_proj___override(x_91, x_92, x_95); +x_18 = x_100; +x_19 = x_96; goto block_31; } else { -uint8_t x_92; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_1); -x_92 = !lean_is_exclusive(x_88); -if (x_92 == 0) -{ -return x_88; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_88, 0); -x_94 = lean_ctor_get(x_88, 1); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_88); -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; -} -} -} -default: -{ -lean_object* x_96; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_96 = lean_ctor_get(x_32, 1); -lean_inc(x_96); -lean_dec(x_32); +lean_dec(x_95); +lean_dec(x_92); +lean_dec(x_91); lean_inc(x_1); x_18 = x_1; x_19 = x_96; goto block_31; } } -} -else -{ -lean_object* x_97; lean_object* x_98; -x_97 = lean_ctor_get(x_32, 1); -lean_inc(x_97); -lean_dec(x_32); -lean_inc(x_8); -lean_inc(x_1); -x_98 = l___private_Lean_Meta_AbstractNestedProofs_0__Lean_Meta_AbstractNestedProofs_mkAuxLemma(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_97); -lean_dec(x_4); -lean_dec(x_2); -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_99; lean_object* x_100; -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_18 = x_99; -x_19 = x_100; -goto block_31; -} else { uint8_t x_101; +lean_dec(x_93); +lean_dec(x_92); +lean_dec(x_91); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_101 = !lean_is_exclusive(x_98); +x_101 = !lean_is_exclusive(x_94); if (x_101 == 0) { -return x_98; +return x_94; } else { lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_98, 0); -x_103 = lean_ctor_get(x_98, 1); +x_102 = lean_ctor_get(x_94, 0); +x_103 = lean_ctor_get(x_94, 1); lean_inc(x_103); lean_inc(x_102); -lean_dec(x_98); +lean_dec(x_94); x_104 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_104, 0, x_102); lean_ctor_set(x_104, 1, x_103); @@ -1853,10 +1833,77 @@ return x_104; } } } +default: +{ +lean_object* x_105; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_105 = lean_ctor_get(x_32, 1); +lean_inc(x_105); +lean_dec(x_32); +lean_inc(x_1); +x_18 = x_1; +x_19 = x_105; +goto block_31; +} +} } else { -uint8_t x_105; +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_32, 1); +lean_inc(x_106); +lean_dec(x_32); +lean_inc(x_8); +lean_inc(x_1); +x_107 = l___private_Lean_Meta_AbstractNestedProofs_0__Lean_Meta_AbstractNestedProofs_mkAuxLemma(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_106); +lean_dec(x_4); +lean_dec(x_2); +if (lean_obj_tag(x_107) == 0) +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +lean_dec(x_107); +x_18 = x_108; +x_19 = x_109; +goto block_31; +} +else +{ +uint8_t x_110; +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_1); +x_110 = !lean_is_exclusive(x_107); +if (x_110 == 0) +{ +return x_107; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_107, 0); +x_112 = lean_ctor_get(x_107, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_107); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +return x_113; +} +} +} +} +else +{ +uint8_t x_114; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -1865,23 +1912,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_105 = !lean_is_exclusive(x_32); -if (x_105 == 0) +x_114 = !lean_is_exclusive(x_32); +if (x_114 == 0) { return x_32; } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_32, 0); -x_107 = lean_ctor_get(x_32, 1); -lean_inc(x_107); -lean_inc(x_106); +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_32, 0); +x_116 = lean_ctor_get(x_32, 1); +lean_inc(x_116); +lean_inc(x_115); lean_dec(x_32); -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; +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; } } block_31: @@ -1926,7 +1973,7 @@ return x_30; } else { -lean_object* x_109; +lean_object* x_118; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -1935,111 +1982,60 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_109 = lean_ctor_get(x_17, 0); -lean_inc(x_109); +x_118 = lean_ctor_get(x_17, 0); +lean_inc(x_118); lean_dec(x_17); -lean_ctor_set(x_13, 0, x_109); +lean_ctor_set(x_13, 0, x_118); return x_13; } } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_13, 0); -x_111 = lean_ctor_get(x_13, 1); -lean_inc(x_111); -lean_inc(x_110); +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_13, 0); +x_120 = lean_ctor_get(x_13, 1); +lean_inc(x_120); +lean_inc(x_119); lean_dec(x_13); lean_inc(x_1); -x_112 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_110, x_1); -if (lean_obj_tag(x_112) == 0) +x_121 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_119, x_1); +if (lean_obj_tag(x_121) == 0) { -lean_object* x_113; lean_object* x_114; lean_object* x_126; +lean_object* x_122; lean_object* x_123; lean_object* x_135; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); -x_126 = l_Lean_Meta_AbstractNestedProofs_isNonTrivialProof(x_1, x_5, x_6, x_7, x_8, x_111); -if (lean_obj_tag(x_126) == 0) +x_135 = l_Lean_Meta_AbstractNestedProofs_isNonTrivialProof(x_1, x_5, x_6, x_7, x_8, x_120); +if (lean_obj_tag(x_135) == 0) { -lean_object* x_127; uint8_t x_128; -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -x_128 = lean_unbox(x_127); -lean_dec(x_127); -if (x_128 == 0) +lean_object* x_136; uint8_t x_137; +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) { switch (lean_obj_tag(x_1)) { case 5: { -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_129 = lean_ctor_get(x_126, 1); -lean_inc(x_129); -lean_dec(x_126); -x_130 = lean_unsigned_to_nat(0u); -x_131 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_130); -x_132 = l_Lean_Meta_AbstractNestedProofs_isNonTrivialProof___closed__1; -lean_inc(x_131); -x_133 = lean_mk_array(x_131, x_132); -x_134 = lean_unsigned_to_nat(1u); -x_135 = lean_nat_sub(x_131, x_134); -lean_dec(x_131); -lean_inc(x_8); -lean_inc(x_3); -lean_inc(x_1); -x_136 = l_Lean_Expr_withAppAux___at_Lean_Meta_AbstractNestedProofs_visit___spec__2(x_1, x_133, x_135, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_129); -if (lean_obj_tag(x_136) == 0) -{ -lean_object* x_137; lean_object* x_138; -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); +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_138 = lean_ctor_get(x_135, 1); lean_inc(x_138); -lean_dec(x_136); -x_113 = x_137; -x_114 = x_138; -goto block_125; -} -else -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_1); -x_139 = lean_ctor_get(x_136, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_136, 1); +lean_dec(x_135); +x_139 = lean_unsigned_to_nat(0u); +x_140 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_139); +x_141 = l_Lean_Meta_AbstractNestedProofs_isNonTrivialProof___closed__1; lean_inc(x_140); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_141 = x_136; -} else { - lean_dec_ref(x_136); - x_141 = lean_box(0); -} -if (lean_is_scalar(x_141)) { - x_142 = lean_alloc_ctor(1, 2, 0); -} else { - x_142 = x_141; -} -lean_ctor_set(x_142, 0, x_139); -lean_ctor_set(x_142, 1, x_140); -return x_142; -} -} -case 6: -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_143 = lean_ctor_get(x_126, 1); -lean_inc(x_143); -lean_dec(x_126); -x_144 = l_Lean_Meta_AbstractNestedProofs_visit___closed__1; +x_142 = lean_mk_array(x_140, x_141); +x_143 = lean_unsigned_to_nat(1u); +x_144 = lean_nat_sub(x_140, x_143); +lean_dec(x_140); lean_inc(x_8); lean_inc(x_3); lean_inc(x_1); -x_145 = l_Lean_Meta_lambdaLetTelescope___at_Lean_Meta_AbstractNestedProofs_visit___spec__6___rarg(x_1, x_144, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_143); +x_145 = l_Lean_Expr_withAppAux___at_Lean_Meta_AbstractNestedProofs_visit___spec__2(x_1, x_142, x_144, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_138); if (lean_obj_tag(x_145) == 0) { lean_object* x_146; lean_object* x_147; @@ -2048,9 +2044,9 @@ lean_inc(x_146); x_147 = lean_ctor_get(x_145, 1); lean_inc(x_147); lean_dec(x_145); -x_113 = x_146; -x_114 = x_147; -goto block_125; +x_122 = x_146; +x_123 = x_147; +goto block_134; } else { @@ -2080,17 +2076,17 @@ lean_ctor_set(x_151, 1, x_149); return x_151; } } -case 7: +case 6: { lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_126, 1); +x_152 = lean_ctor_get(x_135, 1); lean_inc(x_152); -lean_dec(x_126); -x_153 = l_Lean_Meta_AbstractNestedProofs_visit___closed__2; +lean_dec(x_135); +x_153 = l_Lean_Meta_AbstractNestedProofs_visit___closed__1; lean_inc(x_8); lean_inc(x_3); lean_inc(x_1); -x_154 = l_Lean_Meta_forallTelescope___at_Lean_Meta_AbstractNestedProofs_visit___spec__7___rarg(x_1, x_153, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_152); +x_154 = l_Lean_Meta_lambdaLetTelescope___at_Lean_Meta_AbstractNestedProofs_visit___spec__6___rarg(x_1, x_153, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_152); if (lean_obj_tag(x_154) == 0) { lean_object* x_155; lean_object* x_156; @@ -2099,9 +2095,9 @@ lean_inc(x_155); x_156 = lean_ctor_get(x_154, 1); lean_inc(x_156); lean_dec(x_154); -x_113 = x_155; -x_114 = x_156; -goto block_125; +x_122 = x_155; +x_123 = x_156; +goto block_134; } else { @@ -2131,17 +2127,17 @@ lean_ctor_set(x_160, 1, x_158); return x_160; } } -case 8: +case 7: { lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_161 = lean_ctor_get(x_126, 1); +x_161 = lean_ctor_get(x_135, 1); lean_inc(x_161); -lean_dec(x_126); -x_162 = l_Lean_Meta_AbstractNestedProofs_visit___closed__1; +lean_dec(x_135); +x_162 = l_Lean_Meta_AbstractNestedProofs_visit___closed__2; lean_inc(x_8); lean_inc(x_3); lean_inc(x_1); -x_163 = l_Lean_Meta_lambdaLetTelescope___at_Lean_Meta_AbstractNestedProofs_visit___spec__6___rarg(x_1, x_162, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_161); +x_163 = l_Lean_Meta_forallTelescope___at_Lean_Meta_AbstractNestedProofs_visit___spec__7___rarg(x_1, x_162, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_161); if (lean_obj_tag(x_163) == 0) { lean_object* x_164; lean_object* x_165; @@ -2150,9 +2146,9 @@ lean_inc(x_164); x_165 = lean_ctor_get(x_163, 1); lean_inc(x_165); lean_dec(x_163); -x_113 = x_164; -x_114 = x_165; -goto block_125; +x_122 = x_164; +x_123 = x_165; +goto block_134; } else { @@ -2182,185 +2178,282 @@ lean_ctor_set(x_169, 1, x_167); return x_169; } } -case 10: +case 8: { lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_170 = lean_ctor_get(x_126, 1); +x_170 = lean_ctor_get(x_135, 1); lean_inc(x_170); -lean_dec(x_126); -x_171 = lean_ctor_get(x_1, 1); -lean_inc(x_171); +lean_dec(x_135); +x_171 = l_Lean_Meta_AbstractNestedProofs_visit___closed__1; lean_inc(x_8); lean_inc(x_3); -x_172 = l_Lean_Meta_AbstractNestedProofs_visit(x_171, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_170); +lean_inc(x_1); +x_172 = l_Lean_Meta_lambdaLetTelescope___at_Lean_Meta_AbstractNestedProofs_visit___spec__6___rarg(x_1, x_171, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_170); if (lean_obj_tag(x_172) == 0) { -lean_object* x_173; lean_object* x_174; lean_object* x_175; +lean_object* x_173; lean_object* x_174; x_173 = lean_ctor_get(x_172, 0); lean_inc(x_173); x_174 = lean_ctor_get(x_172, 1); lean_inc(x_174); lean_dec(x_172); -lean_inc(x_1); -x_175 = lean_expr_update_mdata(x_1, x_173); -x_113 = x_175; -x_114 = x_174; -goto block_125; +x_122 = x_173; +x_123 = x_174; +goto block_134; } else { -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_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_176 = lean_ctor_get(x_172, 0); +x_175 = lean_ctor_get(x_172, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_172, 1); lean_inc(x_176); -x_177 = lean_ctor_get(x_172, 1); -lean_inc(x_177); if (lean_is_exclusive(x_172)) { lean_ctor_release(x_172, 0); lean_ctor_release(x_172, 1); - x_178 = x_172; + x_177 = x_172; } else { lean_dec_ref(x_172); - x_178 = lean_box(0); + x_177 = lean_box(0); } -if (lean_is_scalar(x_178)) { - x_179 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_177)) { + x_178 = lean_alloc_ctor(1, 2, 0); } else { - x_179 = x_178; + x_178 = x_177; } -lean_ctor_set(x_179, 0, x_176); -lean_ctor_set(x_179, 1, x_177); -return x_179; +lean_ctor_set(x_178, 0, x_175); +lean_ctor_set(x_178, 1, x_176); +return x_178; } } -case 11: +case 10: { -lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_180 = lean_ctor_get(x_126, 1); +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_179 = lean_ctor_get(x_135, 1); +lean_inc(x_179); +lean_dec(x_135); +x_180 = lean_ctor_get(x_1, 0); lean_inc(x_180); -lean_dec(x_126); -x_181 = lean_ctor_get(x_1, 2); +x_181 = lean_ctor_get(x_1, 1); lean_inc(x_181); lean_inc(x_8); lean_inc(x_3); -x_182 = l_Lean_Meta_AbstractNestedProofs_visit(x_181, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_180); +lean_inc(x_181); +x_182 = l_Lean_Meta_AbstractNestedProofs_visit(x_181, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_179); if (lean_obj_tag(x_182) == 0) { -lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_object* x_183; lean_object* x_184; size_t x_185; size_t x_186; uint8_t x_187; x_183 = lean_ctor_get(x_182, 0); lean_inc(x_183); x_184 = lean_ctor_get(x_182, 1); lean_inc(x_184); lean_dec(x_182); -lean_inc(x_1); -x_185 = lean_expr_update_proj(x_1, x_183); -x_113 = x_185; -x_114 = x_184; -goto block_125; +x_185 = lean_ptr_addr(x_181); +lean_dec(x_181); +x_186 = lean_ptr_addr(x_183); +x_187 = lean_usize_dec_eq(x_185, x_186); +if (x_187 == 0) +{ +lean_object* x_188; +x_188 = l_Lean_Expr_mdata___override(x_180, x_183); +x_122 = x_188; +x_123 = x_184; +goto block_134; } else { -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +lean_dec(x_183); +lean_dec(x_180); +lean_inc(x_1); +x_122 = x_1; +x_123 = x_184; +goto block_134; +} +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_dec(x_181); +lean_dec(x_180); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_186 = lean_ctor_get(x_182, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_182, 1); -lean_inc(x_187); +x_189 = lean_ctor_get(x_182, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_182, 1); +lean_inc(x_190); if (lean_is_exclusive(x_182)) { lean_ctor_release(x_182, 0); lean_ctor_release(x_182, 1); - x_188 = x_182; + x_191 = x_182; } else { lean_dec_ref(x_182); - x_188 = lean_box(0); + x_191 = lean_box(0); } -if (lean_is_scalar(x_188)) { - x_189 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_191)) { + x_192 = lean_alloc_ctor(1, 2, 0); } else { - x_189 = x_188; + x_192 = x_191; } -lean_ctor_set(x_189, 0, x_186); -lean_ctor_set(x_189, 1, x_187); -return x_189; +lean_ctor_set(x_192, 0, x_189); +lean_ctor_set(x_192, 1, x_190); +return x_192; +} +} +case 11: +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_193 = lean_ctor_get(x_135, 1); +lean_inc(x_193); +lean_dec(x_135); +x_194 = lean_ctor_get(x_1, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_1, 1); +lean_inc(x_195); +x_196 = lean_ctor_get(x_1, 2); +lean_inc(x_196); +lean_inc(x_8); +lean_inc(x_3); +lean_inc(x_196); +x_197 = l_Lean_Meta_AbstractNestedProofs_visit(x_196, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_193); +if (lean_obj_tag(x_197) == 0) +{ +lean_object* x_198; lean_object* x_199; size_t x_200; size_t x_201; uint8_t x_202; +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_ptr_addr(x_196); +lean_dec(x_196); +x_201 = lean_ptr_addr(x_198); +x_202 = lean_usize_dec_eq(x_200, x_201); +if (x_202 == 0) +{ +lean_object* x_203; +x_203 = l_Lean_Expr_proj___override(x_194, x_195, x_198); +x_122 = x_203; +x_123 = x_199; +goto block_134; +} +else +{ +lean_dec(x_198); +lean_dec(x_195); +lean_dec(x_194); +lean_inc(x_1); +x_122 = x_1; +x_123 = x_199; +goto block_134; +} +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +lean_dec(x_196); +lean_dec(x_195); +lean_dec(x_194); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_1); +x_204 = lean_ctor_get(x_197, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_197, 1); +lean_inc(x_205); +if (lean_is_exclusive(x_197)) { + lean_ctor_release(x_197, 0); + lean_ctor_release(x_197, 1); + x_206 = x_197; +} else { + lean_dec_ref(x_197); + x_206 = lean_box(0); +} +if (lean_is_scalar(x_206)) { + x_207 = lean_alloc_ctor(1, 2, 0); +} else { + x_207 = x_206; +} +lean_ctor_set(x_207, 0, x_204); +lean_ctor_set(x_207, 1, x_205); +return x_207; } } default: { -lean_object* x_190; +lean_object* x_208; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_190 = lean_ctor_get(x_126, 1); -lean_inc(x_190); -lean_dec(x_126); +x_208 = lean_ctor_get(x_135, 1); +lean_inc(x_208); +lean_dec(x_135); lean_inc(x_1); -x_113 = x_1; -x_114 = x_190; -goto block_125; +x_122 = x_1; +x_123 = x_208; +goto block_134; } } } else { -lean_object* x_191; lean_object* x_192; -x_191 = lean_ctor_get(x_126, 1); -lean_inc(x_191); -lean_dec(x_126); +lean_object* x_209; lean_object* x_210; +x_209 = lean_ctor_get(x_135, 1); +lean_inc(x_209); +lean_dec(x_135); lean_inc(x_8); lean_inc(x_1); -x_192 = l___private_Lean_Meta_AbstractNestedProofs_0__Lean_Meta_AbstractNestedProofs_mkAuxLemma(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_191); +x_210 = l___private_Lean_Meta_AbstractNestedProofs_0__Lean_Meta_AbstractNestedProofs_mkAuxLemma(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_209); lean_dec(x_4); lean_dec(x_2); -if (lean_obj_tag(x_192) == 0) +if (lean_obj_tag(x_210) == 0) { -lean_object* x_193; lean_object* x_194; -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_113 = x_193; -x_114 = x_194; -goto block_125; +lean_object* x_211; lean_object* x_212; +x_211 = lean_ctor_get(x_210, 0); +lean_inc(x_211); +x_212 = lean_ctor_get(x_210, 1); +lean_inc(x_212); +lean_dec(x_210); +x_122 = x_211; +x_123 = x_212; +goto block_134; } else { -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -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; +x_213 = lean_ctor_get(x_210, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_210, 1); +lean_inc(x_214); +if (lean_is_exclusive(x_210)) { + lean_ctor_release(x_210, 0); + lean_ctor_release(x_210, 1); + x_215 = x_210; } else { - lean_dec_ref(x_192); - x_197 = lean_box(0); + lean_dec_ref(x_210); + x_215 = lean_box(0); } -if (lean_is_scalar(x_197)) { - x_198 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_215)) { + x_216 = lean_alloc_ctor(1, 2, 0); } else { - x_198 = x_197; + x_216 = x_215; } -lean_ctor_set(x_198, 0, x_195); -lean_ctor_set(x_198, 1, x_196); -return x_198; +lean_ctor_set(x_216, 0, x_213); +lean_ctor_set(x_216, 1, x_214); +return x_216; } } } else { -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -2369,68 +2462,68 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_199 = lean_ctor_get(x_126, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_126, 1); -lean_inc(x_200); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_201 = x_126; +x_217 = lean_ctor_get(x_135, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_135, 1); +lean_inc(x_218); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_219 = x_135; } else { - lean_dec_ref(x_126); - x_201 = lean_box(0); + lean_dec_ref(x_135); + x_219 = lean_box(0); } -if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_219)) { + x_220 = lean_alloc_ctor(1, 2, 0); } else { - x_202 = x_201; + x_220 = x_219; } -lean_ctor_set(x_202, 0, x_199); -lean_ctor_set(x_202, 1, x_200); -return x_202; +lean_ctor_set(x_220, 0, x_217); +lean_ctor_set(x_220, 1, x_218); +return x_220; } -block_125: +block_134: { -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_115 = lean_st_ref_get(x_8, x_114); +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_124 = lean_st_ref_get(x_8, x_123); lean_dec(x_8); -x_116 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -lean_dec(x_115); -x_117 = lean_st_ref_take(x_3, 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); -lean_inc(x_113); -x_120 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_118, x_1, x_113); -x_121 = lean_st_ref_set(x_3, x_120, x_119); -lean_dec(x_3); -x_122 = lean_ctor_get(x_121, 1); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +lean_dec(x_124); +x_126 = lean_st_ref_take(x_3, 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); lean_inc(x_122); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - lean_ctor_release(x_121, 1); - x_123 = x_121; +x_129 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_127, x_1, x_122); +x_130 = lean_st_ref_set(x_3, x_129, x_128); +lean_dec(x_3); +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_132 = x_130; } else { - lean_dec_ref(x_121); - x_123 = lean_box(0); + lean_dec_ref(x_130); + x_132 = lean_box(0); } -if (lean_is_scalar(x_123)) { - x_124 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_132)) { + x_133 = lean_alloc_ctor(0, 2, 0); } else { - x_124 = x_123; + x_133 = x_132; } -lean_ctor_set(x_124, 0, x_113); -lean_ctor_set(x_124, 1, x_122); -return x_124; +lean_ctor_set(x_133, 0, x_122); +lean_ctor_set(x_133, 1, x_131); +return x_133; } } else { -lean_object* x_203; lean_object* x_204; +lean_object* x_221; lean_object* x_222; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -2439,19 +2532,19 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_203 = lean_ctor_get(x_112, 0); -lean_inc(x_203); -lean_dec(x_112); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_111); -return x_204; +x_221 = lean_ctor_get(x_121, 0); +lean_inc(x_221); +lean_dec(x_121); +x_222 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_222, 0, x_221); +lean_ctor_set(x_222, 1, x_120); +return x_222; } } } else { -lean_object* x_205; +lean_object* x_223; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -2459,10 +2552,10 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_205 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_205, 0, x_1); -lean_ctor_set(x_205, 1, x_9); -return x_205; +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_1); +lean_ctor_set(x_223, 1, x_9); +return x_223; } } } diff --git a/stage0/stdlib/Lean/Meta/AppBuilder.c b/stage0/stdlib/Lean/Meta/AppBuilder.c index cf80dbd41f..682cdd4d91 100644 --- a/stage0/stdlib/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Lean/Meta/AppBuilder.c @@ -4971,7 +4971,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_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__10; x_2 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__11; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__12; 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 60292145d3..366cef368a 100644 --- a/stage0/stdlib/Lean/Meta/Basic.c +++ b/stage0/stdlib/Lean/Meta/Basic.c @@ -93,6 +93,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTele static lean_object* l_Lean_Meta_instInhabitedSavedState___closed__10; static lean_object* l_Lean_Meta_isExprDefEq___closed__2; static lean_object* l_Lean_Meta_instMonadMetaM___closed__2; +lean_object* l_Lean_Level_succ___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_withIncRecDepth___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_savingCache(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -239,7 +240,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallMetaBoundedTelescope(lean_object*, le 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_9921_(uint8_t, uint8_t); +uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(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_Meta_withConfig___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -286,6 +287,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVa LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_liftMkBindingM___spec__1___rarg(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___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_simpLevelIMax_x27(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_State_mctx___default___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD(lean_object*); static lean_object* l_Lean_Meta_Context_lctx___default___closed__1; @@ -381,7 +383,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMCtxImp(le LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewFVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_collectForwardDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_getLevelMVarDepth___closed__1; uint8_t l_Lean_Level_any(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshMVarId___at_Lean_Meta_mkFreshExprMVarAt___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -393,6 +394,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Basic LEAN_EXPORT lean_object* l_Lean_Meta_isDefEqStuckExceptionId; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__13___closed__2; +lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_4____closed__2; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkArrow___closed__2; @@ -400,6 +402,7 @@ 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_Cache_defEqDefault___default; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_simpLevelMax_x27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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_EXPORT lean_object* l_Lean_Meta_getLevelMVarDepth___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos(lean_object*); @@ -422,6 +425,7 @@ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageC lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_abstractRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkLevelIMax_x27(lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___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___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp(lean_object*); @@ -630,8 +634,8 @@ lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x LEAN_EXPORT lean_object* l_Lean_Meta_lambdaLetTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_State_mctx___default___closed__1; extern lean_object* l_Lean_instInhabitedFVarId; +size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__1___lambda__1(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_withNewBinderInfosImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -774,7 +778,6 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Basic_0__L LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_modifyPostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkLambdaFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_level_update_succ(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withMVarContext___rarg___lambda__1(lean_object*, 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_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1392,7 +1395,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_9921_(x_3, x_6); +x_9 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(x_3, x_6); if (x_9 == 0) { uint8_t x_10; @@ -7240,7 +7243,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_9921_(x_10, x_9); +x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(x_10, x_9); x_12 = lean_box(x_11); lean_ctor_set(x_6, 0, x_12); return x_6; @@ -7256,7 +7259,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_9921_(x_16, x_15); +x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(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); @@ -7290,7 +7293,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_9921_(x_10, x_9); +x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(x_10, x_9); x_12 = lean_box(x_11); lean_ctor_set(x_6, 0, x_12); return x_6; @@ -7306,7 +7309,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_9921_(x_16, x_15); +x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(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); @@ -27493,205 +27496,391 @@ case 1: lean_object* x_7; lean_object* x_8; uint8_t x_9; x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); +lean_inc(x_7); x_8 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_7, x_2, x_3, x_4, x_5, x_6); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; +lean_object* x_10; size_t x_11; size_t x_12; uint8_t x_13; x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_level_update_succ(x_1, x_10); -lean_ctor_set(x_8, 0, x_11); +x_11 = lean_ptr_addr(x_7); +lean_dec(x_7); +x_12 = lean_ptr_addr(x_10); +x_13 = lean_usize_dec_eq(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_1); +x_14 = l_Lean_Level_succ___override(x_10); +lean_ctor_set(x_8, 0, x_14); return x_8; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_8, 0); -x_13 = lean_ctor_get(x_8, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_8); -x_14 = lean_level_update_succ(x_1, x_12); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -return x_15; +lean_dec(x_10); +lean_ctor_set(x_8, 0, x_1); +return x_8; } } -case 2: +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; uint8_t x_22; -x_16 = lean_ctor_get(x_1, 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_8, 0); +x_16 = lean_ctor_get(x_8, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_1, 1); -lean_inc(x_17); -x_18 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_16, x_2, x_3, x_4, x_5, x_6); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_17, x_2, x_3, x_4, x_5, x_20); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +lean_inc(x_15); +lean_dec(x_8); +x_17 = lean_ptr_addr(x_7); +lean_dec(x_7); +x_18 = lean_ptr_addr(x_15); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) { -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_level_update_max(x_1, x_19, x_23); -lean_ctor_set(x_21, 0, x_24); +lean_object* x_20; lean_object* x_21; +lean_dec(x_1); +x_20 = l_Lean_Level_succ___override(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_16); return x_21; } else { -lean_object* x_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_object* x_22; +lean_dec(x_15); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_16); +return x_22; +} +} +} +case 2: +{ +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_23 = lean_ctor_get(x_1, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_1, 1); +lean_inc(x_24); +lean_inc(x_23); +x_25 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_23, x_2, x_3, x_4, x_5, x_6); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_21); -x_27 = lean_level_update_max(x_1, x_19, 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); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_24); +x_28 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_24, x_2, x_3, x_4, x_5, x_27); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; size_t x_31; size_t x_32; uint8_t x_33; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ptr_addr(x_23); +lean_dec(x_23); +x_32 = lean_ptr_addr(x_26); +x_33 = lean_usize_dec_eq(x_31, x_32); +if (x_33 == 0) +{ +lean_object* x_34; +lean_dec(x_24); +lean_dec(x_1); +x_34 = l_Lean_mkLevelMax_x27(x_26, x_30); +lean_ctor_set(x_28, 0, x_34); return x_28; } +else +{ +size_t x_35; size_t x_36; uint8_t x_37; +x_35 = lean_ptr_addr(x_24); +lean_dec(x_24); +x_36 = lean_ptr_addr(x_30); +x_37 = lean_usize_dec_eq(x_35, x_36); +if (x_37 == 0) +{ +lean_object* x_38; +lean_dec(x_1); +x_38 = l_Lean_mkLevelMax_x27(x_26, x_30); +lean_ctor_set(x_28, 0, x_38); +return x_28; +} +else +{ +lean_object* x_39; +x_39 = l_Lean_simpLevelMax_x27(x_26, x_30, x_1); +lean_dec(x_1); +lean_dec(x_30); +lean_dec(x_26); +lean_ctor_set(x_28, 0, x_39); +return x_28; +} +} +} +else +{ +lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; uint8_t x_44; +x_40 = lean_ctor_get(x_28, 0); +x_41 = lean_ctor_get(x_28, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_28); +x_42 = lean_ptr_addr(x_23); +lean_dec(x_23); +x_43 = lean_ptr_addr(x_26); +x_44 = lean_usize_dec_eq(x_42, x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_24); +lean_dec(x_1); +x_45 = l_Lean_mkLevelMax_x27(x_26, x_40); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_41); +return x_46; +} +else +{ +size_t x_47; size_t x_48; uint8_t x_49; +x_47 = lean_ptr_addr(x_24); +lean_dec(x_24); +x_48 = lean_ptr_addr(x_40); +x_49 = lean_usize_dec_eq(x_47, x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_1); +x_50 = l_Lean_mkLevelMax_x27(x_26, x_40); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_41); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = l_Lean_simpLevelMax_x27(x_26, x_40, x_1); +lean_dec(x_1); +lean_dec(x_40); +lean_dec(x_26); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_41); +return x_53; +} +} +} } case 3: { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_29 = lean_ctor_get(x_1, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_1, 1); -lean_inc(x_30); -x_31 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_29, x_2, x_3, x_4, x_5, x_6); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_30, x_2, x_3, x_4, x_5, x_33); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_54 = lean_ctor_get(x_1, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_1, 1); +lean_inc(x_55); +lean_inc(x_54); +x_56 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_54, x_2, x_3, x_4, x_5, x_6); +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_55); +x_59 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_55, x_2, x_3, x_4, x_5, x_58); +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -x_37 = lean_level_update_imax(x_1, x_32, x_36); -lean_ctor_set(x_34, 0, x_37); -return x_34; +lean_object* x_61; size_t x_62; size_t x_63; uint8_t x_64; +x_61 = lean_ctor_get(x_59, 0); +x_62 = lean_ptr_addr(x_54); +lean_dec(x_54); +x_63 = lean_ptr_addr(x_57); +x_64 = lean_usize_dec_eq(x_62, x_63); +if (x_64 == 0) +{ +lean_object* x_65; +lean_dec(x_55); +lean_dec(x_1); +x_65 = l_Lean_mkLevelIMax_x27(x_57, x_61); +lean_ctor_set(x_59, 0, x_65); +return x_59; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_34, 0); -x_39 = lean_ctor_get(x_34, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_34); -x_40 = lean_level_update_imax(x_1, x_32, x_38); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -return x_41; +size_t x_66; size_t x_67; uint8_t x_68; +x_66 = lean_ptr_addr(x_55); +lean_dec(x_55); +x_67 = lean_ptr_addr(x_61); +x_68 = lean_usize_dec_eq(x_66, x_67); +if (x_68 == 0) +{ +lean_object* x_69; +lean_dec(x_1); +x_69 = l_Lean_mkLevelIMax_x27(x_57, x_61); +lean_ctor_set(x_59, 0, x_69); +return x_59; +} +else +{ +lean_object* x_70; +x_70 = l_Lean_simpLevelIMax_x27(x_57, x_61, x_1); +lean_dec(x_1); +lean_ctor_set(x_59, 0, x_70); +return x_59; +} +} +} +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_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_ptr_addr(x_54); +lean_dec(x_54); +x_74 = lean_ptr_addr(x_57); +x_75 = lean_usize_dec_eq(x_73, x_74); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_55); +lean_dec(x_1); +x_76 = l_Lean_mkLevelIMax_x27(x_57, x_71); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_72); +return x_77; +} +else +{ +size_t x_78; size_t x_79; uint8_t x_80; +x_78 = lean_ptr_addr(x_55); +lean_dec(x_55); +x_79 = lean_ptr_addr(x_71); +x_80 = lean_usize_dec_eq(x_78, x_79); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; +lean_dec(x_1); +x_81 = l_Lean_mkLevelIMax_x27(x_57, x_71); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_72); +return x_82; +} +else +{ +lean_object* x_83; lean_object* x_84; +x_83 = l_Lean_simpLevelIMax_x27(x_57, x_71, x_1); +lean_dec(x_1); +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; +} +} } } case 5: { -lean_object* x_42; lean_object* x_43; lean_object* x_44; 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_42 = lean_ctor_get(x_1, 0); -lean_inc(x_42); -x_58 = lean_st_ref_get(x_5, x_6); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = lean_st_ref_get(x_3, x_59); -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); -lean_dec(x_61); -x_64 = lean_ctor_get(x_63, 5); -lean_inc(x_64); -lean_dec(x_63); -lean_inc(x_42); -x_65 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_64, x_42); -if (lean_obj_tag(x_65) == 0) +lean_object* x_85; lean_object* x_86; lean_object* x_87; 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_85 = lean_ctor_get(x_1, 0); +lean_inc(x_85); +x_101 = lean_st_ref_get(x_5, x_6); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +lean_dec(x_101); +x_103 = lean_st_ref_get(x_3, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_ctor_get(x_104, 0); +lean_inc(x_106); +lean_dec(x_104); +x_107 = lean_ctor_get(x_106, 5); +lean_inc(x_107); +lean_dec(x_106); +lean_inc(x_85); +x_108 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_107, x_85); +if (lean_obj_tag(x_108) == 0) { -x_43 = x_65; -x_44 = x_62; -goto block_57; +x_86 = x_108; +x_87 = x_105; +goto block_100; } else { -lean_object* x_66; lean_object* x_67; -x_66 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_62); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -x_43 = x_65; -x_44 = x_67; -goto block_57; +lean_object* x_109; lean_object* x_110; +x_109 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_105); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +lean_dec(x_109); +x_86 = x_108; +x_87 = x_110; +goto block_100; } -block_57: +block_100: { -if (lean_obj_tag(x_43) == 0) +if (lean_obj_tag(x_86) == 0) { -lean_object* x_45; -lean_dec(x_42); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_1); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_object* x_88; +lean_dec(x_85); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_1); +lean_ctor_set(x_88, 1, x_87); +return x_88; } else { -lean_object* x_46; uint8_t x_47; +lean_object* x_89; uint8_t x_90; lean_dec(x_1); -x_46 = lean_ctor_get(x_43, 0); -lean_inc(x_46); -lean_dec(x_43); -x_47 = l_Lean_Level_hasMVar(x_46); -if (x_47 == 0) +x_89 = lean_ctor_get(x_86, 0); +lean_inc(x_89); +lean_dec(x_86); +x_90 = l_Lean_Level_hasMVar(x_89); +if (x_90 == 0) { -lean_object* x_48; -lean_dec(x_42); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_44); -return x_48; +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_87); +return x_91; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_49 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_46, x_2, x_3, x_4, x_5, x_44); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -lean_inc(x_50); -x_52 = l_Lean_assignLevelMVar___at_Lean_Meta_normalizeLevel___spec__2(x_42, x_50, x_2, x_3, x_4, x_5, x_51); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_92 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_89, x_2, x_3, x_4, x_5, x_87); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +lean_inc(x_93); +x_95 = l_Lean_assignLevelMVar___at_Lean_Meta_normalizeLevel___spec__2(x_85, x_93, x_2, x_3, x_4, x_5, x_94); +x_96 = !lean_is_exclusive(x_95); +if (x_96 == 0) { -lean_object* x_54; -x_54 = lean_ctor_get(x_52, 0); -lean_dec(x_54); -lean_ctor_set(x_52, 0, x_50); -return x_52; +lean_object* x_97; +x_97 = lean_ctor_get(x_95, 0); +lean_dec(x_97); +lean_ctor_set(x_95, 0, x_93); +return x_95; } else { -lean_object* x_55; lean_object* x_56; -x_55 = lean_ctor_get(x_52, 1); -lean_inc(x_55); -lean_dec(x_52); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_50); -lean_ctor_set(x_56, 1, x_55); -return x_56; +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_93); +lean_ctor_set(x_99, 1, x_98); +return x_99; } } } @@ -27699,11 +27888,11 @@ return x_56; } default: { -lean_object* x_68; -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_1); -lean_ctor_set(x_68, 1, x_6); -return x_68; +lean_object* x_111; +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_1); +lean_ctor_set(x_111, 1, x_6); +return x_111; } } } diff --git a/stage0/stdlib/Lean/Meta/CasesOn.c b/stage0/stdlib/Lean/Meta/CasesOn.c index 24bfaf548e..b59898d731 100644 --- a/stage0/stdlib/Lean/Meta/CasesOn.c +++ b/stage0/stdlib/Lean/Meta/CasesOn.c @@ -368,7 +368,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_Meta_toCasesOnApp_x3f___lambda__1___closed__2; x_2 = l_Lean_Meta_toCasesOnApp_x3f___lambda__1___closed__3; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_toCasesOnApp_x3f___lambda__1___closed__4; 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/Check.c b/stage0/stdlib/Lean/Meta/Check.c index 2a4242f0a1..a58d739fda 100644 --- a/stage0/stdlib/Lean/Meta/Check.c +++ b/stage0/stdlib/Lean/Meta/Check.c @@ -872,7 +872,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_Std_Range_forIn_loop___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__1___closed__1; x_2 = l_Std_Range_forIn_loop___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__1___closed__3; 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/Closure.c b/stage0/stdlib/Lean/Meta/Closure.c index 306252b2a8..7428edddd0 100644 --- a/stage0/stdlib/Lean/Meta/Closure.c +++ b/stage0/stdlib/Lean/Meta/Closure.c @@ -17,7 +17,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Closure_mkBinding(uint8_t, lean_object*, le uint8_t l_Lean_isRecCore(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__5; static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__18; -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_Level_param___override(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); @@ -34,10 +33,11 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Closure_pushFVarArg___boxed(lean_object*, l lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__8___closed__2; static lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkBinding___spec__2___closed__3; +uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__8___closed__4; +lean_object* l_Lean_Level_succ___override(lean_object*); static lean_object* l_Lean_Meta_Closure_collectLevelAux___closed__2; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Meta_Closure_collectLevelAux___closed__9; @@ -48,6 +48,7 @@ lean_object* l_panic___at_Lean_LocalDecl_setBinderInfo___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkAuxDefinitionFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Meta_Closure_collectExprAux___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isCasesOnRecursor(lean_object*, lean_object*); +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_newLocalDecls___default; LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -66,6 +67,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_exprFVarArgs___default; lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Meta_Closure_collectExprAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_nextLevelIdx___default; +uint8_t l_ptrEqList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_nextExprIdx___default; uint8_t l_Lean_Level_hasParam(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_levelArgs___default; @@ -85,6 +87,7 @@ uint32_t lean_uint32_add(uint32_t, uint32_t); uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_mkNewLevelParam___closed__1; +lean_object* l_Lean_simpLevelIMax_x27(lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); lean_object* l_Lean_Expr_FindImpl_findUnsafe_x3f(lean_object*, lean_object*); uint8_t l_Lean_Environment_hasUnsafe(lean_object*, lean_object*); @@ -119,17 +122,19 @@ lean_object* l_Lean_Expr_headBeta(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__2___rarg___boxed(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Level_normalize___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_newLocalDeclsForMVars___default; -lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_process(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__6; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +lean_object* l_Lean_simpLevelMax_x27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Meta_Closure_preprocess___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_State_levelParams___default___closed__1; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_append_index_after(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*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_visitedLevel___default; @@ -140,6 +145,7 @@ LEAN_EXPORT uint8_t l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__8___lam static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__1; lean_object* lean_expr_abstract_range(lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Expr_sort___override(lean_object*); uint8_t l_Array_contains___at_Lean_registerInternalExceptionId___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__17; lean_object* l_Array_back___rarg(lean_object*, lean_object*); @@ -168,7 +174,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Closure_mkBinding___boxed(lean_object*, lea LEAN_EXPORT lean_object* l_Lean_Meta_Closure_preprocess___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_resetZetaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_preprocess___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_replaceFVarIdAtLocalDecl(lean_object*, lean_object*, lean_object*); @@ -176,7 +181,6 @@ static lean_object* l_Lean_Meta_Closure_mkNewLevelParam___closed__2; lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_visitExpr___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_Closure_pushLocalDecl(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_expr_update_proj(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_preprocess(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_mkNextUserName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkLambda___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -191,10 +195,10 @@ lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__8___closed__3; lean_object* l_Lean_Expr_fvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_collectLevelAux___boxed(lean_object*, 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_Meta_Closure_collectLevelAux___closed__3; static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__9; LEAN_EXPORT lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_Closure_visitLevel___spec__7(lean_object*, lean_object*); -lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Meta_mkAuxDefinition___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_index(lean_object*); @@ -205,7 +209,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_toProcess___default; lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_visitedExpr___default; static lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkBinding___spec__2___closed__2; -lean_object* lean_expr_update_sort(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_collectLevelAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -230,9 +233,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Closure_mkNextUserName___rarg___boxed(lean_ LEAN_EXPORT lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkBinding___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at_Lean_Meta_mkAuxDefinition___spec__4___closed__1; -lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkAuxDefinition___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_level_update_succ(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_logAt___at_Lean_Meta_mkAuxDefinition___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Meta_Closure_State_visitedLevel___default___spec__1(lean_object*); @@ -240,6 +242,7 @@ LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux_ lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_pop(lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); +uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Meta_mkAuxDefinition___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_abstract(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_pickNextToProcessAux(lean_object*, lean_object*, lean_object*, lean_object*); @@ -248,6 +251,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f___boxed(lean_ LEAN_EXPORT lean_object* l_Lean_Meta_mkAuxDefinition___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_Meta_mkAuxDefinition___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_instInhabitedToProcessElement; +lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__19; static lean_object* l_Lean_Meta_Closure_collectLevelAux___closed__6; LEAN_EXPORT lean_object* l_Lean_compileDecl___at_Lean_Meta_mkAuxDefinition___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -261,7 +265,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Closure_collectExpr___boxed(lean_object*, l static lean_object* l_Lean_Meta_Closure_State_visitedExpr___default___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Closure_collectLevel(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(lean_object*, uint8_t); -lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); uint8_t lean_level_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_newLetDecls___default; LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Meta_Closure_preprocess___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -275,7 +278,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Closure_collectLevel___boxed(lean_object*, static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__10; extern lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors; LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Meta_mkAuxDefinition___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_const(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_pushToProcess(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_replace___at_Lean_Meta_Closure_visitLevel___spec__8(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Closure_mkValueTypeClosure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1840,7 +1842,7 @@ static lean_object* _init_l_Lean_Meta_Closure_collectLevelAux___closed__2() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Level.updateSucc!", 22); +x_1 = lean_mk_string_from_bytes("_private.Lean.Level.0.Lean.Level.updateSucc!Impl", 48); return x_1; } } @@ -1858,8 +1860,8 @@ _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_Meta_Closure_collectLevelAux___closed__1; x_2 = l_Lean_Meta_Closure_collectLevelAux___closed__2; -x_3 = lean_unsigned_to_nat(538u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(527u); +x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_Meta_Closure_collectLevelAux___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -1869,7 +1871,7 @@ static lean_object* _init_l_Lean_Meta_Closure_collectLevelAux___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Level.updateMax!", 21); +x_1 = lean_mk_string_from_bytes("_private.Lean.Level.0.Lean.Level.updateMax!Impl", 47); return x_1; } } @@ -1887,8 +1889,8 @@ _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_Meta_Closure_collectLevelAux___closed__1; x_2 = l_Lean_Meta_Closure_collectLevelAux___closed__5; -x_3 = lean_unsigned_to_nat(547u); -x_4 = lean_unsigned_to_nat(14u); +x_3 = lean_unsigned_to_nat(538u); +x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_Meta_Closure_collectLevelAux___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -1898,7 +1900,7 @@ static lean_object* _init_l_Lean_Meta_Closure_collectLevelAux___closed__8() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Level.updateIMax!", 22); +x_1 = lean_mk_string_from_bytes("_private.Lean.Level.0.Lean.Level.updateIMax!Impl", 48); return x_1; } } @@ -1916,8 +1918,8 @@ _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_Meta_Closure_collectLevelAux___closed__1; x_2 = l_Lean_Meta_Closure_collectLevelAux___closed__8; -x_3 = lean_unsigned_to_nat(556u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(549u); +x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Meta_Closure_collectLevelAux___closed__9; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -1930,626 +1932,637 @@ lean_object* x_9; lean_object* x_10; switch (lean_obj_tag(x_1)) { case 0: { -lean_object* x_17; -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_8); -return x_17; +lean_object* x_22; +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_8); +return x_22; } case 1: { -lean_object* x_18; lean_object* x_19; uint8_t x_53; -x_18 = lean_ctor_get(x_1, 0); -lean_inc(x_18); -x_53 = l_Lean_Level_hasMVar(x_18); -if (x_53 == 0) -{ -uint8_t x_54; -x_54 = l_Lean_Level_hasParam(x_18); -if (x_54 == 0) -{ -x_9 = x_18; -x_10 = x_8; -goto block_16; -} -else -{ -lean_object* x_55; -x_55 = lean_box(0); -x_19 = x_55; -goto block_52; -} -} -else -{ -lean_object* x_56; -x_56 = lean_box(0); -x_19 = x_56; -goto block_52; -} -block_52: -{ -lean_object* x_20; 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_dec(x_19); -x_20 = lean_st_ref_get(x_7, x_8); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_st_ref_get(x_3, x_21); -x_23 = lean_ctor_get(x_22, 0); +lean_object* x_23; lean_object* x_24; uint8_t x_58; +x_23 = lean_ctor_get(x_1, 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); -lean_inc(x_18); -x_26 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_25, x_18); -if (lean_obj_tag(x_26) == 0) +x_58 = l_Lean_Level_hasMVar(x_23); +if (x_58 == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 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_inc(x_18); -x_27 = l_Lean_Meta_Closure_collectLevelAux(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_24); +uint8_t x_59; +x_59 = l_Lean_Level_hasParam(x_23); +if (x_59 == 0) +{ +x_9 = x_23; +x_10 = x_8; +goto block_21; +} +else +{ +lean_object* x_60; +x_60 = lean_box(0); +x_24 = x_60; +goto block_57; +} +} +else +{ +lean_object* x_61; +x_61 = lean_box(0); +x_24 = x_61; +goto block_57; +} +block_57: +{ +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_dec(x_24); +x_25 = lean_st_ref_get(x_7, x_8); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_st_ref_get(x_3, x_26); x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = lean_st_ref_get(x_7, x_29); -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_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_23); +x_31 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_30, x_23); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_inc(x_23); +x_32 = l_Lean_Meta_Closure_collectLevelAux(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_29); x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); lean_dec(x_32); -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_35); -lean_inc(x_28); -x_36 = l_Std_HashMap_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_35, x_18, x_28); -x_37 = lean_ctor_get(x_33, 1); -lean_inc(x_37); -x_38 = lean_ctor_get(x_33, 2); +x_35 = lean_st_ref_get(x_7, x_34); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_st_ref_take(x_3, x_36); +x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); -x_39 = lean_ctor_get(x_33, 3); +x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_33, 4); +lean_dec(x_37); +x_40 = lean_ctor_get(x_38, 0); lean_inc(x_40); -x_41 = lean_ctor_get(x_33, 5); -lean_inc(x_41); -x_42 = lean_ctor_get(x_33, 6); +lean_inc(x_33); +x_41 = l_Std_HashMap_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_40, x_23, x_33); +x_42 = lean_ctor_get(x_38, 1); lean_inc(x_42); -x_43 = lean_ctor_get(x_33, 7); +x_43 = lean_ctor_get(x_38, 2); lean_inc(x_43); -x_44 = lean_ctor_get(x_33, 8); +x_44 = lean_ctor_get(x_38, 3); lean_inc(x_44); -x_45 = lean_ctor_get(x_33, 9); +x_45 = lean_ctor_get(x_38, 4); lean_inc(x_45); -x_46 = lean_ctor_get(x_33, 10); +x_46 = lean_ctor_get(x_38, 5); lean_inc(x_46); -x_47 = lean_ctor_get(x_33, 11); +x_47 = lean_ctor_get(x_38, 6); lean_inc(x_47); -lean_dec(x_33); -x_48 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_48, 0, x_36); -lean_ctor_set(x_48, 1, x_37); -lean_ctor_set(x_48, 2, x_38); -lean_ctor_set(x_48, 3, x_39); -lean_ctor_set(x_48, 4, x_40); -lean_ctor_set(x_48, 5, x_41); -lean_ctor_set(x_48, 6, x_42); -lean_ctor_set(x_48, 7, x_43); -lean_ctor_set(x_48, 8, x_44); -lean_ctor_set(x_48, 9, x_45); -lean_ctor_set(x_48, 10, x_46); -lean_ctor_set(x_48, 11, x_47); -x_49 = lean_st_ref_set(x_3, x_48, x_34); -x_50 = lean_ctor_get(x_49, 1); +x_48 = lean_ctor_get(x_38, 7); +lean_inc(x_48); +x_49 = lean_ctor_get(x_38, 8); +lean_inc(x_49); +x_50 = lean_ctor_get(x_38, 9); lean_inc(x_50); -lean_dec(x_49); -x_9 = x_28; -x_10 = x_50; -goto block_16; +x_51 = lean_ctor_get(x_38, 10); +lean_inc(x_51); +x_52 = lean_ctor_get(x_38, 11); +lean_inc(x_52); +lean_dec(x_38); +x_53 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_53, 0, x_41); +lean_ctor_set(x_53, 1, x_42); +lean_ctor_set(x_53, 2, x_43); +lean_ctor_set(x_53, 3, x_44); +lean_ctor_set(x_53, 4, x_45); +lean_ctor_set(x_53, 5, x_46); +lean_ctor_set(x_53, 6, x_47); +lean_ctor_set(x_53, 7, x_48); +lean_ctor_set(x_53, 8, x_49); +lean_ctor_set(x_53, 9, x_50); +lean_ctor_set(x_53, 10, x_51); +lean_ctor_set(x_53, 11, x_52); +x_54 = lean_st_ref_set(x_3, x_53, x_39); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); +x_9 = x_33; +x_10 = x_55; +goto block_21; } else { -lean_object* x_51; -lean_dec(x_18); -x_51 = lean_ctor_get(x_26, 0); -lean_inc(x_51); -lean_dec(x_26); -x_9 = x_51; -x_10 = x_24; -goto block_16; +lean_object* x_56; +lean_dec(x_23); +x_56 = lean_ctor_get(x_31, 0); +lean_inc(x_56); +lean_dec(x_31); +x_9 = x_56; +x_10 = x_29; +goto block_21; } } } case 2: { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_108; uint8_t x_142; -x_57 = lean_ctor_get(x_1, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_1, 1); -lean_inc(x_58); -x_142 = l_Lean_Level_hasMVar(x_57); -if (x_142 == 0) +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_125; uint8_t x_159; +x_62 = lean_ctor_get(x_1, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_1, 1); +lean_inc(x_63); +x_159 = l_Lean_Level_hasMVar(x_62); +if (x_159 == 0) { -uint8_t x_143; -x_143 = l_Lean_Level_hasParam(x_57); -if (x_143 == 0) +uint8_t x_160; +x_160 = l_Lean_Level_hasParam(x_62); +if (x_160 == 0) { -x_59 = x_57; -x_60 = x_8; -goto block_107; +x_64 = x_62; +x_65 = x_8; +goto block_124; } else { -lean_object* x_144; -x_144 = lean_box(0); -x_108 = x_144; -goto block_141; +lean_object* x_161; +x_161 = lean_box(0); +x_125 = x_161; +goto block_158; } } else { -lean_object* x_145; -x_145 = lean_box(0); -x_108 = x_145; -goto block_141; +lean_object* x_162; +x_162 = lean_box(0); +x_125 = x_162; +goto block_158; } -block_107: +block_124: { -lean_object* x_61; lean_object* x_62; lean_object* x_69; uint8_t x_103; -x_103 = l_Lean_Level_hasMVar(x_58); -if (x_103 == 0) +lean_object* x_66; lean_object* x_67; lean_object* x_86; uint8_t x_120; +x_120 = l_Lean_Level_hasMVar(x_63); +if (x_120 == 0) { -uint8_t x_104; -x_104 = l_Lean_Level_hasParam(x_58); -if (x_104 == 0) +uint8_t x_121; +x_121 = l_Lean_Level_hasParam(x_63); +if (x_121 == 0) { -x_61 = x_58; -x_62 = x_60; -goto block_68; +x_66 = x_63; +x_67 = x_65; +goto block_85; } else { -lean_object* x_105; -x_105 = lean_box(0); -x_69 = x_105; -goto block_102; +lean_object* x_122; +x_122 = lean_box(0); +x_86 = x_122; +goto block_119; } } else { -lean_object* x_106; -x_106 = lean_box(0); -x_69 = x_106; -goto block_102; +lean_object* x_123; +x_123 = lean_box(0); +x_86 = x_123; +goto block_119; } -block_68: +block_85: { if (lean_obj_tag(x_1) == 2) { -lean_object* x_63; lean_object* x_64; -x_63 = lean_level_update_max(x_1, x_59, x_61); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -return x_64; -} -else +lean_object* x_68; lean_object* x_69; size_t x_70; size_t x_71; uint8_t x_72; +x_68 = lean_ctor_get(x_1, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_1, 1); +lean_inc(x_69); +x_70 = lean_ptr_addr(x_68); +lean_dec(x_68); +x_71 = lean_ptr_addr(x_64); +x_72 = lean_usize_dec_eq(x_70, x_71); +if (x_72 == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -lean_dec(x_61); -lean_dec(x_59); -lean_dec(x_1); -x_65 = l_Lean_Meta_Closure_collectLevelAux___closed__7; -x_66 = l_panic___at_Lean_Level_normalize___spec__1(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_62); -return x_67; -} -} -block_102: -{ -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_73; lean_object* x_74; lean_dec(x_69); -x_70 = lean_st_ref_get(x_7, x_60); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_st_ref_get(x_3, 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); -lean_inc(x_58); -x_76 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_75, x_58); -if (lean_obj_tag(x_76) == 0) +lean_dec(x_1); +x_73 = l_Lean_mkLevelMax_x27(x_64, x_66); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_67); +return x_74; +} +else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; 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_inc(x_58); -x_77 = l_Lean_Meta_Closure_collectLevelAux(x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_74); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_st_ref_get(x_7, x_79); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = lean_st_ref_take(x_3, x_81); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_ctor_get(x_83, 0); -lean_inc(x_85); -lean_inc(x_78); -x_86 = l_Std_HashMap_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_85, x_58, x_78); -x_87 = lean_ctor_get(x_83, 1); -lean_inc(x_87); -x_88 = lean_ctor_get(x_83, 2); +size_t x_75; size_t x_76; uint8_t x_77; +x_75 = lean_ptr_addr(x_69); +lean_dec(x_69); +x_76 = lean_ptr_addr(x_66); +x_77 = lean_usize_dec_eq(x_75, x_76); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_1); +x_78 = l_Lean_mkLevelMax_x27(x_64, x_66); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_67); +return x_79; +} +else +{ +lean_object* x_80; lean_object* x_81; +x_80 = l_Lean_simpLevelMax_x27(x_64, x_66, x_1); +lean_dec(x_1); +lean_dec(x_66); +lean_dec(x_64); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_67); +return x_81; +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_66); +lean_dec(x_64); +lean_dec(x_1); +x_82 = l_Lean_Meta_Closure_collectLevelAux___closed__7; +x_83 = l_panic___at_Lean_Level_normalize___spec__1(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_67); +return x_84; +} +} +block_119: +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_86); +x_87 = lean_st_ref_get(x_7, x_65); +x_88 = lean_ctor_get(x_87, 1); lean_inc(x_88); -x_89 = lean_ctor_get(x_83, 3); -lean_inc(x_89); -x_90 = lean_ctor_get(x_83, 4); +lean_dec(x_87); +x_89 = lean_st_ref_get(x_3, x_88); +x_90 = lean_ctor_get(x_89, 0); lean_inc(x_90); -x_91 = lean_ctor_get(x_83, 5); +x_91 = lean_ctor_get(x_89, 1); lean_inc(x_91); -x_92 = lean_ctor_get(x_83, 6); +lean_dec(x_89); +x_92 = lean_ctor_get(x_90, 0); lean_inc(x_92); -x_93 = lean_ctor_get(x_83, 7); -lean_inc(x_93); -x_94 = lean_ctor_get(x_83, 8); -lean_inc(x_94); -x_95 = lean_ctor_get(x_83, 9); +lean_dec(x_90); +lean_inc(x_63); +x_93 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_92, x_63); +if (lean_obj_tag(x_93) == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_inc(x_63); +x_94 = l_Lean_Meta_Closure_collectLevelAux(x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_91); +x_95 = lean_ctor_get(x_94, 0); lean_inc(x_95); -x_96 = lean_ctor_get(x_83, 10); +x_96 = lean_ctor_get(x_94, 1); lean_inc(x_96); -x_97 = lean_ctor_get(x_83, 11); -lean_inc(x_97); -lean_dec(x_83); -x_98 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_98, 0, x_86); -lean_ctor_set(x_98, 1, x_87); -lean_ctor_set(x_98, 2, x_88); -lean_ctor_set(x_98, 3, x_89); -lean_ctor_set(x_98, 4, x_90); -lean_ctor_set(x_98, 5, x_91); -lean_ctor_set(x_98, 6, x_92); -lean_ctor_set(x_98, 7, x_93); -lean_ctor_set(x_98, 8, x_94); -lean_ctor_set(x_98, 9, x_95); -lean_ctor_set(x_98, 10, x_96); -lean_ctor_set(x_98, 11, x_97); -x_99 = lean_st_ref_set(x_3, x_98, x_84); -x_100 = lean_ctor_get(x_99, 1); +lean_dec(x_94); +x_97 = lean_st_ref_get(x_7, x_96); +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); +x_99 = lean_st_ref_take(x_3, x_98); +x_100 = lean_ctor_get(x_99, 0); lean_inc(x_100); -lean_dec(x_99); -x_61 = x_78; -x_62 = x_100; -goto block_68; -} -else -{ -lean_object* x_101; -lean_dec(x_58); -x_101 = lean_ctor_get(x_76, 0); +x_101 = lean_ctor_get(x_99, 1); lean_inc(x_101); -lean_dec(x_76); -x_61 = x_101; -x_62 = x_74; -goto block_68; -} -} -} -block_141: -{ -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_108); -x_109 = lean_st_ref_get(x_7, x_8); -x_110 = lean_ctor_get(x_109, 1); +lean_dec(x_99); +x_102 = lean_ctor_get(x_100, 0); +lean_inc(x_102); +lean_inc(x_95); +x_103 = l_Std_HashMap_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_102, x_63, x_95); +x_104 = lean_ctor_get(x_100, 1); +lean_inc(x_104); +x_105 = lean_ctor_get(x_100, 2); +lean_inc(x_105); +x_106 = lean_ctor_get(x_100, 3); +lean_inc(x_106); +x_107 = lean_ctor_get(x_100, 4); +lean_inc(x_107); +x_108 = lean_ctor_get(x_100, 5); +lean_inc(x_108); +x_109 = lean_ctor_get(x_100, 6); +lean_inc(x_109); +x_110 = lean_ctor_get(x_100, 7); lean_inc(x_110); -lean_dec(x_109); -x_111 = lean_st_ref_get(x_3, x_110); -x_112 = lean_ctor_get(x_111, 0); +x_111 = lean_ctor_get(x_100, 8); +lean_inc(x_111); +x_112 = lean_ctor_get(x_100, 9); lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); +x_113 = lean_ctor_get(x_100, 10); lean_inc(x_113); -lean_dec(x_111); -x_114 = lean_ctor_get(x_112, 0); +x_114 = lean_ctor_get(x_100, 11); lean_inc(x_114); -lean_dec(x_112); -lean_inc(x_57); -x_115 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_114, x_57); -if (lean_obj_tag(x_115) == 0) -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; 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_inc(x_57); -x_116 = l_Lean_Meta_Closure_collectLevelAux(x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_113); -x_117 = lean_ctor_get(x_116, 0); +lean_dec(x_100); +x_115 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_115, 0, x_103); +lean_ctor_set(x_115, 1, x_104); +lean_ctor_set(x_115, 2, x_105); +lean_ctor_set(x_115, 3, x_106); +lean_ctor_set(x_115, 4, x_107); +lean_ctor_set(x_115, 5, x_108); +lean_ctor_set(x_115, 6, x_109); +lean_ctor_set(x_115, 7, x_110); +lean_ctor_set(x_115, 8, x_111); +lean_ctor_set(x_115, 9, x_112); +lean_ctor_set(x_115, 10, x_113); +lean_ctor_set(x_115, 11, x_114); +x_116 = lean_st_ref_set(x_3, x_115, x_101); +x_117 = lean_ctor_get(x_116, 1); lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); -lean_inc(x_118); lean_dec(x_116); -x_119 = lean_st_ref_get(x_7, x_118); -x_120 = lean_ctor_get(x_119, 1); -lean_inc(x_120); -lean_dec(x_119); -x_121 = lean_st_ref_take(x_3, x_120); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = lean_ctor_get(x_122, 0); -lean_inc(x_124); -lean_inc(x_117); -x_125 = l_Std_HashMap_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_124, x_57, x_117); -x_126 = lean_ctor_get(x_122, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_122, 2); -lean_inc(x_127); -x_128 = lean_ctor_get(x_122, 3); -lean_inc(x_128); -x_129 = lean_ctor_get(x_122, 4); -lean_inc(x_129); -x_130 = lean_ctor_get(x_122, 5); -lean_inc(x_130); -x_131 = lean_ctor_get(x_122, 6); -lean_inc(x_131); -x_132 = lean_ctor_get(x_122, 7); -lean_inc(x_132); -x_133 = lean_ctor_get(x_122, 8); -lean_inc(x_133); -x_134 = lean_ctor_get(x_122, 9); -lean_inc(x_134); -x_135 = lean_ctor_get(x_122, 10); -lean_inc(x_135); -x_136 = lean_ctor_get(x_122, 11); -lean_inc(x_136); -lean_dec(x_122); -x_137 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_137, 0, x_125); -lean_ctor_set(x_137, 1, x_126); -lean_ctor_set(x_137, 2, x_127); -lean_ctor_set(x_137, 3, x_128); -lean_ctor_set(x_137, 4, x_129); -lean_ctor_set(x_137, 5, x_130); -lean_ctor_set(x_137, 6, x_131); -lean_ctor_set(x_137, 7, x_132); -lean_ctor_set(x_137, 8, x_133); -lean_ctor_set(x_137, 9, x_134); -lean_ctor_set(x_137, 10, x_135); -lean_ctor_set(x_137, 11, x_136); -x_138 = lean_st_ref_set(x_3, x_137, x_123); -x_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); -lean_dec(x_138); -x_59 = x_117; -x_60 = x_139; -goto block_107; +x_66 = x_95; +x_67 = x_117; +goto block_85; } else { -lean_object* x_140; -lean_dec(x_57); -x_140 = lean_ctor_get(x_115, 0); +lean_object* x_118; +lean_dec(x_63); +x_118 = lean_ctor_get(x_93, 0); +lean_inc(x_118); +lean_dec(x_93); +x_66 = x_118; +x_67 = x_91; +goto block_85; +} +} +} +block_158: +{ +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_dec(x_125); +x_126 = lean_st_ref_get(x_7, x_8); +x_127 = lean_ctor_get(x_126, 1); +lean_inc(x_127); +lean_dec(x_126); +x_128 = lean_st_ref_get(x_3, x_127); +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_ctor_get(x_129, 0); +lean_inc(x_131); +lean_dec(x_129); +lean_inc(x_62); +x_132 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_131, x_62); +if (lean_obj_tag(x_132) == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 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_inc(x_62); +x_133 = l_Lean_Meta_Closure_collectLevelAux(x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_130); +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = lean_st_ref_get(x_7, x_135); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +lean_dec(x_136); +x_138 = lean_st_ref_take(x_3, x_137); +x_139 = lean_ctor_get(x_138, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_138, 1); lean_inc(x_140); -lean_dec(x_115); -x_59 = x_140; -x_60 = x_113; -goto block_107; +lean_dec(x_138); +x_141 = lean_ctor_get(x_139, 0); +lean_inc(x_141); +lean_inc(x_134); +x_142 = l_Std_HashMap_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_141, x_62, x_134); +x_143 = lean_ctor_get(x_139, 1); +lean_inc(x_143); +x_144 = lean_ctor_get(x_139, 2); +lean_inc(x_144); +x_145 = lean_ctor_get(x_139, 3); +lean_inc(x_145); +x_146 = lean_ctor_get(x_139, 4); +lean_inc(x_146); +x_147 = lean_ctor_get(x_139, 5); +lean_inc(x_147); +x_148 = lean_ctor_get(x_139, 6); +lean_inc(x_148); +x_149 = lean_ctor_get(x_139, 7); +lean_inc(x_149); +x_150 = lean_ctor_get(x_139, 8); +lean_inc(x_150); +x_151 = lean_ctor_get(x_139, 9); +lean_inc(x_151); +x_152 = lean_ctor_get(x_139, 10); +lean_inc(x_152); +x_153 = lean_ctor_get(x_139, 11); +lean_inc(x_153); +lean_dec(x_139); +x_154 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_154, 0, x_142); +lean_ctor_set(x_154, 1, x_143); +lean_ctor_set(x_154, 2, x_144); +lean_ctor_set(x_154, 3, x_145); +lean_ctor_set(x_154, 4, x_146); +lean_ctor_set(x_154, 5, x_147); +lean_ctor_set(x_154, 6, x_148); +lean_ctor_set(x_154, 7, x_149); +lean_ctor_set(x_154, 8, x_150); +lean_ctor_set(x_154, 9, x_151); +lean_ctor_set(x_154, 10, x_152); +lean_ctor_set(x_154, 11, x_153); +x_155 = lean_st_ref_set(x_3, x_154, x_140); +x_156 = lean_ctor_get(x_155, 1); +lean_inc(x_156); +lean_dec(x_155); +x_64 = x_134; +x_65 = x_156; +goto block_124; +} +else +{ +lean_object* x_157; +lean_dec(x_62); +x_157 = lean_ctor_get(x_132, 0); +lean_inc(x_157); +lean_dec(x_132); +x_64 = x_157; +x_65 = x_130; +goto block_124; } } } case 3: { -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_197; uint8_t x_231; -x_146 = lean_ctor_get(x_1, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_1, 1); -lean_inc(x_147); -x_231 = l_Lean_Level_hasMVar(x_146); -if (x_231 == 0) +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_226; uint8_t x_260; +x_163 = lean_ctor_get(x_1, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_1, 1); +lean_inc(x_164); +x_260 = l_Lean_Level_hasMVar(x_163); +if (x_260 == 0) { -uint8_t x_232; -x_232 = l_Lean_Level_hasParam(x_146); -if (x_232 == 0) +uint8_t x_261; +x_261 = l_Lean_Level_hasParam(x_163); +if (x_261 == 0) { -x_148 = x_146; -x_149 = x_8; -goto block_196; +x_165 = x_163; +x_166 = x_8; +goto block_225; } else { -lean_object* x_233; -x_233 = lean_box(0); -x_197 = x_233; -goto block_230; +lean_object* x_262; +x_262 = lean_box(0); +x_226 = x_262; +goto block_259; } } else { -lean_object* x_234; -x_234 = lean_box(0); -x_197 = x_234; -goto block_230; +lean_object* x_263; +x_263 = lean_box(0); +x_226 = x_263; +goto block_259; } -block_196: +block_225: { -lean_object* x_150; lean_object* x_151; lean_object* x_158; uint8_t x_192; -x_192 = l_Lean_Level_hasMVar(x_147); -if (x_192 == 0) +lean_object* x_167; lean_object* x_168; lean_object* x_187; uint8_t x_221; +x_221 = l_Lean_Level_hasMVar(x_164); +if (x_221 == 0) { -uint8_t x_193; -x_193 = l_Lean_Level_hasParam(x_147); -if (x_193 == 0) +uint8_t x_222; +x_222 = l_Lean_Level_hasParam(x_164); +if (x_222 == 0) { -x_150 = x_147; -x_151 = x_149; -goto block_157; +x_167 = x_164; +x_168 = x_166; +goto block_186; } else { -lean_object* x_194; -x_194 = lean_box(0); -x_158 = x_194; -goto block_191; +lean_object* x_223; +x_223 = lean_box(0); +x_187 = x_223; +goto block_220; } } else { -lean_object* x_195; -x_195 = lean_box(0); -x_158 = x_195; -goto block_191; +lean_object* x_224; +x_224 = lean_box(0); +x_187 = x_224; +goto block_220; } -block_157: +block_186: { if (lean_obj_tag(x_1) == 3) { -lean_object* x_152; lean_object* x_153; -x_152 = lean_level_update_imax(x_1, x_148, x_150); -x_153 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_151); -return x_153; +lean_object* x_169; lean_object* x_170; size_t x_171; size_t x_172; uint8_t x_173; +x_169 = lean_ctor_get(x_1, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_1, 1); +lean_inc(x_170); +x_171 = lean_ptr_addr(x_169); +lean_dec(x_169); +x_172 = lean_ptr_addr(x_165); +x_173 = lean_usize_dec_eq(x_171, x_172); +if (x_173 == 0) +{ +lean_object* x_174; lean_object* x_175; +lean_dec(x_170); +lean_dec(x_1); +x_174 = l_Lean_mkLevelIMax_x27(x_165, x_167); +x_175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_168); +return x_175; } else { -lean_object* x_154; lean_object* x_155; lean_object* x_156; -lean_dec(x_150); -lean_dec(x_148); +size_t x_176; size_t x_177; uint8_t x_178; +x_176 = lean_ptr_addr(x_170); +lean_dec(x_170); +x_177 = lean_ptr_addr(x_167); +x_178 = lean_usize_dec_eq(x_176, x_177); +if (x_178 == 0) +{ +lean_object* x_179; lean_object* x_180; lean_dec(x_1); -x_154 = l_Lean_Meta_Closure_collectLevelAux___closed__10; -x_155 = l_panic___at_Lean_Level_normalize___spec__1(x_154); -x_156 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_151); -return x_156; +x_179 = l_Lean_mkLevelIMax_x27(x_165, x_167); +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_object* x_182; +x_181 = l_Lean_simpLevelIMax_x27(x_165, x_167, x_1); +lean_dec(x_1); +x_182 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_168); +return x_182; } } -block_191: +} +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_dec(x_158); -x_159 = lean_st_ref_get(x_7, x_149); -x_160 = lean_ctor_get(x_159, 1); -lean_inc(x_160); -lean_dec(x_159); -x_161 = lean_st_ref_get(x_3, 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); -lean_dec(x_162); -lean_inc(x_147); -x_165 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_164, x_147); -if (lean_obj_tag(x_165) == 0) +lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_dec(x_167); +lean_dec(x_165); +lean_dec(x_1); +x_183 = l_Lean_Meta_Closure_collectLevelAux___closed__10; +x_184 = l_panic___at_Lean_Level_normalize___spec__1(x_183); +x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_168); +return x_185; +} +} +block_220: { -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_inc(x_147); -x_166 = l_Lean_Meta_Closure_collectLevelAux(x_147, x_2, x_3, x_4, x_5, x_6, x_7, x_163); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -lean_dec(x_166); -x_169 = lean_st_ref_get(x_7, x_168); -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -lean_dec(x_169); -x_171 = lean_st_ref_take(x_3, x_170); -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_171, 1); -lean_inc(x_173); -lean_dec(x_171); -x_174 = lean_ctor_get(x_172, 0); -lean_inc(x_174); -lean_inc(x_167); -x_175 = l_Std_HashMap_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_174, x_147, x_167); -x_176 = lean_ctor_get(x_172, 1); -lean_inc(x_176); -x_177 = lean_ctor_get(x_172, 2); -lean_inc(x_177); -x_178 = lean_ctor_get(x_172, 3); -lean_inc(x_178); -x_179 = lean_ctor_get(x_172, 4); -lean_inc(x_179); -x_180 = lean_ctor_get(x_172, 5); -lean_inc(x_180); -x_181 = lean_ctor_get(x_172, 6); -lean_inc(x_181); -x_182 = lean_ctor_get(x_172, 7); -lean_inc(x_182); -x_183 = lean_ctor_get(x_172, 8); -lean_inc(x_183); -x_184 = lean_ctor_get(x_172, 9); -lean_inc(x_184); -x_185 = lean_ctor_get(x_172, 10); -lean_inc(x_185); -x_186 = lean_ctor_get(x_172, 11); -lean_inc(x_186); -lean_dec(x_172); -x_187 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_187, 0, x_175); -lean_ctor_set(x_187, 1, x_176); -lean_ctor_set(x_187, 2, x_177); -lean_ctor_set(x_187, 3, x_178); -lean_ctor_set(x_187, 4, x_179); -lean_ctor_set(x_187, 5, x_180); -lean_ctor_set(x_187, 6, x_181); -lean_ctor_set(x_187, 7, x_182); -lean_ctor_set(x_187, 8, x_183); -lean_ctor_set(x_187, 9, x_184); -lean_ctor_set(x_187, 10, x_185); -lean_ctor_set(x_187, 11, x_186); -x_188 = lean_st_ref_set(x_3, x_187, x_173); +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +lean_dec(x_187); +x_188 = lean_st_ref_get(x_7, x_166); x_189 = lean_ctor_get(x_188, 1); lean_inc(x_189); lean_dec(x_188); -x_150 = x_167; -x_151 = x_189; -goto block_157; -} -else +x_190 = lean_st_ref_get(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_191, 0); +lean_inc(x_193); +lean_dec(x_191); +lean_inc(x_164); +x_194 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_193, x_164); +if (lean_obj_tag(x_194) == 0) { -lean_object* x_190; -lean_dec(x_147); -x_190 = lean_ctor_get(x_165, 0); -lean_inc(x_190); -lean_dec(x_165); -x_150 = x_190; -x_151 = x_163; -goto block_157; -} -} -} -block_230: -{ -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_197); -x_198 = lean_st_ref_get(x_7, x_8); +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_inc(x_164); +x_195 = l_Lean_Meta_Closure_collectLevelAux(x_164, x_2, x_3, x_4, x_5, x_6, x_7, x_192); +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_st_ref_get(x_7, x_197); x_199 = lean_ctor_get(x_198, 1); lean_inc(x_199); lean_dec(x_198); -x_200 = lean_st_ref_get(x_3, x_199); +x_200 = lean_st_ref_take(x_3, x_199); x_201 = lean_ctor_get(x_200, 0); lean_inc(x_201); x_202 = lean_ctor_get(x_200, 1); @@ -2557,119 +2570,214 @@ lean_inc(x_202); lean_dec(x_200); x_203 = lean_ctor_get(x_201, 0); lean_inc(x_203); -lean_dec(x_201); -lean_inc(x_146); -x_204 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_203, x_146); -if (lean_obj_tag(x_204) == 0) -{ -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_inc(x_146); -x_205 = l_Lean_Meta_Closure_collectLevelAux(x_146, x_2, x_3, x_4, x_5, x_6, x_7, x_202); -x_206 = lean_ctor_get(x_205, 0); +lean_inc(x_196); +x_204 = l_Std_HashMap_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_203, x_164, x_196); +x_205 = lean_ctor_get(x_201, 1); +lean_inc(x_205); +x_206 = lean_ctor_get(x_201, 2); lean_inc(x_206); -x_207 = lean_ctor_get(x_205, 1); +x_207 = lean_ctor_get(x_201, 3); lean_inc(x_207); -lean_dec(x_205); -x_208 = lean_st_ref_get(x_7, x_207); -x_209 = lean_ctor_get(x_208, 1); +x_208 = lean_ctor_get(x_201, 4); +lean_inc(x_208); +x_209 = lean_ctor_get(x_201, 5); lean_inc(x_209); -lean_dec(x_208); -x_210 = lean_st_ref_take(x_3, x_209); -x_211 = lean_ctor_get(x_210, 0); +x_210 = lean_ctor_get(x_201, 6); +lean_inc(x_210); +x_211 = lean_ctor_get(x_201, 7); lean_inc(x_211); -x_212 = lean_ctor_get(x_210, 1); +x_212 = lean_ctor_get(x_201, 8); lean_inc(x_212); -lean_dec(x_210); -x_213 = lean_ctor_get(x_211, 0); +x_213 = lean_ctor_get(x_201, 9); lean_inc(x_213); -lean_inc(x_206); -x_214 = l_Std_HashMap_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_213, x_146, x_206); -x_215 = lean_ctor_get(x_211, 1); +x_214 = lean_ctor_get(x_201, 10); +lean_inc(x_214); +x_215 = lean_ctor_get(x_201, 11); lean_inc(x_215); -x_216 = lean_ctor_get(x_211, 2); -lean_inc(x_216); -x_217 = lean_ctor_get(x_211, 3); -lean_inc(x_217); -x_218 = lean_ctor_get(x_211, 4); +lean_dec(x_201); +x_216 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_216, 0, x_204); +lean_ctor_set(x_216, 1, x_205); +lean_ctor_set(x_216, 2, x_206); +lean_ctor_set(x_216, 3, x_207); +lean_ctor_set(x_216, 4, x_208); +lean_ctor_set(x_216, 5, x_209); +lean_ctor_set(x_216, 6, x_210); +lean_ctor_set(x_216, 7, x_211); +lean_ctor_set(x_216, 8, x_212); +lean_ctor_set(x_216, 9, x_213); +lean_ctor_set(x_216, 10, x_214); +lean_ctor_set(x_216, 11, x_215); +x_217 = lean_st_ref_set(x_3, x_216, x_202); +x_218 = lean_ctor_get(x_217, 1); lean_inc(x_218); -x_219 = lean_ctor_get(x_211, 5); -lean_inc(x_219); -x_220 = lean_ctor_get(x_211, 6); -lean_inc(x_220); -x_221 = lean_ctor_get(x_211, 7); -lean_inc(x_221); -x_222 = lean_ctor_get(x_211, 8); -lean_inc(x_222); -x_223 = lean_ctor_get(x_211, 9); -lean_inc(x_223); -x_224 = lean_ctor_get(x_211, 10); -lean_inc(x_224); -x_225 = lean_ctor_get(x_211, 11); -lean_inc(x_225); -lean_dec(x_211); -x_226 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_226, 0, x_214); -lean_ctor_set(x_226, 1, x_215); -lean_ctor_set(x_226, 2, x_216); -lean_ctor_set(x_226, 3, x_217); -lean_ctor_set(x_226, 4, x_218); -lean_ctor_set(x_226, 5, x_219); -lean_ctor_set(x_226, 6, x_220); -lean_ctor_set(x_226, 7, x_221); -lean_ctor_set(x_226, 8, x_222); -lean_ctor_set(x_226, 9, x_223); -lean_ctor_set(x_226, 10, x_224); -lean_ctor_set(x_226, 11, x_225); -x_227 = lean_st_ref_set(x_3, x_226, x_212); -x_228 = lean_ctor_get(x_227, 1); -lean_inc(x_228); -lean_dec(x_227); -x_148 = x_206; -x_149 = x_228; -goto block_196; +lean_dec(x_217); +x_167 = x_196; +x_168 = x_218; +goto block_186; } else { -lean_object* x_229; -lean_dec(x_146); -x_229 = lean_ctor_get(x_204, 0); -lean_inc(x_229); -lean_dec(x_204); -x_148 = x_229; -x_149 = x_202; -goto block_196; +lean_object* x_219; +lean_dec(x_164); +x_219 = lean_ctor_get(x_194, 0); +lean_inc(x_219); +lean_dec(x_194); +x_167 = x_219; +x_168 = x_192; +goto block_186; +} +} +} +block_259: +{ +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_dec(x_226); +x_227 = lean_st_ref_get(x_7, x_8); +x_228 = lean_ctor_get(x_227, 1); +lean_inc(x_228); +lean_dec(x_227); +x_229 = lean_st_ref_get(x_3, x_228); +x_230 = lean_ctor_get(x_229, 0); +lean_inc(x_230); +x_231 = lean_ctor_get(x_229, 1); +lean_inc(x_231); +lean_dec(x_229); +x_232 = lean_ctor_get(x_230, 0); +lean_inc(x_232); +lean_dec(x_230); +lean_inc(x_163); +x_233 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(x_232, x_163); +if (lean_obj_tag(x_233) == 0) +{ +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_inc(x_163); +x_234 = l_Lean_Meta_Closure_collectLevelAux(x_163, x_2, x_3, x_4, x_5, x_6, x_7, x_231); +x_235 = lean_ctor_get(x_234, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_234, 1); +lean_inc(x_236); +lean_dec(x_234); +x_237 = lean_st_ref_get(x_7, x_236); +x_238 = lean_ctor_get(x_237, 1); +lean_inc(x_238); +lean_dec(x_237); +x_239 = lean_st_ref_take(x_3, x_238); +x_240 = lean_ctor_get(x_239, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_239, 1); +lean_inc(x_241); +lean_dec(x_239); +x_242 = lean_ctor_get(x_240, 0); +lean_inc(x_242); +lean_inc(x_235); +x_243 = l_Std_HashMap_insert___at_Lean_Meta_Closure_visitLevel___spec__3(x_242, x_163, x_235); +x_244 = lean_ctor_get(x_240, 1); +lean_inc(x_244); +x_245 = lean_ctor_get(x_240, 2); +lean_inc(x_245); +x_246 = lean_ctor_get(x_240, 3); +lean_inc(x_246); +x_247 = lean_ctor_get(x_240, 4); +lean_inc(x_247); +x_248 = lean_ctor_get(x_240, 5); +lean_inc(x_248); +x_249 = lean_ctor_get(x_240, 6); +lean_inc(x_249); +x_250 = lean_ctor_get(x_240, 7); +lean_inc(x_250); +x_251 = lean_ctor_get(x_240, 8); +lean_inc(x_251); +x_252 = lean_ctor_get(x_240, 9); +lean_inc(x_252); +x_253 = lean_ctor_get(x_240, 10); +lean_inc(x_253); +x_254 = lean_ctor_get(x_240, 11); +lean_inc(x_254); +lean_dec(x_240); +x_255 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_255, 0, x_243); +lean_ctor_set(x_255, 1, x_244); +lean_ctor_set(x_255, 2, x_245); +lean_ctor_set(x_255, 3, x_246); +lean_ctor_set(x_255, 4, x_247); +lean_ctor_set(x_255, 5, x_248); +lean_ctor_set(x_255, 6, x_249); +lean_ctor_set(x_255, 7, x_250); +lean_ctor_set(x_255, 8, x_251); +lean_ctor_set(x_255, 9, x_252); +lean_ctor_set(x_255, 10, x_253); +lean_ctor_set(x_255, 11, x_254); +x_256 = lean_st_ref_set(x_3, x_255, x_241); +x_257 = lean_ctor_get(x_256, 1); +lean_inc(x_257); +lean_dec(x_256); +x_165 = x_235; +x_166 = x_257; +goto block_225; +} +else +{ +lean_object* x_258; +lean_dec(x_163); +x_258 = lean_ctor_get(x_233, 0); +lean_inc(x_258); +lean_dec(x_233); +x_165 = x_258; +x_166 = x_231; +goto block_225; } } } default: { -lean_object* x_235; -x_235 = l_Lean_Meta_Closure_mkNewLevelParam(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_235; +lean_object* x_264; +x_264 = l_Lean_Meta_Closure_mkNewLevelParam(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_264; } } -block_16: +block_21: { if (lean_obj_tag(x_1) == 1) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_level_update_succ(x_1, x_9); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; +lean_object* x_11; size_t x_12; size_t x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ptr_addr(x_11); +lean_dec(x_11); +x_13 = lean_ptr_addr(x_9); +x_14 = lean_usize_dec_eq(x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = l_Lean_Level_succ___override(x_9); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_10); +return x_16; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_17; +lean_dec(x_9); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_10); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_dec(x_9); lean_dec(x_1); -x_13 = l_Lean_Meta_Closure_collectLevelAux___closed__4; -x_14 = l_panic___at_Lean_Level_normalize___spec__1(x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_10); -return x_15; +x_18 = l_Lean_Meta_Closure_collectLevelAux___closed__4; +x_19 = l_panic___at_Lean_Level_normalize___spec__1(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; } } } @@ -3889,7 +3997,7 @@ static lean_object* _init_l_Lean_Meta_Closure_collectExprAux___closed__2() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateMData!", 22); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateMData!Impl", 47); return x_1; } } @@ -3907,8 +4015,8 @@ _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_Meta_Closure_collectExprAux___closed__1; x_2 = l_Lean_Meta_Closure_collectExprAux___closed__2; -x_3 = lean_unsigned_to_nat(1448u); -x_4 = lean_unsigned_to_nat(16u); +x_3 = lean_unsigned_to_nat(1434u); +x_4 = lean_unsigned_to_nat(17u); x_5 = l_Lean_Meta_Closure_collectExprAux___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -3918,7 +4026,7 @@ static lean_object* _init_l_Lean_Meta_Closure_collectExprAux___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateProj!", 21); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateProj!Impl", 46); return x_1; } } @@ -3936,8 +4044,8 @@ _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_Meta_Closure_collectExprAux___closed__1; x_2 = l_Lean_Meta_Closure_collectExprAux___closed__5; -x_3 = lean_unsigned_to_nat(1453u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(1445u); +x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Meta_Closure_collectExprAux___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -3947,7 +4055,7 @@ static lean_object* _init_l_Lean_Meta_Closure_collectExprAux___closed__8() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateApp!", 20); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateApp!Impl", 45); return x_1; } } @@ -3965,8 +4073,8 @@ _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_Meta_Closure_collectExprAux___closed__1; x_2 = l_Lean_Meta_Closure_collectExprAux___closed__8; -x_3 = lean_unsigned_to_nat(1413u); -x_4 = lean_unsigned_to_nat(14u); +x_3 = lean_unsigned_to_nat(1401u); +x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Meta_Closure_collectExprAux___closed__9; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -3994,8 +4102,8 @@ _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_Meta_Closure_collectExprAux___closed__1; x_2 = l_Lean_Meta_Closure_collectExprAux___closed__11; -x_3 = lean_unsigned_to_nat(1481u); -x_4 = lean_unsigned_to_nat(19u); +x_3 = lean_unsigned_to_nat(1491u); +x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Meta_Closure_collectExprAux___closed__12; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -4023,8 +4131,8 @@ _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_Meta_Closure_collectExprAux___closed__1; x_2 = l_Lean_Meta_Closure_collectExprAux___closed__14; -x_3 = lean_unsigned_to_nat(1467u); -x_4 = lean_unsigned_to_nat(23u); +x_3 = lean_unsigned_to_nat(1471u); +x_4 = lean_unsigned_to_nat(24u); x_5 = l_Lean_Meta_Closure_collectExprAux___closed__15; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -4034,7 +4142,7 @@ static lean_object* _init_l_Lean_Meta_Closure_collectExprAux___closed__17() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateLet!", 20); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateLet!Impl", 45); return x_1; } } @@ -4052,8 +4160,8 @@ _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_Meta_Closure_collectExprAux___closed__1; x_2 = l_Lean_Meta_Closure_collectExprAux___closed__17; -x_3 = lean_unsigned_to_nat(1490u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(1500u); +x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_Meta_Closure_collectExprAux___closed__18; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -4062,3332 +4170,3690 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_Meta_Closure_collectExprAux(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) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_17; lean_object* x_18; +lean_object* x_9; lean_object* x_10; lean_object* x_23; lean_object* x_24; switch (lean_obj_tag(x_1)) { case 1: { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_1, 0); -lean_inc(x_25); +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_1, 0); +lean_inc(x_38); lean_dec(x_1); lean_inc(x_4); -lean_inc(x_25); -x_26 = l_Lean_Meta_getLocalDecl(x_25, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_26) == 0) +lean_inc(x_38); +x_39 = l_Lean_Meta_getLocalDecl(x_38, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_39) == 0) { if (x_2 == 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_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = l_Lean_mkFreshFVarId___at_Lean_Meta_Closure_collectExprAux___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_27); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -lean_inc(x_29); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_25); -lean_ctor_set(x_31, 1, x_29); -x_32 = l_Lean_Meta_Closure_pushToProcess(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_30); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_32, 0); -lean_dec(x_34); -x_35 = l_Lean_Expr_fvar___override(x_29); -lean_ctor_set(x_32, 0, x_35); -return x_32; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_32, 1); -lean_inc(x_36); -lean_dec(x_32); -x_37 = l_Lean_Expr_fvar___override(x_29); -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 -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_26, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_26, 1); +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_40 = lean_ctor_get(x_39, 1); lean_inc(x_40); -lean_dec(x_26); -x_41 = l_Lean_LocalDecl_value_x3f(x_39); lean_dec(x_39); -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; uint8_t x_47; -x_42 = l_Lean_mkFreshFVarId___at_Lean_Meta_Closure_collectExprAux___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_40); -x_43 = lean_ctor_get(x_42, 0); +x_41 = l_Lean_mkFreshFVarId___at_Lean_Meta_Closure_collectExprAux___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, 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); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -lean_inc(x_43); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_25); -lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_Meta_Closure_pushToProcess(x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_44); +lean_dec(x_41); +lean_inc(x_42); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_38); +lean_ctor_set(x_44, 1, x_42); +x_45 = l_Lean_Meta_Closure_pushToProcess(x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_43); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) { -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_dec(x_48); -x_49 = l_Lean_Expr_fvar___override(x_43); -lean_ctor_set(x_46, 0, x_49); -return x_46; +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +x_48 = l_Lean_Expr_fvar___override(x_42); +lean_ctor_set(x_45, 0, x_48); +return x_45; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_46, 1); -lean_inc(x_50); -lean_dec(x_46); -x_51 = l_Lean_Expr_fvar___override(x_43); -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; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_45, 1); +lean_inc(x_49); +lean_dec(x_45); +x_50 = l_Lean_Expr_fvar___override(x_42); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +return x_51; } } else { -lean_object* x_53; lean_object* x_54; -lean_dec(x_25); -x_53 = lean_ctor_get(x_41, 0); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_39, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_39, 1); lean_inc(x_53); -lean_dec(x_41); +lean_dec(x_39); +x_54 = l_Lean_LocalDecl_value_x3f(x_52); +lean_dec(x_52); +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; uint8_t x_60; +x_55 = l_Lean_mkFreshFVarId___at_Lean_Meta_Closure_collectExprAux___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_53); +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); +lean_inc(x_56); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_38); +lean_ctor_set(x_58, 1, x_56); +x_59 = l_Lean_Meta_Closure_pushToProcess(x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_57); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_59, 0); +lean_dec(x_61); +x_62 = l_Lean_Expr_fvar___override(x_56); +lean_ctor_set(x_59, 0, x_62); +return x_59; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_59, 1); +lean_inc(x_63); +lean_dec(x_59); +x_64 = l_Lean_Expr_fvar___override(x_56); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; lean_object* x_67; +lean_dec(x_38); +x_66 = lean_ctor_get(x_54, 0); +lean_inc(x_66); +lean_dec(x_54); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_54 = l_Lean_Meta_Closure_preprocess(x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_40); -if (lean_obj_tag(x_54) == 0) +x_67 = l_Lean_Meta_Closure_preprocess(x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_53); +if (lean_obj_tag(x_67) == 0) { -uint8_t x_55; -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) +uint8_t x_68; +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_136; -x_56 = lean_ctor_get(x_54, 0); -x_57 = lean_ctor_get(x_54, 1); -x_136 = l_Lean_Expr_hasLevelParam(x_56); -if (x_136 == 0) +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_149; +x_69 = lean_ctor_get(x_67, 0); +x_70 = lean_ctor_get(x_67, 1); +x_149 = l_Lean_Expr_hasLevelParam(x_69); +if (x_149 == 0) { -uint8_t x_137; -x_137 = l_Lean_Expr_hasFVar(x_56); -if (x_137 == 0) +uint8_t x_150; +x_150 = l_Lean_Expr_hasFVar(x_69); +if (x_150 == 0) { -uint8_t x_138; -x_138 = l_Lean_Expr_hasMVar(x_56); -if (x_138 == 0) +uint8_t x_151; +x_151 = l_Lean_Expr_hasMVar(x_69); +if (x_151 == 0) { lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_54; +return x_67; } else { -lean_object* x_139; -lean_free_object(x_54); -x_139 = lean_box(0); -x_58 = x_139; -goto block_135; +lean_object* x_152; +lean_free_object(x_67); +x_152 = lean_box(0); +x_71 = x_152; +goto block_148; } } else { -lean_object* x_140; -lean_free_object(x_54); -x_140 = lean_box(0); -x_58 = x_140; -goto block_135; +lean_object* x_153; +lean_free_object(x_67); +x_153 = lean_box(0); +x_71 = x_153; +goto block_148; } } else { -lean_object* x_141; -lean_free_object(x_54); -x_141 = lean_box(0); -x_58 = x_141; -goto block_135; +lean_object* x_154; +lean_free_object(x_67); +x_154 = lean_box(0); +x_71 = x_154; +goto block_148; } -block_135: +block_148: { -lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -lean_dec(x_58); -x_59 = lean_st_ref_get(x_7, x_57); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec(x_59); -x_61 = lean_st_ref_get(x_3, x_60); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_63 = lean_ctor_get(x_61, 0); -x_64 = lean_ctor_get(x_61, 1); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -lean_inc(x_56); -x_66 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_65, x_56); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; -lean_free_object(x_61); -lean_inc(x_7); -lean_inc(x_56); -x_67 = l_Lean_Meta_Closure_collectExprAux(x_56, x_2, x_3, x_4, x_5, x_6, x_7, x_64); -if (lean_obj_tag(x_67) == 0) -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_st_ref_get(x_7, x_69); -lean_dec(x_7); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_st_ref_take(x_3, x_71); -x_73 = lean_ctor_get(x_72, 0); +lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +lean_dec(x_71); +x_72 = lean_st_ref_get(x_7, x_70); +x_73 = lean_ctor_get(x_72, 1); 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 = lean_ctor_get(x_73, 1); -lean_inc(x_76); -lean_inc(x_68); -x_77 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_76, x_56, x_68); -x_78 = lean_ctor_get(x_73, 2); +x_74 = lean_st_ref_get(x_3, x_73); +x_75 = !lean_is_exclusive(x_74); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_76 = lean_ctor_get(x_74, 0); +x_77 = lean_ctor_get(x_74, 1); +x_78 = lean_ctor_get(x_76, 1); lean_inc(x_78); -x_79 = lean_ctor_get(x_73, 3); -lean_inc(x_79); -x_80 = lean_ctor_get(x_73, 4); -lean_inc(x_80); -x_81 = lean_ctor_get(x_73, 5); +lean_dec(x_76); +lean_inc(x_69); +x_79 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_78, x_69); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; +lean_free_object(x_74); +lean_inc(x_7); +lean_inc(x_69); +x_80 = l_Lean_Meta_Closure_collectExprAux(x_69, x_2, x_3, x_4, x_5, x_6, x_7, x_77); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; 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; uint8_t x_103; +x_81 = lean_ctor_get(x_80, 0); lean_inc(x_81); -x_82 = lean_ctor_get(x_73, 6); +x_82 = lean_ctor_get(x_80, 1); lean_inc(x_82); -x_83 = lean_ctor_get(x_73, 7); -lean_inc(x_83); -x_84 = lean_ctor_get(x_73, 8); -lean_inc(x_84); -x_85 = lean_ctor_get(x_73, 9); -lean_inc(x_85); -x_86 = lean_ctor_get(x_73, 10); -lean_inc(x_86); -x_87 = lean_ctor_get(x_73, 11); -lean_inc(x_87); -lean_dec(x_73); -x_88 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_88, 0, x_75); -lean_ctor_set(x_88, 1, x_77); -lean_ctor_set(x_88, 2, x_78); -lean_ctor_set(x_88, 3, x_79); -lean_ctor_set(x_88, 4, x_80); -lean_ctor_set(x_88, 5, x_81); -lean_ctor_set(x_88, 6, x_82); -lean_ctor_set(x_88, 7, x_83); -lean_ctor_set(x_88, 8, x_84); -lean_ctor_set(x_88, 9, x_85); -lean_ctor_set(x_88, 10, x_86); -lean_ctor_set(x_88, 11, x_87); -x_89 = lean_st_ref_set(x_3, x_88, x_74); -x_90 = !lean_is_exclusive(x_89); -if (x_90 == 0) -{ -lean_object* x_91; -x_91 = lean_ctor_get(x_89, 0); -lean_dec(x_91); -lean_ctor_set(x_89, 0, x_68); -return x_89; -} -else -{ -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_89, 1); -lean_inc(x_92); -lean_dec(x_89); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_68); -lean_ctor_set(x_93, 1, x_92); -return x_93; -} -} -else -{ -uint8_t x_94; -lean_dec(x_56); +lean_dec(x_80); +x_83 = lean_st_ref_get(x_7, x_82); lean_dec(x_7); -x_94 = !lean_is_exclusive(x_67); -if (x_94 == 0) +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); +x_85 = lean_st_ref_take(x_3, x_84); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_88 = lean_ctor_get(x_86, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_86, 1); +lean_inc(x_89); +lean_inc(x_81); +x_90 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_89, x_69, x_81); +x_91 = lean_ctor_get(x_86, 2); +lean_inc(x_91); +x_92 = lean_ctor_get(x_86, 3); +lean_inc(x_92); +x_93 = lean_ctor_get(x_86, 4); +lean_inc(x_93); +x_94 = lean_ctor_get(x_86, 5); +lean_inc(x_94); +x_95 = lean_ctor_get(x_86, 6); +lean_inc(x_95); +x_96 = lean_ctor_get(x_86, 7); +lean_inc(x_96); +x_97 = lean_ctor_get(x_86, 8); +lean_inc(x_97); +x_98 = lean_ctor_get(x_86, 9); +lean_inc(x_98); +x_99 = lean_ctor_get(x_86, 10); +lean_inc(x_99); +x_100 = lean_ctor_get(x_86, 11); +lean_inc(x_100); +lean_dec(x_86); +x_101 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_101, 0, x_88); +lean_ctor_set(x_101, 1, x_90); +lean_ctor_set(x_101, 2, x_91); +lean_ctor_set(x_101, 3, x_92); +lean_ctor_set(x_101, 4, x_93); +lean_ctor_set(x_101, 5, x_94); +lean_ctor_set(x_101, 6, x_95); +lean_ctor_set(x_101, 7, x_96); +lean_ctor_set(x_101, 8, x_97); +lean_ctor_set(x_101, 9, x_98); +lean_ctor_set(x_101, 10, x_99); +lean_ctor_set(x_101, 11, x_100); +x_102 = lean_st_ref_set(x_3, x_101, x_87); +x_103 = !lean_is_exclusive(x_102); +if (x_103 == 0) +{ +lean_object* x_104; +x_104 = lean_ctor_get(x_102, 0); +lean_dec(x_104); +lean_ctor_set(x_102, 0, x_81); +return x_102; +} +else +{ +lean_object* x_105; lean_object* x_106; +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +lean_dec(x_102); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_81); +lean_ctor_set(x_106, 1, x_105); +return x_106; +} +} +else +{ +uint8_t x_107; +lean_dec(x_69); +lean_dec(x_7); +x_107 = !lean_is_exclusive(x_80); +if (x_107 == 0) +{ +return x_80; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_80, 0); +x_109 = lean_ctor_get(x_80, 1); +lean_inc(x_109); +lean_inc(x_108); +lean_dec(x_80); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +} +else +{ +lean_object* x_111; +lean_dec(x_69); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_111 = lean_ctor_get(x_79, 0); +lean_inc(x_111); +lean_dec(x_79); +lean_ctor_set(x_74, 0, x_111); +return x_74; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_112 = lean_ctor_get(x_74, 0); +x_113 = lean_ctor_get(x_74, 1); +lean_inc(x_113); +lean_inc(x_112); +lean_dec(x_74); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +lean_inc(x_69); +x_115 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_114, x_69); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; +lean_inc(x_7); +lean_inc(x_69); +x_116 = l_Lean_Meta_Closure_collectExprAux(x_69, x_2, x_3, x_4, x_5, x_6, x_7, x_113); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_119 = lean_st_ref_get(x_7, x_118); +lean_dec(x_7); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +lean_dec(x_119); +x_121 = lean_st_ref_take(x_3, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = lean_ctor_get(x_122, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_122, 1); +lean_inc(x_125); +lean_inc(x_117); +x_126 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_125, x_69, x_117); +x_127 = lean_ctor_get(x_122, 2); +lean_inc(x_127); +x_128 = lean_ctor_get(x_122, 3); +lean_inc(x_128); +x_129 = lean_ctor_get(x_122, 4); +lean_inc(x_129); +x_130 = lean_ctor_get(x_122, 5); +lean_inc(x_130); +x_131 = lean_ctor_get(x_122, 6); +lean_inc(x_131); +x_132 = lean_ctor_get(x_122, 7); +lean_inc(x_132); +x_133 = lean_ctor_get(x_122, 8); +lean_inc(x_133); +x_134 = lean_ctor_get(x_122, 9); +lean_inc(x_134); +x_135 = lean_ctor_get(x_122, 10); +lean_inc(x_135); +x_136 = lean_ctor_get(x_122, 11); +lean_inc(x_136); +lean_dec(x_122); +x_137 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_137, 0, x_124); +lean_ctor_set(x_137, 1, x_126); +lean_ctor_set(x_137, 2, x_127); +lean_ctor_set(x_137, 3, x_128); +lean_ctor_set(x_137, 4, x_129); +lean_ctor_set(x_137, 5, x_130); +lean_ctor_set(x_137, 6, x_131); +lean_ctor_set(x_137, 7, x_132); +lean_ctor_set(x_137, 8, x_133); +lean_ctor_set(x_137, 9, x_134); +lean_ctor_set(x_137, 10, x_135); +lean_ctor_set(x_137, 11, x_136); +x_138 = lean_st_ref_set(x_3, x_137, x_123); +x_139 = lean_ctor_get(x_138, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_140 = x_138; +} else { + lean_dec_ref(x_138); + x_140 = lean_box(0); +} +if (lean_is_scalar(x_140)) { + x_141 = lean_alloc_ctor(0, 2, 0); +} else { + x_141 = x_140; +} +lean_ctor_set(x_141, 0, x_117); +lean_ctor_set(x_141, 1, x_139); +return x_141; +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +lean_dec(x_69); +lean_dec(x_7); +x_142 = lean_ctor_get(x_116, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_116, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_144 = x_116; +} else { + lean_dec_ref(x_116); + x_144 = lean_box(0); +} +if (lean_is_scalar(x_144)) { + x_145 = lean_alloc_ctor(1, 2, 0); +} else { + x_145 = x_144; +} +lean_ctor_set(x_145, 0, x_142); +lean_ctor_set(x_145, 1, x_143); +return x_145; +} +} +else +{ +lean_object* x_146; lean_object* x_147; +lean_dec(x_69); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_146 = lean_ctor_get(x_115, 0); +lean_inc(x_146); +lean_dec(x_115); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_113); +return x_147; +} +} +} +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_199; +x_155 = lean_ctor_get(x_67, 0); +x_156 = lean_ctor_get(x_67, 1); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_67); +x_199 = l_Lean_Expr_hasLevelParam(x_155); +if (x_199 == 0) +{ +uint8_t x_200; +x_200 = l_Lean_Expr_hasFVar(x_155); +if (x_200 == 0) +{ +uint8_t x_201; +x_201 = l_Lean_Expr_hasMVar(x_155); +if (x_201 == 0) +{ +lean_object* x_202; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_202 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_202, 0, x_155); +lean_ctor_set(x_202, 1, x_156); +return x_202; +} +else +{ +lean_object* x_203; +x_203 = lean_box(0); +x_157 = x_203; +goto block_198; +} +} +else +{ +lean_object* x_204; +x_204 = lean_box(0); +x_157 = x_204; +goto block_198; +} +} +else +{ +lean_object* x_205; +x_205 = lean_box(0); +x_157 = x_205; +goto block_198; +} +block_198: +{ +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_dec(x_157); +x_158 = lean_st_ref_get(x_7, x_156); +x_159 = lean_ctor_get(x_158, 1); +lean_inc(x_159); +lean_dec(x_158); +x_160 = lean_st_ref_get(x_3, x_159); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_163 = x_160; +} else { + lean_dec_ref(x_160); + x_163 = lean_box(0); +} +x_164 = lean_ctor_get(x_161, 1); +lean_inc(x_164); +lean_dec(x_161); +lean_inc(x_155); +x_165 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_164, x_155); +if (lean_obj_tag(x_165) == 0) +{ +lean_object* x_166; +lean_dec(x_163); +lean_inc(x_7); +lean_inc(x_155); +x_166 = l_Lean_Meta_Closure_collectExprAux(x_155, x_2, x_3, x_4, x_5, x_6, x_7, x_162); +if (lean_obj_tag(x_166) == 0) +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_167 = lean_ctor_get(x_166, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_166, 1); +lean_inc(x_168); +lean_dec(x_166); +x_169 = lean_st_ref_get(x_7, x_168); +lean_dec(x_7); +x_170 = lean_ctor_get(x_169, 1); +lean_inc(x_170); +lean_dec(x_169); +x_171 = lean_st_ref_take(x_3, x_170); +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_171, 1); +lean_inc(x_173); +lean_dec(x_171); +x_174 = lean_ctor_get(x_172, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_172, 1); +lean_inc(x_175); +lean_inc(x_167); +x_176 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_175, x_155, x_167); +x_177 = lean_ctor_get(x_172, 2); +lean_inc(x_177); +x_178 = lean_ctor_get(x_172, 3); +lean_inc(x_178); +x_179 = lean_ctor_get(x_172, 4); +lean_inc(x_179); +x_180 = lean_ctor_get(x_172, 5); +lean_inc(x_180); +x_181 = lean_ctor_get(x_172, 6); +lean_inc(x_181); +x_182 = lean_ctor_get(x_172, 7); +lean_inc(x_182); +x_183 = lean_ctor_get(x_172, 8); +lean_inc(x_183); +x_184 = lean_ctor_get(x_172, 9); +lean_inc(x_184); +x_185 = lean_ctor_get(x_172, 10); +lean_inc(x_185); +x_186 = lean_ctor_get(x_172, 11); +lean_inc(x_186); +lean_dec(x_172); +x_187 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_187, 0, x_174); +lean_ctor_set(x_187, 1, x_176); +lean_ctor_set(x_187, 2, x_177); +lean_ctor_set(x_187, 3, x_178); +lean_ctor_set(x_187, 4, x_179); +lean_ctor_set(x_187, 5, x_180); +lean_ctor_set(x_187, 6, x_181); +lean_ctor_set(x_187, 7, x_182); +lean_ctor_set(x_187, 8, x_183); +lean_ctor_set(x_187, 9, x_184); +lean_ctor_set(x_187, 10, x_185); +lean_ctor_set(x_187, 11, x_186); +x_188 = lean_st_ref_set(x_3, x_187, x_173); +x_189 = lean_ctor_get(x_188, 1); +lean_inc(x_189); +if (lean_is_exclusive(x_188)) { + lean_ctor_release(x_188, 0); + lean_ctor_release(x_188, 1); + x_190 = x_188; +} else { + lean_dec_ref(x_188); + x_190 = lean_box(0); +} +if (lean_is_scalar(x_190)) { + x_191 = lean_alloc_ctor(0, 2, 0); +} else { + x_191 = x_190; +} +lean_ctor_set(x_191, 0, x_167); +lean_ctor_set(x_191, 1, x_189); +return x_191; +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +lean_dec(x_155); +lean_dec(x_7); +x_192 = lean_ctor_get(x_166, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_166, 1); +lean_inc(x_193); +if (lean_is_exclusive(x_166)) { + lean_ctor_release(x_166, 0); + lean_ctor_release(x_166, 1); + x_194 = x_166; +} else { + lean_dec_ref(x_166); + x_194 = lean_box(0); +} +if (lean_is_scalar(x_194)) { + x_195 = lean_alloc_ctor(1, 2, 0); +} else { + x_195 = x_194; +} +lean_ctor_set(x_195, 0, x_192); +lean_ctor_set(x_195, 1, x_193); +return x_195; +} +} +else +{ +lean_object* x_196; lean_object* x_197; +lean_dec(x_155); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_196 = lean_ctor_get(x_165, 0); +lean_inc(x_196); +lean_dec(x_165); +if (lean_is_scalar(x_163)) { + x_197 = lean_alloc_ctor(0, 2, 0); +} else { + x_197 = x_163; +} +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_162); +return x_197; +} +} +} +} +else +{ +uint8_t x_206; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_206 = !lean_is_exclusive(x_67); +if (x_206 == 0) { return x_67; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_67, 0); -x_96 = lean_ctor_get(x_67, 1); -lean_inc(x_96); -lean_inc(x_95); +lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_207 = lean_ctor_get(x_67, 0); +x_208 = lean_ctor_get(x_67, 1); +lean_inc(x_208); +lean_inc(x_207); lean_dec(x_67); -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_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_207); +lean_ctor_set(x_209, 1, x_208); +return x_209; +} +} } } } else { -lean_object* x_98; -lean_dec(x_56); +uint8_t x_210; +lean_dec(x_38); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_98 = lean_ctor_get(x_66, 0); -lean_inc(x_98); -lean_dec(x_66); -lean_ctor_set(x_61, 0, x_98); -return x_61; -} +x_210 = !lean_is_exclusive(x_39); +if (x_210 == 0) +{ +return x_39; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_99 = lean_ctor_get(x_61, 0); -x_100 = lean_ctor_get(x_61, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_61); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -lean_inc(x_56); -x_102 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_101, x_56); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; -lean_inc(x_7); -lean_inc(x_56); -x_103 = l_Lean_Meta_Closure_collectExprAux(x_56, x_2, x_3, x_4, x_5, x_6, x_7, x_100); -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; 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; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_st_ref_get(x_7, x_105); -lean_dec(x_7); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -lean_dec(x_106); -x_108 = lean_st_ref_take(x_3, x_107); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec(x_108); -x_111 = lean_ctor_get(x_109, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_109, 1); -lean_inc(x_112); -lean_inc(x_104); -x_113 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_112, x_56, x_104); -x_114 = lean_ctor_get(x_109, 2); -lean_inc(x_114); -x_115 = lean_ctor_get(x_109, 3); -lean_inc(x_115); -x_116 = lean_ctor_get(x_109, 4); -lean_inc(x_116); -x_117 = lean_ctor_get(x_109, 5); -lean_inc(x_117); -x_118 = lean_ctor_get(x_109, 6); -lean_inc(x_118); -x_119 = lean_ctor_get(x_109, 7); -lean_inc(x_119); -x_120 = lean_ctor_get(x_109, 8); -lean_inc(x_120); -x_121 = lean_ctor_get(x_109, 9); -lean_inc(x_121); -x_122 = lean_ctor_get(x_109, 10); -lean_inc(x_122); -x_123 = lean_ctor_get(x_109, 11); -lean_inc(x_123); -lean_dec(x_109); -x_124 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_124, 0, x_111); -lean_ctor_set(x_124, 1, x_113); -lean_ctor_set(x_124, 2, x_114); -lean_ctor_set(x_124, 3, x_115); -lean_ctor_set(x_124, 4, x_116); -lean_ctor_set(x_124, 5, x_117); -lean_ctor_set(x_124, 6, x_118); -lean_ctor_set(x_124, 7, x_119); -lean_ctor_set(x_124, 8, x_120); -lean_ctor_set(x_124, 9, x_121); -lean_ctor_set(x_124, 10, x_122); -lean_ctor_set(x_124, 11, x_123); -x_125 = lean_st_ref_set(x_3, x_124, x_110); -x_126 = lean_ctor_get(x_125, 1); -lean_inc(x_126); -if (lean_is_exclusive(x_125)) { - lean_ctor_release(x_125, 0); - lean_ctor_release(x_125, 1); - x_127 = x_125; -} else { - lean_dec_ref(x_125); - x_127 = lean_box(0); -} -if (lean_is_scalar(x_127)) { - x_128 = lean_alloc_ctor(0, 2, 0); -} else { - x_128 = x_127; -} -lean_ctor_set(x_128, 0, x_104); -lean_ctor_set(x_128, 1, x_126); -return x_128; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -lean_dec(x_56); -lean_dec(x_7); -x_129 = lean_ctor_get(x_103, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_103, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_131 = x_103; -} else { - lean_dec_ref(x_103); - x_131 = lean_box(0); -} -if (lean_is_scalar(x_131)) { - x_132 = lean_alloc_ctor(1, 2, 0); -} else { - x_132 = x_131; -} -lean_ctor_set(x_132, 0, x_129); -lean_ctor_set(x_132, 1, x_130); -return x_132; -} -} -else -{ -lean_object* x_133; lean_object* x_134; -lean_dec(x_56); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_133 = lean_ctor_get(x_102, 0); -lean_inc(x_133); -lean_dec(x_102); -x_134 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_100); -return x_134; -} -} -} -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_186; -x_142 = lean_ctor_get(x_54, 0); -x_143 = lean_ctor_get(x_54, 1); -lean_inc(x_143); -lean_inc(x_142); -lean_dec(x_54); -x_186 = l_Lean_Expr_hasLevelParam(x_142); -if (x_186 == 0) -{ -uint8_t x_187; -x_187 = l_Lean_Expr_hasFVar(x_142); -if (x_187 == 0) -{ -uint8_t x_188; -x_188 = l_Lean_Expr_hasMVar(x_142); -if (x_188 == 0) -{ -lean_object* x_189; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_189 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_189, 0, x_142); -lean_ctor_set(x_189, 1, x_143); -return x_189; -} -else -{ -lean_object* x_190; -x_190 = lean_box(0); -x_144 = x_190; -goto block_185; -} -} -else -{ -lean_object* x_191; -x_191 = lean_box(0); -x_144 = x_191; -goto block_185; -} -} -else -{ -lean_object* x_192; -x_192 = lean_box(0); -x_144 = x_192; -goto block_185; -} -block_185: -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -lean_dec(x_144); -x_145 = lean_st_ref_get(x_7, x_143); -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); -lean_dec(x_145); -x_147 = lean_st_ref_get(x_3, x_146); -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); -lean_inc(x_149); -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 = lean_ctor_get(x_148, 1); -lean_inc(x_151); -lean_dec(x_148); -lean_inc(x_142); -x_152 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_151, x_142); -if (lean_obj_tag(x_152) == 0) -{ -lean_object* x_153; -lean_dec(x_150); -lean_inc(x_7); -lean_inc(x_142); -x_153 = l_Lean_Meta_Closure_collectExprAux(x_142, x_2, x_3, x_4, x_5, x_6, x_7, x_149); -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; 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; -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_153, 1); -lean_inc(x_155); -lean_dec(x_153); -x_156 = lean_st_ref_get(x_7, x_155); -lean_dec(x_7); -x_157 = lean_ctor_get(x_156, 1); -lean_inc(x_157); -lean_dec(x_156); -x_158 = lean_st_ref_take(x_3, x_157); -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_ctor_get(x_159, 1); -lean_inc(x_162); -lean_inc(x_154); -x_163 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_162, x_142, x_154); -x_164 = lean_ctor_get(x_159, 2); -lean_inc(x_164); -x_165 = lean_ctor_get(x_159, 3); -lean_inc(x_165); -x_166 = lean_ctor_get(x_159, 4); -lean_inc(x_166); -x_167 = lean_ctor_get(x_159, 5); -lean_inc(x_167); -x_168 = lean_ctor_get(x_159, 6); -lean_inc(x_168); -x_169 = lean_ctor_get(x_159, 7); -lean_inc(x_169); -x_170 = lean_ctor_get(x_159, 8); -lean_inc(x_170); -x_171 = lean_ctor_get(x_159, 9); -lean_inc(x_171); -x_172 = lean_ctor_get(x_159, 10); -lean_inc(x_172); -x_173 = lean_ctor_get(x_159, 11); -lean_inc(x_173); -lean_dec(x_159); -x_174 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_174, 0, x_161); -lean_ctor_set(x_174, 1, x_163); -lean_ctor_set(x_174, 2, x_164); -lean_ctor_set(x_174, 3, x_165); -lean_ctor_set(x_174, 4, x_166); -lean_ctor_set(x_174, 5, x_167); -lean_ctor_set(x_174, 6, x_168); -lean_ctor_set(x_174, 7, x_169); -lean_ctor_set(x_174, 8, x_170); -lean_ctor_set(x_174, 9, x_171); -lean_ctor_set(x_174, 10, x_172); -lean_ctor_set(x_174, 11, x_173); -x_175 = lean_st_ref_set(x_3, x_174, x_160); -x_176 = lean_ctor_get(x_175, 1); -lean_inc(x_176); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - x_177 = x_175; -} else { - lean_dec_ref(x_175); - x_177 = lean_box(0); -} -if (lean_is_scalar(x_177)) { - x_178 = lean_alloc_ctor(0, 2, 0); -} else { - x_178 = x_177; -} -lean_ctor_set(x_178, 0, x_154); -lean_ctor_set(x_178, 1, x_176); -return x_178; -} -else -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -lean_dec(x_142); -lean_dec(x_7); -x_179 = lean_ctor_get(x_153, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_153, 1); -lean_inc(x_180); -if (lean_is_exclusive(x_153)) { - lean_ctor_release(x_153, 0); - lean_ctor_release(x_153, 1); - x_181 = x_153; -} else { - lean_dec_ref(x_153); - x_181 = lean_box(0); -} -if (lean_is_scalar(x_181)) { - x_182 = lean_alloc_ctor(1, 2, 0); -} else { - x_182 = x_181; -} -lean_ctor_set(x_182, 0, x_179); -lean_ctor_set(x_182, 1, x_180); -return x_182; -} -} -else -{ -lean_object* x_183; lean_object* x_184; -lean_dec(x_142); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_183 = lean_ctor_get(x_152, 0); -lean_inc(x_183); -lean_dec(x_152); -if (lean_is_scalar(x_150)) { - x_184 = lean_alloc_ctor(0, 2, 0); -} else { - x_184 = x_150; -} -lean_ctor_set(x_184, 0, x_183); -lean_ctor_set(x_184, 1, x_149); -return x_184; -} -} -} -} -else -{ -uint8_t x_193; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_193 = !lean_is_exclusive(x_54); -if (x_193 == 0) -{ -return x_54; -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_194 = lean_ctor_get(x_54, 0); -x_195 = lean_ctor_get(x_54, 1); -lean_inc(x_195); -lean_inc(x_194); -lean_dec(x_54); -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_194); -lean_ctor_set(x_196, 1, x_195); -return x_196; -} -} -} -} -} -else -{ -uint8_t x_197; -lean_dec(x_25); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_197 = !lean_is_exclusive(x_26); -if (x_197 == 0) -{ -return x_26; -} -else -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_198 = lean_ctor_get(x_26, 0); -x_199 = lean_ctor_get(x_26, 1); -lean_inc(x_199); -lean_inc(x_198); -lean_dec(x_26); -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_198); -lean_ctor_set(x_200, 1, x_199); -return x_200; +lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_211 = lean_ctor_get(x_39, 0); +x_212 = lean_ctor_get(x_39, 1); +lean_inc(x_212); +lean_inc(x_211); +lean_dec(x_39); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_211); +lean_ctor_set(x_213, 1, x_212); +return x_213; } } } case 2: { -lean_object* x_201; lean_object* x_202; -x_201 = lean_ctor_get(x_1, 0); -lean_inc(x_201); -x_202 = l_Lean_Meta_getMVarDecl(x_201, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_202) == 0) +lean_object* x_214; lean_object* x_215; +x_214 = lean_ctor_get(x_1, 0); +lean_inc(x_214); +x_215 = l_Lean_Meta_getMVarDecl(x_214, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_215) == 0) { -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_202, 1); -lean_inc(x_204); -lean_dec(x_202); -x_205 = lean_ctor_get(x_203, 2); -lean_inc(x_205); -lean_dec(x_203); +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; +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); +x_218 = lean_ctor_get(x_216, 2); +lean_inc(x_218); +lean_dec(x_216); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_206 = l_Lean_Meta_Closure_preprocess(x_205, x_2, x_3, x_4, x_5, x_6, x_7, x_204); -if (lean_obj_tag(x_206) == 0) +x_219 = l_Lean_Meta_Closure_preprocess(x_218, x_2, x_3, x_4, x_5, x_6, x_7, x_217); +if (lean_obj_tag(x_219) == 0) { -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_248; uint8_t x_286; -x_207 = lean_ctor_get(x_206, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_206, 1); -lean_inc(x_208); -lean_dec(x_206); -x_286 = l_Lean_Expr_hasLevelParam(x_207); -if (x_286 == 0) -{ -uint8_t x_287; -x_287 = l_Lean_Expr_hasFVar(x_207); -if (x_287 == 0) -{ -uint8_t x_288; -x_288 = l_Lean_Expr_hasMVar(x_207); -if (x_288 == 0) -{ -x_209 = x_207; -x_210 = x_208; -goto block_247; -} -else -{ -lean_object* x_289; -x_289 = lean_box(0); -x_248 = x_289; -goto block_285; -} -} -else -{ -lean_object* x_290; -x_290 = lean_box(0); -x_248 = x_290; -goto block_285; -} -} -else -{ -lean_object* x_291; -x_291 = lean_box(0); -x_248 = x_291; -goto block_285; -} -block_247: -{ -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; 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; uint8_t x_241; -x_211 = l_Lean_mkFreshFVarId___at_Lean_Meta_Closure_collectExprAux___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, 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 = l_Lean_Meta_Closure_mkNextUserName___rarg(x_3, x_4, x_5, x_6, x_7, x_213); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -lean_dec(x_214); -x_217 = lean_st_ref_get(x_7, x_216); -lean_dec(x_7); -x_218 = lean_ctor_get(x_217, 1); -lean_inc(x_218); -lean_dec(x_217); -x_219 = lean_st_ref_take(x_3, x_218); +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_261; uint8_t x_299; 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_220, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_220, 1); -lean_inc(x_223); -x_224 = lean_ctor_get(x_220, 2); -lean_inc(x_224); -x_225 = lean_ctor_get(x_220, 3); -lean_inc(x_225); -x_226 = lean_ctor_get(x_220, 4); -lean_inc(x_226); -x_227 = lean_ctor_get(x_220, 5); -lean_inc(x_227); -x_228 = lean_ctor_get(x_220, 6); -lean_inc(x_228); -x_229 = lean_unsigned_to_nat(0u); -x_230 = 0; -lean_inc(x_212); -x_231 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_231, 0, x_229); -lean_ctor_set(x_231, 1, x_212); -lean_ctor_set(x_231, 2, x_215); -lean_ctor_set(x_231, 3, x_209); -lean_ctor_set_uint8(x_231, sizeof(void*)*4, x_230); -x_232 = lean_array_push(x_228, x_231); -x_233 = lean_ctor_get(x_220, 7); -lean_inc(x_233); -x_234 = lean_ctor_get(x_220, 8); -lean_inc(x_234); -x_235 = lean_ctor_get(x_220, 9); -lean_inc(x_235); -x_236 = lean_array_push(x_235, x_1); -x_237 = lean_ctor_get(x_220, 10); -lean_inc(x_237); -x_238 = lean_ctor_get(x_220, 11); -lean_inc(x_238); -lean_dec(x_220); -x_239 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_239, 0, x_222); -lean_ctor_set(x_239, 1, x_223); -lean_ctor_set(x_239, 2, x_224); -lean_ctor_set(x_239, 3, x_225); -lean_ctor_set(x_239, 4, x_226); -lean_ctor_set(x_239, 5, x_227); -lean_ctor_set(x_239, 6, x_232); -lean_ctor_set(x_239, 7, x_233); -lean_ctor_set(x_239, 8, x_234); -lean_ctor_set(x_239, 9, x_236); -lean_ctor_set(x_239, 10, x_237); -lean_ctor_set(x_239, 11, x_238); -x_240 = lean_st_ref_set(x_3, x_239, x_221); -x_241 = !lean_is_exclusive(x_240); -if (x_241 == 0) +x_299 = l_Lean_Expr_hasLevelParam(x_220); +if (x_299 == 0) { -lean_object* x_242; lean_object* x_243; -x_242 = lean_ctor_get(x_240, 0); -lean_dec(x_242); -x_243 = l_Lean_Expr_fvar___override(x_212); -lean_ctor_set(x_240, 0, x_243); -return x_240; +uint8_t x_300; +x_300 = l_Lean_Expr_hasFVar(x_220); +if (x_300 == 0) +{ +uint8_t x_301; +x_301 = l_Lean_Expr_hasMVar(x_220); +if (x_301 == 0) +{ +x_222 = x_220; +x_223 = x_221; +goto block_260; } else { -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_240, 1); -lean_inc(x_244); -lean_dec(x_240); -x_245 = l_Lean_Expr_fvar___override(x_212); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_244); -return x_246; +lean_object* x_302; +x_302 = lean_box(0); +x_261 = x_302; +goto block_298; } } -block_285: +else { -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_248); -x_249 = lean_st_ref_get(x_7, x_208); -x_250 = lean_ctor_get(x_249, 1); +lean_object* x_303; +x_303 = lean_box(0); +x_261 = x_303; +goto block_298; +} +} +else +{ +lean_object* x_304; +x_304 = lean_box(0); +x_261 = x_304; +goto block_298; +} +block_260: +{ +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; uint8_t 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; uint8_t x_254; +x_224 = l_Lean_mkFreshFVarId___at_Lean_Meta_Closure_collectExprAux___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_223); +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_224, 1); +lean_inc(x_226); +lean_dec(x_224); +x_227 = l_Lean_Meta_Closure_mkNextUserName___rarg(x_3, x_4, x_5, x_6, x_7, x_226); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +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_st_ref_get(x_7, x_229); +lean_dec(x_7); +x_231 = lean_ctor_get(x_230, 1); +lean_inc(x_231); +lean_dec(x_230); +x_232 = lean_st_ref_take(x_3, x_231); +x_233 = lean_ctor_get(x_232, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_232, 1); +lean_inc(x_234); +lean_dec(x_232); +x_235 = lean_ctor_get(x_233, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_233, 1); +lean_inc(x_236); +x_237 = lean_ctor_get(x_233, 2); +lean_inc(x_237); +x_238 = lean_ctor_get(x_233, 3); +lean_inc(x_238); +x_239 = lean_ctor_get(x_233, 4); +lean_inc(x_239); +x_240 = lean_ctor_get(x_233, 5); +lean_inc(x_240); +x_241 = lean_ctor_get(x_233, 6); +lean_inc(x_241); +x_242 = lean_unsigned_to_nat(0u); +x_243 = 0; +lean_inc(x_225); +x_244 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_244, 0, x_242); +lean_ctor_set(x_244, 1, x_225); +lean_ctor_set(x_244, 2, x_228); +lean_ctor_set(x_244, 3, x_222); +lean_ctor_set_uint8(x_244, sizeof(void*)*4, x_243); +x_245 = lean_array_push(x_241, x_244); +x_246 = lean_ctor_get(x_233, 7); +lean_inc(x_246); +x_247 = lean_ctor_get(x_233, 8); +lean_inc(x_247); +x_248 = lean_ctor_get(x_233, 9); +lean_inc(x_248); +x_249 = lean_array_push(x_248, x_1); +x_250 = lean_ctor_get(x_233, 10); lean_inc(x_250); -lean_dec(x_249); -x_251 = lean_st_ref_get(x_3, x_250); -x_252 = lean_ctor_get(x_251, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_251, 1); -lean_inc(x_253); -lean_dec(x_251); -x_254 = lean_ctor_get(x_252, 1); -lean_inc(x_254); -lean_dec(x_252); -lean_inc(x_207); -x_255 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_254, x_207); -if (lean_obj_tag(x_255) == 0) +x_251 = lean_ctor_get(x_233, 11); +lean_inc(x_251); +lean_dec(x_233); +x_252 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_252, 0, x_235); +lean_ctor_set(x_252, 1, x_236); +lean_ctor_set(x_252, 2, x_237); +lean_ctor_set(x_252, 3, x_238); +lean_ctor_set(x_252, 4, x_239); +lean_ctor_set(x_252, 5, x_240); +lean_ctor_set(x_252, 6, x_245); +lean_ctor_set(x_252, 7, x_246); +lean_ctor_set(x_252, 8, x_247); +lean_ctor_set(x_252, 9, x_249); +lean_ctor_set(x_252, 10, x_250); +lean_ctor_set(x_252, 11, x_251); +x_253 = lean_st_ref_set(x_3, x_252, x_234); +x_254 = !lean_is_exclusive(x_253); +if (x_254 == 0) { -lean_object* x_256; +lean_object* x_255; lean_object* x_256; +x_255 = lean_ctor_get(x_253, 0); +lean_dec(x_255); +x_256 = l_Lean_Expr_fvar___override(x_225); +lean_ctor_set(x_253, 0, x_256); +return x_253; +} +else +{ +lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_257 = lean_ctor_get(x_253, 1); +lean_inc(x_257); +lean_dec(x_253); +x_258 = l_Lean_Expr_fvar___override(x_225); +x_259 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_257); +return x_259; +} +} +block_298: +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +lean_dec(x_261); +x_262 = lean_st_ref_get(x_7, x_221); +x_263 = lean_ctor_get(x_262, 1); +lean_inc(x_263); +lean_dec(x_262); +x_264 = lean_st_ref_get(x_3, x_263); +x_265 = lean_ctor_get(x_264, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_264, 1); +lean_inc(x_266); +lean_dec(x_264); +x_267 = lean_ctor_get(x_265, 1); +lean_inc(x_267); +lean_dec(x_265); +lean_inc(x_220); +x_268 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_267, x_220); +if (lean_obj_tag(x_268) == 0) +{ +lean_object* x_269; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_207); -x_256 = l_Lean_Meta_Closure_collectExprAux(x_207, x_2, x_3, x_4, x_5, x_6, x_7, x_253); -if (lean_obj_tag(x_256) == 0) +lean_inc(x_220); +x_269 = l_Lean_Meta_Closure_collectExprAux(x_220, x_2, x_3, x_4, x_5, x_6, x_7, x_266); +if (lean_obj_tag(x_269) == 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; 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_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -x_258 = lean_ctor_get(x_256, 1); -lean_inc(x_258); -lean_dec(x_256); -x_259 = lean_st_ref_get(x_7, x_258); -x_260 = lean_ctor_get(x_259, 1); -lean_inc(x_260); -lean_dec(x_259); -x_261 = lean_st_ref_take(x_3, x_260); -x_262 = lean_ctor_get(x_261, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); -lean_inc(x_263); -lean_dec(x_261); -x_264 = lean_ctor_get(x_262, 0); -lean_inc(x_264); -x_265 = lean_ctor_get(x_262, 1); -lean_inc(x_265); -lean_inc(x_257); -x_266 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_265, x_207, x_257); -x_267 = lean_ctor_get(x_262, 2); -lean_inc(x_267); -x_268 = lean_ctor_get(x_262, 3); -lean_inc(x_268); -x_269 = lean_ctor_get(x_262, 4); -lean_inc(x_269); -x_270 = lean_ctor_get(x_262, 5); +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; +x_270 = lean_ctor_get(x_269, 0); lean_inc(x_270); -x_271 = lean_ctor_get(x_262, 6); +x_271 = lean_ctor_get(x_269, 1); lean_inc(x_271); -x_272 = lean_ctor_get(x_262, 7); -lean_inc(x_272); -x_273 = lean_ctor_get(x_262, 8); +lean_dec(x_269); +x_272 = lean_st_ref_get(x_7, x_271); +x_273 = lean_ctor_get(x_272, 1); lean_inc(x_273); -x_274 = lean_ctor_get(x_262, 9); -lean_inc(x_274); -x_275 = lean_ctor_get(x_262, 10); +lean_dec(x_272); +x_274 = lean_st_ref_take(x_3, x_273); +x_275 = lean_ctor_get(x_274, 0); lean_inc(x_275); -x_276 = lean_ctor_get(x_262, 11); +x_276 = lean_ctor_get(x_274, 1); lean_inc(x_276); -lean_dec(x_262); -x_277 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_277, 0, x_264); -lean_ctor_set(x_277, 1, x_266); -lean_ctor_set(x_277, 2, x_267); -lean_ctor_set(x_277, 3, x_268); -lean_ctor_set(x_277, 4, x_269); -lean_ctor_set(x_277, 5, x_270); -lean_ctor_set(x_277, 6, x_271); -lean_ctor_set(x_277, 7, x_272); -lean_ctor_set(x_277, 8, x_273); -lean_ctor_set(x_277, 9, x_274); -lean_ctor_set(x_277, 10, x_275); -lean_ctor_set(x_277, 11, x_276); -x_278 = lean_st_ref_set(x_3, x_277, x_263); -x_279 = lean_ctor_get(x_278, 1); -lean_inc(x_279); -lean_dec(x_278); -x_209 = x_257; -x_210 = x_279; -goto block_247; -} -else -{ -uint8_t x_280; -lean_dec(x_207); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_280 = !lean_is_exclusive(x_256); -if (x_280 == 0) -{ -return x_256; -} -else -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; -x_281 = lean_ctor_get(x_256, 0); -x_282 = lean_ctor_get(x_256, 1); -lean_inc(x_282); +lean_dec(x_274); +x_277 = lean_ctor_get(x_275, 0); +lean_inc(x_277); +x_278 = lean_ctor_get(x_275, 1); +lean_inc(x_278); +lean_inc(x_270); +x_279 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_278, x_220, x_270); +x_280 = lean_ctor_get(x_275, 2); +lean_inc(x_280); +x_281 = lean_ctor_get(x_275, 3); lean_inc(x_281); -lean_dec(x_256); -x_283 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_283, 0, x_281); -lean_ctor_set(x_283, 1, x_282); -return x_283; -} -} -} -else -{ -lean_object* x_284; -lean_dec(x_207); -x_284 = lean_ctor_get(x_255, 0); +x_282 = lean_ctor_get(x_275, 4); +lean_inc(x_282); +x_283 = lean_ctor_get(x_275, 5); +lean_inc(x_283); +x_284 = lean_ctor_get(x_275, 6); lean_inc(x_284); -lean_dec(x_255); -x_209 = x_284; -x_210 = x_253; -goto block_247; -} -} +x_285 = lean_ctor_get(x_275, 7); +lean_inc(x_285); +x_286 = lean_ctor_get(x_275, 8); +lean_inc(x_286); +x_287 = lean_ctor_get(x_275, 9); +lean_inc(x_287); +x_288 = lean_ctor_get(x_275, 10); +lean_inc(x_288); +x_289 = lean_ctor_get(x_275, 11); +lean_inc(x_289); +lean_dec(x_275); +x_290 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_290, 0, x_277); +lean_ctor_set(x_290, 1, x_279); +lean_ctor_set(x_290, 2, x_280); +lean_ctor_set(x_290, 3, x_281); +lean_ctor_set(x_290, 4, x_282); +lean_ctor_set(x_290, 5, x_283); +lean_ctor_set(x_290, 6, x_284); +lean_ctor_set(x_290, 7, x_285); +lean_ctor_set(x_290, 8, x_286); +lean_ctor_set(x_290, 9, x_287); +lean_ctor_set(x_290, 10, x_288); +lean_ctor_set(x_290, 11, x_289); +x_291 = lean_st_ref_set(x_3, x_290, x_276); +x_292 = lean_ctor_get(x_291, 1); +lean_inc(x_292); +lean_dec(x_291); +x_222 = x_270; +x_223 = x_292; +goto block_260; } else { -uint8_t x_292; +uint8_t x_293; +lean_dec(x_220); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_292 = !lean_is_exclusive(x_206); -if (x_292 == 0) +x_293 = !lean_is_exclusive(x_269); +if (x_293 == 0) { -return x_206; +return x_269; } else { -lean_object* x_293; lean_object* x_294; lean_object* x_295; -x_293 = lean_ctor_get(x_206, 0); -x_294 = lean_ctor_get(x_206, 1); +lean_object* x_294; lean_object* x_295; lean_object* x_296; +x_294 = lean_ctor_get(x_269, 0); +x_295 = lean_ctor_get(x_269, 1); +lean_inc(x_295); lean_inc(x_294); -lean_inc(x_293); -lean_dec(x_206); -x_295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_295, 0, x_293); -lean_ctor_set(x_295, 1, x_294); -return x_295; +lean_dec(x_269); +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_294); +lean_ctor_set(x_296, 1, x_295); +return x_296; } } } else { -uint8_t x_296; +lean_object* x_297; +lean_dec(x_220); +x_297 = lean_ctor_get(x_268, 0); +lean_inc(x_297); +lean_dec(x_268); +x_222 = x_297; +x_223 = x_266; +goto block_260; +} +} +} +else +{ +uint8_t x_305; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_296 = !lean_is_exclusive(x_202); -if (x_296 == 0) +x_305 = !lean_is_exclusive(x_219); +if (x_305 == 0) { -return x_202; +return x_219; } else { -lean_object* x_297; lean_object* x_298; lean_object* x_299; -x_297 = lean_ctor_get(x_202, 0); -x_298 = lean_ctor_get(x_202, 1); -lean_inc(x_298); -lean_inc(x_297); -lean_dec(x_202); -x_299 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_299, 0, x_297); -lean_ctor_set(x_299, 1, x_298); -return x_299; +lean_object* x_306; lean_object* x_307; lean_object* x_308; +x_306 = lean_ctor_get(x_219, 0); +x_307 = lean_ctor_get(x_219, 1); +lean_inc(x_307); +lean_inc(x_306); +lean_dec(x_219); +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; +} +} +} +else +{ +uint8_t x_309; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_309 = !lean_is_exclusive(x_215); +if (x_309 == 0) +{ +return x_215; +} +else +{ +lean_object* x_310; lean_object* x_311; lean_object* x_312; +x_310 = lean_ctor_get(x_215, 0); +x_311 = lean_ctor_get(x_215, 1); +lean_inc(x_311); +lean_inc(x_310); +lean_dec(x_215); +x_312 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_312, 0, x_310); +lean_ctor_set(x_312, 1, x_311); +return x_312; } } } case 3: { -lean_object* x_300; lean_object* x_301; uint8_t x_302; -x_300 = lean_ctor_get(x_1, 0); -lean_inc(x_300); -x_301 = l_Lean_Meta_Closure_collectLevel(x_300, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_313; lean_object* x_314; uint8_t x_315; +x_313 = lean_ctor_get(x_1, 0); +lean_inc(x_313); +lean_inc(x_313); +x_314 = l_Lean_Meta_Closure_collectLevel(x_313, 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); -x_302 = !lean_is_exclusive(x_301); -if (x_302 == 0) +x_315 = !lean_is_exclusive(x_314); +if (x_315 == 0) { -lean_object* x_303; lean_object* x_304; -x_303 = lean_ctor_get(x_301, 0); -x_304 = lean_expr_update_sort(x_1, x_303); -lean_ctor_set(x_301, 0, x_304); -return x_301; +lean_object* x_316; size_t x_317; size_t x_318; uint8_t x_319; +x_316 = lean_ctor_get(x_314, 0); +x_317 = lean_ptr_addr(x_313); +lean_dec(x_313); +x_318 = lean_ptr_addr(x_316); +x_319 = lean_usize_dec_eq(x_317, x_318); +if (x_319 == 0) +{ +lean_object* x_320; +lean_dec(x_1); +x_320 = l_Lean_Expr_sort___override(x_316); +lean_ctor_set(x_314, 0, x_320); +return x_314; } else { -lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; -x_305 = lean_ctor_get(x_301, 0); -x_306 = lean_ctor_get(x_301, 1); -lean_inc(x_306); -lean_inc(x_305); -lean_dec(x_301); -x_307 = lean_expr_update_sort(x_1, x_305); -x_308 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_308, 0, x_307); -lean_ctor_set(x_308, 1, x_306); -return x_308; +lean_dec(x_316); +lean_ctor_set(x_314, 0, x_1); +return x_314; +} +} +else +{ +lean_object* x_321; lean_object* x_322; size_t x_323; size_t x_324; uint8_t x_325; +x_321 = lean_ctor_get(x_314, 0); +x_322 = lean_ctor_get(x_314, 1); +lean_inc(x_322); +lean_inc(x_321); +lean_dec(x_314); +x_323 = lean_ptr_addr(x_313); +lean_dec(x_313); +x_324 = lean_ptr_addr(x_321); +x_325 = lean_usize_dec_eq(x_323, x_324); +if (x_325 == 0) +{ +lean_object* x_326; lean_object* x_327; +lean_dec(x_1); +x_326 = l_Lean_Expr_sort___override(x_321); +x_327 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_327, 0, x_326); +lean_ctor_set(x_327, 1, x_322); +return x_327; +} +else +{ +lean_object* x_328; +lean_dec(x_321); +x_328 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_328, 0, x_1); +lean_ctor_set(x_328, 1, x_322); +return x_328; +} } } case 4: { -lean_object* x_309; lean_object* x_310; uint8_t x_311; -x_309 = lean_ctor_get(x_1, 1); -lean_inc(x_309); -x_310 = l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__3(x_309, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_329; lean_object* x_330; lean_object* x_331; uint8_t x_332; +x_329 = lean_ctor_get(x_1, 0); +lean_inc(x_329); +x_330 = lean_ctor_get(x_1, 1); +lean_inc(x_330); +lean_inc(x_330); +x_331 = l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__3(x_330, 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); -x_311 = !lean_is_exclusive(x_310); -if (x_311 == 0) +x_332 = !lean_is_exclusive(x_331); +if (x_332 == 0) { -lean_object* x_312; lean_object* x_313; -x_312 = lean_ctor_get(x_310, 0); -x_313 = lean_expr_update_const(x_1, x_312); -lean_ctor_set(x_310, 0, x_313); -return x_310; +lean_object* x_333; uint8_t x_334; +x_333 = lean_ctor_get(x_331, 0); +x_334 = l_ptrEqList___rarg(x_330, x_333); +lean_dec(x_330); +if (x_334 == 0) +{ +lean_object* x_335; +lean_dec(x_1); +x_335 = l_Lean_Expr_const___override(x_329, x_333); +lean_ctor_set(x_331, 0, x_335); +return x_331; } else { -lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; -x_314 = lean_ctor_get(x_310, 0); -x_315 = lean_ctor_get(x_310, 1); -lean_inc(x_315); -lean_inc(x_314); -lean_dec(x_310); -x_316 = lean_expr_update_const(x_1, x_314); -x_317 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_315); -return x_317; +lean_dec(x_333); +lean_dec(x_329); +lean_ctor_set(x_331, 0, x_1); +return x_331; +} +} +else +{ +lean_object* x_336; lean_object* x_337; uint8_t x_338; +x_336 = lean_ctor_get(x_331, 0); +x_337 = lean_ctor_get(x_331, 1); +lean_inc(x_337); +lean_inc(x_336); +lean_dec(x_331); +x_338 = l_ptrEqList___rarg(x_330, x_336); +lean_dec(x_330); +if (x_338 == 0) +{ +lean_object* x_339; lean_object* x_340; +lean_dec(x_1); +x_339 = l_Lean_Expr_const___override(x_329, x_336); +x_340 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_340, 0, x_339); +lean_ctor_set(x_340, 1, x_337); +return x_340; +} +else +{ +lean_object* x_341; +lean_dec(x_336); +lean_dec(x_329); +x_341 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_341, 0, x_1); +lean_ctor_set(x_341, 1, x_337); +return x_341; +} } } case 5: { -lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_375; uint8_t x_413; -x_318 = lean_ctor_get(x_1, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_1, 1); -lean_inc(x_319); -x_413 = l_Lean_Expr_hasLevelParam(x_318); -if (x_413 == 0) +lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_410; uint8_t x_448; +x_342 = lean_ctor_get(x_1, 0); +lean_inc(x_342); +x_343 = lean_ctor_get(x_1, 1); +lean_inc(x_343); +x_448 = l_Lean_Expr_hasLevelParam(x_342); +if (x_448 == 0) { -uint8_t x_414; -x_414 = l_Lean_Expr_hasFVar(x_318); -if (x_414 == 0) +uint8_t x_449; +x_449 = l_Lean_Expr_hasFVar(x_342); +if (x_449 == 0) { -uint8_t x_415; -x_415 = l_Lean_Expr_hasMVar(x_318); -if (x_415 == 0) +uint8_t x_450; +x_450 = l_Lean_Expr_hasMVar(x_342); +if (x_450 == 0) { -x_320 = x_318; -x_321 = x_8; -goto block_374; +x_344 = x_342; +x_345 = x_8; +goto block_409; } else { -lean_object* x_416; -x_416 = lean_box(0); -x_375 = x_416; -goto block_412; +lean_object* x_451; +x_451 = lean_box(0); +x_410 = x_451; +goto block_447; } } else { -lean_object* x_417; -x_417 = lean_box(0); -x_375 = x_417; -goto block_412; +lean_object* x_452; +x_452 = lean_box(0); +x_410 = x_452; +goto block_447; } } else { -lean_object* x_418; -x_418 = lean_box(0); -x_375 = x_418; -goto block_412; +lean_object* x_453; +x_453 = lean_box(0); +x_410 = x_453; +goto block_447; } -block_374: +block_409: { -lean_object* x_322; lean_object* x_323; lean_object* x_330; uint8_t x_368; -x_368 = l_Lean_Expr_hasLevelParam(x_319); -if (x_368 == 0) +lean_object* x_346; lean_object* x_347; lean_object* x_365; uint8_t x_403; +x_403 = l_Lean_Expr_hasLevelParam(x_343); +if (x_403 == 0) { -uint8_t x_369; -x_369 = l_Lean_Expr_hasFVar(x_319); -if (x_369 == 0) +uint8_t x_404; +x_404 = l_Lean_Expr_hasFVar(x_343); +if (x_404 == 0) { -uint8_t x_370; -x_370 = l_Lean_Expr_hasMVar(x_319); -if (x_370 == 0) +uint8_t x_405; +x_405 = l_Lean_Expr_hasMVar(x_343); +if (x_405 == 0) { lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_322 = x_319; -x_323 = x_321; -goto block_329; +x_346 = x_343; +x_347 = x_345; +goto block_364; } else { -lean_object* x_371; -x_371 = lean_box(0); -x_330 = x_371; -goto block_367; +lean_object* x_406; +x_406 = lean_box(0); +x_365 = x_406; +goto block_402; } } else { -lean_object* x_372; -x_372 = lean_box(0); -x_330 = x_372; -goto block_367; +lean_object* x_407; +x_407 = lean_box(0); +x_365 = x_407; +goto block_402; } } else { -lean_object* x_373; -x_373 = lean_box(0); -x_330 = x_373; -goto block_367; +lean_object* x_408; +x_408 = lean_box(0); +x_365 = x_408; +goto block_402; } -block_329: +block_364: { if (lean_obj_tag(x_1) == 5) { -lean_object* x_324; lean_object* x_325; -x_324 = lean_expr_update_app(x_1, x_320, x_322); -x_325 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_325, 0, x_324); -lean_ctor_set(x_325, 1, x_323); -return x_325; -} -else -{ -lean_object* x_326; lean_object* x_327; lean_object* x_328; -lean_dec(x_322); -lean_dec(x_320); -lean_dec(x_1); -x_326 = l_Lean_Meta_Closure_collectExprAux___closed__10; -x_327 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_326); -x_328 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_328, 0, x_327); -lean_ctor_set(x_328, 1, x_323); -return x_328; -} -} -block_367: -{ -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_dec(x_330); -x_331 = lean_st_ref_get(x_7, x_321); -x_332 = lean_ctor_get(x_331, 1); -lean_inc(x_332); -lean_dec(x_331); -x_333 = lean_st_ref_get(x_3, x_332); -x_334 = lean_ctor_get(x_333, 0); -lean_inc(x_334); -x_335 = lean_ctor_get(x_333, 1); -lean_inc(x_335); -lean_dec(x_333); -x_336 = lean_ctor_get(x_334, 1); -lean_inc(x_336); -lean_dec(x_334); -lean_inc(x_319); -x_337 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_336, x_319); -if (lean_obj_tag(x_337) == 0) -{ -lean_object* x_338; -lean_inc(x_7); -lean_inc(x_319); -x_338 = l_Lean_Meta_Closure_collectExprAux(x_319, x_2, x_3, x_4, x_5, x_6, x_7, x_335); -if (lean_obj_tag(x_338) == 0) -{ -lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; -x_339 = lean_ctor_get(x_338, 0); -lean_inc(x_339); -x_340 = lean_ctor_get(x_338, 1); -lean_inc(x_340); -lean_dec(x_338); -x_341 = lean_st_ref_get(x_7, x_340); -lean_dec(x_7); -x_342 = lean_ctor_get(x_341, 1); -lean_inc(x_342); -lean_dec(x_341); -x_343 = lean_st_ref_take(x_3, x_342); -x_344 = lean_ctor_get(x_343, 0); -lean_inc(x_344); -x_345 = lean_ctor_get(x_343, 1); -lean_inc(x_345); -lean_dec(x_343); -x_346 = lean_ctor_get(x_344, 0); -lean_inc(x_346); -x_347 = lean_ctor_get(x_344, 1); -lean_inc(x_347); -lean_inc(x_339); -x_348 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_347, x_319, x_339); -x_349 = lean_ctor_get(x_344, 2); +lean_object* x_348; lean_object* x_349; size_t x_350; size_t x_351; uint8_t x_352; +x_348 = lean_ctor_get(x_1, 0); +lean_inc(x_348); +x_349 = lean_ctor_get(x_1, 1); lean_inc(x_349); -x_350 = lean_ctor_get(x_344, 3); -lean_inc(x_350); -x_351 = lean_ctor_get(x_344, 4); -lean_inc(x_351); -x_352 = lean_ctor_get(x_344, 5); -lean_inc(x_352); -x_353 = lean_ctor_get(x_344, 6); -lean_inc(x_353); -x_354 = lean_ctor_get(x_344, 7); -lean_inc(x_354); -x_355 = lean_ctor_get(x_344, 8); -lean_inc(x_355); -x_356 = lean_ctor_get(x_344, 9); -lean_inc(x_356); -x_357 = lean_ctor_get(x_344, 10); -lean_inc(x_357); -x_358 = lean_ctor_get(x_344, 11); -lean_inc(x_358); -lean_dec(x_344); -x_359 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_359, 0, x_346); -lean_ctor_set(x_359, 1, x_348); -lean_ctor_set(x_359, 2, x_349); -lean_ctor_set(x_359, 3, x_350); -lean_ctor_set(x_359, 4, x_351); -lean_ctor_set(x_359, 5, x_352); -lean_ctor_set(x_359, 6, x_353); -lean_ctor_set(x_359, 7, x_354); -lean_ctor_set(x_359, 8, x_355); -lean_ctor_set(x_359, 9, x_356); -lean_ctor_set(x_359, 10, x_357); -lean_ctor_set(x_359, 11, x_358); -x_360 = lean_st_ref_set(x_3, x_359, x_345); -x_361 = lean_ctor_get(x_360, 1); -lean_inc(x_361); -lean_dec(x_360); -x_322 = x_339; -x_323 = x_361; -goto block_329; -} -else +x_350 = lean_ptr_addr(x_348); +lean_dec(x_348); +x_351 = lean_ptr_addr(x_344); +x_352 = lean_usize_dec_eq(x_350, x_351); +if (x_352 == 0) { -uint8_t x_362; -lean_dec(x_320); -lean_dec(x_319); -lean_dec(x_7); +lean_object* x_353; lean_object* x_354; +lean_dec(x_349); lean_dec(x_1); -x_362 = !lean_is_exclusive(x_338); -if (x_362 == 0) -{ -return x_338; +x_353 = l_Lean_Expr_app___override(x_344, x_346); +x_354 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_354, 0, x_353); +lean_ctor_set(x_354, 1, x_347); +return x_354; } else { -lean_object* x_363; lean_object* x_364; lean_object* x_365; -x_363 = lean_ctor_get(x_338, 0); -x_364 = lean_ctor_get(x_338, 1); -lean_inc(x_364); -lean_inc(x_363); -lean_dec(x_338); -x_365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_365, 0, x_363); -lean_ctor_set(x_365, 1, x_364); -return x_365; +size_t x_355; size_t x_356; uint8_t x_357; +x_355 = lean_ptr_addr(x_349); +lean_dec(x_349); +x_356 = lean_ptr_addr(x_346); +x_357 = lean_usize_dec_eq(x_355, x_356); +if (x_357 == 0) +{ +lean_object* x_358; lean_object* x_359; +lean_dec(x_1); +x_358 = l_Lean_Expr_app___override(x_344, x_346); +x_359 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_359, 0, x_358); +lean_ctor_set(x_359, 1, x_347); +return x_359; +} +else +{ +lean_object* x_360; +lean_dec(x_346); +lean_dec(x_344); +x_360 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_360, 0, x_1); +lean_ctor_set(x_360, 1, x_347); +return x_360; } } } else { -lean_object* x_366; -lean_dec(x_319); +lean_object* x_361; lean_object* x_362; lean_object* x_363; +lean_dec(x_346); +lean_dec(x_344); +lean_dec(x_1); +x_361 = l_Lean_Meta_Closure_collectExprAux___closed__10; +x_362 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_361); +x_363 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_363, 0, x_362); +lean_ctor_set(x_363, 1, x_347); +return x_363; +} +} +block_402: +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; +lean_dec(x_365); +x_366 = lean_st_ref_get(x_7, x_345); +x_367 = lean_ctor_get(x_366, 1); +lean_inc(x_367); +lean_dec(x_366); +x_368 = lean_st_ref_get(x_3, x_367); +x_369 = lean_ctor_get(x_368, 0); +lean_inc(x_369); +x_370 = lean_ctor_get(x_368, 1); +lean_inc(x_370); +lean_dec(x_368); +x_371 = lean_ctor_get(x_369, 1); +lean_inc(x_371); +lean_dec(x_369); +lean_inc(x_343); +x_372 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_371, x_343); +if (lean_obj_tag(x_372) == 0) +{ +lean_object* x_373; +lean_inc(x_7); +lean_inc(x_343); +x_373 = l_Lean_Meta_Closure_collectExprAux(x_343, x_2, x_3, x_4, x_5, x_6, x_7, x_370); +if (lean_obj_tag(x_373) == 0) +{ +lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; +x_374 = lean_ctor_get(x_373, 0); +lean_inc(x_374); +x_375 = lean_ctor_get(x_373, 1); +lean_inc(x_375); +lean_dec(x_373); +x_376 = lean_st_ref_get(x_7, x_375); lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_366 = lean_ctor_get(x_337, 0); -lean_inc(x_366); -lean_dec(x_337); -x_322 = x_366; -x_323 = x_335; -goto block_329; -} -} -} -block_412: -{ -lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; -lean_dec(x_375); -x_376 = lean_st_ref_get(x_7, x_8); x_377 = lean_ctor_get(x_376, 1); lean_inc(x_377); lean_dec(x_376); -x_378 = lean_st_ref_get(x_3, x_377); +x_378 = lean_st_ref_take(x_3, x_377); x_379 = lean_ctor_get(x_378, 0); lean_inc(x_379); x_380 = lean_ctor_get(x_378, 1); lean_inc(x_380); lean_dec(x_378); -x_381 = lean_ctor_get(x_379, 1); +x_381 = lean_ctor_get(x_379, 0); lean_inc(x_381); +x_382 = lean_ctor_get(x_379, 1); +lean_inc(x_382); +lean_inc(x_374); +x_383 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_382, x_343, x_374); +x_384 = lean_ctor_get(x_379, 2); +lean_inc(x_384); +x_385 = lean_ctor_get(x_379, 3); +lean_inc(x_385); +x_386 = lean_ctor_get(x_379, 4); +lean_inc(x_386); +x_387 = lean_ctor_get(x_379, 5); +lean_inc(x_387); +x_388 = lean_ctor_get(x_379, 6); +lean_inc(x_388); +x_389 = lean_ctor_get(x_379, 7); +lean_inc(x_389); +x_390 = lean_ctor_get(x_379, 8); +lean_inc(x_390); +x_391 = lean_ctor_get(x_379, 9); +lean_inc(x_391); +x_392 = lean_ctor_get(x_379, 10); +lean_inc(x_392); +x_393 = lean_ctor_get(x_379, 11); +lean_inc(x_393); lean_dec(x_379); -lean_inc(x_318); -x_382 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_381, x_318); -if (lean_obj_tag(x_382) == 0) +x_394 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_394, 0, x_381); +lean_ctor_set(x_394, 1, x_383); +lean_ctor_set(x_394, 2, x_384); +lean_ctor_set(x_394, 3, x_385); +lean_ctor_set(x_394, 4, x_386); +lean_ctor_set(x_394, 5, x_387); +lean_ctor_set(x_394, 6, x_388); +lean_ctor_set(x_394, 7, x_389); +lean_ctor_set(x_394, 8, x_390); +lean_ctor_set(x_394, 9, x_391); +lean_ctor_set(x_394, 10, x_392); +lean_ctor_set(x_394, 11, x_393); +x_395 = lean_st_ref_set(x_3, x_394, x_380); +x_396 = lean_ctor_get(x_395, 1); +lean_inc(x_396); +lean_dec(x_395); +x_346 = x_374; +x_347 = x_396; +goto block_364; +} +else { -lean_object* x_383; +uint8_t x_397; +lean_dec(x_344); +lean_dec(x_343); +lean_dec(x_7); +lean_dec(x_1); +x_397 = !lean_is_exclusive(x_373); +if (x_397 == 0) +{ +return x_373; +} +else +{ +lean_object* x_398; lean_object* x_399; lean_object* x_400; +x_398 = lean_ctor_get(x_373, 0); +x_399 = lean_ctor_get(x_373, 1); +lean_inc(x_399); +lean_inc(x_398); +lean_dec(x_373); +x_400 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_400, 0, x_398); +lean_ctor_set(x_400, 1, x_399); +return x_400; +} +} +} +else +{ +lean_object* x_401; +lean_dec(x_343); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_401 = lean_ctor_get(x_372, 0); +lean_inc(x_401); +lean_dec(x_372); +x_346 = x_401; +x_347 = x_370; +goto block_364; +} +} +} +block_447: +{ +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_dec(x_410); +x_411 = lean_st_ref_get(x_7, x_8); +x_412 = lean_ctor_get(x_411, 1); +lean_inc(x_412); +lean_dec(x_411); +x_413 = lean_st_ref_get(x_3, x_412); +x_414 = lean_ctor_get(x_413, 0); +lean_inc(x_414); +x_415 = lean_ctor_get(x_413, 1); +lean_inc(x_415); +lean_dec(x_413); +x_416 = lean_ctor_get(x_414, 1); +lean_inc(x_416); +lean_dec(x_414); +lean_inc(x_342); +x_417 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_416, x_342); +if (lean_obj_tag(x_417) == 0) +{ +lean_object* x_418; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_318); -x_383 = l_Lean_Meta_Closure_collectExprAux(x_318, x_2, x_3, x_4, x_5, x_6, x_7, x_380); -if (lean_obj_tag(x_383) == 0) +lean_inc(x_342); +x_418 = l_Lean_Meta_Closure_collectExprAux(x_342, x_2, x_3, x_4, x_5, x_6, x_7, x_415); +if (lean_obj_tag(x_418) == 0) { -lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_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; -x_384 = lean_ctor_get(x_383, 0); -lean_inc(x_384); -x_385 = lean_ctor_get(x_383, 1); -lean_inc(x_385); -lean_dec(x_383); -x_386 = lean_st_ref_get(x_7, x_385); -x_387 = lean_ctor_get(x_386, 1); -lean_inc(x_387); -lean_dec(x_386); -x_388 = lean_st_ref_take(x_3, x_387); -x_389 = lean_ctor_get(x_388, 0); -lean_inc(x_389); -x_390 = lean_ctor_get(x_388, 1); -lean_inc(x_390); -lean_dec(x_388); -x_391 = lean_ctor_get(x_389, 0); -lean_inc(x_391); -x_392 = lean_ctor_get(x_389, 1); -lean_inc(x_392); -lean_inc(x_384); -x_393 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_392, x_318, x_384); -x_394 = lean_ctor_get(x_389, 2); -lean_inc(x_394); -x_395 = lean_ctor_get(x_389, 3); -lean_inc(x_395); -x_396 = lean_ctor_get(x_389, 4); -lean_inc(x_396); -x_397 = lean_ctor_get(x_389, 5); -lean_inc(x_397); -x_398 = lean_ctor_get(x_389, 6); -lean_inc(x_398); -x_399 = lean_ctor_get(x_389, 7); -lean_inc(x_399); -x_400 = lean_ctor_get(x_389, 8); -lean_inc(x_400); -x_401 = lean_ctor_get(x_389, 9); -lean_inc(x_401); -x_402 = lean_ctor_get(x_389, 10); -lean_inc(x_402); -x_403 = lean_ctor_get(x_389, 11); -lean_inc(x_403); -lean_dec(x_389); -x_404 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_404, 0, x_391); -lean_ctor_set(x_404, 1, x_393); -lean_ctor_set(x_404, 2, x_394); -lean_ctor_set(x_404, 3, x_395); -lean_ctor_set(x_404, 4, x_396); -lean_ctor_set(x_404, 5, x_397); -lean_ctor_set(x_404, 6, x_398); -lean_ctor_set(x_404, 7, x_399); -lean_ctor_set(x_404, 8, x_400); -lean_ctor_set(x_404, 9, x_401); -lean_ctor_set(x_404, 10, x_402); -lean_ctor_set(x_404, 11, x_403); -x_405 = lean_st_ref_set(x_3, x_404, x_390); -x_406 = lean_ctor_get(x_405, 1); -lean_inc(x_406); -lean_dec(x_405); -x_320 = x_384; -x_321 = x_406; -goto block_374; +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; +x_419 = lean_ctor_get(x_418, 0); +lean_inc(x_419); +x_420 = lean_ctor_get(x_418, 1); +lean_inc(x_420); +lean_dec(x_418); +x_421 = lean_st_ref_get(x_7, x_420); +x_422 = lean_ctor_get(x_421, 1); +lean_inc(x_422); +lean_dec(x_421); +x_423 = lean_st_ref_take(x_3, x_422); +x_424 = lean_ctor_get(x_423, 0); +lean_inc(x_424); +x_425 = lean_ctor_get(x_423, 1); +lean_inc(x_425); +lean_dec(x_423); +x_426 = lean_ctor_get(x_424, 0); +lean_inc(x_426); +x_427 = lean_ctor_get(x_424, 1); +lean_inc(x_427); +lean_inc(x_419); +x_428 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_427, x_342, x_419); +x_429 = lean_ctor_get(x_424, 2); +lean_inc(x_429); +x_430 = lean_ctor_get(x_424, 3); +lean_inc(x_430); +x_431 = lean_ctor_get(x_424, 4); +lean_inc(x_431); +x_432 = lean_ctor_get(x_424, 5); +lean_inc(x_432); +x_433 = lean_ctor_get(x_424, 6); +lean_inc(x_433); +x_434 = lean_ctor_get(x_424, 7); +lean_inc(x_434); +x_435 = lean_ctor_get(x_424, 8); +lean_inc(x_435); +x_436 = lean_ctor_get(x_424, 9); +lean_inc(x_436); +x_437 = lean_ctor_get(x_424, 10); +lean_inc(x_437); +x_438 = lean_ctor_get(x_424, 11); +lean_inc(x_438); +lean_dec(x_424); +x_439 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_439, 0, x_426); +lean_ctor_set(x_439, 1, x_428); +lean_ctor_set(x_439, 2, x_429); +lean_ctor_set(x_439, 3, x_430); +lean_ctor_set(x_439, 4, x_431); +lean_ctor_set(x_439, 5, x_432); +lean_ctor_set(x_439, 6, x_433); +lean_ctor_set(x_439, 7, x_434); +lean_ctor_set(x_439, 8, x_435); +lean_ctor_set(x_439, 9, x_436); +lean_ctor_set(x_439, 10, x_437); +lean_ctor_set(x_439, 11, x_438); +x_440 = lean_st_ref_set(x_3, x_439, x_425); +x_441 = lean_ctor_get(x_440, 1); +lean_inc(x_441); +lean_dec(x_440); +x_344 = x_419; +x_345 = x_441; +goto block_409; } else { -uint8_t x_407; -lean_dec(x_319); -lean_dec(x_318); +uint8_t x_442; +lean_dec(x_343); +lean_dec(x_342); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_407 = !lean_is_exclusive(x_383); -if (x_407 == 0) +x_442 = !lean_is_exclusive(x_418); +if (x_442 == 0) { -return x_383; +return x_418; } else { -lean_object* x_408; lean_object* x_409; lean_object* x_410; -x_408 = lean_ctor_get(x_383, 0); -x_409 = lean_ctor_get(x_383, 1); -lean_inc(x_409); -lean_inc(x_408); -lean_dec(x_383); -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; +lean_object* x_443; lean_object* x_444; lean_object* x_445; +x_443 = lean_ctor_get(x_418, 0); +x_444 = lean_ctor_get(x_418, 1); +lean_inc(x_444); +lean_inc(x_443); +lean_dec(x_418); +x_445 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_445, 0, x_443); +lean_ctor_set(x_445, 1, x_444); +return x_445; } } } else { -lean_object* x_411; -lean_dec(x_318); -x_411 = lean_ctor_get(x_382, 0); -lean_inc(x_411); -lean_dec(x_382); -x_320 = x_411; -x_321 = x_380; -goto block_374; +lean_object* x_446; +lean_dec(x_342); +x_446 = lean_ctor_get(x_417, 0); +lean_inc(x_446); +lean_dec(x_417); +x_344 = x_446; +x_345 = x_415; +goto block_409; } } } case 6: { -lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_477; uint8_t x_515; -x_419 = lean_ctor_get(x_1, 1); -lean_inc(x_419); -x_420 = lean_ctor_get(x_1, 2); -lean_inc(x_420); -x_515 = l_Lean_Expr_hasLevelParam(x_419); -if (x_515 == 0) -{ -uint8_t x_516; -x_516 = l_Lean_Expr_hasFVar(x_419); -if (x_516 == 0) -{ -uint8_t x_517; -x_517 = l_Lean_Expr_hasMVar(x_419); -if (x_517 == 0) -{ -x_421 = x_419; -x_422 = x_8; -goto block_476; -} -else -{ -lean_object* x_518; -x_518 = lean_box(0); -x_477 = x_518; -goto block_514; -} -} -else -{ -lean_object* x_519; -x_519 = lean_box(0); -x_477 = x_519; -goto block_514; -} -} -else -{ -lean_object* x_520; -x_520 = lean_box(0); -x_477 = x_520; -goto block_514; -} -block_476: -{ -lean_object* x_423; lean_object* x_424; lean_object* x_432; uint8_t x_470; -x_470 = l_Lean_Expr_hasLevelParam(x_420); -if (x_470 == 0) -{ -uint8_t x_471; -x_471 = l_Lean_Expr_hasFVar(x_420); -if (x_471 == 0) -{ -uint8_t x_472; -x_472 = l_Lean_Expr_hasMVar(x_420); -if (x_472 == 0) -{ -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_423 = x_420; -x_424 = x_422; -goto block_431; -} -else -{ -lean_object* x_473; -x_473 = lean_box(0); -x_432 = x_473; -goto block_469; -} -} -else -{ -lean_object* x_474; -x_474 = lean_box(0); -x_432 = x_474; -goto block_469; -} -} -else -{ -lean_object* x_475; -x_475 = lean_box(0); -x_432 = x_475; -goto block_469; -} -block_431: -{ -if (lean_obj_tag(x_1) == 6) -{ -uint8_t x_425; lean_object* x_426; lean_object* x_427; -x_425 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_426 = lean_expr_update_lambda(x_1, x_425, x_421, x_423); -x_427 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_427, 0, x_426); -lean_ctor_set(x_427, 1, x_424); -return x_427; -} -else -{ -lean_object* x_428; lean_object* x_429; lean_object* x_430; -lean_dec(x_423); -lean_dec(x_421); -lean_dec(x_1); -x_428 = l_Lean_Meta_Closure_collectExprAux___closed__13; -x_429 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_428); -x_430 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_430, 0, x_429); -lean_ctor_set(x_430, 1, x_424); -return x_430; -} -} -block_469: -{ -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_dec(x_432); -x_433 = lean_st_ref_get(x_7, x_422); -x_434 = lean_ctor_get(x_433, 1); -lean_inc(x_434); -lean_dec(x_433); -x_435 = lean_st_ref_get(x_3, x_434); -x_436 = lean_ctor_get(x_435, 0); -lean_inc(x_436); -x_437 = lean_ctor_get(x_435, 1); -lean_inc(x_437); -lean_dec(x_435); -x_438 = lean_ctor_get(x_436, 1); -lean_inc(x_438); -lean_dec(x_436); -lean_inc(x_420); -x_439 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_438, x_420); -if (lean_obj_tag(x_439) == 0) -{ -lean_object* x_440; -lean_inc(x_7); -lean_inc(x_420); -x_440 = l_Lean_Meta_Closure_collectExprAux(x_420, x_2, x_3, x_4, x_5, x_6, x_7, x_437); -if (lean_obj_tag(x_440) == 0) -{ -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; -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_443 = lean_st_ref_get(x_7, x_442); -lean_dec(x_7); -x_444 = lean_ctor_get(x_443, 1); -lean_inc(x_444); -lean_dec(x_443); -x_445 = lean_st_ref_take(x_3, x_444); -x_446 = lean_ctor_get(x_445, 0); -lean_inc(x_446); -x_447 = lean_ctor_get(x_445, 1); -lean_inc(x_447); -lean_dec(x_445); -x_448 = lean_ctor_get(x_446, 0); -lean_inc(x_448); -x_449 = lean_ctor_get(x_446, 1); -lean_inc(x_449); -lean_inc(x_441); -x_450 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_449, x_420, x_441); -x_451 = lean_ctor_get(x_446, 2); -lean_inc(x_451); -x_452 = lean_ctor_get(x_446, 3); -lean_inc(x_452); -x_453 = lean_ctor_get(x_446, 4); -lean_inc(x_453); -x_454 = lean_ctor_get(x_446, 5); +lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_528; uint8_t x_566; +x_454 = lean_ctor_get(x_1, 1); lean_inc(x_454); -x_455 = lean_ctor_get(x_446, 6); +x_455 = lean_ctor_get(x_1, 2); lean_inc(x_455); -x_456 = lean_ctor_get(x_446, 7); -lean_inc(x_456); -x_457 = lean_ctor_get(x_446, 8); -lean_inc(x_457); -x_458 = lean_ctor_get(x_446, 9); -lean_inc(x_458); -x_459 = lean_ctor_get(x_446, 10); -lean_inc(x_459); -x_460 = lean_ctor_get(x_446, 11); -lean_inc(x_460); -lean_dec(x_446); -x_461 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_461, 0, x_448); -lean_ctor_set(x_461, 1, x_450); -lean_ctor_set(x_461, 2, x_451); -lean_ctor_set(x_461, 3, x_452); -lean_ctor_set(x_461, 4, x_453); -lean_ctor_set(x_461, 5, x_454); -lean_ctor_set(x_461, 6, x_455); -lean_ctor_set(x_461, 7, x_456); -lean_ctor_set(x_461, 8, x_457); -lean_ctor_set(x_461, 9, x_458); -lean_ctor_set(x_461, 10, x_459); -lean_ctor_set(x_461, 11, x_460); -x_462 = lean_st_ref_set(x_3, x_461, x_447); -x_463 = lean_ctor_get(x_462, 1); -lean_inc(x_463); -lean_dec(x_462); -x_423 = x_441; -x_424 = x_463; -goto block_431; -} -else -{ -uint8_t x_464; -lean_dec(x_421); -lean_dec(x_420); -lean_dec(x_7); -lean_dec(x_1); -x_464 = !lean_is_exclusive(x_440); -if (x_464 == 0) -{ -return x_440; -} -else -{ -lean_object* x_465; lean_object* x_466; lean_object* x_467; -x_465 = lean_ctor_get(x_440, 0); -x_466 = lean_ctor_get(x_440, 1); -lean_inc(x_466); -lean_inc(x_465); -lean_dec(x_440); -x_467 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_467, 0, x_465); -lean_ctor_set(x_467, 1, x_466); -return x_467; -} -} -} -else -{ -lean_object* x_468; -lean_dec(x_420); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_468 = lean_ctor_get(x_439, 0); -lean_inc(x_468); -lean_dec(x_439); -x_423 = x_468; -x_424 = x_437; -goto block_431; -} -} -} -block_514: -{ -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_dec(x_477); -x_478 = lean_st_ref_get(x_7, x_8); -x_479 = lean_ctor_get(x_478, 1); -lean_inc(x_479); -lean_dec(x_478); -x_480 = lean_st_ref_get(x_3, x_479); -x_481 = lean_ctor_get(x_480, 0); -lean_inc(x_481); -x_482 = lean_ctor_get(x_480, 1); -lean_inc(x_482); -lean_dec(x_480); -x_483 = lean_ctor_get(x_481, 1); -lean_inc(x_483); -lean_dec(x_481); -lean_inc(x_419); -x_484 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_483, x_419); -if (lean_obj_tag(x_484) == 0) -{ -lean_object* x_485; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_419); -x_485 = l_Lean_Meta_Closure_collectExprAux(x_419, x_2, x_3, x_4, x_5, x_6, x_7, x_482); -if (lean_obj_tag(x_485) == 0) -{ -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; -x_486 = lean_ctor_get(x_485, 0); -lean_inc(x_486); -x_487 = lean_ctor_get(x_485, 1); -lean_inc(x_487); -lean_dec(x_485); -x_488 = lean_st_ref_get(x_7, x_487); -x_489 = lean_ctor_get(x_488, 1); -lean_inc(x_489); -lean_dec(x_488); -x_490 = lean_st_ref_take(x_3, x_489); -x_491 = lean_ctor_get(x_490, 0); -lean_inc(x_491); -x_492 = lean_ctor_get(x_490, 1); -lean_inc(x_492); -lean_dec(x_490); -x_493 = lean_ctor_get(x_491, 0); -lean_inc(x_493); -x_494 = lean_ctor_get(x_491, 1); -lean_inc(x_494); -lean_inc(x_486); -x_495 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_494, x_419, x_486); -x_496 = lean_ctor_get(x_491, 2); -lean_inc(x_496); -x_497 = lean_ctor_get(x_491, 3); -lean_inc(x_497); -x_498 = lean_ctor_get(x_491, 4); -lean_inc(x_498); -x_499 = lean_ctor_get(x_491, 5); -lean_inc(x_499); -x_500 = lean_ctor_get(x_491, 6); -lean_inc(x_500); -x_501 = lean_ctor_get(x_491, 7); -lean_inc(x_501); -x_502 = lean_ctor_get(x_491, 8); -lean_inc(x_502); -x_503 = lean_ctor_get(x_491, 9); -lean_inc(x_503); -x_504 = lean_ctor_get(x_491, 10); -lean_inc(x_504); -x_505 = lean_ctor_get(x_491, 11); -lean_inc(x_505); -lean_dec(x_491); -x_506 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_506, 0, x_493); -lean_ctor_set(x_506, 1, x_495); -lean_ctor_set(x_506, 2, x_496); -lean_ctor_set(x_506, 3, x_497); -lean_ctor_set(x_506, 4, x_498); -lean_ctor_set(x_506, 5, x_499); -lean_ctor_set(x_506, 6, x_500); -lean_ctor_set(x_506, 7, x_501); -lean_ctor_set(x_506, 8, x_502); -lean_ctor_set(x_506, 9, x_503); -lean_ctor_set(x_506, 10, x_504); -lean_ctor_set(x_506, 11, x_505); -x_507 = lean_st_ref_set(x_3, x_506, x_492); -x_508 = lean_ctor_get(x_507, 1); -lean_inc(x_508); -lean_dec(x_507); -x_421 = x_486; -x_422 = x_508; -goto block_476; -} -else -{ -uint8_t x_509; -lean_dec(x_420); -lean_dec(x_419); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_509 = !lean_is_exclusive(x_485); -if (x_509 == 0) -{ -return x_485; -} -else -{ -lean_object* x_510; lean_object* x_511; lean_object* x_512; -x_510 = lean_ctor_get(x_485, 0); -x_511 = lean_ctor_get(x_485, 1); -lean_inc(x_511); -lean_inc(x_510); -lean_dec(x_485); -x_512 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_512, 0, x_510); -lean_ctor_set(x_512, 1, x_511); -return x_512; -} -} -} -else -{ -lean_object* x_513; -lean_dec(x_419); -x_513 = lean_ctor_get(x_484, 0); -lean_inc(x_513); -lean_dec(x_484); -x_421 = x_513; -x_422 = x_482; -goto block_476; -} -} -} -case 7: -{ -lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_579; uint8_t x_617; -x_521 = lean_ctor_get(x_1, 1); -lean_inc(x_521); -x_522 = lean_ctor_get(x_1, 2); -lean_inc(x_522); -x_617 = l_Lean_Expr_hasLevelParam(x_521); -if (x_617 == 0) -{ -uint8_t x_618; -x_618 = l_Lean_Expr_hasFVar(x_521); -if (x_618 == 0) -{ -uint8_t x_619; -x_619 = l_Lean_Expr_hasMVar(x_521); -if (x_619 == 0) -{ -x_523 = x_521; -x_524 = x_8; -goto block_578; -} -else -{ -lean_object* x_620; -x_620 = lean_box(0); -x_579 = x_620; -goto block_616; -} -} -else -{ -lean_object* x_621; -x_621 = lean_box(0); -x_579 = x_621; -goto block_616; -} -} -else -{ -lean_object* x_622; -x_622 = lean_box(0); -x_579 = x_622; -goto block_616; -} -block_578: -{ -lean_object* x_525; lean_object* x_526; lean_object* x_534; uint8_t x_572; -x_572 = l_Lean_Expr_hasLevelParam(x_522); -if (x_572 == 0) -{ -uint8_t x_573; -x_573 = l_Lean_Expr_hasFVar(x_522); -if (x_573 == 0) -{ -uint8_t x_574; -x_574 = l_Lean_Expr_hasMVar(x_522); -if (x_574 == 0) -{ -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_525 = x_522; -x_526 = x_524; -goto block_533; -} -else -{ -lean_object* x_575; -x_575 = lean_box(0); -x_534 = x_575; -goto block_571; -} -} -else -{ -lean_object* x_576; -x_576 = lean_box(0); -x_534 = x_576; -goto block_571; -} -} -else -{ -lean_object* x_577; -x_577 = lean_box(0); -x_534 = x_577; -goto block_571; -} -block_533: -{ -if (lean_obj_tag(x_1) == 7) -{ -uint8_t x_527; lean_object* x_528; lean_object* x_529; -x_527 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_528 = lean_expr_update_forall(x_1, x_527, x_523, x_525); -x_529 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_529, 0, x_528); -lean_ctor_set(x_529, 1, x_526); -return x_529; -} -else -{ -lean_object* x_530; lean_object* x_531; lean_object* x_532; -lean_dec(x_525); -lean_dec(x_523); -lean_dec(x_1); -x_530 = l_Lean_Meta_Closure_collectExprAux___closed__16; -x_531 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_530); -x_532 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_532, 0, x_531); -lean_ctor_set(x_532, 1, x_526); -return x_532; -} -} -block_571: -{ -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_dec(x_534); -x_535 = lean_st_ref_get(x_7, x_524); -x_536 = lean_ctor_get(x_535, 1); -lean_inc(x_536); -lean_dec(x_535); -x_537 = lean_st_ref_get(x_3, x_536); -x_538 = lean_ctor_get(x_537, 0); -lean_inc(x_538); -x_539 = lean_ctor_get(x_537, 1); -lean_inc(x_539); -lean_dec(x_537); -x_540 = lean_ctor_get(x_538, 1); -lean_inc(x_540); -lean_dec(x_538); -lean_inc(x_522); -x_541 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_540, x_522); -if (lean_obj_tag(x_541) == 0) -{ -lean_object* x_542; -lean_inc(x_7); -lean_inc(x_522); -x_542 = l_Lean_Meta_Closure_collectExprAux(x_522, x_2, x_3, x_4, x_5, x_6, x_7, x_539); -if (lean_obj_tag(x_542) == 0) -{ -lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_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_543 = lean_ctor_get(x_542, 0); -lean_inc(x_543); -x_544 = lean_ctor_get(x_542, 1); -lean_inc(x_544); -lean_dec(x_542); -x_545 = lean_st_ref_get(x_7, x_544); -lean_dec(x_7); -x_546 = lean_ctor_get(x_545, 1); -lean_inc(x_546); -lean_dec(x_545); -x_547 = lean_st_ref_take(x_3, x_546); -x_548 = lean_ctor_get(x_547, 0); -lean_inc(x_548); -x_549 = lean_ctor_get(x_547, 1); -lean_inc(x_549); -lean_dec(x_547); -x_550 = lean_ctor_get(x_548, 0); -lean_inc(x_550); -x_551 = lean_ctor_get(x_548, 1); -lean_inc(x_551); -lean_inc(x_543); -x_552 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_551, x_522, x_543); -x_553 = lean_ctor_get(x_548, 2); -lean_inc(x_553); -x_554 = lean_ctor_get(x_548, 3); -lean_inc(x_554); -x_555 = lean_ctor_get(x_548, 4); -lean_inc(x_555); -x_556 = lean_ctor_get(x_548, 5); -lean_inc(x_556); -x_557 = lean_ctor_get(x_548, 6); -lean_inc(x_557); -x_558 = lean_ctor_get(x_548, 7); -lean_inc(x_558); -x_559 = lean_ctor_get(x_548, 8); -lean_inc(x_559); -x_560 = lean_ctor_get(x_548, 9); -lean_inc(x_560); -x_561 = lean_ctor_get(x_548, 10); -lean_inc(x_561); -x_562 = lean_ctor_get(x_548, 11); -lean_inc(x_562); -lean_dec(x_548); -x_563 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_563, 0, x_550); -lean_ctor_set(x_563, 1, x_552); -lean_ctor_set(x_563, 2, x_553); -lean_ctor_set(x_563, 3, x_554); -lean_ctor_set(x_563, 4, x_555); -lean_ctor_set(x_563, 5, x_556); -lean_ctor_set(x_563, 6, x_557); -lean_ctor_set(x_563, 7, x_558); -lean_ctor_set(x_563, 8, x_559); -lean_ctor_set(x_563, 9, x_560); -lean_ctor_set(x_563, 10, x_561); -lean_ctor_set(x_563, 11, x_562); -x_564 = lean_st_ref_set(x_3, x_563, x_549); -x_565 = lean_ctor_get(x_564, 1); -lean_inc(x_565); -lean_dec(x_564); -x_525 = x_543; -x_526 = x_565; -goto block_533; -} -else -{ -uint8_t x_566; -lean_dec(x_523); -lean_dec(x_522); -lean_dec(x_7); -lean_dec(x_1); -x_566 = !lean_is_exclusive(x_542); +x_566 = l_Lean_Expr_hasLevelParam(x_454); if (x_566 == 0) { -return x_542; +uint8_t x_567; +x_567 = l_Lean_Expr_hasFVar(x_454); +if (x_567 == 0) +{ +uint8_t x_568; +x_568 = l_Lean_Expr_hasMVar(x_454); +if (x_568 == 0) +{ +x_456 = x_454; +x_457 = x_8; +goto block_527; } else { -lean_object* x_567; lean_object* x_568; lean_object* x_569; -x_567 = lean_ctor_get(x_542, 0); -x_568 = lean_ctor_get(x_542, 1); -lean_inc(x_568); -lean_inc(x_567); -lean_dec(x_542); -x_569 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_569, 0, x_567); -lean_ctor_set(x_569, 1, x_568); -return x_569; -} +lean_object* x_569; +x_569 = lean_box(0); +x_528 = x_569; +goto block_565; } } else { lean_object* x_570; -lean_dec(x_522); +x_570 = lean_box(0); +x_528 = x_570; +goto block_565; +} +} +else +{ +lean_object* x_571; +x_571 = lean_box(0); +x_528 = x_571; +goto block_565; +} +block_527: +{ +lean_object* x_458; lean_object* x_459; lean_object* x_483; uint8_t x_521; +x_521 = l_Lean_Expr_hasLevelParam(x_455); +if (x_521 == 0) +{ +uint8_t x_522; +x_522 = l_Lean_Expr_hasFVar(x_455); +if (x_522 == 0) +{ +uint8_t x_523; +x_523 = l_Lean_Expr_hasMVar(x_455); +if (x_523 == 0) +{ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_570 = lean_ctor_get(x_541, 0); -lean_inc(x_570); -lean_dec(x_541); -x_525 = x_570; -x_526 = x_539; -goto block_533; +x_458 = x_455; +x_459 = x_457; +goto block_482; } -} -} -block_616: +else { -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_dec(x_579); -x_580 = lean_st_ref_get(x_7, x_8); -x_581 = lean_ctor_get(x_580, 1); -lean_inc(x_581); -lean_dec(x_580); -x_582 = lean_st_ref_get(x_3, x_581); -x_583 = lean_ctor_get(x_582, 0); -lean_inc(x_583); -x_584 = lean_ctor_get(x_582, 1); -lean_inc(x_584); -lean_dec(x_582); -x_585 = lean_ctor_get(x_583, 1); -lean_inc(x_585); -lean_dec(x_583); -lean_inc(x_521); -x_586 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_585, x_521); -if (lean_obj_tag(x_586) == 0) +lean_object* x_524; +x_524 = lean_box(0); +x_483 = x_524; +goto block_520; +} +} +else { -lean_object* x_587; +lean_object* x_525; +x_525 = lean_box(0); +x_483 = x_525; +goto block_520; +} +} +else +{ +lean_object* x_526; +x_526 = lean_box(0); +x_483 = x_526; +goto block_520; +} +block_482: +{ +if (lean_obj_tag(x_1) == 6) +{ +lean_object* x_460; lean_object* x_461; lean_object* x_462; uint8_t x_463; lean_object* x_464; size_t x_465; size_t x_466; uint8_t x_467; +x_460 = lean_ctor_get(x_1, 0); +lean_inc(x_460); +x_461 = lean_ctor_get(x_1, 1); +lean_inc(x_461); +x_462 = lean_ctor_get(x_1, 2); +lean_inc(x_462); +x_463 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_462); +lean_inc(x_461); +lean_inc(x_460); +x_464 = l_Lean_Expr_lam___override(x_460, x_461, x_462, x_463); +x_465 = lean_ptr_addr(x_461); +lean_dec(x_461); +x_466 = lean_ptr_addr(x_456); +x_467 = lean_usize_dec_eq(x_465, x_466); +if (x_467 == 0) +{ +lean_object* x_468; lean_object* x_469; +lean_dec(x_464); +lean_dec(x_462); +x_468 = l_Lean_Expr_lam___override(x_460, x_456, x_458, x_463); +x_469 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_469, 0, x_468); +lean_ctor_set(x_469, 1, x_459); +return x_469; +} +else +{ +size_t x_470; size_t x_471; uint8_t x_472; +x_470 = lean_ptr_addr(x_462); +lean_dec(x_462); +x_471 = lean_ptr_addr(x_458); +x_472 = lean_usize_dec_eq(x_470, x_471); +if (x_472 == 0) +{ +lean_object* x_473; lean_object* x_474; +lean_dec(x_464); +x_473 = l_Lean_Expr_lam___override(x_460, x_456, x_458, x_463); +x_474 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_474, 0, x_473); +lean_ctor_set(x_474, 1, x_459); +return x_474; +} +else +{ +uint8_t x_475; +x_475 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_463, x_463); +if (x_475 == 0) +{ +lean_object* x_476; lean_object* x_477; +lean_dec(x_464); +x_476 = l_Lean_Expr_lam___override(x_460, x_456, x_458, x_463); +x_477 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_477, 0, x_476); +lean_ctor_set(x_477, 1, x_459); +return x_477; +} +else +{ +lean_object* x_478; +lean_dec(x_460); +lean_dec(x_458); +lean_dec(x_456); +x_478 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_478, 0, x_464); +lean_ctor_set(x_478, 1, x_459); +return x_478; +} +} +} +} +else +{ +lean_object* x_479; lean_object* x_480; lean_object* x_481; +lean_dec(x_458); +lean_dec(x_456); +lean_dec(x_1); +x_479 = l_Lean_Meta_Closure_collectExprAux___closed__13; +x_480 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_479); +x_481 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_481, 0, x_480); +lean_ctor_set(x_481, 1, x_459); +return x_481; +} +} +block_520: +{ +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_dec(x_483); +x_484 = lean_st_ref_get(x_7, x_457); +x_485 = lean_ctor_get(x_484, 1); +lean_inc(x_485); +lean_dec(x_484); +x_486 = lean_st_ref_get(x_3, x_485); +x_487 = lean_ctor_get(x_486, 0); +lean_inc(x_487); +x_488 = lean_ctor_get(x_486, 1); +lean_inc(x_488); +lean_dec(x_486); +x_489 = lean_ctor_get(x_487, 1); +lean_inc(x_489); +lean_dec(x_487); +lean_inc(x_455); +x_490 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_489, x_455); +if (lean_obj_tag(x_490) == 0) +{ +lean_object* x_491; +lean_inc(x_7); +lean_inc(x_455); +x_491 = l_Lean_Meta_Closure_collectExprAux(x_455, x_2, x_3, x_4, x_5, x_6, x_7, x_488); +if (lean_obj_tag(x_491) == 0) +{ +lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; +x_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_st_ref_get(x_7, x_493); +lean_dec(x_7); +x_495 = lean_ctor_get(x_494, 1); +lean_inc(x_495); +lean_dec(x_494); +x_496 = lean_st_ref_take(x_3, x_495); +x_497 = lean_ctor_get(x_496, 0); +lean_inc(x_497); +x_498 = lean_ctor_get(x_496, 1); +lean_inc(x_498); +lean_dec(x_496); +x_499 = lean_ctor_get(x_497, 0); +lean_inc(x_499); +x_500 = lean_ctor_get(x_497, 1); +lean_inc(x_500); +lean_inc(x_492); +x_501 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_500, x_455, x_492); +x_502 = lean_ctor_get(x_497, 2); +lean_inc(x_502); +x_503 = lean_ctor_get(x_497, 3); +lean_inc(x_503); +x_504 = lean_ctor_get(x_497, 4); +lean_inc(x_504); +x_505 = lean_ctor_get(x_497, 5); +lean_inc(x_505); +x_506 = lean_ctor_get(x_497, 6); +lean_inc(x_506); +x_507 = lean_ctor_get(x_497, 7); +lean_inc(x_507); +x_508 = lean_ctor_get(x_497, 8); +lean_inc(x_508); +x_509 = lean_ctor_get(x_497, 9); +lean_inc(x_509); +x_510 = lean_ctor_get(x_497, 10); +lean_inc(x_510); +x_511 = lean_ctor_get(x_497, 11); +lean_inc(x_511); +lean_dec(x_497); +x_512 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_512, 0, x_499); +lean_ctor_set(x_512, 1, x_501); +lean_ctor_set(x_512, 2, x_502); +lean_ctor_set(x_512, 3, x_503); +lean_ctor_set(x_512, 4, x_504); +lean_ctor_set(x_512, 5, x_505); +lean_ctor_set(x_512, 6, x_506); +lean_ctor_set(x_512, 7, x_507); +lean_ctor_set(x_512, 8, x_508); +lean_ctor_set(x_512, 9, x_509); +lean_ctor_set(x_512, 10, x_510); +lean_ctor_set(x_512, 11, x_511); +x_513 = lean_st_ref_set(x_3, x_512, x_498); +x_514 = lean_ctor_get(x_513, 1); +lean_inc(x_514); +lean_dec(x_513); +x_458 = x_492; +x_459 = x_514; +goto block_482; +} +else +{ +uint8_t x_515; +lean_dec(x_456); +lean_dec(x_455); +lean_dec(x_7); +lean_dec(x_1); +x_515 = !lean_is_exclusive(x_491); +if (x_515 == 0) +{ +return x_491; +} +else +{ +lean_object* x_516; lean_object* x_517; lean_object* x_518; +x_516 = lean_ctor_get(x_491, 0); +x_517 = lean_ctor_get(x_491, 1); +lean_inc(x_517); +lean_inc(x_516); +lean_dec(x_491); +x_518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_518, 0, x_516); +lean_ctor_set(x_518, 1, x_517); +return x_518; +} +} +} +else +{ +lean_object* x_519; +lean_dec(x_455); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_519 = lean_ctor_get(x_490, 0); +lean_inc(x_519); +lean_dec(x_490); +x_458 = x_519; +x_459 = x_488; +goto block_482; +} +} +} +block_565: +{ +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_dec(x_528); +x_529 = lean_st_ref_get(x_7, x_8); +x_530 = lean_ctor_get(x_529, 1); +lean_inc(x_530); +lean_dec(x_529); +x_531 = lean_st_ref_get(x_3, 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_531); +x_534 = lean_ctor_get(x_532, 1); +lean_inc(x_534); +lean_dec(x_532); +lean_inc(x_454); +x_535 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_534, x_454); +if (lean_obj_tag(x_535) == 0) +{ +lean_object* x_536; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_521); -x_587 = l_Lean_Meta_Closure_collectExprAux(x_521, x_2, x_3, x_4, x_5, x_6, x_7, x_584); -if (lean_obj_tag(x_587) == 0) +lean_inc(x_454); +x_536 = l_Lean_Meta_Closure_collectExprAux(x_454, x_2, x_3, x_4, x_5, x_6, x_7, x_533); +if (lean_obj_tag(x_536) == 0) { -lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; 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; -x_588 = lean_ctor_get(x_587, 0); -lean_inc(x_588); -x_589 = lean_ctor_get(x_587, 1); -lean_inc(x_589); -lean_dec(x_587); -x_590 = lean_st_ref_get(x_7, x_589); -x_591 = lean_ctor_get(x_590, 1); -lean_inc(x_591); -lean_dec(x_590); -x_592 = lean_st_ref_take(x_3, x_591); -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 = lean_ctor_get(x_593, 0); -lean_inc(x_595); -x_596 = lean_ctor_get(x_593, 1); -lean_inc(x_596); -lean_inc(x_588); -x_597 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_596, x_521, x_588); -x_598 = lean_ctor_get(x_593, 2); -lean_inc(x_598); -x_599 = lean_ctor_get(x_593, 3); -lean_inc(x_599); -x_600 = lean_ctor_get(x_593, 4); -lean_inc(x_600); -x_601 = lean_ctor_get(x_593, 5); -lean_inc(x_601); -x_602 = lean_ctor_get(x_593, 6); -lean_inc(x_602); -x_603 = lean_ctor_get(x_593, 7); -lean_inc(x_603); -x_604 = lean_ctor_get(x_593, 8); -lean_inc(x_604); -x_605 = lean_ctor_get(x_593, 9); -lean_inc(x_605); -x_606 = lean_ctor_get(x_593, 10); -lean_inc(x_606); -x_607 = lean_ctor_get(x_593, 11); -lean_inc(x_607); -lean_dec(x_593); -x_608 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_608, 0, x_595); -lean_ctor_set(x_608, 1, x_597); -lean_ctor_set(x_608, 2, x_598); -lean_ctor_set(x_608, 3, x_599); -lean_ctor_set(x_608, 4, x_600); -lean_ctor_set(x_608, 5, x_601); -lean_ctor_set(x_608, 6, x_602); -lean_ctor_set(x_608, 7, x_603); -lean_ctor_set(x_608, 8, x_604); -lean_ctor_set(x_608, 9, x_605); -lean_ctor_set(x_608, 10, x_606); -lean_ctor_set(x_608, 11, x_607); -x_609 = lean_st_ref_set(x_3, x_608, x_594); -x_610 = lean_ctor_get(x_609, 1); -lean_inc(x_610); -lean_dec(x_609); -x_523 = x_588; -x_524 = x_610; -goto block_578; +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; +x_537 = lean_ctor_get(x_536, 0); +lean_inc(x_537); +x_538 = lean_ctor_get(x_536, 1); +lean_inc(x_538); +lean_dec(x_536); +x_539 = lean_st_ref_get(x_7, x_538); +x_540 = lean_ctor_get(x_539, 1); +lean_inc(x_540); +lean_dec(x_539); +x_541 = lean_st_ref_take(x_3, x_540); +x_542 = lean_ctor_get(x_541, 0); +lean_inc(x_542); +x_543 = lean_ctor_get(x_541, 1); +lean_inc(x_543); +lean_dec(x_541); +x_544 = lean_ctor_get(x_542, 0); +lean_inc(x_544); +x_545 = lean_ctor_get(x_542, 1); +lean_inc(x_545); +lean_inc(x_537); +x_546 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_545, x_454, x_537); +x_547 = lean_ctor_get(x_542, 2); +lean_inc(x_547); +x_548 = lean_ctor_get(x_542, 3); +lean_inc(x_548); +x_549 = lean_ctor_get(x_542, 4); +lean_inc(x_549); +x_550 = lean_ctor_get(x_542, 5); +lean_inc(x_550); +x_551 = lean_ctor_get(x_542, 6); +lean_inc(x_551); +x_552 = lean_ctor_get(x_542, 7); +lean_inc(x_552); +x_553 = lean_ctor_get(x_542, 8); +lean_inc(x_553); +x_554 = lean_ctor_get(x_542, 9); +lean_inc(x_554); +x_555 = lean_ctor_get(x_542, 10); +lean_inc(x_555); +x_556 = lean_ctor_get(x_542, 11); +lean_inc(x_556); +lean_dec(x_542); +x_557 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_557, 0, x_544); +lean_ctor_set(x_557, 1, x_546); +lean_ctor_set(x_557, 2, x_547); +lean_ctor_set(x_557, 3, x_548); +lean_ctor_set(x_557, 4, x_549); +lean_ctor_set(x_557, 5, x_550); +lean_ctor_set(x_557, 6, x_551); +lean_ctor_set(x_557, 7, x_552); +lean_ctor_set(x_557, 8, x_553); +lean_ctor_set(x_557, 9, x_554); +lean_ctor_set(x_557, 10, x_555); +lean_ctor_set(x_557, 11, x_556); +x_558 = lean_st_ref_set(x_3, x_557, x_543); +x_559 = lean_ctor_get(x_558, 1); +lean_inc(x_559); +lean_dec(x_558); +x_456 = x_537; +x_457 = x_559; +goto block_527; } else { -uint8_t x_611; -lean_dec(x_522); -lean_dec(x_521); +uint8_t x_560; +lean_dec(x_455); +lean_dec(x_454); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_611 = !lean_is_exclusive(x_587); -if (x_611 == 0) +x_560 = !lean_is_exclusive(x_536); +if (x_560 == 0) { +return x_536; +} +else +{ +lean_object* x_561; lean_object* x_562; lean_object* x_563; +x_561 = lean_ctor_get(x_536, 0); +x_562 = lean_ctor_get(x_536, 1); +lean_inc(x_562); +lean_inc(x_561); +lean_dec(x_536); +x_563 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_563, 0, x_561); +lean_ctor_set(x_563, 1, x_562); +return x_563; +} +} +} +else +{ +lean_object* x_564; +lean_dec(x_454); +x_564 = lean_ctor_get(x_535, 0); +lean_inc(x_564); +lean_dec(x_535); +x_456 = x_564; +x_457 = x_533; +goto block_527; +} +} +} +case 7: +{ +lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_646; uint8_t x_684; +x_572 = lean_ctor_get(x_1, 1); +lean_inc(x_572); +x_573 = lean_ctor_get(x_1, 2); +lean_inc(x_573); +x_684 = l_Lean_Expr_hasLevelParam(x_572); +if (x_684 == 0) +{ +uint8_t x_685; +x_685 = l_Lean_Expr_hasFVar(x_572); +if (x_685 == 0) +{ +uint8_t x_686; +x_686 = l_Lean_Expr_hasMVar(x_572); +if (x_686 == 0) +{ +x_574 = x_572; +x_575 = x_8; +goto block_645; +} +else +{ +lean_object* x_687; +x_687 = lean_box(0); +x_646 = x_687; +goto block_683; +} +} +else +{ +lean_object* x_688; +x_688 = lean_box(0); +x_646 = x_688; +goto block_683; +} +} +else +{ +lean_object* x_689; +x_689 = lean_box(0); +x_646 = x_689; +goto block_683; +} +block_645: +{ +lean_object* x_576; lean_object* x_577; lean_object* x_601; uint8_t x_639; +x_639 = l_Lean_Expr_hasLevelParam(x_573); +if (x_639 == 0) +{ +uint8_t x_640; +x_640 = l_Lean_Expr_hasFVar(x_573); +if (x_640 == 0) +{ +uint8_t x_641; +x_641 = l_Lean_Expr_hasMVar(x_573); +if (x_641 == 0) +{ +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_576 = x_573; +x_577 = x_575; +goto block_600; +} +else +{ +lean_object* x_642; +x_642 = lean_box(0); +x_601 = x_642; +goto block_638; +} +} +else +{ +lean_object* x_643; +x_643 = lean_box(0); +x_601 = x_643; +goto block_638; +} +} +else +{ +lean_object* x_644; +x_644 = lean_box(0); +x_601 = x_644; +goto block_638; +} +block_600: +{ +if (lean_obj_tag(x_1) == 7) +{ +lean_object* x_578; lean_object* x_579; lean_object* x_580; uint8_t x_581; lean_object* x_582; size_t x_583; size_t x_584; uint8_t x_585; +x_578 = lean_ctor_get(x_1, 0); +lean_inc(x_578); +x_579 = lean_ctor_get(x_1, 1); +lean_inc(x_579); +x_580 = lean_ctor_get(x_1, 2); +lean_inc(x_580); +x_581 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_580); +lean_inc(x_579); +lean_inc(x_578); +x_582 = l_Lean_Expr_forallE___override(x_578, x_579, x_580, x_581); +x_583 = lean_ptr_addr(x_579); +lean_dec(x_579); +x_584 = lean_ptr_addr(x_574); +x_585 = lean_usize_dec_eq(x_583, x_584); +if (x_585 == 0) +{ +lean_object* x_586; lean_object* x_587; +lean_dec(x_582); +lean_dec(x_580); +x_586 = l_Lean_Expr_forallE___override(x_578, x_574, x_576, x_581); +x_587 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_587, 0, x_586); +lean_ctor_set(x_587, 1, x_577); return x_587; } else { -lean_object* x_612; lean_object* x_613; lean_object* x_614; -x_612 = lean_ctor_get(x_587, 0); -x_613 = lean_ctor_get(x_587, 1); -lean_inc(x_613); -lean_inc(x_612); -lean_dec(x_587); -x_614 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_614, 0, x_612); -lean_ctor_set(x_614, 1, x_613); -return x_614; +size_t x_588; size_t x_589; uint8_t x_590; +x_588 = lean_ptr_addr(x_580); +lean_dec(x_580); +x_589 = lean_ptr_addr(x_576); +x_590 = lean_usize_dec_eq(x_588, x_589); +if (x_590 == 0) +{ +lean_object* x_591; lean_object* x_592; +lean_dec(x_582); +x_591 = l_Lean_Expr_forallE___override(x_578, x_574, x_576, x_581); +x_592 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_592, 0, x_591); +lean_ctor_set(x_592, 1, x_577); +return x_592; +} +else +{ +uint8_t x_593; +x_593 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_581, x_581); +if (x_593 == 0) +{ +lean_object* x_594; lean_object* x_595; +lean_dec(x_582); +x_594 = l_Lean_Expr_forallE___override(x_578, x_574, x_576, x_581); +x_595 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_595, 0, x_594); +lean_ctor_set(x_595, 1, x_577); +return x_595; +} +else +{ +lean_object* x_596; +lean_dec(x_578); +lean_dec(x_576); +lean_dec(x_574); +x_596 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_596, 0, x_582); +lean_ctor_set(x_596, 1, x_577); +return x_596; +} } } } else { -lean_object* x_615; -lean_dec(x_521); -x_615 = lean_ctor_get(x_586, 0); +lean_object* x_597; lean_object* x_598; lean_object* x_599; +lean_dec(x_576); +lean_dec(x_574); +lean_dec(x_1); +x_597 = l_Lean_Meta_Closure_collectExprAux___closed__16; +x_598 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_597); +x_599 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_599, 0, x_598); +lean_ctor_set(x_599, 1, x_577); +return x_599; +} +} +block_638: +{ +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_dec(x_601); +x_602 = lean_st_ref_get(x_7, x_575); +x_603 = lean_ctor_get(x_602, 1); +lean_inc(x_603); +lean_dec(x_602); +x_604 = lean_st_ref_get(x_3, x_603); +x_605 = lean_ctor_get(x_604, 0); +lean_inc(x_605); +x_606 = lean_ctor_get(x_604, 1); +lean_inc(x_606); +lean_dec(x_604); +x_607 = lean_ctor_get(x_605, 1); +lean_inc(x_607); +lean_dec(x_605); +lean_inc(x_573); +x_608 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_607, x_573); +if (lean_obj_tag(x_608) == 0) +{ +lean_object* x_609; +lean_inc(x_7); +lean_inc(x_573); +x_609 = l_Lean_Meta_Closure_collectExprAux(x_573, x_2, x_3, x_4, x_5, x_6, x_7, x_606); +if (lean_obj_tag(x_609) == 0) +{ +lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; +x_610 = lean_ctor_get(x_609, 0); +lean_inc(x_610); +x_611 = lean_ctor_get(x_609, 1); +lean_inc(x_611); +lean_dec(x_609); +x_612 = lean_st_ref_get(x_7, x_611); +lean_dec(x_7); +x_613 = lean_ctor_get(x_612, 1); +lean_inc(x_613); +lean_dec(x_612); +x_614 = lean_st_ref_take(x_3, x_613); +x_615 = lean_ctor_get(x_614, 0); lean_inc(x_615); -lean_dec(x_586); -x_523 = x_615; -x_524 = x_584; -goto block_578; +x_616 = lean_ctor_get(x_614, 1); +lean_inc(x_616); +lean_dec(x_614); +x_617 = lean_ctor_get(x_615, 0); +lean_inc(x_617); +x_618 = lean_ctor_get(x_615, 1); +lean_inc(x_618); +lean_inc(x_610); +x_619 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_618, x_573, x_610); +x_620 = lean_ctor_get(x_615, 2); +lean_inc(x_620); +x_621 = lean_ctor_get(x_615, 3); +lean_inc(x_621); +x_622 = lean_ctor_get(x_615, 4); +lean_inc(x_622); +x_623 = lean_ctor_get(x_615, 5); +lean_inc(x_623); +x_624 = lean_ctor_get(x_615, 6); +lean_inc(x_624); +x_625 = lean_ctor_get(x_615, 7); +lean_inc(x_625); +x_626 = lean_ctor_get(x_615, 8); +lean_inc(x_626); +x_627 = lean_ctor_get(x_615, 9); +lean_inc(x_627); +x_628 = lean_ctor_get(x_615, 10); +lean_inc(x_628); +x_629 = lean_ctor_get(x_615, 11); +lean_inc(x_629); +lean_dec(x_615); +x_630 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_630, 0, x_617); +lean_ctor_set(x_630, 1, x_619); +lean_ctor_set(x_630, 2, x_620); +lean_ctor_set(x_630, 3, x_621); +lean_ctor_set(x_630, 4, x_622); +lean_ctor_set(x_630, 5, x_623); +lean_ctor_set(x_630, 6, x_624); +lean_ctor_set(x_630, 7, x_625); +lean_ctor_set(x_630, 8, x_626); +lean_ctor_set(x_630, 9, x_627); +lean_ctor_set(x_630, 10, x_628); +lean_ctor_set(x_630, 11, x_629); +x_631 = lean_st_ref_set(x_3, x_630, x_616); +x_632 = lean_ctor_get(x_631, 1); +lean_inc(x_632); +lean_dec(x_631); +x_576 = x_610; +x_577 = x_632; +goto block_600; +} +else +{ +uint8_t x_633; +lean_dec(x_574); +lean_dec(x_573); +lean_dec(x_7); +lean_dec(x_1); +x_633 = !lean_is_exclusive(x_609); +if (x_633 == 0) +{ +return x_609; +} +else +{ +lean_object* x_634; lean_object* x_635; lean_object* x_636; +x_634 = lean_ctor_get(x_609, 0); +x_635 = lean_ctor_get(x_609, 1); +lean_inc(x_635); +lean_inc(x_634); +lean_dec(x_609); +x_636 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_636, 0, x_634); +lean_ctor_set(x_636, 1, x_635); +return x_636; +} +} +} +else +{ +lean_object* x_637; +lean_dec(x_573); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_637 = lean_ctor_get(x_608, 0); +lean_inc(x_637); +lean_dec(x_608); +x_576 = x_637; +x_577 = x_606; +goto block_600; +} +} +} +block_683: +{ +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_dec(x_646); +x_647 = lean_st_ref_get(x_7, x_8); +x_648 = lean_ctor_get(x_647, 1); +lean_inc(x_648); +lean_dec(x_647); +x_649 = lean_st_ref_get(x_3, x_648); +x_650 = lean_ctor_get(x_649, 0); +lean_inc(x_650); +x_651 = lean_ctor_get(x_649, 1); +lean_inc(x_651); +lean_dec(x_649); +x_652 = lean_ctor_get(x_650, 1); +lean_inc(x_652); +lean_dec(x_650); +lean_inc(x_572); +x_653 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_652, x_572); +if (lean_obj_tag(x_653) == 0) +{ +lean_object* x_654; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_572); +x_654 = l_Lean_Meta_Closure_collectExprAux(x_572, x_2, x_3, x_4, x_5, x_6, x_7, x_651); +if (lean_obj_tag(x_654) == 0) +{ +lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; +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 = lean_st_ref_get(x_7, x_656); +x_658 = lean_ctor_get(x_657, 1); +lean_inc(x_658); +lean_dec(x_657); +x_659 = lean_st_ref_take(x_3, x_658); +x_660 = lean_ctor_get(x_659, 0); +lean_inc(x_660); +x_661 = lean_ctor_get(x_659, 1); +lean_inc(x_661); +lean_dec(x_659); +x_662 = lean_ctor_get(x_660, 0); +lean_inc(x_662); +x_663 = lean_ctor_get(x_660, 1); +lean_inc(x_663); +lean_inc(x_655); +x_664 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_663, x_572, x_655); +x_665 = lean_ctor_get(x_660, 2); +lean_inc(x_665); +x_666 = lean_ctor_get(x_660, 3); +lean_inc(x_666); +x_667 = lean_ctor_get(x_660, 4); +lean_inc(x_667); +x_668 = lean_ctor_get(x_660, 5); +lean_inc(x_668); +x_669 = lean_ctor_get(x_660, 6); +lean_inc(x_669); +x_670 = lean_ctor_get(x_660, 7); +lean_inc(x_670); +x_671 = lean_ctor_get(x_660, 8); +lean_inc(x_671); +x_672 = lean_ctor_get(x_660, 9); +lean_inc(x_672); +x_673 = lean_ctor_get(x_660, 10); +lean_inc(x_673); +x_674 = lean_ctor_get(x_660, 11); +lean_inc(x_674); +lean_dec(x_660); +x_675 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_675, 0, x_662); +lean_ctor_set(x_675, 1, x_664); +lean_ctor_set(x_675, 2, x_665); +lean_ctor_set(x_675, 3, x_666); +lean_ctor_set(x_675, 4, x_667); +lean_ctor_set(x_675, 5, x_668); +lean_ctor_set(x_675, 6, x_669); +lean_ctor_set(x_675, 7, x_670); +lean_ctor_set(x_675, 8, x_671); +lean_ctor_set(x_675, 9, x_672); +lean_ctor_set(x_675, 10, x_673); +lean_ctor_set(x_675, 11, x_674); +x_676 = lean_st_ref_set(x_3, x_675, x_661); +x_677 = lean_ctor_get(x_676, 1); +lean_inc(x_677); +lean_dec(x_676); +x_574 = x_655; +x_575 = x_677; +goto block_645; +} +else +{ +uint8_t x_678; +lean_dec(x_573); +lean_dec(x_572); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_678 = !lean_is_exclusive(x_654); +if (x_678 == 0) +{ +return x_654; +} +else +{ +lean_object* x_679; lean_object* x_680; lean_object* x_681; +x_679 = lean_ctor_get(x_654, 0); +x_680 = lean_ctor_get(x_654, 1); +lean_inc(x_680); +lean_inc(x_679); +lean_dec(x_654); +x_681 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_681, 0, x_679); +lean_ctor_set(x_681, 1, x_680); +return x_681; +} +} +} +else +{ +lean_object* x_682; +lean_dec(x_572); +x_682 = lean_ctor_get(x_653, 0); +lean_inc(x_682); +lean_dec(x_653); +x_574 = x_682; +x_575 = x_651; +goto block_645; } } } case 8: { -lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_728; uint8_t x_766; -x_623 = lean_ctor_get(x_1, 1); -lean_inc(x_623); -x_624 = lean_ctor_get(x_1, 2); -lean_inc(x_624); -x_625 = lean_ctor_get(x_1, 3); -lean_inc(x_625); -x_766 = l_Lean_Expr_hasLevelParam(x_623); -if (x_766 == 0) +lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_814; uint8_t x_852; +x_690 = lean_ctor_get(x_1, 1); +lean_inc(x_690); +x_691 = lean_ctor_get(x_1, 2); +lean_inc(x_691); +x_692 = lean_ctor_get(x_1, 3); +lean_inc(x_692); +x_852 = l_Lean_Expr_hasLevelParam(x_690); +if (x_852 == 0) { -uint8_t x_767; -x_767 = l_Lean_Expr_hasFVar(x_623); -if (x_767 == 0) +uint8_t x_853; +x_853 = l_Lean_Expr_hasFVar(x_690); +if (x_853 == 0) { -uint8_t x_768; -x_768 = l_Lean_Expr_hasMVar(x_623); -if (x_768 == 0) +uint8_t x_854; +x_854 = l_Lean_Expr_hasMVar(x_690); +if (x_854 == 0) { -x_626 = x_623; -x_627 = x_8; -goto block_727; +x_693 = x_690; +x_694 = x_8; +goto block_813; } else { -lean_object* x_769; -x_769 = lean_box(0); -x_728 = x_769; -goto block_765; +lean_object* x_855; +x_855 = lean_box(0); +x_814 = x_855; +goto block_851; } } else { -lean_object* x_770; -x_770 = lean_box(0); -x_728 = x_770; -goto block_765; +lean_object* x_856; +x_856 = lean_box(0); +x_814 = x_856; +goto block_851; } } else { -lean_object* x_771; -x_771 = lean_box(0); -x_728 = x_771; -goto block_765; +lean_object* x_857; +x_857 = lean_box(0); +x_814 = x_857; +goto block_851; } -block_727: +block_813: { -lean_object* x_628; lean_object* x_629; lean_object* x_683; uint8_t x_721; -x_721 = l_Lean_Expr_hasLevelParam(x_624); -if (x_721 == 0) +lean_object* x_695; lean_object* x_696; lean_object* x_769; uint8_t x_807; +x_807 = l_Lean_Expr_hasLevelParam(x_691); +if (x_807 == 0) { -uint8_t x_722; -x_722 = l_Lean_Expr_hasFVar(x_624); -if (x_722 == 0) +uint8_t x_808; +x_808 = l_Lean_Expr_hasFVar(x_691); +if (x_808 == 0) { -uint8_t x_723; -x_723 = l_Lean_Expr_hasMVar(x_624); -if (x_723 == 0) +uint8_t x_809; +x_809 = l_Lean_Expr_hasMVar(x_691); +if (x_809 == 0) { -x_628 = x_624; -x_629 = x_627; -goto block_682; +x_695 = x_691; +x_696 = x_694; +goto block_768; } else { -lean_object* x_724; -x_724 = lean_box(0); -x_683 = x_724; -goto block_720; +lean_object* x_810; +x_810 = lean_box(0); +x_769 = x_810; +goto block_806; } } else { -lean_object* x_725; -x_725 = lean_box(0); -x_683 = x_725; -goto block_720; +lean_object* x_811; +x_811 = lean_box(0); +x_769 = x_811; +goto block_806; } } else { -lean_object* x_726; -x_726 = lean_box(0); -x_683 = x_726; -goto block_720; +lean_object* x_812; +x_812 = lean_box(0); +x_769 = x_812; +goto block_806; } -block_682: +block_768: { -lean_object* x_630; lean_object* x_631; lean_object* x_638; uint8_t x_676; -x_676 = l_Lean_Expr_hasLevelParam(x_625); -if (x_676 == 0) +lean_object* x_697; lean_object* x_698; lean_object* x_724; uint8_t x_762; +x_762 = l_Lean_Expr_hasLevelParam(x_692); +if (x_762 == 0) { -uint8_t x_677; -x_677 = l_Lean_Expr_hasFVar(x_625); -if (x_677 == 0) +uint8_t x_763; +x_763 = l_Lean_Expr_hasFVar(x_692); +if (x_763 == 0) { -uint8_t x_678; -x_678 = l_Lean_Expr_hasMVar(x_625); -if (x_678 == 0) +uint8_t x_764; +x_764 = l_Lean_Expr_hasMVar(x_692); +if (x_764 == 0) { lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_630 = x_625; -x_631 = x_629; -goto block_637; +x_697 = x_692; +x_698 = x_696; +goto block_723; } else { -lean_object* x_679; -x_679 = lean_box(0); -x_638 = x_679; -goto block_675; +lean_object* x_765; +x_765 = lean_box(0); +x_724 = x_765; +goto block_761; } } else { -lean_object* x_680; -x_680 = lean_box(0); -x_638 = x_680; -goto block_675; +lean_object* x_766; +x_766 = lean_box(0); +x_724 = x_766; +goto block_761; } } else { -lean_object* x_681; -x_681 = lean_box(0); -x_638 = x_681; -goto block_675; +lean_object* x_767; +x_767 = lean_box(0); +x_724 = x_767; +goto block_761; } -block_637: +block_723: { if (lean_obj_tag(x_1) == 8) { -lean_object* x_632; lean_object* x_633; -x_632 = lean_expr_update_let(x_1, x_626, x_628, x_630); -x_633 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_633, 0, x_632); -lean_ctor_set(x_633, 1, x_631); -return x_633; -} -else -{ -lean_object* x_634; lean_object* x_635; lean_object* x_636; -lean_dec(x_630); -lean_dec(x_628); -lean_dec(x_626); -lean_dec(x_1); -x_634 = l_Lean_Meta_Closure_collectExprAux___closed__19; -x_635 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_634); -x_636 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_636, 0, x_635); -lean_ctor_set(x_636, 1, x_631); -return x_636; -} -} -block_675: -{ -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_dec(x_638); -x_639 = lean_st_ref_get(x_7, x_629); -x_640 = lean_ctor_get(x_639, 1); -lean_inc(x_640); -lean_dec(x_639); -x_641 = lean_st_ref_get(x_3, x_640); -x_642 = lean_ctor_get(x_641, 0); -lean_inc(x_642); -x_643 = lean_ctor_get(x_641, 1); -lean_inc(x_643); -lean_dec(x_641); -x_644 = lean_ctor_get(x_642, 1); -lean_inc(x_644); -lean_dec(x_642); -lean_inc(x_625); -x_645 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_644, x_625); -if (lean_obj_tag(x_645) == 0) -{ -lean_object* x_646; -lean_inc(x_7); -lean_inc(x_625); -x_646 = l_Lean_Meta_Closure_collectExprAux(x_625, x_2, x_3, x_4, x_5, x_6, x_7, x_643); -if (lean_obj_tag(x_646) == 0) -{ -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; -x_647 = lean_ctor_get(x_646, 0); -lean_inc(x_647); -x_648 = lean_ctor_get(x_646, 1); -lean_inc(x_648); -lean_dec(x_646); -x_649 = lean_st_ref_get(x_7, x_648); -lean_dec(x_7); -x_650 = lean_ctor_get(x_649, 1); -lean_inc(x_650); -lean_dec(x_649); -x_651 = lean_st_ref_take(x_3, x_650); -x_652 = lean_ctor_get(x_651, 0); -lean_inc(x_652); -x_653 = lean_ctor_get(x_651, 1); -lean_inc(x_653); -lean_dec(x_651); -x_654 = lean_ctor_get(x_652, 0); -lean_inc(x_654); -x_655 = lean_ctor_get(x_652, 1); -lean_inc(x_655); -lean_inc(x_647); -x_656 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_655, x_625, x_647); -x_657 = lean_ctor_get(x_652, 2); -lean_inc(x_657); -x_658 = lean_ctor_get(x_652, 3); -lean_inc(x_658); -x_659 = lean_ctor_get(x_652, 4); -lean_inc(x_659); -x_660 = lean_ctor_get(x_652, 5); -lean_inc(x_660); -x_661 = lean_ctor_get(x_652, 6); -lean_inc(x_661); -x_662 = lean_ctor_get(x_652, 7); -lean_inc(x_662); -x_663 = lean_ctor_get(x_652, 8); -lean_inc(x_663); -x_664 = lean_ctor_get(x_652, 9); -lean_inc(x_664); -x_665 = lean_ctor_get(x_652, 10); -lean_inc(x_665); -x_666 = lean_ctor_get(x_652, 11); -lean_inc(x_666); -lean_dec(x_652); -x_667 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_667, 0, x_654); -lean_ctor_set(x_667, 1, x_656); -lean_ctor_set(x_667, 2, x_657); -lean_ctor_set(x_667, 3, x_658); -lean_ctor_set(x_667, 4, x_659); -lean_ctor_set(x_667, 5, x_660); -lean_ctor_set(x_667, 6, x_661); -lean_ctor_set(x_667, 7, x_662); -lean_ctor_set(x_667, 8, x_663); -lean_ctor_set(x_667, 9, x_664); -lean_ctor_set(x_667, 10, x_665); -lean_ctor_set(x_667, 11, x_666); -x_668 = lean_st_ref_set(x_3, x_667, x_653); -x_669 = lean_ctor_get(x_668, 1); -lean_inc(x_669); -lean_dec(x_668); -x_630 = x_647; -x_631 = x_669; -goto block_637; -} -else -{ -uint8_t x_670; -lean_dec(x_628); -lean_dec(x_626); -lean_dec(x_625); -lean_dec(x_7); -lean_dec(x_1); -x_670 = !lean_is_exclusive(x_646); -if (x_670 == 0) -{ -return x_646; -} -else -{ -lean_object* x_671; lean_object* x_672; lean_object* x_673; -x_671 = lean_ctor_get(x_646, 0); -x_672 = lean_ctor_get(x_646, 1); -lean_inc(x_672); -lean_inc(x_671); -lean_dec(x_646); -x_673 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_673, 0, x_671); -lean_ctor_set(x_673, 1, x_672); -return x_673; -} -} -} -else -{ -lean_object* x_674; -lean_dec(x_625); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_674 = lean_ctor_get(x_645, 0); -lean_inc(x_674); -lean_dec(x_645); -x_630 = x_674; -x_631 = x_643; -goto block_637; -} -} -} -block_720: -{ -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_dec(x_683); -x_684 = lean_st_ref_get(x_7, x_627); -x_685 = lean_ctor_get(x_684, 1); -lean_inc(x_685); -lean_dec(x_684); -x_686 = lean_st_ref_get(x_3, x_685); -x_687 = lean_ctor_get(x_686, 0); -lean_inc(x_687); -x_688 = lean_ctor_get(x_686, 1); -lean_inc(x_688); -lean_dec(x_686); -x_689 = lean_ctor_get(x_687, 1); -lean_inc(x_689); -lean_dec(x_687); -lean_inc(x_624); -x_690 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_689, x_624); -if (lean_obj_tag(x_690) == 0) -{ -lean_object* x_691; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_624); -x_691 = l_Lean_Meta_Closure_collectExprAux(x_624, x_2, x_3, x_4, x_5, x_6, x_7, x_688); -if (lean_obj_tag(x_691) == 0) -{ -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; -x_692 = lean_ctor_get(x_691, 0); -lean_inc(x_692); -x_693 = lean_ctor_get(x_691, 1); -lean_inc(x_693); -lean_dec(x_691); -x_694 = lean_st_ref_get(x_7, x_693); -x_695 = lean_ctor_get(x_694, 1); -lean_inc(x_695); -lean_dec(x_694); -x_696 = lean_st_ref_take(x_3, x_695); -x_697 = lean_ctor_get(x_696, 0); -lean_inc(x_697); -x_698 = lean_ctor_get(x_696, 1); -lean_inc(x_698); -lean_dec(x_696); -x_699 = lean_ctor_get(x_697, 0); +lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; uint8_t x_703; size_t x_704; size_t x_705; uint8_t x_706; +x_699 = lean_ctor_get(x_1, 0); lean_inc(x_699); -x_700 = lean_ctor_get(x_697, 1); +x_700 = lean_ctor_get(x_1, 1); lean_inc(x_700); -lean_inc(x_692); -x_701 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_700, x_624, x_692); -x_702 = lean_ctor_get(x_697, 2); +x_701 = lean_ctor_get(x_1, 2); +lean_inc(x_701); +x_702 = lean_ctor_get(x_1, 3); lean_inc(x_702); -x_703 = lean_ctor_get(x_697, 3); -lean_inc(x_703); -x_704 = lean_ctor_get(x_697, 4); -lean_inc(x_704); -x_705 = lean_ctor_get(x_697, 5); -lean_inc(x_705); -x_706 = lean_ctor_get(x_697, 6); -lean_inc(x_706); -x_707 = lean_ctor_get(x_697, 7); -lean_inc(x_707); -x_708 = lean_ctor_get(x_697, 8); -lean_inc(x_708); -x_709 = lean_ctor_get(x_697, 9); -lean_inc(x_709); -x_710 = lean_ctor_get(x_697, 10); -lean_inc(x_710); -x_711 = lean_ctor_get(x_697, 11); -lean_inc(x_711); -lean_dec(x_697); -x_712 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_712, 0, x_699); -lean_ctor_set(x_712, 1, x_701); -lean_ctor_set(x_712, 2, x_702); -lean_ctor_set(x_712, 3, x_703); -lean_ctor_set(x_712, 4, x_704); -lean_ctor_set(x_712, 5, x_705); -lean_ctor_set(x_712, 6, x_706); -lean_ctor_set(x_712, 7, x_707); -lean_ctor_set(x_712, 8, x_708); -lean_ctor_set(x_712, 9, x_709); -lean_ctor_set(x_712, 10, x_710); -lean_ctor_set(x_712, 11, x_711); -x_713 = lean_st_ref_set(x_3, x_712, x_698); -x_714 = lean_ctor_get(x_713, 1); -lean_inc(x_714); -lean_dec(x_713); -x_628 = x_692; -x_629 = x_714; -goto block_682; -} -else +x_703 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); +x_704 = lean_ptr_addr(x_700); +lean_dec(x_700); +x_705 = lean_ptr_addr(x_693); +x_706 = lean_usize_dec_eq(x_704, x_705); +if (x_706 == 0) { -uint8_t x_715; -lean_dec(x_626); -lean_dec(x_625); -lean_dec(x_624); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +lean_object* x_707; lean_object* x_708; +lean_dec(x_702); +lean_dec(x_701); lean_dec(x_1); -x_715 = !lean_is_exclusive(x_691); -if (x_715 == 0) -{ -return x_691; +x_707 = l_Lean_Expr_letE___override(x_699, x_693, x_695, x_697, x_703); +x_708 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_708, 0, x_707); +lean_ctor_set(x_708, 1, x_698); +return x_708; } else { -lean_object* x_716; lean_object* x_717; lean_object* x_718; -x_716 = lean_ctor_get(x_691, 0); -x_717 = lean_ctor_get(x_691, 1); -lean_inc(x_717); -lean_inc(x_716); -lean_dec(x_691); -x_718 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_718, 0, x_716); -lean_ctor_set(x_718, 1, x_717); +size_t x_709; size_t x_710; uint8_t x_711; +x_709 = lean_ptr_addr(x_701); +lean_dec(x_701); +x_710 = lean_ptr_addr(x_695); +x_711 = lean_usize_dec_eq(x_709, x_710); +if (x_711 == 0) +{ +lean_object* x_712; lean_object* x_713; +lean_dec(x_702); +lean_dec(x_1); +x_712 = l_Lean_Expr_letE___override(x_699, x_693, x_695, x_697, x_703); +x_713 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_713, 0, x_712); +lean_ctor_set(x_713, 1, x_698); +return x_713; +} +else +{ +size_t x_714; size_t x_715; uint8_t x_716; +x_714 = lean_ptr_addr(x_702); +lean_dec(x_702); +x_715 = lean_ptr_addr(x_697); +x_716 = lean_usize_dec_eq(x_714, x_715); +if (x_716 == 0) +{ +lean_object* x_717; lean_object* x_718; +lean_dec(x_1); +x_717 = l_Lean_Expr_letE___override(x_699, x_693, x_695, x_697, x_703); +x_718 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_718, 0, x_717); +lean_ctor_set(x_718, 1, x_698); return x_718; } -} -} else { lean_object* x_719; -lean_dec(x_624); -x_719 = lean_ctor_get(x_690, 0); -lean_inc(x_719); -lean_dec(x_690); -x_628 = x_719; -x_629 = x_688; -goto block_682; +lean_dec(x_699); +lean_dec(x_697); +lean_dec(x_695); +lean_dec(x_693); +x_719 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_719, 0, x_1); +lean_ctor_set(x_719, 1, x_698); +return x_719; } } } -block_765: +} +else { -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_dec(x_728); -x_729 = lean_st_ref_get(x_7, x_8); -x_730 = lean_ctor_get(x_729, 1); +lean_object* x_720; lean_object* x_721; lean_object* x_722; +lean_dec(x_697); +lean_dec(x_695); +lean_dec(x_693); +lean_dec(x_1); +x_720 = l_Lean_Meta_Closure_collectExprAux___closed__19; +x_721 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_720); +x_722 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_722, 0, x_721); +lean_ctor_set(x_722, 1, x_698); +return x_722; +} +} +block_761: +{ +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_dec(x_724); +x_725 = lean_st_ref_get(x_7, x_696); +x_726 = lean_ctor_get(x_725, 1); +lean_inc(x_726); +lean_dec(x_725); +x_727 = lean_st_ref_get(x_3, x_726); +x_728 = lean_ctor_get(x_727, 0); +lean_inc(x_728); +x_729 = lean_ctor_get(x_727, 1); +lean_inc(x_729); +lean_dec(x_727); +x_730 = lean_ctor_get(x_728, 1); lean_inc(x_730); -lean_dec(x_729); -x_731 = lean_st_ref_get(x_3, x_730); -x_732 = lean_ctor_get(x_731, 0); -lean_inc(x_732); -x_733 = lean_ctor_get(x_731, 1); +lean_dec(x_728); +lean_inc(x_692); +x_731 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_730, x_692); +if (lean_obj_tag(x_731) == 0) +{ +lean_object* x_732; +lean_inc(x_7); +lean_inc(x_692); +x_732 = l_Lean_Meta_Closure_collectExprAux(x_692, x_2, x_3, x_4, x_5, x_6, x_7, x_729); +if (lean_obj_tag(x_732) == 0) +{ +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; +x_733 = lean_ctor_get(x_732, 0); lean_inc(x_733); -lean_dec(x_731); x_734 = lean_ctor_get(x_732, 1); lean_inc(x_734); lean_dec(x_732); -lean_inc(x_623); -x_735 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_734, x_623); -if (lean_obj_tag(x_735) == 0) +x_735 = lean_st_ref_get(x_7, x_734); +lean_dec(x_7); +x_736 = lean_ctor_get(x_735, 1); +lean_inc(x_736); +lean_dec(x_735); +x_737 = lean_st_ref_take(x_3, x_736); +x_738 = lean_ctor_get(x_737, 0); +lean_inc(x_738); +x_739 = lean_ctor_get(x_737, 1); +lean_inc(x_739); +lean_dec(x_737); +x_740 = lean_ctor_get(x_738, 0); +lean_inc(x_740); +x_741 = lean_ctor_get(x_738, 1); +lean_inc(x_741); +lean_inc(x_733); +x_742 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_741, x_692, x_733); +x_743 = lean_ctor_get(x_738, 2); +lean_inc(x_743); +x_744 = lean_ctor_get(x_738, 3); +lean_inc(x_744); +x_745 = lean_ctor_get(x_738, 4); +lean_inc(x_745); +x_746 = lean_ctor_get(x_738, 5); +lean_inc(x_746); +x_747 = lean_ctor_get(x_738, 6); +lean_inc(x_747); +x_748 = lean_ctor_get(x_738, 7); +lean_inc(x_748); +x_749 = lean_ctor_get(x_738, 8); +lean_inc(x_749); +x_750 = lean_ctor_get(x_738, 9); +lean_inc(x_750); +x_751 = lean_ctor_get(x_738, 10); +lean_inc(x_751); +x_752 = lean_ctor_get(x_738, 11); +lean_inc(x_752); +lean_dec(x_738); +x_753 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_753, 0, x_740); +lean_ctor_set(x_753, 1, x_742); +lean_ctor_set(x_753, 2, x_743); +lean_ctor_set(x_753, 3, x_744); +lean_ctor_set(x_753, 4, x_745); +lean_ctor_set(x_753, 5, x_746); +lean_ctor_set(x_753, 6, x_747); +lean_ctor_set(x_753, 7, x_748); +lean_ctor_set(x_753, 8, x_749); +lean_ctor_set(x_753, 9, x_750); +lean_ctor_set(x_753, 10, x_751); +lean_ctor_set(x_753, 11, x_752); +x_754 = lean_st_ref_set(x_3, x_753, x_739); +x_755 = lean_ctor_get(x_754, 1); +lean_inc(x_755); +lean_dec(x_754); +x_697 = x_733; +x_698 = x_755; +goto block_723; +} +else { -lean_object* x_736; +uint8_t x_756; +lean_dec(x_695); +lean_dec(x_693); +lean_dec(x_692); +lean_dec(x_7); +lean_dec(x_1); +x_756 = !lean_is_exclusive(x_732); +if (x_756 == 0) +{ +return x_732; +} +else +{ +lean_object* x_757; lean_object* x_758; lean_object* x_759; +x_757 = lean_ctor_get(x_732, 0); +x_758 = lean_ctor_get(x_732, 1); +lean_inc(x_758); +lean_inc(x_757); +lean_dec(x_732); +x_759 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_759, 0, x_757); +lean_ctor_set(x_759, 1, x_758); +return x_759; +} +} +} +else +{ +lean_object* x_760; +lean_dec(x_692); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_760 = lean_ctor_get(x_731, 0); +lean_inc(x_760); +lean_dec(x_731); +x_697 = x_760; +x_698 = x_729; +goto block_723; +} +} +} +block_806: +{ +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_dec(x_769); +x_770 = lean_st_ref_get(x_7, x_694); +x_771 = lean_ctor_get(x_770, 1); +lean_inc(x_771); +lean_dec(x_770); +x_772 = lean_st_ref_get(x_3, x_771); +x_773 = lean_ctor_get(x_772, 0); +lean_inc(x_773); +x_774 = lean_ctor_get(x_772, 1); +lean_inc(x_774); +lean_dec(x_772); +x_775 = lean_ctor_get(x_773, 1); +lean_inc(x_775); +lean_dec(x_773); +lean_inc(x_691); +x_776 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_775, x_691); +if (lean_obj_tag(x_776) == 0) +{ +lean_object* x_777; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_623); -x_736 = l_Lean_Meta_Closure_collectExprAux(x_623, x_2, x_3, x_4, x_5, x_6, x_7, x_733); -if (lean_obj_tag(x_736) == 0) +lean_inc(x_691); +x_777 = l_Lean_Meta_Closure_collectExprAux(x_691, x_2, x_3, x_4, x_5, x_6, x_7, x_774); +if (lean_obj_tag(x_777) == 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; 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; -x_737 = lean_ctor_get(x_736, 0); -lean_inc(x_737); -x_738 = lean_ctor_get(x_736, 1); -lean_inc(x_738); -lean_dec(x_736); -x_739 = lean_st_ref_get(x_7, x_738); -x_740 = lean_ctor_get(x_739, 1); -lean_inc(x_740); -lean_dec(x_739); -x_741 = lean_st_ref_take(x_3, x_740); -x_742 = lean_ctor_get(x_741, 0); -lean_inc(x_742); -x_743 = lean_ctor_get(x_741, 1); -lean_inc(x_743); -lean_dec(x_741); -x_744 = lean_ctor_get(x_742, 0); -lean_inc(x_744); -x_745 = lean_ctor_get(x_742, 1); -lean_inc(x_745); -lean_inc(x_737); -x_746 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_745, x_623, x_737); -x_747 = lean_ctor_get(x_742, 2); -lean_inc(x_747); -x_748 = lean_ctor_get(x_742, 3); -lean_inc(x_748); -x_749 = lean_ctor_get(x_742, 4); -lean_inc(x_749); -x_750 = lean_ctor_get(x_742, 5); -lean_inc(x_750); -x_751 = lean_ctor_get(x_742, 6); -lean_inc(x_751); -x_752 = lean_ctor_get(x_742, 7); -lean_inc(x_752); -x_753 = lean_ctor_get(x_742, 8); -lean_inc(x_753); -x_754 = lean_ctor_get(x_742, 9); -lean_inc(x_754); -x_755 = lean_ctor_get(x_742, 10); -lean_inc(x_755); -x_756 = lean_ctor_get(x_742, 11); -lean_inc(x_756); -lean_dec(x_742); -x_757 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_757, 0, x_744); -lean_ctor_set(x_757, 1, x_746); -lean_ctor_set(x_757, 2, x_747); -lean_ctor_set(x_757, 3, x_748); -lean_ctor_set(x_757, 4, x_749); -lean_ctor_set(x_757, 5, x_750); -lean_ctor_set(x_757, 6, x_751); -lean_ctor_set(x_757, 7, x_752); -lean_ctor_set(x_757, 8, x_753); -lean_ctor_set(x_757, 9, x_754); -lean_ctor_set(x_757, 10, x_755); -lean_ctor_set(x_757, 11, x_756); -x_758 = lean_st_ref_set(x_3, x_757, x_743); -x_759 = lean_ctor_get(x_758, 1); -lean_inc(x_759); -lean_dec(x_758); -x_626 = x_737; -x_627 = x_759; -goto block_727; +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; +x_778 = lean_ctor_get(x_777, 0); +lean_inc(x_778); +x_779 = lean_ctor_get(x_777, 1); +lean_inc(x_779); +lean_dec(x_777); +x_780 = lean_st_ref_get(x_7, x_779); +x_781 = lean_ctor_get(x_780, 1); +lean_inc(x_781); +lean_dec(x_780); +x_782 = lean_st_ref_take(x_3, x_781); +x_783 = lean_ctor_get(x_782, 0); +lean_inc(x_783); +x_784 = lean_ctor_get(x_782, 1); +lean_inc(x_784); +lean_dec(x_782); +x_785 = lean_ctor_get(x_783, 0); +lean_inc(x_785); +x_786 = lean_ctor_get(x_783, 1); +lean_inc(x_786); +lean_inc(x_778); +x_787 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_786, x_691, x_778); +x_788 = lean_ctor_get(x_783, 2); +lean_inc(x_788); +x_789 = lean_ctor_get(x_783, 3); +lean_inc(x_789); +x_790 = lean_ctor_get(x_783, 4); +lean_inc(x_790); +x_791 = lean_ctor_get(x_783, 5); +lean_inc(x_791); +x_792 = lean_ctor_get(x_783, 6); +lean_inc(x_792); +x_793 = lean_ctor_get(x_783, 7); +lean_inc(x_793); +x_794 = lean_ctor_get(x_783, 8); +lean_inc(x_794); +x_795 = lean_ctor_get(x_783, 9); +lean_inc(x_795); +x_796 = lean_ctor_get(x_783, 10); +lean_inc(x_796); +x_797 = lean_ctor_get(x_783, 11); +lean_inc(x_797); +lean_dec(x_783); +x_798 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_798, 0, x_785); +lean_ctor_set(x_798, 1, x_787); +lean_ctor_set(x_798, 2, x_788); +lean_ctor_set(x_798, 3, x_789); +lean_ctor_set(x_798, 4, x_790); +lean_ctor_set(x_798, 5, x_791); +lean_ctor_set(x_798, 6, x_792); +lean_ctor_set(x_798, 7, x_793); +lean_ctor_set(x_798, 8, x_794); +lean_ctor_set(x_798, 9, x_795); +lean_ctor_set(x_798, 10, x_796); +lean_ctor_set(x_798, 11, x_797); +x_799 = lean_st_ref_set(x_3, x_798, x_784); +x_800 = lean_ctor_get(x_799, 1); +lean_inc(x_800); +lean_dec(x_799); +x_695 = x_778; +x_696 = x_800; +goto block_768; } else { -uint8_t x_760; -lean_dec(x_625); -lean_dec(x_624); -lean_dec(x_623); +uint8_t x_801; +lean_dec(x_693); +lean_dec(x_692); +lean_dec(x_691); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_760 = !lean_is_exclusive(x_736); -if (x_760 == 0) +x_801 = !lean_is_exclusive(x_777); +if (x_801 == 0) { -return x_736; +return x_777; } else { -lean_object* x_761; lean_object* x_762; lean_object* x_763; -x_761 = lean_ctor_get(x_736, 0); -x_762 = lean_ctor_get(x_736, 1); -lean_inc(x_762); -lean_inc(x_761); -lean_dec(x_736); -x_763 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_763, 0, x_761); -lean_ctor_set(x_763, 1, x_762); -return x_763; +lean_object* x_802; lean_object* x_803; lean_object* x_804; +x_802 = lean_ctor_get(x_777, 0); +x_803 = lean_ctor_get(x_777, 1); +lean_inc(x_803); +lean_inc(x_802); +lean_dec(x_777); +x_804 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_804, 0, x_802); +lean_ctor_set(x_804, 1, x_803); +return x_804; } } } else { -lean_object* x_764; -lean_dec(x_623); -x_764 = lean_ctor_get(x_735, 0); -lean_inc(x_764); -lean_dec(x_735); -x_626 = x_764; -x_627 = x_733; -goto block_727; +lean_object* x_805; +lean_dec(x_691); +x_805 = lean_ctor_get(x_776, 0); +lean_inc(x_805); +lean_dec(x_776); +x_695 = x_805; +x_696 = x_774; +goto block_768; +} +} +} +block_851: +{ +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_dec(x_814); +x_815 = lean_st_ref_get(x_7, x_8); +x_816 = lean_ctor_get(x_815, 1); +lean_inc(x_816); +lean_dec(x_815); +x_817 = lean_st_ref_get(x_3, x_816); +x_818 = lean_ctor_get(x_817, 0); +lean_inc(x_818); +x_819 = lean_ctor_get(x_817, 1); +lean_inc(x_819); +lean_dec(x_817); +x_820 = lean_ctor_get(x_818, 1); +lean_inc(x_820); +lean_dec(x_818); +lean_inc(x_690); +x_821 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_820, x_690); +if (lean_obj_tag(x_821) == 0) +{ +lean_object* x_822; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_690); +x_822 = l_Lean_Meta_Closure_collectExprAux(x_690, x_2, x_3, x_4, x_5, x_6, x_7, x_819); +if (lean_obj_tag(x_822) == 0) +{ +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; +x_823 = lean_ctor_get(x_822, 0); +lean_inc(x_823); +x_824 = lean_ctor_get(x_822, 1); +lean_inc(x_824); +lean_dec(x_822); +x_825 = lean_st_ref_get(x_7, x_824); +x_826 = lean_ctor_get(x_825, 1); +lean_inc(x_826); +lean_dec(x_825); +x_827 = lean_st_ref_take(x_3, x_826); +x_828 = lean_ctor_get(x_827, 0); +lean_inc(x_828); +x_829 = lean_ctor_get(x_827, 1); +lean_inc(x_829); +lean_dec(x_827); +x_830 = lean_ctor_get(x_828, 0); +lean_inc(x_830); +x_831 = lean_ctor_get(x_828, 1); +lean_inc(x_831); +lean_inc(x_823); +x_832 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_831, x_690, x_823); +x_833 = lean_ctor_get(x_828, 2); +lean_inc(x_833); +x_834 = lean_ctor_get(x_828, 3); +lean_inc(x_834); +x_835 = lean_ctor_get(x_828, 4); +lean_inc(x_835); +x_836 = lean_ctor_get(x_828, 5); +lean_inc(x_836); +x_837 = lean_ctor_get(x_828, 6); +lean_inc(x_837); +x_838 = lean_ctor_get(x_828, 7); +lean_inc(x_838); +x_839 = lean_ctor_get(x_828, 8); +lean_inc(x_839); +x_840 = lean_ctor_get(x_828, 9); +lean_inc(x_840); +x_841 = lean_ctor_get(x_828, 10); +lean_inc(x_841); +x_842 = lean_ctor_get(x_828, 11); +lean_inc(x_842); +lean_dec(x_828); +x_843 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_843, 0, x_830); +lean_ctor_set(x_843, 1, x_832); +lean_ctor_set(x_843, 2, x_833); +lean_ctor_set(x_843, 3, x_834); +lean_ctor_set(x_843, 4, x_835); +lean_ctor_set(x_843, 5, x_836); +lean_ctor_set(x_843, 6, x_837); +lean_ctor_set(x_843, 7, x_838); +lean_ctor_set(x_843, 8, x_839); +lean_ctor_set(x_843, 9, x_840); +lean_ctor_set(x_843, 10, x_841); +lean_ctor_set(x_843, 11, x_842); +x_844 = lean_st_ref_set(x_3, x_843, x_829); +x_845 = lean_ctor_get(x_844, 1); +lean_inc(x_845); +lean_dec(x_844); +x_693 = x_823; +x_694 = x_845; +goto block_813; +} +else +{ +uint8_t x_846; +lean_dec(x_692); +lean_dec(x_691); +lean_dec(x_690); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_846 = !lean_is_exclusive(x_822); +if (x_846 == 0) +{ +return x_822; +} +else +{ +lean_object* x_847; lean_object* x_848; lean_object* x_849; +x_847 = lean_ctor_get(x_822, 0); +x_848 = lean_ctor_get(x_822, 1); +lean_inc(x_848); +lean_inc(x_847); +lean_dec(x_822); +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; +} +} +} +else +{ +lean_object* x_850; +lean_dec(x_690); +x_850 = lean_ctor_get(x_821, 0); +lean_inc(x_850); +lean_dec(x_821); +x_693 = x_850; +x_694 = x_819; +goto block_813; } } } case 10: { -lean_object* x_772; lean_object* x_773; uint8_t x_811; -x_772 = lean_ctor_get(x_1, 1); -lean_inc(x_772); -x_811 = l_Lean_Expr_hasLevelParam(x_772); -if (x_811 == 0) +lean_object* x_858; lean_object* x_859; uint8_t x_897; +x_858 = lean_ctor_get(x_1, 1); +lean_inc(x_858); +x_897 = l_Lean_Expr_hasLevelParam(x_858); +if (x_897 == 0) { -uint8_t x_812; -x_812 = l_Lean_Expr_hasFVar(x_772); -if (x_812 == 0) +uint8_t x_898; +x_898 = l_Lean_Expr_hasFVar(x_858); +if (x_898 == 0) { -uint8_t x_813; -x_813 = l_Lean_Expr_hasMVar(x_772); -if (x_813 == 0) +uint8_t x_899; +x_899 = l_Lean_Expr_hasMVar(x_858); +if (x_899 == 0) { lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_9 = x_772; +x_9 = x_858; x_10 = x_8; -goto block_16; +goto block_22; } else { -lean_object* x_814; -x_814 = lean_box(0); -x_773 = x_814; -goto block_810; +lean_object* x_900; +x_900 = lean_box(0); +x_859 = x_900; +goto block_896; } } else { -lean_object* x_815; -x_815 = lean_box(0); -x_773 = x_815; -goto block_810; +lean_object* x_901; +x_901 = lean_box(0); +x_859 = x_901; +goto block_896; } } else { -lean_object* x_816; -x_816 = lean_box(0); -x_773 = x_816; -goto block_810; +lean_object* x_902; +x_902 = lean_box(0); +x_859 = x_902; +goto block_896; } -block_810: +block_896: { -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_dec(x_773); -x_774 = lean_st_ref_get(x_7, x_8); -x_775 = lean_ctor_get(x_774, 1); -lean_inc(x_775); -lean_dec(x_774); -x_776 = lean_st_ref_get(x_3, 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, 1); -lean_inc(x_779); -lean_dec(x_777); -lean_inc(x_772); -x_780 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_779, x_772); -if (lean_obj_tag(x_780) == 0) +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_dec(x_859); +x_860 = lean_st_ref_get(x_7, x_8); +x_861 = lean_ctor_get(x_860, 1); +lean_inc(x_861); +lean_dec(x_860); +x_862 = lean_st_ref_get(x_3, x_861); +x_863 = lean_ctor_get(x_862, 0); +lean_inc(x_863); +x_864 = lean_ctor_get(x_862, 1); +lean_inc(x_864); +lean_dec(x_862); +x_865 = lean_ctor_get(x_863, 1); +lean_inc(x_865); +lean_dec(x_863); +lean_inc(x_858); +x_866 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_865, x_858); +if (lean_obj_tag(x_866) == 0) { -lean_object* x_781; +lean_object* x_867; lean_inc(x_7); -lean_inc(x_772); -x_781 = l_Lean_Meta_Closure_collectExprAux(x_772, x_2, x_3, x_4, x_5, x_6, x_7, x_778); -if (lean_obj_tag(x_781) == 0) +lean_inc(x_858); +x_867 = l_Lean_Meta_Closure_collectExprAux(x_858, x_2, x_3, x_4, x_5, x_6, x_7, x_864); +if (lean_obj_tag(x_867) == 0) { -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; -x_782 = lean_ctor_get(x_781, 0); -lean_inc(x_782); -x_783 = lean_ctor_get(x_781, 1); -lean_inc(x_783); -lean_dec(x_781); -x_784 = lean_st_ref_get(x_7, x_783); +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; +x_868 = lean_ctor_get(x_867, 0); +lean_inc(x_868); +x_869 = lean_ctor_get(x_867, 1); +lean_inc(x_869); +lean_dec(x_867); +x_870 = lean_st_ref_get(x_7, x_869); lean_dec(x_7); -x_785 = lean_ctor_get(x_784, 1); -lean_inc(x_785); -lean_dec(x_784); -x_786 = lean_st_ref_take(x_3, x_785); -x_787 = lean_ctor_get(x_786, 0); -lean_inc(x_787); -x_788 = lean_ctor_get(x_786, 1); -lean_inc(x_788); -lean_dec(x_786); -x_789 = lean_ctor_get(x_787, 0); -lean_inc(x_789); -x_790 = lean_ctor_get(x_787, 1); -lean_inc(x_790); -lean_inc(x_782); -x_791 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_790, x_772, x_782); -x_792 = lean_ctor_get(x_787, 2); -lean_inc(x_792); -x_793 = lean_ctor_get(x_787, 3); -lean_inc(x_793); -x_794 = lean_ctor_get(x_787, 4); -lean_inc(x_794); -x_795 = lean_ctor_get(x_787, 5); -lean_inc(x_795); -x_796 = lean_ctor_get(x_787, 6); -lean_inc(x_796); -x_797 = lean_ctor_get(x_787, 7); -lean_inc(x_797); -x_798 = lean_ctor_get(x_787, 8); -lean_inc(x_798); -x_799 = lean_ctor_get(x_787, 9); -lean_inc(x_799); -x_800 = lean_ctor_get(x_787, 10); -lean_inc(x_800); -x_801 = lean_ctor_get(x_787, 11); -lean_inc(x_801); -lean_dec(x_787); -x_802 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_802, 0, x_789); -lean_ctor_set(x_802, 1, x_791); -lean_ctor_set(x_802, 2, x_792); -lean_ctor_set(x_802, 3, x_793); -lean_ctor_set(x_802, 4, x_794); -lean_ctor_set(x_802, 5, x_795); -lean_ctor_set(x_802, 6, x_796); -lean_ctor_set(x_802, 7, x_797); -lean_ctor_set(x_802, 8, x_798); -lean_ctor_set(x_802, 9, x_799); -lean_ctor_set(x_802, 10, x_800); -lean_ctor_set(x_802, 11, x_801); -x_803 = lean_st_ref_set(x_3, x_802, x_788); -x_804 = lean_ctor_get(x_803, 1); -lean_inc(x_804); -lean_dec(x_803); -x_9 = x_782; -x_10 = x_804; -goto block_16; +x_871 = lean_ctor_get(x_870, 1); +lean_inc(x_871); +lean_dec(x_870); +x_872 = lean_st_ref_take(x_3, x_871); +x_873 = lean_ctor_get(x_872, 0); +lean_inc(x_873); +x_874 = lean_ctor_get(x_872, 1); +lean_inc(x_874); +lean_dec(x_872); +x_875 = lean_ctor_get(x_873, 0); +lean_inc(x_875); +x_876 = lean_ctor_get(x_873, 1); +lean_inc(x_876); +lean_inc(x_868); +x_877 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_876, x_858, x_868); +x_878 = lean_ctor_get(x_873, 2); +lean_inc(x_878); +x_879 = lean_ctor_get(x_873, 3); +lean_inc(x_879); +x_880 = lean_ctor_get(x_873, 4); +lean_inc(x_880); +x_881 = lean_ctor_get(x_873, 5); +lean_inc(x_881); +x_882 = lean_ctor_get(x_873, 6); +lean_inc(x_882); +x_883 = lean_ctor_get(x_873, 7); +lean_inc(x_883); +x_884 = lean_ctor_get(x_873, 8); +lean_inc(x_884); +x_885 = lean_ctor_get(x_873, 9); +lean_inc(x_885); +x_886 = lean_ctor_get(x_873, 10); +lean_inc(x_886); +x_887 = lean_ctor_get(x_873, 11); +lean_inc(x_887); +lean_dec(x_873); +x_888 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_888, 0, x_875); +lean_ctor_set(x_888, 1, x_877); +lean_ctor_set(x_888, 2, x_878); +lean_ctor_set(x_888, 3, x_879); +lean_ctor_set(x_888, 4, x_880); +lean_ctor_set(x_888, 5, x_881); +lean_ctor_set(x_888, 6, x_882); +lean_ctor_set(x_888, 7, x_883); +lean_ctor_set(x_888, 8, x_884); +lean_ctor_set(x_888, 9, x_885); +lean_ctor_set(x_888, 10, x_886); +lean_ctor_set(x_888, 11, x_887); +x_889 = lean_st_ref_set(x_3, x_888, x_874); +x_890 = lean_ctor_get(x_889, 1); +lean_inc(x_890); +lean_dec(x_889); +x_9 = x_868; +x_10 = x_890; +goto block_22; } else { -uint8_t x_805; -lean_dec(x_772); +uint8_t x_891; +lean_dec(x_858); lean_dec(x_7); lean_dec(x_1); -x_805 = !lean_is_exclusive(x_781); -if (x_805 == 0) +x_891 = !lean_is_exclusive(x_867); +if (x_891 == 0) { -return x_781; +return x_867; } else { -lean_object* x_806; lean_object* x_807; lean_object* x_808; -x_806 = lean_ctor_get(x_781, 0); -x_807 = lean_ctor_get(x_781, 1); -lean_inc(x_807); -lean_inc(x_806); -lean_dec(x_781); -x_808 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_808, 0, x_806); -lean_ctor_set(x_808, 1, x_807); -return x_808; +lean_object* x_892; lean_object* x_893; lean_object* x_894; +x_892 = lean_ctor_get(x_867, 0); +x_893 = lean_ctor_get(x_867, 1); +lean_inc(x_893); +lean_inc(x_892); +lean_dec(x_867); +x_894 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_894, 0, x_892); +lean_ctor_set(x_894, 1, x_893); +return x_894; } } } else { -lean_object* x_809; -lean_dec(x_772); +lean_object* x_895; +lean_dec(x_858); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_809 = lean_ctor_get(x_780, 0); -lean_inc(x_809); -lean_dec(x_780); -x_9 = x_809; -x_10 = x_778; -goto block_16; +x_895 = lean_ctor_get(x_866, 0); +lean_inc(x_895); +lean_dec(x_866); +x_9 = x_895; +x_10 = x_864; +goto block_22; } } } case 11: { -lean_object* x_817; lean_object* x_818; uint8_t x_856; -x_817 = lean_ctor_get(x_1, 2); -lean_inc(x_817); -x_856 = l_Lean_Expr_hasLevelParam(x_817); -if (x_856 == 0) +lean_object* x_903; lean_object* x_904; uint8_t x_942; +x_903 = lean_ctor_get(x_1, 2); +lean_inc(x_903); +x_942 = l_Lean_Expr_hasLevelParam(x_903); +if (x_942 == 0) { -uint8_t x_857; -x_857 = l_Lean_Expr_hasFVar(x_817); -if (x_857 == 0) +uint8_t x_943; +x_943 = l_Lean_Expr_hasFVar(x_903); +if (x_943 == 0) { -uint8_t x_858; -x_858 = l_Lean_Expr_hasMVar(x_817); -if (x_858 == 0) +uint8_t x_944; +x_944 = l_Lean_Expr_hasMVar(x_903); +if (x_944 == 0) { lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_17 = x_817; -x_18 = x_8; -goto block_24; +x_23 = x_903; +x_24 = x_8; +goto block_37; } else { -lean_object* x_859; -x_859 = lean_box(0); -x_818 = x_859; -goto block_855; +lean_object* x_945; +x_945 = lean_box(0); +x_904 = x_945; +goto block_941; } } else { -lean_object* x_860; -x_860 = lean_box(0); -x_818 = x_860; -goto block_855; +lean_object* x_946; +x_946 = lean_box(0); +x_904 = x_946; +goto block_941; } } else { -lean_object* x_861; -x_861 = lean_box(0); -x_818 = x_861; -goto block_855; +lean_object* x_947; +x_947 = lean_box(0); +x_904 = x_947; +goto block_941; } -block_855: +block_941: { -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_dec(x_818); -x_819 = lean_st_ref_get(x_7, x_8); -x_820 = lean_ctor_get(x_819, 1); -lean_inc(x_820); -lean_dec(x_819); -x_821 = lean_st_ref_get(x_3, x_820); -x_822 = lean_ctor_get(x_821, 0); -lean_inc(x_822); -x_823 = lean_ctor_get(x_821, 1); -lean_inc(x_823); -lean_dec(x_821); -x_824 = lean_ctor_get(x_822, 1); -lean_inc(x_824); -lean_dec(x_822); -lean_inc(x_817); -x_825 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_824, x_817); -if (lean_obj_tag(x_825) == 0) +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_dec(x_904); +x_905 = lean_st_ref_get(x_7, x_8); +x_906 = lean_ctor_get(x_905, 1); +lean_inc(x_906); +lean_dec(x_905); +x_907 = lean_st_ref_get(x_3, x_906); +x_908 = lean_ctor_get(x_907, 0); +lean_inc(x_908); +x_909 = lean_ctor_get(x_907, 1); +lean_inc(x_909); +lean_dec(x_907); +x_910 = lean_ctor_get(x_908, 1); +lean_inc(x_910); +lean_dec(x_908); +lean_inc(x_903); +x_911 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_910, x_903); +if (lean_obj_tag(x_911) == 0) { -lean_object* x_826; +lean_object* x_912; lean_inc(x_7); -lean_inc(x_817); -x_826 = l_Lean_Meta_Closure_collectExprAux(x_817, x_2, x_3, x_4, x_5, x_6, x_7, x_823); -if (lean_obj_tag(x_826) == 0) +lean_inc(x_903); +x_912 = l_Lean_Meta_Closure_collectExprAux(x_903, x_2, x_3, x_4, x_5, x_6, x_7, x_909); +if (lean_obj_tag(x_912) == 0) { -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; -x_827 = lean_ctor_get(x_826, 0); -lean_inc(x_827); -x_828 = lean_ctor_get(x_826, 1); -lean_inc(x_828); -lean_dec(x_826); -x_829 = lean_st_ref_get(x_7, x_828); +lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; +x_913 = lean_ctor_get(x_912, 0); +lean_inc(x_913); +x_914 = lean_ctor_get(x_912, 1); +lean_inc(x_914); +lean_dec(x_912); +x_915 = lean_st_ref_get(x_7, x_914); lean_dec(x_7); -x_830 = lean_ctor_get(x_829, 1); -lean_inc(x_830); -lean_dec(x_829); -x_831 = lean_st_ref_take(x_3, x_830); -x_832 = lean_ctor_get(x_831, 0); -lean_inc(x_832); -x_833 = lean_ctor_get(x_831, 1); -lean_inc(x_833); -lean_dec(x_831); -x_834 = lean_ctor_get(x_832, 0); -lean_inc(x_834); -x_835 = lean_ctor_get(x_832, 1); -lean_inc(x_835); -lean_inc(x_827); -x_836 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_835, x_817, x_827); -x_837 = lean_ctor_get(x_832, 2); -lean_inc(x_837); -x_838 = lean_ctor_get(x_832, 3); -lean_inc(x_838); -x_839 = lean_ctor_get(x_832, 4); -lean_inc(x_839); -x_840 = lean_ctor_get(x_832, 5); -lean_inc(x_840); -x_841 = lean_ctor_get(x_832, 6); -lean_inc(x_841); -x_842 = lean_ctor_get(x_832, 7); -lean_inc(x_842); -x_843 = lean_ctor_get(x_832, 8); -lean_inc(x_843); -x_844 = lean_ctor_get(x_832, 9); -lean_inc(x_844); -x_845 = lean_ctor_get(x_832, 10); -lean_inc(x_845); -x_846 = lean_ctor_get(x_832, 11); -lean_inc(x_846); -lean_dec(x_832); -x_847 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_847, 0, x_834); -lean_ctor_set(x_847, 1, x_836); -lean_ctor_set(x_847, 2, x_837); -lean_ctor_set(x_847, 3, x_838); -lean_ctor_set(x_847, 4, x_839); -lean_ctor_set(x_847, 5, x_840); -lean_ctor_set(x_847, 6, x_841); -lean_ctor_set(x_847, 7, x_842); -lean_ctor_set(x_847, 8, x_843); -lean_ctor_set(x_847, 9, x_844); -lean_ctor_set(x_847, 10, x_845); -lean_ctor_set(x_847, 11, x_846); -x_848 = lean_st_ref_set(x_3, x_847, x_833); -x_849 = lean_ctor_get(x_848, 1); -lean_inc(x_849); -lean_dec(x_848); -x_17 = x_827; -x_18 = x_849; -goto block_24; +x_916 = lean_ctor_get(x_915, 1); +lean_inc(x_916); +lean_dec(x_915); +x_917 = lean_st_ref_take(x_3, x_916); +x_918 = lean_ctor_get(x_917, 0); +lean_inc(x_918); +x_919 = lean_ctor_get(x_917, 1); +lean_inc(x_919); +lean_dec(x_917); +x_920 = lean_ctor_get(x_918, 0); +lean_inc(x_920); +x_921 = lean_ctor_get(x_918, 1); +lean_inc(x_921); +lean_inc(x_913); +x_922 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_921, x_903, x_913); +x_923 = lean_ctor_get(x_918, 2); +lean_inc(x_923); +x_924 = lean_ctor_get(x_918, 3); +lean_inc(x_924); +x_925 = lean_ctor_get(x_918, 4); +lean_inc(x_925); +x_926 = lean_ctor_get(x_918, 5); +lean_inc(x_926); +x_927 = lean_ctor_get(x_918, 6); +lean_inc(x_927); +x_928 = lean_ctor_get(x_918, 7); +lean_inc(x_928); +x_929 = lean_ctor_get(x_918, 8); +lean_inc(x_929); +x_930 = lean_ctor_get(x_918, 9); +lean_inc(x_930); +x_931 = lean_ctor_get(x_918, 10); +lean_inc(x_931); +x_932 = lean_ctor_get(x_918, 11); +lean_inc(x_932); +lean_dec(x_918); +x_933 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_933, 0, x_920); +lean_ctor_set(x_933, 1, x_922); +lean_ctor_set(x_933, 2, x_923); +lean_ctor_set(x_933, 3, x_924); +lean_ctor_set(x_933, 4, x_925); +lean_ctor_set(x_933, 5, x_926); +lean_ctor_set(x_933, 6, x_927); +lean_ctor_set(x_933, 7, x_928); +lean_ctor_set(x_933, 8, x_929); +lean_ctor_set(x_933, 9, x_930); +lean_ctor_set(x_933, 10, x_931); +lean_ctor_set(x_933, 11, x_932); +x_934 = lean_st_ref_set(x_3, x_933, x_919); +x_935 = lean_ctor_get(x_934, 1); +lean_inc(x_935); +lean_dec(x_934); +x_23 = x_913; +x_24 = x_935; +goto block_37; } else { -uint8_t x_850; -lean_dec(x_817); +uint8_t x_936; +lean_dec(x_903); lean_dec(x_7); lean_dec(x_1); -x_850 = !lean_is_exclusive(x_826); -if (x_850 == 0) +x_936 = !lean_is_exclusive(x_912); +if (x_936 == 0) { -return x_826; +return x_912; } else { -lean_object* x_851; lean_object* x_852; lean_object* x_853; -x_851 = lean_ctor_get(x_826, 0); -x_852 = lean_ctor_get(x_826, 1); -lean_inc(x_852); -lean_inc(x_851); -lean_dec(x_826); -x_853 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_853, 0, x_851); -lean_ctor_set(x_853, 1, x_852); -return x_853; +lean_object* x_937; lean_object* x_938; lean_object* x_939; +x_937 = lean_ctor_get(x_912, 0); +x_938 = lean_ctor_get(x_912, 1); +lean_inc(x_938); +lean_inc(x_937); +lean_dec(x_912); +x_939 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_939, 0, x_937); +lean_ctor_set(x_939, 1, x_938); +return x_939; } } } else { -lean_object* x_854; -lean_dec(x_817); +lean_object* x_940; +lean_dec(x_903); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_854 = lean_ctor_get(x_825, 0); -lean_inc(x_854); -lean_dec(x_825); -x_17 = x_854; -x_18 = x_823; -goto block_24; +x_940 = lean_ctor_get(x_911, 0); +lean_inc(x_940); +lean_dec(x_911); +x_23 = x_940; +x_24 = x_909; +goto block_37; } } } default: { -lean_object* x_862; +lean_object* x_948; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_862 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_862, 0, x_1); -lean_ctor_set(x_862, 1, x_8); -return x_862; +x_948 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_948, 0, x_1); +lean_ctor_set(x_948, 1, x_8); +return x_948; } } -block_16: +block_22: { if (lean_obj_tag(x_1) == 10) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_expr_update_mdata(x_1, x_9); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; +lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; uint8_t x_15; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +x_13 = lean_ptr_addr(x_12); +lean_dec(x_12); +x_14 = lean_ptr_addr(x_9); +x_15 = lean_usize_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_16 = l_Lean_Expr_mdata___override(x_11, x_9); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_10); +return x_17; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_18; +lean_dec(x_11); +lean_dec(x_9); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_10); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_9); lean_dec(x_1); -x_13 = l_Lean_Meta_Closure_collectExprAux___closed__4; -x_14 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_10); -return x_15; +x_19 = l_Lean_Meta_Closure_collectExprAux___closed__4; +x_20 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(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_10); +return x_21; } } -block_24: +block_37: { if (lean_obj_tag(x_1) == 11) { -lean_object* x_19; lean_object* x_20; -x_19 = lean_expr_update_proj(x_1, x_17); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; uint8_t x_30; +x_25 = lean_ctor_get(x_1, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_1, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_1, 2); +lean_inc(x_27); +x_28 = lean_ptr_addr(x_27); +lean_dec(x_27); +x_29 = lean_ptr_addr(x_23); +x_30 = lean_usize_dec_eq(x_28, x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_1); +x_31 = l_Lean_Expr_proj___override(x_25, x_26, x_23); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_24); +return x_32; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_17); +lean_object* x_33; +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_23); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_1); +lean_ctor_set(x_33, 1, x_24); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_23); lean_dec(x_1); -x_21 = l_Lean_Meta_Closure_collectExprAux___closed__7; -x_22 = l_panic___at_Lean_Expr_getRevArg_x21___spec__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_18); -return x_23; +x_34 = l_Lean_Meta_Closure_collectExprAux___closed__7; +x_35 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(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_24); +return x_36; } } } @@ -9888,7 +10354,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_Nat_foldRev_loop___at_Lean_Meta_Closure_mkBinding___spec__2___closed__1; x_2 = l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkBinding___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkBinding___spec__2___closed__3; 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/CongrTheorems.c b/stage0/stdlib/Lean/Meta/CongrTheorems.c index 31d238136e..3bb2db6f04 100644 --- a/stage0/stdlib/Lean/Meta/CongrTheorems.c +++ b/stage0/stdlib/Lean/Meta/CongrTheorems.c @@ -585,7 +585,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_Meta_mkHCongrWithArity_withNewEqs_loop___rarg___closed__3; x_2 = l_Lean_Meta_mkHCongrWithArity_withNewEqs_loop___rarg___closed__4; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_mkHCongrWithArity_withNewEqs_loop___rarg___closed__5; 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/DecLevel.c b/stage0/stdlib/Lean/Meta/DecLevel.c index 96b84c1fd5..1eee220fe0 100644 --- a/stage0/stdlib/Lean/Meta/DecLevel.c +++ b/stage0/stdlib/Lean/Meta/DecLevel.c @@ -37,7 +37,7 @@ static lean_object* l_Lean_addTrace___at___private_Lean_Meta_DecLevel_0__Lean_Me lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__2___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_level_mk_max_simp(lean_object*, lean_object*); +lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_decLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1045,7 +1045,7 @@ if (x_34 == 0) { lean_object* x_35; lean_object* x_36; x_35 = lean_ctor_get(x_25, 0); -x_36 = lean_level_mk_max_simp(x_23, x_35); +x_36 = l_Lean_mkLevelMax_x27(x_23, x_35); lean_ctor_set(x_25, 0, x_36); return x_24; } @@ -1055,7 +1055,7 @@ lean_object* x_37; lean_object* x_38; lean_object* x_39; x_37 = lean_ctor_get(x_25, 0); lean_inc(x_37); lean_dec(x_25); -x_38 = lean_level_mk_max_simp(x_23, x_37); +x_38 = l_Lean_mkLevelMax_x27(x_23, x_37); x_39 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_24, 0, x_39); @@ -1077,7 +1077,7 @@ if (lean_is_exclusive(x_25)) { lean_dec_ref(x_25); x_42 = lean_box(0); } -x_43 = lean_level_mk_max_simp(x_23, x_41); +x_43 = l_Lean_mkLevelMax_x27(x_23, x_41); if (lean_is_scalar(x_42)) { x_44 = lean_alloc_ctor(1, 1, 0); } else { @@ -1250,7 +1250,7 @@ if (x_77 == 0) { lean_object* x_78; lean_object* x_79; x_78 = lean_ctor_get(x_68, 0); -x_79 = lean_level_mk_max_simp(x_66, x_78); +x_79 = l_Lean_mkLevelMax_x27(x_66, x_78); lean_ctor_set(x_68, 0, x_79); return x_67; } @@ -1260,7 +1260,7 @@ lean_object* x_80; lean_object* x_81; lean_object* x_82; x_80 = lean_ctor_get(x_68, 0); lean_inc(x_80); lean_dec(x_68); -x_81 = lean_level_mk_max_simp(x_66, x_80); +x_81 = l_Lean_mkLevelMax_x27(x_66, x_80); x_82 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_82, 0, x_81); lean_ctor_set(x_67, 0, x_82); @@ -1282,7 +1282,7 @@ if (lean_is_exclusive(x_68)) { lean_dec_ref(x_68); x_85 = lean_box(0); } -x_86 = lean_level_mk_max_simp(x_66, x_84); +x_86 = l_Lean_mkLevelMax_x27(x_66, x_84); if (lean_is_scalar(x_85)) { x_87 = lean_alloc_ctor(1, 1, 0); } else { diff --git a/stage0/stdlib/Lean/Meta/DiscrTree.c b/stage0/stdlib/Lean/Meta/DiscrTree.c index 0b9aca090f..6fcca28c2e 100644 --- a/stage0/stdlib/Lean/Meta/DiscrTree.c +++ b/stage0/stdlib/Lean/Meta/DiscrTree.c @@ -8313,7 +8313,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_Meta_DiscrTree_insertCore___rarg___closed__1; x_2 = l_Lean_Meta_DiscrTree_insertCore___rarg___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_DiscrTree_insertCore___rarg___closed__3; 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/ExprDefEq.c b/stage0/stdlib/Lean/Meta/ExprDefEq.c index d088184460..0b9e444308 100644 --- a/stage0/stdlib/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Lean/Meta/ExprDefEq.c @@ -22,7 +22,6 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___c LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_Meta_CheckAssignment_checkMVar___spec__51(lean_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_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__47___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkAuxMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__2; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); @@ -69,6 +68,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_checkFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(lean_object*, 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_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(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_isDefEqEtaStruct_go___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_checkAssignmentAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -92,7 +92,6 @@ uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1848_(l static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux(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_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___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_expr_update_mdata(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__48(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__16(lean_object*, lean_object*, size_t, size_t); @@ -138,6 +137,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFV LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___closed__1; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__2; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__7; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass___spec__2___closed__2; @@ -197,6 +197,7 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqRight___ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__1___closed__2; +lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_MessageData_ofList(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___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*); @@ -232,7 +233,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAss static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass___spec__2___closed__3; 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*); 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_9921_(uint8_t, uint8_t); +uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3(lean_object*, lean_object*, lean_object*); 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___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -545,7 +546,6 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0_ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___boxed(lean_object*, 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_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(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_assignExprMVar___at_Lean_Meta_CheckAssignment_checkMVar___spec__65(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -582,7 +582,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBin LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox_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*); uint8_t l_Lean_Meta_ParamInfo_isExplicit(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__11; extern lean_object* l_Lean_Meta_instInhabitedParamInfo; size_t lean_usize_land(size_t, size_t); @@ -621,6 +620,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_Ex LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(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_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___spec__2___lambda__1___boxed(lean_object*, lean_object*, 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_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__1; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___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*); @@ -750,7 +750,6 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_16288_(lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); -lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -793,6 +792,7 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_mkAppRangeAux(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_addLetDeps___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*); +uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignmentQuick_check_visit___spec__2(lean_object*, lean_object*, size_t, size_t); uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); @@ -814,6 +814,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_c static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__1___closed__1; lean_object* l_Lean_Meta_shouldReduceReducibleOnly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_CheckAssignment_checkMVar___spec__1(lean_object*, 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___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDeltaCandidate_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__10; lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); @@ -1085,7 +1086,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_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__10; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__11; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__12; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -18152,7 +18153,7 @@ static lean_object* _init_l_Lean_Meta_CheckAssignment_check___closed__2() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateMData!", 22); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateMData!Impl", 47); return x_1; } } @@ -18170,8 +18171,8 @@ _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_Meta_CheckAssignment_check___closed__1; x_2 = l_Lean_Meta_CheckAssignment_check___closed__2; -x_3 = lean_unsigned_to_nat(1448u); -x_4 = lean_unsigned_to_nat(16u); +x_3 = lean_unsigned_to_nat(1434u); +x_4 = lean_unsigned_to_nat(17u); x_5 = l_Lean_Meta_CheckAssignment_check___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -18181,7 +18182,7 @@ static lean_object* _init_l_Lean_Meta_CheckAssignment_check___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateProj!", 21); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateProj!Impl", 46); return x_1; } } @@ -18199,8 +18200,8 @@ _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_Meta_CheckAssignment_check___closed__1; x_2 = l_Lean_Meta_CheckAssignment_check___closed__5; -x_3 = lean_unsigned_to_nat(1453u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(1445u); +x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Meta_CheckAssignment_check___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -18228,8 +18229,8 @@ _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_Meta_CheckAssignment_check___closed__1; x_2 = l_Lean_Meta_CheckAssignment_check___closed__8; -x_3 = lean_unsigned_to_nat(1481u); -x_4 = lean_unsigned_to_nat(19u); +x_3 = lean_unsigned_to_nat(1491u); +x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Meta_CheckAssignment_check___closed__9; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -18257,8 +18258,8 @@ _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_Meta_CheckAssignment_check___closed__1; x_2 = l_Lean_Meta_CheckAssignment_check___closed__11; -x_3 = lean_unsigned_to_nat(1467u); -x_4 = lean_unsigned_to_nat(23u); +x_3 = lean_unsigned_to_nat(1471u); +x_4 = lean_unsigned_to_nat(24u); x_5 = l_Lean_Meta_CheckAssignment_check___closed__12; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -18268,7 +18269,7 @@ static lean_object* _init_l_Lean_Meta_CheckAssignment_check___closed__14() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateLet!", 20); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateLet!Impl", 45); return x_1; } } @@ -18286,8 +18287,8 @@ _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_Meta_CheckAssignment_check___closed__1; x_2 = l_Lean_Meta_CheckAssignment_check___closed__14; -x_3 = lean_unsigned_to_nat(1490u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(1500u); +x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_Meta_CheckAssignment_check___closed__15; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -18296,59 +18297,59 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_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) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_17; lean_object* x_18; +lean_object* x_9; lean_object* x_10; lean_object* x_23; lean_object* x_24; switch (lean_obj_tag(x_1)) { case 1: { -lean_object* x_25; uint8_t x_48; -x_48 = l_Lean_Expr_hasExprMVar(x_1); -if (x_48 == 0) +lean_object* x_38; uint8_t x_61; +x_61 = l_Lean_Expr_hasExprMVar(x_1); +if (x_61 == 0) { -uint8_t x_49; -x_49 = l_Lean_Expr_hasFVar(x_1); -if (x_49 == 0) +uint8_t x_62; +x_62 = l_Lean_Expr_hasFVar(x_1); +if (x_62 == 0) { -lean_object* x_50; +lean_object* 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_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_1); -lean_ctor_set(x_50, 1, x_8); -return x_50; +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_1); +lean_ctor_set(x_63, 1, x_8); +return x_63; } else { -lean_object* x_51; -x_51 = lean_box(0); -x_25 = x_51; -goto block_47; +lean_object* x_64; +x_64 = lean_box(0); +x_38 = x_64; +goto block_60; } } else { -lean_object* x_52; -x_52 = lean_box(0); -x_25 = x_52; -goto block_47; +lean_object* x_65; +x_65 = lean_box(0); +x_38 = x_65; +goto block_60; } -block_47: +block_60: { -lean_object* x_26; lean_object* x_27; -lean_dec(x_25); +lean_object* x_39; lean_object* x_40; +lean_dec(x_38); lean_inc(x_1); -x_26 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) +x_39 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -18356,164 +18357,164 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_29 = l_Lean_Meta_CheckAssignment_checkFVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_28); -if (lean_obj_tag(x_29) == 0) +x_42 = l_Lean_Meta_CheckAssignment_checkFVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_41); +if (lean_obj_tag(x_42) == 0) { -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_29, 1); -lean_inc(x_31); -lean_dec(x_29); -lean_inc(x_30); -x_32 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_1, x_30, x_2, 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); -lean_dec(x_2); -x_33 = !lean_is_exclusive(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_30); -return x_32; -} -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_30); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -else -{ -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); -x_37 = !lean_is_exclusive(x_29); -if (x_37 == 0) -{ -return x_29; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_29, 0); -x_39 = lean_ctor_get(x_29, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_29); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -else -{ -uint8_t x_41; -lean_dec(x_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_41 = !lean_is_exclusive(x_26); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_26, 0); -lean_dec(x_42); -x_43 = lean_ctor_get(x_27, 0); +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); -lean_dec(x_27); -lean_ctor_set(x_26, 0, x_43); -return x_26; +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +lean_inc(x_43); +x_45 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_1, x_43, x_2, x_3, x_4, x_5, x_6, x_7, 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_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(x_45, 0, x_43); +return x_45; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_26, 1); -lean_inc(x_44); -lean_dec(x_26); -x_45 = lean_ctor_get(x_27, 0); -lean_inc(x_45); -lean_dec(x_27); -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; +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_43); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +else +{ +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); +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_42); +if (x_50 == 0) +{ +return x_42; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_42, 0); +x_52 = lean_ctor_get(x_42, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_42); +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_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_54 = !lean_is_exclusive(x_39); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_39, 0); +lean_dec(x_55); +x_56 = lean_ctor_get(x_40, 0); +lean_inc(x_56); +lean_dec(x_40); +lean_ctor_set(x_39, 0, x_56); +return x_39; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_39, 1); +lean_inc(x_57); +lean_dec(x_39); +x_58 = lean_ctor_get(x_40, 0); +lean_inc(x_58); +lean_dec(x_40); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +return x_59; } } } } case 2: { -lean_object* x_53; uint8_t x_76; -x_76 = l_Lean_Expr_hasExprMVar(x_1); -if (x_76 == 0) +lean_object* x_66; uint8_t x_89; +x_89 = l_Lean_Expr_hasExprMVar(x_1); +if (x_89 == 0) { -uint8_t x_77; -x_77 = l_Lean_Expr_hasFVar(x_1); -if (x_77 == 0) +uint8_t x_90; +x_90 = l_Lean_Expr_hasFVar(x_1); +if (x_90 == 0) { -lean_object* x_78; +lean_object* 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_2); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_1); -lean_ctor_set(x_78, 1, x_8); -return x_78; +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_1); +lean_ctor_set(x_91, 1, x_8); +return x_91; } else { -lean_object* x_79; -x_79 = lean_box(0); -x_53 = x_79; -goto block_75; +lean_object* x_92; +x_92 = lean_box(0); +x_66 = x_92; +goto block_88; } } else { -lean_object* x_80; -x_80 = lean_box(0); -x_53 = x_80; -goto block_75; +lean_object* x_93; +x_93 = lean_box(0); +x_66 = x_93; +goto block_88; } -block_75: +block_88: { -lean_object* x_54; lean_object* x_55; -lean_dec(x_53); +lean_object* x_67; lean_object* x_68; +lean_dec(x_66); lean_inc(x_1); -x_54 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -if (lean_obj_tag(x_55) == 0) +x_67 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +if (lean_obj_tag(x_68) == 0) { -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -18521,161 +18522,161 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_57 = l_Lean_Meta_CheckAssignment_checkMVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_56); -if (lean_obj_tag(x_57) == 0) +x_70 = l_Lean_Meta_CheckAssignment_checkMVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_69); +if (lean_obj_tag(x_70) == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -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); -lean_inc(x_58); -x_60 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_1, x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_59); -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_61 = !lean_is_exclusive(x_60); -if (x_61 == 0) -{ -lean_object* x_62; -x_62 = lean_ctor_get(x_60, 0); -lean_dec(x_62); -lean_ctor_set(x_60, 0, x_58); -return x_60; -} -else -{ -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_60, 1); -lean_inc(x_63); -lean_dec(x_60); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_58); -lean_ctor_set(x_64, 1, x_63); -return x_64; -} -} -else -{ -uint8_t x_65; -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_57); -if (x_65 == 0) -{ -return x_57; -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_57, 0); -x_67 = lean_ctor_get(x_57, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_57); -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_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_69 = !lean_is_exclusive(x_54); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; -x_70 = lean_ctor_get(x_54, 0); -lean_dec(x_70); -x_71 = lean_ctor_get(x_55, 0); +lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_71 = lean_ctor_get(x_70, 0); lean_inc(x_71); -lean_dec(x_55); -lean_ctor_set(x_54, 0, x_71); -return x_54; +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +lean_inc(x_71); +x_73 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_1, x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_72); +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_74 = !lean_is_exclusive(x_73); +if (x_74 == 0) +{ +lean_object* x_75; +x_75 = lean_ctor_get(x_73, 0); +lean_dec(x_75); +lean_ctor_set(x_73, 0, x_71); +return x_73; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_54, 1); -lean_inc(x_72); -lean_dec(x_54); -x_73 = lean_ctor_get(x_55, 0); -lean_inc(x_73); -lean_dec(x_55); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -return x_74; +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_73, 1); +lean_inc(x_76); +lean_dec(x_73); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_71); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +else +{ +uint8_t x_78; +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_78 = !lean_is_exclusive(x_70); +if (x_78 == 0) +{ +return x_70; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_70, 0); +x_80 = lean_ctor_get(x_70, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_70); +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_82; +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_82 = !lean_is_exclusive(x_67); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; +x_83 = lean_ctor_get(x_67, 0); +lean_dec(x_83); +x_84 = lean_ctor_get(x_68, 0); +lean_inc(x_84); +lean_dec(x_68); +lean_ctor_set(x_67, 0, x_84); +return x_67; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_67, 1); +lean_inc(x_85); +lean_dec(x_67); +x_86 = lean_ctor_get(x_68, 0); +lean_inc(x_86); +lean_dec(x_68); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_85); +return x_87; } } } } case 5: { -lean_object* x_81; -x_81 = l_Lean_Meta_CheckAssignment_checkApp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_81; +lean_object* x_94; +x_94 = l_Lean_Meta_CheckAssignment_checkApp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_94; } case 6: { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_116; uint8_t x_132; -x_82 = lean_ctor_get(x_1, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_1, 2); -lean_inc(x_83); -x_132 = l_Lean_Expr_hasExprMVar(x_82); -if (x_132 == 0) +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_145; uint8_t x_161; +x_95 = lean_ctor_get(x_1, 1); +lean_inc(x_95); +x_96 = lean_ctor_get(x_1, 2); +lean_inc(x_96); +x_161 = l_Lean_Expr_hasExprMVar(x_95); +if (x_161 == 0) { -uint8_t x_133; -x_133 = l_Lean_Expr_hasFVar(x_82); -if (x_133 == 0) +uint8_t x_162; +x_162 = l_Lean_Expr_hasFVar(x_95); +if (x_162 == 0) { -x_84 = x_82; -x_85 = x_8; -goto block_115; +x_97 = x_95; +x_98 = x_8; +goto block_144; } else { -lean_object* x_134; -x_134 = lean_box(0); -x_116 = x_134; -goto block_131; +lean_object* x_163; +x_163 = lean_box(0); +x_145 = x_163; +goto block_160; } } else { -lean_object* x_135; -x_135 = lean_box(0); -x_116 = x_135; -goto block_131; +lean_object* x_164; +x_164 = lean_box(0); +x_145 = x_164; +goto block_160; } -block_115: +block_144: { -lean_object* x_86; lean_object* x_87; lean_object* x_95; uint8_t x_111; -x_111 = l_Lean_Expr_hasExprMVar(x_83); -if (x_111 == 0) +lean_object* x_99; lean_object* x_100; lean_object* x_124; uint8_t x_140; +x_140 = l_Lean_Expr_hasExprMVar(x_96); +if (x_140 == 0) { -uint8_t x_112; -x_112 = l_Lean_Expr_hasFVar(x_83); -if (x_112 == 0) +uint8_t x_141; +x_141 = l_Lean_Expr_hasFVar(x_96); +if (x_141 == 0) { lean_dec(x_7); lean_dec(x_6); @@ -18683,194 +18684,166 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_86 = x_83; -x_87 = x_85; -goto block_94; +x_99 = x_96; +x_100 = x_98; +goto block_123; } else { -lean_object* x_113; -x_113 = lean_box(0); -x_95 = x_113; -goto block_110; +lean_object* x_142; +x_142 = lean_box(0); +x_124 = x_142; +goto block_139; } } else { -lean_object* x_114; -x_114 = lean_box(0); -x_95 = x_114; -goto block_110; +lean_object* x_143; +x_143 = lean_box(0); +x_124 = x_143; +goto block_139; } -block_94: +block_123: { if (lean_obj_tag(x_1) == 6) { -uint8_t x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_89 = lean_expr_update_lambda(x_1, x_88, x_84, x_86); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_87); -return x_90; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_86); -lean_dec(x_84); -lean_dec(x_1); -x_91 = l_Lean_Meta_CheckAssignment_check___closed__10; -x_92 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_91); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_87); -return x_93; -} -} -block_110: -{ -lean_object* x_96; lean_object* x_97; -lean_dec(x_95); -lean_inc(x_83); -x_96 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_83, x_2, x_3, x_4, x_5, x_6, x_7, x_85); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -if (lean_obj_tag(x_97) == 0) -{ -lean_object* x_98; lean_object* x_99; -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(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_2); -lean_inc(x_83); -x_99 = l_Lean_Meta_CheckAssignment_check(x_83, x_2, x_3, x_4, x_5, x_6, x_7, x_98); -if (lean_obj_tag(x_99) == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); +lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; size_t x_106; size_t x_107; uint8_t x_108; +x_101 = lean_ctor_get(x_1, 0); lean_inc(x_101); -lean_dec(x_99); -lean_inc(x_100); -x_102 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_83, x_100, x_2, x_3, x_4, x_5, x_6, x_7, 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_103 = lean_ctor_get(x_102, 1); +x_102 = lean_ctor_get(x_1, 1); +lean_inc(x_102); +x_103 = lean_ctor_get(x_1, 2); lean_inc(x_103); -lean_dec(x_102); -x_86 = x_100; -x_87 = x_103; -goto block_94; -} -else -{ -uint8_t x_104; -lean_dec(x_84); -lean_dec(x_83); -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_104 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); lean_dec(x_1); -x_104 = !lean_is_exclusive(x_99); -if (x_104 == 0) +lean_inc(x_103); +lean_inc(x_102); +lean_inc(x_101); +x_105 = l_Lean_Expr_lam___override(x_101, x_102, x_103, x_104); +x_106 = lean_ptr_addr(x_102); +lean_dec(x_102); +x_107 = lean_ptr_addr(x_97); +x_108 = lean_usize_dec_eq(x_106, x_107); +if (x_108 == 0) { -return x_99; +lean_object* x_109; lean_object* x_110; +lean_dec(x_105); +lean_dec(x_103); +x_109 = l_Lean_Expr_lam___override(x_101, x_97, x_99, x_104); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_100); +return x_110; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_99, 0); -x_106 = lean_ctor_get(x_99, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_99); -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; -} -} +size_t x_111; size_t x_112; uint8_t x_113; +x_111 = lean_ptr_addr(x_103); +lean_dec(x_103); +x_112 = lean_ptr_addr(x_99); +x_113 = lean_usize_dec_eq(x_111, x_112); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; +lean_dec(x_105); +x_114 = l_Lean_Expr_lam___override(x_101, x_97, x_99, x_104); +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_100); +return x_115; } else { -lean_object* x_108; lean_object* x_109; -lean_dec(x_83); -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_108 = lean_ctor_get(x_96, 1); -lean_inc(x_108); -lean_dec(x_96); -x_109 = lean_ctor_get(x_97, 0); -lean_inc(x_109); -lean_dec(x_97); -x_86 = x_109; -x_87 = x_108; -goto block_94; -} -} -} -block_131: +uint8_t x_116; +x_116 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_104, x_104); +if (x_116 == 0) { lean_object* x_117; lean_object* x_118; -lean_dec(x_116); -lean_inc(x_82); -x_117 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_82, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -if (lean_obj_tag(x_118) == 0) +lean_dec(x_105); +x_117 = l_Lean_Expr_lam___override(x_101, x_97, x_99, x_104); +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_100); +return x_118; +} +else { -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); +lean_object* x_119; +lean_dec(x_101); +lean_dec(x_99); +lean_dec(x_97); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_105); +lean_ctor_set(x_119, 1, x_100); +return x_119; +} +} +} +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; +lean_dec(x_99); +lean_dec(x_97); +lean_dec(x_1); +x_120 = l_Lean_Meta_CheckAssignment_check___closed__10; +x_121 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(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_100); +return x_122; +} +} +block_139: +{ +lean_object* x_125; lean_object* x_126; +lean_dec(x_124); +lean_inc(x_96); +x_125 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_96, x_2, x_3, x_4, x_5, x_6, x_7, x_98); +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +if (lean_obj_tag(x_126) == 0) +{ +lean_object* x_127; lean_object* x_128; +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); 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_82); -x_120 = l_Lean_Meta_CheckAssignment_check(x_82, x_2, x_3, x_4, x_5, x_6, x_7, x_119); -if (lean_obj_tag(x_120) == 0) +lean_inc(x_96); +x_128 = l_Lean_Meta_CheckAssignment_check(x_96, x_2, x_3, x_4, x_5, x_6, x_7, x_127); +if (lean_obj_tag(x_128) == 0) { -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -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); -lean_inc(x_121); -x_123 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_82, x_121, x_2, x_3, x_4, x_5, x_6, x_7, x_122); -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -x_84 = x_121; -x_85 = x_124; -goto block_115; +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +lean_inc(x_129); +x_131 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_96, x_129, x_2, x_3, x_4, x_5, x_6, x_7, x_130); +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_132 = lean_ctor_get(x_131, 1); +lean_inc(x_132); +lean_dec(x_131); +x_99 = x_129; +x_100 = x_132; +goto block_123; } else { -uint8_t x_125; -lean_dec(x_83); -lean_dec(x_82); +uint8_t x_133; +lean_dec(x_97); +lean_dec(x_96); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -18878,186 +18851,344 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_125 = !lean_is_exclusive(x_120); -if (x_125 == 0) +x_133 = !lean_is_exclusive(x_128); +if (x_133 == 0) { -return x_120; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_120, 0); -x_127 = lean_ctor_get(x_120, 1); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_120); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); return x_128; } +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_128, 0); +x_135 = lean_ctor_get(x_128, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_128); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} } } else { -lean_object* x_129; lean_object* x_130; -lean_dec(x_82); -x_129 = lean_ctor_get(x_117, 1); -lean_inc(x_129); -lean_dec(x_117); -x_130 = lean_ctor_get(x_118, 0); -lean_inc(x_130); -lean_dec(x_118); -x_84 = x_130; -x_85 = x_129; -goto block_115; +lean_object* x_137; lean_object* x_138; +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); +x_137 = lean_ctor_get(x_125, 1); +lean_inc(x_137); +lean_dec(x_125); +x_138 = lean_ctor_get(x_126, 0); +lean_inc(x_138); +lean_dec(x_126); +x_99 = x_138; +x_100 = x_137; +goto block_123; +} +} +} +block_160: +{ +lean_object* x_146; lean_object* x_147; +lean_dec(x_145); +lean_inc(x_95); +x_146 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_95, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +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_95); +x_149 = l_Lean_Meta_CheckAssignment_check(x_95, x_2, x_3, x_4, x_5, x_6, x_7, x_148); +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); +lean_inc(x_150); +x_152 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_95, x_150, x_2, x_3, x_4, x_5, x_6, x_7, x_151); +x_153 = lean_ctor_get(x_152, 1); +lean_inc(x_153); +lean_dec(x_152); +x_97 = x_150; +x_98 = x_153; +goto block_144; +} +else +{ +uint8_t x_154; +lean_dec(x_96); +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); +lean_dec(x_1); +x_154 = !lean_is_exclusive(x_149); +if (x_154 == 0) +{ +return x_149; +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_ctor_get(x_149, 0); +x_156 = lean_ctor_get(x_149, 1); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_149); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +return x_157; +} +} +} +else +{ +lean_object* x_158; lean_object* x_159; +lean_dec(x_95); +x_158 = lean_ctor_get(x_146, 1); +lean_inc(x_158); +lean_dec(x_146); +x_159 = lean_ctor_get(x_147, 0); +lean_inc(x_159); +lean_dec(x_147); +x_97 = x_159; +x_98 = x_158; +goto block_144; } } } case 7: { -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_170; uint8_t x_186; -x_136 = lean_ctor_get(x_1, 1); -lean_inc(x_136); -x_137 = lean_ctor_get(x_1, 2); -lean_inc(x_137); -x_186 = l_Lean_Expr_hasExprMVar(x_136); -if (x_186 == 0) +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_215; uint8_t x_231; +x_165 = lean_ctor_get(x_1, 1); +lean_inc(x_165); +x_166 = lean_ctor_get(x_1, 2); +lean_inc(x_166); +x_231 = l_Lean_Expr_hasExprMVar(x_165); +if (x_231 == 0) { -uint8_t x_187; -x_187 = l_Lean_Expr_hasFVar(x_136); -if (x_187 == 0) +uint8_t x_232; +x_232 = l_Lean_Expr_hasFVar(x_165); +if (x_232 == 0) { -x_138 = x_136; -x_139 = x_8; -goto block_169; +x_167 = x_165; +x_168 = x_8; +goto block_214; } else { -lean_object* x_188; -x_188 = lean_box(0); -x_170 = x_188; -goto block_185; +lean_object* x_233; +x_233 = lean_box(0); +x_215 = x_233; +goto block_230; } } else { +lean_object* x_234; +x_234 = lean_box(0); +x_215 = x_234; +goto block_230; +} +block_214: +{ +lean_object* x_169; lean_object* x_170; lean_object* x_194; uint8_t x_210; +x_210 = l_Lean_Expr_hasExprMVar(x_166); +if (x_210 == 0) +{ +uint8_t x_211; +x_211 = l_Lean_Expr_hasFVar(x_166); +if (x_211 == 0) +{ +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_169 = x_166; +x_170 = x_168; +goto block_193; +} +else +{ +lean_object* x_212; +x_212 = lean_box(0); +x_194 = x_212; +goto block_209; +} +} +else +{ +lean_object* x_213; +x_213 = lean_box(0); +x_194 = x_213; +goto block_209; +} +block_193: +{ +if (lean_obj_tag(x_1) == 7) +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; lean_object* x_175; size_t x_176; size_t x_177; uint8_t x_178; +x_171 = lean_ctor_get(x_1, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_1, 1); +lean_inc(x_172); +x_173 = lean_ctor_get(x_1, 2); +lean_inc(x_173); +x_174 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_173); +lean_inc(x_172); +lean_inc(x_171); +x_175 = l_Lean_Expr_forallE___override(x_171, x_172, x_173, x_174); +x_176 = lean_ptr_addr(x_172); +lean_dec(x_172); +x_177 = lean_ptr_addr(x_167); +x_178 = lean_usize_dec_eq(x_176, x_177); +if (x_178 == 0) +{ +lean_object* x_179; lean_object* x_180; +lean_dec(x_175); +lean_dec(x_173); +x_179 = l_Lean_Expr_forallE___override(x_171, x_167, x_169, x_174); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_170); +return x_180; +} +else +{ +size_t x_181; size_t x_182; uint8_t x_183; +x_181 = lean_ptr_addr(x_173); +lean_dec(x_173); +x_182 = lean_ptr_addr(x_169); +x_183 = lean_usize_dec_eq(x_181, x_182); +if (x_183 == 0) +{ +lean_object* x_184; lean_object* x_185; +lean_dec(x_175); +x_184 = l_Lean_Expr_forallE___override(x_171, x_167, x_169, x_174); +x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_170); +return x_185; +} +else +{ +uint8_t x_186; +x_186 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_174, x_174); +if (x_186 == 0) +{ +lean_object* x_187; lean_object* x_188; +lean_dec(x_175); +x_187 = l_Lean_Expr_forallE___override(x_171, x_167, x_169, x_174); +x_188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_170); +return x_188; +} +else +{ lean_object* x_189; -x_189 = lean_box(0); -x_170 = x_189; -goto block_185; +lean_dec(x_171); +lean_dec(x_169); +lean_dec(x_167); +x_189 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_189, 0, x_175); +lean_ctor_set(x_189, 1, x_170); +return x_189; } -block_169: -{ -lean_object* x_140; lean_object* x_141; lean_object* x_149; uint8_t x_165; -x_165 = l_Lean_Expr_hasExprMVar(x_137); -if (x_165 == 0) -{ -uint8_t x_166; -x_166 = l_Lean_Expr_hasFVar(x_137); -if (x_166 == 0) -{ -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_140 = x_137; -x_141 = x_139; -goto block_148; } -else -{ -lean_object* x_167; -x_167 = lean_box(0); -x_149 = x_167; -goto block_164; } } else { -lean_object* x_168; -x_168 = lean_box(0); -x_149 = x_168; -goto block_164; -} -block_148: -{ -if (lean_obj_tag(x_1) == 7) -{ -uint8_t x_142; lean_object* x_143; lean_object* x_144; -x_142 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_143 = lean_expr_update_forall(x_1, x_142, x_138, x_140); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_141); -return x_144; -} -else -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_dec(x_140); -lean_dec(x_138); +lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_dec(x_169); +lean_dec(x_167); lean_dec(x_1); -x_145 = l_Lean_Meta_CheckAssignment_check___closed__13; -x_146 = l_panic___at_Lean_Expr_getRevArg_x21___spec__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_141); -return x_147; +x_190 = l_Lean_Meta_CheckAssignment_check___closed__13; +x_191 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_190); +x_192 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_170); +return x_192; } } -block_164: +block_209: { -lean_object* x_150; lean_object* x_151; -lean_dec(x_149); -lean_inc(x_137); -x_150 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_137, x_2, x_3, x_4, x_5, x_6, x_7, x_139); -x_151 = lean_ctor_get(x_150, 0); -lean_inc(x_151); -if (lean_obj_tag(x_151) == 0) +lean_object* x_195; lean_object* x_196; +lean_dec(x_194); +lean_inc(x_166); +x_195 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_166, x_2, x_3, x_4, x_5, x_6, x_7, x_168); +x_196 = lean_ctor_get(x_195, 0); +lean_inc(x_196); +if (lean_obj_tag(x_196) == 0) { -lean_object* x_152; lean_object* x_153; -x_152 = lean_ctor_get(x_150, 1); -lean_inc(x_152); -lean_dec(x_150); +lean_object* x_197; lean_object* x_198; +x_197 = lean_ctor_get(x_195, 1); +lean_inc(x_197); +lean_dec(x_195); 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_137); -x_153 = l_Lean_Meta_CheckAssignment_check(x_137, x_2, x_3, x_4, x_5, x_6, x_7, x_152); -if (lean_obj_tag(x_153) == 0) +lean_inc(x_166); +x_198 = l_Lean_Meta_CheckAssignment_check(x_166, x_2, x_3, x_4, x_5, x_6, x_7, x_197); +if (lean_obj_tag(x_198) == 0) { -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -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 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_137, x_154, x_2, x_3, x_4, x_5, x_6, x_7, x_155); +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; +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_199); +x_201 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_166, x_199, x_2, x_3, x_4, x_5, x_6, x_7, x_200); 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_ctor_get(x_156, 1); -lean_inc(x_157); -lean_dec(x_156); -x_140 = x_154; -x_141 = x_157; -goto block_148; +x_202 = lean_ctor_get(x_201, 1); +lean_inc(x_202); +lean_dec(x_201); +x_169 = x_199; +x_170 = x_202; +goto block_193; } else { -uint8_t x_158; -lean_dec(x_138); -lean_dec(x_137); +uint8_t x_203; +lean_dec(x_167); +lean_dec(x_166); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -19065,92 +19196,92 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_158 = !lean_is_exclusive(x_153); -if (x_158 == 0) +x_203 = !lean_is_exclusive(x_198); +if (x_203 == 0) { -return x_153; +return x_198; } else { -lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_159 = lean_ctor_get(x_153, 0); -x_160 = lean_ctor_get(x_153, 1); -lean_inc(x_160); -lean_inc(x_159); -lean_dec(x_153); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_159); -lean_ctor_set(x_161, 1, x_160); -return x_161; +lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_204 = lean_ctor_get(x_198, 0); +x_205 = lean_ctor_get(x_198, 1); +lean_inc(x_205); +lean_inc(x_204); +lean_dec(x_198); +x_206 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_206, 0, x_204); +lean_ctor_set(x_206, 1, x_205); +return x_206; } } } else { -lean_object* x_162; lean_object* x_163; -lean_dec(x_137); +lean_object* x_207; lean_object* x_208; +lean_dec(x_166); 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_162 = lean_ctor_get(x_150, 1); -lean_inc(x_162); -lean_dec(x_150); -x_163 = lean_ctor_get(x_151, 0); -lean_inc(x_163); -lean_dec(x_151); -x_140 = x_163; -x_141 = x_162; -goto block_148; +x_207 = lean_ctor_get(x_195, 1); +lean_inc(x_207); +lean_dec(x_195); +x_208 = lean_ctor_get(x_196, 0); +lean_inc(x_208); +lean_dec(x_196); +x_169 = x_208; +x_170 = x_207; +goto block_193; } } } -block_185: +block_230: { -lean_object* x_171; lean_object* x_172; -lean_dec(x_170); -lean_inc(x_136); -x_171 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_136, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -if (lean_obj_tag(x_172) == 0) +lean_object* x_216; lean_object* x_217; +lean_dec(x_215); +lean_inc(x_165); +x_216 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_165, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_217 = lean_ctor_get(x_216, 0); +lean_inc(x_217); +if (lean_obj_tag(x_217) == 0) { -lean_object* x_173; lean_object* x_174; -x_173 = lean_ctor_get(x_171, 1); -lean_inc(x_173); -lean_dec(x_171); +lean_object* x_218; lean_object* x_219; +x_218 = lean_ctor_get(x_216, 1); +lean_inc(x_218); +lean_dec(x_216); 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_136); -x_174 = l_Lean_Meta_CheckAssignment_check(x_136, x_2, x_3, x_4, x_5, x_6, x_7, x_173); -if (lean_obj_tag(x_174) == 0) +lean_inc(x_165); +x_219 = l_Lean_Meta_CheckAssignment_check(x_165, x_2, x_3, x_4, x_5, x_6, x_7, x_218); +if (lean_obj_tag(x_219) == 0) { -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -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_175); -x_177 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_136, x_175, x_2, x_3, 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_138 = x_175; -x_139 = x_178; -goto block_169; +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +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); +lean_inc(x_220); +x_222 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_165, x_220, x_2, x_3, x_4, x_5, x_6, x_7, x_221); +x_223 = lean_ctor_get(x_222, 1); +lean_inc(x_223); +lean_dec(x_222); +x_167 = x_220; +x_168 = x_223; +goto block_214; } else { -uint8_t x_179; -lean_dec(x_137); -lean_dec(x_136); +uint8_t x_224; +lean_dec(x_166); +lean_dec(x_165); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -19158,664 +19289,287 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_179 = !lean_is_exclusive(x_174); -if (x_179 == 0) +x_224 = !lean_is_exclusive(x_219); +if (x_224 == 0) { -return x_174; +return x_219; } else { -lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_180 = lean_ctor_get(x_174, 0); -x_181 = lean_ctor_get(x_174, 1); -lean_inc(x_181); -lean_inc(x_180); -lean_dec(x_174); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_180); -lean_ctor_set(x_182, 1, x_181); -return x_182; +lean_object* x_225; lean_object* x_226; lean_object* x_227; +x_225 = lean_ctor_get(x_219, 0); +x_226 = lean_ctor_get(x_219, 1); +lean_inc(x_226); +lean_inc(x_225); +lean_dec(x_219); +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_183; lean_object* x_184; -lean_dec(x_136); -x_183 = lean_ctor_get(x_171, 1); -lean_inc(x_183); -lean_dec(x_171); -x_184 = lean_ctor_get(x_172, 0); -lean_inc(x_184); -lean_dec(x_172); -x_138 = x_184; -x_139 = x_183; -goto block_169; +lean_object* x_228; lean_object* x_229; +lean_dec(x_165); +x_228 = lean_ctor_get(x_216, 1); +lean_inc(x_228); +lean_dec(x_216); +x_229 = lean_ctor_get(x_217, 0); +lean_inc(x_229); +lean_dec(x_217); +x_167 = x_229; +x_168 = x_228; +goto block_214; } } } case 8: { -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_247; uint8_t x_263; -x_190 = lean_ctor_get(x_1, 1); -lean_inc(x_190); -x_191 = lean_ctor_get(x_1, 2); -lean_inc(x_191); -x_192 = lean_ctor_get(x_1, 3); -lean_inc(x_192); -x_263 = l_Lean_Expr_hasExprMVar(x_190); -if (x_263 == 0) -{ -uint8_t x_264; -x_264 = l_Lean_Expr_hasFVar(x_190); -if (x_264 == 0) -{ -x_193 = x_190; -x_194 = x_8; -goto block_246; -} -else -{ -lean_object* x_265; -x_265 = lean_box(0); -x_247 = x_265; -goto block_262; -} -} -else -{ -lean_object* x_266; -x_266 = lean_box(0); -x_247 = x_266; -goto block_262; -} -block_246: -{ -lean_object* x_195; lean_object* x_196; lean_object* x_226; uint8_t x_242; -x_242 = l_Lean_Expr_hasExprMVar(x_191); -if (x_242 == 0) -{ -uint8_t x_243; -x_243 = l_Lean_Expr_hasFVar(x_191); -if (x_243 == 0) -{ -x_195 = x_191; -x_196 = x_194; -goto block_225; -} -else -{ -lean_object* x_244; -x_244 = lean_box(0); -x_226 = x_244; -goto block_241; -} -} -else -{ -lean_object* x_245; -x_245 = lean_box(0); -x_226 = x_245; -goto block_241; -} -block_225: -{ -lean_object* x_197; lean_object* x_198; lean_object* x_205; uint8_t x_221; -x_221 = l_Lean_Expr_hasExprMVar(x_192); -if (x_221 == 0) -{ -uint8_t x_222; -x_222 = l_Lean_Expr_hasFVar(x_192); -if (x_222 == 0) -{ -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 = x_192; -x_198 = x_196; -goto block_204; -} -else -{ -lean_object* x_223; -x_223 = lean_box(0); -x_205 = x_223; -goto block_220; -} -} -else -{ -lean_object* x_224; -x_224 = lean_box(0); -x_205 = x_224; -goto block_220; -} -block_204: -{ -if (lean_obj_tag(x_1) == 8) -{ -lean_object* x_199; lean_object* x_200; -x_199 = lean_expr_update_let(x_1, x_193, x_195, x_197); -x_200 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -return x_200; -} -else -{ -lean_object* x_201; lean_object* x_202; lean_object* x_203; -lean_dec(x_197); -lean_dec(x_195); -lean_dec(x_193); -lean_dec(x_1); -x_201 = l_Lean_Meta_CheckAssignment_check___closed__16; -x_202 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_201); -x_203 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_203, 0, x_202); -lean_ctor_set(x_203, 1, x_198); -return x_203; -} -} -block_220: -{ -lean_object* x_206; lean_object* x_207; -lean_dec(x_205); -lean_inc(x_192); -x_206 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_192, x_2, x_3, x_4, x_5, x_6, x_7, x_196); -x_207 = lean_ctor_get(x_206, 0); -lean_inc(x_207); -if (lean_obj_tag(x_207) == 0) -{ -lean_object* x_208; lean_object* x_209; -x_208 = lean_ctor_get(x_206, 1); -lean_inc(x_208); -lean_dec(x_206); -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_192); -x_209 = l_Lean_Meta_CheckAssignment_check(x_192, x_2, x_3, x_4, x_5, x_6, x_7, x_208); -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); -lean_inc(x_210); -x_212 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_192, x_210, x_2, x_3, x_4, x_5, x_6, x_7, x_211); -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_213 = lean_ctor_get(x_212, 1); -lean_inc(x_213); -lean_dec(x_212); -x_197 = x_210; -x_198 = x_213; -goto block_204; -} -else -{ -uint8_t x_214; -lean_dec(x_195); -lean_dec(x_193); -lean_dec(x_192); -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_214 = !lean_is_exclusive(x_209); -if (x_214 == 0) -{ -return x_209; -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; -x_215 = lean_ctor_get(x_209, 0); -x_216 = lean_ctor_get(x_209, 1); -lean_inc(x_216); -lean_inc(x_215); -lean_dec(x_209); -x_217 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_217, 0, x_215); -lean_ctor_set(x_217, 1, x_216); -return x_217; -} -} -} -else -{ -lean_object* x_218; lean_object* x_219; -lean_dec(x_192); -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_218 = lean_ctor_get(x_206, 1); -lean_inc(x_218); -lean_dec(x_206); -x_219 = lean_ctor_get(x_207, 0); -lean_inc(x_219); -lean_dec(x_207); -x_197 = x_219; -x_198 = x_218; -goto block_204; -} -} -} -block_241: -{ -lean_object* x_227; lean_object* x_228; -lean_dec(x_226); -lean_inc(x_191); -x_227 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_191, x_2, x_3, x_4, x_5, x_6, x_7, x_194); -x_228 = lean_ctor_get(x_227, 0); -lean_inc(x_228); -if (lean_obj_tag(x_228) == 0) -{ -lean_object* x_229; lean_object* x_230; -x_229 = lean_ctor_get(x_227, 1); -lean_inc(x_229); -lean_dec(x_227); -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_191); -x_230 = l_Lean_Meta_CheckAssignment_check(x_191, x_2, x_3, x_4, x_5, x_6, x_7, x_229); -if (lean_obj_tag(x_230) == 0) -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -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); -lean_inc(x_231); -x_233 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_191, x_231, x_2, x_3, x_4, x_5, x_6, x_7, x_232); -x_234 = lean_ctor_get(x_233, 1); -lean_inc(x_234); -lean_dec(x_233); -x_195 = x_231; -x_196 = x_234; -goto block_225; -} -else -{ -uint8_t x_235; -lean_dec(x_193); -lean_dec(x_192); -lean_dec(x_191); -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_235 = !lean_is_exclusive(x_230); -if (x_235 == 0) -{ -return x_230; -} -else -{ -lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_236 = lean_ctor_get(x_230, 0); -x_237 = lean_ctor_get(x_230, 1); -lean_inc(x_237); +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_311; uint8_t x_327; +x_235 = lean_ctor_get(x_1, 1); +lean_inc(x_235); +x_236 = lean_ctor_get(x_1, 2); lean_inc(x_236); -lean_dec(x_230); -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_236); -lean_ctor_set(x_238, 1, x_237); -return x_238; +x_237 = lean_ctor_get(x_1, 3); +lean_inc(x_237); +x_327 = l_Lean_Expr_hasExprMVar(x_235); +if (x_327 == 0) +{ +uint8_t x_328; +x_328 = l_Lean_Expr_hasFVar(x_235); +if (x_328 == 0) +{ +x_238 = x_235; +x_239 = x_8; +goto block_310; } +else +{ +lean_object* x_329; +x_329 = lean_box(0); +x_311 = x_329; +goto block_326; } } else { -lean_object* x_239; lean_object* x_240; -lean_dec(x_191); -x_239 = lean_ctor_get(x_227, 1); -lean_inc(x_239); -lean_dec(x_227); -x_240 = lean_ctor_get(x_228, 0); -lean_inc(x_240); -lean_dec(x_228); -x_195 = x_240; -x_196 = x_239; -goto block_225; +lean_object* x_330; +x_330 = lean_box(0); +x_311 = x_330; +goto block_326; } -} -} -block_262: +block_310: { -lean_object* x_248; lean_object* x_249; -lean_dec(x_247); -lean_inc(x_190); -x_248 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_190, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_249 = lean_ctor_get(x_248, 0); -lean_inc(x_249); -if (lean_obj_tag(x_249) == 0) -{ -lean_object* x_250; lean_object* x_251; -x_250 = lean_ctor_get(x_248, 1); -lean_inc(x_250); -lean_dec(x_248); -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_190); -x_251 = l_Lean_Meta_CheckAssignment_check(x_190, x_2, x_3, x_4, x_5, x_6, x_7, x_250); -if (lean_obj_tag(x_251) == 0) -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; -x_252 = lean_ctor_get(x_251, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_251, 1); -lean_inc(x_253); -lean_dec(x_251); -lean_inc(x_252); -x_254 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_190, x_252, x_2, x_3, x_4, x_5, x_6, x_7, x_253); -x_255 = lean_ctor_get(x_254, 1); -lean_inc(x_255); -lean_dec(x_254); -x_193 = x_252; -x_194 = x_255; -goto block_246; -} -else -{ -uint8_t x_256; -lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_190); -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_256 = !lean_is_exclusive(x_251); -if (x_256 == 0) -{ -return x_251; -} -else -{ -lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_257 = lean_ctor_get(x_251, 0); -x_258 = lean_ctor_get(x_251, 1); -lean_inc(x_258); -lean_inc(x_257); -lean_dec(x_251); -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 -{ -lean_object* x_260; lean_object* x_261; -lean_dec(x_190); -x_260 = lean_ctor_get(x_248, 1); -lean_inc(x_260); -lean_dec(x_248); -x_261 = lean_ctor_get(x_249, 0); -lean_inc(x_261); -lean_dec(x_249); -x_193 = x_261; -x_194 = x_260; -goto block_246; -} -} -} -case 10: -{ -lean_object* x_267; lean_object* x_268; uint8_t x_284; -x_267 = lean_ctor_get(x_1, 1); -lean_inc(x_267); -x_284 = l_Lean_Expr_hasExprMVar(x_267); -if (x_284 == 0) -{ -uint8_t x_285; -x_285 = l_Lean_Expr_hasFVar(x_267); -if (x_285 == 0) -{ -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 = x_267; -x_10 = x_8; -goto block_16; -} -else -{ -lean_object* x_286; -x_286 = lean_box(0); -x_268 = x_286; -goto block_283; -} -} -else -{ -lean_object* x_287; -x_287 = lean_box(0); -x_268 = x_287; -goto block_283; -} -block_283: -{ -lean_object* x_269; lean_object* x_270; -lean_dec(x_268); -lean_inc(x_267); -x_269 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_267, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -if (lean_obj_tag(x_270) == 0) -{ -lean_object* x_271; lean_object* x_272; -x_271 = lean_ctor_get(x_269, 1); -lean_inc(x_271); -lean_dec(x_269); -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_267); -x_272 = l_Lean_Meta_CheckAssignment_check(x_267, x_2, x_3, x_4, x_5, x_6, x_7, x_271); -if (lean_obj_tag(x_272) == 0) -{ -lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; -x_273 = lean_ctor_get(x_272, 0); -lean_inc(x_273); -x_274 = lean_ctor_get(x_272, 1); -lean_inc(x_274); -lean_dec(x_272); -lean_inc(x_273); -x_275 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_267, x_273, x_2, x_3, x_4, x_5, x_6, x_7, x_274); -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_276 = lean_ctor_get(x_275, 1); -lean_inc(x_276); -lean_dec(x_275); -x_9 = x_273; -x_10 = x_276; -goto block_16; -} -else -{ -uint8_t x_277; -lean_dec(x_267); -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_277 = !lean_is_exclusive(x_272); -if (x_277 == 0) -{ -return x_272; -} -else -{ -lean_object* x_278; lean_object* x_279; lean_object* x_280; -x_278 = lean_ctor_get(x_272, 0); -x_279 = lean_ctor_get(x_272, 1); -lean_inc(x_279); -lean_inc(x_278); -lean_dec(x_272); -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_278); -lean_ctor_set(x_280, 1, x_279); -return x_280; -} -} -} -else -{ -lean_object* x_281; lean_object* x_282; -lean_dec(x_267); -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_281 = lean_ctor_get(x_269, 1); -lean_inc(x_281); -lean_dec(x_269); -x_282 = lean_ctor_get(x_270, 0); -lean_inc(x_282); -lean_dec(x_270); -x_9 = x_282; -x_10 = x_281; -goto block_16; -} -} -} -case 11: -{ -lean_object* x_288; lean_object* x_289; uint8_t x_305; -x_288 = lean_ctor_get(x_1, 2); -lean_inc(x_288); -x_305 = l_Lean_Expr_hasExprMVar(x_288); -if (x_305 == 0) -{ -uint8_t x_306; -x_306 = l_Lean_Expr_hasFVar(x_288); +lean_object* x_240; lean_object* x_241; lean_object* x_290; uint8_t x_306; +x_306 = l_Lean_Expr_hasExprMVar(x_236); if (x_306 == 0) { -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_17 = x_288; -x_18 = x_8; -goto block_24; -} -else +uint8_t x_307; +x_307 = l_Lean_Expr_hasFVar(x_236); +if (x_307 == 0) { -lean_object* x_307; -x_307 = lean_box(0); -x_289 = x_307; -goto block_304; -} +x_240 = x_236; +x_241 = x_239; +goto block_289; } else { lean_object* x_308; x_308 = lean_box(0); -x_289 = x_308; -goto block_304; +x_290 = x_308; +goto block_305; } -block_304: +} +else { -lean_object* x_290; lean_object* x_291; -lean_dec(x_289); -lean_inc(x_288); -x_290 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_288, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_291 = lean_ctor_get(x_290, 0); -lean_inc(x_291); -if (lean_obj_tag(x_291) == 0) +lean_object* x_309; +x_309 = lean_box(0); +x_290 = x_309; +goto block_305; +} +block_289: { -lean_object* x_292; lean_object* x_293; -x_292 = lean_ctor_get(x_290, 1); -lean_inc(x_292); -lean_dec(x_290); +lean_object* x_242; lean_object* x_243; lean_object* x_269; uint8_t x_285; +x_285 = l_Lean_Expr_hasExprMVar(x_237); +if (x_285 == 0) +{ +uint8_t x_286; +x_286 = l_Lean_Expr_hasFVar(x_237); +if (x_286 == 0) +{ +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_242 = x_237; +x_243 = x_241; +goto block_268; +} +else +{ +lean_object* x_287; +x_287 = lean_box(0); +x_269 = x_287; +goto block_284; +} +} +else +{ +lean_object* x_288; +x_288 = lean_box(0); +x_269 = x_288; +goto block_284; +} +block_268: +{ +if (lean_obj_tag(x_1) == 8) +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; size_t x_249; size_t x_250; uint8_t x_251; +x_244 = lean_ctor_get(x_1, 0); +lean_inc(x_244); +x_245 = lean_ctor_get(x_1, 1); +lean_inc(x_245); +x_246 = lean_ctor_get(x_1, 2); +lean_inc(x_246); +x_247 = lean_ctor_get(x_1, 3); +lean_inc(x_247); +x_248 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); +x_249 = lean_ptr_addr(x_245); +lean_dec(x_245); +x_250 = lean_ptr_addr(x_238); +x_251 = lean_usize_dec_eq(x_249, x_250); +if (x_251 == 0) +{ +lean_object* x_252; lean_object* x_253; +lean_dec(x_247); +lean_dec(x_246); +lean_dec(x_1); +x_252 = l_Lean_Expr_letE___override(x_244, x_238, x_240, x_242, x_248); +x_253 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_253, 0, x_252); +lean_ctor_set(x_253, 1, x_243); +return x_253; +} +else +{ +size_t x_254; size_t x_255; uint8_t x_256; +x_254 = lean_ptr_addr(x_246); +lean_dec(x_246); +x_255 = lean_ptr_addr(x_240); +x_256 = lean_usize_dec_eq(x_254, x_255); +if (x_256 == 0) +{ +lean_object* x_257; lean_object* x_258; +lean_dec(x_247); +lean_dec(x_1); +x_257 = l_Lean_Expr_letE___override(x_244, x_238, x_240, x_242, x_248); +x_258 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_258, 0, x_257); +lean_ctor_set(x_258, 1, x_243); +return x_258; +} +else +{ +size_t x_259; size_t x_260; uint8_t x_261; +x_259 = lean_ptr_addr(x_247); +lean_dec(x_247); +x_260 = lean_ptr_addr(x_242); +x_261 = lean_usize_dec_eq(x_259, x_260); +if (x_261 == 0) +{ +lean_object* x_262; lean_object* x_263; +lean_dec(x_1); +x_262 = l_Lean_Expr_letE___override(x_244, x_238, x_240, x_242, x_248); +x_263 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_243); +return x_263; +} +else +{ +lean_object* x_264; +lean_dec(x_244); +lean_dec(x_242); +lean_dec(x_240); +lean_dec(x_238); +x_264 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_264, 0, x_1); +lean_ctor_set(x_264, 1, x_243); +return x_264; +} +} +} +} +else +{ +lean_object* x_265; lean_object* x_266; lean_object* x_267; +lean_dec(x_242); +lean_dec(x_240); +lean_dec(x_238); +lean_dec(x_1); +x_265 = l_Lean_Meta_CheckAssignment_check___closed__16; +x_266 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_265); +x_267 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_243); +return x_267; +} +} +block_284: +{ +lean_object* x_270; lean_object* x_271; +lean_dec(x_269); +lean_inc(x_237); +x_270 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_237, x_2, x_3, x_4, x_5, x_6, x_7, x_241); +x_271 = lean_ctor_get(x_270, 0); +lean_inc(x_271); +if (lean_obj_tag(x_271) == 0) +{ +lean_object* x_272; lean_object* x_273; +x_272 = lean_ctor_get(x_270, 1); +lean_inc(x_272); +lean_dec(x_270); 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_288); -x_293 = l_Lean_Meta_CheckAssignment_check(x_288, x_2, x_3, x_4, x_5, x_6, x_7, x_292); -if (lean_obj_tag(x_293) == 0) +lean_inc(x_237); +x_273 = l_Lean_Meta_CheckAssignment_check(x_237, x_2, x_3, x_4, x_5, x_6, x_7, x_272); +if (lean_obj_tag(x_273) == 0) { -lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_294 = lean_ctor_get(x_293, 0); -lean_inc(x_294); -x_295 = lean_ctor_get(x_293, 1); -lean_inc(x_295); -lean_dec(x_293); -lean_inc(x_294); -x_296 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_288, x_294, x_2, x_3, x_4, x_5, x_6, x_7, x_295); +lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; +x_274 = lean_ctor_get(x_273, 0); +lean_inc(x_274); +x_275 = lean_ctor_get(x_273, 1); +lean_inc(x_275); +lean_dec(x_273); +lean_inc(x_274); +x_276 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_237, x_274, x_2, x_3, x_4, x_5, x_6, x_7, x_275); 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_297 = lean_ctor_get(x_296, 1); -lean_inc(x_297); -lean_dec(x_296); -x_17 = x_294; -x_18 = x_297; -goto block_24; +x_277 = lean_ctor_get(x_276, 1); +lean_inc(x_277); +lean_dec(x_276); +x_242 = x_274; +x_243 = x_277; +goto block_268; } else { -uint8_t x_298; -lean_dec(x_288); +uint8_t x_278; +lean_dec(x_240); +lean_dec(x_238); +lean_dec(x_237); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -19823,109 +19577,604 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_298 = !lean_is_exclusive(x_293); -if (x_298 == 0) +x_278 = !lean_is_exclusive(x_273); +if (x_278 == 0) { -return x_293; +return x_273; } else { -lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_299 = lean_ctor_get(x_293, 0); -x_300 = lean_ctor_get(x_293, 1); -lean_inc(x_300); -lean_inc(x_299); -lean_dec(x_293); -x_301 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_301, 0, x_299); -lean_ctor_set(x_301, 1, x_300); -return x_301; +lean_object* x_279; lean_object* x_280; lean_object* x_281; +x_279 = lean_ctor_get(x_273, 0); +x_280 = lean_ctor_get(x_273, 1); +lean_inc(x_280); +lean_inc(x_279); +lean_dec(x_273); +x_281 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_281, 0, x_279); +lean_ctor_set(x_281, 1, x_280); +return x_281; } } } else { -lean_object* x_302; lean_object* x_303; -lean_dec(x_288); +lean_object* x_282; lean_object* x_283; +lean_dec(x_237); 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_302 = lean_ctor_get(x_290, 1); -lean_inc(x_302); +x_282 = lean_ctor_get(x_270, 1); +lean_inc(x_282); +lean_dec(x_270); +x_283 = lean_ctor_get(x_271, 0); +lean_inc(x_283); +lean_dec(x_271); +x_242 = x_283; +x_243 = x_282; +goto block_268; +} +} +} +block_305: +{ +lean_object* x_291; lean_object* x_292; lean_dec(x_290); -x_303 = lean_ctor_get(x_291, 0); +lean_inc(x_236); +x_291 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_236, x_2, x_3, x_4, x_5, x_6, x_7, x_239); +x_292 = lean_ctor_get(x_291, 0); +lean_inc(x_292); +if (lean_obj_tag(x_292) == 0) +{ +lean_object* x_293; lean_object* x_294; +x_293 = lean_ctor_get(x_291, 1); +lean_inc(x_293); +lean_dec(x_291); +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); +x_294 = l_Lean_Meta_CheckAssignment_check(x_236, x_2, x_3, x_4, x_5, x_6, x_7, x_293); +if (lean_obj_tag(x_294) == 0) +{ +lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; +x_295 = lean_ctor_get(x_294, 0); +lean_inc(x_295); +x_296 = lean_ctor_get(x_294, 1); +lean_inc(x_296); +lean_dec(x_294); +lean_inc(x_295); +x_297 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_236, x_295, x_2, x_3, x_4, x_5, x_6, x_7, x_296); +x_298 = lean_ctor_get(x_297, 1); +lean_inc(x_298); +lean_dec(x_297); +x_240 = x_295; +x_241 = x_298; +goto block_289; +} +else +{ +uint8_t x_299; +lean_dec(x_238); +lean_dec(x_237); +lean_dec(x_236); +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_299 = !lean_is_exclusive(x_294); +if (x_299 == 0) +{ +return x_294; +} +else +{ +lean_object* x_300; lean_object* x_301; lean_object* x_302; +x_300 = lean_ctor_get(x_294, 0); +x_301 = lean_ctor_get(x_294, 1); +lean_inc(x_301); +lean_inc(x_300); +lean_dec(x_294); +x_302 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_302, 0, x_300); +lean_ctor_set(x_302, 1, x_301); +return x_302; +} +} +} +else +{ +lean_object* x_303; lean_object* x_304; +lean_dec(x_236); +x_303 = lean_ctor_get(x_291, 1); lean_inc(x_303); lean_dec(x_291); -x_17 = x_303; -x_18 = x_302; -goto block_24; +x_304 = lean_ctor_get(x_292, 0); +lean_inc(x_304); +lean_dec(x_292); +x_240 = x_304; +x_241 = x_303; +goto block_289; +} +} +} +block_326: +{ +lean_object* x_312; lean_object* x_313; +lean_dec(x_311); +lean_inc(x_235); +x_312 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_235, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_313 = lean_ctor_get(x_312, 0); +lean_inc(x_313); +if (lean_obj_tag(x_313) == 0) +{ +lean_object* x_314; lean_object* x_315; +x_314 = lean_ctor_get(x_312, 1); +lean_inc(x_314); +lean_dec(x_312); +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_235); +x_315 = l_Lean_Meta_CheckAssignment_check(x_235, x_2, x_3, x_4, x_5, x_6, x_7, x_314); +if (lean_obj_tag(x_315) == 0) +{ +lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; +x_316 = lean_ctor_get(x_315, 0); +lean_inc(x_316); +x_317 = lean_ctor_get(x_315, 1); +lean_inc(x_317); +lean_dec(x_315); +lean_inc(x_316); +x_318 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_235, x_316, x_2, x_3, x_4, x_5, x_6, x_7, x_317); +x_319 = lean_ctor_get(x_318, 1); +lean_inc(x_319); +lean_dec(x_318); +x_238 = x_316; +x_239 = x_319; +goto block_310; +} +else +{ +uint8_t x_320; +lean_dec(x_237); +lean_dec(x_236); +lean_dec(x_235); +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_320 = !lean_is_exclusive(x_315); +if (x_320 == 0) +{ +return x_315; +} +else +{ +lean_object* x_321; lean_object* x_322; lean_object* x_323; +x_321 = lean_ctor_get(x_315, 0); +x_322 = lean_ctor_get(x_315, 1); +lean_inc(x_322); +lean_inc(x_321); +lean_dec(x_315); +x_323 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_323, 0, x_321); +lean_ctor_set(x_323, 1, x_322); +return x_323; +} +} +} +else +{ +lean_object* x_324; lean_object* x_325; +lean_dec(x_235); +x_324 = lean_ctor_get(x_312, 1); +lean_inc(x_324); +lean_dec(x_312); +x_325 = lean_ctor_get(x_313, 0); +lean_inc(x_325); +lean_dec(x_313); +x_238 = x_325; +x_239 = x_324; +goto block_310; +} +} +} +case 10: +{ +lean_object* x_331; lean_object* x_332; uint8_t x_348; +x_331 = lean_ctor_get(x_1, 1); +lean_inc(x_331); +x_348 = l_Lean_Expr_hasExprMVar(x_331); +if (x_348 == 0) +{ +uint8_t x_349; +x_349 = l_Lean_Expr_hasFVar(x_331); +if (x_349 == 0) +{ +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 = x_331; +x_10 = x_8; +goto block_22; +} +else +{ +lean_object* x_350; +x_350 = lean_box(0); +x_332 = x_350; +goto block_347; +} +} +else +{ +lean_object* x_351; +x_351 = lean_box(0); +x_332 = x_351; +goto block_347; +} +block_347: +{ +lean_object* x_333; lean_object* x_334; +lean_dec(x_332); +lean_inc(x_331); +x_333 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_331, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_334 = lean_ctor_get(x_333, 0); +lean_inc(x_334); +if (lean_obj_tag(x_334) == 0) +{ +lean_object* x_335; lean_object* x_336; +x_335 = lean_ctor_get(x_333, 1); +lean_inc(x_335); +lean_dec(x_333); +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_331); +x_336 = l_Lean_Meta_CheckAssignment_check(x_331, x_2, x_3, x_4, x_5, x_6, x_7, x_335); +if (lean_obj_tag(x_336) == 0) +{ +lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; +x_337 = lean_ctor_get(x_336, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_336, 1); +lean_inc(x_338); +lean_dec(x_336); +lean_inc(x_337); +x_339 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_331, x_337, x_2, x_3, x_4, x_5, x_6, x_7, x_338); +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_340 = lean_ctor_get(x_339, 1); +lean_inc(x_340); +lean_dec(x_339); +x_9 = x_337; +x_10 = x_340; +goto block_22; +} +else +{ +uint8_t x_341; +lean_dec(x_331); +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_341 = !lean_is_exclusive(x_336); +if (x_341 == 0) +{ +return x_336; +} +else +{ +lean_object* x_342; lean_object* x_343; lean_object* x_344; +x_342 = lean_ctor_get(x_336, 0); +x_343 = lean_ctor_get(x_336, 1); +lean_inc(x_343); +lean_inc(x_342); +lean_dec(x_336); +x_344 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_344, 0, x_342); +lean_ctor_set(x_344, 1, x_343); +return x_344; +} +} +} +else +{ +lean_object* x_345; lean_object* x_346; +lean_dec(x_331); +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_345 = lean_ctor_get(x_333, 1); +lean_inc(x_345); +lean_dec(x_333); +x_346 = lean_ctor_get(x_334, 0); +lean_inc(x_346); +lean_dec(x_334); +x_9 = x_346; +x_10 = x_345; +goto block_22; +} +} +} +case 11: +{ +lean_object* x_352; lean_object* x_353; uint8_t x_369; +x_352 = lean_ctor_get(x_1, 2); +lean_inc(x_352); +x_369 = l_Lean_Expr_hasExprMVar(x_352); +if (x_369 == 0) +{ +uint8_t x_370; +x_370 = l_Lean_Expr_hasFVar(x_352); +if (x_370 == 0) +{ +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 = x_352; +x_24 = x_8; +goto block_37; +} +else +{ +lean_object* x_371; +x_371 = lean_box(0); +x_353 = x_371; +goto block_368; +} +} +else +{ +lean_object* x_372; +x_372 = lean_box(0); +x_353 = x_372; +goto block_368; +} +block_368: +{ +lean_object* x_354; lean_object* x_355; +lean_dec(x_353); +lean_inc(x_352); +x_354 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(x_352, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_355 = lean_ctor_get(x_354, 0); +lean_inc(x_355); +if (lean_obj_tag(x_355) == 0) +{ +lean_object* x_356; lean_object* x_357; +x_356 = lean_ctor_get(x_354, 1); +lean_inc(x_356); +lean_dec(x_354); +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_352); +x_357 = l_Lean_Meta_CheckAssignment_check(x_352, x_2, x_3, x_4, x_5, x_6, x_7, x_356); +if (lean_obj_tag(x_357) == 0) +{ +lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; +x_358 = lean_ctor_get(x_357, 0); +lean_inc(x_358); +x_359 = lean_ctor_get(x_357, 1); +lean_inc(x_359); +lean_dec(x_357); +lean_inc(x_358); +x_360 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(x_352, x_358, x_2, x_3, x_4, x_5, x_6, x_7, 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_361 = lean_ctor_get(x_360, 1); +lean_inc(x_361); +lean_dec(x_360); +x_23 = x_358; +x_24 = x_361; +goto block_37; +} +else +{ +uint8_t x_362; +lean_dec(x_352); +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_362 = !lean_is_exclusive(x_357); +if (x_362 == 0) +{ +return x_357; +} +else +{ +lean_object* x_363; lean_object* x_364; lean_object* x_365; +x_363 = lean_ctor_get(x_357, 0); +x_364 = lean_ctor_get(x_357, 1); +lean_inc(x_364); +lean_inc(x_363); +lean_dec(x_357); +x_365 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_365, 0, x_363); +lean_ctor_set(x_365, 1, x_364); +return x_365; +} +} +} +else +{ +lean_object* x_366; lean_object* x_367; +lean_dec(x_352); +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_ctor_get(x_354, 1); +lean_inc(x_366); +lean_dec(x_354); +x_367 = lean_ctor_get(x_355, 0); +lean_inc(x_367); +lean_dec(x_355); +x_23 = x_367; +x_24 = x_366; +goto block_37; } } } default: { -lean_object* x_309; +lean_object* x_373; 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_309 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_309, 0, x_1); -lean_ctor_set(x_309, 1, x_8); -return x_309; +x_373 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_373, 0, x_1); +lean_ctor_set(x_373, 1, x_8); +return x_373; } } -block_16: +block_22: { if (lean_obj_tag(x_1) == 10) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_expr_update_mdata(x_1, x_9); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; +lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; uint8_t x_15; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +x_13 = lean_ptr_addr(x_12); +lean_dec(x_12); +x_14 = lean_ptr_addr(x_9); +x_15 = lean_usize_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_16 = l_Lean_Expr_mdata___override(x_11, x_9); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_10); +return x_17; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_18; +lean_dec(x_11); +lean_dec(x_9); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_10); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_9); lean_dec(x_1); -x_13 = l_Lean_Meta_CheckAssignment_check___closed__4; -x_14 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_10); -return x_15; +x_19 = l_Lean_Meta_CheckAssignment_check___closed__4; +x_20 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(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_10); +return x_21; } } -block_24: +block_37: { if (lean_obj_tag(x_1) == 11) { -lean_object* x_19; lean_object* x_20; -x_19 = lean_expr_update_proj(x_1, x_17); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; uint8_t x_30; +x_25 = lean_ctor_get(x_1, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_1, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_1, 2); +lean_inc(x_27); +x_28 = lean_ptr_addr(x_27); +lean_dec(x_27); +x_29 = lean_ptr_addr(x_23); +x_30 = lean_usize_dec_eq(x_28, x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_1); +x_31 = l_Lean_Expr_proj___override(x_25, x_26, x_23); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_24); +return x_32; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_17); +lean_object* x_33; +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_23); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_1); +lean_ctor_set(x_33, 1, x_24); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_23); lean_dec(x_1); -x_21 = l_Lean_Meta_CheckAssignment_check___closed__7; -x_22 = l_panic___at_Lean_Expr_getRevArg_x21___spec__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_18); -return x_23; +x_34 = l_Lean_Meta_CheckAssignment_check___closed__7; +x_35 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(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_24); +return x_36; } } } @@ -72024,7 +72273,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_9921_(x_13, x_12); +x_14 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(x_13, x_12); if (x_14 == 0) { uint8_t x_15; lean_object* x_16; @@ -72059,7 +72308,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_9921_(x_22, x_21); +x_23 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(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/ExprLens.c b/stage0/stdlib/Lean/Meta/ExprLens.c index e9d4b88e80..091f894be4 100644 --- a/stage0/stdlib/Lean/Meta/ExprLens.c +++ b/stage0/stdlib/Lean/Meta/ExprLens.c @@ -18,12 +18,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Expr LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Core_viewCoordRaw(lean_object*); static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___closed__5; lean_object* l_Lean_Meta_mkLetFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_viewCoordAux___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_viewAux___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_lensAux___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_viewBinders___rarg(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_Core_numBinders(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_viewAux___rarg___lambda__3___closed__1; @@ -31,6 +31,8 @@ static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_foldAncestorsAux___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldlM___at_Lean_Core_viewSubexpr___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___closed__14; +lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); +uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_viewSubexpr(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_foldAncestors___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -40,11 +42,14 @@ LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldlM___at_Lean_Core_viewSubexpr___ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_foldAncestorsAux___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__4(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_foldAncestorsAux(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_viewCoordAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_viewAux___spec__4(lean_object*); +lean_object* l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl(lean_object*, lean_object*); static lean_object* l_Lean_Core_numBinders___rarg___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Core_viewBinders___rarg___lambda__3(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -78,7 +83,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_viewCoordAu LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__11___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_viewCoordAux___spec__1(lean_object*); -lean_object* l_Lean_Expr_updateProj_x21(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); static lean_object* l_Lean_Core_viewBinders___rarg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -99,7 +103,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord__ LEAN_EXPORT lean_object* l_Lean_Core_viewSubexpr(lean_object*); static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_foldAncestorsAux___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_updateMData_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_viewAux___rarg___lambda__3(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___private_Lean_Meta_ExprLens_0__Lean_Meta_foldAncestorsAux___spec__4(lean_object*); extern lean_object* l_Lean_instInhabitedExpr; @@ -112,7 +115,6 @@ static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg LEAN_EXPORT lean_object* l_Lean_Core_viewBinders___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_replaceSubexpr(lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_size___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___at___private_Lean_Meta_ExprLens_0__Lean_Meta_lensAux___spec__1(lean_object*); lean_object* l_Lean_SubExpr_Pos_head(lean_object*); @@ -123,6 +125,7 @@ LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldlM___at_Lean_Core_viewBinders___ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_viewCoordAux___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___closed__19; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__6(lean_object*, lean_object*, lean_object*); +size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_viewAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_viewAux___rarg(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_ExprLens_0__Lean_Meta_foldAncestorsAux___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -159,7 +162,7 @@ lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars___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_Meta_withLocalDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_foldAncestorsAux___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___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_Meta_withLocalDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_lensAux___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_viewSubexpr___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -168,6 +171,7 @@ static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_viewAux___spec__3(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Core_viewCoordRaw___rarg___closed__2; +uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_lensAux___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_lensAux___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -182,7 +186,6 @@ static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_viewCoordAux___at___private_Lean_Meta_ExprLens_0__Lean_Meta_viewAux___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_viewAux___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___closed__21; -lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(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_ExprLens_0__Lean_Meta_lensCoord(lean_object*); static lean_object* l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___closed__23; @@ -382,7 +385,7 @@ static lean_object* _init_l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord_ _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateApp!", 20); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateApp!Impl", 45); return x_1; } } @@ -400,8 +403,8 @@ _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_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__3___closed__1; x_2 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__3___closed__2; -x_3 = lean_unsigned_to_nat(1413u); -x_4 = lean_unsigned_to_nat(14u); +x_3 = lean_unsigned_to_nat(1401u); +x_4 = lean_unsigned_to_nat(18u); x_5 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__3___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -412,33 +415,71 @@ _start: { if (lean_obj_tag(x_2) == 5) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; uint8_t x_11; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec(x_1); x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = lean_expr_update_app(x_2, x_3, x_4); -x_8 = lean_apply_2(x_6, lean_box(0), x_7); -return x_8; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); +x_9 = lean_ptr_addr(x_7); +lean_dec(x_7); +x_10 = lean_ptr_addr(x_3); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_8); +lean_dec(x_2); +x_12 = l_Lean_Expr_app___override(x_3, x_4); +x_13 = lean_apply_2(x_6, lean_box(0), x_12); +return x_13; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +size_t x_14; size_t x_15; uint8_t x_16; +x_14 = lean_ptr_addr(x_8); +lean_dec(x_8); +x_15 = lean_ptr_addr(x_4); +x_16 = lean_usize_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_2); +x_17 = l_Lean_Expr_app___override(x_3, x_4); +x_18 = lean_apply_2(x_6, lean_box(0), x_17); +return x_18; +} +else +{ +lean_object* x_19; +lean_dec(x_4); +lean_dec(x_3); +x_19 = lean_apply_2(x_6, lean_box(0), x_2); +return x_19; +} +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); lean_dec(x_1); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__3___closed__4; -x_12 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_11); -x_13 = lean_apply_2(x_10, lean_box(0), x_12); -return x_13; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__3___closed__4; +x_23 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_22); +x_24 = lean_apply_2(x_21, lean_box(0), x_23); +return x_24; } } } @@ -522,7 +563,7 @@ static lean_object* _init_l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord_ _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateLet!", 20); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateLet!Impl", 45); return x_1; } } @@ -540,8 +581,8 @@ _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_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__3___closed__1; x_2 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__8___closed__1; -x_3 = lean_unsigned_to_nat(1490u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(1500u); +x_4 = lean_unsigned_to_nat(22u); x_5 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__8___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -552,34 +593,97 @@ _start: { if (lean_obj_tag(x_2) == 8) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +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; size_t x_13; size_t x_14; uint8_t x_15; x_6 = lean_ctor_get(x_1, 0); lean_inc(x_6); lean_dec(x_1); x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = lean_expr_update_let(x_2, x_3, x_5, x_4); -x_9 = lean_apply_2(x_7, lean_box(0), x_8); -return x_9; +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_2, 2); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 3); +lean_inc(x_11); +x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*4 + 8); +x_13 = lean_ptr_addr(x_9); +lean_dec(x_9); +x_14 = lean_ptr_addr(x_3); +x_15 = lean_usize_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_2); +x_16 = l_Lean_Expr_letE___override(x_8, x_3, x_5, x_4, x_12); +x_17 = lean_apply_2(x_7, lean_box(0), x_16); +return x_17; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +size_t x_18; size_t x_19; uint8_t x_20; +x_18 = lean_ptr_addr(x_10); +lean_dec(x_10); +x_19 = lean_ptr_addr(x_5); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_11); +lean_dec(x_2); +x_21 = l_Lean_Expr_letE___override(x_8, x_3, x_5, x_4, x_12); +x_22 = lean_apply_2(x_7, lean_box(0), x_21); +return x_22; +} +else +{ +size_t x_23; size_t x_24; uint8_t x_25; +x_23 = lean_ptr_addr(x_11); +lean_dec(x_11); +x_24 = lean_ptr_addr(x_4); +x_25 = lean_usize_dec_eq(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_2); +x_26 = l_Lean_Expr_letE___override(x_8, x_3, x_5, x_4, x_12); +x_27 = lean_apply_2(x_7, lean_box(0), x_26); +return x_27; +} +else +{ +lean_object* x_28; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_28 = lean_apply_2(x_7, lean_box(0), x_2); +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_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); +x_29 = lean_ctor_get(x_1, 0); +lean_inc(x_29); lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__8___closed__3; -x_13 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_12); -x_14 = lean_apply_2(x_11, lean_box(0), x_13); -return x_14; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__8___closed__3; +x_32 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_31); +x_33 = lean_apply_2(x_30, lean_box(0), x_32); +return x_33; } } } @@ -588,33 +692,71 @@ _start: { if (lean_obj_tag(x_2) == 5) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; uint8_t x_11; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec(x_1); x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = lean_expr_update_app(x_2, x_4, x_3); -x_8 = lean_apply_2(x_6, lean_box(0), x_7); -return x_8; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); +x_9 = lean_ptr_addr(x_7); +lean_dec(x_7); +x_10 = lean_ptr_addr(x_4); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_8); +lean_dec(x_2); +x_12 = l_Lean_Expr_app___override(x_4, x_3); +x_13 = lean_apply_2(x_6, lean_box(0), x_12); +return x_13; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +size_t x_14; size_t x_15; uint8_t x_16; +x_14 = lean_ptr_addr(x_8); +lean_dec(x_8); +x_15 = lean_ptr_addr(x_3); +x_16 = lean_usize_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_2); +x_17 = l_Lean_Expr_app___override(x_4, x_3); +x_18 = lean_apply_2(x_6, lean_box(0), x_17); +return x_18; +} +else +{ +lean_object* x_19; +lean_dec(x_4); +lean_dec(x_3); +x_19 = lean_apply_2(x_6, lean_box(0), x_2); +return x_19; +} +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); lean_dec(x_1); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__3___closed__4; -x_12 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_11); -x_13 = lean_apply_2(x_10, lean_box(0), x_12); -return x_13; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__3___closed__4; +x_23 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_22); +x_24 = lean_apply_2(x_21, lean_box(0), x_23); +return x_24; } } } @@ -640,8 +782,8 @@ _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_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__3___closed__1; x_2 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__10___closed__1; -x_3 = lean_unsigned_to_nat(1481u); -x_4 = lean_unsigned_to_nat(19u); +x_3 = lean_unsigned_to_nat(1491u); +x_4 = lean_unsigned_to_nat(20u); x_5 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__10___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -652,34 +794,93 @@ _start: { if (lean_obj_tag(x_2) == 6) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; +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; size_t x_12; size_t x_13; uint8_t x_14; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec(x_1); x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); -x_8 = lean_expr_update_lambda(x_2, x_7, x_4, x_3); -x_9 = lean_apply_2(x_6, lean_box(0), x_8); -return x_9; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_2, 2); +lean_inc(x_9); +x_10 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_11 = l_Lean_Expr_lam___override(x_7, x_8, x_9, x_10); +x_12 = lean_ptr_addr(x_8); +lean_dec(x_8); +x_13 = lean_ptr_addr(x_4); +x_14 = lean_usize_dec_eq(x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_11); +lean_dec(x_9); +x_15 = l_Lean_Expr_lam___override(x_7, x_4, x_3, x_10); +x_16 = lean_apply_2(x_6, lean_box(0), x_15); +return x_16; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +size_t x_17; size_t x_18; uint8_t x_19; +x_17 = lean_ptr_addr(x_9); +lean_dec(x_9); +x_18 = lean_ptr_addr(x_3); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_11); +x_20 = l_Lean_Expr_lam___override(x_7, x_4, x_3, x_10); +x_21 = lean_apply_2(x_6, lean_box(0), x_20); +return x_21; +} +else +{ +uint8_t x_22; +x_22 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_10, x_10); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_11); +x_23 = l_Lean_Expr_lam___override(x_7, x_4, x_3, x_10); +x_24 = lean_apply_2(x_6, lean_box(0), x_23); +return x_24; +} +else +{ +lean_object* x_25; +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_25 = lean_apply_2(x_6, lean_box(0), x_11); +return x_25; +} +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); +x_26 = lean_ctor_get(x_1, 0); +lean_inc(x_26); lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__10___closed__3; -x_13 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_12); -x_14 = lean_apply_2(x_11, lean_box(0), x_13); -return x_14; +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__10___closed__3; +x_29 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_28); +x_30 = lean_apply_2(x_27, lean_box(0), x_29); +return x_30; } } } @@ -705,8 +906,8 @@ _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_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__3___closed__1; x_2 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__11___closed__1; -x_3 = lean_unsigned_to_nat(1467u); -x_4 = lean_unsigned_to_nat(23u); +x_3 = lean_unsigned_to_nat(1471u); +x_4 = lean_unsigned_to_nat(24u); x_5 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__11___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -717,34 +918,93 @@ _start: { if (lean_obj_tag(x_2) == 7) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; +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; size_t x_12; size_t x_13; uint8_t x_14; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec(x_1); x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); -x_8 = lean_expr_update_forall(x_2, x_7, x_4, x_3); -x_9 = lean_apply_2(x_6, lean_box(0), x_8); -return x_9; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_2, 2); +lean_inc(x_9); +x_10 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_11 = l_Lean_Expr_forallE___override(x_7, x_8, x_9, x_10); +x_12 = lean_ptr_addr(x_8); +lean_dec(x_8); +x_13 = lean_ptr_addr(x_4); +x_14 = lean_usize_dec_eq(x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_11); +lean_dec(x_9); +x_15 = l_Lean_Expr_forallE___override(x_7, x_4, x_3, x_10); +x_16 = lean_apply_2(x_6, lean_box(0), x_15); +return x_16; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +size_t x_17; size_t x_18; uint8_t x_19; +x_17 = lean_ptr_addr(x_9); +lean_dec(x_9); +x_18 = lean_ptr_addr(x_3); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_11); +x_20 = l_Lean_Expr_forallE___override(x_7, x_4, x_3, x_10); +x_21 = lean_apply_2(x_6, lean_box(0), x_20); +return x_21; +} +else +{ +uint8_t x_22; +x_22 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_10, x_10); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_11); +x_23 = l_Lean_Expr_forallE___override(x_7, x_4, x_3, x_10); +x_24 = lean_apply_2(x_6, lean_box(0), x_23); +return x_24; +} +else +{ +lean_object* x_25; +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_25 = lean_apply_2(x_6, lean_box(0), x_11); +return x_25; +} +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); +x_26 = lean_ctor_get(x_1, 0); +lean_inc(x_26); lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__11___closed__3; -x_13 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_12); -x_14 = lean_apply_2(x_11, lean_box(0), x_13); -return x_14; +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__11___closed__3; +x_29 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_28); +x_30 = lean_apply_2(x_27, lean_box(0), x_29); +return x_30; } } } @@ -753,34 +1013,97 @@ _start: { if (lean_obj_tag(x_2) == 8) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +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; size_t x_13; size_t x_14; uint8_t x_15; x_6 = lean_ctor_get(x_1, 0); lean_inc(x_6); lean_dec(x_1); x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = lean_expr_update_let(x_2, x_5, x_3, x_4); -x_9 = lean_apply_2(x_7, lean_box(0), x_8); -return x_9; +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_2, 2); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 3); +lean_inc(x_11); +x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*4 + 8); +x_13 = lean_ptr_addr(x_9); +lean_dec(x_9); +x_14 = lean_ptr_addr(x_5); +x_15 = lean_usize_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_2); +x_16 = l_Lean_Expr_letE___override(x_8, x_5, x_3, x_4, x_12); +x_17 = lean_apply_2(x_7, lean_box(0), x_16); +return x_17; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +size_t x_18; size_t x_19; uint8_t x_20; +x_18 = lean_ptr_addr(x_10); +lean_dec(x_10); +x_19 = lean_ptr_addr(x_3); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_11); +lean_dec(x_2); +x_21 = l_Lean_Expr_letE___override(x_8, x_5, x_3, x_4, x_12); +x_22 = lean_apply_2(x_7, lean_box(0), x_21); +return x_22; +} +else +{ +size_t x_23; size_t x_24; uint8_t x_25; +x_23 = lean_ptr_addr(x_11); +lean_dec(x_11); +x_24 = lean_ptr_addr(x_4); +x_25 = lean_usize_dec_eq(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_2); +x_26 = l_Lean_Expr_letE___override(x_8, x_5, x_3, x_4, x_12); +x_27 = lean_apply_2(x_7, lean_box(0), x_26); +return x_27; +} +else +{ +lean_object* x_28; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_28 = lean_apply_2(x_7, lean_box(0), x_2); +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_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); +x_29 = lean_ctor_get(x_1, 0); +lean_inc(x_29); lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__8___closed__3; -x_13 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_12); -x_14 = lean_apply_2(x_11, lean_box(0), x_13); -return x_14; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg___lambda__8___closed__3; +x_32 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_31); +x_33 = lean_apply_2(x_30, lean_box(0), x_32); +return x_33; } } } @@ -1047,7 +1370,7 @@ lean_dec(x_17); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); lean_dec(x_18); -x_20 = lean_alloc_closure((void*)(l_Lean_Expr_updateMData_x21), 2, 1); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl), 2, 1); lean_closure_set(x_20, 0, x_7); x_21 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_16); x_22 = lean_apply_4(x_19, lean_box(0), lean_box(0), x_20, x_21); @@ -1101,7 +1424,7 @@ lean_dec(x_36); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); lean_dec(x_37); -x_39 = lean_alloc_closure((void*)(l_Lean_Expr_updateMData_x21), 2, 1); +x_39 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl), 2, 1); lean_closure_set(x_39, 0, x_7); x_40 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg(x_1, x_2, x_3, x_4, x_5, x_14, x_35); x_41 = lean_apply_4(x_38, lean_box(0), lean_box(0), x_39, x_40); @@ -1159,7 +1482,7 @@ lean_dec(x_51); x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); lean_dec(x_52); -x_54 = lean_alloc_closure((void*)(l_Lean_Expr_updateMData_x21), 2, 1); +x_54 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl), 2, 1); lean_closure_set(x_54, 0, x_7); x_55 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg(x_1, x_2, x_3, x_4, x_5, x_12, x_50); x_56 = lean_apply_4(x_53, lean_box(0), lean_box(0), x_54, x_55); @@ -1289,7 +1612,7 @@ lean_dec(x_89); x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); lean_dec(x_90); -x_92 = lean_alloc_closure((void*)(l_Lean_Expr_updateMData_x21), 2, 1); +x_92 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl), 2, 1); lean_closure_set(x_92, 0, x_7); x_93 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg(x_1, x_2, x_3, x_4, x_5, x_10, x_88); x_94 = lean_apply_4(x_91, lean_box(0), lean_box(0), x_92, x_93); @@ -1417,7 +1740,7 @@ lean_dec(x_127); x_129 = lean_ctor_get(x_128, 0); lean_inc(x_129); lean_dec(x_128); -x_130 = lean_alloc_closure((void*)(l_Lean_Expr_updateMData_x21), 2, 1); +x_130 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl), 2, 1); lean_closure_set(x_130, 0, x_7); x_131 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___rarg(x_1, x_2, x_3, x_4, x_5, x_8, x_126); x_132 = lean_apply_4(x_129, lean_box(0), lean_box(0), x_130, x_131); @@ -1440,7 +1763,7 @@ lean_dec(x_134); x_136 = lean_ctor_get(x_135, 0); lean_inc(x_136); lean_dec(x_135); -x_137 = lean_alloc_closure((void*)(l_Lean_Expr_updateProj_x21), 2, 1); +x_137 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl), 2, 1); lean_closure_set(x_137, 0, x_7); x_138 = lean_apply_1(x_5, x_133); x_139 = lean_apply_4(x_136, lean_box(0), lean_box(0), x_137, x_138); @@ -1665,7 +1988,7 @@ lean_dec(x_17); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); lean_dec(x_18); -x_20 = lean_alloc_closure((void*)(l_Lean_Expr_updateMData_x21), 2, 1); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl), 2, 1); lean_closure_set(x_20, 0, x_7); x_21 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___at___private_Lean_Meta_ExprLens_0__Lean_Meta_lensAux___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_16); x_22 = lean_apply_4(x_19, lean_box(0), lean_box(0), x_20, x_21); @@ -1719,7 +2042,7 @@ lean_dec(x_36); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); lean_dec(x_37); -x_39 = lean_alloc_closure((void*)(l_Lean_Expr_updateMData_x21), 2, 1); +x_39 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl), 2, 1); lean_closure_set(x_39, 0, x_7); x_40 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___at___private_Lean_Meta_ExprLens_0__Lean_Meta_lensAux___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_14, x_35); x_41 = lean_apply_4(x_38, lean_box(0), lean_box(0), x_39, x_40); @@ -1777,7 +2100,7 @@ lean_dec(x_51); x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); lean_dec(x_52); -x_54 = lean_alloc_closure((void*)(l_Lean_Expr_updateMData_x21), 2, 1); +x_54 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl), 2, 1); lean_closure_set(x_54, 0, x_7); x_55 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___at___private_Lean_Meta_ExprLens_0__Lean_Meta_lensAux___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_12, x_50); x_56 = lean_apply_4(x_53, lean_box(0), lean_box(0), x_54, x_55); @@ -1907,7 +2230,7 @@ lean_dec(x_89); x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); lean_dec(x_90); -x_92 = lean_alloc_closure((void*)(l_Lean_Expr_updateMData_x21), 2, 1); +x_92 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl), 2, 1); lean_closure_set(x_92, 0, x_7); x_93 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___at___private_Lean_Meta_ExprLens_0__Lean_Meta_lensAux___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_10, x_88); x_94 = lean_apply_4(x_91, lean_box(0), lean_box(0), x_92, x_93); @@ -2035,7 +2358,7 @@ lean_dec(x_127); x_129 = lean_ctor_get(x_128, 0); lean_inc(x_129); lean_dec(x_128); -x_130 = lean_alloc_closure((void*)(l_Lean_Expr_updateMData_x21), 2, 1); +x_130 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl), 2, 1); lean_closure_set(x_130, 0, x_7); x_131 = l___private_Lean_Meta_ExprLens_0__Lean_Meta_lensCoord___at___private_Lean_Meta_ExprLens_0__Lean_Meta_lensAux___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_8, x_126); x_132 = lean_apply_4(x_129, lean_box(0), lean_box(0), x_130, x_131); @@ -2058,7 +2381,7 @@ lean_dec(x_134); x_136 = lean_ctor_get(x_135, 0); lean_inc(x_136); lean_dec(x_135); -x_137 = lean_alloc_closure((void*)(l_Lean_Expr_updateProj_x21), 2, 1); +x_137 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl), 2, 1); lean_closure_set(x_137, 0, x_7); x_138 = lean_apply_1(x_5, x_133); x_139 = lean_apply_4(x_136, lean_box(0), lean_box(0), x_137, x_138); diff --git a/stage0/stdlib/Lean/Meta/ExprTraverse.c b/stage0/stdlib/Lean/Meta/ExprTraverse.c index adc83d6820..60640d0c0c 100644 --- a/stage0/stdlib/Lean/Meta/ExprTraverse.c +++ b/stage0/stdlib/Lean/Meta/ExprTraverse.c @@ -29,9 +29,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprTraverse_0__Lean_Meta_forgetP lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_traverseForallWithPos_visit___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_traverseLambdaWithPos_visit___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprTraverse_0__Lean_Meta_forgetPos(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_traverseForallWithPos_visit(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_traverseLambdaWithPos(lean_object*); +lean_object* l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); extern lean_object* l_Lean_SubExpr_Pos_root; LEAN_EXPORT lean_object* l_Lean_Meta_traverseLambdaWithPos_visit(lean_object*); @@ -45,10 +47,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_traverseLambda(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_traverseLambdaWithPos_visit___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_traverseLambdaWithPos___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_traverseLetWithPos___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_updateProj_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_traverseChildren(lean_object*); lean_object* l_Lean_Expr_traverseAppWithPos___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_updateMData_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_traverseLambdaWithPos_visit___spec__1___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_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_traverseLetWithPos_visit___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_traverseLetWithPos_visit___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -763,7 +763,7 @@ lean_dec(x_12); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); lean_dec(x_13); -x_15 = lean_alloc_closure((void*)(l_Lean_Expr_updateMData_x21), 2, 1); +x_15 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateMData_x21Impl), 2, 1); lean_closure_set(x_15, 0, x_6); x_16 = lean_apply_2(x_4, x_5, x_11); x_17 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_15, x_16); @@ -785,7 +785,7 @@ lean_dec(x_19); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); lean_dec(x_20); -x_22 = lean_alloc_closure((void*)(l_Lean_Expr_updateProj_x21), 2, 1); +x_22 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl), 2, 1); lean_closure_set(x_22, 0, x_6); x_23 = lean_unsigned_to_nat(0u); x_24 = l_Lean_SubExpr_Pos_push(x_5, x_23); diff --git a/stage0/stdlib/Lean/Meta/ForEachExpr.c b/stage0/stdlib/Lean/Meta/ForEachExpr.c index 3577c35af1..db0eddf3c6 100644 --- a/stage0/stdlib/Lean/Meta/ForEachExpr.c +++ b/stage0/stdlib/Lean/Meta/ForEachExpr.c @@ -2561,7 +2561,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_Std_Range_forIn_loop___at_Lean_Meta_setMVarUserNamesAt___spec__4___closed__2; x_2 = l_Std_Range_forIn_loop___at_Lean_Meta_setMVarUserNamesAt___spec__4___closed__3; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Meta_setMVarUserNamesAt___spec__4___closed__4; 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/FunInfo.c b/stage0/stdlib/Lean/Meta/FunInfo.c index f561f7f7c1..b22a0d254f 100644 --- a/stage0/stdlib/Lean/Meta/FunInfo.c +++ b/stage0/stdlib/Lean/Meta/FunInfo.c @@ -4655,7 +4655,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_Std_Range_forIn_loop___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__3___closed__1; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__3___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__3___closed__3; 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/GetConst.c b/stage0/stdlib/Lean/Meta/GetConst.c index 72eb01d353..469f897850 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_9921_(uint8_t, uint8_t); +uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(uint8_t, uint8_t); 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*); LEAN_EXPORT lean_object* l___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault(lean_object*, 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_9921_(x_6, x_40); +x_41 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(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_9921_(x_6, x_52); +x_53 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(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/IndPredBelow.c b/stage0/stdlib/Lean/Meta/IndPredBelow.c index ee9e42b3db..4c91242e19 100644 --- a/stage0/stdlib/Lean/Meta/IndPredBelow.c +++ b/stage0/stdlib/Lean/Meta/IndPredBelow.c @@ -52,7 +52,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_numLevelParams(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___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_expr_update_mdata(lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_proveBrecOn_induction___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*); @@ -84,6 +83,7 @@ static lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveName___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_cases_on(lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__2___closed__7; +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -349,7 +349,6 @@ lean_object* l_Lean_throwKernelException___at_Lean_Meta_evalExprCore___spec__3(l LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Meta_IndPredBelow_mkInductiveType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_IndPredBelow_backwardsChaining___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_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceOptions(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkBelow___spec__8(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -369,6 +368,7 @@ lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher___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_Meta_IndPredBelow_mkContext_addMotives___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); +size_t lean_ptr_addr(lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___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_Meta_IndPredBelow_mkCtorType_checkCount___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -515,6 +515,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_back LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___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_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_proveBrecOn_applyCtors___spec__4(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_findBelowIdx(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_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___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_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); @@ -2077,7 +2078,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_Meta_IndPredBelow_mkCtorType_replaceTempVars___closed__1; x_2 = l_Lean_Meta_IndPredBelow_mkCtorType_replaceTempVars___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_IndPredBelow_mkCtorType_replaceTempVars___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -6956,35 +6957,57 @@ return x_29; } case 10: { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_16, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_16, 0); lean_inc(x_30); +x_31 = lean_ctor_get(x_16, 1); +lean_inc(x_31); 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_31); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_31 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__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); -if (lean_obj_tag(x_31) == 0) +x_32 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_31, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); +lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; uint8_t x_37; +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_ptr_addr(x_31); lean_dec(x_31); -x_34 = lean_expr_update_mdata(x_16, x_32); -x_35 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_34, x_7, x_8, x_9, x_10, x_11, x_12, x_33); -return x_35; +x_36 = lean_ptr_addr(x_33); +x_37 = lean_usize_dec_eq(x_35, x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_16); +x_38 = l_Lean_Expr_mdata___override(x_30, x_33); +x_39 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_38, x_7, x_8, x_9, x_10, x_11, x_12, x_34); +return x_39; } else { -uint8_t x_36; +lean_object* x_40; +lean_dec(x_33); +lean_dec(x_30); +x_40 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_34); +return x_40; +} +} +else +{ +uint8_t x_41; +lean_dec(x_31); +lean_dec(x_30); lean_dec(x_16); lean_dec(x_12); lean_dec(x_11); @@ -6996,57 +7019,83 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_36 = !lean_is_exclusive(x_31); -if (x_36 == 0) +x_41 = !lean_is_exclusive(x_32); +if (x_41 == 0) { -return x_31; +return x_32; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_31, 0); -x_38 = lean_ctor_get(x_31, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_31); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_32, 0); +x_43 = lean_ctor_get(x_32, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_32); +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; } } } case 11: { -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_16, 2); -lean_inc(x_40); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_16, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_16, 1); +lean_inc(x_46); +x_47 = lean_ctor_get(x_16, 2); +lean_inc(x_47); 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_47); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_41 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_40, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_41) == 0) +x_48 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_47, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -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_expr_update_proj(x_16, x_42); -x_45 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_44, x_7, x_8, x_9, x_10, x_11, x_12, x_43); -return x_45; +lean_object* x_49; lean_object* x_50; size_t x_51; size_t x_52; uint8_t x_53; +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_ptr_addr(x_47); +lean_dec(x_47); +x_52 = lean_ptr_addr(x_49); +x_53 = lean_usize_dec_eq(x_51, x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; +lean_dec(x_16); +x_54 = l_Lean_Expr_proj___override(x_45, x_46, x_49); +x_55 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_54, x_7, x_8, x_9, x_10, x_11, x_12, x_50); +return x_55; } else { -uint8_t x_46; +lean_object* x_56; +lean_dec(x_49); +lean_dec(x_46); +lean_dec(x_45); +x_56 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_50); +return x_56; +} +} +else +{ +uint8_t x_57; +lean_dec(x_47); +lean_dec(x_46); +lean_dec(x_45); lean_dec(x_16); lean_dec(x_12); lean_dec(x_11); @@ -7058,31 +7107,31 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_46 = !lean_is_exclusive(x_41); -if (x_46 == 0) +x_57 = !lean_is_exclusive(x_48); +if (x_57 == 0) { -return x_41; +return x_48; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_41, 0); -x_48 = lean_ctor_get(x_41, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_41); -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_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_48, 0); +x_59 = lean_ctor_get(x_48, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_48); +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; } } } default: { -lean_object* x_50; -x_50 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_50; +lean_object* x_61; +x_61 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_61; } } } diff --git a/stage0/stdlib/Lean/Meta/InferType.c b/stage0/stdlib/Lean/Meta/InferType.c index cf552da337..17baef86c8 100644 --- a/stage0/stdlib/Lean/Meta/InferType.c +++ b/stage0/stdlib/Lean/Meta/InferType.c @@ -13,22 +13,22 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_throwUnknownMVar___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_throwTypeExcepted___spec__1___rarg___boxed(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); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_assignExprMVar___at_Lean_Meta_getLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_HashMap_0__Std_numBucketsForCapacity(lean_object*); +lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType(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___private_Lean_Meta_InferType_0__Lean_Meta_withLocalDecl_x27(lean_object*); -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l_Lean_Level_succ___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_instantiateBetaRevRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_inferMVarType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -47,6 +47,7 @@ size_t lean_usize_sub(size_t, size_t); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_isArrowType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_throwFunctionExpected(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_inferTypeImp_infer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -65,6 +66,7 @@ lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_lift_loose_bvars(lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Std_PersistentHashMap_insert___at_Lean_assignExprMVar___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_withAppRevAux___at_Lean_Expr_instantiateBetaRevRange_visit___spec__12___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); @@ -117,7 +119,7 @@ lean_object* l_Std_mkHashMapImp___rarg(lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Expr_instantiateBetaRevRange_visit___spec__10___closed__2; static lean_object* l_panic___at_Lean_Expr_instantiateBetaRevRange_visit___spec__10___closed__1; -lean_object* lean_level_mk_imax_simp(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_Std_AssocList_foldlM___at_Lean_Expr_instantiateBetaRevRange_visit___spec__7___at_Lean_Expr_instantiateBetaRevRange_visit___spec__8(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Expr_instantiateBetaRevRange_visit___spec__2(lean_object*, lean_object*); @@ -148,7 +150,6 @@ size_t lean_usize_mul(size_t, size_t); lean_object* l_Lean_Expr_bvar___override(lean_object*); static lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_throwTypeExcepted(lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_throwIncorrectNumberOfLevels___rarg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_inferFVarType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -158,7 +159,6 @@ static lean_object* l_Lean_Expr_instantiateBetaRevRange_visit___closed__13; size_t lean_usize_of_nat(lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_throwFunctionExpected___rarg___closed__3; -lean_object* lean_expr_update_proj(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_throwFunctionExpected___spec__1___rarg(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_Meta_throwFunctionExpected___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -174,6 +174,7 @@ lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_objec LEAN_EXPORT lean_object* l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); static lean_object* l_Lean_Meta_throwUnknownMVar___rarg___closed__3; +size_t lean_ptr_addr(lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Expr_instantiateBetaRevRange_visit___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isTypeQuick(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -206,7 +207,6 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_isPropQuickApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Meta_throwFunctionExpected___rarg___closed__4; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_throwUnknownMVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -223,6 +223,7 @@ lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_mkAppRangeAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHashableNat___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Expr_instantiateBetaRevRange___spec__1(lean_object*); +uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_throwUnknownMVar___spec__1(lean_object*); uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); static lean_object* l_Lean_Expr_instantiateBetaRevRange_visit___closed__5; @@ -1059,7 +1060,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_Expr_instantiateBetaRevRange_visit___closed__4; x_2 = l_Lean_Expr_instantiateBetaRevRange_visit___closed__5; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Expr_instantiateBetaRevRange_visit___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -1425,290 +1426,777 @@ return x_89; } case 6: { -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; uint8_t x_99; -x_90 = lean_ctor_get(x_4, 1); +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; uint8_t x_100; +x_90 = lean_ctor_get(x_4, 0); lean_inc(x_90); -x_91 = lean_ctor_get(x_4, 2); +x_91 = lean_ctor_get(x_4, 1); lean_inc(x_91); -x_92 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 8); +x_92 = lean_ctor_get(x_4, 2); +lean_inc(x_92); +x_93 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 8); +lean_dec(x_4); lean_inc(x_5); -x_93 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_90, x_5, x_6); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_91); +x_94 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_91, x_5, x_6); +x_95 = lean_ctor_get(x_94, 0); lean_inc(x_95); -lean_dec(x_93); -x_96 = lean_unsigned_to_nat(1u); -x_97 = lean_nat_add(x_5, x_96); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_unsigned_to_nat(1u); +x_98 = lean_nat_add(x_5, x_97); lean_dec(x_5); -x_98 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_91, x_97, x_95); -x_99 = !lean_is_exclusive(x_98); -if (x_99 == 0) +lean_inc(x_92); +x_99 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_92, x_98, x_96); +x_100 = !lean_is_exclusive(x_99); +if (x_100 == 0) { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_100 = lean_ctor_get(x_98, 0); -x_101 = lean_ctor_get(x_98, 1); -x_102 = lean_expr_update_lambda(x_4, x_92, x_94, x_100); -lean_inc(x_102); -x_103 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_101, x_9, x_102); -lean_ctor_set(x_98, 1, x_103); -lean_ctor_set(x_98, 0, x_102); -return x_98; +lean_object* x_101; lean_object* x_102; lean_object* x_103; size_t x_104; size_t x_105; uint8_t x_106; +x_101 = lean_ctor_get(x_99, 0); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_inc(x_90); +x_103 = l_Lean_Expr_lam___override(x_90, x_91, x_92, x_93); +x_104 = lean_ptr_addr(x_91); +lean_dec(x_91); +x_105 = lean_ptr_addr(x_95); +x_106 = lean_usize_dec_eq(x_104, x_105); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_103); +lean_dec(x_92); +x_107 = l_Lean_Expr_lam___override(x_90, x_95, x_101, x_93); +lean_inc(x_107); +x_108 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_102, x_9, x_107); +lean_ctor_set(x_99, 1, x_108); +lean_ctor_set(x_99, 0, x_107); +return x_99; } else { -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_98, 0); -x_105 = lean_ctor_get(x_98, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_98); -x_106 = lean_expr_update_lambda(x_4, x_92, x_94, x_104); -lean_inc(x_106); -x_107 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_105, x_9, x_106); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; +size_t x_109; size_t x_110; uint8_t x_111; +x_109 = lean_ptr_addr(x_92); +lean_dec(x_92); +x_110 = lean_ptr_addr(x_101); +x_111 = lean_usize_dec_eq(x_109, x_110); +if (x_111 == 0) +{ +lean_object* x_112; lean_object* x_113; +lean_dec(x_103); +x_112 = l_Lean_Expr_lam___override(x_90, x_95, x_101, x_93); +lean_inc(x_112); +x_113 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_102, x_9, x_112); +lean_ctor_set(x_99, 1, x_113); +lean_ctor_set(x_99, 0, x_112); +return x_99; +} +else +{ +uint8_t x_114; +x_114 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_93, x_93); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +lean_dec(x_103); +x_115 = l_Lean_Expr_lam___override(x_90, x_95, x_101, x_93); +lean_inc(x_115); +x_116 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_102, x_9, x_115); +lean_ctor_set(x_99, 1, x_116); +lean_ctor_set(x_99, 0, x_115); +return x_99; +} +else +{ +lean_object* x_117; +lean_dec(x_101); +lean_dec(x_95); +lean_dec(x_90); +lean_inc(x_103); +x_117 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_102, x_9, x_103); +lean_ctor_set(x_99, 1, x_117); +lean_ctor_set(x_99, 0, x_103); +return x_99; +} +} +} +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; size_t x_121; size_t x_122; uint8_t x_123; +x_118 = lean_ctor_get(x_99, 0); +x_119 = lean_ctor_get(x_99, 1); +lean_inc(x_119); +lean_inc(x_118); +lean_dec(x_99); +lean_inc(x_92); +lean_inc(x_91); +lean_inc(x_90); +x_120 = l_Lean_Expr_lam___override(x_90, x_91, x_92, x_93); +x_121 = lean_ptr_addr(x_91); +lean_dec(x_91); +x_122 = lean_ptr_addr(x_95); +x_123 = lean_usize_dec_eq(x_121, x_122); +if (x_123 == 0) +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_120); +lean_dec(x_92); +x_124 = l_Lean_Expr_lam___override(x_90, x_95, x_118, x_93); +lean_inc(x_124); +x_125 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_119, x_9, x_124); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; +} +else +{ +size_t x_127; size_t x_128; uint8_t x_129; +x_127 = lean_ptr_addr(x_92); +lean_dec(x_92); +x_128 = lean_ptr_addr(x_118); +x_129 = lean_usize_dec_eq(x_127, x_128); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_dec(x_120); +x_130 = l_Lean_Expr_lam___override(x_90, x_95, x_118, x_93); +lean_inc(x_130); +x_131 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_119, x_9, x_130); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +return x_132; +} +else +{ +uint8_t x_133; +x_133 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_93, x_93); +if (x_133 == 0) +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_dec(x_120); +x_134 = l_Lean_Expr_lam___override(x_90, x_95, x_118, x_93); +lean_inc(x_134); +x_135 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_119, x_9, x_134); +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +else +{ +lean_object* x_137; lean_object* x_138; +lean_dec(x_118); +lean_dec(x_95); +lean_dec(x_90); +lean_inc(x_120); +x_137 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_119, x_9, x_120); +x_138 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_120); +lean_ctor_set(x_138, 1, x_137); +return x_138; +} +} +} } } case 7: { -lean_object* x_109; lean_object* x_110; uint8_t 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; uint8_t x_118; -x_109 = lean_ctor_get(x_4, 1); -lean_inc(x_109); -x_110 = lean_ctor_get(x_4, 2); -lean_inc(x_110); -x_111 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 8); +lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; +x_139 = lean_ctor_get(x_4, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_4, 1); +lean_inc(x_140); +x_141 = lean_ctor_get(x_4, 2); +lean_inc(x_141); +x_142 = lean_ctor_get_uint8(x_4, sizeof(void*)*3 + 8); +lean_dec(x_4); lean_inc(x_5); -x_112 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_109, x_5, x_6); -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -lean_dec(x_112); -x_115 = lean_unsigned_to_nat(1u); -x_116 = lean_nat_add(x_5, x_115); +lean_inc(x_140); +x_143 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_140, x_5, x_6); +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_143, 1); +lean_inc(x_145); +lean_dec(x_143); +x_146 = lean_unsigned_to_nat(1u); +x_147 = lean_nat_add(x_5, x_146); lean_dec(x_5); -x_117 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_110, x_116, x_114); -x_118 = !lean_is_exclusive(x_117); -if (x_118 == 0) +lean_inc(x_141); +x_148 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_141, x_147, x_145); +x_149 = !lean_is_exclusive(x_148); +if (x_149 == 0) { -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_119 = lean_ctor_get(x_117, 0); -x_120 = lean_ctor_get(x_117, 1); -x_121 = lean_expr_update_forall(x_4, x_111, x_113, x_119); -lean_inc(x_121); -x_122 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_120, x_9, x_121); -lean_ctor_set(x_117, 1, x_122); -lean_ctor_set(x_117, 0, x_121); -return x_117; +lean_object* x_150; lean_object* x_151; lean_object* x_152; size_t x_153; size_t x_154; uint8_t x_155; +x_150 = lean_ctor_get(x_148, 0); +x_151 = lean_ctor_get(x_148, 1); +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +x_152 = l_Lean_Expr_forallE___override(x_139, x_140, x_141, x_142); +x_153 = lean_ptr_addr(x_140); +lean_dec(x_140); +x_154 = lean_ptr_addr(x_144); +x_155 = lean_usize_dec_eq(x_153, x_154); +if (x_155 == 0) +{ +lean_object* x_156; lean_object* x_157; +lean_dec(x_152); +lean_dec(x_141); +x_156 = l_Lean_Expr_forallE___override(x_139, x_144, x_150, x_142); +lean_inc(x_156); +x_157 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_151, x_9, x_156); +lean_ctor_set(x_148, 1, x_157); +lean_ctor_set(x_148, 0, x_156); +return x_148; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_123 = lean_ctor_get(x_117, 0); -x_124 = lean_ctor_get(x_117, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_117); -x_125 = lean_expr_update_forall(x_4, x_111, x_113, x_123); -lean_inc(x_125); -x_126 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_124, x_9, x_125); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -return x_127; +size_t x_158; size_t x_159; uint8_t x_160; +x_158 = lean_ptr_addr(x_141); +lean_dec(x_141); +x_159 = lean_ptr_addr(x_150); +x_160 = lean_usize_dec_eq(x_158, x_159); +if (x_160 == 0) +{ +lean_object* x_161; lean_object* x_162; +lean_dec(x_152); +x_161 = l_Lean_Expr_forallE___override(x_139, x_144, x_150, x_142); +lean_inc(x_161); +x_162 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_151, x_9, x_161); +lean_ctor_set(x_148, 1, x_162); +lean_ctor_set(x_148, 0, x_161); +return x_148; +} +else +{ +uint8_t x_163; +x_163 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_142, x_142); +if (x_163 == 0) +{ +lean_object* x_164; lean_object* x_165; +lean_dec(x_152); +x_164 = l_Lean_Expr_forallE___override(x_139, x_144, x_150, x_142); +lean_inc(x_164); +x_165 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_151, x_9, x_164); +lean_ctor_set(x_148, 1, x_165); +lean_ctor_set(x_148, 0, x_164); +return x_148; +} +else +{ +lean_object* x_166; +lean_dec(x_150); +lean_dec(x_144); +lean_dec(x_139); +lean_inc(x_152); +x_166 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_151, x_9, x_152); +lean_ctor_set(x_148, 1, x_166); +lean_ctor_set(x_148, 0, x_152); +return x_148; +} +} +} +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; size_t x_170; size_t x_171; uint8_t x_172; +x_167 = lean_ctor_get(x_148, 0); +x_168 = lean_ctor_get(x_148, 1); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_148); +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +x_169 = l_Lean_Expr_forallE___override(x_139, x_140, x_141, x_142); +x_170 = lean_ptr_addr(x_140); +lean_dec(x_140); +x_171 = lean_ptr_addr(x_144); +x_172 = lean_usize_dec_eq(x_170, x_171); +if (x_172 == 0) +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; +lean_dec(x_169); +lean_dec(x_141); +x_173 = l_Lean_Expr_forallE___override(x_139, x_144, x_167, x_142); +lean_inc(x_173); +x_174 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_168, x_9, x_173); +x_175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +return x_175; +} +else +{ +size_t x_176; size_t x_177; uint8_t x_178; +x_176 = lean_ptr_addr(x_141); +lean_dec(x_141); +x_177 = lean_ptr_addr(x_167); +x_178 = lean_usize_dec_eq(x_176, x_177); +if (x_178 == 0) +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; +lean_dec(x_169); +x_179 = l_Lean_Expr_forallE___override(x_139, x_144, x_167, x_142); +lean_inc(x_179); +x_180 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_168, x_9, x_179); +x_181 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +return x_181; +} +else +{ +uint8_t x_182; +x_182 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_142, x_142); +if (x_182 == 0) +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_dec(x_169); +x_183 = l_Lean_Expr_forallE___override(x_139, x_144, x_167, x_142); +lean_inc(x_183); +x_184 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_168, x_9, x_183); +x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_185, 0, x_183); +lean_ctor_set(x_185, 1, x_184); +return x_185; +} +else +{ +lean_object* x_186; lean_object* x_187; +lean_dec(x_167); +lean_dec(x_144); +lean_dec(x_139); +lean_inc(x_169); +x_186 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_168, x_9, x_169); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_169); +lean_ctor_set(x_187, 1, x_186); +return x_187; +} +} +} } } case 8: { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; -x_128 = lean_ctor_get(x_4, 1); -lean_inc(x_128); -x_129 = lean_ctor_get(x_4, 2); -lean_inc(x_129); -x_130 = lean_ctor_get(x_4, 3); -lean_inc(x_130); +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t 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; +x_188 = lean_ctor_get(x_4, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_4, 1); +lean_inc(x_189); +x_190 = lean_ctor_get(x_4, 2); +lean_inc(x_190); +x_191 = lean_ctor_get(x_4, 3); +lean_inc(x_191); +x_192 = lean_ctor_get_uint8(x_4, sizeof(void*)*4 + 8); lean_inc(x_5); -x_131 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_128, x_5, x_6); -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -lean_dec(x_131); +lean_inc(x_189); +x_193 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_189, x_5, x_6); +x_194 = lean_ctor_get(x_193, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_193, 1); +lean_inc(x_195); +lean_dec(x_193); lean_inc(x_5); -x_134 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_129, x_5, 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); -x_137 = lean_unsigned_to_nat(1u); -x_138 = lean_nat_add(x_5, x_137); +lean_inc(x_190); +x_196 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_190, x_5, x_195); +x_197 = lean_ctor_get(x_196, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_196, 1); +lean_inc(x_198); +lean_dec(x_196); +x_199 = lean_unsigned_to_nat(1u); +x_200 = lean_nat_add(x_5, x_199); lean_dec(x_5); -x_139 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_130, x_138, x_136); -x_140 = !lean_is_exclusive(x_139); -if (x_140 == 0) +lean_inc(x_191); +x_201 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_191, x_200, x_198); +x_202 = !lean_is_exclusive(x_201); +if (x_202 == 0) { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_141 = lean_ctor_get(x_139, 0); -x_142 = lean_ctor_get(x_139, 1); -x_143 = lean_expr_update_let(x_4, x_132, x_135, x_141); -lean_inc(x_143); -x_144 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_142, x_9, x_143); -lean_ctor_set(x_139, 1, x_144); -lean_ctor_set(x_139, 0, x_143); -return x_139; +lean_object* x_203; lean_object* x_204; size_t x_205; size_t x_206; uint8_t x_207; +x_203 = lean_ctor_get(x_201, 0); +x_204 = lean_ctor_get(x_201, 1); +x_205 = lean_ptr_addr(x_189); +lean_dec(x_189); +x_206 = lean_ptr_addr(x_194); +x_207 = lean_usize_dec_eq(x_205, x_206); +if (x_207 == 0) +{ +lean_object* x_208; lean_object* x_209; +lean_dec(x_191); +lean_dec(x_190); +lean_dec(x_4); +x_208 = l_Lean_Expr_letE___override(x_188, x_194, x_197, x_203, x_192); +lean_inc(x_208); +x_209 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_204, x_9, x_208); +lean_ctor_set(x_201, 1, x_209); +lean_ctor_set(x_201, 0, x_208); +return x_201; } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_145 = lean_ctor_get(x_139, 0); -x_146 = lean_ctor_get(x_139, 1); -lean_inc(x_146); -lean_inc(x_145); -lean_dec(x_139); -x_147 = lean_expr_update_let(x_4, x_132, x_135, x_145); -lean_inc(x_147); -x_148 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_146, x_9, x_147); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_147); -lean_ctor_set(x_149, 1, x_148); -return x_149; +size_t x_210; size_t x_211; uint8_t x_212; +x_210 = lean_ptr_addr(x_190); +lean_dec(x_190); +x_211 = lean_ptr_addr(x_197); +x_212 = lean_usize_dec_eq(x_210, x_211); +if (x_212 == 0) +{ +lean_object* x_213; lean_object* x_214; +lean_dec(x_191); +lean_dec(x_4); +x_213 = l_Lean_Expr_letE___override(x_188, x_194, x_197, x_203, x_192); +lean_inc(x_213); +x_214 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_204, x_9, x_213); +lean_ctor_set(x_201, 1, x_214); +lean_ctor_set(x_201, 0, x_213); +return x_201; +} +else +{ +size_t x_215; size_t x_216; uint8_t x_217; +x_215 = lean_ptr_addr(x_191); +lean_dec(x_191); +x_216 = lean_ptr_addr(x_203); +x_217 = lean_usize_dec_eq(x_215, x_216); +if (x_217 == 0) +{ +lean_object* x_218; lean_object* x_219; +lean_dec(x_4); +x_218 = l_Lean_Expr_letE___override(x_188, x_194, x_197, x_203, x_192); +lean_inc(x_218); +x_219 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_204, x_9, x_218); +lean_ctor_set(x_201, 1, x_219); +lean_ctor_set(x_201, 0, x_218); +return x_201; +} +else +{ +lean_object* x_220; +lean_dec(x_203); +lean_dec(x_197); +lean_dec(x_194); +lean_dec(x_188); +lean_inc(x_4); +x_220 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_204, x_9, x_4); +lean_ctor_set(x_201, 1, x_220); +lean_ctor_set(x_201, 0, x_4); +return x_201; +} +} +} +} +else +{ +lean_object* x_221; lean_object* x_222; size_t x_223; size_t x_224; uint8_t x_225; +x_221 = lean_ctor_get(x_201, 0); +x_222 = lean_ctor_get(x_201, 1); +lean_inc(x_222); +lean_inc(x_221); +lean_dec(x_201); +x_223 = lean_ptr_addr(x_189); +lean_dec(x_189); +x_224 = lean_ptr_addr(x_194); +x_225 = lean_usize_dec_eq(x_223, x_224); +if (x_225 == 0) +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; +lean_dec(x_191); +lean_dec(x_190); +lean_dec(x_4); +x_226 = l_Lean_Expr_letE___override(x_188, x_194, x_197, x_221, x_192); +lean_inc(x_226); +x_227 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_222, x_9, x_226); +x_228 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_228, 0, x_226); +lean_ctor_set(x_228, 1, x_227); +return x_228; +} +else +{ +size_t x_229; size_t x_230; uint8_t x_231; +x_229 = lean_ptr_addr(x_190); +lean_dec(x_190); +x_230 = lean_ptr_addr(x_197); +x_231 = lean_usize_dec_eq(x_229, x_230); +if (x_231 == 0) +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; +lean_dec(x_191); +lean_dec(x_4); +x_232 = l_Lean_Expr_letE___override(x_188, x_194, x_197, x_221, x_192); +lean_inc(x_232); +x_233 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_222, x_9, x_232); +x_234 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_234, 0, x_232); +lean_ctor_set(x_234, 1, x_233); +return x_234; +} +else +{ +size_t x_235; size_t x_236; uint8_t x_237; +x_235 = lean_ptr_addr(x_191); +lean_dec(x_191); +x_236 = lean_ptr_addr(x_221); +x_237 = lean_usize_dec_eq(x_235, x_236); +if (x_237 == 0) +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; +lean_dec(x_4); +x_238 = l_Lean_Expr_letE___override(x_188, x_194, x_197, x_221, x_192); +lean_inc(x_238); +x_239 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_222, x_9, x_238); +x_240 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_240, 0, x_238); +lean_ctor_set(x_240, 1, x_239); +return x_240; +} +else +{ +lean_object* x_241; lean_object* x_242; +lean_dec(x_221); +lean_dec(x_197); +lean_dec(x_194); +lean_dec(x_188); +lean_inc(x_4); +x_241 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_222, x_9, x_4); +x_242 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_242, 0, x_4); +lean_ctor_set(x_242, 1, x_241); +return x_242; +} +} +} } } case 9: { -lean_object* x_150; lean_object* x_151; uint8_t x_152; +lean_object* x_243; lean_object* x_244; uint8_t x_245; lean_dec(x_5); lean_dec(x_4); -x_150 = l_Lean_Expr_instantiateBetaRevRange_visit___closed__15; -x_151 = l_panic___at_Lean_Expr_instantiateBetaRevRange_visit___spec__10(x_150, x_6); -x_152 = !lean_is_exclusive(x_151); -if (x_152 == 0) +x_243 = l_Lean_Expr_instantiateBetaRevRange_visit___closed__15; +x_244 = l_panic___at_Lean_Expr_instantiateBetaRevRange_visit___spec__10(x_243, x_6); +x_245 = !lean_is_exclusive(x_244); +if (x_245 == 0) { -lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = lean_ctor_get(x_151, 0); -x_154 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -x_155 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_154, x_9, x_153); -lean_ctor_set(x_151, 1, x_155); -return x_151; +lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_246 = lean_ctor_get(x_244, 0); +x_247 = lean_ctor_get(x_244, 1); +lean_inc(x_246); +x_248 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_247, x_9, x_246); +lean_ctor_set(x_244, 1, x_248); +return x_244; } else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_156 = lean_ctor_get(x_151, 0); -x_157 = lean_ctor_get(x_151, 1); -lean_inc(x_157); -lean_inc(x_156); -lean_dec(x_151); -lean_inc(x_156); -x_158 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_157, x_9, x_156); -x_159 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_159, 0, x_156); -lean_ctor_set(x_159, 1, x_158); -return x_159; +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +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_dec(x_244); +lean_inc(x_249); +x_251 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_250, x_9, x_249); +x_252 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_252, 0, x_249); +lean_ctor_set(x_252, 1, x_251); +return x_252; } } case 10: { -lean_object* x_160; lean_object* x_161; uint8_t x_162; -x_160 = lean_ctor_get(x_4, 1); -lean_inc(x_160); -x_161 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_160, x_5, x_6); -x_162 = !lean_is_exclusive(x_161); -if (x_162 == 0) +lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; +x_253 = lean_ctor_get(x_4, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_4, 1); +lean_inc(x_254); +lean_inc(x_254); +x_255 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_254, x_5, x_6); +x_256 = !lean_is_exclusive(x_255); +if (x_256 == 0) { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_163 = lean_ctor_get(x_161, 0); -x_164 = lean_ctor_get(x_161, 1); -x_165 = lean_expr_update_mdata(x_4, x_163); -lean_inc(x_165); -x_166 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_164, x_9, x_165); -lean_ctor_set(x_161, 1, x_166); -lean_ctor_set(x_161, 0, x_165); -return x_161; +lean_object* x_257; lean_object* x_258; size_t x_259; size_t x_260; uint8_t x_261; +x_257 = lean_ctor_get(x_255, 0); +x_258 = lean_ctor_get(x_255, 1); +x_259 = lean_ptr_addr(x_254); +lean_dec(x_254); +x_260 = lean_ptr_addr(x_257); +x_261 = lean_usize_dec_eq(x_259, x_260); +if (x_261 == 0) +{ +lean_object* x_262; lean_object* x_263; +lean_dec(x_4); +x_262 = l_Lean_Expr_mdata___override(x_253, x_257); +lean_inc(x_262); +x_263 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_258, x_9, x_262); +lean_ctor_set(x_255, 1, x_263); +lean_ctor_set(x_255, 0, x_262); +return x_255; } else { -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_167 = lean_ctor_get(x_161, 0); -x_168 = lean_ctor_get(x_161, 1); -lean_inc(x_168); -lean_inc(x_167); -lean_dec(x_161); -x_169 = lean_expr_update_mdata(x_4, x_167); -lean_inc(x_169); -x_170 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_168, x_9, x_169); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -return x_171; +lean_object* x_264; +lean_dec(x_257); +lean_dec(x_253); +lean_inc(x_4); +x_264 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_258, x_9, x_4); +lean_ctor_set(x_255, 1, x_264); +lean_ctor_set(x_255, 0, x_4); +return x_255; +} +} +else +{ +lean_object* x_265; lean_object* x_266; size_t x_267; size_t x_268; uint8_t x_269; +x_265 = lean_ctor_get(x_255, 0); +x_266 = lean_ctor_get(x_255, 1); +lean_inc(x_266); +lean_inc(x_265); +lean_dec(x_255); +x_267 = lean_ptr_addr(x_254); +lean_dec(x_254); +x_268 = lean_ptr_addr(x_265); +x_269 = lean_usize_dec_eq(x_267, x_268); +if (x_269 == 0) +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; +lean_dec(x_4); +x_270 = l_Lean_Expr_mdata___override(x_253, x_265); +lean_inc(x_270); +x_271 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_266, x_9, x_270); +x_272 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_272, 0, x_270); +lean_ctor_set(x_272, 1, x_271); +return x_272; +} +else +{ +lean_object* x_273; lean_object* x_274; +lean_dec(x_265); +lean_dec(x_253); +lean_inc(x_4); +x_273 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_266, x_9, x_4); +x_274 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_274, 0, x_4); +lean_ctor_set(x_274, 1, x_273); +return x_274; +} } } default: { -lean_object* x_172; lean_object* x_173; uint8_t x_174; -x_172 = lean_ctor_get(x_4, 2); -lean_inc(x_172); -x_173 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_172, x_5, x_6); -x_174 = !lean_is_exclusive(x_173); -if (x_174 == 0) +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; uint8_t x_279; +x_275 = lean_ctor_get(x_4, 0); +lean_inc(x_275); +x_276 = lean_ctor_get(x_4, 1); +lean_inc(x_276); +x_277 = lean_ctor_get(x_4, 2); +lean_inc(x_277); +lean_inc(x_277); +x_278 = l_Lean_Expr_instantiateBetaRevRange_visit(x_1, x_2, x_3, x_277, x_5, x_6); +x_279 = !lean_is_exclusive(x_278); +if (x_279 == 0) { -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_175 = lean_ctor_get(x_173, 0); -x_176 = lean_ctor_get(x_173, 1); -x_177 = lean_expr_update_proj(x_4, x_175); -lean_inc(x_177); -x_178 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_176, x_9, x_177); -lean_ctor_set(x_173, 1, x_178); -lean_ctor_set(x_173, 0, x_177); -return x_173; +lean_object* x_280; lean_object* x_281; size_t x_282; size_t x_283; uint8_t x_284; +x_280 = lean_ctor_get(x_278, 0); +x_281 = lean_ctor_get(x_278, 1); +x_282 = lean_ptr_addr(x_277); +lean_dec(x_277); +x_283 = lean_ptr_addr(x_280); +x_284 = lean_usize_dec_eq(x_282, x_283); +if (x_284 == 0) +{ +lean_object* x_285; lean_object* x_286; +lean_dec(x_4); +x_285 = l_Lean_Expr_proj___override(x_275, x_276, x_280); +lean_inc(x_285); +x_286 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_281, x_9, x_285); +lean_ctor_set(x_278, 1, x_286); +lean_ctor_set(x_278, 0, x_285); +return x_278; } else { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_179 = lean_ctor_get(x_173, 0); -x_180 = lean_ctor_get(x_173, 1); -lean_inc(x_180); -lean_inc(x_179); -lean_dec(x_173); -x_181 = lean_expr_update_proj(x_4, x_179); -lean_inc(x_181); -x_182 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_180, x_9, x_181); -x_183 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_182); -return x_183; +lean_object* x_287; +lean_dec(x_280); +lean_dec(x_276); +lean_dec(x_275); +lean_inc(x_4); +x_287 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_281, x_9, x_4); +lean_ctor_set(x_278, 1, x_287); +lean_ctor_set(x_278, 0, x_4); +return x_278; +} +} +else +{ +lean_object* x_288; lean_object* x_289; size_t x_290; size_t x_291; uint8_t x_292; +x_288 = lean_ctor_get(x_278, 0); +x_289 = lean_ctor_get(x_278, 1); +lean_inc(x_289); +lean_inc(x_288); +lean_dec(x_278); +x_290 = lean_ptr_addr(x_277); +lean_dec(x_277); +x_291 = lean_ptr_addr(x_288); +x_292 = lean_usize_dec_eq(x_290, x_291); +if (x_292 == 0) +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; +lean_dec(x_4); +x_293 = l_Lean_Expr_proj___override(x_275, x_276, x_288); +lean_inc(x_293); +x_294 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_289, x_9, x_293); +x_295 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_295, 0, x_293); +lean_ctor_set(x_295, 1, x_294); +return x_295; +} +else +{ +lean_object* x_296; lean_object* x_297; +lean_dec(x_288); +lean_dec(x_276); +lean_dec(x_275); +lean_inc(x_4); +x_296 = l_Std_HashMap_insert___at_Lean_Expr_instantiateBetaRevRange_visit___spec__3(x_289, x_9, x_4); +x_297 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_297, 0, x_4); +lean_ctor_set(x_297, 1, x_296); +return x_297; +} } } } } else { -lean_object* x_184; lean_object* x_185; +lean_object* x_298; lean_object* x_299; lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); -x_184 = lean_ctor_get(x_10, 0); -lean_inc(x_184); +x_298 = lean_ctor_get(x_10, 0); +lean_inc(x_298); lean_dec(x_10); -x_185 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_6); -return x_185; +x_299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_6); +return x_299; } } else { -lean_object* x_186; +lean_object* x_300; lean_dec(x_5); -x_186 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_186, 0, x_4); -lean_ctor_set(x_186, 1, x_6); -return x_186; +x_300 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_300, 0, x_4); +lean_ctor_set(x_300, 1, x_6); +return x_300; } } } @@ -4031,7 +4519,7 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -x_20 = lean_level_mk_imax_simp(x_18, x_4); +x_20 = l_Lean_mkLevelIMax_x27(x_18, x_4); x_2 = x_12; x_4 = x_20; x_9 = x_19; diff --git a/stage0/stdlib/Lean/Meta/Instances.c b/stage0/stdlib/Lean/Meta/Instances.c index ed81d1b5ff..ac74b1b632 100644 --- a/stage0/stdlib/Lean/Meta/Instances.c +++ b/stage0/stdlib/Lean/Meta/Instances.c @@ -1804,7 +1804,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_Meta_DiscrTree_insertCore___at_Lean_Meta_addInstanceEntry___spec__1___closed__1; x_2 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addInstanceEntry___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addInstanceEntry___spec__1___closed__3; 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/KAbstract.c b/stage0/stdlib/Lean/Meta/KAbstract.c index a12eed066a..17f41c331d 100644 --- a/stage0/stdlib/Lean/Meta/KAbstract.c +++ b/stage0/stdlib/Lean/Meta/KAbstract.c @@ -13,19 +13,21 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); +lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); +uint8_t lean_usize_dec_eq(size_t, size_t); +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* lean_nat_add(lean_object*, lean_object*); uint8_t l_Lean_Occurrences_contains(lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_kabstract_visit___boxed(lean_object*, lean_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_bvar___override(lean_object*); lean_object* l_Lean_Expr_toHeadIndex(lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); +size_t lean_ptr_addr(lean_object*); lean_object* l___private_Lean_HeadIndex_0__Lean_Expr_headNumArgsAux(lean_object*, lean_object*); uint8_t l___private_Lean_HeadIndex_0__Lean_beqHeadIndex____x40_Lean_HeadIndex___hyg_66_(lean_object*, lean_object*); uint8_t l___private_Lean_Data_Occurrences_0__Lean_beqOccurrences____x40_Lean_Data_Occurrences___hyg_32_(lean_object*, lean_object*); @@ -33,150 +35,227 @@ LEAN_EXPORT lean_object* l_Lean_Meta_kabstract_visit(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_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); +uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t); lean_object* lean_expr_abstract(lean_object*, lean_object*); +lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_kabstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_kabstract___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_kabstract___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_kabstract_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, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_13; uint8_t x_142; -x_142 = l_Lean_Expr_hasLooseBVars(x_5); -if (x_142 == 0) +lean_object* x_13; uint8_t x_250; +x_250 = l_Lean_Expr_hasLooseBVars(x_5); +if (x_250 == 0) { -lean_object* x_143; uint8_t x_144; +lean_object* x_251; uint8_t x_252; lean_inc(x_5); -x_143 = l_Lean_Expr_toHeadIndex(x_5); -x_144 = l___private_Lean_HeadIndex_0__Lean_beqHeadIndex____x40_Lean_HeadIndex___hyg_66_(x_143, x_3); -lean_dec(x_143); -if (x_144 == 0) +x_251 = l_Lean_Expr_toHeadIndex(x_5); +x_252 = l___private_Lean_HeadIndex_0__Lean_beqHeadIndex____x40_Lean_HeadIndex___hyg_66_(x_251, x_3); +lean_dec(x_251); +if (x_252 == 0) { -lean_object* x_145; -x_145 = lean_box(0); -x_13 = x_145; -goto block_141; +lean_object* x_253; +x_253 = lean_box(0); +x_13 = x_253; +goto block_249; } else { -lean_object* x_146; lean_object* x_147; uint8_t x_148; -x_146 = lean_unsigned_to_nat(0u); -x_147 = l___private_Lean_HeadIndex_0__Lean_Expr_headNumArgsAux(x_5, x_146); -x_148 = lean_nat_dec_eq(x_147, x_4); -lean_dec(x_147); -if (x_148 == 0) +lean_object* x_254; lean_object* x_255; uint8_t x_256; +x_254 = lean_unsigned_to_nat(0u); +x_255 = l___private_Lean_HeadIndex_0__Lean_Expr_headNumArgsAux(x_5, x_254); +x_256 = lean_nat_dec_eq(x_255, x_4); +lean_dec(x_255); +if (x_256 == 0) { -lean_object* x_149; -x_149 = lean_box(0); -x_13 = x_149; -goto block_141; +lean_object* x_257; +x_257 = lean_box(0); +x_13 = x_257; +goto block_249; } else { -lean_object* x_150; +lean_object* x_258; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_1); lean_inc(x_5); -x_150 = l_Lean_Meta_isExprDefEq(x_5, x_1, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_150) == 0) +x_258 = l_Lean_Meta_isExprDefEq(x_5, x_1, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_258) == 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_259; uint8_t x_260; +x_259 = lean_ctor_get(x_258, 0); +lean_inc(x_259); +x_260 = lean_unbox(x_259); +lean_dec(x_259); +if (x_260 == 0) { switch (lean_obj_tag(x_5)) { case 5: { -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_153 = lean_ctor_get(x_150, 1); -lean_inc(x_153); -lean_dec(x_150); -x_154 = lean_ctor_get(x_5, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_5, 1); -lean_inc(x_155); +lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_261 = lean_ctor_get(x_258, 1); +lean_inc(x_261); +lean_dec(x_258); +x_262 = lean_ctor_get(x_5, 0); +lean_inc(x_262); +x_263 = lean_ctor_get(x_5, 1); +lean_inc(x_263); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_262); lean_inc(x_1); -x_156 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_154, x_6, x_7, x_8, x_9, x_10, x_11, x_153); -if (lean_obj_tag(x_156) == 0) +x_264 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_262, x_6, x_7, x_8, x_9, x_10, x_11, x_261); +if (lean_obj_tag(x_264) == 0) { -lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_157 = lean_ctor_get(x_156, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_156, 1); -lean_inc(x_158); -lean_dec(x_156); -x_159 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_155, x_6, x_7, x_8, x_9, x_10, x_11, x_158); -if (lean_obj_tag(x_159) == 0) +lean_object* x_265; lean_object* x_266; lean_object* x_267; +x_265 = lean_ctor_get(x_264, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_264, 1); +lean_inc(x_266); +lean_dec(x_264); +lean_inc(x_263); +x_267 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_263, x_6, x_7, x_8, x_9, x_10, x_11, x_266); +if (lean_obj_tag(x_267) == 0) { -uint8_t x_160; -x_160 = !lean_is_exclusive(x_159); -if (x_160 == 0) +uint8_t x_268; +x_268 = !lean_is_exclusive(x_267); +if (x_268 == 0) { -lean_object* x_161; lean_object* x_162; -x_161 = lean_ctor_get(x_159, 0); -x_162 = lean_expr_update_app(x_5, x_157, x_161); -lean_ctor_set(x_159, 0, x_162); -return x_159; -} -else +lean_object* x_269; size_t x_270; size_t x_271; uint8_t x_272; +x_269 = lean_ctor_get(x_267, 0); +x_270 = lean_ptr_addr(x_262); +lean_dec(x_262); +x_271 = lean_ptr_addr(x_265); +x_272 = lean_usize_dec_eq(x_270, x_271); +if (x_272 == 0) { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_163 = lean_ctor_get(x_159, 0); -x_164 = lean_ctor_get(x_159, 1); -lean_inc(x_164); -lean_inc(x_163); -lean_dec(x_159); -x_165 = lean_expr_update_app(x_5, x_157, x_163); -x_166 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_164); -return x_166; -} -} -else -{ -uint8_t x_167; -lean_dec(x_157); +lean_object* x_273; +lean_dec(x_263); lean_dec(x_5); -x_167 = !lean_is_exclusive(x_159); -if (x_167 == 0) -{ -return x_159; +x_273 = l_Lean_Expr_app___override(x_265, x_269); +lean_ctor_set(x_267, 0, x_273); +return x_267; } else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_168 = lean_ctor_get(x_159, 0); -x_169 = lean_ctor_get(x_159, 1); -lean_inc(x_169); -lean_inc(x_168); -lean_dec(x_159); -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; +size_t x_274; size_t x_275; uint8_t x_276; +x_274 = lean_ptr_addr(x_263); +lean_dec(x_263); +x_275 = lean_ptr_addr(x_269); +x_276 = lean_usize_dec_eq(x_274, x_275); +if (x_276 == 0) +{ +lean_object* x_277; +lean_dec(x_5); +x_277 = l_Lean_Expr_app___override(x_265, x_269); +lean_ctor_set(x_267, 0, x_277); +return x_267; +} +else +{ +lean_dec(x_269); +lean_dec(x_265); +lean_ctor_set(x_267, 0, x_5); +return x_267; } } } else { -uint8_t x_171; -lean_dec(x_155); +lean_object* x_278; lean_object* x_279; size_t x_280; size_t x_281; uint8_t x_282; +x_278 = lean_ctor_get(x_267, 0); +x_279 = lean_ctor_get(x_267, 1); +lean_inc(x_279); +lean_inc(x_278); +lean_dec(x_267); +x_280 = lean_ptr_addr(x_262); +lean_dec(x_262); +x_281 = lean_ptr_addr(x_265); +x_282 = lean_usize_dec_eq(x_280, x_281); +if (x_282 == 0) +{ +lean_object* x_283; lean_object* x_284; +lean_dec(x_263); +lean_dec(x_5); +x_283 = l_Lean_Expr_app___override(x_265, x_278); +x_284 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_284, 0, x_283); +lean_ctor_set(x_284, 1, x_279); +return x_284; +} +else +{ +size_t x_285; size_t x_286; uint8_t x_287; +x_285 = lean_ptr_addr(x_263); +lean_dec(x_263); +x_286 = lean_ptr_addr(x_278); +x_287 = lean_usize_dec_eq(x_285, x_286); +if (x_287 == 0) +{ +lean_object* x_288; lean_object* x_289; +lean_dec(x_5); +x_288 = l_Lean_Expr_app___override(x_265, x_278); +x_289 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_289, 0, x_288); +lean_ctor_set(x_289, 1, x_279); +return x_289; +} +else +{ +lean_object* x_290; +lean_dec(x_278); +lean_dec(x_265); +x_290 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_290, 0, x_5); +lean_ctor_set(x_290, 1, x_279); +return x_290; +} +} +} +} +else +{ +uint8_t x_291; +lean_dec(x_265); +lean_dec(x_263); +lean_dec(x_262); +lean_dec(x_5); +x_291 = !lean_is_exclusive(x_267); +if (x_291 == 0) +{ +return x_267; +} +else +{ +lean_object* x_292; lean_object* x_293; lean_object* x_294; +x_292 = lean_ctor_get(x_267, 0); +x_293 = lean_ctor_get(x_267, 1); +lean_inc(x_293); +lean_inc(x_292); +lean_dec(x_267); +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; +} +} +} +else +{ +uint8_t x_295; +lean_dec(x_263); +lean_dec(x_262); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -184,781 +263,217 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_171 = !lean_is_exclusive(x_156); -if (x_171 == 0) +x_295 = !lean_is_exclusive(x_264); +if (x_295 == 0) { -return x_156; +return x_264; } else { -lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_172 = lean_ctor_get(x_156, 0); -x_173 = lean_ctor_get(x_156, 1); -lean_inc(x_173); -lean_inc(x_172); -lean_dec(x_156); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_172); -lean_ctor_set(x_174, 1, x_173); -return x_174; +lean_object* x_296; lean_object* x_297; lean_object* x_298; +x_296 = lean_ctor_get(x_264, 0); +x_297 = lean_ctor_get(x_264, 1); +lean_inc(x_297); +lean_inc(x_296); +lean_dec(x_264); +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; } } } case 6: { -lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; lean_object* x_179; -x_175 = lean_ctor_get(x_150, 1); -lean_inc(x_175); -lean_dec(x_150); -x_176 = lean_ctor_get(x_5, 1); -lean_inc(x_176); -x_177 = lean_ctor_get(x_5, 2); -lean_inc(x_177); -x_178 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_303; lean_object* x_304; +x_299 = lean_ctor_get(x_258, 1); +lean_inc(x_299); +lean_dec(x_258); +x_300 = lean_ctor_get(x_5, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_5, 1); +lean_inc(x_301); +x_302 = lean_ctor_get(x_5, 2); +lean_inc(x_302); +x_303 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_dec(x_5); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_301); lean_inc(x_1); -x_179 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_176, x_6, x_7, x_8, x_9, x_10, x_11, x_175); -if (lean_obj_tag(x_179) == 0) +x_304 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_301, x_6, x_7, x_8, x_9, x_10, x_11, x_299); +if (lean_obj_tag(x_304) == 0) { -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; -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_unsigned_to_nat(1u); -x_183 = lean_nat_add(x_6, x_182); -lean_dec(x_6); -x_184 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_177, x_183, x_7, x_8, x_9, x_10, x_11, x_181); -if (lean_obj_tag(x_184) == 0) -{ -uint8_t x_185; -x_185 = !lean_is_exclusive(x_184); -if (x_185 == 0) -{ -lean_object* x_186; lean_object* x_187; -x_186 = lean_ctor_get(x_184, 0); -x_187 = lean_expr_update_lambda(x_5, x_178, x_180, x_186); -lean_ctor_set(x_184, 0, x_187); -return x_184; -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_188 = lean_ctor_get(x_184, 0); -x_189 = lean_ctor_get(x_184, 1); -lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_184); -x_190 = lean_expr_update_lambda(x_5, x_178, x_180, x_188); -x_191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_189); -return x_191; -} -} -else -{ -uint8_t x_192; -lean_dec(x_180); -lean_dec(x_5); -x_192 = !lean_is_exclusive(x_184); -if (x_192 == 0) -{ -return x_184; -} -else -{ -lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_193 = lean_ctor_get(x_184, 0); -x_194 = lean_ctor_get(x_184, 1); -lean_inc(x_194); -lean_inc(x_193); -lean_dec(x_184); -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_193); -lean_ctor_set(x_195, 1, x_194); -return x_195; -} -} -} -else -{ -uint8_t x_196; -lean_dec(x_177); -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_1); -x_196 = !lean_is_exclusive(x_179); -if (x_196 == 0) -{ -return x_179; -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_197 = lean_ctor_get(x_179, 0); -x_198 = lean_ctor_get(x_179, 1); -lean_inc(x_198); -lean_inc(x_197); -lean_dec(x_179); -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_197); -lean_ctor_set(x_199, 1, x_198); -return x_199; -} -} -} -case 7: -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; lean_object* x_204; -x_200 = lean_ctor_get(x_150, 1); -lean_inc(x_200); -lean_dec(x_150); -x_201 = lean_ctor_get(x_5, 1); -lean_inc(x_201); -x_202 = lean_ctor_get(x_5, 2); -lean_inc(x_202); -x_203 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_1); -x_204 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_201, x_6, x_7, x_8, x_9, x_10, x_11, x_200); -if (lean_obj_tag(x_204) == 0) -{ -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_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_unsigned_to_nat(1u); -x_208 = lean_nat_add(x_6, x_207); -lean_dec(x_6); -x_209 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_202, x_208, x_7, x_8, x_9, x_10, x_11, x_206); -if (lean_obj_tag(x_209) == 0) -{ -uint8_t x_210; -x_210 = !lean_is_exclusive(x_209); -if (x_210 == 0) -{ -lean_object* x_211; lean_object* x_212; -x_211 = lean_ctor_get(x_209, 0); -x_212 = lean_expr_update_forall(x_5, x_203, x_205, x_211); -lean_ctor_set(x_209, 0, x_212); -return x_209; -} -else -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_213 = lean_ctor_get(x_209, 0); -x_214 = lean_ctor_get(x_209, 1); -lean_inc(x_214); -lean_inc(x_213); -lean_dec(x_209); -x_215 = lean_expr_update_forall(x_5, x_203, x_205, x_213); -x_216 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_216, 0, x_215); -lean_ctor_set(x_216, 1, x_214); -return x_216; -} -} -else -{ -uint8_t x_217; -lean_dec(x_205); -lean_dec(x_5); -x_217 = !lean_is_exclusive(x_209); -if (x_217 == 0) -{ -return x_209; -} -else -{ -lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_218 = lean_ctor_get(x_209, 0); -x_219 = lean_ctor_get(x_209, 1); -lean_inc(x_219); -lean_inc(x_218); -lean_dec(x_209); -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; -} -} -} -else -{ -uint8_t x_221; -lean_dec(x_202); -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_1); -x_221 = !lean_is_exclusive(x_204); -if (x_221 == 0) -{ -return x_204; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_204, 0); -x_223 = lean_ctor_get(x_204, 1); -lean_inc(x_223); -lean_inc(x_222); -lean_dec(x_204); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_222); -lean_ctor_set(x_224, 1, x_223); -return x_224; -} -} -} -case 8: -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_225 = lean_ctor_get(x_150, 1); -lean_inc(x_225); -lean_dec(x_150); -x_226 = lean_ctor_get(x_5, 1); -lean_inc(x_226); -x_227 = lean_ctor_get(x_5, 2); -lean_inc(x_227); -x_228 = lean_ctor_get(x_5, 3); -lean_inc(x_228); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_1); -x_229 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_226, x_6, x_7, x_8, x_9, x_10, x_11, x_225); -if (lean_obj_tag(x_229) == 0) -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_230 = lean_ctor_get(x_229, 0); -lean_inc(x_230); -x_231 = lean_ctor_get(x_229, 1); -lean_inc(x_231); -lean_dec(x_229); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_1); -x_232 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_227, x_6, x_7, x_8, x_9, x_10, x_11, x_231); -if (lean_obj_tag(x_232) == 0) -{ -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_232, 0); -lean_inc(x_233); -x_234 = lean_ctor_get(x_232, 1); -lean_inc(x_234); -lean_dec(x_232); -x_235 = lean_unsigned_to_nat(1u); -x_236 = lean_nat_add(x_6, x_235); -lean_dec(x_6); -x_237 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_228, x_236, x_7, x_8, x_9, x_10, x_11, x_234); -if (lean_obj_tag(x_237) == 0) -{ -uint8_t x_238; -x_238 = !lean_is_exclusive(x_237); -if (x_238 == 0) -{ -lean_object* x_239; lean_object* x_240; -x_239 = lean_ctor_get(x_237, 0); -x_240 = lean_expr_update_let(x_5, x_230, x_233, x_239); -lean_ctor_set(x_237, 0, x_240); -return x_237; -} -else -{ -lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_241 = lean_ctor_get(x_237, 0); -x_242 = lean_ctor_get(x_237, 1); -lean_inc(x_242); -lean_inc(x_241); -lean_dec(x_237); -x_243 = lean_expr_update_let(x_5, x_230, x_233, x_241); -x_244 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_244, 0, x_243); -lean_ctor_set(x_244, 1, x_242); -return x_244; -} -} -else -{ -uint8_t x_245; -lean_dec(x_233); -lean_dec(x_230); -lean_dec(x_5); -x_245 = !lean_is_exclusive(x_237); -if (x_245 == 0) -{ -return x_237; -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; -x_246 = lean_ctor_get(x_237, 0); -x_247 = lean_ctor_get(x_237, 1); -lean_inc(x_247); -lean_inc(x_246); -lean_dec(x_237); -x_248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_248, 0, x_246); -lean_ctor_set(x_248, 1, x_247); -return x_248; -} -} -} -else -{ -uint8_t x_249; -lean_dec(x_230); -lean_dec(x_228); -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_1); -x_249 = !lean_is_exclusive(x_232); -if (x_249 == 0) -{ -return x_232; -} -else -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; -x_250 = lean_ctor_get(x_232, 0); -x_251 = lean_ctor_get(x_232, 1); -lean_inc(x_251); -lean_inc(x_250); -lean_dec(x_232); -x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_250); -lean_ctor_set(x_252, 1, x_251); -return x_252; -} -} -} -else -{ -uint8_t x_253; -lean_dec(x_228); -lean_dec(x_227); -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_1); -x_253 = !lean_is_exclusive(x_229); -if (x_253 == 0) -{ -return x_229; -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_254 = lean_ctor_get(x_229, 0); -x_255 = lean_ctor_get(x_229, 1); -lean_inc(x_255); -lean_inc(x_254); -lean_dec(x_229); -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_254); -lean_ctor_set(x_256, 1, x_255); -return x_256; -} -} -} -case 10: -{ -lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_257 = lean_ctor_get(x_150, 1); -lean_inc(x_257); -lean_dec(x_150); -x_258 = lean_ctor_get(x_5, 1); -lean_inc(x_258); -x_259 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_258, x_6, x_7, x_8, x_9, x_10, x_11, x_257); -if (lean_obj_tag(x_259) == 0) -{ -uint8_t x_260; -x_260 = !lean_is_exclusive(x_259); -if (x_260 == 0) -{ -lean_object* x_261; lean_object* x_262; -x_261 = lean_ctor_get(x_259, 0); -x_262 = lean_expr_update_mdata(x_5, x_261); -lean_ctor_set(x_259, 0, x_262); -return x_259; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -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_expr_update_mdata(x_5, x_263); -x_266 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_266, 0, x_265); -lean_ctor_set(x_266, 1, x_264); -return x_266; -} -} -else -{ -uint8_t x_267; -lean_dec(x_5); -x_267 = !lean_is_exclusive(x_259); -if (x_267 == 0) -{ -return x_259; -} -else -{ -lean_object* x_268; lean_object* x_269; lean_object* x_270; -x_268 = lean_ctor_get(x_259, 0); -x_269 = lean_ctor_get(x_259, 1); -lean_inc(x_269); -lean_inc(x_268); -lean_dec(x_259); -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_268); -lean_ctor_set(x_270, 1, x_269); -return x_270; -} -} -} -case 11: -{ -lean_object* x_271; lean_object* x_272; lean_object* x_273; -x_271 = lean_ctor_get(x_150, 1); -lean_inc(x_271); -lean_dec(x_150); -x_272 = lean_ctor_get(x_5, 2); -lean_inc(x_272); -x_273 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_272, x_6, x_7, x_8, x_9, x_10, x_11, x_271); -if (lean_obj_tag(x_273) == 0) -{ -uint8_t x_274; -x_274 = !lean_is_exclusive(x_273); -if (x_274 == 0) -{ -lean_object* x_275; lean_object* x_276; -x_275 = lean_ctor_get(x_273, 0); -x_276 = lean_expr_update_proj(x_5, x_275); -lean_ctor_set(x_273, 0, x_276); -return x_273; -} -else -{ -lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; -x_277 = lean_ctor_get(x_273, 0); -x_278 = lean_ctor_get(x_273, 1); -lean_inc(x_278); -lean_inc(x_277); -lean_dec(x_273); -x_279 = lean_expr_update_proj(x_5, x_277); -x_280 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_278); -return x_280; -} -} -else -{ -uint8_t x_281; -lean_dec(x_5); -x_281 = !lean_is_exclusive(x_273); -if (x_281 == 0) -{ -return x_273; -} -else -{ -lean_object* x_282; lean_object* x_283; lean_object* x_284; -x_282 = lean_ctor_get(x_273, 0); -x_283 = lean_ctor_get(x_273, 1); -lean_inc(x_283); -lean_inc(x_282); -lean_dec(x_273); -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_282); -lean_ctor_set(x_284, 1, x_283); -return x_284; -} -} -} -default: -{ -uint8_t x_285; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_1); -x_285 = !lean_is_exclusive(x_150); -if (x_285 == 0) -{ -lean_object* x_286; -x_286 = lean_ctor_get(x_150, 0); -lean_dec(x_286); -lean_ctor_set(x_150, 0, x_5); -return x_150; -} -else -{ -lean_object* x_287; lean_object* x_288; -x_287 = lean_ctor_get(x_150, 1); -lean_inc(x_287); -lean_dec(x_150); -x_288 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_288, 0, x_5); -lean_ctor_set(x_288, 1, x_287); -return x_288; -} -} -} -} -else -{ -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; uint8_t x_300; -x_289 = lean_ctor_get(x_150, 1); -lean_inc(x_289); -lean_dec(x_150); -x_290 = lean_st_ref_get(x_11, x_289); -x_291 = lean_ctor_get(x_290, 1); -lean_inc(x_291); -lean_dec(x_290); -x_292 = lean_st_ref_get(x_7, x_291); -x_293 = lean_ctor_get(x_292, 0); -lean_inc(x_293); -x_294 = lean_ctor_get(x_292, 1); -lean_inc(x_294); -lean_dec(x_292); -x_295 = lean_unsigned_to_nat(1u); -x_296 = lean_nat_add(x_293, x_295); -x_297 = lean_st_ref_get(x_11, x_294); -x_298 = lean_ctor_get(x_297, 1); -lean_inc(x_298); -lean_dec(x_297); -x_299 = lean_st_ref_set(x_7, x_296, x_298); -x_300 = !lean_is_exclusive(x_299); -if (x_300 == 0) -{ -lean_object* x_301; lean_object* x_302; uint8_t x_303; -x_301 = lean_ctor_get(x_299, 1); -x_302 = lean_ctor_get(x_299, 0); -lean_dec(x_302); -x_303 = l_Lean_Occurrences_contains(x_2, x_293); -lean_dec(x_293); -if (x_303 == 0) -{ -switch (lean_obj_tag(x_5)) { -case 5: -{ -lean_object* x_304; lean_object* x_305; lean_object* x_306; -lean_free_object(x_299); -x_304 = lean_ctor_get(x_5, 0); -lean_inc(x_304); -x_305 = lean_ctor_get(x_5, 1); +lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; +x_305 = lean_ctor_get(x_304, 0); lean_inc(x_305); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_1); -x_306 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_304, x_6, x_7, x_8, x_9, x_10, x_11, x_301); -if (lean_obj_tag(x_306) == 0) -{ -lean_object* x_307; lean_object* x_308; lean_object* 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); -x_309 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_305, x_6, x_7, x_8, x_9, x_10, x_11, x_308); +x_306 = lean_ctor_get(x_304, 1); +lean_inc(x_306); +lean_dec(x_304); +x_307 = lean_unsigned_to_nat(1u); +x_308 = lean_nat_add(x_6, x_307); +lean_dec(x_6); +lean_inc(x_302); +x_309 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_302, x_308, x_7, x_8, x_9, x_10, x_11, x_306); if (lean_obj_tag(x_309) == 0) { uint8_t x_310; x_310 = !lean_is_exclusive(x_309); if (x_310 == 0) { -lean_object* x_311; lean_object* x_312; +lean_object* x_311; lean_object* x_312; size_t x_313; size_t x_314; uint8_t x_315; x_311 = lean_ctor_get(x_309, 0); -x_312 = lean_expr_update_app(x_5, x_307, x_311); -lean_ctor_set(x_309, 0, x_312); +lean_inc(x_302); +lean_inc(x_301); +lean_inc(x_300); +x_312 = l_Lean_Expr_lam___override(x_300, x_301, x_302, x_303); +x_313 = lean_ptr_addr(x_301); +lean_dec(x_301); +x_314 = lean_ptr_addr(x_305); +x_315 = lean_usize_dec_eq(x_313, x_314); +if (x_315 == 0) +{ +lean_object* x_316; +lean_dec(x_312); +lean_dec(x_302); +x_316 = l_Lean_Expr_lam___override(x_300, x_305, x_311, x_303); +lean_ctor_set(x_309, 0, x_316); return x_309; } else { -lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; -x_313 = lean_ctor_get(x_309, 0); -x_314 = lean_ctor_get(x_309, 1); -lean_inc(x_314); -lean_inc(x_313); -lean_dec(x_309); -x_315 = lean_expr_update_app(x_5, x_307, x_313); -x_316 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_314); -return x_316; -} -} -else -{ -uint8_t x_317; -lean_dec(x_307); -lean_dec(x_5); -x_317 = !lean_is_exclusive(x_309); -if (x_317 == 0) +size_t x_317; size_t x_318; uint8_t x_319; +x_317 = lean_ptr_addr(x_302); +lean_dec(x_302); +x_318 = lean_ptr_addr(x_311); +x_319 = lean_usize_dec_eq(x_317, x_318); +if (x_319 == 0) { +lean_object* x_320; +lean_dec(x_312); +x_320 = l_Lean_Expr_lam___override(x_300, x_305, x_311, x_303); +lean_ctor_set(x_309, 0, x_320); return x_309; } else { -lean_object* x_318; lean_object* x_319; lean_object* x_320; -x_318 = lean_ctor_get(x_309, 0); -x_319 = lean_ctor_get(x_309, 1); -lean_inc(x_319); -lean_inc(x_318); -lean_dec(x_309); -x_320 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_320, 0, x_318); -lean_ctor_set(x_320, 1, x_319); -return x_320; -} -} -} -else -{ uint8_t x_321; -lean_dec(x_305); -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_1); -x_321 = !lean_is_exclusive(x_306); +x_321 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_303, x_303); if (x_321 == 0) { -return x_306; +lean_object* x_322; +lean_dec(x_312); +x_322 = l_Lean_Expr_lam___override(x_300, x_305, x_311, x_303); +lean_ctor_set(x_309, 0, x_322); +return x_309; } else { -lean_object* x_322; lean_object* x_323; lean_object* x_324; -x_322 = lean_ctor_get(x_306, 0); -x_323 = lean_ctor_get(x_306, 1); +lean_dec(x_311); +lean_dec(x_305); +lean_dec(x_300); +lean_ctor_set(x_309, 0, x_312); +return x_309; +} +} +} +} +else +{ +lean_object* x_323; lean_object* x_324; lean_object* x_325; size_t x_326; size_t x_327; uint8_t x_328; +x_323 = lean_ctor_get(x_309, 0); +x_324 = lean_ctor_get(x_309, 1); +lean_inc(x_324); lean_inc(x_323); -lean_inc(x_322); -lean_dec(x_306); -x_324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_324, 0, x_322); -lean_ctor_set(x_324, 1, x_323); -return x_324; -} -} -} -case 6: +lean_dec(x_309); +lean_inc(x_302); +lean_inc(x_301); +lean_inc(x_300); +x_325 = l_Lean_Expr_lam___override(x_300, x_301, x_302, x_303); +x_326 = lean_ptr_addr(x_301); +lean_dec(x_301); +x_327 = lean_ptr_addr(x_305); +x_328 = lean_usize_dec_eq(x_326, x_327); +if (x_328 == 0) { -lean_object* x_325; lean_object* x_326; uint8_t x_327; lean_object* x_328; -lean_free_object(x_299); -x_325 = lean_ctor_get(x_5, 1); -lean_inc(x_325); -x_326 = lean_ctor_get(x_5, 2); -lean_inc(x_326); -x_327 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_1); -x_328 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_325, x_6, x_7, x_8, x_9, x_10, x_11, x_301); -if (lean_obj_tag(x_328) == 0) +lean_object* x_329; lean_object* x_330; +lean_dec(x_325); +lean_dec(x_302); +x_329 = l_Lean_Expr_lam___override(x_300, x_305, x_323, x_303); +x_330 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_330, 0, x_329); +lean_ctor_set(x_330, 1, x_324); +return x_330; +} +else { -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; -x_329 = lean_ctor_get(x_328, 0); -lean_inc(x_329); -x_330 = lean_ctor_get(x_328, 1); -lean_inc(x_330); -lean_dec(x_328); -x_331 = lean_nat_add(x_6, x_295); -lean_dec(x_6); -x_332 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_326, x_331, x_7, x_8, x_9, x_10, x_11, x_330); -if (lean_obj_tag(x_332) == 0) -{ -uint8_t x_333; -x_333 = !lean_is_exclusive(x_332); +size_t x_331; size_t x_332; uint8_t x_333; +x_331 = lean_ptr_addr(x_302); +lean_dec(x_302); +x_332 = lean_ptr_addr(x_323); +x_333 = lean_usize_dec_eq(x_331, x_332); if (x_333 == 0) { lean_object* x_334; lean_object* x_335; -x_334 = lean_ctor_get(x_332, 0); -x_335 = lean_expr_update_lambda(x_5, x_327, x_329, x_334); -lean_ctor_set(x_332, 0, x_335); -return x_332; +lean_dec(x_325); +x_334 = l_Lean_Expr_lam___override(x_300, x_305, x_323, x_303); +x_335 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_335, 0, x_334); +lean_ctor_set(x_335, 1, x_324); +return x_335; } else { -lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; -x_336 = lean_ctor_get(x_332, 0); -x_337 = lean_ctor_get(x_332, 1); -lean_inc(x_337); -lean_inc(x_336); -lean_dec(x_332); -x_338 = lean_expr_update_lambda(x_5, x_327, x_329, x_336); +uint8_t x_336; +x_336 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_303, x_303); +if (x_336 == 0) +{ +lean_object* x_337; lean_object* x_338; +lean_dec(x_325); +x_337 = l_Lean_Expr_lam___override(x_300, x_305, x_323, x_303); +x_338 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_338, 0, x_337); +lean_ctor_set(x_338, 1, x_324); +return x_338; +} +else +{ +lean_object* x_339; +lean_dec(x_323); +lean_dec(x_305); +lean_dec(x_300); x_339 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_337); +lean_ctor_set(x_339, 0, x_325); +lean_ctor_set(x_339, 1, x_324); return x_339; } } +} +} +} else { uint8_t x_340; -lean_dec(x_329); -lean_dec(x_5); -x_340 = !lean_is_exclusive(x_332); +lean_dec(x_305); +lean_dec(x_302); +lean_dec(x_301); +lean_dec(x_300); +x_340 = !lean_is_exclusive(x_309); if (x_340 == 0) { -return x_332; +return x_309; } else { lean_object* x_341; lean_object* x_342; lean_object* x_343; -x_341 = lean_ctor_get(x_332, 0); -x_342 = lean_ctor_get(x_332, 1); +x_341 = lean_ctor_get(x_309, 0); +x_342 = lean_ctor_get(x_309, 1); lean_inc(x_342); lean_inc(x_341); -lean_dec(x_332); +lean_dec(x_309); x_343 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_343, 0, x_341); lean_ctor_set(x_343, 1, x_342); @@ -969,27 +484,28 @@ return x_343; else { uint8_t x_344; -lean_dec(x_326); +lean_dec(x_302); +lean_dec(x_301); +lean_dec(x_300); 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_1); -x_344 = !lean_is_exclusive(x_328); +x_344 = !lean_is_exclusive(x_304); if (x_344 == 0) { -return x_328; +return x_304; } else { lean_object* x_345; lean_object* x_346; lean_object* x_347; -x_345 = lean_ctor_get(x_328, 0); -x_346 = lean_ctor_get(x_328, 1); +x_345 = lean_ctor_get(x_304, 0); +x_346 = lean_ctor_get(x_304, 1); lean_inc(x_346); lean_inc(x_345); -lean_dec(x_328); +lean_dec(x_304); x_347 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_347, 0, x_345); lean_ctor_set(x_347, 1, x_346); @@ -999,203 +515,195 @@ return x_347; } case 7: { -lean_object* x_348; lean_object* x_349; uint8_t x_350; lean_object* x_351; -lean_free_object(x_299); -x_348 = lean_ctor_get(x_5, 1); +lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; uint8_t x_352; lean_object* x_353; +x_348 = lean_ctor_get(x_258, 1); lean_inc(x_348); -x_349 = lean_ctor_get(x_5, 2); +lean_dec(x_258); +x_349 = lean_ctor_get(x_5, 0); lean_inc(x_349); -x_350 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +x_350 = lean_ctor_get(x_5, 1); +lean_inc(x_350); +x_351 = lean_ctor_get(x_5, 2); +lean_inc(x_351); +x_352 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_dec(x_5); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_350); lean_inc(x_1); -x_351 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_348, x_6, x_7, x_8, x_9, x_10, x_11, x_301); -if (lean_obj_tag(x_351) == 0) +x_353 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_350, x_6, x_7, x_8, x_9, x_10, x_11, x_348); +if (lean_obj_tag(x_353) == 0) { -lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; -x_352 = lean_ctor_get(x_351, 0); -lean_inc(x_352); -x_353 = lean_ctor_get(x_351, 1); -lean_inc(x_353); -lean_dec(x_351); -x_354 = lean_nat_add(x_6, x_295); +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; +x_354 = lean_ctor_get(x_353, 0); +lean_inc(x_354); +x_355 = lean_ctor_get(x_353, 1); +lean_inc(x_355); +lean_dec(x_353); +x_356 = lean_unsigned_to_nat(1u); +x_357 = lean_nat_add(x_6, x_356); lean_dec(x_6); -x_355 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_349, x_354, x_7, x_8, x_9, x_10, x_11, x_353); -if (lean_obj_tag(x_355) == 0) +lean_inc(x_351); +x_358 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_351, x_357, x_7, x_8, x_9, x_10, x_11, x_355); +if (lean_obj_tag(x_358) == 0) { -uint8_t x_356; -x_356 = !lean_is_exclusive(x_355); -if (x_356 == 0) +uint8_t x_359; +x_359 = !lean_is_exclusive(x_358); +if (x_359 == 0) { -lean_object* x_357; lean_object* x_358; -x_357 = lean_ctor_get(x_355, 0); -x_358 = lean_expr_update_forall(x_5, x_350, x_352, x_357); -lean_ctor_set(x_355, 0, x_358); -return x_355; +lean_object* x_360; lean_object* x_361; size_t x_362; size_t x_363; uint8_t x_364; +x_360 = lean_ctor_get(x_358, 0); +lean_inc(x_351); +lean_inc(x_350); +lean_inc(x_349); +x_361 = l_Lean_Expr_forallE___override(x_349, x_350, x_351, x_352); +x_362 = lean_ptr_addr(x_350); +lean_dec(x_350); +x_363 = lean_ptr_addr(x_354); +x_364 = lean_usize_dec_eq(x_362, x_363); +if (x_364 == 0) +{ +lean_object* x_365; +lean_dec(x_361); +lean_dec(x_351); +x_365 = l_Lean_Expr_forallE___override(x_349, x_354, x_360, x_352); +lean_ctor_set(x_358, 0, x_365); +return x_358; } else { -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; -x_359 = lean_ctor_get(x_355, 0); -x_360 = lean_ctor_get(x_355, 1); -lean_inc(x_360); -lean_inc(x_359); -lean_dec(x_355); -x_361 = lean_expr_update_forall(x_5, x_350, x_352, x_359); -x_362 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_362, 0, x_361); -lean_ctor_set(x_362, 1, x_360); -return x_362; -} +size_t x_366; size_t x_367; uint8_t x_368; +x_366 = lean_ptr_addr(x_351); +lean_dec(x_351); +x_367 = lean_ptr_addr(x_360); +x_368 = lean_usize_dec_eq(x_366, x_367); +if (x_368 == 0) +{ +lean_object* x_369; +lean_dec(x_361); +x_369 = l_Lean_Expr_forallE___override(x_349, x_354, x_360, x_352); +lean_ctor_set(x_358, 0, x_369); +return x_358; } else { -uint8_t x_363; -lean_dec(x_352); -lean_dec(x_5); -x_363 = !lean_is_exclusive(x_355); -if (x_363 == 0) +uint8_t x_370; +x_370 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_352, x_352); +if (x_370 == 0) { -return x_355; +lean_object* x_371; +lean_dec(x_361); +x_371 = l_Lean_Expr_forallE___override(x_349, x_354, x_360, x_352); +lean_ctor_set(x_358, 0, x_371); +return x_358; } else { -lean_object* x_364; lean_object* x_365; lean_object* x_366; -x_364 = lean_ctor_get(x_355, 0); -x_365 = lean_ctor_get(x_355, 1); -lean_inc(x_365); -lean_inc(x_364); -lean_dec(x_355); -x_366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_366, 0, x_364); -lean_ctor_set(x_366, 1, x_365); -return x_366; -} -} -} -else -{ -uint8_t x_367; +lean_dec(x_360); +lean_dec(x_354); lean_dec(x_349); -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_1); -x_367 = !lean_is_exclusive(x_351); -if (x_367 == 0) -{ -return x_351; +lean_ctor_set(x_358, 0, x_361); +return x_358; +} +} +} } else { -lean_object* x_368; lean_object* x_369; lean_object* x_370; -x_368 = lean_ctor_get(x_351, 0); -x_369 = lean_ctor_get(x_351, 1); -lean_inc(x_369); -lean_inc(x_368); -lean_dec(x_351); -x_370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_370, 0, x_368); -lean_ctor_set(x_370, 1, x_369); -return x_370; -} -} -} -case 8: -{ -lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; -lean_free_object(x_299); -x_371 = lean_ctor_get(x_5, 1); -lean_inc(x_371); -x_372 = lean_ctor_get(x_5, 2); -lean_inc(x_372); -x_373 = lean_ctor_get(x_5, 3); +lean_object* x_372; lean_object* x_373; lean_object* x_374; size_t x_375; size_t x_376; uint8_t x_377; +x_372 = lean_ctor_get(x_358, 0); +x_373 = lean_ctor_get(x_358, 1); lean_inc(x_373); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_1); -x_374 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_371, x_6, x_7, x_8, x_9, x_10, x_11, x_301); -if (lean_obj_tag(x_374) == 0) +lean_inc(x_372); +lean_dec(x_358); +lean_inc(x_351); +lean_inc(x_350); +lean_inc(x_349); +x_374 = l_Lean_Expr_forallE___override(x_349, x_350, x_351, x_352); +x_375 = lean_ptr_addr(x_350); +lean_dec(x_350); +x_376 = lean_ptr_addr(x_354); +x_377 = lean_usize_dec_eq(x_375, x_376); +if (x_377 == 0) { -lean_object* x_375; lean_object* x_376; lean_object* x_377; -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_object* x_378; lean_object* x_379; lean_dec(x_374); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_1); -x_377 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_372, x_6, x_7, x_8, x_9, x_10, x_11, x_376); -if (lean_obj_tag(x_377) == 0) +lean_dec(x_351); +x_378 = l_Lean_Expr_forallE___override(x_349, x_354, x_372, x_352); +x_379 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_379, 0, x_378); +lean_ctor_set(x_379, 1, x_373); +return x_379; +} +else { -lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; -x_378 = lean_ctor_get(x_377, 0); -lean_inc(x_378); -x_379 = lean_ctor_get(x_377, 1); -lean_inc(x_379); -lean_dec(x_377); -x_380 = lean_nat_add(x_6, x_295); -lean_dec(x_6); -x_381 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_373, x_380, x_7, x_8, x_9, x_10, x_11, x_379); -if (lean_obj_tag(x_381) == 0) -{ -uint8_t x_382; -x_382 = !lean_is_exclusive(x_381); +size_t x_380; size_t x_381; uint8_t x_382; +x_380 = lean_ptr_addr(x_351); +lean_dec(x_351); +x_381 = lean_ptr_addr(x_372); +x_382 = lean_usize_dec_eq(x_380, x_381); if (x_382 == 0) { lean_object* x_383; lean_object* x_384; -x_383 = lean_ctor_get(x_381, 0); -x_384 = lean_expr_update_let(x_5, x_375, x_378, x_383); -lean_ctor_set(x_381, 0, x_384); -return x_381; +lean_dec(x_374); +x_383 = l_Lean_Expr_forallE___override(x_349, x_354, x_372, x_352); +x_384 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_384, 0, x_383); +lean_ctor_set(x_384, 1, x_373); +return x_384; } else { -lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; -x_385 = lean_ctor_get(x_381, 0); -x_386 = lean_ctor_get(x_381, 1); -lean_inc(x_386); -lean_inc(x_385); -lean_dec(x_381); -x_387 = lean_expr_update_let(x_5, x_375, x_378, x_385); +uint8_t x_385; +x_385 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_352, x_352); +if (x_385 == 0) +{ +lean_object* x_386; lean_object* x_387; +lean_dec(x_374); +x_386 = l_Lean_Expr_forallE___override(x_349, x_354, x_372, x_352); +x_387 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_387, 0, x_386); +lean_ctor_set(x_387, 1, x_373); +return x_387; +} +else +{ +lean_object* x_388; +lean_dec(x_372); +lean_dec(x_354); +lean_dec(x_349); x_388 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_388, 0, x_387); -lean_ctor_set(x_388, 1, x_386); +lean_ctor_set(x_388, 0, x_374); +lean_ctor_set(x_388, 1, x_373); return x_388; } } +} +} +} else { uint8_t x_389; -lean_dec(x_378); -lean_dec(x_375); -lean_dec(x_5); -x_389 = !lean_is_exclusive(x_381); +lean_dec(x_354); +lean_dec(x_351); +lean_dec(x_350); +lean_dec(x_349); +x_389 = !lean_is_exclusive(x_358); if (x_389 == 0) { -return x_381; +return x_358; } else { lean_object* x_390; lean_object* x_391; lean_object* x_392; -x_390 = lean_ctor_get(x_381, 0); -x_391 = lean_ctor_get(x_381, 1); +x_390 = lean_ctor_get(x_358, 0); +x_391 = lean_ctor_get(x_358, 1); lean_inc(x_391); lean_inc(x_390); -lean_dec(x_381); +lean_dec(x_358); x_392 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_392, 0, x_390); lean_ctor_set(x_392, 1, x_391); @@ -1206,28 +714,28 @@ return x_392; else { uint8_t x_393; -lean_dec(x_375); -lean_dec(x_373); +lean_dec(x_351); +lean_dec(x_350); +lean_dec(x_349); 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_1); -x_393 = !lean_is_exclusive(x_377); +x_393 = !lean_is_exclusive(x_353); if (x_393 == 0) { -return x_377; +return x_353; } else { lean_object* x_394; lean_object* x_395; lean_object* x_396; -x_394 = lean_ctor_get(x_377, 0); -x_395 = lean_ctor_get(x_377, 1); +x_394 = lean_ctor_get(x_353, 0); +x_395 = lean_ctor_get(x_353, 1); lean_inc(x_395); lean_inc(x_394); -lean_dec(x_377); +lean_dec(x_353); x_396 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_396, 0, x_394); lean_ctor_set(x_396, 1, x_395); @@ -1235,11 +743,236 @@ return x_396; } } } +case 8: +{ +lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; uint8_t x_402; lean_object* x_403; +x_397 = lean_ctor_get(x_258, 1); +lean_inc(x_397); +lean_dec(x_258); +x_398 = lean_ctor_get(x_5, 0); +lean_inc(x_398); +x_399 = lean_ctor_get(x_5, 1); +lean_inc(x_399); +x_400 = lean_ctor_get(x_5, 2); +lean_inc(x_400); +x_401 = lean_ctor_get(x_5, 3); +lean_inc(x_401); +x_402 = lean_ctor_get_uint8(x_5, sizeof(void*)*4 + 8); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_399); +lean_inc(x_1); +x_403 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_399, x_6, x_7, x_8, x_9, x_10, x_11, x_397); +if (lean_obj_tag(x_403) == 0) +{ +lean_object* x_404; lean_object* x_405; lean_object* x_406; +x_404 = lean_ctor_get(x_403, 0); +lean_inc(x_404); +x_405 = lean_ctor_get(x_403, 1); +lean_inc(x_405); +lean_dec(x_403); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_400); +lean_inc(x_1); +x_406 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_400, x_6, x_7, x_8, x_9, x_10, x_11, x_405); +if (lean_obj_tag(x_406) == 0) +{ +lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; +x_407 = lean_ctor_get(x_406, 0); +lean_inc(x_407); +x_408 = lean_ctor_get(x_406, 1); +lean_inc(x_408); +lean_dec(x_406); +x_409 = lean_unsigned_to_nat(1u); +x_410 = lean_nat_add(x_6, x_409); +lean_dec(x_6); +lean_inc(x_401); +x_411 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_401, x_410, x_7, x_8, x_9, x_10, x_11, x_408); +if (lean_obj_tag(x_411) == 0) +{ +uint8_t x_412; +x_412 = !lean_is_exclusive(x_411); +if (x_412 == 0) +{ +lean_object* x_413; size_t x_414; size_t x_415; uint8_t x_416; +x_413 = lean_ctor_get(x_411, 0); +x_414 = lean_ptr_addr(x_399); +lean_dec(x_399); +x_415 = lean_ptr_addr(x_404); +x_416 = lean_usize_dec_eq(x_414, x_415); +if (x_416 == 0) +{ +lean_object* x_417; +lean_dec(x_401); +lean_dec(x_400); +lean_dec(x_5); +x_417 = l_Lean_Expr_letE___override(x_398, x_404, x_407, x_413, x_402); +lean_ctor_set(x_411, 0, x_417); +return x_411; +} else { -uint8_t x_397; -lean_dec(x_373); -lean_dec(x_372); +size_t x_418; size_t x_419; uint8_t x_420; +x_418 = lean_ptr_addr(x_400); +lean_dec(x_400); +x_419 = lean_ptr_addr(x_407); +x_420 = lean_usize_dec_eq(x_418, x_419); +if (x_420 == 0) +{ +lean_object* x_421; +lean_dec(x_401); +lean_dec(x_5); +x_421 = l_Lean_Expr_letE___override(x_398, x_404, x_407, x_413, x_402); +lean_ctor_set(x_411, 0, x_421); +return x_411; +} +else +{ +size_t x_422; size_t x_423; uint8_t x_424; +x_422 = lean_ptr_addr(x_401); +lean_dec(x_401); +x_423 = lean_ptr_addr(x_413); +x_424 = lean_usize_dec_eq(x_422, x_423); +if (x_424 == 0) +{ +lean_object* x_425; +lean_dec(x_5); +x_425 = l_Lean_Expr_letE___override(x_398, x_404, x_407, x_413, x_402); +lean_ctor_set(x_411, 0, x_425); +return x_411; +} +else +{ +lean_dec(x_413); +lean_dec(x_407); +lean_dec(x_404); +lean_dec(x_398); +lean_ctor_set(x_411, 0, x_5); +return x_411; +} +} +} +} +else +{ +lean_object* x_426; lean_object* x_427; size_t x_428; size_t x_429; uint8_t x_430; +x_426 = lean_ctor_get(x_411, 0); +x_427 = lean_ctor_get(x_411, 1); +lean_inc(x_427); +lean_inc(x_426); +lean_dec(x_411); +x_428 = lean_ptr_addr(x_399); +lean_dec(x_399); +x_429 = lean_ptr_addr(x_404); +x_430 = lean_usize_dec_eq(x_428, x_429); +if (x_430 == 0) +{ +lean_object* x_431; lean_object* x_432; +lean_dec(x_401); +lean_dec(x_400); +lean_dec(x_5); +x_431 = l_Lean_Expr_letE___override(x_398, x_404, x_407, x_426, x_402); +x_432 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_432, 0, x_431); +lean_ctor_set(x_432, 1, x_427); +return x_432; +} +else +{ +size_t x_433; size_t x_434; uint8_t x_435; +x_433 = lean_ptr_addr(x_400); +lean_dec(x_400); +x_434 = lean_ptr_addr(x_407); +x_435 = lean_usize_dec_eq(x_433, x_434); +if (x_435 == 0) +{ +lean_object* x_436; lean_object* x_437; +lean_dec(x_401); +lean_dec(x_5); +x_436 = l_Lean_Expr_letE___override(x_398, x_404, x_407, x_426, x_402); +x_437 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_437, 0, x_436); +lean_ctor_set(x_437, 1, x_427); +return x_437; +} +else +{ +size_t x_438; size_t x_439; uint8_t x_440; +x_438 = lean_ptr_addr(x_401); +lean_dec(x_401); +x_439 = lean_ptr_addr(x_426); +x_440 = lean_usize_dec_eq(x_438, x_439); +if (x_440 == 0) +{ +lean_object* x_441; lean_object* x_442; +lean_dec(x_5); +x_441 = l_Lean_Expr_letE___override(x_398, x_404, x_407, x_426, x_402); +x_442 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_442, 0, x_441); +lean_ctor_set(x_442, 1, x_427); +return x_442; +} +else +{ +lean_object* x_443; +lean_dec(x_426); +lean_dec(x_407); +lean_dec(x_404); +lean_dec(x_398); +x_443 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_443, 0, x_5); +lean_ctor_set(x_443, 1, x_427); +return x_443; +} +} +} +} +} +else +{ +uint8_t x_444; +lean_dec(x_407); +lean_dec(x_404); +lean_dec(x_401); +lean_dec(x_400); +lean_dec(x_399); +lean_dec(x_398); +lean_dec(x_5); +x_444 = !lean_is_exclusive(x_411); +if (x_444 == 0) +{ +return x_411; +} +else +{ +lean_object* x_445; lean_object* x_446; lean_object* x_447; +x_445 = lean_ctor_get(x_411, 0); +x_446 = lean_ctor_get(x_411, 1); +lean_inc(x_446); +lean_inc(x_445); +lean_dec(x_411); +x_447 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_447, 0, x_445); +lean_ctor_set(x_447, 1, x_446); +return x_447; +} +} +} +else +{ +uint8_t x_448; +lean_dec(x_404); +lean_dec(x_401); +lean_dec(x_400); +lean_dec(x_399); +lean_dec(x_398); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -1247,849 +980,2519 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_397 = !lean_is_exclusive(x_374); -if (x_397 == 0) +x_448 = !lean_is_exclusive(x_406); +if (x_448 == 0) { -return x_374; +return x_406; } else { -lean_object* x_398; lean_object* x_399; lean_object* x_400; -x_398 = lean_ctor_get(x_374, 0); -x_399 = lean_ctor_get(x_374, 1); -lean_inc(x_399); -lean_inc(x_398); -lean_dec(x_374); -x_400 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_400, 0, x_398); -lean_ctor_set(x_400, 1, x_399); -return x_400; +lean_object* x_449; lean_object* x_450; lean_object* x_451; +x_449 = lean_ctor_get(x_406, 0); +x_450 = lean_ctor_get(x_406, 1); +lean_inc(x_450); +lean_inc(x_449); +lean_dec(x_406); +x_451 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_451, 0, x_449); +lean_ctor_set(x_451, 1, x_450); +return x_451; +} +} +} +else +{ +uint8_t x_452; +lean_dec(x_401); +lean_dec(x_400); +lean_dec(x_399); +lean_dec(x_398); +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_1); +x_452 = !lean_is_exclusive(x_403); +if (x_452 == 0) +{ +return x_403; +} +else +{ +lean_object* x_453; lean_object* x_454; lean_object* x_455; +x_453 = lean_ctor_get(x_403, 0); +x_454 = lean_ctor_get(x_403, 1); +lean_inc(x_454); +lean_inc(x_453); +lean_dec(x_403); +x_455 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_455, 0, x_453); +lean_ctor_set(x_455, 1, x_454); +return x_455; } } } case 10: { -lean_object* x_401; lean_object* x_402; -lean_free_object(x_299); -x_401 = lean_ctor_get(x_5, 1); -lean_inc(x_401); -x_402 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_401, x_6, x_7, x_8, x_9, x_10, x_11, x_301); -if (lean_obj_tag(x_402) == 0) +lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; +x_456 = lean_ctor_get(x_258, 1); +lean_inc(x_456); +lean_dec(x_258); +x_457 = lean_ctor_get(x_5, 0); +lean_inc(x_457); +x_458 = lean_ctor_get(x_5, 1); +lean_inc(x_458); +lean_inc(x_458); +x_459 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_458, x_6, x_7, x_8, x_9, x_10, x_11, x_456); +if (lean_obj_tag(x_459) == 0) { -uint8_t x_403; -x_403 = !lean_is_exclusive(x_402); -if (x_403 == 0) +uint8_t x_460; +x_460 = !lean_is_exclusive(x_459); +if (x_460 == 0) { -lean_object* x_404; lean_object* x_405; -x_404 = lean_ctor_get(x_402, 0); -x_405 = lean_expr_update_mdata(x_5, x_404); -lean_ctor_set(x_402, 0, x_405); -return x_402; -} -else +lean_object* x_461; size_t x_462; size_t x_463; uint8_t x_464; +x_461 = lean_ctor_get(x_459, 0); +x_462 = lean_ptr_addr(x_458); +lean_dec(x_458); +x_463 = lean_ptr_addr(x_461); +x_464 = lean_usize_dec_eq(x_462, x_463); +if (x_464 == 0) { -lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; -x_406 = lean_ctor_get(x_402, 0); -x_407 = lean_ctor_get(x_402, 1); -lean_inc(x_407); -lean_inc(x_406); -lean_dec(x_402); -x_408 = lean_expr_update_mdata(x_5, x_406); -x_409 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_409, 0, x_408); -lean_ctor_set(x_409, 1, x_407); -return x_409; -} -} -else -{ -uint8_t x_410; +lean_object* x_465; lean_dec(x_5); -x_410 = !lean_is_exclusive(x_402); -if (x_410 == 0) -{ -return x_402; +x_465 = l_Lean_Expr_mdata___override(x_457, x_461); +lean_ctor_set(x_459, 0, x_465); +return x_459; } else { -lean_object* x_411; lean_object* x_412; lean_object* x_413; -x_411 = lean_ctor_get(x_402, 0); -x_412 = lean_ctor_get(x_402, 1); -lean_inc(x_412); -lean_inc(x_411); -lean_dec(x_402); -x_413 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_413, 0, x_411); -lean_ctor_set(x_413, 1, x_412); -return x_413; +lean_dec(x_461); +lean_dec(x_457); +lean_ctor_set(x_459, 0, x_5); +return x_459; +} +} +else +{ +lean_object* x_466; lean_object* x_467; size_t x_468; size_t x_469; uint8_t x_470; +x_466 = lean_ctor_get(x_459, 0); +x_467 = lean_ctor_get(x_459, 1); +lean_inc(x_467); +lean_inc(x_466); +lean_dec(x_459); +x_468 = lean_ptr_addr(x_458); +lean_dec(x_458); +x_469 = lean_ptr_addr(x_466); +x_470 = lean_usize_dec_eq(x_468, x_469); +if (x_470 == 0) +{ +lean_object* x_471; lean_object* x_472; +lean_dec(x_5); +x_471 = l_Lean_Expr_mdata___override(x_457, x_466); +x_472 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_472, 0, x_471); +lean_ctor_set(x_472, 1, x_467); +return x_472; +} +else +{ +lean_object* x_473; +lean_dec(x_466); +lean_dec(x_457); +x_473 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_473, 0, x_5); +lean_ctor_set(x_473, 1, x_467); +return x_473; +} +} +} +else +{ +uint8_t x_474; +lean_dec(x_458); +lean_dec(x_457); +lean_dec(x_5); +x_474 = !lean_is_exclusive(x_459); +if (x_474 == 0) +{ +return x_459; +} +else +{ +lean_object* x_475; lean_object* x_476; lean_object* x_477; +x_475 = lean_ctor_get(x_459, 0); +x_476 = lean_ctor_get(x_459, 1); +lean_inc(x_476); +lean_inc(x_475); +lean_dec(x_459); +x_477 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_477, 0, x_475); +lean_ctor_set(x_477, 1, x_476); +return x_477; } } } case 11: { -lean_object* x_414; lean_object* x_415; -lean_free_object(x_299); -x_414 = lean_ctor_get(x_5, 2); -lean_inc(x_414); -x_415 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_414, x_6, x_7, x_8, x_9, x_10, x_11, x_301); -if (lean_obj_tag(x_415) == 0) -{ -uint8_t x_416; -x_416 = !lean_is_exclusive(x_415); -if (x_416 == 0) -{ -lean_object* x_417; lean_object* x_418; -x_417 = lean_ctor_get(x_415, 0); -x_418 = lean_expr_update_proj(x_5, x_417); -lean_ctor_set(x_415, 0, x_418); -return x_415; -} -else -{ -lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; -x_419 = lean_ctor_get(x_415, 0); -x_420 = lean_ctor_get(x_415, 1); -lean_inc(x_420); -lean_inc(x_419); -lean_dec(x_415); -x_421 = lean_expr_update_proj(x_5, x_419); -x_422 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_422, 0, x_421); -lean_ctor_set(x_422, 1, x_420); -return x_422; -} -} -else -{ -uint8_t x_423; -lean_dec(x_5); -x_423 = !lean_is_exclusive(x_415); -if (x_423 == 0) -{ -return x_415; -} -else -{ -lean_object* x_424; lean_object* x_425; lean_object* x_426; -x_424 = lean_ctor_get(x_415, 0); -x_425 = lean_ctor_get(x_415, 1); -lean_inc(x_425); -lean_inc(x_424); -lean_dec(x_415); -x_426 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_426, 0, x_424); -lean_ctor_set(x_426, 1, x_425); -return x_426; -} -} -} -default: -{ -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_1); -lean_ctor_set(x_299, 0, x_5); -return x_299; -} -} -} -else -{ -lean_object* x_427; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_1); -x_427 = l_Lean_Expr_bvar___override(x_6); -lean_ctor_set(x_299, 0, x_427); -return x_299; -} -} -else -{ -lean_object* x_428; uint8_t x_429; -x_428 = lean_ctor_get(x_299, 1); -lean_inc(x_428); -lean_dec(x_299); -x_429 = l_Lean_Occurrences_contains(x_2, x_293); -lean_dec(x_293); -if (x_429 == 0) -{ -switch (lean_obj_tag(x_5)) { -case 5: -{ -lean_object* x_430; lean_object* x_431; lean_object* x_432; -x_430 = lean_ctor_get(x_5, 0); -lean_inc(x_430); -x_431 = lean_ctor_get(x_5, 1); -lean_inc(x_431); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_1); -x_432 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_430, x_6, x_7, x_8, x_9, x_10, x_11, x_428); -if (lean_obj_tag(x_432) == 0) -{ -lean_object* x_433; lean_object* x_434; lean_object* x_435; -x_433 = lean_ctor_get(x_432, 0); -lean_inc(x_433); -x_434 = lean_ctor_get(x_432, 1); -lean_inc(x_434); -lean_dec(x_432); -x_435 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_431, x_6, x_7, x_8, x_9, x_10, x_11, x_434); -if (lean_obj_tag(x_435) == 0) -{ -lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; -x_436 = lean_ctor_get(x_435, 0); -lean_inc(x_436); -x_437 = lean_ctor_get(x_435, 1); -lean_inc(x_437); -if (lean_is_exclusive(x_435)) { - lean_ctor_release(x_435, 0); - lean_ctor_release(x_435, 1); - x_438 = x_435; -} else { - lean_dec_ref(x_435); - x_438 = lean_box(0); -} -x_439 = lean_expr_update_app(x_5, x_433, x_436); -if (lean_is_scalar(x_438)) { - x_440 = lean_alloc_ctor(0, 2, 0); -} else { - x_440 = x_438; -} -lean_ctor_set(x_440, 0, x_439); -lean_ctor_set(x_440, 1, x_437); -return x_440; -} -else -{ -lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; -lean_dec(x_433); -lean_dec(x_5); -x_441 = lean_ctor_get(x_435, 0); -lean_inc(x_441); -x_442 = lean_ctor_get(x_435, 1); -lean_inc(x_442); -if (lean_is_exclusive(x_435)) { - lean_ctor_release(x_435, 0); - lean_ctor_release(x_435, 1); - x_443 = x_435; -} else { - lean_dec_ref(x_435); - x_443 = lean_box(0); -} -if (lean_is_scalar(x_443)) { - x_444 = lean_alloc_ctor(1, 2, 0); -} else { - x_444 = x_443; -} -lean_ctor_set(x_444, 0, x_441); -lean_ctor_set(x_444, 1, x_442); -return x_444; -} -} -else -{ -lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; -lean_dec(x_431); -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_1); -x_445 = lean_ctor_get(x_432, 0); -lean_inc(x_445); -x_446 = lean_ctor_get(x_432, 1); -lean_inc(x_446); -if (lean_is_exclusive(x_432)) { - lean_ctor_release(x_432, 0); - lean_ctor_release(x_432, 1); - x_447 = x_432; -} else { - lean_dec_ref(x_432); - x_447 = lean_box(0); -} -if (lean_is_scalar(x_447)) { - x_448 = lean_alloc_ctor(1, 2, 0); -} else { - x_448 = x_447; -} -lean_ctor_set(x_448, 0, x_445); -lean_ctor_set(x_448, 1, x_446); -return x_448; -} -} -case 6: -{ -lean_object* x_449; lean_object* x_450; uint8_t x_451; lean_object* x_452; -x_449 = lean_ctor_get(x_5, 1); -lean_inc(x_449); -x_450 = lean_ctor_get(x_5, 2); -lean_inc(x_450); -x_451 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_1); -x_452 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_449, x_6, x_7, x_8, x_9, x_10, x_11, x_428); -if (lean_obj_tag(x_452) == 0) -{ -lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; -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 = lean_nat_add(x_6, x_295); -lean_dec(x_6); -x_456 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_450, x_455, x_7, x_8, x_9, x_10, x_11, x_454); -if (lean_obj_tag(x_456) == 0) -{ -lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; -x_457 = lean_ctor_get(x_456, 0); -lean_inc(x_457); -x_458 = lean_ctor_get(x_456, 1); -lean_inc(x_458); -if (lean_is_exclusive(x_456)) { - lean_ctor_release(x_456, 0); - lean_ctor_release(x_456, 1); - x_459 = x_456; -} else { - lean_dec_ref(x_456); - x_459 = lean_box(0); -} -x_460 = lean_expr_update_lambda(x_5, x_451, x_453, x_457); -if (lean_is_scalar(x_459)) { - x_461 = lean_alloc_ctor(0, 2, 0); -} else { - x_461 = x_459; -} -lean_ctor_set(x_461, 0, x_460); -lean_ctor_set(x_461, 1, x_458); -return x_461; -} -else -{ -lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; -lean_dec(x_453); -lean_dec(x_5); -x_462 = lean_ctor_get(x_456, 0); -lean_inc(x_462); -x_463 = lean_ctor_get(x_456, 1); -lean_inc(x_463); -if (lean_is_exclusive(x_456)) { - lean_ctor_release(x_456, 0); - lean_ctor_release(x_456, 1); - x_464 = x_456; -} else { - lean_dec_ref(x_456); - x_464 = lean_box(0); -} -if (lean_is_scalar(x_464)) { - x_465 = lean_alloc_ctor(1, 2, 0); -} else { - x_465 = x_464; -} -lean_ctor_set(x_465, 0, x_462); -lean_ctor_set(x_465, 1, x_463); -return x_465; -} -} -else -{ -lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; -lean_dec(x_450); -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_1); -x_466 = lean_ctor_get(x_452, 0); -lean_inc(x_466); -x_467 = lean_ctor_get(x_452, 1); -lean_inc(x_467); -if (lean_is_exclusive(x_452)) { - lean_ctor_release(x_452, 0); - lean_ctor_release(x_452, 1); - x_468 = x_452; -} else { - lean_dec_ref(x_452); - x_468 = lean_box(0); -} -if (lean_is_scalar(x_468)) { - x_469 = lean_alloc_ctor(1, 2, 0); -} else { - x_469 = x_468; -} -lean_ctor_set(x_469, 0, x_466); -lean_ctor_set(x_469, 1, x_467); -return x_469; -} -} -case 7: -{ -lean_object* x_470; lean_object* x_471; uint8_t x_472; lean_object* x_473; -x_470 = lean_ctor_get(x_5, 1); -lean_inc(x_470); -x_471 = lean_ctor_get(x_5, 2); -lean_inc(x_471); -x_472 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_1); -x_473 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_470, x_6, x_7, x_8, x_9, x_10, x_11, x_428); -if (lean_obj_tag(x_473) == 0) -{ -lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; -x_474 = lean_ctor_get(x_473, 0); -lean_inc(x_474); -x_475 = lean_ctor_get(x_473, 1); -lean_inc(x_475); -lean_dec(x_473); -x_476 = lean_nat_add(x_6, x_295); -lean_dec(x_6); -x_477 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_471, x_476, x_7, x_8, x_9, x_10, x_11, x_475); -if (lean_obj_tag(x_477) == 0) -{ lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; -x_478 = lean_ctor_get(x_477, 0); +x_478 = lean_ctor_get(x_258, 1); lean_inc(x_478); -x_479 = lean_ctor_get(x_477, 1); +lean_dec(x_258); +x_479 = lean_ctor_get(x_5, 0); lean_inc(x_479); -if (lean_is_exclusive(x_477)) { - lean_ctor_release(x_477, 0); - lean_ctor_release(x_477, 1); - x_480 = x_477; -} else { - lean_dec_ref(x_477); - x_480 = lean_box(0); -} -x_481 = lean_expr_update_forall(x_5, x_472, x_474, x_478); -if (lean_is_scalar(x_480)) { - x_482 = lean_alloc_ctor(0, 2, 0); -} else { - x_482 = x_480; -} -lean_ctor_set(x_482, 0, x_481); -lean_ctor_set(x_482, 1, x_479); +x_480 = lean_ctor_get(x_5, 1); +lean_inc(x_480); +x_481 = lean_ctor_get(x_5, 2); +lean_inc(x_481); +lean_inc(x_481); +x_482 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_481, x_6, x_7, x_8, x_9, x_10, x_11, x_478); +if (lean_obj_tag(x_482) == 0) +{ +uint8_t x_483; +x_483 = !lean_is_exclusive(x_482); +if (x_483 == 0) +{ +lean_object* x_484; size_t x_485; size_t x_486; uint8_t x_487; +x_484 = lean_ctor_get(x_482, 0); +x_485 = lean_ptr_addr(x_481); +lean_dec(x_481); +x_486 = lean_ptr_addr(x_484); +x_487 = lean_usize_dec_eq(x_485, x_486); +if (x_487 == 0) +{ +lean_object* x_488; +lean_dec(x_5); +x_488 = l_Lean_Expr_proj___override(x_479, x_480, x_484); +lean_ctor_set(x_482, 0, x_488); return x_482; } else { -lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; -lean_dec(x_474); -lean_dec(x_5); -x_483 = lean_ctor_get(x_477, 0); -lean_inc(x_483); -x_484 = lean_ctor_get(x_477, 1); -lean_inc(x_484); -if (lean_is_exclusive(x_477)) { - lean_ctor_release(x_477, 0); - lean_ctor_release(x_477, 1); - x_485 = x_477; -} else { - lean_dec_ref(x_477); - x_485 = lean_box(0); -} -if (lean_is_scalar(x_485)) { - x_486 = lean_alloc_ctor(1, 2, 0); -} else { - x_486 = x_485; -} -lean_ctor_set(x_486, 0, x_483); -lean_ctor_set(x_486, 1, x_484); -return x_486; +lean_dec(x_484); +lean_dec(x_480); +lean_dec(x_479); +lean_ctor_set(x_482, 0, x_5); +return x_482; } } else { -lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; -lean_dec(x_471); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); +lean_object* x_489; lean_object* x_490; size_t x_491; size_t x_492; uint8_t x_493; +x_489 = lean_ctor_get(x_482, 0); +x_490 = lean_ctor_get(x_482, 1); +lean_inc(x_490); +lean_inc(x_489); +lean_dec(x_482); +x_491 = lean_ptr_addr(x_481); +lean_dec(x_481); +x_492 = lean_ptr_addr(x_489); +x_493 = lean_usize_dec_eq(x_491, x_492); +if (x_493 == 0) +{ +lean_object* x_494; lean_object* x_495; lean_dec(x_5); -lean_dec(x_1); -x_487 = lean_ctor_get(x_473, 0); -lean_inc(x_487); -x_488 = lean_ctor_get(x_473, 1); -lean_inc(x_488); -if (lean_is_exclusive(x_473)) { - lean_ctor_release(x_473, 0); - lean_ctor_release(x_473, 1); - x_489 = x_473; -} else { - lean_dec_ref(x_473); - x_489 = lean_box(0); +x_494 = l_Lean_Expr_proj___override(x_479, x_480, x_489); +x_495 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_495, 0, x_494); +lean_ctor_set(x_495, 1, x_490); +return x_495; } -if (lean_is_scalar(x_489)) { - x_490 = lean_alloc_ctor(1, 2, 0); -} else { - x_490 = x_489; -} -lean_ctor_set(x_490, 0, x_487); -lean_ctor_set(x_490, 1, x_488); -return x_490; -} -} -case 8: +else { -lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; -x_491 = lean_ctor_get(x_5, 1); -lean_inc(x_491); -x_492 = lean_ctor_get(x_5, 2); -lean_inc(x_492); -x_493 = lean_ctor_get(x_5, 3); -lean_inc(x_493); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_1); -x_494 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_491, x_6, x_7, x_8, x_9, x_10, x_11, x_428); -if (lean_obj_tag(x_494) == 0) +lean_object* x_496; +lean_dec(x_489); +lean_dec(x_480); +lean_dec(x_479); +x_496 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_496, 0, x_5); +lean_ctor_set(x_496, 1, x_490); +return x_496; +} +} +} +else { -lean_object* x_495; lean_object* x_496; lean_object* x_497; -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); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_1); -x_497 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_492, x_6, x_7, x_8, x_9, x_10, x_11, x_496); -if (lean_obj_tag(x_497) == 0) +uint8_t x_497; +lean_dec(x_481); +lean_dec(x_480); +lean_dec(x_479); +lean_dec(x_5); +x_497 = !lean_is_exclusive(x_482); +if (x_497 == 0) { -lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; -x_498 = lean_ctor_get(x_497, 0); -lean_inc(x_498); -x_499 = lean_ctor_get(x_497, 1); +return x_482; +} +else +{ +lean_object* x_498; lean_object* x_499; lean_object* x_500; +x_498 = lean_ctor_get(x_482, 0); +x_499 = lean_ctor_get(x_482, 1); lean_inc(x_499); -lean_dec(x_497); -x_500 = lean_nat_add(x_6, x_295); -lean_dec(x_6); -x_501 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_493, x_500, x_7, x_8, x_9, x_10, x_11, x_499); -if (lean_obj_tag(x_501) == 0) -{ -lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; -x_502 = lean_ctor_get(x_501, 0); -lean_inc(x_502); -x_503 = lean_ctor_get(x_501, 1); -lean_inc(x_503); -if (lean_is_exclusive(x_501)) { - lean_ctor_release(x_501, 0); - lean_ctor_release(x_501, 1); - x_504 = x_501; -} else { - lean_dec_ref(x_501); - x_504 = lean_box(0); +lean_inc(x_498); +lean_dec(x_482); +x_500 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_500, 0, x_498); +lean_ctor_set(x_500, 1, x_499); +return x_500; } -x_505 = lean_expr_update_let(x_5, x_495, x_498, x_502); -if (lean_is_scalar(x_504)) { - x_506 = lean_alloc_ctor(0, 2, 0); -} else { - x_506 = x_504; -} -lean_ctor_set(x_506, 0, x_505); -lean_ctor_set(x_506, 1, x_503); -return x_506; -} -else -{ -lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; -lean_dec(x_498); -lean_dec(x_495); -lean_dec(x_5); -x_507 = lean_ctor_get(x_501, 0); -lean_inc(x_507); -x_508 = lean_ctor_get(x_501, 1); -lean_inc(x_508); -if (lean_is_exclusive(x_501)) { - lean_ctor_release(x_501, 0); - lean_ctor_release(x_501, 1); - x_509 = x_501; -} else { - lean_dec_ref(x_501); - x_509 = lean_box(0); -} -if (lean_is_scalar(x_509)) { - x_510 = lean_alloc_ctor(1, 2, 0); -} else { - x_510 = x_509; -} -lean_ctor_set(x_510, 0, x_507); -lean_ctor_set(x_510, 1, x_508); -return x_510; -} -} -else -{ -lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; -lean_dec(x_495); -lean_dec(x_493); -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_1); -x_511 = lean_ctor_get(x_497, 0); -lean_inc(x_511); -x_512 = lean_ctor_get(x_497, 1); -lean_inc(x_512); -if (lean_is_exclusive(x_497)) { - lean_ctor_release(x_497, 0); - lean_ctor_release(x_497, 1); - x_513 = x_497; -} else { - lean_dec_ref(x_497); - x_513 = lean_box(0); -} -if (lean_is_scalar(x_513)) { - x_514 = lean_alloc_ctor(1, 2, 0); -} else { - x_514 = x_513; -} -lean_ctor_set(x_514, 0, x_511); -lean_ctor_set(x_514, 1, x_512); -return x_514; -} -} -else -{ -lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; -lean_dec(x_493); -lean_dec(x_492); -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_1); -x_515 = lean_ctor_get(x_494, 0); -lean_inc(x_515); -x_516 = lean_ctor_get(x_494, 1); -lean_inc(x_516); -if (lean_is_exclusive(x_494)) { - lean_ctor_release(x_494, 0); - lean_ctor_release(x_494, 1); - x_517 = x_494; -} else { - lean_dec_ref(x_494); - x_517 = lean_box(0); -} -if (lean_is_scalar(x_517)) { - x_518 = lean_alloc_ctor(1, 2, 0); -} else { - x_518 = x_517; -} -lean_ctor_set(x_518, 0, x_515); -lean_ctor_set(x_518, 1, x_516); -return x_518; -} -} -case 10: -{ -lean_object* x_519; lean_object* x_520; -x_519 = lean_ctor_get(x_5, 1); -lean_inc(x_519); -x_520 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_519, x_6, x_7, x_8, x_9, x_10, x_11, x_428); -if (lean_obj_tag(x_520) == 0) -{ -lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; -x_521 = lean_ctor_get(x_520, 0); -lean_inc(x_521); -x_522 = lean_ctor_get(x_520, 1); -lean_inc(x_522); -if (lean_is_exclusive(x_520)) { - lean_ctor_release(x_520, 0); - lean_ctor_release(x_520, 1); - x_523 = x_520; -} else { - lean_dec_ref(x_520); - x_523 = lean_box(0); -} -x_524 = lean_expr_update_mdata(x_5, x_521); -if (lean_is_scalar(x_523)) { - x_525 = lean_alloc_ctor(0, 2, 0); -} else { - x_525 = x_523; -} -lean_ctor_set(x_525, 0, x_524); -lean_ctor_set(x_525, 1, x_522); -return x_525; -} -else -{ -lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; -lean_dec(x_5); -x_526 = lean_ctor_get(x_520, 0); -lean_inc(x_526); -x_527 = lean_ctor_get(x_520, 1); -lean_inc(x_527); -if (lean_is_exclusive(x_520)) { - lean_ctor_release(x_520, 0); - lean_ctor_release(x_520, 1); - x_528 = x_520; -} else { - lean_dec_ref(x_520); - x_528 = lean_box(0); -} -if (lean_is_scalar(x_528)) { - x_529 = lean_alloc_ctor(1, 2, 0); -} else { - x_529 = x_528; -} -lean_ctor_set(x_529, 0, x_526); -lean_ctor_set(x_529, 1, x_527); -return x_529; -} -} -case 11: -{ -lean_object* x_530; lean_object* x_531; -x_530 = lean_ctor_get(x_5, 2); -lean_inc(x_530); -x_531 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_530, x_6, x_7, x_8, x_9, x_10, x_11, x_428); -if (lean_obj_tag(x_531) == 0) -{ -lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; -x_532 = lean_ctor_get(x_531, 0); -lean_inc(x_532); -x_533 = lean_ctor_get(x_531, 1); -lean_inc(x_533); -if (lean_is_exclusive(x_531)) { - lean_ctor_release(x_531, 0); - lean_ctor_release(x_531, 1); - x_534 = x_531; -} else { - lean_dec_ref(x_531); - x_534 = lean_box(0); -} -x_535 = lean_expr_update_proj(x_5, x_532); -if (lean_is_scalar(x_534)) { - x_536 = lean_alloc_ctor(0, 2, 0); -} else { - x_536 = x_534; -} -lean_ctor_set(x_536, 0, x_535); -lean_ctor_set(x_536, 1, x_533); -return x_536; -} -else -{ -lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; -lean_dec(x_5); -x_537 = lean_ctor_get(x_531, 0); -lean_inc(x_537); -x_538 = lean_ctor_get(x_531, 1); -lean_inc(x_538); -if (lean_is_exclusive(x_531)) { - lean_ctor_release(x_531, 0); - lean_ctor_release(x_531, 1); - x_539 = x_531; -} else { - lean_dec_ref(x_531); - x_539 = lean_box(0); -} -if (lean_is_scalar(x_539)) { - x_540 = lean_alloc_ctor(1, 2, 0); -} else { - x_540 = x_539; -} -lean_ctor_set(x_540, 0, x_537); -lean_ctor_set(x_540, 1, x_538); -return x_540; } } default: { -lean_object* x_541; +uint8_t x_501; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_1); -x_541 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_541, 0, x_5); -lean_ctor_set(x_541, 1, x_428); -return x_541; +x_501 = !lean_is_exclusive(x_258); +if (x_501 == 0) +{ +lean_object* x_502; +x_502 = lean_ctor_get(x_258, 0); +lean_dec(x_502); +lean_ctor_set(x_258, 0, x_5); +return x_258; +} +else +{ +lean_object* x_503; lean_object* x_504; +x_503 = lean_ctor_get(x_258, 1); +lean_inc(x_503); +lean_dec(x_258); +x_504 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_504, 0, x_5); +lean_ctor_set(x_504, 1, x_503); +return x_504; +} } } } else { -lean_object* x_542; lean_object* x_543; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); +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; uint8_t x_516; +x_505 = lean_ctor_get(x_258, 1); +lean_inc(x_505); +lean_dec(x_258); +x_506 = lean_st_ref_get(x_11, x_505); +x_507 = lean_ctor_get(x_506, 1); +lean_inc(x_507); +lean_dec(x_506); +x_508 = lean_st_ref_get(x_7, x_507); +x_509 = lean_ctor_get(x_508, 0); +lean_inc(x_509); +x_510 = lean_ctor_get(x_508, 1); +lean_inc(x_510); +lean_dec(x_508); +x_511 = lean_unsigned_to_nat(1u); +x_512 = lean_nat_add(x_509, x_511); +x_513 = lean_st_ref_get(x_11, x_510); +x_514 = lean_ctor_get(x_513, 1); +lean_inc(x_514); +lean_dec(x_513); +x_515 = lean_st_ref_set(x_7, x_512, x_514); +x_516 = !lean_is_exclusive(x_515); +if (x_516 == 0) +{ +lean_object* x_517; lean_object* x_518; uint8_t x_519; +x_517 = lean_ctor_get(x_515, 1); +x_518 = lean_ctor_get(x_515, 0); +lean_dec(x_518); +x_519 = l_Lean_Occurrences_contains(x_2, x_509); +lean_dec(x_509); +if (x_519 == 0) +{ +switch (lean_obj_tag(x_5)) { +case 5: +{ +lean_object* x_520; lean_object* x_521; lean_object* x_522; +lean_free_object(x_515); +x_520 = lean_ctor_get(x_5, 0); +lean_inc(x_520); +x_521 = lean_ctor_get(x_5, 1); +lean_inc(x_521); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_520); +lean_inc(x_1); +x_522 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_520, x_6, x_7, x_8, x_9, x_10, x_11, x_517); +if (lean_obj_tag(x_522) == 0) +{ +lean_object* x_523; lean_object* x_524; lean_object* x_525; +x_523 = lean_ctor_get(x_522, 0); +lean_inc(x_523); +x_524 = lean_ctor_get(x_522, 1); +lean_inc(x_524); +lean_dec(x_522); +lean_inc(x_521); +x_525 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_521, x_6, x_7, x_8, x_9, x_10, x_11, x_524); +if (lean_obj_tag(x_525) == 0) +{ +uint8_t x_526; +x_526 = !lean_is_exclusive(x_525); +if (x_526 == 0) +{ +lean_object* x_527; size_t x_528; size_t x_529; uint8_t x_530; +x_527 = lean_ctor_get(x_525, 0); +x_528 = lean_ptr_addr(x_520); +lean_dec(x_520); +x_529 = lean_ptr_addr(x_523); +x_530 = lean_usize_dec_eq(x_528, x_529); +if (x_530 == 0) +{ +lean_object* x_531; +lean_dec(x_521); lean_dec(x_5); -lean_dec(x_1); -x_542 = l_Lean_Expr_bvar___override(x_6); -x_543 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_543, 0, x_542); -lean_ctor_set(x_543, 1, x_428); -return x_543; -} -} -} +x_531 = l_Lean_Expr_app___override(x_523, x_527); +lean_ctor_set(x_525, 0, x_531); +return x_525; } else { -uint8_t x_544; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); +size_t x_532; size_t x_533; uint8_t x_534; +x_532 = lean_ptr_addr(x_521); +lean_dec(x_521); +x_533 = lean_ptr_addr(x_527); +x_534 = lean_usize_dec_eq(x_532, x_533); +if (x_534 == 0) +{ +lean_object* x_535; lean_dec(x_5); -lean_dec(x_1); -x_544 = !lean_is_exclusive(x_150); -if (x_544 == 0) -{ -return x_150; +x_535 = l_Lean_Expr_app___override(x_523, x_527); +lean_ctor_set(x_525, 0, x_535); +return x_525; } else { -lean_object* x_545; lean_object* x_546; lean_object* x_547; -x_545 = lean_ctor_get(x_150, 0); -x_546 = lean_ctor_get(x_150, 1); -lean_inc(x_546); -lean_inc(x_545); -lean_dec(x_150); -x_547 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_547, 0, x_545); -lean_ctor_set(x_547, 1, x_546); +lean_dec(x_527); +lean_dec(x_523); +lean_ctor_set(x_525, 0, x_5); +return x_525; +} +} +} +else +{ +lean_object* x_536; lean_object* x_537; size_t x_538; size_t x_539; uint8_t x_540; +x_536 = lean_ctor_get(x_525, 0); +x_537 = lean_ctor_get(x_525, 1); +lean_inc(x_537); +lean_inc(x_536); +lean_dec(x_525); +x_538 = lean_ptr_addr(x_520); +lean_dec(x_520); +x_539 = lean_ptr_addr(x_523); +x_540 = lean_usize_dec_eq(x_538, x_539); +if (x_540 == 0) +{ +lean_object* x_541; lean_object* x_542; +lean_dec(x_521); +lean_dec(x_5); +x_541 = l_Lean_Expr_app___override(x_523, x_536); +x_542 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_542, 0, x_541); +lean_ctor_set(x_542, 1, x_537); +return x_542; +} +else +{ +size_t x_543; size_t x_544; uint8_t x_545; +x_543 = lean_ptr_addr(x_521); +lean_dec(x_521); +x_544 = lean_ptr_addr(x_536); +x_545 = lean_usize_dec_eq(x_543, x_544); +if (x_545 == 0) +{ +lean_object* x_546; lean_object* x_547; +lean_dec(x_5); +x_546 = l_Lean_Expr_app___override(x_523, x_536); +x_547 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_547, 0, x_546); +lean_ctor_set(x_547, 1, x_537); return x_547; } +else +{ +lean_object* x_548; +lean_dec(x_536); +lean_dec(x_523); +x_548 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_548, 0, x_5); +lean_ctor_set(x_548, 1, x_537); +return x_548; +} +} +} +} +else +{ +uint8_t x_549; +lean_dec(x_523); +lean_dec(x_521); +lean_dec(x_520); +lean_dec(x_5); +x_549 = !lean_is_exclusive(x_525); +if (x_549 == 0) +{ +return x_525; +} +else +{ +lean_object* x_550; lean_object* x_551; lean_object* x_552; +x_550 = lean_ctor_get(x_525, 0); +x_551 = lean_ctor_get(x_525, 1); +lean_inc(x_551); +lean_inc(x_550); +lean_dec(x_525); +x_552 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_552, 0, x_550); +lean_ctor_set(x_552, 1, x_551); +return x_552; +} +} +} +else +{ +uint8_t x_553; +lean_dec(x_521); +lean_dec(x_520); +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_1); +x_553 = !lean_is_exclusive(x_522); +if (x_553 == 0) +{ +return x_522; +} +else +{ +lean_object* x_554; lean_object* x_555; lean_object* x_556; +x_554 = lean_ctor_get(x_522, 0); +x_555 = lean_ctor_get(x_522, 1); +lean_inc(x_555); +lean_inc(x_554); +lean_dec(x_522); +x_556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_556, 0, x_554); +lean_ctor_set(x_556, 1, x_555); +return x_556; +} +} +} +case 6: +{ +lean_object* x_557; lean_object* x_558; lean_object* x_559; uint8_t x_560; lean_object* x_561; +lean_free_object(x_515); +x_557 = lean_ctor_get(x_5, 0); +lean_inc(x_557); +x_558 = lean_ctor_get(x_5, 1); +lean_inc(x_558); +x_559 = lean_ctor_get(x_5, 2); +lean_inc(x_559); +x_560 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_dec(x_5); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_558); +lean_inc(x_1); +x_561 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_558, x_6, x_7, x_8, x_9, x_10, x_11, x_517); +if (lean_obj_tag(x_561) == 0) +{ +lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; +x_562 = lean_ctor_get(x_561, 0); +lean_inc(x_562); +x_563 = lean_ctor_get(x_561, 1); +lean_inc(x_563); +lean_dec(x_561); +x_564 = lean_nat_add(x_6, x_511); +lean_dec(x_6); +lean_inc(x_559); +x_565 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_559, x_564, x_7, x_8, x_9, x_10, x_11, x_563); +if (lean_obj_tag(x_565) == 0) +{ +uint8_t x_566; +x_566 = !lean_is_exclusive(x_565); +if (x_566 == 0) +{ +lean_object* x_567; lean_object* x_568; size_t x_569; size_t x_570; uint8_t x_571; +x_567 = lean_ctor_get(x_565, 0); +lean_inc(x_559); +lean_inc(x_558); +lean_inc(x_557); +x_568 = l_Lean_Expr_lam___override(x_557, x_558, x_559, x_560); +x_569 = lean_ptr_addr(x_558); +lean_dec(x_558); +x_570 = lean_ptr_addr(x_562); +x_571 = lean_usize_dec_eq(x_569, x_570); +if (x_571 == 0) +{ +lean_object* x_572; +lean_dec(x_568); +lean_dec(x_559); +x_572 = l_Lean_Expr_lam___override(x_557, x_562, x_567, x_560); +lean_ctor_set(x_565, 0, x_572); +return x_565; +} +else +{ +size_t x_573; size_t x_574; uint8_t x_575; +x_573 = lean_ptr_addr(x_559); +lean_dec(x_559); +x_574 = lean_ptr_addr(x_567); +x_575 = lean_usize_dec_eq(x_573, x_574); +if (x_575 == 0) +{ +lean_object* x_576; +lean_dec(x_568); +x_576 = l_Lean_Expr_lam___override(x_557, x_562, x_567, x_560); +lean_ctor_set(x_565, 0, x_576); +return x_565; +} +else +{ +uint8_t x_577; +x_577 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_560, x_560); +if (x_577 == 0) +{ +lean_object* x_578; +lean_dec(x_568); +x_578 = l_Lean_Expr_lam___override(x_557, x_562, x_567, x_560); +lean_ctor_set(x_565, 0, x_578); +return x_565; +} +else +{ +lean_dec(x_567); +lean_dec(x_562); +lean_dec(x_557); +lean_ctor_set(x_565, 0, x_568); +return x_565; +} +} +} +} +else +{ +lean_object* x_579; lean_object* x_580; lean_object* x_581; size_t x_582; size_t x_583; uint8_t x_584; +x_579 = lean_ctor_get(x_565, 0); +x_580 = lean_ctor_get(x_565, 1); +lean_inc(x_580); +lean_inc(x_579); +lean_dec(x_565); +lean_inc(x_559); +lean_inc(x_558); +lean_inc(x_557); +x_581 = l_Lean_Expr_lam___override(x_557, x_558, x_559, x_560); +x_582 = lean_ptr_addr(x_558); +lean_dec(x_558); +x_583 = lean_ptr_addr(x_562); +x_584 = lean_usize_dec_eq(x_582, x_583); +if (x_584 == 0) +{ +lean_object* x_585; lean_object* x_586; +lean_dec(x_581); +lean_dec(x_559); +x_585 = l_Lean_Expr_lam___override(x_557, x_562, x_579, x_560); +x_586 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_586, 0, x_585); +lean_ctor_set(x_586, 1, x_580); +return x_586; +} +else +{ +size_t x_587; size_t x_588; uint8_t x_589; +x_587 = lean_ptr_addr(x_559); +lean_dec(x_559); +x_588 = lean_ptr_addr(x_579); +x_589 = lean_usize_dec_eq(x_587, x_588); +if (x_589 == 0) +{ +lean_object* x_590; lean_object* x_591; +lean_dec(x_581); +x_590 = l_Lean_Expr_lam___override(x_557, x_562, x_579, x_560); +x_591 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_591, 0, x_590); +lean_ctor_set(x_591, 1, x_580); +return x_591; +} +else +{ +uint8_t x_592; +x_592 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_560, x_560); +if (x_592 == 0) +{ +lean_object* x_593; lean_object* x_594; +lean_dec(x_581); +x_593 = l_Lean_Expr_lam___override(x_557, x_562, x_579, x_560); +x_594 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_594, 0, x_593); +lean_ctor_set(x_594, 1, x_580); +return x_594; +} +else +{ +lean_object* x_595; +lean_dec(x_579); +lean_dec(x_562); +lean_dec(x_557); +x_595 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_595, 0, x_581); +lean_ctor_set(x_595, 1, x_580); +return x_595; +} +} +} +} +} +else +{ +uint8_t x_596; +lean_dec(x_562); +lean_dec(x_559); +lean_dec(x_558); +lean_dec(x_557); +x_596 = !lean_is_exclusive(x_565); +if (x_596 == 0) +{ +return x_565; +} +else +{ +lean_object* x_597; lean_object* x_598; lean_object* x_599; +x_597 = lean_ctor_get(x_565, 0); +x_598 = lean_ctor_get(x_565, 1); +lean_inc(x_598); +lean_inc(x_597); +lean_dec(x_565); +x_599 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_599, 0, x_597); +lean_ctor_set(x_599, 1, x_598); +return x_599; +} +} +} +else +{ +uint8_t x_600; +lean_dec(x_559); +lean_dec(x_558); +lean_dec(x_557); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_1); +x_600 = !lean_is_exclusive(x_561); +if (x_600 == 0) +{ +return x_561; +} +else +{ +lean_object* x_601; lean_object* x_602; lean_object* x_603; +x_601 = lean_ctor_get(x_561, 0); +x_602 = lean_ctor_get(x_561, 1); +lean_inc(x_602); +lean_inc(x_601); +lean_dec(x_561); +x_603 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_603, 0, x_601); +lean_ctor_set(x_603, 1, x_602); +return x_603; +} +} +} +case 7: +{ +lean_object* x_604; lean_object* x_605; lean_object* x_606; uint8_t x_607; lean_object* x_608; +lean_free_object(x_515); +x_604 = lean_ctor_get(x_5, 0); +lean_inc(x_604); +x_605 = lean_ctor_get(x_5, 1); +lean_inc(x_605); +x_606 = lean_ctor_get(x_5, 2); +lean_inc(x_606); +x_607 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_dec(x_5); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_605); +lean_inc(x_1); +x_608 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_605, x_6, x_7, x_8, x_9, x_10, x_11, x_517); +if (lean_obj_tag(x_608) == 0) +{ +lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; +x_609 = lean_ctor_get(x_608, 0); +lean_inc(x_609); +x_610 = lean_ctor_get(x_608, 1); +lean_inc(x_610); +lean_dec(x_608); +x_611 = lean_nat_add(x_6, x_511); +lean_dec(x_6); +lean_inc(x_606); +x_612 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_606, x_611, x_7, x_8, x_9, x_10, x_11, x_610); +if (lean_obj_tag(x_612) == 0) +{ +uint8_t x_613; +x_613 = !lean_is_exclusive(x_612); +if (x_613 == 0) +{ +lean_object* x_614; lean_object* x_615; size_t x_616; size_t x_617; uint8_t x_618; +x_614 = lean_ctor_get(x_612, 0); +lean_inc(x_606); +lean_inc(x_605); +lean_inc(x_604); +x_615 = l_Lean_Expr_forallE___override(x_604, x_605, x_606, x_607); +x_616 = lean_ptr_addr(x_605); +lean_dec(x_605); +x_617 = lean_ptr_addr(x_609); +x_618 = lean_usize_dec_eq(x_616, x_617); +if (x_618 == 0) +{ +lean_object* x_619; +lean_dec(x_615); +lean_dec(x_606); +x_619 = l_Lean_Expr_forallE___override(x_604, x_609, x_614, x_607); +lean_ctor_set(x_612, 0, x_619); +return x_612; +} +else +{ +size_t x_620; size_t x_621; uint8_t x_622; +x_620 = lean_ptr_addr(x_606); +lean_dec(x_606); +x_621 = lean_ptr_addr(x_614); +x_622 = lean_usize_dec_eq(x_620, x_621); +if (x_622 == 0) +{ +lean_object* x_623; +lean_dec(x_615); +x_623 = l_Lean_Expr_forallE___override(x_604, x_609, x_614, x_607); +lean_ctor_set(x_612, 0, x_623); +return x_612; +} +else +{ +uint8_t x_624; +x_624 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_607, x_607); +if (x_624 == 0) +{ +lean_object* x_625; +lean_dec(x_615); +x_625 = l_Lean_Expr_forallE___override(x_604, x_609, x_614, x_607); +lean_ctor_set(x_612, 0, x_625); +return x_612; +} +else +{ +lean_dec(x_614); +lean_dec(x_609); +lean_dec(x_604); +lean_ctor_set(x_612, 0, x_615); +return x_612; +} +} +} +} +else +{ +lean_object* x_626; lean_object* x_627; lean_object* x_628; size_t x_629; size_t x_630; uint8_t x_631; +x_626 = lean_ctor_get(x_612, 0); +x_627 = lean_ctor_get(x_612, 1); +lean_inc(x_627); +lean_inc(x_626); +lean_dec(x_612); +lean_inc(x_606); +lean_inc(x_605); +lean_inc(x_604); +x_628 = l_Lean_Expr_forallE___override(x_604, x_605, x_606, x_607); +x_629 = lean_ptr_addr(x_605); +lean_dec(x_605); +x_630 = lean_ptr_addr(x_609); +x_631 = lean_usize_dec_eq(x_629, x_630); +if (x_631 == 0) +{ +lean_object* x_632; lean_object* x_633; +lean_dec(x_628); +lean_dec(x_606); +x_632 = l_Lean_Expr_forallE___override(x_604, x_609, x_626, x_607); +x_633 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_633, 0, x_632); +lean_ctor_set(x_633, 1, x_627); +return x_633; +} +else +{ +size_t x_634; size_t x_635; uint8_t x_636; +x_634 = lean_ptr_addr(x_606); +lean_dec(x_606); +x_635 = lean_ptr_addr(x_626); +x_636 = lean_usize_dec_eq(x_634, x_635); +if (x_636 == 0) +{ +lean_object* x_637; lean_object* x_638; +lean_dec(x_628); +x_637 = l_Lean_Expr_forallE___override(x_604, x_609, x_626, x_607); +x_638 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_638, 0, x_637); +lean_ctor_set(x_638, 1, x_627); +return x_638; +} +else +{ +uint8_t x_639; +x_639 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_607, x_607); +if (x_639 == 0) +{ +lean_object* x_640; lean_object* x_641; +lean_dec(x_628); +x_640 = l_Lean_Expr_forallE___override(x_604, x_609, x_626, x_607); +x_641 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_641, 0, x_640); +lean_ctor_set(x_641, 1, x_627); +return x_641; +} +else +{ +lean_object* x_642; +lean_dec(x_626); +lean_dec(x_609); +lean_dec(x_604); +x_642 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_642, 0, x_628); +lean_ctor_set(x_642, 1, x_627); +return x_642; +} +} +} +} +} +else +{ +uint8_t x_643; +lean_dec(x_609); +lean_dec(x_606); +lean_dec(x_605); +lean_dec(x_604); +x_643 = !lean_is_exclusive(x_612); +if (x_643 == 0) +{ +return x_612; +} +else +{ +lean_object* x_644; lean_object* x_645; lean_object* x_646; +x_644 = lean_ctor_get(x_612, 0); +x_645 = lean_ctor_get(x_612, 1); +lean_inc(x_645); +lean_inc(x_644); +lean_dec(x_612); +x_646 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_646, 0, x_644); +lean_ctor_set(x_646, 1, x_645); +return x_646; +} +} +} +else +{ +uint8_t x_647; +lean_dec(x_606); +lean_dec(x_605); +lean_dec(x_604); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_1); +x_647 = !lean_is_exclusive(x_608); +if (x_647 == 0) +{ +return x_608; +} +else +{ +lean_object* x_648; lean_object* x_649; lean_object* x_650; +x_648 = lean_ctor_get(x_608, 0); +x_649 = lean_ctor_get(x_608, 1); +lean_inc(x_649); +lean_inc(x_648); +lean_dec(x_608); +x_650 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_650, 0, x_648); +lean_ctor_set(x_650, 1, x_649); +return x_650; +} +} +} +case 8: +{ +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_free_object(x_515); +x_651 = lean_ctor_get(x_5, 0); +lean_inc(x_651); +x_652 = lean_ctor_get(x_5, 1); +lean_inc(x_652); +x_653 = lean_ctor_get(x_5, 2); +lean_inc(x_653); +x_654 = lean_ctor_get(x_5, 3); +lean_inc(x_654); +x_655 = lean_ctor_get_uint8(x_5, sizeof(void*)*4 + 8); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_652); +lean_inc(x_1); +x_656 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_652, x_6, x_7, x_8, x_9, x_10, x_11, x_517); +if (lean_obj_tag(x_656) == 0) +{ +lean_object* x_657; lean_object* x_658; lean_object* x_659; +x_657 = lean_ctor_get(x_656, 0); +lean_inc(x_657); +x_658 = lean_ctor_get(x_656, 1); +lean_inc(x_658); +lean_dec(x_656); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_653); +lean_inc(x_1); +x_659 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_653, x_6, x_7, x_8, x_9, x_10, x_11, x_658); +if (lean_obj_tag(x_659) == 0) +{ +lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; +x_660 = lean_ctor_get(x_659, 0); +lean_inc(x_660); +x_661 = lean_ctor_get(x_659, 1); +lean_inc(x_661); +lean_dec(x_659); +x_662 = lean_nat_add(x_6, x_511); +lean_dec(x_6); +lean_inc(x_654); +x_663 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_654, x_662, x_7, x_8, x_9, x_10, x_11, x_661); +if (lean_obj_tag(x_663) == 0) +{ +uint8_t x_664; +x_664 = !lean_is_exclusive(x_663); +if (x_664 == 0) +{ +lean_object* x_665; size_t x_666; size_t x_667; uint8_t x_668; +x_665 = lean_ctor_get(x_663, 0); +x_666 = lean_ptr_addr(x_652); +lean_dec(x_652); +x_667 = lean_ptr_addr(x_657); +x_668 = lean_usize_dec_eq(x_666, x_667); +if (x_668 == 0) +{ +lean_object* x_669; +lean_dec(x_654); +lean_dec(x_653); +lean_dec(x_5); +x_669 = l_Lean_Expr_letE___override(x_651, x_657, x_660, x_665, x_655); +lean_ctor_set(x_663, 0, x_669); +return x_663; +} +else +{ +size_t x_670; size_t x_671; uint8_t x_672; +x_670 = lean_ptr_addr(x_653); +lean_dec(x_653); +x_671 = lean_ptr_addr(x_660); +x_672 = lean_usize_dec_eq(x_670, x_671); +if (x_672 == 0) +{ +lean_object* x_673; +lean_dec(x_654); +lean_dec(x_5); +x_673 = l_Lean_Expr_letE___override(x_651, x_657, x_660, x_665, x_655); +lean_ctor_set(x_663, 0, x_673); +return x_663; +} +else +{ +size_t x_674; size_t x_675; uint8_t x_676; +x_674 = lean_ptr_addr(x_654); +lean_dec(x_654); +x_675 = lean_ptr_addr(x_665); +x_676 = lean_usize_dec_eq(x_674, x_675); +if (x_676 == 0) +{ +lean_object* x_677; +lean_dec(x_5); +x_677 = l_Lean_Expr_letE___override(x_651, x_657, x_660, x_665, x_655); +lean_ctor_set(x_663, 0, x_677); +return x_663; +} +else +{ +lean_dec(x_665); +lean_dec(x_660); +lean_dec(x_657); +lean_dec(x_651); +lean_ctor_set(x_663, 0, x_5); +return x_663; +} +} +} +} +else +{ +lean_object* x_678; lean_object* x_679; size_t x_680; size_t x_681; uint8_t x_682; +x_678 = lean_ctor_get(x_663, 0); +x_679 = lean_ctor_get(x_663, 1); +lean_inc(x_679); +lean_inc(x_678); +lean_dec(x_663); +x_680 = lean_ptr_addr(x_652); +lean_dec(x_652); +x_681 = lean_ptr_addr(x_657); +x_682 = lean_usize_dec_eq(x_680, x_681); +if (x_682 == 0) +{ +lean_object* x_683; lean_object* x_684; +lean_dec(x_654); +lean_dec(x_653); +lean_dec(x_5); +x_683 = l_Lean_Expr_letE___override(x_651, x_657, x_660, x_678, x_655); +x_684 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_684, 0, x_683); +lean_ctor_set(x_684, 1, x_679); +return x_684; +} +else +{ +size_t x_685; size_t x_686; uint8_t x_687; +x_685 = lean_ptr_addr(x_653); +lean_dec(x_653); +x_686 = lean_ptr_addr(x_660); +x_687 = lean_usize_dec_eq(x_685, x_686); +if (x_687 == 0) +{ +lean_object* x_688; lean_object* x_689; +lean_dec(x_654); +lean_dec(x_5); +x_688 = l_Lean_Expr_letE___override(x_651, x_657, x_660, x_678, x_655); +x_689 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_689, 0, x_688); +lean_ctor_set(x_689, 1, x_679); +return x_689; +} +else +{ +size_t x_690; size_t x_691; uint8_t x_692; +x_690 = lean_ptr_addr(x_654); +lean_dec(x_654); +x_691 = lean_ptr_addr(x_678); +x_692 = lean_usize_dec_eq(x_690, x_691); +if (x_692 == 0) +{ +lean_object* x_693; lean_object* x_694; +lean_dec(x_5); +x_693 = l_Lean_Expr_letE___override(x_651, x_657, x_660, x_678, x_655); +x_694 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_694, 0, x_693); +lean_ctor_set(x_694, 1, x_679); +return x_694; +} +else +{ +lean_object* x_695; +lean_dec(x_678); +lean_dec(x_660); +lean_dec(x_657); +lean_dec(x_651); +x_695 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_695, 0, x_5); +lean_ctor_set(x_695, 1, x_679); +return x_695; +} +} +} +} +} +else +{ +uint8_t x_696; +lean_dec(x_660); +lean_dec(x_657); +lean_dec(x_654); +lean_dec(x_653); +lean_dec(x_652); +lean_dec(x_651); +lean_dec(x_5); +x_696 = !lean_is_exclusive(x_663); +if (x_696 == 0) +{ +return x_663; +} +else +{ +lean_object* x_697; lean_object* x_698; lean_object* x_699; +x_697 = lean_ctor_get(x_663, 0); +x_698 = lean_ctor_get(x_663, 1); +lean_inc(x_698); +lean_inc(x_697); +lean_dec(x_663); +x_699 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_699, 0, x_697); +lean_ctor_set(x_699, 1, x_698); +return x_699; +} +} +} +else +{ +uint8_t x_700; +lean_dec(x_657); +lean_dec(x_654); +lean_dec(x_653); +lean_dec(x_652); +lean_dec(x_651); +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_1); +x_700 = !lean_is_exclusive(x_659); +if (x_700 == 0) +{ +return x_659; +} +else +{ +lean_object* x_701; lean_object* x_702; lean_object* x_703; +x_701 = lean_ctor_get(x_659, 0); +x_702 = lean_ctor_get(x_659, 1); +lean_inc(x_702); +lean_inc(x_701); +lean_dec(x_659); +x_703 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_703, 0, x_701); +lean_ctor_set(x_703, 1, x_702); +return x_703; +} +} +} +else +{ +uint8_t x_704; +lean_dec(x_654); +lean_dec(x_653); +lean_dec(x_652); +lean_dec(x_651); +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_1); +x_704 = !lean_is_exclusive(x_656); +if (x_704 == 0) +{ +return x_656; +} +else +{ +lean_object* x_705; lean_object* x_706; lean_object* x_707; +x_705 = lean_ctor_get(x_656, 0); +x_706 = lean_ctor_get(x_656, 1); +lean_inc(x_706); +lean_inc(x_705); +lean_dec(x_656); +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; +} +} +} +case 10: +{ +lean_object* x_708; lean_object* x_709; lean_object* x_710; +lean_free_object(x_515); +x_708 = lean_ctor_get(x_5, 0); +lean_inc(x_708); +x_709 = lean_ctor_get(x_5, 1); +lean_inc(x_709); +lean_inc(x_709); +x_710 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_709, x_6, x_7, x_8, x_9, x_10, x_11, x_517); +if (lean_obj_tag(x_710) == 0) +{ +uint8_t x_711; +x_711 = !lean_is_exclusive(x_710); +if (x_711 == 0) +{ +lean_object* x_712; size_t x_713; size_t x_714; uint8_t x_715; +x_712 = lean_ctor_get(x_710, 0); +x_713 = lean_ptr_addr(x_709); +lean_dec(x_709); +x_714 = lean_ptr_addr(x_712); +x_715 = lean_usize_dec_eq(x_713, x_714); +if (x_715 == 0) +{ +lean_object* x_716; +lean_dec(x_5); +x_716 = l_Lean_Expr_mdata___override(x_708, x_712); +lean_ctor_set(x_710, 0, x_716); +return x_710; +} +else +{ +lean_dec(x_712); +lean_dec(x_708); +lean_ctor_set(x_710, 0, x_5); +return x_710; +} +} +else +{ +lean_object* x_717; lean_object* x_718; size_t x_719; size_t x_720; uint8_t x_721; +x_717 = lean_ctor_get(x_710, 0); +x_718 = lean_ctor_get(x_710, 1); +lean_inc(x_718); +lean_inc(x_717); +lean_dec(x_710); +x_719 = lean_ptr_addr(x_709); +lean_dec(x_709); +x_720 = lean_ptr_addr(x_717); +x_721 = lean_usize_dec_eq(x_719, x_720); +if (x_721 == 0) +{ +lean_object* x_722; lean_object* x_723; +lean_dec(x_5); +x_722 = l_Lean_Expr_mdata___override(x_708, x_717); +x_723 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_723, 0, x_722); +lean_ctor_set(x_723, 1, x_718); +return x_723; +} +else +{ +lean_object* x_724; +lean_dec(x_717); +lean_dec(x_708); +x_724 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_724, 0, x_5); +lean_ctor_set(x_724, 1, x_718); +return x_724; +} +} +} +else +{ +uint8_t x_725; +lean_dec(x_709); +lean_dec(x_708); +lean_dec(x_5); +x_725 = !lean_is_exclusive(x_710); +if (x_725 == 0) +{ +return x_710; +} +else +{ +lean_object* x_726; lean_object* x_727; lean_object* x_728; +x_726 = lean_ctor_get(x_710, 0); +x_727 = lean_ctor_get(x_710, 1); +lean_inc(x_727); +lean_inc(x_726); +lean_dec(x_710); +x_728 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_728, 0, x_726); +lean_ctor_set(x_728, 1, x_727); +return x_728; +} +} +} +case 11: +{ +lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; +lean_free_object(x_515); +x_729 = lean_ctor_get(x_5, 0); +lean_inc(x_729); +x_730 = lean_ctor_get(x_5, 1); +lean_inc(x_730); +x_731 = lean_ctor_get(x_5, 2); +lean_inc(x_731); +lean_inc(x_731); +x_732 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_731, x_6, x_7, x_8, x_9, x_10, x_11, x_517); +if (lean_obj_tag(x_732) == 0) +{ +uint8_t x_733; +x_733 = !lean_is_exclusive(x_732); +if (x_733 == 0) +{ +lean_object* x_734; size_t x_735; size_t x_736; uint8_t x_737; +x_734 = lean_ctor_get(x_732, 0); +x_735 = lean_ptr_addr(x_731); +lean_dec(x_731); +x_736 = lean_ptr_addr(x_734); +x_737 = lean_usize_dec_eq(x_735, x_736); +if (x_737 == 0) +{ +lean_object* x_738; +lean_dec(x_5); +x_738 = l_Lean_Expr_proj___override(x_729, x_730, x_734); +lean_ctor_set(x_732, 0, x_738); +return x_732; +} +else +{ +lean_dec(x_734); +lean_dec(x_730); +lean_dec(x_729); +lean_ctor_set(x_732, 0, x_5); +return x_732; +} +} +else +{ +lean_object* x_739; lean_object* x_740; size_t x_741; size_t x_742; uint8_t x_743; +x_739 = lean_ctor_get(x_732, 0); +x_740 = lean_ctor_get(x_732, 1); +lean_inc(x_740); +lean_inc(x_739); +lean_dec(x_732); +x_741 = lean_ptr_addr(x_731); +lean_dec(x_731); +x_742 = lean_ptr_addr(x_739); +x_743 = lean_usize_dec_eq(x_741, x_742); +if (x_743 == 0) +{ +lean_object* x_744; lean_object* x_745; +lean_dec(x_5); +x_744 = l_Lean_Expr_proj___override(x_729, x_730, x_739); +x_745 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_745, 0, x_744); +lean_ctor_set(x_745, 1, x_740); +return x_745; +} +else +{ +lean_object* x_746; +lean_dec(x_739); +lean_dec(x_730); +lean_dec(x_729); +x_746 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_746, 0, x_5); +lean_ctor_set(x_746, 1, x_740); +return x_746; +} +} +} +else +{ +uint8_t x_747; +lean_dec(x_731); +lean_dec(x_730); +lean_dec(x_729); +lean_dec(x_5); +x_747 = !lean_is_exclusive(x_732); +if (x_747 == 0) +{ +return x_732; +} +else +{ +lean_object* x_748; lean_object* x_749; lean_object* x_750; +x_748 = lean_ctor_get(x_732, 0); +x_749 = lean_ctor_get(x_732, 1); +lean_inc(x_749); +lean_inc(x_748); +lean_dec(x_732); +x_750 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_750, 0, x_748); +lean_ctor_set(x_750, 1, x_749); +return x_750; +} +} +} +default: +{ +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_1); +lean_ctor_set(x_515, 0, x_5); +return x_515; +} +} +} +else +{ +lean_object* x_751; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_1); +x_751 = l_Lean_Expr_bvar___override(x_6); +lean_ctor_set(x_515, 0, x_751); +return x_515; +} +} +else +{ +lean_object* x_752; uint8_t x_753; +x_752 = lean_ctor_get(x_515, 1); +lean_inc(x_752); +lean_dec(x_515); +x_753 = l_Lean_Occurrences_contains(x_2, x_509); +lean_dec(x_509); +if (x_753 == 0) +{ +switch (lean_obj_tag(x_5)) { +case 5: +{ +lean_object* x_754; lean_object* x_755; lean_object* x_756; +x_754 = lean_ctor_get(x_5, 0); +lean_inc(x_754); +x_755 = lean_ctor_get(x_5, 1); +lean_inc(x_755); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_754); +lean_inc(x_1); +x_756 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_754, x_6, x_7, x_8, x_9, x_10, x_11, x_752); +if (lean_obj_tag(x_756) == 0) +{ +lean_object* x_757; lean_object* x_758; lean_object* x_759; +x_757 = lean_ctor_get(x_756, 0); +lean_inc(x_757); +x_758 = lean_ctor_get(x_756, 1); +lean_inc(x_758); +lean_dec(x_756); +lean_inc(x_755); +x_759 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_755, x_6, x_7, x_8, x_9, x_10, x_11, x_758); +if (lean_obj_tag(x_759) == 0) +{ +lean_object* x_760; lean_object* x_761; lean_object* x_762; size_t x_763; size_t x_764; uint8_t x_765; +x_760 = lean_ctor_get(x_759, 0); +lean_inc(x_760); +x_761 = lean_ctor_get(x_759, 1); +lean_inc(x_761); +if (lean_is_exclusive(x_759)) { + lean_ctor_release(x_759, 0); + lean_ctor_release(x_759, 1); + x_762 = x_759; +} else { + lean_dec_ref(x_759); + x_762 = lean_box(0); +} +x_763 = lean_ptr_addr(x_754); +lean_dec(x_754); +x_764 = lean_ptr_addr(x_757); +x_765 = lean_usize_dec_eq(x_763, x_764); +if (x_765 == 0) +{ +lean_object* x_766; lean_object* x_767; +lean_dec(x_755); +lean_dec(x_5); +x_766 = l_Lean_Expr_app___override(x_757, x_760); +if (lean_is_scalar(x_762)) { + x_767 = lean_alloc_ctor(0, 2, 0); +} else { + x_767 = x_762; +} +lean_ctor_set(x_767, 0, x_766); +lean_ctor_set(x_767, 1, x_761); +return x_767; +} +else +{ +size_t x_768; size_t x_769; uint8_t x_770; +x_768 = lean_ptr_addr(x_755); +lean_dec(x_755); +x_769 = lean_ptr_addr(x_760); +x_770 = lean_usize_dec_eq(x_768, x_769); +if (x_770 == 0) +{ +lean_object* x_771; lean_object* x_772; +lean_dec(x_5); +x_771 = l_Lean_Expr_app___override(x_757, x_760); +if (lean_is_scalar(x_762)) { + x_772 = lean_alloc_ctor(0, 2, 0); +} else { + x_772 = x_762; +} +lean_ctor_set(x_772, 0, x_771); +lean_ctor_set(x_772, 1, x_761); +return x_772; +} +else +{ +lean_object* x_773; +lean_dec(x_760); +lean_dec(x_757); +if (lean_is_scalar(x_762)) { + x_773 = lean_alloc_ctor(0, 2, 0); +} else { + x_773 = x_762; +} +lean_ctor_set(x_773, 0, x_5); +lean_ctor_set(x_773, 1, x_761); +return x_773; +} +} +} +else +{ +lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; +lean_dec(x_757); +lean_dec(x_755); +lean_dec(x_754); +lean_dec(x_5); +x_774 = lean_ctor_get(x_759, 0); +lean_inc(x_774); +x_775 = lean_ctor_get(x_759, 1); +lean_inc(x_775); +if (lean_is_exclusive(x_759)) { + lean_ctor_release(x_759, 0); + lean_ctor_release(x_759, 1); + x_776 = x_759; +} else { + lean_dec_ref(x_759); + x_776 = lean_box(0); +} +if (lean_is_scalar(x_776)) { + x_777 = lean_alloc_ctor(1, 2, 0); +} else { + x_777 = x_776; +} +lean_ctor_set(x_777, 0, x_774); +lean_ctor_set(x_777, 1, x_775); +return x_777; +} +} +else +{ +lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; +lean_dec(x_755); +lean_dec(x_754); +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_1); +x_778 = lean_ctor_get(x_756, 0); +lean_inc(x_778); +x_779 = lean_ctor_get(x_756, 1); +lean_inc(x_779); +if (lean_is_exclusive(x_756)) { + lean_ctor_release(x_756, 0); + lean_ctor_release(x_756, 1); + x_780 = x_756; +} else { + lean_dec_ref(x_756); + x_780 = lean_box(0); +} +if (lean_is_scalar(x_780)) { + x_781 = lean_alloc_ctor(1, 2, 0); +} else { + x_781 = x_780; +} +lean_ctor_set(x_781, 0, x_778); +lean_ctor_set(x_781, 1, x_779); +return x_781; +} +} +case 6: +{ +lean_object* x_782; lean_object* x_783; lean_object* x_784; uint8_t x_785; lean_object* x_786; +x_782 = lean_ctor_get(x_5, 0); +lean_inc(x_782); +x_783 = lean_ctor_get(x_5, 1); +lean_inc(x_783); +x_784 = lean_ctor_get(x_5, 2); +lean_inc(x_784); +x_785 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_dec(x_5); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_783); +lean_inc(x_1); +x_786 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_783, x_6, x_7, x_8, x_9, x_10, x_11, x_752); +if (lean_obj_tag(x_786) == 0) +{ +lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; +x_787 = lean_ctor_get(x_786, 0); +lean_inc(x_787); +x_788 = lean_ctor_get(x_786, 1); +lean_inc(x_788); +lean_dec(x_786); +x_789 = lean_nat_add(x_6, x_511); +lean_dec(x_6); +lean_inc(x_784); +x_790 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_784, x_789, x_7, x_8, x_9, x_10, x_11, x_788); +if (lean_obj_tag(x_790) == 0) +{ +lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; size_t x_795; size_t x_796; uint8_t x_797; +x_791 = lean_ctor_get(x_790, 0); +lean_inc(x_791); +x_792 = lean_ctor_get(x_790, 1); +lean_inc(x_792); +if (lean_is_exclusive(x_790)) { + lean_ctor_release(x_790, 0); + lean_ctor_release(x_790, 1); + x_793 = x_790; +} else { + lean_dec_ref(x_790); + x_793 = lean_box(0); +} +lean_inc(x_784); +lean_inc(x_783); +lean_inc(x_782); +x_794 = l_Lean_Expr_lam___override(x_782, x_783, x_784, x_785); +x_795 = lean_ptr_addr(x_783); +lean_dec(x_783); +x_796 = lean_ptr_addr(x_787); +x_797 = lean_usize_dec_eq(x_795, x_796); +if (x_797 == 0) +{ +lean_object* x_798; lean_object* x_799; +lean_dec(x_794); +lean_dec(x_784); +x_798 = l_Lean_Expr_lam___override(x_782, x_787, x_791, x_785); +if (lean_is_scalar(x_793)) { + x_799 = lean_alloc_ctor(0, 2, 0); +} else { + x_799 = x_793; +} +lean_ctor_set(x_799, 0, x_798); +lean_ctor_set(x_799, 1, x_792); +return x_799; +} +else +{ +size_t x_800; size_t x_801; uint8_t x_802; +x_800 = lean_ptr_addr(x_784); +lean_dec(x_784); +x_801 = lean_ptr_addr(x_791); +x_802 = lean_usize_dec_eq(x_800, x_801); +if (x_802 == 0) +{ +lean_object* x_803; lean_object* x_804; +lean_dec(x_794); +x_803 = l_Lean_Expr_lam___override(x_782, x_787, x_791, x_785); +if (lean_is_scalar(x_793)) { + x_804 = lean_alloc_ctor(0, 2, 0); +} else { + x_804 = x_793; +} +lean_ctor_set(x_804, 0, x_803); +lean_ctor_set(x_804, 1, x_792); +return x_804; +} +else +{ +uint8_t x_805; +x_805 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_785, x_785); +if (x_805 == 0) +{ +lean_object* x_806; lean_object* x_807; +lean_dec(x_794); +x_806 = l_Lean_Expr_lam___override(x_782, x_787, x_791, x_785); +if (lean_is_scalar(x_793)) { + x_807 = lean_alloc_ctor(0, 2, 0); +} else { + x_807 = x_793; +} +lean_ctor_set(x_807, 0, x_806); +lean_ctor_set(x_807, 1, x_792); +return x_807; +} +else +{ +lean_object* x_808; +lean_dec(x_791); +lean_dec(x_787); +lean_dec(x_782); +if (lean_is_scalar(x_793)) { + x_808 = lean_alloc_ctor(0, 2, 0); +} else { + x_808 = x_793; +} +lean_ctor_set(x_808, 0, x_794); +lean_ctor_set(x_808, 1, x_792); +return x_808; +} +} +} +} +else +{ +lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; +lean_dec(x_787); +lean_dec(x_784); +lean_dec(x_783); +lean_dec(x_782); +x_809 = lean_ctor_get(x_790, 0); +lean_inc(x_809); +x_810 = lean_ctor_get(x_790, 1); +lean_inc(x_810); +if (lean_is_exclusive(x_790)) { + lean_ctor_release(x_790, 0); + lean_ctor_release(x_790, 1); + x_811 = x_790; +} else { + lean_dec_ref(x_790); + x_811 = lean_box(0); +} +if (lean_is_scalar(x_811)) { + x_812 = lean_alloc_ctor(1, 2, 0); +} else { + x_812 = x_811; +} +lean_ctor_set(x_812, 0, x_809); +lean_ctor_set(x_812, 1, x_810); +return x_812; +} +} +else +{ +lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; +lean_dec(x_784); +lean_dec(x_783); +lean_dec(x_782); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_1); +x_813 = lean_ctor_get(x_786, 0); +lean_inc(x_813); +x_814 = lean_ctor_get(x_786, 1); +lean_inc(x_814); +if (lean_is_exclusive(x_786)) { + lean_ctor_release(x_786, 0); + lean_ctor_release(x_786, 1); + x_815 = x_786; +} else { + lean_dec_ref(x_786); + x_815 = lean_box(0); +} +if (lean_is_scalar(x_815)) { + x_816 = lean_alloc_ctor(1, 2, 0); +} else { + x_816 = x_815; +} +lean_ctor_set(x_816, 0, x_813); +lean_ctor_set(x_816, 1, x_814); +return x_816; +} +} +case 7: +{ +lean_object* x_817; lean_object* x_818; lean_object* x_819; uint8_t x_820; lean_object* x_821; +x_817 = lean_ctor_get(x_5, 0); +lean_inc(x_817); +x_818 = lean_ctor_get(x_5, 1); +lean_inc(x_818); +x_819 = lean_ctor_get(x_5, 2); +lean_inc(x_819); +x_820 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_dec(x_5); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_818); +lean_inc(x_1); +x_821 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_818, x_6, x_7, x_8, x_9, x_10, x_11, x_752); +if (lean_obj_tag(x_821) == 0) +{ +lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; +x_822 = lean_ctor_get(x_821, 0); +lean_inc(x_822); +x_823 = lean_ctor_get(x_821, 1); +lean_inc(x_823); +lean_dec(x_821); +x_824 = lean_nat_add(x_6, x_511); +lean_dec(x_6); +lean_inc(x_819); +x_825 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_819, x_824, x_7, x_8, x_9, x_10, x_11, x_823); +if (lean_obj_tag(x_825) == 0) +{ +lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; size_t x_830; size_t x_831; uint8_t x_832; +x_826 = lean_ctor_get(x_825, 0); +lean_inc(x_826); +x_827 = lean_ctor_get(x_825, 1); +lean_inc(x_827); +if (lean_is_exclusive(x_825)) { + lean_ctor_release(x_825, 0); + lean_ctor_release(x_825, 1); + x_828 = x_825; +} else { + lean_dec_ref(x_825); + x_828 = lean_box(0); +} +lean_inc(x_819); +lean_inc(x_818); +lean_inc(x_817); +x_829 = l_Lean_Expr_forallE___override(x_817, x_818, x_819, x_820); +x_830 = lean_ptr_addr(x_818); +lean_dec(x_818); +x_831 = lean_ptr_addr(x_822); +x_832 = lean_usize_dec_eq(x_830, x_831); +if (x_832 == 0) +{ +lean_object* x_833; lean_object* x_834; +lean_dec(x_829); +lean_dec(x_819); +x_833 = l_Lean_Expr_forallE___override(x_817, x_822, x_826, x_820); +if (lean_is_scalar(x_828)) { + x_834 = lean_alloc_ctor(0, 2, 0); +} else { + x_834 = x_828; +} +lean_ctor_set(x_834, 0, x_833); +lean_ctor_set(x_834, 1, x_827); +return x_834; +} +else +{ +size_t x_835; size_t x_836; uint8_t x_837; +x_835 = lean_ptr_addr(x_819); +lean_dec(x_819); +x_836 = lean_ptr_addr(x_826); +x_837 = lean_usize_dec_eq(x_835, x_836); +if (x_837 == 0) +{ +lean_object* x_838; lean_object* x_839; +lean_dec(x_829); +x_838 = l_Lean_Expr_forallE___override(x_817, x_822, x_826, x_820); +if (lean_is_scalar(x_828)) { + x_839 = lean_alloc_ctor(0, 2, 0); +} else { + x_839 = x_828; +} +lean_ctor_set(x_839, 0, x_838); +lean_ctor_set(x_839, 1, x_827); +return x_839; +} +else +{ +uint8_t x_840; +x_840 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_820, x_820); +if (x_840 == 0) +{ +lean_object* x_841; lean_object* x_842; +lean_dec(x_829); +x_841 = l_Lean_Expr_forallE___override(x_817, x_822, x_826, x_820); +if (lean_is_scalar(x_828)) { + x_842 = lean_alloc_ctor(0, 2, 0); +} else { + x_842 = x_828; +} +lean_ctor_set(x_842, 0, x_841); +lean_ctor_set(x_842, 1, x_827); +return x_842; +} +else +{ +lean_object* x_843; +lean_dec(x_826); +lean_dec(x_822); +lean_dec(x_817); +if (lean_is_scalar(x_828)) { + x_843 = lean_alloc_ctor(0, 2, 0); +} else { + x_843 = x_828; +} +lean_ctor_set(x_843, 0, x_829); +lean_ctor_set(x_843, 1, x_827); +return x_843; +} +} +} +} +else +{ +lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; +lean_dec(x_822); +lean_dec(x_819); +lean_dec(x_818); +lean_dec(x_817); +x_844 = lean_ctor_get(x_825, 0); +lean_inc(x_844); +x_845 = lean_ctor_get(x_825, 1); +lean_inc(x_845); +if (lean_is_exclusive(x_825)) { + lean_ctor_release(x_825, 0); + lean_ctor_release(x_825, 1); + x_846 = x_825; +} else { + lean_dec_ref(x_825); + x_846 = lean_box(0); +} +if (lean_is_scalar(x_846)) { + x_847 = lean_alloc_ctor(1, 2, 0); +} else { + x_847 = x_846; +} +lean_ctor_set(x_847, 0, x_844); +lean_ctor_set(x_847, 1, x_845); +return x_847; +} +} +else +{ +lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; +lean_dec(x_819); +lean_dec(x_818); +lean_dec(x_817); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_1); +x_848 = lean_ctor_get(x_821, 0); +lean_inc(x_848); +x_849 = lean_ctor_get(x_821, 1); +lean_inc(x_849); +if (lean_is_exclusive(x_821)) { + lean_ctor_release(x_821, 0); + lean_ctor_release(x_821, 1); + x_850 = x_821; +} else { + lean_dec_ref(x_821); + x_850 = lean_box(0); +} +if (lean_is_scalar(x_850)) { + x_851 = lean_alloc_ctor(1, 2, 0); +} else { + x_851 = x_850; +} +lean_ctor_set(x_851, 0, x_848); +lean_ctor_set(x_851, 1, x_849); +return x_851; +} +} +case 8: +{ +lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; uint8_t x_856; lean_object* x_857; +x_852 = lean_ctor_get(x_5, 0); +lean_inc(x_852); +x_853 = lean_ctor_get(x_5, 1); +lean_inc(x_853); +x_854 = lean_ctor_get(x_5, 2); +lean_inc(x_854); +x_855 = lean_ctor_get(x_5, 3); +lean_inc(x_855); +x_856 = lean_ctor_get_uint8(x_5, sizeof(void*)*4 + 8); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_853); +lean_inc(x_1); +x_857 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_853, x_6, x_7, x_8, x_9, x_10, x_11, x_752); +if (lean_obj_tag(x_857) == 0) +{ +lean_object* x_858; lean_object* x_859; lean_object* x_860; +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); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_6); +lean_inc(x_854); +lean_inc(x_1); +x_860 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_854, x_6, x_7, x_8, x_9, x_10, x_11, x_859); +if (lean_obj_tag(x_860) == 0) +{ +lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; +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 = lean_nat_add(x_6, x_511); +lean_dec(x_6); +lean_inc(x_855); +x_864 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_855, x_863, x_7, x_8, x_9, x_10, x_11, x_862); +if (lean_obj_tag(x_864) == 0) +{ +lean_object* x_865; lean_object* x_866; lean_object* x_867; size_t x_868; size_t x_869; uint8_t x_870; +x_865 = lean_ctor_get(x_864, 0); +lean_inc(x_865); +x_866 = lean_ctor_get(x_864, 1); +lean_inc(x_866); +if (lean_is_exclusive(x_864)) { + lean_ctor_release(x_864, 0); + lean_ctor_release(x_864, 1); + x_867 = x_864; +} else { + lean_dec_ref(x_864); + x_867 = lean_box(0); +} +x_868 = lean_ptr_addr(x_853); +lean_dec(x_853); +x_869 = lean_ptr_addr(x_858); +x_870 = lean_usize_dec_eq(x_868, x_869); +if (x_870 == 0) +{ +lean_object* x_871; lean_object* x_872; +lean_dec(x_855); +lean_dec(x_854); +lean_dec(x_5); +x_871 = l_Lean_Expr_letE___override(x_852, x_858, x_861, x_865, x_856); +if (lean_is_scalar(x_867)) { + x_872 = lean_alloc_ctor(0, 2, 0); +} else { + x_872 = x_867; +} +lean_ctor_set(x_872, 0, x_871); +lean_ctor_set(x_872, 1, x_866); +return x_872; +} +else +{ +size_t x_873; size_t x_874; uint8_t x_875; +x_873 = lean_ptr_addr(x_854); +lean_dec(x_854); +x_874 = lean_ptr_addr(x_861); +x_875 = lean_usize_dec_eq(x_873, x_874); +if (x_875 == 0) +{ +lean_object* x_876; lean_object* x_877; +lean_dec(x_855); +lean_dec(x_5); +x_876 = l_Lean_Expr_letE___override(x_852, x_858, x_861, x_865, x_856); +if (lean_is_scalar(x_867)) { + x_877 = lean_alloc_ctor(0, 2, 0); +} else { + x_877 = x_867; +} +lean_ctor_set(x_877, 0, x_876); +lean_ctor_set(x_877, 1, x_866); +return x_877; +} +else +{ +size_t x_878; size_t x_879; uint8_t x_880; +x_878 = lean_ptr_addr(x_855); +lean_dec(x_855); +x_879 = lean_ptr_addr(x_865); +x_880 = lean_usize_dec_eq(x_878, x_879); +if (x_880 == 0) +{ +lean_object* x_881; lean_object* x_882; +lean_dec(x_5); +x_881 = l_Lean_Expr_letE___override(x_852, x_858, x_861, x_865, x_856); +if (lean_is_scalar(x_867)) { + x_882 = lean_alloc_ctor(0, 2, 0); +} else { + x_882 = x_867; +} +lean_ctor_set(x_882, 0, x_881); +lean_ctor_set(x_882, 1, x_866); +return x_882; +} +else +{ +lean_object* x_883; +lean_dec(x_865); +lean_dec(x_861); +lean_dec(x_858); +lean_dec(x_852); +if (lean_is_scalar(x_867)) { + x_883 = lean_alloc_ctor(0, 2, 0); +} else { + x_883 = x_867; +} +lean_ctor_set(x_883, 0, x_5); +lean_ctor_set(x_883, 1, x_866); +return x_883; +} +} +} +} +else +{ +lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; +lean_dec(x_861); +lean_dec(x_858); +lean_dec(x_855); +lean_dec(x_854); +lean_dec(x_853); +lean_dec(x_852); +lean_dec(x_5); +x_884 = lean_ctor_get(x_864, 0); +lean_inc(x_884); +x_885 = lean_ctor_get(x_864, 1); +lean_inc(x_885); +if (lean_is_exclusive(x_864)) { + lean_ctor_release(x_864, 0); + lean_ctor_release(x_864, 1); + x_886 = x_864; +} else { + lean_dec_ref(x_864); + x_886 = lean_box(0); +} +if (lean_is_scalar(x_886)) { + x_887 = lean_alloc_ctor(1, 2, 0); +} else { + x_887 = x_886; +} +lean_ctor_set(x_887, 0, x_884); +lean_ctor_set(x_887, 1, x_885); +return x_887; +} +} +else +{ +lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; +lean_dec(x_858); +lean_dec(x_855); +lean_dec(x_854); +lean_dec(x_853); +lean_dec(x_852); +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_1); +x_888 = lean_ctor_get(x_860, 0); +lean_inc(x_888); +x_889 = lean_ctor_get(x_860, 1); +lean_inc(x_889); +if (lean_is_exclusive(x_860)) { + lean_ctor_release(x_860, 0); + lean_ctor_release(x_860, 1); + x_890 = x_860; +} else { + lean_dec_ref(x_860); + x_890 = lean_box(0); +} +if (lean_is_scalar(x_890)) { + x_891 = lean_alloc_ctor(1, 2, 0); +} else { + x_891 = x_890; +} +lean_ctor_set(x_891, 0, x_888); +lean_ctor_set(x_891, 1, x_889); +return x_891; +} +} +else +{ +lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; +lean_dec(x_855); +lean_dec(x_854); +lean_dec(x_853); +lean_dec(x_852); +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_1); +x_892 = lean_ctor_get(x_857, 0); +lean_inc(x_892); +x_893 = lean_ctor_get(x_857, 1); +lean_inc(x_893); +if (lean_is_exclusive(x_857)) { + lean_ctor_release(x_857, 0); + lean_ctor_release(x_857, 1); + x_894 = x_857; +} else { + lean_dec_ref(x_857); + x_894 = lean_box(0); +} +if (lean_is_scalar(x_894)) { + x_895 = lean_alloc_ctor(1, 2, 0); +} else { + x_895 = x_894; +} +lean_ctor_set(x_895, 0, x_892); +lean_ctor_set(x_895, 1, x_893); +return x_895; +} +} +case 10: +{ +lean_object* x_896; lean_object* x_897; lean_object* x_898; +x_896 = lean_ctor_get(x_5, 0); +lean_inc(x_896); +x_897 = lean_ctor_get(x_5, 1); +lean_inc(x_897); +lean_inc(x_897); +x_898 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_897, x_6, x_7, x_8, x_9, x_10, x_11, x_752); +if (lean_obj_tag(x_898) == 0) +{ +lean_object* x_899; lean_object* x_900; lean_object* x_901; size_t x_902; size_t x_903; uint8_t x_904; +x_899 = lean_ctor_get(x_898, 0); +lean_inc(x_899); +x_900 = lean_ctor_get(x_898, 1); +lean_inc(x_900); +if (lean_is_exclusive(x_898)) { + lean_ctor_release(x_898, 0); + lean_ctor_release(x_898, 1); + x_901 = x_898; +} else { + lean_dec_ref(x_898); + x_901 = lean_box(0); +} +x_902 = lean_ptr_addr(x_897); +lean_dec(x_897); +x_903 = lean_ptr_addr(x_899); +x_904 = lean_usize_dec_eq(x_902, x_903); +if (x_904 == 0) +{ +lean_object* x_905; lean_object* x_906; +lean_dec(x_5); +x_905 = l_Lean_Expr_mdata___override(x_896, x_899); +if (lean_is_scalar(x_901)) { + x_906 = lean_alloc_ctor(0, 2, 0); +} else { + x_906 = x_901; +} +lean_ctor_set(x_906, 0, x_905); +lean_ctor_set(x_906, 1, x_900); +return x_906; +} +else +{ +lean_object* x_907; +lean_dec(x_899); +lean_dec(x_896); +if (lean_is_scalar(x_901)) { + x_907 = lean_alloc_ctor(0, 2, 0); +} else { + x_907 = x_901; +} +lean_ctor_set(x_907, 0, x_5); +lean_ctor_set(x_907, 1, x_900); +return x_907; +} +} +else +{ +lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; +lean_dec(x_897); +lean_dec(x_896); +lean_dec(x_5); +x_908 = lean_ctor_get(x_898, 0); +lean_inc(x_908); +x_909 = lean_ctor_get(x_898, 1); +lean_inc(x_909); +if (lean_is_exclusive(x_898)) { + lean_ctor_release(x_898, 0); + lean_ctor_release(x_898, 1); + x_910 = x_898; +} else { + lean_dec_ref(x_898); + x_910 = lean_box(0); +} +if (lean_is_scalar(x_910)) { + x_911 = lean_alloc_ctor(1, 2, 0); +} else { + x_911 = x_910; +} +lean_ctor_set(x_911, 0, x_908); +lean_ctor_set(x_911, 1, x_909); +return x_911; +} +} +case 11: +{ +lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; +x_912 = lean_ctor_get(x_5, 0); +lean_inc(x_912); +x_913 = lean_ctor_get(x_5, 1); +lean_inc(x_913); +x_914 = lean_ctor_get(x_5, 2); +lean_inc(x_914); +lean_inc(x_914); +x_915 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_914, x_6, x_7, x_8, x_9, x_10, x_11, x_752); +if (lean_obj_tag(x_915) == 0) +{ +lean_object* x_916; lean_object* x_917; lean_object* x_918; size_t x_919; size_t x_920; uint8_t x_921; +x_916 = lean_ctor_get(x_915, 0); +lean_inc(x_916); +x_917 = lean_ctor_get(x_915, 1); +lean_inc(x_917); +if (lean_is_exclusive(x_915)) { + lean_ctor_release(x_915, 0); + lean_ctor_release(x_915, 1); + x_918 = x_915; +} else { + lean_dec_ref(x_915); + x_918 = lean_box(0); +} +x_919 = lean_ptr_addr(x_914); +lean_dec(x_914); +x_920 = lean_ptr_addr(x_916); +x_921 = lean_usize_dec_eq(x_919, x_920); +if (x_921 == 0) +{ +lean_object* x_922; lean_object* x_923; +lean_dec(x_5); +x_922 = l_Lean_Expr_proj___override(x_912, x_913, x_916); +if (lean_is_scalar(x_918)) { + x_923 = lean_alloc_ctor(0, 2, 0); +} else { + x_923 = x_918; +} +lean_ctor_set(x_923, 0, x_922); +lean_ctor_set(x_923, 1, x_917); +return x_923; +} +else +{ +lean_object* x_924; +lean_dec(x_916); +lean_dec(x_913); +lean_dec(x_912); +if (lean_is_scalar(x_918)) { + x_924 = lean_alloc_ctor(0, 2, 0); +} else { + x_924 = x_918; +} +lean_ctor_set(x_924, 0, x_5); +lean_ctor_set(x_924, 1, x_917); +return x_924; +} +} +else +{ +lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; +lean_dec(x_914); +lean_dec(x_913); +lean_dec(x_912); +lean_dec(x_5); +x_925 = lean_ctor_get(x_915, 0); +lean_inc(x_925); +x_926 = lean_ctor_get(x_915, 1); +lean_inc(x_926); +if (lean_is_exclusive(x_915)) { + lean_ctor_release(x_915, 0); + lean_ctor_release(x_915, 1); + x_927 = x_915; +} else { + lean_dec_ref(x_915); + x_927 = lean_box(0); +} +if (lean_is_scalar(x_927)) { + x_928 = lean_alloc_ctor(1, 2, 0); +} else { + x_928 = x_927; +} +lean_ctor_set(x_928, 0, x_925); +lean_ctor_set(x_928, 1, x_926); +return x_928; +} +} +default: +{ +lean_object* x_929; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_1); +x_929 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_929, 0, x_5); +lean_ctor_set(x_929, 1, x_752); +return x_929; +} +} +} +else +{ +lean_object* x_930; lean_object* x_931; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_1); +x_930 = l_Lean_Expr_bvar___override(x_6); +x_931 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_931, 0, x_930); +lean_ctor_set(x_931, 1, x_752); +return x_931; +} +} +} +} +else +{ +uint8_t x_932; +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_1); +x_932 = !lean_is_exclusive(x_258); +if (x_932 == 0) +{ +return x_258; +} +else +{ +lean_object* x_933; lean_object* x_934; lean_object* x_935; +x_933 = lean_ctor_get(x_258, 0); +x_934 = lean_ctor_get(x_258, 1); +lean_inc(x_934); +lean_inc(x_933); +lean_dec(x_258); +x_935 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_935, 0, x_933); +lean_ctor_set(x_935, 1, x_934); +return x_935; +} } } } @@ -2099,83 +3502,159 @@ else switch (lean_obj_tag(x_5)) { case 5: { -lean_object* x_548; lean_object* x_549; lean_object* x_550; -x_548 = lean_ctor_get(x_5, 0); -lean_inc(x_548); -x_549 = lean_ctor_get(x_5, 1); -lean_inc(x_549); +lean_object* x_936; lean_object* x_937; lean_object* x_938; +x_936 = lean_ctor_get(x_5, 0); +lean_inc(x_936); +x_937 = lean_ctor_get(x_5, 1); +lean_inc(x_937); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_936); lean_inc(x_1); -x_550 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_548, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_550) == 0) +x_938 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_936, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_938) == 0) { -lean_object* x_551; lean_object* x_552; lean_object* x_553; -x_551 = lean_ctor_get(x_550, 0); -lean_inc(x_551); -x_552 = lean_ctor_get(x_550, 1); -lean_inc(x_552); -lean_dec(x_550); -x_553 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_549, x_6, x_7, x_8, x_9, x_10, x_11, x_552); -if (lean_obj_tag(x_553) == 0) +lean_object* x_939; lean_object* x_940; lean_object* x_941; +x_939 = lean_ctor_get(x_938, 0); +lean_inc(x_939); +x_940 = lean_ctor_get(x_938, 1); +lean_inc(x_940); +lean_dec(x_938); +lean_inc(x_937); +x_941 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_937, x_6, x_7, x_8, x_9, x_10, x_11, x_940); +if (lean_obj_tag(x_941) == 0) { -uint8_t x_554; -x_554 = !lean_is_exclusive(x_553); -if (x_554 == 0) +uint8_t x_942; +x_942 = !lean_is_exclusive(x_941); +if (x_942 == 0) { -lean_object* x_555; lean_object* x_556; -x_555 = lean_ctor_get(x_553, 0); -x_556 = lean_expr_update_app(x_5, x_551, x_555); -lean_ctor_set(x_553, 0, x_556); -return x_553; -} -else +lean_object* x_943; size_t x_944; size_t x_945; uint8_t x_946; +x_943 = lean_ctor_get(x_941, 0); +x_944 = lean_ptr_addr(x_936); +lean_dec(x_936); +x_945 = lean_ptr_addr(x_939); +x_946 = lean_usize_dec_eq(x_944, x_945); +if (x_946 == 0) { -lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; -x_557 = lean_ctor_get(x_553, 0); -x_558 = lean_ctor_get(x_553, 1); -lean_inc(x_558); -lean_inc(x_557); -lean_dec(x_553); -x_559 = lean_expr_update_app(x_5, x_551, x_557); -x_560 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_560, 0, x_559); -lean_ctor_set(x_560, 1, x_558); -return x_560; -} -} -else -{ -uint8_t x_561; -lean_dec(x_551); +lean_object* x_947; +lean_dec(x_937); lean_dec(x_5); -x_561 = !lean_is_exclusive(x_553); -if (x_561 == 0) -{ -return x_553; +x_947 = l_Lean_Expr_app___override(x_939, x_943); +lean_ctor_set(x_941, 0, x_947); +return x_941; } else { -lean_object* x_562; lean_object* x_563; lean_object* x_564; -x_562 = lean_ctor_get(x_553, 0); -x_563 = lean_ctor_get(x_553, 1); -lean_inc(x_563); -lean_inc(x_562); -lean_dec(x_553); -x_564 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_564, 0, x_562); -lean_ctor_set(x_564, 1, x_563); -return x_564; +size_t x_948; size_t x_949; uint8_t x_950; +x_948 = lean_ptr_addr(x_937); +lean_dec(x_937); +x_949 = lean_ptr_addr(x_943); +x_950 = lean_usize_dec_eq(x_948, x_949); +if (x_950 == 0) +{ +lean_object* x_951; +lean_dec(x_5); +x_951 = l_Lean_Expr_app___override(x_939, x_943); +lean_ctor_set(x_941, 0, x_951); +return x_941; +} +else +{ +lean_dec(x_943); +lean_dec(x_939); +lean_ctor_set(x_941, 0, x_5); +return x_941; } } } else { -uint8_t x_565; -lean_dec(x_549); +lean_object* x_952; lean_object* x_953; size_t x_954; size_t x_955; uint8_t x_956; +x_952 = lean_ctor_get(x_941, 0); +x_953 = lean_ctor_get(x_941, 1); +lean_inc(x_953); +lean_inc(x_952); +lean_dec(x_941); +x_954 = lean_ptr_addr(x_936); +lean_dec(x_936); +x_955 = lean_ptr_addr(x_939); +x_956 = lean_usize_dec_eq(x_954, x_955); +if (x_956 == 0) +{ +lean_object* x_957; lean_object* x_958; +lean_dec(x_937); +lean_dec(x_5); +x_957 = l_Lean_Expr_app___override(x_939, x_952); +x_958 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_958, 0, x_957); +lean_ctor_set(x_958, 1, x_953); +return x_958; +} +else +{ +size_t x_959; size_t x_960; uint8_t x_961; +x_959 = lean_ptr_addr(x_937); +lean_dec(x_937); +x_960 = lean_ptr_addr(x_952); +x_961 = lean_usize_dec_eq(x_959, x_960); +if (x_961 == 0) +{ +lean_object* x_962; lean_object* x_963; +lean_dec(x_5); +x_962 = l_Lean_Expr_app___override(x_939, x_952); +x_963 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_963, 0, x_962); +lean_ctor_set(x_963, 1, x_953); +return x_963; +} +else +{ +lean_object* x_964; +lean_dec(x_952); +lean_dec(x_939); +x_964 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_964, 0, x_5); +lean_ctor_set(x_964, 1, x_953); +return x_964; +} +} +} +} +else +{ +uint8_t x_965; +lean_dec(x_939); +lean_dec(x_937); +lean_dec(x_936); +lean_dec(x_5); +x_965 = !lean_is_exclusive(x_941); +if (x_965 == 0) +{ +return x_941; +} +else +{ +lean_object* x_966; lean_object* x_967; lean_object* x_968; +x_966 = lean_ctor_get(x_941, 0); +x_967 = lean_ctor_get(x_941, 1); +lean_inc(x_967); +lean_inc(x_966); +lean_dec(x_941); +x_968 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_968, 0, x_966); +lean_ctor_set(x_968, 1, x_967); +return x_968; +} +} +} +else +{ +uint8_t x_969; +lean_dec(x_937); +lean_dec(x_936); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -2183,347 +3662,707 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_565 = !lean_is_exclusive(x_550); -if (x_565 == 0) +x_969 = !lean_is_exclusive(x_938); +if (x_969 == 0) { -return x_550; +return x_938; } else { -lean_object* x_566; lean_object* x_567; lean_object* x_568; -x_566 = lean_ctor_get(x_550, 0); -x_567 = lean_ctor_get(x_550, 1); -lean_inc(x_567); -lean_inc(x_566); -lean_dec(x_550); -x_568 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_568, 0, x_566); -lean_ctor_set(x_568, 1, x_567); -return x_568; +lean_object* x_970; lean_object* x_971; lean_object* x_972; +x_970 = lean_ctor_get(x_938, 0); +x_971 = lean_ctor_get(x_938, 1); +lean_inc(x_971); +lean_inc(x_970); +lean_dec(x_938); +x_972 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_972, 0, x_970); +lean_ctor_set(x_972, 1, x_971); +return x_972; } } } case 6: { -lean_object* x_569; lean_object* x_570; uint8_t x_571; lean_object* x_572; -x_569 = lean_ctor_get(x_5, 1); -lean_inc(x_569); -x_570 = lean_ctor_get(x_5, 2); -lean_inc(x_570); -x_571 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_object* x_973; lean_object* x_974; lean_object* x_975; uint8_t x_976; lean_object* x_977; +x_973 = lean_ctor_get(x_5, 0); +lean_inc(x_973); +x_974 = lean_ctor_get(x_5, 1); +lean_inc(x_974); +x_975 = lean_ctor_get(x_5, 2); +lean_inc(x_975); +x_976 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_dec(x_5); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_974); lean_inc(x_1); -x_572 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_569, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_572) == 0) +x_977 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_974, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_977) == 0) { -lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; -x_573 = lean_ctor_get(x_572, 0); -lean_inc(x_573); -x_574 = lean_ctor_get(x_572, 1); -lean_inc(x_574); -lean_dec(x_572); -x_575 = lean_unsigned_to_nat(1u); -x_576 = lean_nat_add(x_6, x_575); +lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; +x_978 = lean_ctor_get(x_977, 0); +lean_inc(x_978); +x_979 = lean_ctor_get(x_977, 1); +lean_inc(x_979); +lean_dec(x_977); +x_980 = lean_unsigned_to_nat(1u); +x_981 = lean_nat_add(x_6, x_980); lean_dec(x_6); -x_577 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_570, x_576, x_7, x_8, x_9, x_10, x_11, x_574); -if (lean_obj_tag(x_577) == 0) +lean_inc(x_975); +x_982 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_975, x_981, x_7, x_8, x_9, x_10, x_11, x_979); +if (lean_obj_tag(x_982) == 0) { -uint8_t x_578; -x_578 = !lean_is_exclusive(x_577); -if (x_578 == 0) +uint8_t x_983; +x_983 = !lean_is_exclusive(x_982); +if (x_983 == 0) { -lean_object* x_579; lean_object* x_580; -x_579 = lean_ctor_get(x_577, 0); -x_580 = lean_expr_update_lambda(x_5, x_571, x_573, x_579); -lean_ctor_set(x_577, 0, x_580); -return x_577; +lean_object* x_984; lean_object* x_985; size_t x_986; size_t x_987; uint8_t x_988; +x_984 = lean_ctor_get(x_982, 0); +lean_inc(x_975); +lean_inc(x_974); +lean_inc(x_973); +x_985 = l_Lean_Expr_lam___override(x_973, x_974, x_975, x_976); +x_986 = lean_ptr_addr(x_974); +lean_dec(x_974); +x_987 = lean_ptr_addr(x_978); +x_988 = lean_usize_dec_eq(x_986, x_987); +if (x_988 == 0) +{ +lean_object* x_989; +lean_dec(x_985); +lean_dec(x_975); +x_989 = l_Lean_Expr_lam___override(x_973, x_978, x_984, x_976); +lean_ctor_set(x_982, 0, x_989); +return x_982; } else { -lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; -x_581 = lean_ctor_get(x_577, 0); -x_582 = lean_ctor_get(x_577, 1); -lean_inc(x_582); -lean_inc(x_581); -lean_dec(x_577); -x_583 = lean_expr_update_lambda(x_5, x_571, x_573, x_581); -x_584 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_584, 0, x_583); -lean_ctor_set(x_584, 1, x_582); -return x_584; -} +size_t x_990; size_t x_991; uint8_t x_992; +x_990 = lean_ptr_addr(x_975); +lean_dec(x_975); +x_991 = lean_ptr_addr(x_984); +x_992 = lean_usize_dec_eq(x_990, x_991); +if (x_992 == 0) +{ +lean_object* x_993; +lean_dec(x_985); +x_993 = l_Lean_Expr_lam___override(x_973, x_978, x_984, x_976); +lean_ctor_set(x_982, 0, x_993); +return x_982; } else { -uint8_t x_585; -lean_dec(x_573); -lean_dec(x_5); -x_585 = !lean_is_exclusive(x_577); -if (x_585 == 0) +uint8_t x_994; +x_994 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_976, x_976); +if (x_994 == 0) { -return x_577; +lean_object* x_995; +lean_dec(x_985); +x_995 = l_Lean_Expr_lam___override(x_973, x_978, x_984, x_976); +lean_ctor_set(x_982, 0, x_995); +return x_982; } else { -lean_object* x_586; lean_object* x_587; lean_object* x_588; -x_586 = lean_ctor_get(x_577, 0); -x_587 = lean_ctor_get(x_577, 1); -lean_inc(x_587); -lean_inc(x_586); -lean_dec(x_577); -x_588 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_588, 0, x_586); -lean_ctor_set(x_588, 1, x_587); -return x_588; +lean_dec(x_984); +lean_dec(x_978); +lean_dec(x_973); +lean_ctor_set(x_982, 0, x_985); +return x_982; +} } } } else { -uint8_t x_589; -lean_dec(x_570); +lean_object* x_996; lean_object* x_997; lean_object* x_998; size_t x_999; size_t x_1000; uint8_t x_1001; +x_996 = lean_ctor_get(x_982, 0); +x_997 = lean_ctor_get(x_982, 1); +lean_inc(x_997); +lean_inc(x_996); +lean_dec(x_982); +lean_inc(x_975); +lean_inc(x_974); +lean_inc(x_973); +x_998 = l_Lean_Expr_lam___override(x_973, x_974, x_975, x_976); +x_999 = lean_ptr_addr(x_974); +lean_dec(x_974); +x_1000 = lean_ptr_addr(x_978); +x_1001 = lean_usize_dec_eq(x_999, x_1000); +if (x_1001 == 0) +{ +lean_object* x_1002; lean_object* x_1003; +lean_dec(x_998); +lean_dec(x_975); +x_1002 = l_Lean_Expr_lam___override(x_973, x_978, x_996, x_976); +x_1003 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1003, 0, x_1002); +lean_ctor_set(x_1003, 1, x_997); +return x_1003; +} +else +{ +size_t x_1004; size_t x_1005; uint8_t x_1006; +x_1004 = lean_ptr_addr(x_975); +lean_dec(x_975); +x_1005 = lean_ptr_addr(x_996); +x_1006 = lean_usize_dec_eq(x_1004, x_1005); +if (x_1006 == 0) +{ +lean_object* x_1007; lean_object* x_1008; +lean_dec(x_998); +x_1007 = l_Lean_Expr_lam___override(x_973, x_978, x_996, x_976); +x_1008 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1008, 0, x_1007); +lean_ctor_set(x_1008, 1, x_997); +return x_1008; +} +else +{ +uint8_t x_1009; +x_1009 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_976, x_976); +if (x_1009 == 0) +{ +lean_object* x_1010; lean_object* x_1011; +lean_dec(x_998); +x_1010 = l_Lean_Expr_lam___override(x_973, x_978, x_996, x_976); +x_1011 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1011, 0, x_1010); +lean_ctor_set(x_1011, 1, x_997); +return x_1011; +} +else +{ +lean_object* x_1012; +lean_dec(x_996); +lean_dec(x_978); +lean_dec(x_973); +x_1012 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1012, 0, x_998); +lean_ctor_set(x_1012, 1, x_997); +return x_1012; +} +} +} +} +} +else +{ +uint8_t x_1013; +lean_dec(x_978); +lean_dec(x_975); +lean_dec(x_974); +lean_dec(x_973); +x_1013 = !lean_is_exclusive(x_982); +if (x_1013 == 0) +{ +return x_982; +} +else +{ +lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; +x_1014 = lean_ctor_get(x_982, 0); +x_1015 = lean_ctor_get(x_982, 1); +lean_inc(x_1015); +lean_inc(x_1014); +lean_dec(x_982); +x_1016 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1016, 0, x_1014); +lean_ctor_set(x_1016, 1, x_1015); +return x_1016; +} +} +} +else +{ +uint8_t x_1017; +lean_dec(x_975); +lean_dec(x_974); +lean_dec(x_973); 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_1); -x_589 = !lean_is_exclusive(x_572); -if (x_589 == 0) +x_1017 = !lean_is_exclusive(x_977); +if (x_1017 == 0) { -return x_572; +return x_977; } else { -lean_object* x_590; lean_object* x_591; lean_object* x_592; -x_590 = lean_ctor_get(x_572, 0); -x_591 = lean_ctor_get(x_572, 1); -lean_inc(x_591); -lean_inc(x_590); -lean_dec(x_572); -x_592 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_592, 0, x_590); -lean_ctor_set(x_592, 1, x_591); -return x_592; +lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; +x_1018 = lean_ctor_get(x_977, 0); +x_1019 = lean_ctor_get(x_977, 1); +lean_inc(x_1019); +lean_inc(x_1018); +lean_dec(x_977); +x_1020 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1020, 0, x_1018); +lean_ctor_set(x_1020, 1, x_1019); +return x_1020; } } } case 7: { -lean_object* x_593; lean_object* x_594; uint8_t x_595; lean_object* x_596; -x_593 = lean_ctor_get(x_5, 1); -lean_inc(x_593); -x_594 = lean_ctor_get(x_5, 2); -lean_inc(x_594); -x_595 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; uint8_t x_1024; lean_object* x_1025; +x_1021 = lean_ctor_get(x_5, 0); +lean_inc(x_1021); +x_1022 = lean_ctor_get(x_5, 1); +lean_inc(x_1022); +x_1023 = lean_ctor_get(x_5, 2); +lean_inc(x_1023); +x_1024 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_dec(x_5); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_1022); lean_inc(x_1); -x_596 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_593, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_596) == 0) +x_1025 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_1022, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_1025) == 0) { -lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; -x_597 = lean_ctor_get(x_596, 0); -lean_inc(x_597); -x_598 = lean_ctor_get(x_596, 1); -lean_inc(x_598); -lean_dec(x_596); -x_599 = lean_unsigned_to_nat(1u); -x_600 = lean_nat_add(x_6, x_599); +lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; +x_1026 = lean_ctor_get(x_1025, 0); +lean_inc(x_1026); +x_1027 = lean_ctor_get(x_1025, 1); +lean_inc(x_1027); +lean_dec(x_1025); +x_1028 = lean_unsigned_to_nat(1u); +x_1029 = lean_nat_add(x_6, x_1028); lean_dec(x_6); -x_601 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_594, x_600, x_7, x_8, x_9, x_10, x_11, x_598); -if (lean_obj_tag(x_601) == 0) +lean_inc(x_1023); +x_1030 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_1023, x_1029, x_7, x_8, x_9, x_10, x_11, x_1027); +if (lean_obj_tag(x_1030) == 0) { -uint8_t x_602; -x_602 = !lean_is_exclusive(x_601); -if (x_602 == 0) +uint8_t x_1031; +x_1031 = !lean_is_exclusive(x_1030); +if (x_1031 == 0) { -lean_object* x_603; lean_object* x_604; -x_603 = lean_ctor_get(x_601, 0); -x_604 = lean_expr_update_forall(x_5, x_595, x_597, x_603); -lean_ctor_set(x_601, 0, x_604); -return x_601; +lean_object* x_1032; lean_object* x_1033; size_t x_1034; size_t x_1035; uint8_t x_1036; +x_1032 = lean_ctor_get(x_1030, 0); +lean_inc(x_1023); +lean_inc(x_1022); +lean_inc(x_1021); +x_1033 = l_Lean_Expr_forallE___override(x_1021, x_1022, x_1023, x_1024); +x_1034 = lean_ptr_addr(x_1022); +lean_dec(x_1022); +x_1035 = lean_ptr_addr(x_1026); +x_1036 = lean_usize_dec_eq(x_1034, x_1035); +if (x_1036 == 0) +{ +lean_object* x_1037; +lean_dec(x_1033); +lean_dec(x_1023); +x_1037 = l_Lean_Expr_forallE___override(x_1021, x_1026, x_1032, x_1024); +lean_ctor_set(x_1030, 0, x_1037); +return x_1030; } else { -lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; -x_605 = lean_ctor_get(x_601, 0); -x_606 = lean_ctor_get(x_601, 1); -lean_inc(x_606); -lean_inc(x_605); -lean_dec(x_601); -x_607 = lean_expr_update_forall(x_5, x_595, x_597, x_605); -x_608 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_608, 0, x_607); -lean_ctor_set(x_608, 1, x_606); -return x_608; -} +size_t x_1038; size_t x_1039; uint8_t x_1040; +x_1038 = lean_ptr_addr(x_1023); +lean_dec(x_1023); +x_1039 = lean_ptr_addr(x_1032); +x_1040 = lean_usize_dec_eq(x_1038, x_1039); +if (x_1040 == 0) +{ +lean_object* x_1041; +lean_dec(x_1033); +x_1041 = l_Lean_Expr_forallE___override(x_1021, x_1026, x_1032, x_1024); +lean_ctor_set(x_1030, 0, x_1041); +return x_1030; } else { -uint8_t x_609; -lean_dec(x_597); -lean_dec(x_5); -x_609 = !lean_is_exclusive(x_601); -if (x_609 == 0) +uint8_t x_1042; +x_1042 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_1024, x_1024); +if (x_1042 == 0) { -return x_601; +lean_object* x_1043; +lean_dec(x_1033); +x_1043 = l_Lean_Expr_forallE___override(x_1021, x_1026, x_1032, x_1024); +lean_ctor_set(x_1030, 0, x_1043); +return x_1030; } else { -lean_object* x_610; lean_object* x_611; lean_object* x_612; -x_610 = lean_ctor_get(x_601, 0); -x_611 = lean_ctor_get(x_601, 1); -lean_inc(x_611); -lean_inc(x_610); -lean_dec(x_601); -x_612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_612, 0, x_610); -lean_ctor_set(x_612, 1, x_611); -return x_612; +lean_dec(x_1032); +lean_dec(x_1026); +lean_dec(x_1021); +lean_ctor_set(x_1030, 0, x_1033); +return x_1030; +} } } } else { -uint8_t x_613; -lean_dec(x_594); +lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; size_t x_1047; size_t x_1048; uint8_t x_1049; +x_1044 = lean_ctor_get(x_1030, 0); +x_1045 = lean_ctor_get(x_1030, 1); +lean_inc(x_1045); +lean_inc(x_1044); +lean_dec(x_1030); +lean_inc(x_1023); +lean_inc(x_1022); +lean_inc(x_1021); +x_1046 = l_Lean_Expr_forallE___override(x_1021, x_1022, x_1023, x_1024); +x_1047 = lean_ptr_addr(x_1022); +lean_dec(x_1022); +x_1048 = lean_ptr_addr(x_1026); +x_1049 = lean_usize_dec_eq(x_1047, x_1048); +if (x_1049 == 0) +{ +lean_object* x_1050; lean_object* x_1051; +lean_dec(x_1046); +lean_dec(x_1023); +x_1050 = l_Lean_Expr_forallE___override(x_1021, x_1026, x_1044, x_1024); +x_1051 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1051, 0, x_1050); +lean_ctor_set(x_1051, 1, x_1045); +return x_1051; +} +else +{ +size_t x_1052; size_t x_1053; uint8_t x_1054; +x_1052 = lean_ptr_addr(x_1023); +lean_dec(x_1023); +x_1053 = lean_ptr_addr(x_1044); +x_1054 = lean_usize_dec_eq(x_1052, x_1053); +if (x_1054 == 0) +{ +lean_object* x_1055; lean_object* x_1056; +lean_dec(x_1046); +x_1055 = l_Lean_Expr_forallE___override(x_1021, x_1026, x_1044, x_1024); +x_1056 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1056, 0, x_1055); +lean_ctor_set(x_1056, 1, x_1045); +return x_1056; +} +else +{ +uint8_t x_1057; +x_1057 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_1024, x_1024); +if (x_1057 == 0) +{ +lean_object* x_1058; lean_object* x_1059; +lean_dec(x_1046); +x_1058 = l_Lean_Expr_forallE___override(x_1021, x_1026, x_1044, x_1024); +x_1059 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1059, 0, x_1058); +lean_ctor_set(x_1059, 1, x_1045); +return x_1059; +} +else +{ +lean_object* x_1060; +lean_dec(x_1044); +lean_dec(x_1026); +lean_dec(x_1021); +x_1060 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1060, 0, x_1046); +lean_ctor_set(x_1060, 1, x_1045); +return x_1060; +} +} +} +} +} +else +{ +uint8_t x_1061; +lean_dec(x_1026); +lean_dec(x_1023); +lean_dec(x_1022); +lean_dec(x_1021); +x_1061 = !lean_is_exclusive(x_1030); +if (x_1061 == 0) +{ +return x_1030; +} +else +{ +lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; +x_1062 = lean_ctor_get(x_1030, 0); +x_1063 = lean_ctor_get(x_1030, 1); +lean_inc(x_1063); +lean_inc(x_1062); +lean_dec(x_1030); +x_1064 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1064, 0, x_1062); +lean_ctor_set(x_1064, 1, x_1063); +return x_1064; +} +} +} +else +{ +uint8_t x_1065; +lean_dec(x_1023); +lean_dec(x_1022); +lean_dec(x_1021); 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_1); -x_613 = !lean_is_exclusive(x_596); -if (x_613 == 0) +x_1065 = !lean_is_exclusive(x_1025); +if (x_1065 == 0) { -return x_596; +return x_1025; } else { -lean_object* x_614; lean_object* x_615; lean_object* x_616; -x_614 = lean_ctor_get(x_596, 0); -x_615 = lean_ctor_get(x_596, 1); -lean_inc(x_615); -lean_inc(x_614); -lean_dec(x_596); -x_616 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_616, 0, x_614); -lean_ctor_set(x_616, 1, x_615); -return x_616; +lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; +x_1066 = lean_ctor_get(x_1025, 0); +x_1067 = lean_ctor_get(x_1025, 1); +lean_inc(x_1067); +lean_inc(x_1066); +lean_dec(x_1025); +x_1068 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1068, 0, x_1066); +lean_ctor_set(x_1068, 1, x_1067); +return x_1068; } } } case 8: { -lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; -x_617 = lean_ctor_get(x_5, 1); -lean_inc(x_617); -x_618 = lean_ctor_get(x_5, 2); -lean_inc(x_618); -x_619 = lean_ctor_get(x_5, 3); -lean_inc(x_619); +lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; uint8_t x_1073; lean_object* x_1074; +x_1069 = lean_ctor_get(x_5, 0); +lean_inc(x_1069); +x_1070 = lean_ctor_get(x_5, 1); +lean_inc(x_1070); +x_1071 = lean_ctor_get(x_5, 2); +lean_inc(x_1071); +x_1072 = lean_ctor_get(x_5, 3); +lean_inc(x_1072); +x_1073 = lean_ctor_get_uint8(x_5, sizeof(void*)*4 + 8); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_1070); lean_inc(x_1); -x_620 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_617, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_620) == 0) +x_1074 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_1070, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_1074) == 0) { -lean_object* x_621; lean_object* x_622; lean_object* x_623; -x_621 = lean_ctor_get(x_620, 0); -lean_inc(x_621); -x_622 = lean_ctor_get(x_620, 1); -lean_inc(x_622); -lean_dec(x_620); +lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; +x_1075 = lean_ctor_get(x_1074, 0); +lean_inc(x_1075); +x_1076 = lean_ctor_get(x_1074, 1); +lean_inc(x_1076); +lean_dec(x_1074); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_1071); lean_inc(x_1); -x_623 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_618, x_6, x_7, x_8, x_9, x_10, x_11, x_622); -if (lean_obj_tag(x_623) == 0) +x_1077 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_1071, x_6, x_7, x_8, x_9, x_10, x_11, x_1076); +if (lean_obj_tag(x_1077) == 0) { -lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; -x_624 = lean_ctor_get(x_623, 0); -lean_inc(x_624); -x_625 = lean_ctor_get(x_623, 1); -lean_inc(x_625); -lean_dec(x_623); -x_626 = lean_unsigned_to_nat(1u); -x_627 = lean_nat_add(x_6, x_626); +lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; +x_1078 = lean_ctor_get(x_1077, 0); +lean_inc(x_1078); +x_1079 = lean_ctor_get(x_1077, 1); +lean_inc(x_1079); +lean_dec(x_1077); +x_1080 = lean_unsigned_to_nat(1u); +x_1081 = lean_nat_add(x_6, x_1080); lean_dec(x_6); -x_628 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_619, x_627, x_7, x_8, x_9, x_10, x_11, x_625); -if (lean_obj_tag(x_628) == 0) +lean_inc(x_1072); +x_1082 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_1072, x_1081, x_7, x_8, x_9, x_10, x_11, x_1079); +if (lean_obj_tag(x_1082) == 0) { -uint8_t x_629; -x_629 = !lean_is_exclusive(x_628); -if (x_629 == 0) +uint8_t x_1083; +x_1083 = !lean_is_exclusive(x_1082); +if (x_1083 == 0) { -lean_object* x_630; lean_object* x_631; -x_630 = lean_ctor_get(x_628, 0); -x_631 = lean_expr_update_let(x_5, x_621, x_624, x_630); -lean_ctor_set(x_628, 0, x_631); -return x_628; -} -else +lean_object* x_1084; size_t x_1085; size_t x_1086; uint8_t x_1087; +x_1084 = lean_ctor_get(x_1082, 0); +x_1085 = lean_ptr_addr(x_1070); +lean_dec(x_1070); +x_1086 = lean_ptr_addr(x_1075); +x_1087 = lean_usize_dec_eq(x_1085, x_1086); +if (x_1087 == 0) { -lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; -x_632 = lean_ctor_get(x_628, 0); -x_633 = lean_ctor_get(x_628, 1); -lean_inc(x_633); -lean_inc(x_632); -lean_dec(x_628); -x_634 = lean_expr_update_let(x_5, x_621, x_624, x_632); -x_635 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_635, 0, x_634); -lean_ctor_set(x_635, 1, x_633); -return x_635; -} -} -else -{ -uint8_t x_636; -lean_dec(x_624); -lean_dec(x_621); +lean_object* x_1088; +lean_dec(x_1072); +lean_dec(x_1071); lean_dec(x_5); -x_636 = !lean_is_exclusive(x_628); -if (x_636 == 0) -{ -return x_628; +x_1088 = l_Lean_Expr_letE___override(x_1069, x_1075, x_1078, x_1084, x_1073); +lean_ctor_set(x_1082, 0, x_1088); +return x_1082; } else { -lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_637 = lean_ctor_get(x_628, 0); -x_638 = lean_ctor_get(x_628, 1); -lean_inc(x_638); -lean_inc(x_637); -lean_dec(x_628); -x_639 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_639, 0, x_637); -lean_ctor_set(x_639, 1, x_638); -return x_639; +size_t x_1089; size_t x_1090; uint8_t x_1091; +x_1089 = lean_ptr_addr(x_1071); +lean_dec(x_1071); +x_1090 = lean_ptr_addr(x_1078); +x_1091 = lean_usize_dec_eq(x_1089, x_1090); +if (x_1091 == 0) +{ +lean_object* x_1092; +lean_dec(x_1072); +lean_dec(x_5); +x_1092 = l_Lean_Expr_letE___override(x_1069, x_1075, x_1078, x_1084, x_1073); +lean_ctor_set(x_1082, 0, x_1092); +return x_1082; +} +else +{ +size_t x_1093; size_t x_1094; uint8_t x_1095; +x_1093 = lean_ptr_addr(x_1072); +lean_dec(x_1072); +x_1094 = lean_ptr_addr(x_1084); +x_1095 = lean_usize_dec_eq(x_1093, x_1094); +if (x_1095 == 0) +{ +lean_object* x_1096; +lean_dec(x_5); +x_1096 = l_Lean_Expr_letE___override(x_1069, x_1075, x_1078, x_1084, x_1073); +lean_ctor_set(x_1082, 0, x_1096); +return x_1082; +} +else +{ +lean_dec(x_1084); +lean_dec(x_1078); +lean_dec(x_1075); +lean_dec(x_1069); +lean_ctor_set(x_1082, 0, x_5); +return x_1082; +} } } } else { -uint8_t x_640; -lean_dec(x_621); -lean_dec(x_619); +lean_object* x_1097; lean_object* x_1098; size_t x_1099; size_t x_1100; uint8_t x_1101; +x_1097 = lean_ctor_get(x_1082, 0); +x_1098 = lean_ctor_get(x_1082, 1); +lean_inc(x_1098); +lean_inc(x_1097); +lean_dec(x_1082); +x_1099 = lean_ptr_addr(x_1070); +lean_dec(x_1070); +x_1100 = lean_ptr_addr(x_1075); +x_1101 = lean_usize_dec_eq(x_1099, x_1100); +if (x_1101 == 0) +{ +lean_object* x_1102; lean_object* x_1103; +lean_dec(x_1072); +lean_dec(x_1071); +lean_dec(x_5); +x_1102 = l_Lean_Expr_letE___override(x_1069, x_1075, x_1078, x_1097, x_1073); +x_1103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1103, 0, x_1102); +lean_ctor_set(x_1103, 1, x_1098); +return x_1103; +} +else +{ +size_t x_1104; size_t x_1105; uint8_t x_1106; +x_1104 = lean_ptr_addr(x_1071); +lean_dec(x_1071); +x_1105 = lean_ptr_addr(x_1078); +x_1106 = lean_usize_dec_eq(x_1104, x_1105); +if (x_1106 == 0) +{ +lean_object* x_1107; lean_object* x_1108; +lean_dec(x_1072); +lean_dec(x_5); +x_1107 = l_Lean_Expr_letE___override(x_1069, x_1075, x_1078, x_1097, x_1073); +x_1108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1108, 0, x_1107); +lean_ctor_set(x_1108, 1, x_1098); +return x_1108; +} +else +{ +size_t x_1109; size_t x_1110; uint8_t x_1111; +x_1109 = lean_ptr_addr(x_1072); +lean_dec(x_1072); +x_1110 = lean_ptr_addr(x_1097); +x_1111 = lean_usize_dec_eq(x_1109, x_1110); +if (x_1111 == 0) +{ +lean_object* x_1112; lean_object* x_1113; +lean_dec(x_5); +x_1112 = l_Lean_Expr_letE___override(x_1069, x_1075, x_1078, x_1097, x_1073); +x_1113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1113, 0, x_1112); +lean_ctor_set(x_1113, 1, x_1098); +return x_1113; +} +else +{ +lean_object* x_1114; +lean_dec(x_1097); +lean_dec(x_1078); +lean_dec(x_1075); +lean_dec(x_1069); +x_1114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1114, 0, x_5); +lean_ctor_set(x_1114, 1, x_1098); +return x_1114; +} +} +} +} +} +else +{ +uint8_t x_1115; +lean_dec(x_1078); +lean_dec(x_1075); +lean_dec(x_1072); +lean_dec(x_1071); +lean_dec(x_1070); +lean_dec(x_1069); +lean_dec(x_5); +x_1115 = !lean_is_exclusive(x_1082); +if (x_1115 == 0) +{ +return x_1082; +} +else +{ +lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; +x_1116 = lean_ctor_get(x_1082, 0); +x_1117 = lean_ctor_get(x_1082, 1); +lean_inc(x_1117); +lean_inc(x_1116); +lean_dec(x_1082); +x_1118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1118, 0, x_1116); +lean_ctor_set(x_1118, 1, x_1117); +return x_1118; +} +} +} +else +{ +uint8_t x_1119; +lean_dec(x_1075); +lean_dec(x_1072); +lean_dec(x_1071); +lean_dec(x_1070); +lean_dec(x_1069); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -2531,31 +4370,33 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_640 = !lean_is_exclusive(x_623); -if (x_640 == 0) +x_1119 = !lean_is_exclusive(x_1077); +if (x_1119 == 0) { -return x_623; +return x_1077; } else { -lean_object* x_641; lean_object* x_642; lean_object* x_643; -x_641 = lean_ctor_get(x_623, 0); -x_642 = lean_ctor_get(x_623, 1); -lean_inc(x_642); -lean_inc(x_641); -lean_dec(x_623); -x_643 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_643, 0, x_641); -lean_ctor_set(x_643, 1, x_642); -return x_643; +lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; +x_1120 = lean_ctor_get(x_1077, 0); +x_1121 = lean_ctor_get(x_1077, 1); +lean_inc(x_1121); +lean_inc(x_1120); +lean_dec(x_1077); +x_1122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1122, 0, x_1120); +lean_ctor_set(x_1122, 1, x_1121); +return x_1122; } } } else { -uint8_t x_644; -lean_dec(x_619); -lean_dec(x_618); +uint8_t x_1123; +lean_dec(x_1072); +lean_dec(x_1071); +lean_dec(x_1070); +lean_dec(x_1069); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -2563,157 +4404,242 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_644 = !lean_is_exclusive(x_620); -if (x_644 == 0) +x_1123 = !lean_is_exclusive(x_1074); +if (x_1123 == 0) { -return x_620; +return x_1074; } else { -lean_object* x_645; lean_object* x_646; lean_object* x_647; -x_645 = lean_ctor_get(x_620, 0); -x_646 = lean_ctor_get(x_620, 1); -lean_inc(x_646); -lean_inc(x_645); -lean_dec(x_620); -x_647 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_647, 0, x_645); -lean_ctor_set(x_647, 1, x_646); -return x_647; +lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; +x_1124 = lean_ctor_get(x_1074, 0); +x_1125 = lean_ctor_get(x_1074, 1); +lean_inc(x_1125); +lean_inc(x_1124); +lean_dec(x_1074); +x_1126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1126, 0, x_1124); +lean_ctor_set(x_1126, 1, x_1125); +return x_1126; } } } case 10: { -lean_object* x_648; lean_object* x_649; -x_648 = lean_ctor_get(x_5, 1); -lean_inc(x_648); -x_649 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_648, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_649) == 0) +lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; +x_1127 = lean_ctor_get(x_5, 0); +lean_inc(x_1127); +x_1128 = lean_ctor_get(x_5, 1); +lean_inc(x_1128); +lean_inc(x_1128); +x_1129 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_1128, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_1129) == 0) { -uint8_t x_650; -x_650 = !lean_is_exclusive(x_649); -if (x_650 == 0) +uint8_t x_1130; +x_1130 = !lean_is_exclusive(x_1129); +if (x_1130 == 0) { -lean_object* x_651; lean_object* x_652; -x_651 = lean_ctor_get(x_649, 0); -x_652 = lean_expr_update_mdata(x_5, x_651); -lean_ctor_set(x_649, 0, x_652); -return x_649; -} -else +lean_object* x_1131; size_t x_1132; size_t x_1133; uint8_t x_1134; +x_1131 = lean_ctor_get(x_1129, 0); +x_1132 = lean_ptr_addr(x_1128); +lean_dec(x_1128); +x_1133 = lean_ptr_addr(x_1131); +x_1134 = lean_usize_dec_eq(x_1132, x_1133); +if (x_1134 == 0) { -lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; -x_653 = lean_ctor_get(x_649, 0); -x_654 = lean_ctor_get(x_649, 1); -lean_inc(x_654); -lean_inc(x_653); -lean_dec(x_649); -x_655 = lean_expr_update_mdata(x_5, x_653); -x_656 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_656, 0, x_655); -lean_ctor_set(x_656, 1, x_654); -return x_656; -} -} -else -{ -uint8_t x_657; +lean_object* x_1135; lean_dec(x_5); -x_657 = !lean_is_exclusive(x_649); -if (x_657 == 0) -{ -return x_649; +x_1135 = l_Lean_Expr_mdata___override(x_1127, x_1131); +lean_ctor_set(x_1129, 0, x_1135); +return x_1129; } else { -lean_object* x_658; lean_object* x_659; lean_object* x_660; -x_658 = lean_ctor_get(x_649, 0); -x_659 = lean_ctor_get(x_649, 1); -lean_inc(x_659); -lean_inc(x_658); -lean_dec(x_649); -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; +lean_dec(x_1131); +lean_dec(x_1127); +lean_ctor_set(x_1129, 0, x_5); +return x_1129; +} +} +else +{ +lean_object* x_1136; lean_object* x_1137; size_t x_1138; size_t x_1139; uint8_t x_1140; +x_1136 = lean_ctor_get(x_1129, 0); +x_1137 = lean_ctor_get(x_1129, 1); +lean_inc(x_1137); +lean_inc(x_1136); +lean_dec(x_1129); +x_1138 = lean_ptr_addr(x_1128); +lean_dec(x_1128); +x_1139 = lean_ptr_addr(x_1136); +x_1140 = lean_usize_dec_eq(x_1138, x_1139); +if (x_1140 == 0) +{ +lean_object* x_1141; lean_object* x_1142; +lean_dec(x_5); +x_1141 = l_Lean_Expr_mdata___override(x_1127, x_1136); +x_1142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1142, 0, x_1141); +lean_ctor_set(x_1142, 1, x_1137); +return x_1142; +} +else +{ +lean_object* x_1143; +lean_dec(x_1136); +lean_dec(x_1127); +x_1143 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1143, 0, x_5); +lean_ctor_set(x_1143, 1, x_1137); +return x_1143; +} +} +} +else +{ +uint8_t x_1144; +lean_dec(x_1128); +lean_dec(x_1127); +lean_dec(x_5); +x_1144 = !lean_is_exclusive(x_1129); +if (x_1144 == 0) +{ +return x_1129; +} +else +{ +lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; +x_1145 = lean_ctor_get(x_1129, 0); +x_1146 = lean_ctor_get(x_1129, 1); +lean_inc(x_1146); +lean_inc(x_1145); +lean_dec(x_1129); +x_1147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1147, 0, x_1145); +lean_ctor_set(x_1147, 1, x_1146); +return x_1147; } } } case 11: { -lean_object* x_661; lean_object* x_662; -x_661 = lean_ctor_get(x_5, 2); -lean_inc(x_661); -x_662 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_661, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_662) == 0) +lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; +x_1148 = lean_ctor_get(x_5, 0); +lean_inc(x_1148); +x_1149 = lean_ctor_get(x_5, 1); +lean_inc(x_1149); +x_1150 = lean_ctor_get(x_5, 2); +lean_inc(x_1150); +lean_inc(x_1150); +x_1151 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_1150, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_1151) == 0) { -uint8_t x_663; -x_663 = !lean_is_exclusive(x_662); -if (x_663 == 0) +uint8_t x_1152; +x_1152 = !lean_is_exclusive(x_1151); +if (x_1152 == 0) { -lean_object* x_664; lean_object* x_665; -x_664 = lean_ctor_get(x_662, 0); -x_665 = lean_expr_update_proj(x_5, x_664); -lean_ctor_set(x_662, 0, x_665); -return x_662; -} -else +lean_object* x_1153; size_t x_1154; size_t x_1155; uint8_t x_1156; +x_1153 = lean_ctor_get(x_1151, 0); +x_1154 = lean_ptr_addr(x_1150); +lean_dec(x_1150); +x_1155 = lean_ptr_addr(x_1153); +x_1156 = lean_usize_dec_eq(x_1154, x_1155); +if (x_1156 == 0) { -lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; -x_666 = lean_ctor_get(x_662, 0); -x_667 = lean_ctor_get(x_662, 1); -lean_inc(x_667); -lean_inc(x_666); -lean_dec(x_662); -x_668 = lean_expr_update_proj(x_5, x_666); -x_669 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_669, 0, x_668); -lean_ctor_set(x_669, 1, x_667); -return x_669; -} -} -else -{ -uint8_t x_670; +lean_object* x_1157; lean_dec(x_5); -x_670 = !lean_is_exclusive(x_662); -if (x_670 == 0) -{ -return x_662; +x_1157 = l_Lean_Expr_proj___override(x_1148, x_1149, x_1153); +lean_ctor_set(x_1151, 0, x_1157); +return x_1151; } else { -lean_object* x_671; lean_object* x_672; lean_object* x_673; -x_671 = lean_ctor_get(x_662, 0); -x_672 = lean_ctor_get(x_662, 1); -lean_inc(x_672); -lean_inc(x_671); -lean_dec(x_662); -x_673 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_673, 0, x_671); -lean_ctor_set(x_673, 1, x_672); -return x_673; +lean_dec(x_1153); +lean_dec(x_1149); +lean_dec(x_1148); +lean_ctor_set(x_1151, 0, x_5); +return x_1151; +} +} +else +{ +lean_object* x_1158; lean_object* x_1159; size_t x_1160; size_t x_1161; uint8_t x_1162; +x_1158 = lean_ctor_get(x_1151, 0); +x_1159 = lean_ctor_get(x_1151, 1); +lean_inc(x_1159); +lean_inc(x_1158); +lean_dec(x_1151); +x_1160 = lean_ptr_addr(x_1150); +lean_dec(x_1150); +x_1161 = lean_ptr_addr(x_1158); +x_1162 = lean_usize_dec_eq(x_1160, x_1161); +if (x_1162 == 0) +{ +lean_object* x_1163; lean_object* x_1164; +lean_dec(x_5); +x_1163 = l_Lean_Expr_proj___override(x_1148, x_1149, x_1158); +x_1164 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1164, 0, x_1163); +lean_ctor_set(x_1164, 1, x_1159); +return x_1164; +} +else +{ +lean_object* x_1165; +lean_dec(x_1158); +lean_dec(x_1149); +lean_dec(x_1148); +x_1165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1165, 0, x_5); +lean_ctor_set(x_1165, 1, x_1159); +return x_1165; +} +} +} +else +{ +uint8_t x_1166; +lean_dec(x_1150); +lean_dec(x_1149); +lean_dec(x_1148); +lean_dec(x_5); +x_1166 = !lean_is_exclusive(x_1151); +if (x_1166 == 0) +{ +return x_1151; +} +else +{ +lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; +x_1167 = lean_ctor_get(x_1151, 0); +x_1168 = lean_ctor_get(x_1151, 1); +lean_inc(x_1168); +lean_inc(x_1167); +lean_dec(x_1151); +x_1169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1169, 0, x_1167); +lean_ctor_set(x_1169, 1, x_1168); +return x_1169; } } } default: { -lean_object* x_674; +lean_object* x_1170; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_1); -x_674 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_674, 0, x_5); -lean_ctor_set(x_674, 1, x_12); -return x_674; +x_1170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1170, 0, x_5); +lean_ctor_set(x_1170, 1, x_12); +return x_1170; } } } -block_141: +block_249: { lean_dec(x_13); switch (lean_obj_tag(x_5)) { @@ -2729,6 +4655,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_14); lean_inc(x_1); x_16 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_16) == 0) @@ -2739,6 +4666,7 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); lean_dec(x_16); +lean_inc(x_15); x_19 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_18); if (lean_obj_tag(x_19) == 0) { @@ -2746,56 +4674,130 @@ uint8_t x_20; x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { -lean_object* x_21; lean_object* x_22; +lean_object* x_21; size_t x_22; size_t x_23; uint8_t x_24; x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_expr_update_app(x_5, x_17, x_21); -lean_ctor_set(x_19, 0, x_22); -return x_19; -} -else +x_22 = lean_ptr_addr(x_14); +lean_dec(x_14); +x_23 = lean_ptr_addr(x_17); +x_24 = lean_usize_dec_eq(x_22, x_23); +if (x_24 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_19, 0); -x_24 = lean_ctor_get(x_19, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_19); -x_25 = lean_expr_update_app(x_5, x_17, 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 -{ -uint8_t x_27; -lean_dec(x_17); -lean_dec(x_5); -x_27 = !lean_is_exclusive(x_19); -if (x_27 == 0) -{ -return x_19; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_19, 0); -x_29 = lean_ctor_get(x_19, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_19); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -} -else -{ -uint8_t x_31; +lean_object* x_25; lean_dec(x_15); +lean_dec(x_5); +x_25 = l_Lean_Expr_app___override(x_17, x_21); +lean_ctor_set(x_19, 0, x_25); +return x_19; +} +else +{ +size_t x_26; size_t x_27; uint8_t x_28; +x_26 = lean_ptr_addr(x_15); +lean_dec(x_15); +x_27 = lean_ptr_addr(x_21); +x_28 = lean_usize_dec_eq(x_26, x_27); +if (x_28 == 0) +{ +lean_object* x_29; +lean_dec(x_5); +x_29 = l_Lean_Expr_app___override(x_17, x_21); +lean_ctor_set(x_19, 0, x_29); +return x_19; +} +else +{ +lean_dec(x_21); +lean_dec(x_17); +lean_ctor_set(x_19, 0, x_5); +return x_19; +} +} +} +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_19, 0); +x_31 = lean_ctor_get(x_19, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_19); +x_32 = lean_ptr_addr(x_14); +lean_dec(x_14); +x_33 = lean_ptr_addr(x_17); +x_34 = lean_usize_dec_eq(x_32, x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_15); +lean_dec(x_5); +x_35 = l_Lean_Expr_app___override(x_17, x_30); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_31); +return x_36; +} +else +{ +size_t x_37; size_t x_38; uint8_t x_39; +x_37 = lean_ptr_addr(x_15); +lean_dec(x_15); +x_38 = lean_ptr_addr(x_30); +x_39 = lean_usize_dec_eq(x_37, x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_5); +x_40 = l_Lean_Expr_app___override(x_17, x_30); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_31); +return x_41; +} +else +{ +lean_object* x_42; +lean_dec(x_30); +lean_dec(x_17); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_5); +lean_ctor_set(x_42, 1, x_31); +return x_42; +} +} +} +} +else +{ +uint8_t x_43; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_5); +x_43 = !lean_is_exclusive(x_19); +if (x_43 == 0) +{ +return x_19; +} +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_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; +} +} +} +else +{ +uint8_t x_47; +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -2803,347 +4805,707 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_31 = !lean_is_exclusive(x_16); -if (x_31 == 0) +x_47 = !lean_is_exclusive(x_16); +if (x_47 == 0) { return x_16; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_16, 0); -x_33 = lean_ctor_get(x_16, 1); -lean_inc(x_33); -lean_inc(x_32); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_16, 0); +x_49 = lean_ctor_get(x_16, 1); +lean_inc(x_49); +lean_inc(x_48); lean_dec(x_16); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +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; } } } case 6: { -lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; -x_35 = lean_ctor_get(x_5, 1); -lean_inc(x_35); -x_36 = lean_ctor_get(x_5, 2); -lean_inc(x_36); -x_37 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; +x_51 = lean_ctor_get(x_5, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_5, 1); +lean_inc(x_52); +x_53 = lean_ctor_get(x_5, 2); +lean_inc(x_53); +x_54 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_dec(x_5); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_52); lean_inc(x_1); -x_38 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_35, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_38) == 0) +x_55 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_52, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_55) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_unsigned_to_nat(1u); -x_42 = lean_nat_add(x_6, x_41); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = lean_unsigned_to_nat(1u); +x_59 = lean_nat_add(x_6, x_58); lean_dec(x_6); -x_43 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_36, x_42, x_7, x_8, x_9, x_10, x_11, x_40); -if (lean_obj_tag(x_43) == 0) +lean_inc(x_53); +x_60 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_53, x_59, x_7, x_8, x_9, x_10, x_11, x_57); +if (lean_obj_tag(x_60) == 0) { -uint8_t x_44; -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) +uint8_t x_61; +x_61 = !lean_is_exclusive(x_60); +if (x_61 == 0) { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_43, 0); -x_46 = lean_expr_update_lambda(x_5, x_37, x_39, x_45); -lean_ctor_set(x_43, 0, x_46); -return x_43; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_47 = lean_ctor_get(x_43, 0); -x_48 = lean_ctor_get(x_43, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_43); -x_49 = lean_expr_update_lambda(x_5, x_37, x_39, x_47); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -return x_50; -} -} -else -{ -uint8_t x_51; -lean_dec(x_39); -lean_dec(x_5); -x_51 = !lean_is_exclusive(x_43); -if (x_51 == 0) -{ -return x_43; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_43, 0); -x_53 = lean_ctor_get(x_43, 1); +lean_object* x_62; lean_object* x_63; size_t x_64; size_t x_65; uint8_t x_66; +x_62 = lean_ctor_get(x_60, 0); lean_inc(x_53); lean_inc(x_52); -lean_dec(x_43); -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); +x_63 = l_Lean_Expr_lam___override(x_51, x_52, x_53, x_54); +x_64 = lean_ptr_addr(x_52); +lean_dec(x_52); +x_65 = lean_ptr_addr(x_56); +x_66 = lean_usize_dec_eq(x_64, x_65); +if (x_66 == 0) +{ +lean_object* x_67; +lean_dec(x_63); +lean_dec(x_53); +x_67 = l_Lean_Expr_lam___override(x_51, x_56, x_62, x_54); +lean_ctor_set(x_60, 0, x_67); +return x_60; +} +else +{ +size_t x_68; size_t x_69; uint8_t x_70; +x_68 = lean_ptr_addr(x_53); +lean_dec(x_53); +x_69 = lean_ptr_addr(x_62); +x_70 = lean_usize_dec_eq(x_68, x_69); +if (x_70 == 0) +{ +lean_object* x_71; +lean_dec(x_63); +x_71 = l_Lean_Expr_lam___override(x_51, x_56, x_62, x_54); +lean_ctor_set(x_60, 0, x_71); +return x_60; +} +else +{ +uint8_t x_72; +x_72 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_54, x_54); +if (x_72 == 0) +{ +lean_object* x_73; +lean_dec(x_63); +x_73 = l_Lean_Expr_lam___override(x_51, x_56, x_62, x_54); +lean_ctor_set(x_60, 0, x_73); +return x_60; +} +else +{ +lean_dec(x_62); +lean_dec(x_56); +lean_dec(x_51); +lean_ctor_set(x_60, 0, x_63); +return x_60; +} } } } else { -uint8_t x_55; -lean_dec(x_36); +lean_object* x_74; lean_object* x_75; lean_object* x_76; size_t x_77; size_t x_78; uint8_t x_79; +x_74 = lean_ctor_get(x_60, 0); +x_75 = lean_ctor_get(x_60, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_60); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +x_76 = l_Lean_Expr_lam___override(x_51, x_52, x_53, x_54); +x_77 = lean_ptr_addr(x_52); +lean_dec(x_52); +x_78 = lean_ptr_addr(x_56); +x_79 = lean_usize_dec_eq(x_77, x_78); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; +lean_dec(x_76); +lean_dec(x_53); +x_80 = l_Lean_Expr_lam___override(x_51, x_56, x_74, x_54); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_75); +return x_81; +} +else +{ +size_t x_82; size_t x_83; uint8_t x_84; +x_82 = lean_ptr_addr(x_53); +lean_dec(x_53); +x_83 = lean_ptr_addr(x_74); +x_84 = lean_usize_dec_eq(x_82, x_83); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; +lean_dec(x_76); +x_85 = l_Lean_Expr_lam___override(x_51, x_56, x_74, x_54); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_75); +return x_86; +} +else +{ +uint8_t x_87; +x_87 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_54, x_54); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; +lean_dec(x_76); +x_88 = l_Lean_Expr_lam___override(x_51, x_56, x_74, x_54); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_75); +return x_89; +} +else +{ +lean_object* x_90; +lean_dec(x_74); +lean_dec(x_56); +lean_dec(x_51); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_76); +lean_ctor_set(x_90, 1, x_75); +return x_90; +} +} +} +} +} +else +{ +uint8_t x_91; +lean_dec(x_56); +lean_dec(x_53); +lean_dec(x_52); +lean_dec(x_51); +x_91 = !lean_is_exclusive(x_60); +if (x_91 == 0) +{ +return x_60; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_60, 0); +x_93 = lean_ctor_get(x_60, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_60); +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_95; +lean_dec(x_53); +lean_dec(x_52); +lean_dec(x_51); 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_1); -x_55 = !lean_is_exclusive(x_38); -if (x_55 == 0) +x_95 = !lean_is_exclusive(x_55); +if (x_95 == 0) { -return x_38; +return x_55; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_38, 0); -x_57 = lean_ctor_get(x_38, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_38); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_55, 0); +x_97 = lean_ctor_get(x_55, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_55); +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; } } } case 7: { -lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_5, 1); -lean_inc(x_59); -x_60 = lean_ctor_get(x_5, 2); -lean_inc(x_60); -x_61 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; +x_99 = lean_ctor_get(x_5, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_5, 1); +lean_inc(x_100); +x_101 = lean_ctor_get(x_5, 2); +lean_inc(x_101); +x_102 = lean_ctor_get_uint8(x_5, sizeof(void*)*3 + 8); +lean_dec(x_5); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_100); lean_inc(x_1); -x_62 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_59, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_62) == 0) +x_103 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_100, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_103) == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_unsigned_to_nat(1u); -x_66 = lean_nat_add(x_6, x_65); +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); +lean_dec(x_103); +x_106 = lean_unsigned_to_nat(1u); +x_107 = lean_nat_add(x_6, x_106); lean_dec(x_6); -x_67 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_60, x_66, x_7, x_8, x_9, x_10, x_11, x_64); -if (lean_obj_tag(x_67) == 0) +lean_inc(x_101); +x_108 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_101, x_107, x_7, x_8, x_9, x_10, x_11, x_105); +if (lean_obj_tag(x_108) == 0) { -uint8_t x_68; -x_68 = !lean_is_exclusive(x_67); -if (x_68 == 0) +uint8_t x_109; +x_109 = !lean_is_exclusive(x_108); +if (x_109 == 0) { -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_67, 0); -x_70 = lean_expr_update_forall(x_5, x_61, x_63, x_69); -lean_ctor_set(x_67, 0, x_70); -return x_67; +lean_object* x_110; lean_object* x_111; size_t x_112; size_t x_113; uint8_t x_114; +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_101); +lean_inc(x_100); +lean_inc(x_99); +x_111 = l_Lean_Expr_forallE___override(x_99, x_100, x_101, x_102); +x_112 = lean_ptr_addr(x_100); +lean_dec(x_100); +x_113 = lean_ptr_addr(x_104); +x_114 = lean_usize_dec_eq(x_112, x_113); +if (x_114 == 0) +{ +lean_object* x_115; +lean_dec(x_111); +lean_dec(x_101); +x_115 = l_Lean_Expr_forallE___override(x_99, x_104, x_110, x_102); +lean_ctor_set(x_108, 0, x_115); +return x_108; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_71 = lean_ctor_get(x_67, 0); -x_72 = lean_ctor_get(x_67, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_67); -x_73 = lean_expr_update_forall(x_5, x_61, x_63, x_71); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -return x_74; -} +size_t x_116; size_t x_117; uint8_t x_118; +x_116 = lean_ptr_addr(x_101); +lean_dec(x_101); +x_117 = lean_ptr_addr(x_110); +x_118 = lean_usize_dec_eq(x_116, x_117); +if (x_118 == 0) +{ +lean_object* x_119; +lean_dec(x_111); +x_119 = l_Lean_Expr_forallE___override(x_99, x_104, x_110, x_102); +lean_ctor_set(x_108, 0, x_119); +return x_108; } else { -uint8_t x_75; -lean_dec(x_63); -lean_dec(x_5); -x_75 = !lean_is_exclusive(x_67); -if (x_75 == 0) +uint8_t x_120; +x_120 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_102, x_102); +if (x_120 == 0) { -return x_67; +lean_object* x_121; +lean_dec(x_111); +x_121 = l_Lean_Expr_forallE___override(x_99, x_104, x_110, x_102); +lean_ctor_set(x_108, 0, x_121); +return x_108; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_67, 0); -x_77 = lean_ctor_get(x_67, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_67); -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_110); +lean_dec(x_104); +lean_dec(x_99); +lean_ctor_set(x_108, 0, x_111); +return x_108; +} } } } else { -uint8_t x_79; -lean_dec(x_60); +lean_object* x_122; lean_object* x_123; lean_object* x_124; size_t x_125; size_t x_126; uint8_t x_127; +x_122 = lean_ctor_get(x_108, 0); +x_123 = lean_ctor_get(x_108, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_108); +lean_inc(x_101); +lean_inc(x_100); +lean_inc(x_99); +x_124 = l_Lean_Expr_forallE___override(x_99, x_100, x_101, x_102); +x_125 = lean_ptr_addr(x_100); +lean_dec(x_100); +x_126 = lean_ptr_addr(x_104); +x_127 = lean_usize_dec_eq(x_125, x_126); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; +lean_dec(x_124); +lean_dec(x_101); +x_128 = l_Lean_Expr_forallE___override(x_99, x_104, x_122, x_102); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_123); +return x_129; +} +else +{ +size_t x_130; size_t x_131; uint8_t x_132; +x_130 = lean_ptr_addr(x_101); +lean_dec(x_101); +x_131 = lean_ptr_addr(x_122); +x_132 = lean_usize_dec_eq(x_130, x_131); +if (x_132 == 0) +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_124); +x_133 = l_Lean_Expr_forallE___override(x_99, x_104, x_122, x_102); +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_123); +return x_134; +} +else +{ +uint8_t x_135; +x_135 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_102, x_102); +if (x_135 == 0) +{ +lean_object* x_136; lean_object* x_137; +lean_dec(x_124); +x_136 = l_Lean_Expr_forallE___override(x_99, x_104, x_122, x_102); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_123); +return x_137; +} +else +{ +lean_object* x_138; +lean_dec(x_122); +lean_dec(x_104); +lean_dec(x_99); +x_138 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_124); +lean_ctor_set(x_138, 1, x_123); +return x_138; +} +} +} +} +} +else +{ +uint8_t x_139; +lean_dec(x_104); +lean_dec(x_101); +lean_dec(x_100); +lean_dec(x_99); +x_139 = !lean_is_exclusive(x_108); +if (x_139 == 0) +{ +return x_108; +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_108, 0); +x_141 = lean_ctor_get(x_108, 1); +lean_inc(x_141); +lean_inc(x_140); +lean_dec(x_108); +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 +{ +uint8_t x_143; +lean_dec(x_101); +lean_dec(x_100); +lean_dec(x_99); 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_1); -x_79 = !lean_is_exclusive(x_62); -if (x_79 == 0) +x_143 = !lean_is_exclusive(x_103); +if (x_143 == 0) { -return x_62; +return x_103; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_62, 0); -x_81 = lean_ctor_get(x_62, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_62); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; +lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_144 = lean_ctor_get(x_103, 0); +x_145 = lean_ctor_get(x_103, 1); +lean_inc(x_145); +lean_inc(x_144); +lean_dec(x_103); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +return x_146; } } } case 8: { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_83 = lean_ctor_get(x_5, 1); -lean_inc(x_83); -x_84 = lean_ctor_get(x_5, 2); -lean_inc(x_84); -x_85 = lean_ctor_get(x_5, 3); -lean_inc(x_85); +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; lean_object* x_152; +x_147 = lean_ctor_get(x_5, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_5, 1); +lean_inc(x_148); +x_149 = lean_ctor_get(x_5, 2); +lean_inc(x_149); +x_150 = lean_ctor_get(x_5, 3); +lean_inc(x_150); +x_151 = lean_ctor_get_uint8(x_5, sizeof(void*)*4 + 8); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_148); lean_inc(x_1); -x_86 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_83, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_86) == 0) +x_152 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_148, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_152) == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); +lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +lean_dec(x_152); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_6); +lean_inc(x_149); lean_inc(x_1); -x_89 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_84, x_6, x_7, x_8, x_9, x_10, x_11, x_88); -if (lean_obj_tag(x_89) == 0) +x_155 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_149, x_6, x_7, x_8, x_9, x_10, x_11, x_154); +if (lean_obj_tag(x_155) == 0) { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = lean_unsigned_to_nat(1u); -x_93 = lean_nat_add(x_6, x_92); +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +lean_dec(x_155); +x_158 = lean_unsigned_to_nat(1u); +x_159 = lean_nat_add(x_6, x_158); lean_dec(x_6); -x_94 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_85, x_93, x_7, x_8, x_9, x_10, x_11, x_91); -if (lean_obj_tag(x_94) == 0) +lean_inc(x_150); +x_160 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_150, x_159, x_7, x_8, x_9, x_10, x_11, x_157); +if (lean_obj_tag(x_160) == 0) { -uint8_t x_95; -x_95 = !lean_is_exclusive(x_94); -if (x_95 == 0) +uint8_t x_161; +x_161 = !lean_is_exclusive(x_160); +if (x_161 == 0) { -lean_object* x_96; lean_object* x_97; -x_96 = lean_ctor_get(x_94, 0); -x_97 = lean_expr_update_let(x_5, x_87, x_90, x_96); -lean_ctor_set(x_94, 0, x_97); -return x_94; -} -else +lean_object* x_162; size_t x_163; size_t x_164; uint8_t x_165; +x_162 = lean_ctor_get(x_160, 0); +x_163 = lean_ptr_addr(x_148); +lean_dec(x_148); +x_164 = lean_ptr_addr(x_153); +x_165 = lean_usize_dec_eq(x_163, x_164); +if (x_165 == 0) { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_98 = lean_ctor_get(x_94, 0); -x_99 = lean_ctor_get(x_94, 1); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_94); -x_100 = lean_expr_update_let(x_5, x_87, x_90, x_98); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -return x_101; -} -} -else -{ -uint8_t x_102; -lean_dec(x_90); -lean_dec(x_87); +lean_object* x_166; +lean_dec(x_150); +lean_dec(x_149); lean_dec(x_5); -x_102 = !lean_is_exclusive(x_94); -if (x_102 == 0) -{ -return x_94; +x_166 = l_Lean_Expr_letE___override(x_147, x_153, x_156, x_162, x_151); +lean_ctor_set(x_160, 0, x_166); +return x_160; } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_94, 0); -x_104 = lean_ctor_get(x_94, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_94); -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; +size_t x_167; size_t x_168; uint8_t x_169; +x_167 = lean_ptr_addr(x_149); +lean_dec(x_149); +x_168 = lean_ptr_addr(x_156); +x_169 = lean_usize_dec_eq(x_167, x_168); +if (x_169 == 0) +{ +lean_object* x_170; +lean_dec(x_150); +lean_dec(x_5); +x_170 = l_Lean_Expr_letE___override(x_147, x_153, x_156, x_162, x_151); +lean_ctor_set(x_160, 0, x_170); +return x_160; +} +else +{ +size_t x_171; size_t x_172; uint8_t x_173; +x_171 = lean_ptr_addr(x_150); +lean_dec(x_150); +x_172 = lean_ptr_addr(x_162); +x_173 = lean_usize_dec_eq(x_171, x_172); +if (x_173 == 0) +{ +lean_object* x_174; +lean_dec(x_5); +x_174 = l_Lean_Expr_letE___override(x_147, x_153, x_156, x_162, x_151); +lean_ctor_set(x_160, 0, x_174); +return x_160; +} +else +{ +lean_dec(x_162); +lean_dec(x_156); +lean_dec(x_153); +lean_dec(x_147); +lean_ctor_set(x_160, 0, x_5); +return x_160; +} } } } else { -uint8_t x_106; -lean_dec(x_87); -lean_dec(x_85); +lean_object* x_175; lean_object* x_176; size_t x_177; size_t x_178; uint8_t x_179; +x_175 = lean_ctor_get(x_160, 0); +x_176 = lean_ctor_get(x_160, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_160); +x_177 = lean_ptr_addr(x_148); +lean_dec(x_148); +x_178 = lean_ptr_addr(x_153); +x_179 = lean_usize_dec_eq(x_177, x_178); +if (x_179 == 0) +{ +lean_object* x_180; lean_object* x_181; +lean_dec(x_150); +lean_dec(x_149); +lean_dec(x_5); +x_180 = l_Lean_Expr_letE___override(x_147, x_153, x_156, x_175, x_151); +x_181 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_176); +return x_181; +} +else +{ +size_t x_182; size_t x_183; uint8_t x_184; +x_182 = lean_ptr_addr(x_149); +lean_dec(x_149); +x_183 = lean_ptr_addr(x_156); +x_184 = lean_usize_dec_eq(x_182, x_183); +if (x_184 == 0) +{ +lean_object* x_185; lean_object* x_186; +lean_dec(x_150); +lean_dec(x_5); +x_185 = l_Lean_Expr_letE___override(x_147, x_153, x_156, x_175, x_151); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_176); +return x_186; +} +else +{ +size_t x_187; size_t x_188; uint8_t x_189; +x_187 = lean_ptr_addr(x_150); +lean_dec(x_150); +x_188 = lean_ptr_addr(x_175); +x_189 = lean_usize_dec_eq(x_187, x_188); +if (x_189 == 0) +{ +lean_object* x_190; lean_object* x_191; +lean_dec(x_5); +x_190 = l_Lean_Expr_letE___override(x_147, x_153, x_156, x_175, x_151); +x_191 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_176); +return x_191; +} +else +{ +lean_object* x_192; +lean_dec(x_175); +lean_dec(x_156); +lean_dec(x_153); +lean_dec(x_147); +x_192 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_192, 0, x_5); +lean_ctor_set(x_192, 1, x_176); +return x_192; +} +} +} +} +} +else +{ +uint8_t x_193; +lean_dec(x_156); +lean_dec(x_153); +lean_dec(x_150); +lean_dec(x_149); +lean_dec(x_148); +lean_dec(x_147); +lean_dec(x_5); +x_193 = !lean_is_exclusive(x_160); +if (x_193 == 0) +{ +return x_160; +} +else +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_194 = lean_ctor_get(x_160, 0); +x_195 = lean_ctor_get(x_160, 1); +lean_inc(x_195); +lean_inc(x_194); +lean_dec(x_160); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +} +else +{ +uint8_t x_197; +lean_dec(x_153); +lean_dec(x_150); +lean_dec(x_149); +lean_dec(x_148); +lean_dec(x_147); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3151,31 +5513,33 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_106 = !lean_is_exclusive(x_89); -if (x_106 == 0) +x_197 = !lean_is_exclusive(x_155); +if (x_197 == 0) { -return x_89; +return x_155; } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_89, 0); -x_108 = lean_ctor_get(x_89, 1); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_89); -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_object* x_198; lean_object* x_199; lean_object* x_200; +x_198 = lean_ctor_get(x_155, 0); +x_199 = lean_ctor_get(x_155, 1); +lean_inc(x_199); +lean_inc(x_198); +lean_dec(x_155); +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_198); +lean_ctor_set(x_200, 1, x_199); +return x_200; } } } else { -uint8_t x_110; -lean_dec(x_85); -lean_dec(x_84); +uint8_t x_201; +lean_dec(x_150); +lean_dec(x_149); +lean_dec(x_148); +lean_dec(x_147); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -3183,153 +5547,238 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_110 = !lean_is_exclusive(x_86); -if (x_110 == 0) +x_201 = !lean_is_exclusive(x_152); +if (x_201 == 0) { -return x_86; +return x_152; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_86, 0); -x_112 = lean_ctor_get(x_86, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_86); -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; +lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_202 = lean_ctor_get(x_152, 0); +x_203 = lean_ctor_get(x_152, 1); +lean_inc(x_203); +lean_inc(x_202); +lean_dec(x_152); +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_202); +lean_ctor_set(x_204, 1, x_203); +return x_204; } } } case 10: { -lean_object* x_114; lean_object* x_115; -x_114 = lean_ctor_get(x_5, 1); -lean_inc(x_114); -x_115 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_114, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_115) == 0) +lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_205 = lean_ctor_get(x_5, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_5, 1); +lean_inc(x_206); +lean_inc(x_206); +x_207 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_206, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_207) == 0) { -uint8_t x_116; -x_116 = !lean_is_exclusive(x_115); -if (x_116 == 0) +uint8_t x_208; +x_208 = !lean_is_exclusive(x_207); +if (x_208 == 0) { -lean_object* x_117; lean_object* x_118; -x_117 = lean_ctor_get(x_115, 0); -x_118 = lean_expr_update_mdata(x_5, x_117); -lean_ctor_set(x_115, 0, x_118); -return x_115; -} -else +lean_object* x_209; size_t x_210; size_t x_211; uint8_t x_212; +x_209 = lean_ctor_get(x_207, 0); +x_210 = lean_ptr_addr(x_206); +lean_dec(x_206); +x_211 = lean_ptr_addr(x_209); +x_212 = lean_usize_dec_eq(x_210, x_211); +if (x_212 == 0) { -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_119 = lean_ctor_get(x_115, 0); -x_120 = lean_ctor_get(x_115, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_115); -x_121 = lean_expr_update_mdata(x_5, x_119); -x_122 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_120); -return x_122; -} -} -else -{ -uint8_t x_123; +lean_object* x_213; lean_dec(x_5); -x_123 = !lean_is_exclusive(x_115); -if (x_123 == 0) -{ -return x_115; +x_213 = l_Lean_Expr_mdata___override(x_205, x_209); +lean_ctor_set(x_207, 0, x_213); +return x_207; } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; -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 = 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; +lean_dec(x_209); +lean_dec(x_205); +lean_ctor_set(x_207, 0, x_5); +return x_207; +} +} +else +{ +lean_object* x_214; lean_object* x_215; size_t x_216; size_t x_217; uint8_t x_218; +x_214 = lean_ctor_get(x_207, 0); +x_215 = lean_ctor_get(x_207, 1); +lean_inc(x_215); +lean_inc(x_214); +lean_dec(x_207); +x_216 = lean_ptr_addr(x_206); +lean_dec(x_206); +x_217 = lean_ptr_addr(x_214); +x_218 = lean_usize_dec_eq(x_216, x_217); +if (x_218 == 0) +{ +lean_object* x_219; lean_object* x_220; +lean_dec(x_5); +x_219 = l_Lean_Expr_mdata___override(x_205, x_214); +x_220 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_215); +return x_220; +} +else +{ +lean_object* x_221; +lean_dec(x_214); +lean_dec(x_205); +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_5); +lean_ctor_set(x_221, 1, x_215); +return x_221; +} +} +} +else +{ +uint8_t x_222; +lean_dec(x_206); +lean_dec(x_205); +lean_dec(x_5); +x_222 = !lean_is_exclusive(x_207); +if (x_222 == 0) +{ +return x_207; +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; +x_223 = lean_ctor_get(x_207, 0); +x_224 = lean_ctor_get(x_207, 1); +lean_inc(x_224); +lean_inc(x_223); +lean_dec(x_207); +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; } } } case 11: { -lean_object* x_127; lean_object* x_128; -x_127 = lean_ctor_get(x_5, 2); -lean_inc(x_127); -x_128 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_127, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_128) == 0) +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; +x_226 = lean_ctor_get(x_5, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_5, 1); +lean_inc(x_227); +x_228 = lean_ctor_get(x_5, 2); +lean_inc(x_228); +lean_inc(x_228); +x_229 = l_Lean_Meta_kabstract_visit(x_1, x_2, x_3, x_4, x_228, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_229) == 0) { -uint8_t x_129; -x_129 = !lean_is_exclusive(x_128); -if (x_129 == 0) +uint8_t x_230; +x_230 = !lean_is_exclusive(x_229); +if (x_230 == 0) { -lean_object* x_130; lean_object* x_131; -x_130 = lean_ctor_get(x_128, 0); -x_131 = lean_expr_update_proj(x_5, x_130); -lean_ctor_set(x_128, 0, x_131); -return x_128; -} -else +lean_object* x_231; size_t x_232; size_t x_233; uint8_t x_234; +x_231 = lean_ctor_get(x_229, 0); +x_232 = lean_ptr_addr(x_228); +lean_dec(x_228); +x_233 = lean_ptr_addr(x_231); +x_234 = lean_usize_dec_eq(x_232, x_233); +if (x_234 == 0) { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_132 = lean_ctor_get(x_128, 0); -x_133 = lean_ctor_get(x_128, 1); -lean_inc(x_133); -lean_inc(x_132); -lean_dec(x_128); -x_134 = lean_expr_update_proj(x_5, x_132); -x_135 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_133); -return x_135; -} -} -else -{ -uint8_t x_136; +lean_object* x_235; lean_dec(x_5); -x_136 = !lean_is_exclusive(x_128); -if (x_136 == 0) -{ -return x_128; +x_235 = l_Lean_Expr_proj___override(x_226, x_227, x_231); +lean_ctor_set(x_229, 0, x_235); +return x_229; } else { -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_128, 0); -x_138 = lean_ctor_get(x_128, 1); -lean_inc(x_138); -lean_inc(x_137); -lean_dec(x_128); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -return x_139; +lean_dec(x_231); +lean_dec(x_227); +lean_dec(x_226); +lean_ctor_set(x_229, 0, x_5); +return x_229; +} +} +else +{ +lean_object* x_236; lean_object* x_237; size_t x_238; size_t x_239; uint8_t x_240; +x_236 = lean_ctor_get(x_229, 0); +x_237 = lean_ctor_get(x_229, 1); +lean_inc(x_237); +lean_inc(x_236); +lean_dec(x_229); +x_238 = lean_ptr_addr(x_228); +lean_dec(x_228); +x_239 = lean_ptr_addr(x_236); +x_240 = lean_usize_dec_eq(x_238, x_239); +if (x_240 == 0) +{ +lean_object* x_241; lean_object* x_242; +lean_dec(x_5); +x_241 = l_Lean_Expr_proj___override(x_226, x_227, x_236); +x_242 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_237); +return x_242; +} +else +{ +lean_object* x_243; +lean_dec(x_236); +lean_dec(x_227); +lean_dec(x_226); +x_243 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_243, 0, x_5); +lean_ctor_set(x_243, 1, x_237); +return x_243; +} +} +} +else +{ +uint8_t x_244; +lean_dec(x_228); +lean_dec(x_227); +lean_dec(x_226); +lean_dec(x_5); +x_244 = !lean_is_exclusive(x_229); +if (x_244 == 0) +{ +return x_229; +} +else +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; +x_245 = lean_ctor_get(x_229, 0); +x_246 = lean_ctor_get(x_229, 1); +lean_inc(x_246); +lean_inc(x_245); +lean_dec(x_229); +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; } } } default: { -lean_object* x_140; +lean_object* x_248; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_1); -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_5); -lean_ctor_set(x_140, 1, x_12); -return x_140; +x_248 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_248, 0, x_5); +lean_ctor_set(x_248, 1, x_12); +return x_248; } } } diff --git a/stage0/stdlib/Lean/Meta/LevelDefEq.c b/stage0/stdlib/Lean/Meta/LevelDefEq.c index 9bf28f9d77..0b89267926 100644 --- a/stage0/stdlib/Lean/Meta/LevelDefEq.c +++ b/stage0/stdlib/Lean/Meta/LevelDefEq.c @@ -60,7 +60,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeI LEAN_EXPORT lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax(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__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_level_mk_max_simp(lean_object*, lean_object*); +lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkMaxArgsDiff___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwIsDefEqStuck___rarg(lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); @@ -224,7 +224,7 @@ lean_dec(x_8); if (x_9 == 0) { lean_object* x_10; -x_10 = lean_level_mk_max_simp(x_3, x_2); +x_10 = l_Lean_mkLevelMax_x27(x_3, x_2); return x_10; } else @@ -236,7 +236,7 @@ return x_3; default: { lean_object* x_11; -x_11 = lean_level_mk_max_simp(x_3, x_2); +x_11 = l_Lean_mkLevelMax_x27(x_3, x_2); return x_11; } } diff --git a/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c b/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c index 631aa327df..84675457f0 100644 --- a/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c +++ b/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c @@ -1503,7 +1503,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_Array_mapIdxM_map___at_Lean_Meta_caseArraySizes___spec__3___closed__1; x_2 = l_Array_mapIdxM_map___at_Lean_Meta_caseArraySizes___spec__3___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Array_mapIdxM_map___at_Lean_Meta_caseArraySizes___spec__3___closed__3; 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/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index 3126a526fd..8b4cc9ca16 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -1139,7 +1139,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_Meta_Match_Match_0__Lean_Meta_Match_withEqs_go___rarg___closed__1; x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withEqs_go___rarg___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withEqs_go___rarg___closed__3; 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/Match/MatchEqs.c b/stage0/stdlib/Lean/Meta/Match/MatchEqs.c index e964644b48..7f550c8624 100644 --- a/stage0/stdlib/Lean/Meta/Match/MatchEqs.c +++ b/stage0/stdlib/Lean/Meta/Match/MatchEqs.c @@ -68,7 +68,6 @@ LEAN_EXPORT lean_object* l_Std_RBNode_find___at___private_Lean_Meta_Match_MatchE static lean_object* l_Lean_Meta_casesOnStuckLHS___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Std_RBNode_insert___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_mkMap___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__3___closed__7; -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__13(lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_isCastEqRec___spec__2___closed__1; @@ -105,6 +104,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match static lean_object* l_Lean_Meta_Match_proveCondEqThm___closed__3; 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_checkTraceOption(lean_object*, lean_object*); +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___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*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_getEquationsForImpl___spec__2(lean_object*, size_t, lean_object*); @@ -449,7 +449,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Match_proveCondEqThm_go(lean_object*, lean_ static lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_contradiction___closed__1; -lean_object* lean_expr_update_proj(lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__6___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoalLoop___lambda__1(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___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -497,6 +496,7 @@ static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simp static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___lambda__2___closed__4; lean_object* l_Lean_Expr_fvar___override(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_isCastEqRec___lambda__2(lean_object*, lean_object*, 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_Lean_Meta_Match_proveCondEqThm___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_processNextEq___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_Meta_Match_unfoldNamedPattern___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -655,6 +655,7 @@ static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchE static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoal___closed__4; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -790,7 +791,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_Meta_casesOnStuckLHS_findFVar_x3f___lambda__1___closed__1; x_2 = l_Lean_Meta_casesOnStuckLHS_findFVar_x3f___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_casesOnStuckLHS_findFVar_x3f___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -30627,9 +30628,11 @@ return x_30; } case 10: { -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_17, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); lean_inc(x_31); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); @@ -30637,26 +30640,46 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_32); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_32 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_31, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_32) == 0) +x_33 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_32, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); +lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; uint8_t x_38; +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_ptr_addr(x_32); lean_dec(x_32); -x_35 = lean_expr_update_mdata(x_17, x_33); -x_36 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_34); -return x_36; +x_37 = lean_ptr_addr(x_34); +x_38 = lean_usize_dec_eq(x_36, x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_17); +x_39 = l_Lean_Expr_mdata___override(x_31, x_34); +x_40 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_39, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_35); +return x_40; } else { -uint8_t x_37; +lean_object* x_41; +lean_dec(x_34); +lean_dec(x_31); +x_41 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(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_35); +return x_41; +} +} +else +{ +uint8_t x_42; +lean_dec(x_32); +lean_dec(x_31); lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -30669,31 +30692,35 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_32); -if (x_37 == 0) +x_42 = !lean_is_exclusive(x_33); +if (x_42 == 0) { -return x_32; +return x_33; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_32, 0); -x_39 = lean_ctor_get(x_32, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_32); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_33, 0); +x_44 = lean_ctor_get(x_33, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_33); +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; } } } case 11: { -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_17, 2); -lean_inc(x_41); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_17, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_17, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_17, 2); +lean_inc(x_48); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); @@ -30701,26 +30728,48 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_48); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_42 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_41, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_42) == 0) +x_49 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_48, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = 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_expr_update_proj(x_17, x_43); -x_46 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_45, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_44); -return x_46; +lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_ptr_addr(x_48); +lean_dec(x_48); +x_53 = lean_ptr_addr(x_50); +x_54 = lean_usize_dec_eq(x_52, x_53); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_17); +x_55 = l_Lean_Expr_proj___override(x_46, x_47, x_50); +x_56 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_55, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_51); +return x_56; } else { -uint8_t x_47; +lean_object* x_57; +lean_dec(x_50); +lean_dec(x_47); +lean_dec(x_46); +x_57 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(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_51); +return x_57; +} +} +else +{ +uint8_t x_58; +lean_dec(x_48); +lean_dec(x_47); +lean_dec(x_46); lean_dec(x_17); lean_dec(x_13); lean_dec(x_12); @@ -30733,31 +30782,31 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_47 = !lean_is_exclusive(x_42); -if (x_47 == 0) +x_58 = !lean_is_exclusive(x_49); +if (x_58 == 0) { -return x_42; +return x_49; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_42, 0); -x_49 = lean_ctor_get(x_42, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_42); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_49, 0); +x_60 = lean_ctor_get(x_49, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_49); +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; } } } default: { -lean_object* x_51; -x_51 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(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); -return x_51; +lean_object* x_62; +x_62 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(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); +return x_62; } } } diff --git a/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c b/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c index db5da89f9c..fc2226647f 100644 --- a/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c +++ b/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c @@ -2692,7 +2692,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_Meta_matchMatcherApp_x3f___rarg___lambda__1___closed__2; x_2 = l_Lean_Meta_matchMatcherApp_x3f___rarg___lambda__1___closed__3; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_matchMatcherApp_x3f___rarg___lambda__1___closed__4; 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/RecursorInfo.c b/stage0/stdlib/Lean/Meta/RecursorInfo.c index 33d567bb6f..61bd9c4f2f 100644 --- a/stage0/stdlib/Lean/Meta/RecursorInfo.c +++ b/stage0/stdlib/Lean/Meta/RecursorInfo.c @@ -3798,7 +3798,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_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__2___closed__4; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__2___closed__5; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__2___closed__6; 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/Reduce.c b/stage0/stdlib/Lean/Meta/Reduce.c index d52adf9988..ffe899e716 100644 --- a/stage0/stdlib/Lean/Meta/Reduce.c +++ b/stage0/stdlib/Lean/Meta/Reduce.c @@ -1436,7 +1436,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_Meta_reduce_visit___lambda__4___closed__2; x_2 = l_Lean_Meta_reduce_visit___lambda__4___closed__3; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_reduce_visit___lambda__4___closed__4; 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/SizeOf.c b/stage0/stdlib/Lean/Meta/SizeOf.c index e7ce626ee9..086ae54b57 100644 --- a/stage0/stdlib/Lean/Meta/SizeOf.c +++ b/stage0/stdlib/Lean/Meta/SizeOf.c @@ -2596,7 +2596,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_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___spec__1___closed__2; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___spec__1___closed__3; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___spec__1___closed__4; 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/SynthInstance.c b/stage0/stdlib/Lean/Meta/SynthInstance.c index 2234acb79a..0ac3f6e9e1 100644 --- a/stage0/stdlib/Lean/Meta/SynthInstance.c +++ b/stage0/stdlib/Lean/Meta/SynthInstance.c @@ -19,7 +19,6 @@ LEAN_EXPORT lean_object* l_Lean_Core_withCurrHeartbeats___at_Lean_Meta_SynthInst LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getMaxHeartbeats___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___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_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_synthInstance_x3f___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_instInhabitedAnswer___closed__1; static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___closed__2; @@ -40,6 +39,7 @@ static lean_object* l_Lean_Meta_SynthInstance_getMaxHeartbeats___closed__1; static lean_object* l_Lean_Meta_SynthInstance_instInhabitedAnswer___closed__2; lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getTop(lean_object*); +lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___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_Meta_SynthInstance_MkTableKey_normLevel(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -50,6 +50,7 @@ uint8_t l_Std_PersistentHashMap_contains___at_Lean_isExprMVarAssigned___spec__1( LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_synthInstance_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_HashMap_0__Std_numBucketsForCapacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_State_resumeStack___default; +lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_tryAnswer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Option_toLOption___rarg(lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__2(lean_object*, lean_object*); @@ -60,7 +61,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_tryAnswer___lambda__1___boxed LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_emap___default; static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__3; static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels___closed__1; -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); +lean_object* l_Lean_Level_succ___override(lean_object*); static lean_object* l_Lean_Meta_SynthInstance_addAnswer___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withMCtx___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___spec__1(lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; @@ -82,6 +83,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getResult(lean_object*); size_t lean_usize_sub(size_t, size_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_SynthInstance_isNewAnswer___spec__1(lean_object*, lean_object*, size_t, size_t); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__1; @@ -111,6 +113,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_addAnswer___lambda__1(lean_ob lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); static lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__3___closed__1; lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_instInhabitedSynthM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_MkTableKey_instMonadMCtxM___lambda__1(lean_object*, lean_object*); @@ -120,6 +123,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_resume(lean_object*, lean_obj static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_synthInstance_x3f___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__4; +uint8_t l_ptrEqList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_synthInstance_x3f___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_6____closed__1; LEAN_EXPORT lean_object* l_StateT_get___at_Lean_Meta_SynthInstance_MkTableKey_instMonadMCtxM___spec__1(lean_object*); @@ -170,6 +174,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthI static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__2; uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +lean_object* l_Lean_simpLevelIMax_x27(lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_SynthInstance_isNewAnswer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -231,17 +236,18 @@ static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_SynthInst LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_mapMetaM(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_isExprMVarAssignable___at_Lean_Meta_SynthInstance_tryResolveCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_getInstances___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode; LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Meta_SynthInstance_getInstances___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4(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_Meta_isDefEqStuckExceptionId; LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_tryResolveCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); uint8_t lean_is_out_param(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_generate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_simpLevelMax_x27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_75____lambda__1(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___private_Lean_CoreM_0__Lean_Core_withCurrHeartbeatsImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -260,6 +266,7 @@ lean_object* l_instInhabited___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_main___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_modifyTop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_SynthInstance_newSubgoal___spec__7(lean_object*, lean_object*); +lean_object* l_Lean_mkLevelIMax_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_MkTableKey_instMonadMCtxM___lambda__2(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -341,7 +348,6 @@ lean_object* l_Lean_Expr_bvar___override(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instMonadMetaM; LEAN_EXPORT lean_object* l_Lean_isExprMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__1(lean_object*, lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -365,7 +371,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getNextToResume___boxed(lean_ LEAN_EXPORT lean_object* l_List_anyM___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___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_Lean_Meta_SynthInstance_resume___closed__7; -lean_object* lean_expr_update_proj(lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceOptions(lean_object*); @@ -396,10 +401,10 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_State_result_x3f___default; lean_object* l_Lean_Meta_DiscrTree_getUnify___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Meta_SynthInstance_getInstances___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); +size_t lean_ptr_addr(lean_object*); static lean_object* l_Lean_Meta_SynthInstance_wakeUp___closed__2; lean_object* l_Lean_Core_checkMaxHeartbeatsCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__6; -lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -408,6 +413,7 @@ static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed_ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_State_tableEntries___default; static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_trySynthInstance(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_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMCtxImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern uint8_t l_instInhabitedBool; @@ -425,7 +431,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthI static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_getInstances___spec__5___closed__4; lean_object* l_Lean_throwError___at_Lean_Meta_abstractRange___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_resume___closed__6; -lean_object* lean_expr_update_sort(lean_object*, lean_object*); extern lean_object* l_Id_instMonadId; LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_synth___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_wakeUp___closed__1; @@ -485,12 +490,10 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); -lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__5; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_SynthInstance_main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getMaxHeartbeats(lean_object*); -lean_object* lean_level_update_succ(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_Meta_SynthInstance_tryResolve___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_Std_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(lean_object*, lean_object*, lean_object*); @@ -517,6 +520,7 @@ lean_object* lean_array_pop(lean_object*); static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__3; lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l_Lean_Meta_synthInstance_x3f___closed__1; +uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t); static size_t l_Std_PersistentHashMap_findAux___at_Lean_Meta_synthInstance_x3f___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_tryResolveCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_synthInstance_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); @@ -530,6 +534,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_consume___lambda__2___boxed(l LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_nextIdx___default; LEAN_EXPORT lean_object* l_Lean_Meta_withMCtx___at_Lean_Meta_SynthInstance_newSubgoal___spec__10(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_addAnswer___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_generate___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__2; LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Meta_synthInstance_x3f___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -552,7 +557,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1(lean static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_6____closed__7; LEAN_EXPORT uint8_t l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__4(lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); -lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -588,7 +592,6 @@ static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstan uint8_t lean_has_out_params(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Meta_SynthInstance_mkTableKeyFor___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_foldrMUnsafe_fold___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___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_expr_update_const(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__7___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_consume___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_Lean_Meta_SynthInstance_main___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1505,262 +1508,448 @@ case 1: lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); +lean_inc(x_5); x_6 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel(x_5, x_2); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; +lean_object* x_8; size_t x_9; size_t x_10; uint8_t x_11; x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_level_update_succ(x_1, x_8); -lean_ctor_set(x_6, 0, x_9); +x_9 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_10 = lean_ptr_addr(x_8); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_1); +x_12 = l_Lean_Level_succ___override(x_8); +lean_ctor_set(x_6, 0, x_12); 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); -x_12 = lean_level_update_succ(x_1, x_10); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; +lean_dec(x_8); +lean_ctor_set(x_6, 0, x_1); +return x_6; } } -case 2: +else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_14 = lean_ctor_get(x_1, 0); +lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_6, 0); +x_14 = lean_ctor_get(x_6, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_1, 1); -lean_inc(x_15); -x_16 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel(x_14, x_2); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel(x_15, x_18); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) +lean_inc(x_13); +lean_dec(x_6); +x_15 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_16 = lean_ptr_addr(x_13); +x_17 = lean_usize_dec_eq(x_15, x_16); +if (x_17 == 0) { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_level_update_max(x_1, x_17, x_21); -lean_ctor_set(x_19, 0, x_22); +lean_object* x_18; lean_object* x_19; +lean_dec(x_1); +x_18 = l_Lean_Level_succ___override(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_14); return x_19; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_19, 0); -x_24 = lean_ctor_get(x_19, 1); +lean_object* x_20; +lean_dec(x_13); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_1); +lean_ctor_set(x_20, 1, x_14); +return x_20; +} +} +} +case 2: +{ +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_ctor_get(x_1, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_1, 1); +lean_inc(x_22); +lean_inc(x_21); +x_23 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel(x_21, x_2); +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_19); -x_25 = lean_level_update_max(x_1, x_17, 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); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +lean_inc(x_22); +x_26 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel(x_22, x_25); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; size_t x_29; size_t x_30; uint8_t x_31; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ptr_addr(x_21); +lean_dec(x_21); +x_30 = lean_ptr_addr(x_24); +x_31 = lean_usize_dec_eq(x_29, x_30); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_22); +lean_dec(x_1); +x_32 = l_Lean_mkLevelMax_x27(x_24, x_28); +lean_ctor_set(x_26, 0, x_32); return x_26; } +else +{ +size_t x_33; size_t x_34; uint8_t x_35; +x_33 = lean_ptr_addr(x_22); +lean_dec(x_22); +x_34 = lean_ptr_addr(x_28); +x_35 = lean_usize_dec_eq(x_33, x_34); +if (x_35 == 0) +{ +lean_object* x_36; +lean_dec(x_1); +x_36 = l_Lean_mkLevelMax_x27(x_24, x_28); +lean_ctor_set(x_26, 0, x_36); +return x_26; +} +else +{ +lean_object* x_37; +x_37 = l_Lean_simpLevelMax_x27(x_24, x_28, x_1); +lean_dec(x_1); +lean_dec(x_28); +lean_dec(x_24); +lean_ctor_set(x_26, 0, x_37); +return x_26; +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; uint8_t x_42; +x_38 = lean_ctor_get(x_26, 0); +x_39 = lean_ctor_get(x_26, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_26); +x_40 = lean_ptr_addr(x_21); +lean_dec(x_21); +x_41 = lean_ptr_addr(x_24); +x_42 = lean_usize_dec_eq(x_40, x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_22); +lean_dec(x_1); +x_43 = l_Lean_mkLevelMax_x27(x_24, x_38); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_39); +return x_44; +} +else +{ +size_t x_45; size_t x_46; uint8_t x_47; +x_45 = lean_ptr_addr(x_22); +lean_dec(x_22); +x_46 = lean_ptr_addr(x_38); +x_47 = lean_usize_dec_eq(x_45, x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_1); +x_48 = l_Lean_mkLevelMax_x27(x_24, x_38); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_39); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = l_Lean_simpLevelMax_x27(x_24, x_38, x_1); +lean_dec(x_1); +lean_dec(x_38); +lean_dec(x_24); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_39); +return x_51; +} +} +} } case 3: { -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_1, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_1, 1); -lean_inc(x_28); -x_29 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel(x_27, x_2); -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_Meta_SynthInstance_MkTableKey_normLevel(x_28, x_31); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 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; uint8_t x_58; +x_52 = lean_ctor_get(x_1, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_1, 1); +lean_inc(x_53); +lean_inc(x_52); +x_54 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel(x_52, x_2); +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); +lean_inc(x_53); +x_57 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel(x_53, x_56); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_32, 0); -x_35 = lean_level_update_imax(x_1, x_30, x_34); -lean_ctor_set(x_32, 0, x_35); -return x_32; +lean_object* x_59; size_t x_60; size_t x_61; uint8_t x_62; +x_59 = lean_ctor_get(x_57, 0); +x_60 = lean_ptr_addr(x_52); +lean_dec(x_52); +x_61 = lean_ptr_addr(x_55); +x_62 = lean_usize_dec_eq(x_60, x_61); +if (x_62 == 0) +{ +lean_object* x_63; +lean_dec(x_53); +lean_dec(x_1); +x_63 = l_Lean_mkLevelIMax_x27(x_55, x_59); +lean_ctor_set(x_57, 0, x_63); +return x_57; } else { -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_dec(x_32); -x_38 = lean_level_update_imax(x_1, x_30, x_36); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -return x_39; +size_t x_64; size_t x_65; uint8_t x_66; +x_64 = lean_ptr_addr(x_53); +lean_dec(x_53); +x_65 = lean_ptr_addr(x_59); +x_66 = lean_usize_dec_eq(x_64, x_65); +if (x_66 == 0) +{ +lean_object* x_67; +lean_dec(x_1); +x_67 = l_Lean_mkLevelIMax_x27(x_55, x_59); +lean_ctor_set(x_57, 0, x_67); +return x_57; +} +else +{ +lean_object* x_68; +x_68 = l_Lean_simpLevelIMax_x27(x_55, x_59, x_1); +lean_dec(x_1); +lean_ctor_set(x_57, 0, x_68); +return x_57; +} +} +} +else +{ +lean_object* x_69; lean_object* x_70; size_t x_71; size_t x_72; uint8_t x_73; +x_69 = lean_ctor_get(x_57, 0); +x_70 = lean_ctor_get(x_57, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_57); +x_71 = lean_ptr_addr(x_52); +lean_dec(x_52); +x_72 = lean_ptr_addr(x_55); +x_73 = lean_usize_dec_eq(x_71, x_72); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; +lean_dec(x_53); +lean_dec(x_1); +x_74 = l_Lean_mkLevelIMax_x27(x_55, x_69); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_70); +return x_75; +} +else +{ +size_t x_76; size_t x_77; uint8_t x_78; +x_76 = lean_ptr_addr(x_53); +lean_dec(x_53); +x_77 = lean_ptr_addr(x_69); +x_78 = lean_usize_dec_eq(x_76, x_77); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; +lean_dec(x_1); +x_79 = l_Lean_mkLevelIMax_x27(x_55, x_69); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_70); +return x_80; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = l_Lean_simpLevelIMax_x27(x_55, x_69, x_1); +lean_dec(x_1); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_70); +return x_82; +} +} } } case 5: { -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_40 = lean_ctor_get(x_1, 0); -lean_inc(x_40); -lean_inc(x_40); -x_41 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1(x_40, x_2); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_unbox(x_42); -lean_dec(x_42); -if (x_43 == 0) +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_83 = lean_ctor_get(x_1, 0); +lean_inc(x_83); +lean_inc(x_83); +x_84 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1(x_83, x_2); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +lean_dec(x_85); +if (x_86 == 0) { -uint8_t x_44; -lean_dec(x_40); -x_44 = !lean_is_exclusive(x_41); -if (x_44 == 0) +uint8_t x_87; +lean_dec(x_83); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) { -lean_object* x_45; -x_45 = lean_ctor_get(x_41, 0); -lean_dec(x_45); -lean_ctor_set(x_41, 0, x_1); -return x_41; +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +lean_ctor_set(x_84, 0, x_1); +return x_84; } else { -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_41, 1); -lean_inc(x_46); -lean_dec(x_41); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_1); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_1); +lean_ctor_set(x_90, 1, x_89); +return x_90; } } else { -uint8_t x_48; +uint8_t x_91; lean_dec(x_1); -x_48 = !lean_is_exclusive(x_41); -if (x_48 == 0) +x_91 = !lean_is_exclusive(x_84); +if (x_91 == 0) { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_41, 1); -x_50 = lean_ctor_get(x_41, 0); -lean_dec(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_inc(x_40); -lean_inc(x_51); -x_52 = l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__1(x_51, x_40); -if (lean_obj_tag(x_52) == 0) +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_92 = lean_ctor_get(x_84, 1); +x_93 = lean_ctor_get(x_84, 0); +lean_dec(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_inc(x_83); +lean_inc(x_94); +x_95 = l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__1(x_94, x_83); +if (lean_obj_tag(x_95) == 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; -x_53 = lean_ctor_get(x_49, 0); -lean_inc(x_53); -x_54 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel___closed__2; -lean_inc(x_53); -x_55 = l_Lean_Name_num___override(x_54, x_53); -x_56 = l_Lean_Level_param___override(x_55); -x_57 = lean_unsigned_to_nat(1u); -x_58 = lean_nat_add(x_53, x_57); -lean_dec(x_53); -lean_inc(x_56); -x_59 = l_Std_HashMap_insert___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__3(x_51, x_40, x_56); -x_60 = lean_ctor_get(x_49, 2); -lean_inc(x_60); -x_61 = lean_ctor_get(x_49, 3); -lean_inc(x_61); -lean_dec(x_49); -x_62 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_62, 0, x_58); -lean_ctor_set(x_62, 1, x_59); -lean_ctor_set(x_62, 2, x_60); -lean_ctor_set(x_62, 3, x_61); -lean_ctor_set(x_41, 1, x_62); -lean_ctor_set(x_41, 0, x_56); -return x_41; +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_92, 0); +lean_inc(x_96); +x_97 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel___closed__2; +lean_inc(x_96); +x_98 = l_Lean_Name_num___override(x_97, x_96); +x_99 = l_Lean_Level_param___override(x_98); +x_100 = lean_unsigned_to_nat(1u); +x_101 = lean_nat_add(x_96, x_100); +lean_dec(x_96); +lean_inc(x_99); +x_102 = l_Std_HashMap_insert___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__3(x_94, x_83, x_99); +x_103 = lean_ctor_get(x_92, 2); +lean_inc(x_103); +x_104 = lean_ctor_get(x_92, 3); +lean_inc(x_104); +lean_dec(x_92); +x_105 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_105, 0, x_101); +lean_ctor_set(x_105, 1, x_102); +lean_ctor_set(x_105, 2, x_103); +lean_ctor_set(x_105, 3, x_104); +lean_ctor_set(x_84, 1, x_105); +lean_ctor_set(x_84, 0, x_99); +return x_84; } else { -lean_object* x_63; -lean_dec(x_51); -lean_dec(x_40); -x_63 = lean_ctor_get(x_52, 0); -lean_inc(x_63); -lean_dec(x_52); -lean_ctor_set(x_41, 0, x_63); -return x_41; +lean_object* x_106; +lean_dec(x_94); +lean_dec(x_83); +x_106 = lean_ctor_get(x_95, 0); +lean_inc(x_106); +lean_dec(x_95); +lean_ctor_set(x_84, 0, x_106); +return x_84; } } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_41, 1); -lean_inc(x_64); -lean_dec(x_41); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_inc(x_40); -lean_inc(x_65); -x_66 = l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__1(x_65, x_40); -if (lean_obj_tag(x_66) == 0) +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_84, 1); +lean_inc(x_107); +lean_dec(x_84); +x_108 = lean_ctor_get(x_107, 1); +lean_inc(x_108); +lean_inc(x_83); +lean_inc(x_108); +x_109 = l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__1(x_108, x_83); +if (lean_obj_tag(x_109) == 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; -x_67 = lean_ctor_get(x_64, 0); -lean_inc(x_67); -x_68 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel___closed__2; -lean_inc(x_67); -x_69 = l_Lean_Name_num___override(x_68, x_67); -x_70 = l_Lean_Level_param___override(x_69); -x_71 = lean_unsigned_to_nat(1u); -x_72 = lean_nat_add(x_67, x_71); -lean_dec(x_67); -lean_inc(x_70); -x_73 = l_Std_HashMap_insert___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__3(x_65, x_40, x_70); -x_74 = lean_ctor_get(x_64, 2); -lean_inc(x_74); -x_75 = lean_ctor_get(x_64, 3); -lean_inc(x_75); -lean_dec(x_64); -x_76 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_76, 0, x_72); -lean_ctor_set(x_76, 1, x_73); -lean_ctor_set(x_76, 2, x_74); -lean_ctor_set(x_76, 3, x_75); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_70); -lean_ctor_set(x_77, 1, x_76); -return x_77; +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_110 = lean_ctor_get(x_107, 0); +lean_inc(x_110); +x_111 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel___closed__2; +lean_inc(x_110); +x_112 = l_Lean_Name_num___override(x_111, x_110); +x_113 = l_Lean_Level_param___override(x_112); +x_114 = lean_unsigned_to_nat(1u); +x_115 = lean_nat_add(x_110, x_114); +lean_dec(x_110); +lean_inc(x_113); +x_116 = l_Std_HashMap_insert___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__3(x_108, x_83, x_113); +x_117 = lean_ctor_get(x_107, 2); +lean_inc(x_117); +x_118 = lean_ctor_get(x_107, 3); +lean_inc(x_118); +lean_dec(x_107); +x_119 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_119, 0, x_115); +lean_ctor_set(x_119, 1, x_116); +lean_ctor_set(x_119, 2, x_117); +lean_ctor_set(x_119, 3, x_118); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_113); +lean_ctor_set(x_120, 1, x_119); +return x_120; } else { -lean_object* x_78; lean_object* x_79; -lean_dec(x_65); -lean_dec(x_40); -x_78 = lean_ctor_get(x_66, 0); -lean_inc(x_78); -lean_dec(x_66); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_64); -return x_79; +lean_object* x_121; lean_object* x_122; +lean_dec(x_108); +lean_dec(x_83); +x_121 = lean_ctor_get(x_109, 0); +lean_inc(x_121); +lean_dec(x_109); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_107); +return x_122; } } } } default: { -lean_object* x_80; -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_1); -lean_ctor_set(x_80, 1, x_2); -return x_80; +lean_object* x_123; +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_1); +lean_ctor_set(x_123, 1, x_2); +return x_123; } } } @@ -2087,290 +2276,858 @@ case 3: lean_object* x_45; lean_object* x_46; uint8_t x_47; x_45 = lean_ctor_get(x_1, 0); lean_inc(x_45); +lean_inc(x_45); x_46 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel(x_45, x_2); x_47 = !lean_is_exclusive(x_46); if (x_47 == 0) { -lean_object* x_48; lean_object* x_49; +lean_object* x_48; size_t x_49; size_t x_50; uint8_t x_51; x_48 = lean_ctor_get(x_46, 0); -x_49 = lean_expr_update_sort(x_1, x_48); -lean_ctor_set(x_46, 0, x_49); +x_49 = lean_ptr_addr(x_45); +lean_dec(x_45); +x_50 = lean_ptr_addr(x_48); +x_51 = lean_usize_dec_eq(x_49, x_50); +if (x_51 == 0) +{ +lean_object* x_52; +lean_dec(x_1); +x_52 = l_Lean_Expr_sort___override(x_48); +lean_ctor_set(x_46, 0, x_52); return x_46; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -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_48); +lean_ctor_set(x_46, 0, x_1); +return x_46; +} +} +else +{ +lean_object* x_53; lean_object* x_54; size_t x_55; size_t x_56; uint8_t x_57; +x_53 = lean_ctor_get(x_46, 0); +x_54 = lean_ctor_get(x_46, 1); +lean_inc(x_54); +lean_inc(x_53); lean_dec(x_46); -x_52 = lean_expr_update_sort(x_1, x_50); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -return x_53; +x_55 = lean_ptr_addr(x_45); +lean_dec(x_45); +x_56 = lean_ptr_addr(x_53); +x_57 = lean_usize_dec_eq(x_55, x_56); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; +lean_dec(x_1); +x_58 = l_Lean_Expr_sort___override(x_53); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_54); +return x_59; +} +else +{ +lean_object* x_60; +lean_dec(x_53); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_1); +lean_ctor_set(x_60, 1, x_54); +return x_60; +} } } case 4: { -lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_54 = lean_ctor_get(x_1, 1); -lean_inc(x_54); -x_55 = l_List_mapM___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__2(x_54, x_2); -x_56 = !lean_is_exclusive(x_55); -if (x_56 == 0) +lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_61 = lean_ctor_get(x_1, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_1, 1); +lean_inc(x_62); +lean_inc(x_62); +x_63 = l_List_mapM___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__2(x_62, x_2); +x_64 = !lean_is_exclusive(x_63); +if (x_64 == 0) { -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_55, 0); -x_58 = lean_expr_update_const(x_1, x_57); -lean_ctor_set(x_55, 0, x_58); -return x_55; +lean_object* x_65; uint8_t x_66; +x_65 = lean_ctor_get(x_63, 0); +x_66 = l_ptrEqList___rarg(x_62, x_65); +lean_dec(x_62); +if (x_66 == 0) +{ +lean_object* x_67; +lean_dec(x_1); +x_67 = l_Lean_Expr_const___override(x_61, x_65); +lean_ctor_set(x_63, 0, x_67); +return x_63; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_55, 0); -x_60 = lean_ctor_get(x_55, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_55); -x_61 = lean_expr_update_const(x_1, x_59); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -return x_62; +lean_dec(x_65); +lean_dec(x_61); +lean_ctor_set(x_63, 0, x_1); +return x_63; +} +} +else +{ +lean_object* x_68; lean_object* x_69; uint8_t 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 = l_ptrEqList___rarg(x_62, x_68); +lean_dec(x_62); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; +lean_dec(x_1); +x_71 = l_Lean_Expr_const___override(x_61, x_68); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_69); +return x_72; +} +else +{ +lean_object* x_73; +lean_dec(x_68); +lean_dec(x_61); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_1); +lean_ctor_set(x_73, 1, x_69); +return x_73; +} } } case 5: { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_63 = lean_ctor_get(x_1, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_1, 1); -lean_inc(x_64); -x_65 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_63, x_2); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_64, x_67); -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; -x_70 = lean_ctor_get(x_68, 0); -x_71 = lean_expr_update_app(x_1, x_66, x_70); -lean_ctor_set(x_68, 0, x_71); -return x_68; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_72 = lean_ctor_get(x_68, 0); -x_73 = lean_ctor_get(x_68, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_68); -x_74 = lean_expr_update_app(x_1, x_66, x_72); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -return x_75; -} -} -case 6: -{ -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; uint8_t x_83; -x_76 = lean_ctor_get(x_1, 1); -lean_inc(x_76); -x_77 = lean_ctor_get(x_1, 2); +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; +x_74 = lean_ctor_get(x_1, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_1, 1); +lean_inc(x_75); +lean_inc(x_74); +x_76 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_74, x_2); +x_77 = lean_ctor_get(x_76, 0); lean_inc(x_77); -x_78 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_79 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_76, x_2); -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 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_77, x_81); -x_83 = !lean_is_exclusive(x_82); -if (x_83 == 0) +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +lean_inc(x_75); +x_79 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_75, x_78); +x_80 = !lean_is_exclusive(x_79); +if (x_80 == 0) { -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_82, 0); -x_85 = lean_expr_update_lambda(x_1, x_78, x_80, x_84); -lean_ctor_set(x_82, 0, x_85); -return x_82; +lean_object* x_81; size_t x_82; size_t x_83; uint8_t x_84; +x_81 = lean_ctor_get(x_79, 0); +x_82 = lean_ptr_addr(x_74); +lean_dec(x_74); +x_83 = lean_ptr_addr(x_77); +x_84 = lean_usize_dec_eq(x_82, x_83); +if (x_84 == 0) +{ +lean_object* x_85; +lean_dec(x_75); +lean_dec(x_1); +x_85 = l_Lean_Expr_app___override(x_77, x_81); +lean_ctor_set(x_79, 0, x_85); +return x_79; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_86 = lean_ctor_get(x_82, 0); -x_87 = lean_ctor_get(x_82, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_82); -x_88 = lean_expr_update_lambda(x_1, x_78, x_80, 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_87); -return x_89; -} -} -case 7: +size_t x_86; size_t x_87; uint8_t x_88; +x_86 = lean_ptr_addr(x_75); +lean_dec(x_75); +x_87 = lean_ptr_addr(x_81); +x_88 = lean_usize_dec_eq(x_86, x_87); +if (x_88 == 0) { -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; uint8_t x_97; -x_90 = lean_ctor_get(x_1, 1); -lean_inc(x_90); -x_91 = lean_ctor_get(x_1, 2); +lean_object* x_89; +lean_dec(x_1); +x_89 = l_Lean_Expr_app___override(x_77, x_81); +lean_ctor_set(x_79, 0, x_89); +return x_79; +} +else +{ +lean_dec(x_81); +lean_dec(x_77); +lean_ctor_set(x_79, 0, x_1); +return x_79; +} +} +} +else +{ +lean_object* x_90; lean_object* x_91; size_t x_92; size_t x_93; uint8_t x_94; +x_90 = lean_ctor_get(x_79, 0); +x_91 = lean_ctor_get(x_79, 1); lean_inc(x_91); -x_92 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_93 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_90, x_2); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); -x_96 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_91, x_95); -x_97 = !lean_is_exclusive(x_96); -if (x_97 == 0) +lean_inc(x_90); +lean_dec(x_79); +x_92 = lean_ptr_addr(x_74); +lean_dec(x_74); +x_93 = lean_ptr_addr(x_77); +x_94 = lean_usize_dec_eq(x_92, x_93); +if (x_94 == 0) { -lean_object* x_98; lean_object* x_99; -x_98 = lean_ctor_get(x_96, 0); -x_99 = lean_expr_update_forall(x_1, x_92, x_94, x_98); -lean_ctor_set(x_96, 0, x_99); +lean_object* x_95; lean_object* x_96; +lean_dec(x_75); +lean_dec(x_1); +x_95 = l_Lean_Expr_app___override(x_77, x_90); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_91); return x_96; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_100 = lean_ctor_get(x_96, 0); -x_101 = lean_ctor_get(x_96, 1); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_96); -x_102 = lean_expr_update_forall(x_1, x_92, x_94, x_100); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_101); -return x_103; -} -} -case 8: +size_t x_97; size_t x_98; uint8_t x_99; +x_97 = lean_ptr_addr(x_75); +lean_dec(x_75); +x_98 = lean_ptr_addr(x_90); +x_99 = lean_usize_dec_eq(x_97, x_98); +if (x_99 == 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; uint8_t x_114; +lean_object* x_100; lean_object* x_101; +lean_dec(x_1); +x_100 = l_Lean_Expr_app___override(x_77, x_90); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_91); +return x_101; +} +else +{ +lean_object* x_102; +lean_dec(x_90); +lean_dec(x_77); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_1); +lean_ctor_set(x_102, 1, x_91); +return x_102; +} +} +} +} +case 6: +{ +lean_object* x_103; lean_object* 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; uint8_t x_111; +x_103 = lean_ctor_get(x_1, 0); +lean_inc(x_103); x_104 = lean_ctor_get(x_1, 1); lean_inc(x_104); x_105 = lean_ctor_get(x_1, 2); lean_inc(x_105); -x_106 = lean_ctor_get(x_1, 3); -lean_inc(x_106); +x_106 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_104); x_107 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_104, x_2); x_108 = lean_ctor_get(x_107, 0); lean_inc(x_108); x_109 = lean_ctor_get(x_107, 1); lean_inc(x_109); lean_dec(x_107); +lean_inc(x_105); x_110 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_105, 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_113 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_106, x_112); -x_114 = !lean_is_exclusive(x_113); -if (x_114 == 0) +x_111 = !lean_is_exclusive(x_110); +if (x_111 == 0) { -lean_object* x_115; lean_object* x_116; -x_115 = lean_ctor_get(x_113, 0); -x_116 = lean_expr_update_let(x_1, x_108, x_111, x_115); -lean_ctor_set(x_113, 0, x_116); -return x_113; -} -else +lean_object* x_112; lean_object* x_113; size_t x_114; size_t x_115; uint8_t x_116; +x_112 = lean_ctor_get(x_110, 0); +lean_inc(x_105); +lean_inc(x_104); +lean_inc(x_103); +x_113 = l_Lean_Expr_lam___override(x_103, x_104, x_105, x_106); +x_114 = lean_ptr_addr(x_104); +lean_dec(x_104); +x_115 = lean_ptr_addr(x_108); +x_116 = lean_usize_dec_eq(x_114, x_115); +if (x_116 == 0) { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_117 = lean_ctor_get(x_113, 0); -x_118 = lean_ctor_get(x_113, 1); -lean_inc(x_118); -lean_inc(x_117); +lean_object* x_117; lean_dec(x_113); -x_119 = lean_expr_update_let(x_1, x_108, x_111, x_117); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -return x_120; -} -} -case 10: -{ -lean_object* x_121; lean_object* x_122; uint8_t x_123; -x_121 = lean_ctor_get(x_1, 1); -lean_inc(x_121); -x_122 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_121, x_2); -x_123 = !lean_is_exclusive(x_122); -if (x_123 == 0) -{ -lean_object* x_124; lean_object* x_125; -x_124 = lean_ctor_get(x_122, 0); -x_125 = lean_expr_update_mdata(x_1, x_124); -lean_ctor_set(x_122, 0, x_125); -return x_122; +lean_dec(x_105); +x_117 = l_Lean_Expr_lam___override(x_103, x_108, x_112, x_106); +lean_ctor_set(x_110, 0, x_117); +return x_110; } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_126 = lean_ctor_get(x_122, 0); -x_127 = lean_ctor_get(x_122, 1); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_122); -x_128 = lean_expr_update_mdata(x_1, x_126); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -return x_129; +size_t x_118; size_t x_119; uint8_t x_120; +x_118 = lean_ptr_addr(x_105); +lean_dec(x_105); +x_119 = lean_ptr_addr(x_112); +x_120 = lean_usize_dec_eq(x_118, x_119); +if (x_120 == 0) +{ +lean_object* x_121; +lean_dec(x_113); +x_121 = l_Lean_Expr_lam___override(x_103, x_108, x_112, x_106); +lean_ctor_set(x_110, 0, x_121); +return x_110; +} +else +{ +uint8_t x_122; +x_122 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_106, x_106); +if (x_122 == 0) +{ +lean_object* x_123; +lean_dec(x_113); +x_123 = l_Lean_Expr_lam___override(x_103, x_108, x_112, x_106); +lean_ctor_set(x_110, 0, x_123); +return x_110; +} +else +{ +lean_dec(x_112); +lean_dec(x_108); +lean_dec(x_103); +lean_ctor_set(x_110, 0, x_113); +return x_110; } } -case 11: +} +} +else { -lean_object* x_130; lean_object* x_131; uint8_t x_132; -x_130 = lean_ctor_get(x_1, 2); -lean_inc(x_130); -x_131 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_130, x_2); -x_132 = !lean_is_exclusive(x_131); -if (x_132 == 0) +lean_object* x_124; lean_object* x_125; lean_object* x_126; size_t x_127; size_t x_128; uint8_t x_129; +x_124 = lean_ctor_get(x_110, 0); +x_125 = lean_ctor_get(x_110, 1); +lean_inc(x_125); +lean_inc(x_124); +lean_dec(x_110); +lean_inc(x_105); +lean_inc(x_104); +lean_inc(x_103); +x_126 = l_Lean_Expr_lam___override(x_103, x_104, x_105, x_106); +x_127 = lean_ptr_addr(x_104); +lean_dec(x_104); +x_128 = lean_ptr_addr(x_108); +x_129 = lean_usize_dec_eq(x_127, x_128); +if (x_129 == 0) { -lean_object* x_133; lean_object* x_134; -x_133 = lean_ctor_get(x_131, 0); -x_134 = lean_expr_update_proj(x_1, x_133); -lean_ctor_set(x_131, 0, x_134); +lean_object* x_130; lean_object* x_131; +lean_dec(x_126); +lean_dec(x_105); +x_130 = l_Lean_Expr_lam___override(x_103, x_108, x_124, x_106); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_125); return x_131; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_135 = lean_ctor_get(x_131, 0); -x_136 = lean_ctor_get(x_131, 1); -lean_inc(x_136); -lean_inc(x_135); -lean_dec(x_131); -x_137 = lean_expr_update_proj(x_1, x_135); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -return x_138; +size_t x_132; size_t x_133; uint8_t x_134; +x_132 = lean_ptr_addr(x_105); +lean_dec(x_105); +x_133 = lean_ptr_addr(x_124); +x_134 = lean_usize_dec_eq(x_132, x_133); +if (x_134 == 0) +{ +lean_object* x_135; lean_object* x_136; +lean_dec(x_126); +x_135 = l_Lean_Expr_lam___override(x_103, x_108, x_124, x_106); +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_125); +return x_136; +} +else +{ +uint8_t x_137; +x_137 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_106, x_106); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; +lean_dec(x_126); +x_138 = l_Lean_Expr_lam___override(x_103, x_108, x_124, x_106); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_125); +return x_139; +} +else +{ +lean_object* x_140; +lean_dec(x_124); +lean_dec(x_108); +lean_dec(x_103); +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_126); +lean_ctor_set(x_140, 1, x_125); +return x_140; +} +} +} +} +} +case 7: +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; +x_141 = lean_ctor_get(x_1, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_1, 1); +lean_inc(x_142); +x_143 = lean_ctor_get(x_1, 2); +lean_inc(x_143); +x_144 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_142); +x_145 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_142, x_2); +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_145, 1); +lean_inc(x_147); +lean_dec(x_145); +lean_inc(x_143); +x_148 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_143, x_147); +x_149 = !lean_is_exclusive(x_148); +if (x_149 == 0) +{ +lean_object* x_150; lean_object* x_151; size_t x_152; size_t x_153; uint8_t x_154; +x_150 = lean_ctor_get(x_148, 0); +lean_inc(x_143); +lean_inc(x_142); +lean_inc(x_141); +x_151 = l_Lean_Expr_forallE___override(x_141, x_142, x_143, x_144); +x_152 = lean_ptr_addr(x_142); +lean_dec(x_142); +x_153 = lean_ptr_addr(x_146); +x_154 = lean_usize_dec_eq(x_152, x_153); +if (x_154 == 0) +{ +lean_object* x_155; +lean_dec(x_151); +lean_dec(x_143); +x_155 = l_Lean_Expr_forallE___override(x_141, x_146, x_150, x_144); +lean_ctor_set(x_148, 0, x_155); +return x_148; +} +else +{ +size_t x_156; size_t x_157; uint8_t x_158; +x_156 = lean_ptr_addr(x_143); +lean_dec(x_143); +x_157 = lean_ptr_addr(x_150); +x_158 = lean_usize_dec_eq(x_156, x_157); +if (x_158 == 0) +{ +lean_object* x_159; +lean_dec(x_151); +x_159 = l_Lean_Expr_forallE___override(x_141, x_146, x_150, x_144); +lean_ctor_set(x_148, 0, x_159); +return x_148; +} +else +{ +uint8_t x_160; +x_160 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_144, x_144); +if (x_160 == 0) +{ +lean_object* x_161; +lean_dec(x_151); +x_161 = l_Lean_Expr_forallE___override(x_141, x_146, x_150, x_144); +lean_ctor_set(x_148, 0, x_161); +return x_148; +} +else +{ +lean_dec(x_150); +lean_dec(x_146); +lean_dec(x_141); +lean_ctor_set(x_148, 0, x_151); +return x_148; +} +} +} +} +else +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; size_t x_165; size_t x_166; uint8_t x_167; +x_162 = lean_ctor_get(x_148, 0); +x_163 = lean_ctor_get(x_148, 1); +lean_inc(x_163); +lean_inc(x_162); +lean_dec(x_148); +lean_inc(x_143); +lean_inc(x_142); +lean_inc(x_141); +x_164 = l_Lean_Expr_forallE___override(x_141, x_142, x_143, x_144); +x_165 = lean_ptr_addr(x_142); +lean_dec(x_142); +x_166 = lean_ptr_addr(x_146); +x_167 = lean_usize_dec_eq(x_165, x_166); +if (x_167 == 0) +{ +lean_object* x_168; lean_object* x_169; +lean_dec(x_164); +lean_dec(x_143); +x_168 = l_Lean_Expr_forallE___override(x_141, x_146, x_162, x_144); +x_169 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_169, 1, x_163); +return x_169; +} +else +{ +size_t x_170; size_t x_171; uint8_t x_172; +x_170 = lean_ptr_addr(x_143); +lean_dec(x_143); +x_171 = lean_ptr_addr(x_162); +x_172 = lean_usize_dec_eq(x_170, x_171); +if (x_172 == 0) +{ +lean_object* x_173; lean_object* x_174; +lean_dec(x_164); +x_173 = l_Lean_Expr_forallE___override(x_141, x_146, x_162, x_144); +x_174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_163); +return x_174; +} +else +{ +uint8_t x_175; +x_175 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_144, x_144); +if (x_175 == 0) +{ +lean_object* x_176; lean_object* x_177; +lean_dec(x_164); +x_176 = l_Lean_Expr_forallE___override(x_141, x_146, x_162, x_144); +x_177 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_163); +return x_177; +} +else +{ +lean_object* x_178; +lean_dec(x_162); +lean_dec(x_146); +lean_dec(x_141); +x_178 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_178, 0, x_164); +lean_ctor_set(x_178, 1, x_163); +return x_178; +} +} +} +} +} +case 8: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; +x_179 = lean_ctor_get(x_1, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_1, 1); +lean_inc(x_180); +x_181 = lean_ctor_get(x_1, 2); +lean_inc(x_181); +x_182 = lean_ctor_get(x_1, 3); +lean_inc(x_182); +x_183 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); +lean_inc(x_180); +x_184 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_180, x_2); +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +lean_dec(x_184); +lean_inc(x_181); +x_187 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_181, x_186); +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); +lean_inc(x_182); +x_190 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_182, x_189); +x_191 = !lean_is_exclusive(x_190); +if (x_191 == 0) +{ +lean_object* x_192; size_t x_193; size_t x_194; uint8_t x_195; +x_192 = lean_ctor_get(x_190, 0); +x_193 = lean_ptr_addr(x_180); +lean_dec(x_180); +x_194 = lean_ptr_addr(x_185); +x_195 = lean_usize_dec_eq(x_193, x_194); +if (x_195 == 0) +{ +lean_object* x_196; +lean_dec(x_182); +lean_dec(x_181); +lean_dec(x_1); +x_196 = l_Lean_Expr_letE___override(x_179, x_185, x_188, x_192, x_183); +lean_ctor_set(x_190, 0, x_196); +return x_190; +} +else +{ +size_t x_197; size_t x_198; uint8_t x_199; +x_197 = lean_ptr_addr(x_181); +lean_dec(x_181); +x_198 = lean_ptr_addr(x_188); +x_199 = lean_usize_dec_eq(x_197, x_198); +if (x_199 == 0) +{ +lean_object* x_200; +lean_dec(x_182); +lean_dec(x_1); +x_200 = l_Lean_Expr_letE___override(x_179, x_185, x_188, x_192, x_183); +lean_ctor_set(x_190, 0, x_200); +return x_190; +} +else +{ +size_t x_201; size_t x_202; uint8_t x_203; +x_201 = lean_ptr_addr(x_182); +lean_dec(x_182); +x_202 = lean_ptr_addr(x_192); +x_203 = lean_usize_dec_eq(x_201, x_202); +if (x_203 == 0) +{ +lean_object* x_204; +lean_dec(x_1); +x_204 = l_Lean_Expr_letE___override(x_179, x_185, x_188, x_192, x_183); +lean_ctor_set(x_190, 0, x_204); +return x_190; +} +else +{ +lean_dec(x_192); +lean_dec(x_188); +lean_dec(x_185); +lean_dec(x_179); +lean_ctor_set(x_190, 0, x_1); +return x_190; +} +} +} +} +else +{ +lean_object* x_205; lean_object* x_206; size_t x_207; size_t x_208; uint8_t x_209; +x_205 = lean_ctor_get(x_190, 0); +x_206 = lean_ctor_get(x_190, 1); +lean_inc(x_206); +lean_inc(x_205); +lean_dec(x_190); +x_207 = lean_ptr_addr(x_180); +lean_dec(x_180); +x_208 = lean_ptr_addr(x_185); +x_209 = lean_usize_dec_eq(x_207, x_208); +if (x_209 == 0) +{ +lean_object* x_210; lean_object* x_211; +lean_dec(x_182); +lean_dec(x_181); +lean_dec(x_1); +x_210 = l_Lean_Expr_letE___override(x_179, x_185, x_188, x_205, x_183); +x_211 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_206); +return x_211; +} +else +{ +size_t x_212; size_t x_213; uint8_t x_214; +x_212 = lean_ptr_addr(x_181); +lean_dec(x_181); +x_213 = lean_ptr_addr(x_188); +x_214 = lean_usize_dec_eq(x_212, x_213); +if (x_214 == 0) +{ +lean_object* x_215; lean_object* x_216; +lean_dec(x_182); +lean_dec(x_1); +x_215 = l_Lean_Expr_letE___override(x_179, x_185, x_188, x_205, x_183); +x_216 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_216, 0, x_215); +lean_ctor_set(x_216, 1, x_206); +return x_216; +} +else +{ +size_t x_217; size_t x_218; uint8_t x_219; +x_217 = lean_ptr_addr(x_182); +lean_dec(x_182); +x_218 = lean_ptr_addr(x_205); +x_219 = lean_usize_dec_eq(x_217, x_218); +if (x_219 == 0) +{ +lean_object* x_220; lean_object* x_221; +lean_dec(x_1); +x_220 = l_Lean_Expr_letE___override(x_179, x_185, x_188, x_205, x_183); +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_220); +lean_ctor_set(x_221, 1, x_206); +return x_221; +} +else +{ +lean_object* x_222; +lean_dec(x_205); +lean_dec(x_188); +lean_dec(x_185); +lean_dec(x_179); +x_222 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_222, 0, x_1); +lean_ctor_set(x_222, 1, x_206); +return x_222; +} +} +} +} +} +case 10: +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; +x_223 = lean_ctor_get(x_1, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_1, 1); +lean_inc(x_224); +lean_inc(x_224); +x_225 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_224, x_2); +x_226 = !lean_is_exclusive(x_225); +if (x_226 == 0) +{ +lean_object* x_227; size_t x_228; size_t x_229; uint8_t x_230; +x_227 = lean_ctor_get(x_225, 0); +x_228 = lean_ptr_addr(x_224); +lean_dec(x_224); +x_229 = lean_ptr_addr(x_227); +x_230 = lean_usize_dec_eq(x_228, x_229); +if (x_230 == 0) +{ +lean_object* x_231; +lean_dec(x_1); +x_231 = l_Lean_Expr_mdata___override(x_223, x_227); +lean_ctor_set(x_225, 0, x_231); +return x_225; +} +else +{ +lean_dec(x_227); +lean_dec(x_223); +lean_ctor_set(x_225, 0, x_1); +return x_225; +} +} +else +{ +lean_object* x_232; lean_object* x_233; size_t x_234; size_t x_235; uint8_t x_236; +x_232 = lean_ctor_get(x_225, 0); +x_233 = lean_ctor_get(x_225, 1); +lean_inc(x_233); +lean_inc(x_232); +lean_dec(x_225); +x_234 = lean_ptr_addr(x_224); +lean_dec(x_224); +x_235 = lean_ptr_addr(x_232); +x_236 = lean_usize_dec_eq(x_234, x_235); +if (x_236 == 0) +{ +lean_object* x_237; lean_object* x_238; +lean_dec(x_1); +x_237 = l_Lean_Expr_mdata___override(x_223, x_232); +x_238 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_238, 0, x_237); +lean_ctor_set(x_238, 1, x_233); +return x_238; +} +else +{ +lean_object* x_239; +lean_dec(x_232); +lean_dec(x_223); +x_239 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_239, 0, x_1); +lean_ctor_set(x_239, 1, x_233); +return x_239; +} +} +} +case 11: +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; +x_240 = lean_ctor_get(x_1, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_1, 1); +lean_inc(x_241); +x_242 = lean_ctor_get(x_1, 2); +lean_inc(x_242); +lean_inc(x_242); +x_243 = l_Lean_Meta_SynthInstance_MkTableKey_normExpr(x_242, x_2); +x_244 = !lean_is_exclusive(x_243); +if (x_244 == 0) +{ +lean_object* x_245; size_t x_246; size_t x_247; uint8_t x_248; +x_245 = lean_ctor_get(x_243, 0); +x_246 = lean_ptr_addr(x_242); +lean_dec(x_242); +x_247 = lean_ptr_addr(x_245); +x_248 = lean_usize_dec_eq(x_246, x_247); +if (x_248 == 0) +{ +lean_object* x_249; +lean_dec(x_1); +x_249 = l_Lean_Expr_proj___override(x_240, x_241, x_245); +lean_ctor_set(x_243, 0, x_249); +return x_243; +} +else +{ +lean_dec(x_245); +lean_dec(x_241); +lean_dec(x_240); +lean_ctor_set(x_243, 0, x_1); +return x_243; +} +} +else +{ +lean_object* x_250; lean_object* x_251; size_t x_252; size_t x_253; uint8_t x_254; +x_250 = lean_ctor_get(x_243, 0); +x_251 = lean_ctor_get(x_243, 1); +lean_inc(x_251); +lean_inc(x_250); +lean_dec(x_243); +x_252 = lean_ptr_addr(x_242); +lean_dec(x_242); +x_253 = lean_ptr_addr(x_250); +x_254 = lean_usize_dec_eq(x_252, x_253); +if (x_254 == 0) +{ +lean_object* x_255; lean_object* x_256; +lean_dec(x_1); +x_255 = l_Lean_Expr_proj___override(x_240, x_241, x_250); +x_256 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_256, 0, x_255); +lean_ctor_set(x_256, 1, x_251); +return x_256; +} +else +{ +lean_object* x_257; +lean_dec(x_250); +lean_dec(x_241); +lean_dec(x_240); +x_257 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_257, 0, x_1); +lean_ctor_set(x_257, 1, x_251); +return x_257; +} } } default: { -lean_object* x_139; -x_139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_139, 0, x_1); -lean_ctor_set(x_139, 1, x_2); -return x_139; +lean_object* x_258; +x_258 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_258, 0, x_1); +lean_ctor_set(x_258, 1, x_2); +return x_258; } } } @@ -3009,66 +3766,107 @@ 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_inc(x_31); lean_inc(x_1); x_33 = l_Std_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__3(x_1, x_31); if (x_33 == 0) { lean_object* x_34; uint8_t x_35; +lean_inc(x_32); x_34 = l_List_mapM___at_Lean_Meta_SynthInstance_getInstances___spec__3(x_32, x_6, x_7, x_8, x_9, x_10); x_35 = !lean_is_exclusive(x_34); if (x_35 == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_object* x_36; uint8_t x_37; x_36 = lean_ctor_get(x_34, 0); -x_37 = lean_expr_update_const(x_30, x_36); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_34, 0, x_38); +x_37 = l_ptrEqList___rarg(x_32, x_36); +lean_dec(x_32); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_30); +x_38 = l_Lean_Expr_const___override(x_31, x_36); +x_39 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_34, 0, x_39); x_13 = x_34; goto block_29; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_39 = lean_ctor_get(x_34, 0); -x_40 = lean_ctor_get(x_34, 1); -lean_inc(x_40); -lean_inc(x_39); +lean_object* x_40; +lean_dec(x_36); +lean_dec(x_31); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_30); +lean_ctor_set(x_34, 0, x_40); +x_13 = x_34; +goto block_29; +} +} +else +{ +lean_object* x_41; lean_object* x_42; uint8_t 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_41 = lean_expr_update_const(x_30, 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_42); -lean_ctor_set(x_43, 1, x_40); -x_13 = x_43; -goto block_29; -} -} -else -{ -lean_object* x_44; lean_object* x_45; +x_43 = l_ptrEqList___rarg(x_32, x_41); lean_dec(x_32); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_dec(x_30); -x_44 = lean_box(0); -x_45 = lean_alloc_ctor(0, 2, 0); +x_44 = l_Lean_Expr_const___override(x_31, x_41); +x_45 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_10); -x_13 = x_45; +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_42); +x_13 = x_46; +goto block_29; +} +else +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_41); +lean_dec(x_31); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_30); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_42); +x_13 = x_48; +goto block_29; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_30); +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_10); +x_13 = x_50; goto block_29; } } else { -lean_object* x_46; lean_object* x_47; +lean_object* x_51; lean_object* x_52; lean_dec(x_30); -x_46 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_getInstances___spec__5___closed__4; +x_51 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_getInstances___spec__5___closed__4; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_47 = l_panic___at___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___spec__4(x_46, x_6, x_7, x_8, x_9, x_10); -x_13 = x_47; +x_52 = l_panic___at___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___spec__4(x_51, x_6, x_7, x_8, x_9, x_10); +x_13 = x_52; goto block_29; } block_29: @@ -3140,16 +3938,16 @@ return x_28; } else { -lean_object* x_48; +lean_object* x_53; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_5); -lean_ctor_set(x_48, 1, x_10); -return x_48; +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_5); +lean_ctor_set(x_53, 1, x_10); +return x_53; } } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c b/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c index e7ecc80cd4..1765c5d8b9 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c @@ -340,7 +340,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_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__1___closed__1; x_2 = l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__1___closed__3; 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/Tactic/Apply.c b/stage0/stdlib/Lean/Meta/Tactic/Apply.c index a5767c3d2d..623ba8425e 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Apply.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Apply.c @@ -690,7 +690,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_Nat_forM_loop___at_Lean_Meta_synthAppInstances___spec__1___closed__1; x_2 = l_Nat_forM_loop___at_Lean_Meta_synthAppInstances___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Nat_forM_loop___at_Lean_Meta_synthAppInstances___spec__1___closed__3; 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/Tactic/Assert.c b/stage0/stdlib/Lean/Meta/Tactic/Assert.c index 3ad6b45f3c..f2c45366c1 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Assert.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Assert.c @@ -1271,7 +1271,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_Nat_foldAux___at_Lean_Meta_assertAfter___spec__7___closed__1; x_2 = l_Nat_foldAux___at_Lean_Meta_assertAfter___spec__7___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Nat_foldAux___at_Lean_Meta_assertAfter___spec__7___closed__3; 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/Tactic/Cases.c b/stage0/stdlib/Lean/Meta/Tactic/Cases.c index 2f355b83a0..b23bf0bb68 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Cases.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Cases.c @@ -1154,7 +1154,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_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop___rarg___closed__1; x_2 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop___rarg___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop___rarg___closed__3; 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/Tactic/Constructor.c b/stage0/stdlib/Lean/Meta/Tactic/Constructor.c index 7934133454..ea138d038e 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Constructor.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Constructor.c @@ -14,6 +14,7 @@ extern "C" { #endif static lean_object* l_Lean_Meta_existsIntro___lambda__2___closed__5; +LEAN_EXPORT lean_object* l_Lean_Meta_constructor___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_existsIntro___lambda__2___closed__3; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Meta_constructor___lambda__2___closed__1; @@ -24,12 +25,14 @@ lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Meta_existsIntro___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_constructor___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_toSubarray___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; lean_object* l_Lean_Meta_checkApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_constructor___closed__2; lean_object* l_Lean_Meta_apply(lean_object*, lean_object*, uint8_t, 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_Meta_constructor___boxed(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_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -52,11 +55,11 @@ lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_existsIntro___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_Meta_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_existsIntro___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_constructor___spec__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_List_forIn_loop___at_Lean_Meta_constructor___spec__1(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_Meta_existsIntro___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_existsIntro___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_Meta_existsIntro___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_constructor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_constructor___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); @@ -68,53 +71,52 @@ static lean_object* l_Lean_Meta_existsIntro___lambda__2___closed__6; static lean_object* l_Lean_Meta_constructor___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_existsIntro(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_Meta_constructor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_constructor___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_EXPORT lean_object* l_Lean_Meta_constructor(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_constructor___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, lean_object* x_10, lean_object* x_11) { _start: { -if (lean_obj_tag(x_4) == 0) +if (lean_obj_tag(x_5) == 0) { -lean_object* x_11; +lean_object* 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_4); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_5); -lean_ctor_set(x_11, 1, x_10); -return x_11; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_6); +lean_ctor_set(x_12, 1, x_11); +return x_12; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -lean_dec(x_5); -x_12 = lean_ctor_get(x_4, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_4, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_6); +x_13 = lean_ctor_get(x_5, 0); lean_inc(x_13); -lean_dec(x_4); -lean_inc(x_2); -x_14 = l_Lean_Expr_const___override(x_12, x_2); -x_15 = 0; +x_14 = lean_ctor_get(x_5, 1); +lean_inc(x_14); +lean_dec(x_5); +lean_inc(x_3); +x_15 = l_Lean_Expr_const___override(x_13, x_3); +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_16 = l_Lean_Meta_apply(x_1, x_14, x_15, x_6, x_7, x_8, x_9, x_10); +x_16 = l_Lean_Meta_apply(x_1, x_15, x_2, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_16) == 0) { uint8_t x_17; -lean_dec(x_13); +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_4); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) @@ -156,14 +158,14 @@ lean_object* x_28; x_28 = lean_ctor_get(x_16, 1); lean_inc(x_28); lean_dec(x_16); -lean_inc(x_3); +lean_inc(x_4); { -lean_object* _tmp_3 = x_13; -lean_object* _tmp_4 = x_3; -lean_object* _tmp_9 = x_28; -x_4 = _tmp_3; +lean_object* _tmp_4 = x_14; +lean_object* _tmp_5 = x_4; +lean_object* _tmp_10 = x_28; x_5 = _tmp_4; -x_10 = _tmp_9; +x_6 = _tmp_5; +x_11 = _tmp_10; } goto _start; } @@ -247,220 +249,220 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_constructor___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_EXPORT lean_object* l_Lean_Meta_constructor___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) { _start: { -lean_object* x_8; -lean_inc(x_5); -lean_inc(x_3); +lean_object* x_9; +lean_inc(x_6); +lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_8 = l_Lean_Meta_checkNotAssigned(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_8) == 0) +x_9 = l_Lean_Meta_checkNotAssigned(x_1, x_2, 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; -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(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_10 = l_Lean_Meta_getMVarType_x27(x_1, x_3, x_4, x_5, x_6, x_9); -if (lean_obj_tag(x_10) == 0) +x_11 = l_Lean_Meta_getMVarType_x27(x_1, x_4, x_5, x_6, x_7, x_10); +if (lean_obj_tag(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_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_10); -x_13 = l_Lean_Expr_getAppFn(x_11); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); lean_dec(x_11); -if (lean_obj_tag(x_13) == 4) +x_14 = l_Lean_Expr_getAppFn(x_12); +lean_dec(x_12); +if (lean_obj_tag(x_14) == 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; -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; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_st_ref_get(x_6, x_12); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_st_ref_get(x_7, x_13); +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ctor_get(x_17, 0); +x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -x_20 = lean_environment_find(x_19, x_14); -if (lean_obj_tag(x_20) == 0) +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_environment_find(x_20, x_15); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; -lean_dec(x_15); -x_21 = l_Lean_Meta_constructor___lambda__2___closed__3; -x_22 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_1, x_21, x_3, x_4, x_5, x_6, x_18); -lean_dec(x_6); -lean_dec(x_4); -return x_22; +lean_object* x_22; lean_object* x_23; +lean_dec(x_16); +x_22 = l_Lean_Meta_constructor___lambda__2___closed__3; +x_23 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_1, x_22, x_4, x_5, x_6, x_7, x_19); +lean_dec(x_7); +lean_dec(x_5); +return x_23; } else { -lean_object* x_23; -x_23 = lean_ctor_get(x_20, 0); -lean_inc(x_23); -lean_dec(x_20); -if (lean_obj_tag(x_23) == 5) -{ -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_23, 0); +lean_object* x_24; +x_24 = lean_ctor_get(x_21, 0); lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_ctor_get(x_24, 4); +lean_dec(x_21); +if (lean_obj_tag(x_24) == 5) +{ +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_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); lean_dec(x_24); -x_26 = l_Lean_Meta_constructor___lambda__2___closed__4; +x_26 = lean_ctor_get(x_25, 4); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Lean_Meta_constructor___lambda__2___closed__4; +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_27 = l_List_forIn_loop___at_Lean_Meta_constructor___spec__1(x_1, x_15, x_26, x_25, x_26, x_3, x_4, x_5, x_6, x_18); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); +x_28 = l_List_forIn_loop___at_Lean_Meta_constructor___spec__1(x_1, x_3, x_16, x_27, x_26, x_27, x_4, x_5, x_6, x_7, x_19); x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); -lean_dec(x_28); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_27, 1); +x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -lean_dec(x_27); -x_31 = lean_box(0); -x_32 = l_Lean_Meta_constructor___lambda__1(x_2, x_1, x_31, x_3, x_4, x_5, x_6, x_30); -lean_dec(x_6); -lean_dec(x_4); -return x_32; +lean_dec(x_29); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +x_32 = lean_box(0); +x_33 = l_Lean_Meta_constructor___lambda__1(x_2, x_1, x_32, x_4, x_5, x_6, x_7, x_31); +lean_dec(x_7); +lean_dec(x_5); +return x_33; } else { -uint8_t x_33; +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_33 = !lean_is_exclusive(x_27); -if (x_33 == 0) +x_34 = !lean_is_exclusive(x_28); +if (x_34 == 0) { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_27, 0); -lean_dec(x_34); -x_35 = lean_ctor_get(x_29, 0); -lean_inc(x_35); -lean_dec(x_29); -lean_ctor_set(x_27, 0, x_35); -return x_27; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_27, 1); +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_28, 0); +lean_dec(x_35); +x_36 = lean_ctor_get(x_30, 0); lean_inc(x_36); -lean_dec(x_27); -x_37 = lean_ctor_get(x_29, 0); +lean_dec(x_30); +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, 1); lean_inc(x_37); -lean_dec(x_29); -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; +lean_dec(x_28); +x_38 = lean_ctor_get(x_30, 0); +lean_inc(x_38); +lean_dec(x_30); +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_39; lean_object* x_40; -lean_dec(x_23); -lean_dec(x_15); -x_39 = l_Lean_Meta_constructor___lambda__2___closed__3; -x_40 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_1, x_39, x_3, x_4, x_5, x_6, x_18); -lean_dec(x_6); -lean_dec(x_4); -return x_40; +lean_object* x_40; lean_object* x_41; +lean_dec(x_24); +lean_dec(x_16); +x_40 = l_Lean_Meta_constructor___lambda__2___closed__3; +x_41 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_1, x_40, x_4, x_5, x_6, x_7, x_19); +lean_dec(x_7); +lean_dec(x_5); +return x_41; } } } else { -lean_object* x_41; lean_object* x_42; -lean_dec(x_13); -x_41 = l_Lean_Meta_constructor___lambda__2___closed__3; -x_42 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_1, x_41, x_3, x_4, x_5, x_6, x_12); -lean_dec(x_6); -lean_dec(x_4); -return x_42; +lean_object* x_42; lean_object* x_43; +lean_dec(x_14); +x_42 = l_Lean_Meta_constructor___lambda__2___closed__3; +x_43 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_1, x_42, x_4, x_5, x_6, x_7, x_13); +lean_dec(x_7); +lean_dec(x_5); +return x_43; } } else { -uint8_t x_43; +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_2); lean_dec(x_1); -x_43 = !lean_is_exclusive(x_10); -if (x_43 == 0) +x_44 = !lean_is_exclusive(x_11); +if (x_44 == 0) { -return x_10; +return x_11; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_10, 0); -x_45 = lean_ctor_get(x_10, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_11, 0); +x_46 = lean_ctor_get(x_11, 1); +lean_inc(x_46); lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_10); -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_11); +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_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_47 = !lean_is_exclusive(x_8); -if (x_47 == 0) +x_48 = !lean_is_exclusive(x_9); +if (x_48 == 0) { -return x_8; +return x_9; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_8, 0); -x_49 = lean_ctor_get(x_8, 1); +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_inc(x_48); -lean_dec(x_8); -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_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; } } } @@ -483,17 +485,29 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_constructor(lean_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_Meta_constructor(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_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Meta_constructor___closed__2; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = l_Lean_Meta_constructor___closed__2; +x_9 = lean_box(x_2); lean_inc(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_Meta_constructor___lambda__2), 7, 2); -lean_closure_set(x_8, 0, x_1); -lean_closure_set(x_8, 1, x_7); -x_9 = l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_1, x_8, x_2, x_3, x_4, x_5, x_6); -return x_9; +x_10 = lean_alloc_closure((void*)(l_Lean_Meta_constructor___lambda__2___boxed), 8, 3); +lean_closure_set(x_10, 0, x_1); +lean_closure_set(x_10, 1, x_8); +lean_closure_set(x_10, 2, x_9); +x_11 = l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_1, x_10, x_3, x_4, x_5, x_6, x_7); +return x_11; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_constructor___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_2); +lean_dec(x_2); +x_13 = l_List_forIn_loop___at_Lean_Meta_constructor___spec__1(x_1, x_12, x_3, 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_Meta_constructor___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) { @@ -507,6 +521,26 @@ lean_dec(x_3); return x_9; } } +LEAN_EXPORT lean_object* l_Lean_Meta_constructor___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_3); +lean_dec(x_3); +x_10 = l_Lean_Meta_constructor___lambda__2(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_constructor___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +lean_dec(x_2); +x_9 = l_Lean_Meta_constructor(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} static lean_object* _init_l_Lean_Meta_existsIntro___lambda__1___closed__1() { _start: { diff --git a/stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c b/stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c index bc0823aa46..c471a056b2 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c +++ b/stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c @@ -1564,7 +1564,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_Std_Range_forIn_loop___at_Lean_Meta_getElimInfo___spec__6___closed__2; x_2 = l_Std_Range_forIn_loop___at_Lean_Meta_getElimInfo___spec__6___closed__3; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Meta_getElimInfo___spec__6___closed__4; 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/Tactic/Generalize.c b/stage0/stdlib/Lean/Meta/Tactic/Generalize.c index 0f25d16fce..6f32c17e58 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Generalize.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Generalize.c @@ -537,7 +537,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_Meta_generalize_go_x27___closed__1; x_2 = l_Lean_Meta_generalize_go_x27___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_generalize_go_x27___closed__3; 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/Tactic/Induction.c b/stage0/stdlib/Lean/Meta/Tactic/Induction.c index 795ee2faca..567c5f83a4 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Induction.c @@ -829,7 +829,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_Nat_foldAux___at___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___spec__2___closed__1; x_2 = l_Nat_foldAux___at___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Nat_foldAux___at___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___spec__2___closed__3; 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/Tactic/Injection.c b/stage0/stdlib/Lean/Meta/Tactic/Injection.c index 84e6b3a1a8..0aca813685 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Injection.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Injection.c @@ -131,7 +131,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_Std_Range_forIn_loop___at_Lean_Meta_getCtorNumPropFields___spec__1___closed__1; x_2 = l_Std_Range_forIn_loop___at_Lean_Meta_getCtorNumPropFields___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Meta_getCtorNumPropFields___spec__1___closed__3; 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/Tactic/Intro.c b/stage0/stdlib/Lean/Meta/Tactic/Intro.c index 230012220b..c51414b4a9 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Intro.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Intro.c @@ -1993,7 +1993,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_Meta_intro___closed__1; x_2 = l_Lean_Meta_intro___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_intro___closed__3; 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/Tactic/LinearArith/Nat/Basic.c b/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Nat/Basic.c index a3eb50d10b..40c1e9ceef 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Nat/Basic.c +++ b/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Nat/Basic.c @@ -2079,7 +2079,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_Meta_Linear_Nat_LinearExpr_toArith___closed__1; x_2 = l_Lean_Meta_Linear_Nat_LinearExpr_toArith___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_Linear_Nat_LinearExpr_toArith___closed__3; 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/Tactic/LinearArith/Solver.c b/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c index 0ac8116f20..d359a7ed05 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c +++ b/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c @@ -4642,7 +4642,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_Meta_Linear_State_getBestLowerBound_x3f___closed__1; x_2 = l_Lean_Meta_Linear_State_getBestLowerBound_x3f___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_Linear_State_getBestLowerBound_x3f___closed__3; 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/Tactic/Simp/Main.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c index 1e129146a5..9d6a8e20a3 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c @@ -26,7 +26,6 @@ static lean_object* l_Lean_Meta_Simp_isOfNatNatLit___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___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___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_dsimpMain(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_replaceTargetDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkImpCongrCtx(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*); @@ -75,6 +74,7 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v lean_object* l___private_Std_Data_HashMap_0__Std_numBucketsForCapacity(lean_object*); static lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__9___closed__1; lean_object* l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(lean_object*, 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_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__9___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpArrow___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_Meta_Simp_simp_trySimpCongrTheorem_x3f___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*); @@ -93,7 +93,6 @@ static lean_object* l_Lean_Meta_Simp_removeUnnecessaryCasts_isDummyEqRec___close LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Meta_Simp_simp_simpProj___spec__4___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpLet___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_panic___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f_go_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg___closed__2; @@ -503,7 +502,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f(lean_obje uint8_t l_Lean_Expr_isLambda(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_withNewLemmas___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_Meta_dsimpGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l_Lean_Meta_Simp_initFn____x40_Lean_Meta_Tactic_Simp_Main___hyg_5____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_cacheResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -552,6 +550,7 @@ lean_object* l_Lean_Expr_fvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at_Lean_Meta_Simp_simp_simpProj___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_Meta_dsimpGoal___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_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10___boxed(lean_object**); +size_t lean_ptr_addr(lean_object*); lean_object* l_Lean_Meta_mkForallCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -690,6 +689,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congr static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__9; lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpForall___closed__8; +uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_dsimpGoal___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_EXPORT lean_object* l_Std_PersistentArray_findSomeRevMAux___at_Lean_Meta_Simp_dischargeUsingAssumption_x3f___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_Meta_Simp_simp_simpLoop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -702,6 +702,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToProp(lean_object*, lean_ob static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___lambda__7___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___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_Meta_withLocalDecl___at_Lean_Meta_Simp_lambdaTelescopeDSimp_go___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkExpectedTypeHint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2021,8 +2022,8 @@ _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_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__1; x_2 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__2; -x_3 = lean_unsigned_to_nat(1467u); -x_4 = lean_unsigned_to_nat(23u); +x_3 = lean_unsigned_to_nat(1471u); +x_4 = lean_unsigned_to_nat(24u); x_5 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -2040,21 +2041,79 @@ x_11 = lean_ctor_get(x_2, 1); lean_inc(x_11); if (lean_obj_tag(x_1) == 7) { -uint8_t x_131; lean_object* x_132; -x_131 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_132 = lean_expr_update_forall(x_1, x_131, x_9, x_10); -x_12 = x_132; +lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; size_t x_136; size_t x_137; uint8_t x_138; +x_131 = lean_ctor_get(x_1, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_1, 1); +lean_inc(x_132); +x_133 = lean_ctor_get(x_1, 2); +lean_inc(x_133); +x_134 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_133); +lean_inc(x_132); +lean_inc(x_131); +x_135 = l_Lean_Expr_forallE___override(x_131, x_132, x_133, x_134); +x_136 = lean_ptr_addr(x_132); +lean_dec(x_132); +x_137 = lean_ptr_addr(x_9); +x_138 = lean_usize_dec_eq(x_136, x_137); +if (x_138 == 0) +{ +lean_object* x_139; +lean_dec(x_135); +lean_dec(x_133); +x_139 = l_Lean_Expr_forallE___override(x_131, x_9, x_10, x_134); +x_12 = x_139; goto block_130; } else { -lean_object* x_133; lean_object* x_134; +size_t x_140; size_t x_141; uint8_t x_142; +x_140 = lean_ptr_addr(x_133); +lean_dec(x_133); +x_141 = lean_ptr_addr(x_10); +x_142 = lean_usize_dec_eq(x_140, x_141); +if (x_142 == 0) +{ +lean_object* x_143; +lean_dec(x_135); +x_143 = l_Lean_Expr_forallE___override(x_131, x_9, x_10, x_134); +x_12 = x_143; +goto block_130; +} +else +{ +uint8_t x_144; +x_144 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_134, x_134); +if (x_144 == 0) +{ +lean_object* x_145; +lean_dec(x_135); +x_145 = l_Lean_Expr_forallE___override(x_131, x_9, x_10, x_134); +x_12 = x_145; +goto block_130; +} +else +{ +lean_dec(x_131); +lean_dec(x_10); +lean_dec(x_9); +x_12 = x_135; +goto block_130; +} +} +} +} +else +{ +lean_object* x_146; lean_object* x_147; lean_dec(x_10); lean_dec(x_9); lean_dec(x_1); -x_133 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; -x_134 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_133); -x_12 = x_134; +x_146 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; +x_147 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_146); +x_12 = x_147; goto block_130; } block_130: @@ -7848,9 +7907,11 @@ return x_31; } case 10: { -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_18, 1); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_18, 0); lean_inc(x_32); +x_33 = lean_ctor_get(x_18, 1); +lean_inc(x_33); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -7859,26 +7920,46 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_33); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_33 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_32, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_33) == 0) +x_34 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_33, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_34) == 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_object* x_35; lean_object* x_36; size_t x_37; size_t x_38; uint8_t x_39; +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_ptr_addr(x_33); lean_dec(x_33); -x_36 = lean_expr_update_mdata(x_18, x_34); -x_37 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_36, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_35); -return x_37; +x_38 = lean_ptr_addr(x_35); +x_39 = lean_usize_dec_eq(x_37, x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_18); +x_40 = l_Lean_Expr_mdata___override(x_32, x_35); +x_41 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_40, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_36); +return x_41; } else { -uint8_t x_38; +lean_object* x_42; +lean_dec(x_35); +lean_dec(x_32); +x_42 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_36); +return x_42; +} +} +else +{ +uint8_t x_43; +lean_dec(x_33); +lean_dec(x_32); lean_dec(x_18); lean_dec(x_14); lean_dec(x_13); @@ -7892,31 +7973,35 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_33); -if (x_38 == 0) +x_43 = !lean_is_exclusive(x_34); +if (x_43 == 0) { -return x_33; +return x_34; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_33, 0); -x_40 = lean_ctor_get(x_33, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_33); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_34, 0); +x_45 = lean_ctor_get(x_34, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_34); +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; } } } case 11: { -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_18, 2); -lean_inc(x_42); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_ctor_get(x_18, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_18, 1); +lean_inc(x_48); +x_49 = lean_ctor_get(x_18, 2); +lean_inc(x_49); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -7925,26 +8010,48 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_49); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_43 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_42, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_43) == 0) +x_50 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_49, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_50) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_expr_update_proj(x_18, x_44); -x_47 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_46, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_45); -return x_47; +lean_object* x_51; lean_object* x_52; size_t x_53; size_t x_54; uint8_t 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_ptr_addr(x_49); +lean_dec(x_49); +x_54 = lean_ptr_addr(x_51); +x_55 = lean_usize_dec_eq(x_53, x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_18); +x_56 = l_Lean_Expr_proj___override(x_47, x_48, x_51); +x_57 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_56, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_52); +return x_57; } else { -uint8_t x_48; +lean_object* x_58; +lean_dec(x_51); +lean_dec(x_48); +lean_dec(x_47); +x_58 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_52); +return x_58; +} +} +else +{ +uint8_t x_59; +lean_dec(x_49); +lean_dec(x_48); +lean_dec(x_47); lean_dec(x_18); lean_dec(x_14); lean_dec(x_13); @@ -7958,31 +8065,31 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_48 = !lean_is_exclusive(x_43); -if (x_48 == 0) +x_59 = !lean_is_exclusive(x_50); +if (x_59 == 0) { -return x_43; +return x_50; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_43, 0); -x_50 = lean_ctor_get(x_43, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_43); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_50, 0); +x_61 = lean_ctor_get(x_50, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_50); +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; } } } default: { -lean_object* x_52; -x_52 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_52; +lean_object* x_63; +x_63 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_63; } } } @@ -10239,7 +10346,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_Std_Range_forIn_loop___at_Lean_Meta_Simp_removeUnnecessaryCasts___spec__1___closed__1; x_2 = l_Std_Range_forIn_loop___at_Lean_Meta_Simp_removeUnnecessaryCasts___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_Meta_Simp_removeUnnecessaryCasts___spec__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -19045,272 +19152,503 @@ lean_dec(x_114); lean_ctor_set(x_85, 0, x_115); if (lean_obj_tag(x_2) == 7) { -uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_117 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); -x_118 = lean_expr_update_forall(x_2, x_117, x_4, x_103); -x_119 = lean_unsigned_to_nat(0u); -x_120 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_85); -lean_ctor_set(x_120, 2, x_119); -x_27 = x_120; +lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; size_t x_122; size_t x_123; uint8_t x_124; +x_117 = lean_ctor_get(x_2, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_2, 1); +lean_inc(x_118); +x_119 = lean_ctor_get(x_2, 2); +lean_inc(x_119); +x_120 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +x_121 = l_Lean_Expr_forallE___override(x_117, x_118, x_119, x_120); +x_122 = lean_ptr_addr(x_118); +lean_dec(x_118); +x_123 = lean_ptr_addr(x_4); +x_124 = lean_usize_dec_eq(x_122, x_123); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_dec(x_121); +lean_dec(x_119); +x_125 = l_Lean_Expr_forallE___override(x_117, x_4, x_103, x_120); +x_126 = lean_unsigned_to_nat(0u); +x_127 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_85); +lean_ctor_set(x_127, 2, x_126); +x_27 = x_127; x_28 = x_116; goto block_48; } else { -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +size_t x_128; size_t x_129; uint8_t x_130; +x_128 = lean_ptr_addr(x_119); +lean_dec(x_119); +x_129 = lean_ptr_addr(x_103); +x_130 = lean_usize_dec_eq(x_128, x_129); +if (x_130 == 0) +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_dec(x_121); +x_131 = l_Lean_Expr_forallE___override(x_117, x_4, x_103, x_120); +x_132 = lean_unsigned_to_nat(0u); +x_133 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_85); +lean_ctor_set(x_133, 2, x_132); +x_27 = x_133; +x_28 = x_116; +goto block_48; +} +else +{ +uint8_t x_134; +x_134 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_120, x_120); +if (x_134 == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; +lean_dec(x_121); +x_135 = l_Lean_Expr_forallE___override(x_117, x_4, x_103, x_120); +x_136 = lean_unsigned_to_nat(0u); +x_137 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_85); +lean_ctor_set(x_137, 2, x_136); +x_27 = x_137; +x_28 = x_116; +goto block_48; +} +else +{ +lean_object* x_138; lean_object* x_139; +lean_dec(x_117); +lean_dec(x_103); +lean_dec(x_4); +x_138 = lean_unsigned_to_nat(0u); +x_139 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_139, 0, x_121); +lean_ctor_set(x_139, 1, x_85); +lean_ctor_set(x_139, 2, x_138); +x_27 = x_139; +x_28 = x_116; +goto block_48; +} +} +} +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_dec(x_103); lean_dec(x_4); lean_dec(x_2); -x_121 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; -x_122 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_121); -x_123 = lean_unsigned_to_nat(0u); -x_124 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_85); -lean_ctor_set(x_124, 2, x_123); -x_27 = x_124; +x_140 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; +x_141 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_140); +x_142 = lean_unsigned_to_nat(0u); +x_143 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set(x_143, 1, x_85); +lean_ctor_set(x_143, 2, x_142); +x_27 = x_143; x_28 = x_116; goto block_48; } } else { -lean_object* x_125; lean_object* x_126; +lean_object* x_144; lean_object* x_145; lean_dec(x_103); lean_free_object(x_85); lean_dec(x_4); lean_dec(x_2); -x_125 = lean_ctor_get(x_114, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_114, 1); -lean_inc(x_126); +x_144 = lean_ctor_get(x_114, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_114, 1); +lean_inc(x_145); lean_dec(x_114); -x_49 = x_125; -x_50 = x_126; +x_49 = x_144; +x_50 = x_145; goto block_70; } } else { -uint8_t x_127; uint8_t x_128; uint8_t x_129; uint8_t x_130; uint8_t x_131; uint8_t x_132; uint8_t x_133; uint8_t x_134; uint8_t x_135; uint8_t x_136; uint8_t x_137; uint8_t x_138; uint8_t x_139; uint8_t x_140; lean_object* x_141; lean_object* x_142; -x_127 = lean_ctor_get_uint8(x_107, 0); -x_128 = lean_ctor_get_uint8(x_107, 1); -x_129 = lean_ctor_get_uint8(x_107, 2); -x_130 = lean_ctor_get_uint8(x_107, 3); -x_131 = lean_ctor_get_uint8(x_107, 4); -x_132 = lean_ctor_get_uint8(x_107, 6); -x_133 = lean_ctor_get_uint8(x_107, 7); -x_134 = lean_ctor_get_uint8(x_107, 8); -x_135 = lean_ctor_get_uint8(x_107, 9); -x_136 = lean_ctor_get_uint8(x_107, 10); -x_137 = lean_ctor_get_uint8(x_107, 11); -x_138 = lean_ctor_get_uint8(x_107, 12); -x_139 = lean_ctor_get_uint8(x_107, 13); +uint8_t x_146; uint8_t x_147; uint8_t x_148; uint8_t x_149; uint8_t x_150; uint8_t x_151; uint8_t x_152; uint8_t x_153; uint8_t x_154; uint8_t x_155; uint8_t x_156; uint8_t x_157; uint8_t x_158; uint8_t x_159; lean_object* x_160; lean_object* x_161; +x_146 = lean_ctor_get_uint8(x_107, 0); +x_147 = lean_ctor_get_uint8(x_107, 1); +x_148 = lean_ctor_get_uint8(x_107, 2); +x_149 = lean_ctor_get_uint8(x_107, 3); +x_150 = lean_ctor_get_uint8(x_107, 4); +x_151 = lean_ctor_get_uint8(x_107, 6); +x_152 = lean_ctor_get_uint8(x_107, 7); +x_153 = lean_ctor_get_uint8(x_107, 8); +x_154 = lean_ctor_get_uint8(x_107, 9); +x_155 = lean_ctor_get_uint8(x_107, 10); +x_156 = lean_ctor_get_uint8(x_107, 11); +x_157 = lean_ctor_get_uint8(x_107, 12); +x_158 = lean_ctor_get_uint8(x_107, 13); lean_dec(x_107); -x_140 = 1; -x_141 = lean_alloc_ctor(0, 0, 14); -lean_ctor_set_uint8(x_141, 0, x_127); -lean_ctor_set_uint8(x_141, 1, x_128); -lean_ctor_set_uint8(x_141, 2, x_129); -lean_ctor_set_uint8(x_141, 3, x_130); -lean_ctor_set_uint8(x_141, 4, x_131); -lean_ctor_set_uint8(x_141, 5, x_140); -lean_ctor_set_uint8(x_141, 6, x_132); -lean_ctor_set_uint8(x_141, 7, x_133); -lean_ctor_set_uint8(x_141, 8, x_134); -lean_ctor_set_uint8(x_141, 9, x_135); -lean_ctor_set_uint8(x_141, 10, x_136); -lean_ctor_set_uint8(x_141, 11, x_137); -lean_ctor_set_uint8(x_141, 12, x_138); -lean_ctor_set_uint8(x_141, 13, x_139); -lean_ctor_set(x_9, 0, x_141); +x_159 = 1; +x_160 = lean_alloc_ctor(0, 0, 14); +lean_ctor_set_uint8(x_160, 0, x_146); +lean_ctor_set_uint8(x_160, 1, x_147); +lean_ctor_set_uint8(x_160, 2, x_148); +lean_ctor_set_uint8(x_160, 3, x_149); +lean_ctor_set_uint8(x_160, 4, x_150); +lean_ctor_set_uint8(x_160, 5, x_159); +lean_ctor_set_uint8(x_160, 6, x_151); +lean_ctor_set_uint8(x_160, 7, x_152); +lean_ctor_set_uint8(x_160, 8, x_153); +lean_ctor_set_uint8(x_160, 9, x_154); +lean_ctor_set_uint8(x_160, 10, x_155); +lean_ctor_set_uint8(x_160, 11, x_156); +lean_ctor_set_uint8(x_160, 12, x_157); +lean_ctor_set_uint8(x_160, 13, x_158); +lean_ctor_set(x_9, 0, x_160); lean_inc(x_12); -x_142 = l_Lean_Meta_mkImpCongrCtx(x_108, x_101, x_9, x_10, x_11, x_12, x_109); -if (lean_obj_tag(x_142) == 0) +x_161 = l_Lean_Meta_mkImpCongrCtx(x_108, x_101, x_9, x_10, x_11, x_12, x_109); +if (lean_obj_tag(x_161) == 0) { -lean_object* x_143; lean_object* x_144; -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_ctor_set(x_85, 0, x_143); +lean_object* x_162; lean_object* x_163; +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_ctor_set(x_85, 0, x_162); if (lean_obj_tag(x_2) == 7) { -uint8_t x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_145 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); -x_146 = lean_expr_update_forall(x_2, x_145, x_4, x_103); -x_147 = lean_unsigned_to_nat(0u); -x_148 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_85); -lean_ctor_set(x_148, 2, x_147); -x_27 = x_148; -x_28 = x_144; +lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; lean_object* x_168; size_t x_169; size_t x_170; uint8_t x_171; +x_164 = lean_ctor_get(x_2, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_2, 1); +lean_inc(x_165); +x_166 = lean_ctor_get(x_2, 2); +lean_inc(x_166); +x_167 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); +lean_inc(x_166); +lean_inc(x_165); +lean_inc(x_164); +x_168 = l_Lean_Expr_forallE___override(x_164, x_165, x_166, x_167); +x_169 = lean_ptr_addr(x_165); +lean_dec(x_165); +x_170 = lean_ptr_addr(x_4); +x_171 = lean_usize_dec_eq(x_169, x_170); +if (x_171 == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_168); +lean_dec(x_166); +x_172 = l_Lean_Expr_forallE___override(x_164, x_4, x_103, x_167); +x_173 = lean_unsigned_to_nat(0u); +x_174 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_85); +lean_ctor_set(x_174, 2, x_173); +x_27 = x_174; +x_28 = x_163; goto block_48; } else { -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +size_t x_175; size_t x_176; uint8_t x_177; +x_175 = lean_ptr_addr(x_166); +lean_dec(x_166); +x_176 = lean_ptr_addr(x_103); +x_177 = lean_usize_dec_eq(x_175, x_176); +if (x_177 == 0) +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; +lean_dec(x_168); +x_178 = l_Lean_Expr_forallE___override(x_164, x_4, x_103, x_167); +x_179 = lean_unsigned_to_nat(0u); +x_180 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_180, 0, x_178); +lean_ctor_set(x_180, 1, x_85); +lean_ctor_set(x_180, 2, x_179); +x_27 = x_180; +x_28 = x_163; +goto block_48; +} +else +{ +uint8_t x_181; +x_181 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_167, x_167); +if (x_181 == 0) +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_168); +x_182 = l_Lean_Expr_forallE___override(x_164, x_4, x_103, x_167); +x_183 = lean_unsigned_to_nat(0u); +x_184 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_184, 0, x_182); +lean_ctor_set(x_184, 1, x_85); +lean_ctor_set(x_184, 2, x_183); +x_27 = x_184; +x_28 = x_163; +goto block_48; +} +else +{ +lean_object* x_185; lean_object* x_186; +lean_dec(x_164); +lean_dec(x_103); +lean_dec(x_4); +x_185 = lean_unsigned_to_nat(0u); +x_186 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_186, 0, x_168); +lean_ctor_set(x_186, 1, x_85); +lean_ctor_set(x_186, 2, x_185); +x_27 = x_186; +x_28 = x_163; +goto block_48; +} +} +} +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_dec(x_103); lean_dec(x_4); lean_dec(x_2); -x_149 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; -x_150 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_149); -x_151 = lean_unsigned_to_nat(0u); -x_152 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_85); -lean_ctor_set(x_152, 2, x_151); -x_27 = x_152; -x_28 = x_144; +x_187 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; +x_188 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_187); +x_189 = lean_unsigned_to_nat(0u); +x_190 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_190, 0, x_188); +lean_ctor_set(x_190, 1, x_85); +lean_ctor_set(x_190, 2, x_189); +x_27 = x_190; +x_28 = x_163; goto block_48; } } else { -lean_object* x_153; lean_object* x_154; +lean_object* x_191; lean_object* x_192; lean_dec(x_103); lean_free_object(x_85); lean_dec(x_4); lean_dec(x_2); -x_153 = lean_ctor_get(x_142, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_142, 1); -lean_inc(x_154); -lean_dec(x_142); -x_49 = x_153; -x_50 = x_154; +x_191 = lean_ctor_get(x_161, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_161, 1); +lean_inc(x_192); +lean_dec(x_161); +x_49 = x_191; +x_50 = x_192; goto block_70; } } } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; uint8_t x_161; uint8_t x_162; uint8_t x_163; uint8_t x_164; uint8_t x_165; uint8_t x_166; uint8_t x_167; uint8_t x_168; uint8_t x_169; uint8_t x_170; uint8_t x_171; uint8_t x_172; lean_object* x_173; uint8_t x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_155 = lean_ctor_get(x_9, 1); -x_156 = lean_ctor_get(x_9, 2); -x_157 = lean_ctor_get(x_9, 3); -x_158 = lean_ctor_get(x_9, 4); -x_159 = lean_ctor_get(x_9, 5); -lean_inc(x_159); -lean_inc(x_158); -lean_inc(x_157); -lean_inc(x_156); -lean_inc(x_155); +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; uint8_t x_199; uint8_t x_200; uint8_t x_201; uint8_t x_202; uint8_t x_203; uint8_t x_204; uint8_t x_205; uint8_t x_206; uint8_t x_207; uint8_t x_208; uint8_t x_209; uint8_t x_210; lean_object* x_211; uint8_t x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_193 = lean_ctor_get(x_9, 1); +x_194 = lean_ctor_get(x_9, 2); +x_195 = lean_ctor_get(x_9, 3); +x_196 = lean_ctor_get(x_9, 4); +x_197 = lean_ctor_get(x_9, 5); +lean_inc(x_197); +lean_inc(x_196); +lean_inc(x_195); +lean_inc(x_194); +lean_inc(x_193); lean_dec(x_9); -x_160 = lean_ctor_get_uint8(x_107, 0); -x_161 = lean_ctor_get_uint8(x_107, 1); -x_162 = lean_ctor_get_uint8(x_107, 2); -x_163 = lean_ctor_get_uint8(x_107, 3); -x_164 = lean_ctor_get_uint8(x_107, 4); -x_165 = lean_ctor_get_uint8(x_107, 6); -x_166 = lean_ctor_get_uint8(x_107, 7); -x_167 = lean_ctor_get_uint8(x_107, 8); -x_168 = lean_ctor_get_uint8(x_107, 9); -x_169 = lean_ctor_get_uint8(x_107, 10); -x_170 = lean_ctor_get_uint8(x_107, 11); -x_171 = lean_ctor_get_uint8(x_107, 12); -x_172 = lean_ctor_get_uint8(x_107, 13); +x_198 = lean_ctor_get_uint8(x_107, 0); +x_199 = lean_ctor_get_uint8(x_107, 1); +x_200 = lean_ctor_get_uint8(x_107, 2); +x_201 = lean_ctor_get_uint8(x_107, 3); +x_202 = lean_ctor_get_uint8(x_107, 4); +x_203 = lean_ctor_get_uint8(x_107, 6); +x_204 = lean_ctor_get_uint8(x_107, 7); +x_205 = lean_ctor_get_uint8(x_107, 8); +x_206 = lean_ctor_get_uint8(x_107, 9); +x_207 = lean_ctor_get_uint8(x_107, 10); +x_208 = lean_ctor_get_uint8(x_107, 11); +x_209 = lean_ctor_get_uint8(x_107, 12); +x_210 = lean_ctor_get_uint8(x_107, 13); if (lean_is_exclusive(x_107)) { - x_173 = x_107; + x_211 = x_107; } else { lean_dec_ref(x_107); - x_173 = lean_box(0); + x_211 = lean_box(0); } -x_174 = 1; -if (lean_is_scalar(x_173)) { - x_175 = lean_alloc_ctor(0, 0, 14); +x_212 = 1; +if (lean_is_scalar(x_211)) { + x_213 = lean_alloc_ctor(0, 0, 14); } else { - x_175 = x_173; + x_213 = x_211; } -lean_ctor_set_uint8(x_175, 0, x_160); -lean_ctor_set_uint8(x_175, 1, x_161); -lean_ctor_set_uint8(x_175, 2, x_162); -lean_ctor_set_uint8(x_175, 3, x_163); -lean_ctor_set_uint8(x_175, 4, x_164); -lean_ctor_set_uint8(x_175, 5, x_174); -lean_ctor_set_uint8(x_175, 6, x_165); -lean_ctor_set_uint8(x_175, 7, x_166); -lean_ctor_set_uint8(x_175, 8, x_167); -lean_ctor_set_uint8(x_175, 9, x_168); -lean_ctor_set_uint8(x_175, 10, x_169); -lean_ctor_set_uint8(x_175, 11, x_170); -lean_ctor_set_uint8(x_175, 12, x_171); -lean_ctor_set_uint8(x_175, 13, x_172); -x_176 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_155); -lean_ctor_set(x_176, 2, x_156); -lean_ctor_set(x_176, 3, x_157); -lean_ctor_set(x_176, 4, x_158); -lean_ctor_set(x_176, 5, x_159); +lean_ctor_set_uint8(x_213, 0, x_198); +lean_ctor_set_uint8(x_213, 1, x_199); +lean_ctor_set_uint8(x_213, 2, x_200); +lean_ctor_set_uint8(x_213, 3, x_201); +lean_ctor_set_uint8(x_213, 4, x_202); +lean_ctor_set_uint8(x_213, 5, x_212); +lean_ctor_set_uint8(x_213, 6, x_203); +lean_ctor_set_uint8(x_213, 7, x_204); +lean_ctor_set_uint8(x_213, 8, x_205); +lean_ctor_set_uint8(x_213, 9, x_206); +lean_ctor_set_uint8(x_213, 10, x_207); +lean_ctor_set_uint8(x_213, 11, x_208); +lean_ctor_set_uint8(x_213, 12, x_209); +lean_ctor_set_uint8(x_213, 13, x_210); +x_214 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_193); +lean_ctor_set(x_214, 2, x_194); +lean_ctor_set(x_214, 3, x_195); +lean_ctor_set(x_214, 4, x_196); +lean_ctor_set(x_214, 5, x_197); lean_inc(x_12); -x_177 = l_Lean_Meta_mkImpCongrCtx(x_108, x_101, x_176, x_10, x_11, x_12, x_109); -if (lean_obj_tag(x_177) == 0) +x_215 = l_Lean_Meta_mkImpCongrCtx(x_108, x_101, x_214, x_10, x_11, x_12, x_109); +if (lean_obj_tag(x_215) == 0) { -lean_object* x_178; lean_object* x_179; -x_178 = lean_ctor_get(x_177, 0); -lean_inc(x_178); -x_179 = lean_ctor_get(x_177, 1); -lean_inc(x_179); -lean_dec(x_177); -lean_ctor_set(x_85, 0, x_178); +lean_object* x_216; lean_object* x_217; +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_ctor_set(x_85, 0, x_216); if (lean_obj_tag(x_2) == 7) { -uint8_t x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_180 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); -x_181 = lean_expr_update_forall(x_2, x_180, x_4, x_103); -x_182 = lean_unsigned_to_nat(0u); -x_183 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_85); -lean_ctor_set(x_183, 2, x_182); -x_27 = x_183; -x_28 = x_179; +lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; lean_object* x_222; size_t x_223; size_t x_224; uint8_t x_225; +x_218 = lean_ctor_get(x_2, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_2, 1); +lean_inc(x_219); +x_220 = lean_ctor_get(x_2, 2); +lean_inc(x_220); +x_221 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); +lean_inc(x_220); +lean_inc(x_219); +lean_inc(x_218); +x_222 = l_Lean_Expr_forallE___override(x_218, x_219, x_220, x_221); +x_223 = lean_ptr_addr(x_219); +lean_dec(x_219); +x_224 = lean_ptr_addr(x_4); +x_225 = lean_usize_dec_eq(x_223, x_224); +if (x_225 == 0) +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; +lean_dec(x_222); +lean_dec(x_220); +x_226 = l_Lean_Expr_forallE___override(x_218, x_4, x_103, x_221); +x_227 = lean_unsigned_to_nat(0u); +x_228 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_228, 0, x_226); +lean_ctor_set(x_228, 1, x_85); +lean_ctor_set(x_228, 2, x_227); +x_27 = x_228; +x_28 = x_217; goto block_48; } else { -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +size_t x_229; size_t x_230; uint8_t x_231; +x_229 = lean_ptr_addr(x_220); +lean_dec(x_220); +x_230 = lean_ptr_addr(x_103); +x_231 = lean_usize_dec_eq(x_229, x_230); +if (x_231 == 0) +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; +lean_dec(x_222); +x_232 = l_Lean_Expr_forallE___override(x_218, x_4, x_103, x_221); +x_233 = lean_unsigned_to_nat(0u); +x_234 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_234, 0, x_232); +lean_ctor_set(x_234, 1, x_85); +lean_ctor_set(x_234, 2, x_233); +x_27 = x_234; +x_28 = x_217; +goto block_48; +} +else +{ +uint8_t x_235; +x_235 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_221, x_221); +if (x_235 == 0) +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec(x_222); +x_236 = l_Lean_Expr_forallE___override(x_218, x_4, x_103, x_221); +x_237 = lean_unsigned_to_nat(0u); +x_238 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_238, 0, x_236); +lean_ctor_set(x_238, 1, x_85); +lean_ctor_set(x_238, 2, x_237); +x_27 = x_238; +x_28 = x_217; +goto block_48; +} +else +{ +lean_object* x_239; lean_object* x_240; +lean_dec(x_218); +lean_dec(x_103); +lean_dec(x_4); +x_239 = lean_unsigned_to_nat(0u); +x_240 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_240, 0, x_222); +lean_ctor_set(x_240, 1, x_85); +lean_ctor_set(x_240, 2, x_239); +x_27 = x_240; +x_28 = x_217; +goto block_48; +} +} +} +} +else +{ +lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_dec(x_103); lean_dec(x_4); lean_dec(x_2); -x_184 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; -x_185 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_184); -x_186 = lean_unsigned_to_nat(0u); -x_187 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_85); -lean_ctor_set(x_187, 2, x_186); -x_27 = x_187; -x_28 = x_179; +x_241 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; +x_242 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_241); +x_243 = lean_unsigned_to_nat(0u); +x_244 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_244, 0, x_242); +lean_ctor_set(x_244, 1, x_85); +lean_ctor_set(x_244, 2, x_243); +x_27 = x_244; +x_28 = x_217; goto block_48; } } else { -lean_object* x_188; lean_object* x_189; +lean_object* x_245; lean_object* x_246; lean_dec(x_103); lean_free_object(x_85); lean_dec(x_4); lean_dec(x_2); -x_188 = lean_ctor_get(x_177, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_177, 1); -lean_inc(x_189); -lean_dec(x_177); -x_49 = x_188; -x_50 = x_189; +x_245 = lean_ctor_get(x_215, 0); +lean_inc(x_245); +x_246 = lean_ctor_get(x_215, 1); +lean_inc(x_246); +lean_dec(x_215); +x_49 = x_245; +x_50 = x_246; goto block_70; } } } else { -lean_object* x_190; lean_object* x_191; +lean_object* x_247; lean_object* x_248; lean_dec(x_103); lean_dec(x_101); lean_free_object(x_85); @@ -19319,300 +19657,300 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_4); lean_dec(x_2); -x_190 = lean_ctor_get(x_106, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_106, 1); -lean_inc(x_191); +x_247 = lean_ctor_get(x_106, 0); +lean_inc(x_247); +x_248 = lean_ctor_get(x_106, 1); +lean_inc(x_248); lean_dec(x_106); -x_49 = x_190; -x_50 = x_191; +x_49 = x_247; +x_50 = x_248; goto block_70; } } else { -lean_object* x_192; +lean_object* x_249; lean_dec(x_4); lean_dec(x_2); -x_192 = l_Lean_Meta_mkForallFVars(x_96, x_103, x_97, x_98, x_99, x_9, x_10, x_11, x_12, x_102); -if (lean_obj_tag(x_192) == 0) +x_249 = l_Lean_Meta_mkForallFVars(x_96, x_103, x_97, x_98, x_99, x_9, x_10, x_11, x_12, x_102); +if (lean_obj_tag(x_249) == 0) { -lean_object* x_193; lean_object* x_194; lean_object* x_195; -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_object* x_250; lean_object* x_251; lean_object* x_252; +x_250 = lean_ctor_get(x_249, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_249, 1); +lean_inc(x_251); +lean_dec(x_249); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_195 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_194); -if (lean_obj_tag(x_195) == 0) +x_252 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_251); +if (lean_obj_tag(x_252) == 0) { -lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; -x_196 = lean_ctor_get(x_9, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_195, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_195, 1); -lean_inc(x_198); -lean_dec(x_195); -x_199 = !lean_is_exclusive(x_9); -if (x_199 == 0) -{ -lean_object* x_200; uint8_t x_201; -x_200 = lean_ctor_get(x_9, 0); -lean_dec(x_200); -x_201 = !lean_is_exclusive(x_196); -if (x_201 == 0) -{ -uint8_t x_202; lean_object* x_203; -x_202 = 1; -lean_ctor_set_uint8(x_196, 5, x_202); -lean_inc(x_12); -x_203 = l_Lean_Meta_mkImpDepCongrCtx(x_197, x_101, x_9, x_10, x_11, x_12, x_198); -if (lean_obj_tag(x_203) == 0) -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_204 = lean_ctor_get(x_203, 0); -lean_inc(x_204); -x_205 = lean_ctor_get(x_203, 1); -lean_inc(x_205); -lean_dec(x_203); -lean_ctor_set(x_85, 0, x_204); -x_206 = lean_unsigned_to_nat(0u); -x_207 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_207, 0, x_193); -lean_ctor_set(x_207, 1, x_85); -lean_ctor_set(x_207, 2, x_206); -x_27 = x_207; -x_28 = x_205; -goto block_48; -} -else -{ -lean_object* x_208; lean_object* x_209; -lean_dec(x_193); -lean_free_object(x_85); -x_208 = lean_ctor_get(x_203, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_203, 1); -lean_inc(x_209); -lean_dec(x_203); -x_49 = x_208; -x_50 = x_209; -goto block_70; -} -} -else -{ -uint8_t x_210; uint8_t x_211; uint8_t x_212; uint8_t x_213; uint8_t x_214; uint8_t x_215; uint8_t x_216; uint8_t x_217; uint8_t x_218; uint8_t x_219; uint8_t x_220; uint8_t x_221; uint8_t x_222; uint8_t x_223; lean_object* x_224; lean_object* x_225; -x_210 = lean_ctor_get_uint8(x_196, 0); -x_211 = lean_ctor_get_uint8(x_196, 1); -x_212 = lean_ctor_get_uint8(x_196, 2); -x_213 = lean_ctor_get_uint8(x_196, 3); -x_214 = lean_ctor_get_uint8(x_196, 4); -x_215 = lean_ctor_get_uint8(x_196, 6); -x_216 = lean_ctor_get_uint8(x_196, 7); -x_217 = lean_ctor_get_uint8(x_196, 8); -x_218 = lean_ctor_get_uint8(x_196, 9); -x_219 = lean_ctor_get_uint8(x_196, 10); -x_220 = lean_ctor_get_uint8(x_196, 11); -x_221 = lean_ctor_get_uint8(x_196, 12); -x_222 = lean_ctor_get_uint8(x_196, 13); -lean_dec(x_196); -x_223 = 1; -x_224 = lean_alloc_ctor(0, 0, 14); -lean_ctor_set_uint8(x_224, 0, x_210); -lean_ctor_set_uint8(x_224, 1, x_211); -lean_ctor_set_uint8(x_224, 2, x_212); -lean_ctor_set_uint8(x_224, 3, x_213); -lean_ctor_set_uint8(x_224, 4, x_214); -lean_ctor_set_uint8(x_224, 5, x_223); -lean_ctor_set_uint8(x_224, 6, x_215); -lean_ctor_set_uint8(x_224, 7, x_216); -lean_ctor_set_uint8(x_224, 8, x_217); -lean_ctor_set_uint8(x_224, 9, x_218); -lean_ctor_set_uint8(x_224, 10, x_219); -lean_ctor_set_uint8(x_224, 11, x_220); -lean_ctor_set_uint8(x_224, 12, x_221); -lean_ctor_set_uint8(x_224, 13, x_222); -lean_ctor_set(x_9, 0, x_224); -lean_inc(x_12); -x_225 = l_Lean_Meta_mkImpDepCongrCtx(x_197, x_101, x_9, x_10, x_11, x_12, x_198); -if (lean_obj_tag(x_225) == 0) -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_226 = lean_ctor_get(x_225, 0); -lean_inc(x_226); -x_227 = lean_ctor_get(x_225, 1); -lean_inc(x_227); -lean_dec(x_225); -lean_ctor_set(x_85, 0, x_226); -x_228 = lean_unsigned_to_nat(0u); -x_229 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_229, 0, x_193); -lean_ctor_set(x_229, 1, x_85); -lean_ctor_set(x_229, 2, x_228); -x_27 = x_229; -x_28 = x_227; -goto block_48; -} -else -{ -lean_object* x_230; lean_object* x_231; -lean_dec(x_193); -lean_free_object(x_85); -x_230 = lean_ctor_get(x_225, 0); -lean_inc(x_230); -x_231 = lean_ctor_get(x_225, 1); -lean_inc(x_231); -lean_dec(x_225); -x_49 = x_230; -x_50 = x_231; -goto block_70; -} -} -} -else -{ -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; uint8_t x_238; uint8_t x_239; uint8_t x_240; uint8_t x_241; uint8_t x_242; uint8_t x_243; uint8_t x_244; uint8_t x_245; uint8_t x_246; uint8_t x_247; uint8_t x_248; uint8_t x_249; lean_object* x_250; uint8_t x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; -x_232 = lean_ctor_get(x_9, 1); -x_233 = lean_ctor_get(x_9, 2); -x_234 = lean_ctor_get(x_9, 3); -x_235 = lean_ctor_get(x_9, 4); -x_236 = lean_ctor_get(x_9, 5); -lean_inc(x_236); -lean_inc(x_235); -lean_inc(x_234); -lean_inc(x_233); -lean_inc(x_232); -lean_dec(x_9); -x_237 = lean_ctor_get_uint8(x_196, 0); -x_238 = lean_ctor_get_uint8(x_196, 1); -x_239 = lean_ctor_get_uint8(x_196, 2); -x_240 = lean_ctor_get_uint8(x_196, 3); -x_241 = lean_ctor_get_uint8(x_196, 4); -x_242 = lean_ctor_get_uint8(x_196, 6); -x_243 = lean_ctor_get_uint8(x_196, 7); -x_244 = lean_ctor_get_uint8(x_196, 8); -x_245 = lean_ctor_get_uint8(x_196, 9); -x_246 = lean_ctor_get_uint8(x_196, 10); -x_247 = lean_ctor_get_uint8(x_196, 11); -x_248 = lean_ctor_get_uint8(x_196, 12); -x_249 = lean_ctor_get_uint8(x_196, 13); -if (lean_is_exclusive(x_196)) { - x_250 = x_196; -} else { - lean_dec_ref(x_196); - x_250 = lean_box(0); -} -x_251 = 1; -if (lean_is_scalar(x_250)) { - x_252 = lean_alloc_ctor(0, 0, 14); -} else { - x_252 = x_250; -} -lean_ctor_set_uint8(x_252, 0, x_237); -lean_ctor_set_uint8(x_252, 1, x_238); -lean_ctor_set_uint8(x_252, 2, x_239); -lean_ctor_set_uint8(x_252, 3, x_240); -lean_ctor_set_uint8(x_252, 4, x_241); -lean_ctor_set_uint8(x_252, 5, x_251); -lean_ctor_set_uint8(x_252, 6, x_242); -lean_ctor_set_uint8(x_252, 7, x_243); -lean_ctor_set_uint8(x_252, 8, x_244); -lean_ctor_set_uint8(x_252, 9, x_245); -lean_ctor_set_uint8(x_252, 10, x_246); -lean_ctor_set_uint8(x_252, 11, x_247); -lean_ctor_set_uint8(x_252, 12, x_248); -lean_ctor_set_uint8(x_252, 13, x_249); -x_253 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_232); -lean_ctor_set(x_253, 2, x_233); -lean_ctor_set(x_253, 3, x_234); -lean_ctor_set(x_253, 4, x_235); -lean_ctor_set(x_253, 5, x_236); -lean_inc(x_12); -x_254 = l_Lean_Meta_mkImpDepCongrCtx(x_197, x_101, x_253, x_10, x_11, x_12, x_198); -if (lean_obj_tag(x_254) == 0) -{ -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; -x_255 = lean_ctor_get(x_254, 0); +lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; +x_253 = lean_ctor_get(x_9, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_252, 0); +lean_inc(x_254); +x_255 = lean_ctor_get(x_252, 1); lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -lean_ctor_set(x_85, 0, x_255); -x_257 = lean_unsigned_to_nat(0u); -x_258 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_258, 0, x_193); -lean_ctor_set(x_258, 1, x_85); -lean_ctor_set(x_258, 2, x_257); -x_27 = x_258; -x_28 = x_256; +lean_dec(x_252); +x_256 = !lean_is_exclusive(x_9); +if (x_256 == 0) +{ +lean_object* x_257; uint8_t x_258; +x_257 = lean_ctor_get(x_9, 0); +lean_dec(x_257); +x_258 = !lean_is_exclusive(x_253); +if (x_258 == 0) +{ +uint8_t x_259; lean_object* x_260; +x_259 = 1; +lean_ctor_set_uint8(x_253, 5, x_259); +lean_inc(x_12); +x_260 = l_Lean_Meta_mkImpDepCongrCtx(x_254, x_101, x_9, x_10, x_11, x_12, x_255); +if (lean_obj_tag(x_260) == 0) +{ +lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; +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); +lean_ctor_set(x_85, 0, x_261); +x_263 = lean_unsigned_to_nat(0u); +x_264 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_264, 0, x_250); +lean_ctor_set(x_264, 1, x_85); +lean_ctor_set(x_264, 2, x_263); +x_27 = x_264; +x_28 = x_262; goto block_48; } else { -lean_object* x_259; lean_object* x_260; -lean_dec(x_193); +lean_object* x_265; lean_object* x_266; +lean_dec(x_250); lean_free_object(x_85); -x_259 = lean_ctor_get(x_254, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_254, 1); -lean_inc(x_260); -lean_dec(x_254); -x_49 = x_259; -x_50 = x_260; +x_265 = lean_ctor_get(x_260, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_260, 1); +lean_inc(x_266); +lean_dec(x_260); +x_49 = x_265; +x_50 = x_266; +goto block_70; +} +} +else +{ +uint8_t x_267; uint8_t x_268; uint8_t x_269; uint8_t x_270; uint8_t x_271; uint8_t x_272; uint8_t x_273; uint8_t x_274; uint8_t x_275; uint8_t x_276; uint8_t x_277; uint8_t x_278; uint8_t x_279; uint8_t x_280; lean_object* x_281; lean_object* x_282; +x_267 = lean_ctor_get_uint8(x_253, 0); +x_268 = lean_ctor_get_uint8(x_253, 1); +x_269 = lean_ctor_get_uint8(x_253, 2); +x_270 = lean_ctor_get_uint8(x_253, 3); +x_271 = lean_ctor_get_uint8(x_253, 4); +x_272 = lean_ctor_get_uint8(x_253, 6); +x_273 = lean_ctor_get_uint8(x_253, 7); +x_274 = lean_ctor_get_uint8(x_253, 8); +x_275 = lean_ctor_get_uint8(x_253, 9); +x_276 = lean_ctor_get_uint8(x_253, 10); +x_277 = lean_ctor_get_uint8(x_253, 11); +x_278 = lean_ctor_get_uint8(x_253, 12); +x_279 = lean_ctor_get_uint8(x_253, 13); +lean_dec(x_253); +x_280 = 1; +x_281 = lean_alloc_ctor(0, 0, 14); +lean_ctor_set_uint8(x_281, 0, x_267); +lean_ctor_set_uint8(x_281, 1, x_268); +lean_ctor_set_uint8(x_281, 2, x_269); +lean_ctor_set_uint8(x_281, 3, x_270); +lean_ctor_set_uint8(x_281, 4, x_271); +lean_ctor_set_uint8(x_281, 5, x_280); +lean_ctor_set_uint8(x_281, 6, x_272); +lean_ctor_set_uint8(x_281, 7, x_273); +lean_ctor_set_uint8(x_281, 8, x_274); +lean_ctor_set_uint8(x_281, 9, x_275); +lean_ctor_set_uint8(x_281, 10, x_276); +lean_ctor_set_uint8(x_281, 11, x_277); +lean_ctor_set_uint8(x_281, 12, x_278); +lean_ctor_set_uint8(x_281, 13, x_279); +lean_ctor_set(x_9, 0, x_281); +lean_inc(x_12); +x_282 = l_Lean_Meta_mkImpDepCongrCtx(x_254, x_101, x_9, x_10, x_11, x_12, x_255); +if (lean_obj_tag(x_282) == 0) +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +x_283 = lean_ctor_get(x_282, 0); +lean_inc(x_283); +x_284 = lean_ctor_get(x_282, 1); +lean_inc(x_284); +lean_dec(x_282); +lean_ctor_set(x_85, 0, x_283); +x_285 = lean_unsigned_to_nat(0u); +x_286 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_286, 0, x_250); +lean_ctor_set(x_286, 1, x_85); +lean_ctor_set(x_286, 2, x_285); +x_27 = x_286; +x_28 = x_284; +goto block_48; +} +else +{ +lean_object* x_287; lean_object* x_288; +lean_dec(x_250); +lean_free_object(x_85); +x_287 = lean_ctor_get(x_282, 0); +lean_inc(x_287); +x_288 = lean_ctor_get(x_282, 1); +lean_inc(x_288); +lean_dec(x_282); +x_49 = x_287; +x_50 = x_288; goto block_70; } } } else { -lean_object* x_261; lean_object* x_262; -lean_dec(x_193); +lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; uint8_t x_295; uint8_t x_296; uint8_t x_297; uint8_t x_298; uint8_t x_299; uint8_t x_300; uint8_t x_301; uint8_t x_302; uint8_t x_303; uint8_t x_304; uint8_t x_305; uint8_t x_306; lean_object* x_307; uint8_t x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +x_289 = lean_ctor_get(x_9, 1); +x_290 = lean_ctor_get(x_9, 2); +x_291 = lean_ctor_get(x_9, 3); +x_292 = lean_ctor_get(x_9, 4); +x_293 = lean_ctor_get(x_9, 5); +lean_inc(x_293); +lean_inc(x_292); +lean_inc(x_291); +lean_inc(x_290); +lean_inc(x_289); +lean_dec(x_9); +x_294 = lean_ctor_get_uint8(x_253, 0); +x_295 = lean_ctor_get_uint8(x_253, 1); +x_296 = lean_ctor_get_uint8(x_253, 2); +x_297 = lean_ctor_get_uint8(x_253, 3); +x_298 = lean_ctor_get_uint8(x_253, 4); +x_299 = lean_ctor_get_uint8(x_253, 6); +x_300 = lean_ctor_get_uint8(x_253, 7); +x_301 = lean_ctor_get_uint8(x_253, 8); +x_302 = lean_ctor_get_uint8(x_253, 9); +x_303 = lean_ctor_get_uint8(x_253, 10); +x_304 = lean_ctor_get_uint8(x_253, 11); +x_305 = lean_ctor_get_uint8(x_253, 12); +x_306 = lean_ctor_get_uint8(x_253, 13); +if (lean_is_exclusive(x_253)) { + x_307 = x_253; +} else { + lean_dec_ref(x_253); + x_307 = lean_box(0); +} +x_308 = 1; +if (lean_is_scalar(x_307)) { + x_309 = lean_alloc_ctor(0, 0, 14); +} else { + x_309 = x_307; +} +lean_ctor_set_uint8(x_309, 0, x_294); +lean_ctor_set_uint8(x_309, 1, x_295); +lean_ctor_set_uint8(x_309, 2, x_296); +lean_ctor_set_uint8(x_309, 3, x_297); +lean_ctor_set_uint8(x_309, 4, x_298); +lean_ctor_set_uint8(x_309, 5, x_308); +lean_ctor_set_uint8(x_309, 6, x_299); +lean_ctor_set_uint8(x_309, 7, x_300); +lean_ctor_set_uint8(x_309, 8, x_301); +lean_ctor_set_uint8(x_309, 9, x_302); +lean_ctor_set_uint8(x_309, 10, x_303); +lean_ctor_set_uint8(x_309, 11, x_304); +lean_ctor_set_uint8(x_309, 12, x_305); +lean_ctor_set_uint8(x_309, 13, x_306); +x_310 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_310, 0, x_309); +lean_ctor_set(x_310, 1, x_289); +lean_ctor_set(x_310, 2, x_290); +lean_ctor_set(x_310, 3, x_291); +lean_ctor_set(x_310, 4, x_292); +lean_ctor_set(x_310, 5, x_293); +lean_inc(x_12); +x_311 = l_Lean_Meta_mkImpDepCongrCtx(x_254, x_101, x_310, x_10, x_11, x_12, x_255); +if (lean_obj_tag(x_311) == 0) +{ +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; +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_ctor_set(x_85, 0, x_312); +x_314 = lean_unsigned_to_nat(0u); +x_315 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_315, 0, x_250); +lean_ctor_set(x_315, 1, x_85); +lean_ctor_set(x_315, 2, x_314); +x_27 = x_315; +x_28 = x_313; +goto block_48; +} +else +{ +lean_object* x_316; lean_object* x_317; +lean_dec(x_250); +lean_free_object(x_85); +x_316 = lean_ctor_get(x_311, 0); +lean_inc(x_316); +x_317 = lean_ctor_get(x_311, 1); +lean_inc(x_317); +lean_dec(x_311); +x_49 = x_316; +x_50 = x_317; +goto block_70; +} +} +} +else +{ +lean_object* x_318; lean_object* x_319; +lean_dec(x_250); lean_dec(x_101); lean_free_object(x_85); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_261 = lean_ctor_get(x_195, 0); -lean_inc(x_261); -x_262 = lean_ctor_get(x_195, 1); -lean_inc(x_262); -lean_dec(x_195); -x_49 = x_261; -x_50 = x_262; +x_318 = lean_ctor_get(x_252, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_252, 1); +lean_inc(x_319); +lean_dec(x_252); +x_49 = x_318; +x_50 = x_319; goto block_70; } } else { -lean_object* x_263; lean_object* x_264; +lean_object* x_320; lean_object* x_321; lean_dec(x_101); lean_free_object(x_85); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_3); -x_263 = lean_ctor_get(x_192, 0); -lean_inc(x_263); -x_264 = lean_ctor_get(x_192, 1); -lean_inc(x_264); -lean_dec(x_192); -x_49 = x_263; -x_50 = x_264; +x_320 = lean_ctor_get(x_249, 0); +lean_inc(x_320); +x_321 = lean_ctor_get(x_249, 1); +lean_inc(x_321); +lean_dec(x_249); +x_49 = x_320; +x_50 = x_321; goto block_70; } } } else { -lean_object* x_265; lean_object* x_266; +lean_object* x_322; lean_object* x_323; lean_dec(x_96); lean_free_object(x_85); lean_dec(x_84); @@ -19623,73 +19961,73 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_265 = lean_ctor_get(x_100, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_100, 1); -lean_inc(x_266); +x_322 = lean_ctor_get(x_100, 0); +lean_inc(x_322); +x_323 = lean_ctor_get(x_100, 1); +lean_inc(x_323); lean_dec(x_100); -x_49 = x_265; -x_50 = x_266; +x_49 = x_322; +x_50 = x_323; goto block_70; } } else { -lean_object* x_267; lean_object* x_268; lean_object* x_269; uint8_t x_270; uint8_t x_271; uint8_t x_272; lean_object* x_273; -x_267 = lean_ctor_get(x_85, 0); -lean_inc(x_267); +lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; uint8_t x_328; uint8_t x_329; lean_object* x_330; +x_324 = lean_ctor_get(x_85, 0); +lean_inc(x_324); lean_dec(x_85); -x_268 = l_Lean_Meta_Simp_simp_simpLet___lambda__1___closed__1; +x_325 = l_Lean_Meta_Simp_simp_simpLet___lambda__1___closed__1; lean_inc(x_5); -x_269 = lean_array_push(x_268, x_5); -x_270 = 0; -x_271 = 1; -x_272 = 1; -lean_inc(x_269); -x_273 = l_Lean_Meta_mkLambdaFVars(x_269, x_267, x_270, x_271, x_272, x_9, x_10, x_11, x_12, x_92); -if (lean_obj_tag(x_273) == 0) +x_326 = lean_array_push(x_325, x_5); +x_327 = 0; +x_328 = 1; +x_329 = 1; +lean_inc(x_326); +x_330 = l_Lean_Meta_mkLambdaFVars(x_326, x_324, x_327, x_328, x_329, x_9, x_10, x_11, x_12, x_92); +if (lean_obj_tag(x_330) == 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_273, 0); -lean_inc(x_274); -x_275 = lean_ctor_get(x_273, 1); -lean_inc(x_275); -lean_dec(x_273); -x_276 = lean_ctor_get(x_84, 0); -lean_inc(x_276); +lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; +x_331 = lean_ctor_get(x_330, 0); +lean_inc(x_331); +x_332 = lean_ctor_get(x_330, 1); +lean_inc(x_332); +lean_dec(x_330); +x_333 = lean_ctor_get(x_84, 0); +lean_inc(x_333); lean_dec(x_84); -x_277 = l_Lean_Expr_fvarId_x21(x_5); -x_278 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_277, x_276); -lean_dec(x_277); -if (x_278 == 0) +x_334 = l_Lean_Expr_fvarId_x21(x_5); +x_335 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_334, x_333); +lean_dec(x_334); +if (x_335 == 0) { -lean_object* x_279; -lean_dec(x_269); +lean_object* x_336; +lean_dec(x_326); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_279 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_275); -if (lean_obj_tag(x_279) == 0) +x_336 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_332); +if (lean_obj_tag(x_336) == 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; uint8_t x_289; uint8_t x_290; uint8_t x_291; uint8_t x_292; uint8_t x_293; uint8_t x_294; uint8_t x_295; uint8_t x_296; uint8_t x_297; uint8_t x_298; uint8_t x_299; uint8_t x_300; uint8_t x_301; lean_object* x_302; uint8_t x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; -x_280 = lean_ctor_get(x_9, 0); -lean_inc(x_280); -x_281 = lean_ctor_get(x_279, 0); -lean_inc(x_281); -x_282 = lean_ctor_get(x_279, 1); -lean_inc(x_282); -lean_dec(x_279); -x_283 = lean_ctor_get(x_9, 1); -lean_inc(x_283); -x_284 = lean_ctor_get(x_9, 2); -lean_inc(x_284); -x_285 = lean_ctor_get(x_9, 3); -lean_inc(x_285); -x_286 = lean_ctor_get(x_9, 4); -lean_inc(x_286); -x_287 = lean_ctor_get(x_9, 5); -lean_inc(x_287); +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; uint8_t x_346; uint8_t x_347; uint8_t x_348; uint8_t x_349; uint8_t x_350; uint8_t x_351; uint8_t x_352; uint8_t x_353; uint8_t x_354; uint8_t x_355; uint8_t x_356; uint8_t x_357; uint8_t x_358; lean_object* x_359; uint8_t x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; +x_337 = lean_ctor_get(x_9, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_336, 0); +lean_inc(x_338); +x_339 = lean_ctor_get(x_336, 1); +lean_inc(x_339); +lean_dec(x_336); +x_340 = lean_ctor_get(x_9, 1); +lean_inc(x_340); +x_341 = lean_ctor_get(x_9, 2); +lean_inc(x_341); +x_342 = lean_ctor_get(x_9, 3); +lean_inc(x_342); +x_343 = lean_ctor_get(x_9, 4); +lean_inc(x_343); +x_344 = lean_ctor_get(x_9, 5); +lean_inc(x_344); if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 0); lean_ctor_release(x_9, 1); @@ -19697,180 +20035,257 @@ if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 3); lean_ctor_release(x_9, 4); lean_ctor_release(x_9, 5); - x_288 = x_9; + x_345 = x_9; } else { lean_dec_ref(x_9); - x_288 = lean_box(0); + x_345 = lean_box(0); } -x_289 = lean_ctor_get_uint8(x_280, 0); -x_290 = lean_ctor_get_uint8(x_280, 1); -x_291 = lean_ctor_get_uint8(x_280, 2); -x_292 = lean_ctor_get_uint8(x_280, 3); -x_293 = lean_ctor_get_uint8(x_280, 4); -x_294 = lean_ctor_get_uint8(x_280, 6); -x_295 = lean_ctor_get_uint8(x_280, 7); -x_296 = lean_ctor_get_uint8(x_280, 8); -x_297 = lean_ctor_get_uint8(x_280, 9); -x_298 = lean_ctor_get_uint8(x_280, 10); -x_299 = lean_ctor_get_uint8(x_280, 11); -x_300 = lean_ctor_get_uint8(x_280, 12); -x_301 = lean_ctor_get_uint8(x_280, 13); -if (lean_is_exclusive(x_280)) { - x_302 = x_280; +x_346 = lean_ctor_get_uint8(x_337, 0); +x_347 = lean_ctor_get_uint8(x_337, 1); +x_348 = lean_ctor_get_uint8(x_337, 2); +x_349 = lean_ctor_get_uint8(x_337, 3); +x_350 = lean_ctor_get_uint8(x_337, 4); +x_351 = lean_ctor_get_uint8(x_337, 6); +x_352 = lean_ctor_get_uint8(x_337, 7); +x_353 = lean_ctor_get_uint8(x_337, 8); +x_354 = lean_ctor_get_uint8(x_337, 9); +x_355 = lean_ctor_get_uint8(x_337, 10); +x_356 = lean_ctor_get_uint8(x_337, 11); +x_357 = lean_ctor_get_uint8(x_337, 12); +x_358 = lean_ctor_get_uint8(x_337, 13); +if (lean_is_exclusive(x_337)) { + x_359 = x_337; } else { - lean_dec_ref(x_280); - x_302 = lean_box(0); + lean_dec_ref(x_337); + x_359 = lean_box(0); } -x_303 = 1; -if (lean_is_scalar(x_302)) { - x_304 = lean_alloc_ctor(0, 0, 14); +x_360 = 1; +if (lean_is_scalar(x_359)) { + x_361 = lean_alloc_ctor(0, 0, 14); } else { - x_304 = x_302; + x_361 = x_359; } -lean_ctor_set_uint8(x_304, 0, x_289); -lean_ctor_set_uint8(x_304, 1, x_290); -lean_ctor_set_uint8(x_304, 2, x_291); -lean_ctor_set_uint8(x_304, 3, x_292); -lean_ctor_set_uint8(x_304, 4, x_293); -lean_ctor_set_uint8(x_304, 5, x_303); -lean_ctor_set_uint8(x_304, 6, x_294); -lean_ctor_set_uint8(x_304, 7, x_295); -lean_ctor_set_uint8(x_304, 8, x_296); -lean_ctor_set_uint8(x_304, 9, x_297); -lean_ctor_set_uint8(x_304, 10, x_298); -lean_ctor_set_uint8(x_304, 11, x_299); -lean_ctor_set_uint8(x_304, 12, x_300); -lean_ctor_set_uint8(x_304, 13, x_301); -if (lean_is_scalar(x_288)) { - x_305 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set_uint8(x_361, 0, x_346); +lean_ctor_set_uint8(x_361, 1, x_347); +lean_ctor_set_uint8(x_361, 2, x_348); +lean_ctor_set_uint8(x_361, 3, x_349); +lean_ctor_set_uint8(x_361, 4, x_350); +lean_ctor_set_uint8(x_361, 5, x_360); +lean_ctor_set_uint8(x_361, 6, x_351); +lean_ctor_set_uint8(x_361, 7, x_352); +lean_ctor_set_uint8(x_361, 8, x_353); +lean_ctor_set_uint8(x_361, 9, x_354); +lean_ctor_set_uint8(x_361, 10, x_355); +lean_ctor_set_uint8(x_361, 11, x_356); +lean_ctor_set_uint8(x_361, 12, x_357); +lean_ctor_set_uint8(x_361, 13, x_358); +if (lean_is_scalar(x_345)) { + x_362 = lean_alloc_ctor(0, 6, 0); } else { - x_305 = x_288; + x_362 = x_345; } -lean_ctor_set(x_305, 0, x_304); -lean_ctor_set(x_305, 1, x_283); -lean_ctor_set(x_305, 2, x_284); -lean_ctor_set(x_305, 3, x_285); -lean_ctor_set(x_305, 4, x_286); -lean_ctor_set(x_305, 5, x_287); +lean_ctor_set(x_362, 0, x_361); +lean_ctor_set(x_362, 1, x_340); +lean_ctor_set(x_362, 2, x_341); +lean_ctor_set(x_362, 3, x_342); +lean_ctor_set(x_362, 4, x_343); +lean_ctor_set(x_362, 5, x_344); lean_inc(x_12); -x_306 = l_Lean_Meta_mkImpCongrCtx(x_281, x_274, x_305, x_10, x_11, x_12, x_282); -if (lean_obj_tag(x_306) == 0) +x_363 = l_Lean_Meta_mkImpCongrCtx(x_338, x_331, x_362, x_10, x_11, x_12, x_339); +if (lean_obj_tag(x_363) == 0) { -lean_object* x_307; lean_object* x_308; lean_object* 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); -x_309 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_309, 0, x_307); +lean_object* x_364; lean_object* x_365; lean_object* x_366; +x_364 = lean_ctor_get(x_363, 0); +lean_inc(x_364); +x_365 = lean_ctor_get(x_363, 1); +lean_inc(x_365); +lean_dec(x_363); +x_366 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_366, 0, x_364); if (lean_obj_tag(x_2) == 7) { -uint8_t x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; -x_310 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); -x_311 = lean_expr_update_forall(x_2, x_310, x_4, x_276); -x_312 = lean_unsigned_to_nat(0u); -x_313 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_313, 0, x_311); -lean_ctor_set(x_313, 1, x_309); -lean_ctor_set(x_313, 2, x_312); -x_27 = x_313; -x_28 = x_308; +lean_object* x_367; lean_object* x_368; lean_object* x_369; uint8_t x_370; lean_object* x_371; size_t x_372; size_t x_373; uint8_t x_374; +x_367 = lean_ctor_get(x_2, 0); +lean_inc(x_367); +x_368 = lean_ctor_get(x_2, 1); +lean_inc(x_368); +x_369 = lean_ctor_get(x_2, 2); +lean_inc(x_369); +x_370 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); +lean_inc(x_369); +lean_inc(x_368); +lean_inc(x_367); +x_371 = l_Lean_Expr_forallE___override(x_367, x_368, x_369, x_370); +x_372 = lean_ptr_addr(x_368); +lean_dec(x_368); +x_373 = lean_ptr_addr(x_4); +x_374 = lean_usize_dec_eq(x_372, x_373); +if (x_374 == 0) +{ +lean_object* x_375; lean_object* x_376; lean_object* x_377; +lean_dec(x_371); +lean_dec(x_369); +x_375 = l_Lean_Expr_forallE___override(x_367, x_4, x_333, x_370); +x_376 = lean_unsigned_to_nat(0u); +x_377 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_377, 0, x_375); +lean_ctor_set(x_377, 1, x_366); +lean_ctor_set(x_377, 2, x_376); +x_27 = x_377; +x_28 = x_365; goto block_48; } else { -lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; -lean_dec(x_276); +size_t x_378; size_t x_379; uint8_t x_380; +x_378 = lean_ptr_addr(x_369); +lean_dec(x_369); +x_379 = lean_ptr_addr(x_333); +x_380 = lean_usize_dec_eq(x_378, x_379); +if (x_380 == 0) +{ +lean_object* x_381; lean_object* x_382; lean_object* x_383; +lean_dec(x_371); +x_381 = l_Lean_Expr_forallE___override(x_367, x_4, x_333, x_370); +x_382 = lean_unsigned_to_nat(0u); +x_383 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_383, 0, x_381); +lean_ctor_set(x_383, 1, x_366); +lean_ctor_set(x_383, 2, x_382); +x_27 = x_383; +x_28 = x_365; +goto block_48; +} +else +{ +uint8_t x_384; +x_384 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_370, x_370); +if (x_384 == 0) +{ +lean_object* x_385; lean_object* x_386; lean_object* x_387; +lean_dec(x_371); +x_385 = l_Lean_Expr_forallE___override(x_367, x_4, x_333, x_370); +x_386 = lean_unsigned_to_nat(0u); +x_387 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_387, 0, x_385); +lean_ctor_set(x_387, 1, x_366); +lean_ctor_set(x_387, 2, x_386); +x_27 = x_387; +x_28 = x_365; +goto block_48; +} +else +{ +lean_object* x_388; lean_object* x_389; +lean_dec(x_367); +lean_dec(x_333); +lean_dec(x_4); +x_388 = lean_unsigned_to_nat(0u); +x_389 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_389, 0, x_371); +lean_ctor_set(x_389, 1, x_366); +lean_ctor_set(x_389, 2, x_388); +x_27 = x_389; +x_28 = x_365; +goto block_48; +} +} +} +} +else +{ +lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; +lean_dec(x_333); lean_dec(x_4); lean_dec(x_2); -x_314 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; -x_315 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_314); -x_316 = lean_unsigned_to_nat(0u); -x_317 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_317, 0, x_315); -lean_ctor_set(x_317, 1, x_309); -lean_ctor_set(x_317, 2, x_316); -x_27 = x_317; -x_28 = x_308; +x_390 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; +x_391 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_390); +x_392 = lean_unsigned_to_nat(0u); +x_393 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_393, 0, x_391); +lean_ctor_set(x_393, 1, x_366); +lean_ctor_set(x_393, 2, x_392); +x_27 = x_393; +x_28 = x_365; goto block_48; } } else { -lean_object* x_318; lean_object* x_319; -lean_dec(x_276); +lean_object* x_394; lean_object* x_395; +lean_dec(x_333); lean_dec(x_4); lean_dec(x_2); -x_318 = lean_ctor_get(x_306, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_306, 1); -lean_inc(x_319); -lean_dec(x_306); -x_49 = x_318; -x_50 = x_319; +x_394 = lean_ctor_get(x_363, 0); +lean_inc(x_394); +x_395 = lean_ctor_get(x_363, 1); +lean_inc(x_395); +lean_dec(x_363); +x_49 = x_394; +x_50 = x_395; goto block_70; } } else { -lean_object* x_320; lean_object* x_321; -lean_dec(x_276); -lean_dec(x_274); +lean_object* x_396; lean_object* x_397; +lean_dec(x_333); +lean_dec(x_331); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_4); lean_dec(x_2); -x_320 = lean_ctor_get(x_279, 0); -lean_inc(x_320); -x_321 = lean_ctor_get(x_279, 1); -lean_inc(x_321); -lean_dec(x_279); -x_49 = x_320; -x_50 = x_321; +x_396 = lean_ctor_get(x_336, 0); +lean_inc(x_396); +x_397 = lean_ctor_get(x_336, 1); +lean_inc(x_397); +lean_dec(x_336); +x_49 = x_396; +x_50 = x_397; goto block_70; } } else { -lean_object* x_322; +lean_object* x_398; lean_dec(x_4); lean_dec(x_2); -x_322 = l_Lean_Meta_mkForallFVars(x_269, x_276, x_270, x_271, x_272, x_9, x_10, x_11, x_12, x_275); -if (lean_obj_tag(x_322) == 0) +x_398 = l_Lean_Meta_mkForallFVars(x_326, x_333, x_327, x_328, x_329, x_9, x_10, x_11, x_12, x_332); +if (lean_obj_tag(x_398) == 0) { -lean_object* x_323; lean_object* x_324; lean_object* x_325; -x_323 = lean_ctor_get(x_322, 0); -lean_inc(x_323); -x_324 = lean_ctor_get(x_322, 1); -lean_inc(x_324); -lean_dec(x_322); +lean_object* x_399; lean_object* x_400; lean_object* x_401; +x_399 = lean_ctor_get(x_398, 0); +lean_inc(x_399); +x_400 = lean_ctor_get(x_398, 1); +lean_inc(x_400); +lean_dec(x_398); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_325 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_324); -if (lean_obj_tag(x_325) == 0) +x_401 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_400); +if (lean_obj_tag(x_401) == 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; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; uint8_t x_336; uint8_t x_337; uint8_t x_338; uint8_t x_339; uint8_t x_340; uint8_t x_341; uint8_t x_342; uint8_t x_343; uint8_t x_344; uint8_t x_345; uint8_t x_346; uint8_t x_347; lean_object* x_348; uint8_t x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; -x_326 = lean_ctor_get(x_9, 0); -lean_inc(x_326); -x_327 = lean_ctor_get(x_325, 0); -lean_inc(x_327); -x_328 = lean_ctor_get(x_325, 1); -lean_inc(x_328); -lean_dec(x_325); -x_329 = lean_ctor_get(x_9, 1); -lean_inc(x_329); -x_330 = lean_ctor_get(x_9, 2); -lean_inc(x_330); -x_331 = lean_ctor_get(x_9, 3); -lean_inc(x_331); -x_332 = lean_ctor_get(x_9, 4); -lean_inc(x_332); -x_333 = lean_ctor_get(x_9, 5); -lean_inc(x_333); +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; uint8_t x_411; uint8_t x_412; uint8_t x_413; uint8_t x_414; uint8_t x_415; uint8_t x_416; uint8_t x_417; uint8_t x_418; uint8_t x_419; uint8_t x_420; uint8_t x_421; uint8_t x_422; uint8_t x_423; lean_object* x_424; uint8_t x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; +x_402 = lean_ctor_get(x_9, 0); +lean_inc(x_402); +x_403 = lean_ctor_get(x_401, 0); +lean_inc(x_403); +x_404 = lean_ctor_get(x_401, 1); +lean_inc(x_404); +lean_dec(x_401); +x_405 = lean_ctor_get(x_9, 1); +lean_inc(x_405); +x_406 = lean_ctor_get(x_9, 2); +lean_inc(x_406); +x_407 = lean_ctor_get(x_9, 3); +lean_inc(x_407); +x_408 = lean_ctor_get(x_9, 4); +lean_inc(x_408); +x_409 = lean_ctor_get(x_9, 5); +lean_inc(x_409); if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 0); lean_ctor_release(x_9, 1); @@ -19878,137 +20293,137 @@ if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 3); lean_ctor_release(x_9, 4); lean_ctor_release(x_9, 5); - x_334 = x_9; + x_410 = x_9; } else { lean_dec_ref(x_9); - x_334 = lean_box(0); + x_410 = lean_box(0); } -x_335 = lean_ctor_get_uint8(x_326, 0); -x_336 = lean_ctor_get_uint8(x_326, 1); -x_337 = lean_ctor_get_uint8(x_326, 2); -x_338 = lean_ctor_get_uint8(x_326, 3); -x_339 = lean_ctor_get_uint8(x_326, 4); -x_340 = lean_ctor_get_uint8(x_326, 6); -x_341 = lean_ctor_get_uint8(x_326, 7); -x_342 = lean_ctor_get_uint8(x_326, 8); -x_343 = lean_ctor_get_uint8(x_326, 9); -x_344 = lean_ctor_get_uint8(x_326, 10); -x_345 = lean_ctor_get_uint8(x_326, 11); -x_346 = lean_ctor_get_uint8(x_326, 12); -x_347 = lean_ctor_get_uint8(x_326, 13); -if (lean_is_exclusive(x_326)) { - x_348 = x_326; +x_411 = lean_ctor_get_uint8(x_402, 0); +x_412 = lean_ctor_get_uint8(x_402, 1); +x_413 = lean_ctor_get_uint8(x_402, 2); +x_414 = lean_ctor_get_uint8(x_402, 3); +x_415 = lean_ctor_get_uint8(x_402, 4); +x_416 = lean_ctor_get_uint8(x_402, 6); +x_417 = lean_ctor_get_uint8(x_402, 7); +x_418 = lean_ctor_get_uint8(x_402, 8); +x_419 = lean_ctor_get_uint8(x_402, 9); +x_420 = lean_ctor_get_uint8(x_402, 10); +x_421 = lean_ctor_get_uint8(x_402, 11); +x_422 = lean_ctor_get_uint8(x_402, 12); +x_423 = lean_ctor_get_uint8(x_402, 13); +if (lean_is_exclusive(x_402)) { + x_424 = x_402; } else { - lean_dec_ref(x_326); - x_348 = lean_box(0); + lean_dec_ref(x_402); + x_424 = lean_box(0); } -x_349 = 1; -if (lean_is_scalar(x_348)) { - x_350 = lean_alloc_ctor(0, 0, 14); +x_425 = 1; +if (lean_is_scalar(x_424)) { + x_426 = lean_alloc_ctor(0, 0, 14); } else { - x_350 = x_348; + x_426 = x_424; } -lean_ctor_set_uint8(x_350, 0, x_335); -lean_ctor_set_uint8(x_350, 1, x_336); -lean_ctor_set_uint8(x_350, 2, x_337); -lean_ctor_set_uint8(x_350, 3, x_338); -lean_ctor_set_uint8(x_350, 4, x_339); -lean_ctor_set_uint8(x_350, 5, x_349); -lean_ctor_set_uint8(x_350, 6, x_340); -lean_ctor_set_uint8(x_350, 7, x_341); -lean_ctor_set_uint8(x_350, 8, x_342); -lean_ctor_set_uint8(x_350, 9, x_343); -lean_ctor_set_uint8(x_350, 10, x_344); -lean_ctor_set_uint8(x_350, 11, x_345); -lean_ctor_set_uint8(x_350, 12, x_346); -lean_ctor_set_uint8(x_350, 13, x_347); -if (lean_is_scalar(x_334)) { - x_351 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set_uint8(x_426, 0, x_411); +lean_ctor_set_uint8(x_426, 1, x_412); +lean_ctor_set_uint8(x_426, 2, x_413); +lean_ctor_set_uint8(x_426, 3, x_414); +lean_ctor_set_uint8(x_426, 4, x_415); +lean_ctor_set_uint8(x_426, 5, x_425); +lean_ctor_set_uint8(x_426, 6, x_416); +lean_ctor_set_uint8(x_426, 7, x_417); +lean_ctor_set_uint8(x_426, 8, x_418); +lean_ctor_set_uint8(x_426, 9, x_419); +lean_ctor_set_uint8(x_426, 10, x_420); +lean_ctor_set_uint8(x_426, 11, x_421); +lean_ctor_set_uint8(x_426, 12, x_422); +lean_ctor_set_uint8(x_426, 13, x_423); +if (lean_is_scalar(x_410)) { + x_427 = lean_alloc_ctor(0, 6, 0); } else { - x_351 = x_334; + x_427 = x_410; } -lean_ctor_set(x_351, 0, x_350); -lean_ctor_set(x_351, 1, x_329); -lean_ctor_set(x_351, 2, x_330); -lean_ctor_set(x_351, 3, x_331); -lean_ctor_set(x_351, 4, x_332); -lean_ctor_set(x_351, 5, x_333); +lean_ctor_set(x_427, 0, x_426); +lean_ctor_set(x_427, 1, x_405); +lean_ctor_set(x_427, 2, x_406); +lean_ctor_set(x_427, 3, x_407); +lean_ctor_set(x_427, 4, x_408); +lean_ctor_set(x_427, 5, x_409); lean_inc(x_12); -x_352 = l_Lean_Meta_mkImpDepCongrCtx(x_327, x_274, x_351, x_10, x_11, x_12, x_328); -if (lean_obj_tag(x_352) == 0) +x_428 = l_Lean_Meta_mkImpDepCongrCtx(x_403, x_331, x_427, x_10, x_11, x_12, x_404); +if (lean_obj_tag(x_428) == 0) { -lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; -x_353 = lean_ctor_get(x_352, 0); -lean_inc(x_353); -x_354 = lean_ctor_get(x_352, 1); -lean_inc(x_354); -lean_dec(x_352); -x_355 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_355, 0, x_353); -x_356 = lean_unsigned_to_nat(0u); -x_357 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_357, 0, x_323); -lean_ctor_set(x_357, 1, x_355); -lean_ctor_set(x_357, 2, x_356); -x_27 = x_357; -x_28 = x_354; +lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; +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 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_431, 0, x_429); +x_432 = lean_unsigned_to_nat(0u); +x_433 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_433, 0, x_399); +lean_ctor_set(x_433, 1, x_431); +lean_ctor_set(x_433, 2, x_432); +x_27 = x_433; +x_28 = x_430; goto block_48; } else { -lean_object* x_358; lean_object* x_359; -lean_dec(x_323); -x_358 = lean_ctor_get(x_352, 0); -lean_inc(x_358); -x_359 = lean_ctor_get(x_352, 1); -lean_inc(x_359); -lean_dec(x_352); -x_49 = x_358; -x_50 = x_359; +lean_object* x_434; lean_object* x_435; +lean_dec(x_399); +x_434 = lean_ctor_get(x_428, 0); +lean_inc(x_434); +x_435 = lean_ctor_get(x_428, 1); +lean_inc(x_435); +lean_dec(x_428); +x_49 = x_434; +x_50 = x_435; goto block_70; } } else { -lean_object* x_360; lean_object* x_361; -lean_dec(x_323); -lean_dec(x_274); +lean_object* x_436; lean_object* x_437; +lean_dec(x_399); +lean_dec(x_331); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_360 = lean_ctor_get(x_325, 0); -lean_inc(x_360); -x_361 = lean_ctor_get(x_325, 1); -lean_inc(x_361); -lean_dec(x_325); -x_49 = x_360; -x_50 = x_361; +x_436 = lean_ctor_get(x_401, 0); +lean_inc(x_436); +x_437 = lean_ctor_get(x_401, 1); +lean_inc(x_437); +lean_dec(x_401); +x_49 = x_436; +x_50 = x_437; goto block_70; } } else { -lean_object* x_362; lean_object* x_363; -lean_dec(x_274); +lean_object* x_438; lean_object* x_439; +lean_dec(x_331); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_3); -x_362 = lean_ctor_get(x_322, 0); -lean_inc(x_362); -x_363 = lean_ctor_get(x_322, 1); -lean_inc(x_363); -lean_dec(x_322); -x_49 = x_362; -x_50 = x_363; +x_438 = lean_ctor_get(x_398, 0); +lean_inc(x_438); +x_439 = lean_ctor_get(x_398, 1); +lean_inc(x_439); +lean_dec(x_398); +x_49 = x_438; +x_50 = x_439; goto block_70; } } } else { -lean_object* x_364; lean_object* x_365; -lean_dec(x_269); +lean_object* x_440; lean_object* x_441; +lean_dec(x_326); lean_dec(x_84); lean_dec(x_11); lean_dec(x_10); @@ -20017,13 +20432,13 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_364 = lean_ctor_get(x_273, 0); -lean_inc(x_364); -x_365 = lean_ctor_get(x_273, 1); -lean_inc(x_365); -lean_dec(x_273); -x_49 = x_364; -x_50 = x_365; +x_440 = lean_ctor_get(x_330, 0); +lean_inc(x_440); +x_441 = lean_ctor_get(x_330, 1); +lean_inc(x_441); +lean_dec(x_330); +x_49 = x_440; +x_50 = x_441; goto block_70; } } @@ -20031,7 +20446,7 @@ goto block_70; } else { -lean_object* x_366; lean_object* x_367; +lean_object* x_442; lean_object* x_443; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -20039,148 +20454,148 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_366 = lean_ctor_get(x_83, 0); -lean_inc(x_366); -x_367 = lean_ctor_get(x_83, 1); -lean_inc(x_367); +x_442 = lean_ctor_get(x_83, 0); +lean_inc(x_442); +x_443 = lean_ctor_get(x_83, 1); +lean_inc(x_443); lean_dec(x_83); -x_49 = x_366; -x_50 = x_367; +x_49 = x_442; +x_50 = x_443; goto block_70; } } else { -lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; -x_368 = lean_ctor_get(x_7, 0); -x_369 = lean_ctor_get(x_7, 2); -x_370 = lean_ctor_get(x_7, 3); -x_371 = lean_ctor_get(x_7, 4); -lean_inc(x_371); -lean_inc(x_370); -lean_inc(x_369); -lean_inc(x_368); +lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; +x_444 = lean_ctor_get(x_7, 0); +x_445 = lean_ctor_get(x_7, 2); +x_446 = lean_ctor_get(x_7, 3); +x_447 = lean_ctor_get(x_7, 4); +lean_inc(x_447); +lean_inc(x_446); +lean_inc(x_445); +lean_inc(x_444); lean_dec(x_7); -x_372 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_372, 0, x_368); -lean_ctor_set(x_372, 1, x_19); -lean_ctor_set(x_372, 2, x_369); -lean_ctor_set(x_372, 3, x_370); -lean_ctor_set(x_372, 4, x_371); +x_448 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_448, 0, x_444); +lean_ctor_set(x_448, 1, x_19); +lean_ctor_set(x_448, 2, x_445); +lean_ctor_set(x_448, 3, x_446); +lean_ctor_set(x_448, 4, x_447); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_373 = l_Lean_Meta_Simp_simp(x_1, x_6, x_372, x_8, x_9, x_10, x_11, x_12, x_80); -if (lean_obj_tag(x_373) == 0) +x_449 = l_Lean_Meta_Simp_simp(x_1, x_6, x_448, x_8, x_9, x_10, x_11, x_12, x_80); +if (lean_obj_tag(x_449) == 0) { -lean_object* x_374; lean_object* x_375; -x_374 = lean_ctor_get(x_373, 0); -lean_inc(x_374); -x_375 = lean_ctor_get(x_374, 1); -lean_inc(x_375); -if (lean_obj_tag(x_375) == 0) +lean_object* x_450; lean_object* x_451; +x_450 = lean_ctor_get(x_449, 0); +lean_inc(x_450); +x_451 = lean_ctor_get(x_450, 1); +lean_inc(x_451); +if (lean_obj_tag(x_451) == 0) { -lean_object* x_376; lean_object* x_377; +lean_object* x_452; lean_object* x_453; lean_dec(x_5); lean_dec(x_4); -x_376 = lean_ctor_get(x_373, 1); -lean_inc(x_376); -lean_dec(x_373); +x_452 = lean_ctor_get(x_449, 1); +lean_inc(x_452); +lean_dec(x_449); lean_inc(x_12); -x_377 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr(x_2, x_3, x_374, x_9, x_10, x_11, x_12, x_376); -if (lean_obj_tag(x_377) == 0) +x_453 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr(x_2, x_3, x_450, x_9, x_10, x_11, x_12, x_452); +if (lean_obj_tag(x_453) == 0) { -lean_object* x_378; lean_object* x_379; -x_378 = lean_ctor_get(x_377, 0); -lean_inc(x_378); -x_379 = lean_ctor_get(x_377, 1); -lean_inc(x_379); -lean_dec(x_377); -x_27 = x_378; -x_28 = x_379; +lean_object* x_454; lean_object* x_455; +x_454 = lean_ctor_get(x_453, 0); +lean_inc(x_454); +x_455 = lean_ctor_get(x_453, 1); +lean_inc(x_455); +lean_dec(x_453); +x_27 = x_454; +x_28 = x_455; goto block_48; } else { -lean_object* x_380; lean_object* x_381; -x_380 = lean_ctor_get(x_377, 0); -lean_inc(x_380); -x_381 = lean_ctor_get(x_377, 1); -lean_inc(x_381); -lean_dec(x_377); -x_49 = x_380; -x_50 = x_381; +lean_object* x_456; lean_object* x_457; +x_456 = lean_ctor_get(x_453, 0); +lean_inc(x_456); +x_457 = lean_ctor_get(x_453, 1); +lean_inc(x_457); +lean_dec(x_453); +x_49 = x_456; +x_50 = x_457; goto block_70; } } else { -lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; uint8_t x_388; uint8_t x_389; lean_object* x_390; -x_382 = lean_ctor_get(x_373, 1); -lean_inc(x_382); -lean_dec(x_373); -x_383 = lean_ctor_get(x_375, 0); -lean_inc(x_383); -if (lean_is_exclusive(x_375)) { - lean_ctor_release(x_375, 0); - x_384 = x_375; +lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; uint8_t x_463; uint8_t x_464; uint8_t x_465; lean_object* x_466; +x_458 = lean_ctor_get(x_449, 1); +lean_inc(x_458); +lean_dec(x_449); +x_459 = lean_ctor_get(x_451, 0); +lean_inc(x_459); +if (lean_is_exclusive(x_451)) { + lean_ctor_release(x_451, 0); + x_460 = x_451; } else { - lean_dec_ref(x_375); - x_384 = lean_box(0); + lean_dec_ref(x_451); + x_460 = lean_box(0); } -x_385 = l_Lean_Meta_Simp_simp_simpLet___lambda__1___closed__1; +x_461 = l_Lean_Meta_Simp_simp_simpLet___lambda__1___closed__1; lean_inc(x_5); -x_386 = lean_array_push(x_385, x_5); -x_387 = 0; -x_388 = 1; -x_389 = 1; -lean_inc(x_386); -x_390 = l_Lean_Meta_mkLambdaFVars(x_386, x_383, x_387, x_388, x_389, x_9, x_10, x_11, x_12, x_382); -if (lean_obj_tag(x_390) == 0) +x_462 = lean_array_push(x_461, x_5); +x_463 = 0; +x_464 = 1; +x_465 = 1; +lean_inc(x_462); +x_466 = l_Lean_Meta_mkLambdaFVars(x_462, x_459, x_463, x_464, x_465, x_9, x_10, x_11, x_12, x_458); +if (lean_obj_tag(x_466) == 0) { -lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; uint8_t x_395; -x_391 = lean_ctor_get(x_390, 0); -lean_inc(x_391); -x_392 = lean_ctor_get(x_390, 1); -lean_inc(x_392); -lean_dec(x_390); -x_393 = lean_ctor_get(x_374, 0); -lean_inc(x_393); -lean_dec(x_374); -x_394 = l_Lean_Expr_fvarId_x21(x_5); -x_395 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_394, x_393); -lean_dec(x_394); -if (x_395 == 0) +lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; uint8_t x_471; +x_467 = lean_ctor_get(x_466, 0); +lean_inc(x_467); +x_468 = lean_ctor_get(x_466, 1); +lean_inc(x_468); +lean_dec(x_466); +x_469 = lean_ctor_get(x_450, 0); +lean_inc(x_469); +lean_dec(x_450); +x_470 = l_Lean_Expr_fvarId_x21(x_5); +x_471 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_470, x_469); +lean_dec(x_470); +if (x_471 == 0) { -lean_object* x_396; -lean_dec(x_386); +lean_object* x_472; +lean_dec(x_462); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_396 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_392); -if (lean_obj_tag(x_396) == 0) +x_472 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_468); +if (lean_obj_tag(x_472) == 0) { -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; uint8_t x_406; uint8_t x_407; uint8_t x_408; uint8_t x_409; uint8_t x_410; uint8_t x_411; uint8_t x_412; uint8_t x_413; uint8_t x_414; uint8_t x_415; uint8_t x_416; uint8_t x_417; uint8_t x_418; lean_object* x_419; uint8_t x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; -x_397 = lean_ctor_get(x_9, 0); -lean_inc(x_397); -x_398 = lean_ctor_get(x_396, 0); -lean_inc(x_398); -x_399 = lean_ctor_get(x_396, 1); -lean_inc(x_399); -lean_dec(x_396); -x_400 = lean_ctor_get(x_9, 1); -lean_inc(x_400); -x_401 = lean_ctor_get(x_9, 2); -lean_inc(x_401); -x_402 = lean_ctor_get(x_9, 3); -lean_inc(x_402); -x_403 = lean_ctor_get(x_9, 4); -lean_inc(x_403); -x_404 = lean_ctor_get(x_9, 5); -lean_inc(x_404); +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; uint8_t x_483; uint8_t x_484; uint8_t x_485; uint8_t x_486; uint8_t x_487; uint8_t x_488; uint8_t x_489; uint8_t x_490; uint8_t x_491; uint8_t x_492; uint8_t x_493; uint8_t x_494; lean_object* x_495; uint8_t x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; +x_473 = lean_ctor_get(x_9, 0); +lean_inc(x_473); +x_474 = lean_ctor_get(x_472, 0); +lean_inc(x_474); +x_475 = lean_ctor_get(x_472, 1); +lean_inc(x_475); +lean_dec(x_472); +x_476 = lean_ctor_get(x_9, 1); +lean_inc(x_476); +x_477 = lean_ctor_get(x_9, 2); +lean_inc(x_477); +x_478 = lean_ctor_get(x_9, 3); +lean_inc(x_478); +x_479 = lean_ctor_get(x_9, 4); +lean_inc(x_479); +x_480 = lean_ctor_get(x_9, 5); +lean_inc(x_480); if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 0); lean_ctor_release(x_9, 1); @@ -20188,186 +20603,263 @@ if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 3); lean_ctor_release(x_9, 4); lean_ctor_release(x_9, 5); - x_405 = x_9; + x_481 = x_9; } else { lean_dec_ref(x_9); - x_405 = lean_box(0); + x_481 = lean_box(0); } -x_406 = lean_ctor_get_uint8(x_397, 0); -x_407 = lean_ctor_get_uint8(x_397, 1); -x_408 = lean_ctor_get_uint8(x_397, 2); -x_409 = lean_ctor_get_uint8(x_397, 3); -x_410 = lean_ctor_get_uint8(x_397, 4); -x_411 = lean_ctor_get_uint8(x_397, 6); -x_412 = lean_ctor_get_uint8(x_397, 7); -x_413 = lean_ctor_get_uint8(x_397, 8); -x_414 = lean_ctor_get_uint8(x_397, 9); -x_415 = lean_ctor_get_uint8(x_397, 10); -x_416 = lean_ctor_get_uint8(x_397, 11); -x_417 = lean_ctor_get_uint8(x_397, 12); -x_418 = lean_ctor_get_uint8(x_397, 13); -if (lean_is_exclusive(x_397)) { - x_419 = x_397; +x_482 = lean_ctor_get_uint8(x_473, 0); +x_483 = lean_ctor_get_uint8(x_473, 1); +x_484 = lean_ctor_get_uint8(x_473, 2); +x_485 = lean_ctor_get_uint8(x_473, 3); +x_486 = lean_ctor_get_uint8(x_473, 4); +x_487 = lean_ctor_get_uint8(x_473, 6); +x_488 = lean_ctor_get_uint8(x_473, 7); +x_489 = lean_ctor_get_uint8(x_473, 8); +x_490 = lean_ctor_get_uint8(x_473, 9); +x_491 = lean_ctor_get_uint8(x_473, 10); +x_492 = lean_ctor_get_uint8(x_473, 11); +x_493 = lean_ctor_get_uint8(x_473, 12); +x_494 = lean_ctor_get_uint8(x_473, 13); +if (lean_is_exclusive(x_473)) { + x_495 = x_473; } else { - lean_dec_ref(x_397); - x_419 = lean_box(0); + lean_dec_ref(x_473); + x_495 = lean_box(0); } -x_420 = 1; -if (lean_is_scalar(x_419)) { - x_421 = lean_alloc_ctor(0, 0, 14); +x_496 = 1; +if (lean_is_scalar(x_495)) { + x_497 = lean_alloc_ctor(0, 0, 14); } else { - x_421 = x_419; + x_497 = x_495; } -lean_ctor_set_uint8(x_421, 0, x_406); -lean_ctor_set_uint8(x_421, 1, x_407); -lean_ctor_set_uint8(x_421, 2, x_408); -lean_ctor_set_uint8(x_421, 3, x_409); -lean_ctor_set_uint8(x_421, 4, x_410); -lean_ctor_set_uint8(x_421, 5, x_420); -lean_ctor_set_uint8(x_421, 6, x_411); -lean_ctor_set_uint8(x_421, 7, x_412); -lean_ctor_set_uint8(x_421, 8, x_413); -lean_ctor_set_uint8(x_421, 9, x_414); -lean_ctor_set_uint8(x_421, 10, x_415); -lean_ctor_set_uint8(x_421, 11, x_416); -lean_ctor_set_uint8(x_421, 12, x_417); -lean_ctor_set_uint8(x_421, 13, x_418); -if (lean_is_scalar(x_405)) { - x_422 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set_uint8(x_497, 0, x_482); +lean_ctor_set_uint8(x_497, 1, x_483); +lean_ctor_set_uint8(x_497, 2, x_484); +lean_ctor_set_uint8(x_497, 3, x_485); +lean_ctor_set_uint8(x_497, 4, x_486); +lean_ctor_set_uint8(x_497, 5, x_496); +lean_ctor_set_uint8(x_497, 6, x_487); +lean_ctor_set_uint8(x_497, 7, x_488); +lean_ctor_set_uint8(x_497, 8, x_489); +lean_ctor_set_uint8(x_497, 9, x_490); +lean_ctor_set_uint8(x_497, 10, x_491); +lean_ctor_set_uint8(x_497, 11, x_492); +lean_ctor_set_uint8(x_497, 12, x_493); +lean_ctor_set_uint8(x_497, 13, x_494); +if (lean_is_scalar(x_481)) { + x_498 = lean_alloc_ctor(0, 6, 0); } else { - x_422 = x_405; + x_498 = x_481; } -lean_ctor_set(x_422, 0, x_421); -lean_ctor_set(x_422, 1, x_400); -lean_ctor_set(x_422, 2, x_401); -lean_ctor_set(x_422, 3, x_402); -lean_ctor_set(x_422, 4, x_403); -lean_ctor_set(x_422, 5, x_404); +lean_ctor_set(x_498, 0, x_497); +lean_ctor_set(x_498, 1, x_476); +lean_ctor_set(x_498, 2, x_477); +lean_ctor_set(x_498, 3, x_478); +lean_ctor_set(x_498, 4, x_479); +lean_ctor_set(x_498, 5, x_480); lean_inc(x_12); -x_423 = l_Lean_Meta_mkImpCongrCtx(x_398, x_391, x_422, x_10, x_11, x_12, x_399); -if (lean_obj_tag(x_423) == 0) +x_499 = l_Lean_Meta_mkImpCongrCtx(x_474, x_467, x_498, x_10, x_11, x_12, x_475); +if (lean_obj_tag(x_499) == 0) { -lean_object* x_424; lean_object* x_425; lean_object* x_426; -x_424 = lean_ctor_get(x_423, 0); -lean_inc(x_424); -x_425 = lean_ctor_get(x_423, 1); -lean_inc(x_425); -lean_dec(x_423); -if (lean_is_scalar(x_384)) { - x_426 = lean_alloc_ctor(1, 1, 0); +lean_object* x_500; lean_object* x_501; lean_object* x_502; +x_500 = lean_ctor_get(x_499, 0); +lean_inc(x_500); +x_501 = lean_ctor_get(x_499, 1); +lean_inc(x_501); +lean_dec(x_499); +if (lean_is_scalar(x_460)) { + x_502 = lean_alloc_ctor(1, 1, 0); } else { - x_426 = x_384; + x_502 = x_460; } -lean_ctor_set(x_426, 0, x_424); +lean_ctor_set(x_502, 0, x_500); if (lean_obj_tag(x_2) == 7) { -uint8_t x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; -x_427 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); -x_428 = lean_expr_update_forall(x_2, x_427, x_4, x_393); -x_429 = lean_unsigned_to_nat(0u); -x_430 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_430, 0, x_428); -lean_ctor_set(x_430, 1, x_426); -lean_ctor_set(x_430, 2, x_429); -x_27 = x_430; -x_28 = x_425; +lean_object* x_503; lean_object* x_504; lean_object* x_505; uint8_t x_506; lean_object* x_507; size_t x_508; size_t x_509; uint8_t x_510; +x_503 = lean_ctor_get(x_2, 0); +lean_inc(x_503); +x_504 = lean_ctor_get(x_2, 1); +lean_inc(x_504); +x_505 = lean_ctor_get(x_2, 2); +lean_inc(x_505); +x_506 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); +lean_inc(x_505); +lean_inc(x_504); +lean_inc(x_503); +x_507 = l_Lean_Expr_forallE___override(x_503, x_504, x_505, x_506); +x_508 = lean_ptr_addr(x_504); +lean_dec(x_504); +x_509 = lean_ptr_addr(x_4); +x_510 = lean_usize_dec_eq(x_508, x_509); +if (x_510 == 0) +{ +lean_object* x_511; lean_object* x_512; lean_object* x_513; +lean_dec(x_507); +lean_dec(x_505); +x_511 = l_Lean_Expr_forallE___override(x_503, x_4, x_469, x_506); +x_512 = lean_unsigned_to_nat(0u); +x_513 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_513, 0, x_511); +lean_ctor_set(x_513, 1, x_502); +lean_ctor_set(x_513, 2, x_512); +x_27 = x_513; +x_28 = x_501; goto block_48; } else { -lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; -lean_dec(x_393); +size_t x_514; size_t x_515; uint8_t x_516; +x_514 = lean_ptr_addr(x_505); +lean_dec(x_505); +x_515 = lean_ptr_addr(x_469); +x_516 = lean_usize_dec_eq(x_514, x_515); +if (x_516 == 0) +{ +lean_object* x_517; lean_object* x_518; lean_object* x_519; +lean_dec(x_507); +x_517 = l_Lean_Expr_forallE___override(x_503, x_4, x_469, x_506); +x_518 = lean_unsigned_to_nat(0u); +x_519 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_519, 0, x_517); +lean_ctor_set(x_519, 1, x_502); +lean_ctor_set(x_519, 2, x_518); +x_27 = x_519; +x_28 = x_501; +goto block_48; +} +else +{ +uint8_t x_520; +x_520 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_506, x_506); +if (x_520 == 0) +{ +lean_object* x_521; lean_object* x_522; lean_object* x_523; +lean_dec(x_507); +x_521 = l_Lean_Expr_forallE___override(x_503, x_4, x_469, x_506); +x_522 = lean_unsigned_to_nat(0u); +x_523 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_523, 0, x_521); +lean_ctor_set(x_523, 1, x_502); +lean_ctor_set(x_523, 2, x_522); +x_27 = x_523; +x_28 = x_501; +goto block_48; +} +else +{ +lean_object* x_524; lean_object* x_525; +lean_dec(x_503); +lean_dec(x_469); +lean_dec(x_4); +x_524 = lean_unsigned_to_nat(0u); +x_525 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_525, 0, x_507); +lean_ctor_set(x_525, 1, x_502); +lean_ctor_set(x_525, 2, x_524); +x_27 = x_525; +x_28 = x_501; +goto block_48; +} +} +} +} +else +{ +lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; +lean_dec(x_469); lean_dec(x_4); lean_dec(x_2); -x_431 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; -x_432 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_431); -x_433 = lean_unsigned_to_nat(0u); -x_434 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_434, 0, x_432); -lean_ctor_set(x_434, 1, x_426); -lean_ctor_set(x_434, 2, x_433); -x_27 = x_434; -x_28 = x_425; +x_526 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; +x_527 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_526); +x_528 = lean_unsigned_to_nat(0u); +x_529 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_529, 0, x_527); +lean_ctor_set(x_529, 1, x_502); +lean_ctor_set(x_529, 2, x_528); +x_27 = x_529; +x_28 = x_501; goto block_48; } } else { -lean_object* x_435; lean_object* x_436; -lean_dec(x_393); -lean_dec(x_384); +lean_object* x_530; lean_object* x_531; +lean_dec(x_469); +lean_dec(x_460); lean_dec(x_4); lean_dec(x_2); -x_435 = lean_ctor_get(x_423, 0); -lean_inc(x_435); -x_436 = lean_ctor_get(x_423, 1); -lean_inc(x_436); -lean_dec(x_423); -x_49 = x_435; -x_50 = x_436; +x_530 = lean_ctor_get(x_499, 0); +lean_inc(x_530); +x_531 = lean_ctor_get(x_499, 1); +lean_inc(x_531); +lean_dec(x_499); +x_49 = x_530; +x_50 = x_531; goto block_70; } } else { -lean_object* x_437; lean_object* x_438; -lean_dec(x_393); -lean_dec(x_391); -lean_dec(x_384); +lean_object* x_532; lean_object* x_533; +lean_dec(x_469); +lean_dec(x_467); +lean_dec(x_460); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_4); lean_dec(x_2); -x_437 = lean_ctor_get(x_396, 0); -lean_inc(x_437); -x_438 = lean_ctor_get(x_396, 1); -lean_inc(x_438); -lean_dec(x_396); -x_49 = x_437; -x_50 = x_438; +x_532 = lean_ctor_get(x_472, 0); +lean_inc(x_532); +x_533 = lean_ctor_get(x_472, 1); +lean_inc(x_533); +lean_dec(x_472); +x_49 = x_532; +x_50 = x_533; goto block_70; } } else { -lean_object* x_439; +lean_object* x_534; lean_dec(x_4); lean_dec(x_2); -x_439 = l_Lean_Meta_mkForallFVars(x_386, x_393, x_387, x_388, x_389, x_9, x_10, x_11, x_12, x_392); -if (lean_obj_tag(x_439) == 0) +x_534 = l_Lean_Meta_mkForallFVars(x_462, x_469, x_463, x_464, x_465, x_9, x_10, x_11, x_12, x_468); +if (lean_obj_tag(x_534) == 0) { -lean_object* x_440; lean_object* x_441; lean_object* x_442; -x_440 = lean_ctor_get(x_439, 0); -lean_inc(x_440); -x_441 = lean_ctor_get(x_439, 1); -lean_inc(x_441); -lean_dec(x_439); +lean_object* x_535; lean_object* x_536; lean_object* x_537; +x_535 = lean_ctor_get(x_534, 0); +lean_inc(x_535); +x_536 = lean_ctor_get(x_534, 1); +lean_inc(x_536); +lean_dec(x_534); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_442 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_441); -if (lean_obj_tag(x_442) == 0) +x_537 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_536); +if (lean_obj_tag(x_537) == 0) { -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; uint8_t x_452; uint8_t x_453; uint8_t x_454; uint8_t x_455; uint8_t x_456; uint8_t x_457; uint8_t x_458; uint8_t x_459; uint8_t x_460; uint8_t x_461; uint8_t x_462; uint8_t x_463; uint8_t x_464; lean_object* x_465; uint8_t x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; -x_443 = lean_ctor_get(x_9, 0); -lean_inc(x_443); -x_444 = lean_ctor_get(x_442, 0); -lean_inc(x_444); -x_445 = lean_ctor_get(x_442, 1); -lean_inc(x_445); -lean_dec(x_442); -x_446 = lean_ctor_get(x_9, 1); -lean_inc(x_446); -x_447 = lean_ctor_get(x_9, 2); -lean_inc(x_447); -x_448 = lean_ctor_get(x_9, 3); -lean_inc(x_448); -x_449 = lean_ctor_get(x_9, 4); -lean_inc(x_449); -x_450 = lean_ctor_get(x_9, 5); -lean_inc(x_450); +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; uint8_t x_547; uint8_t x_548; uint8_t x_549; uint8_t x_550; uint8_t x_551; uint8_t x_552; uint8_t x_553; uint8_t x_554; uint8_t x_555; uint8_t x_556; uint8_t x_557; uint8_t x_558; uint8_t x_559; lean_object* x_560; uint8_t x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; +x_538 = lean_ctor_get(x_9, 0); +lean_inc(x_538); +x_539 = lean_ctor_get(x_537, 0); +lean_inc(x_539); +x_540 = lean_ctor_get(x_537, 1); +lean_inc(x_540); +lean_dec(x_537); +x_541 = lean_ctor_get(x_9, 1); +lean_inc(x_541); +x_542 = lean_ctor_get(x_9, 2); +lean_inc(x_542); +x_543 = lean_ctor_get(x_9, 3); +lean_inc(x_543); +x_544 = lean_ctor_get(x_9, 4); +lean_inc(x_544); +x_545 = lean_ctor_get(x_9, 5); +lean_inc(x_545); if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 0); lean_ctor_release(x_9, 1); @@ -20375,146 +20867,146 @@ if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 3); lean_ctor_release(x_9, 4); lean_ctor_release(x_9, 5); - x_451 = x_9; + x_546 = x_9; } else { lean_dec_ref(x_9); - x_451 = lean_box(0); + x_546 = lean_box(0); } -x_452 = lean_ctor_get_uint8(x_443, 0); -x_453 = lean_ctor_get_uint8(x_443, 1); -x_454 = lean_ctor_get_uint8(x_443, 2); -x_455 = lean_ctor_get_uint8(x_443, 3); -x_456 = lean_ctor_get_uint8(x_443, 4); -x_457 = lean_ctor_get_uint8(x_443, 6); -x_458 = lean_ctor_get_uint8(x_443, 7); -x_459 = lean_ctor_get_uint8(x_443, 8); -x_460 = lean_ctor_get_uint8(x_443, 9); -x_461 = lean_ctor_get_uint8(x_443, 10); -x_462 = lean_ctor_get_uint8(x_443, 11); -x_463 = lean_ctor_get_uint8(x_443, 12); -x_464 = lean_ctor_get_uint8(x_443, 13); -if (lean_is_exclusive(x_443)) { - x_465 = x_443; +x_547 = lean_ctor_get_uint8(x_538, 0); +x_548 = lean_ctor_get_uint8(x_538, 1); +x_549 = lean_ctor_get_uint8(x_538, 2); +x_550 = lean_ctor_get_uint8(x_538, 3); +x_551 = lean_ctor_get_uint8(x_538, 4); +x_552 = lean_ctor_get_uint8(x_538, 6); +x_553 = lean_ctor_get_uint8(x_538, 7); +x_554 = lean_ctor_get_uint8(x_538, 8); +x_555 = lean_ctor_get_uint8(x_538, 9); +x_556 = lean_ctor_get_uint8(x_538, 10); +x_557 = lean_ctor_get_uint8(x_538, 11); +x_558 = lean_ctor_get_uint8(x_538, 12); +x_559 = lean_ctor_get_uint8(x_538, 13); +if (lean_is_exclusive(x_538)) { + x_560 = x_538; } else { - lean_dec_ref(x_443); - x_465 = lean_box(0); + lean_dec_ref(x_538); + x_560 = lean_box(0); } -x_466 = 1; -if (lean_is_scalar(x_465)) { - x_467 = lean_alloc_ctor(0, 0, 14); +x_561 = 1; +if (lean_is_scalar(x_560)) { + x_562 = lean_alloc_ctor(0, 0, 14); } else { - x_467 = x_465; + x_562 = x_560; } -lean_ctor_set_uint8(x_467, 0, x_452); -lean_ctor_set_uint8(x_467, 1, x_453); -lean_ctor_set_uint8(x_467, 2, x_454); -lean_ctor_set_uint8(x_467, 3, x_455); -lean_ctor_set_uint8(x_467, 4, x_456); -lean_ctor_set_uint8(x_467, 5, x_466); -lean_ctor_set_uint8(x_467, 6, x_457); -lean_ctor_set_uint8(x_467, 7, x_458); -lean_ctor_set_uint8(x_467, 8, x_459); -lean_ctor_set_uint8(x_467, 9, x_460); -lean_ctor_set_uint8(x_467, 10, x_461); -lean_ctor_set_uint8(x_467, 11, x_462); -lean_ctor_set_uint8(x_467, 12, x_463); -lean_ctor_set_uint8(x_467, 13, x_464); -if (lean_is_scalar(x_451)) { - x_468 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set_uint8(x_562, 0, x_547); +lean_ctor_set_uint8(x_562, 1, x_548); +lean_ctor_set_uint8(x_562, 2, x_549); +lean_ctor_set_uint8(x_562, 3, x_550); +lean_ctor_set_uint8(x_562, 4, x_551); +lean_ctor_set_uint8(x_562, 5, x_561); +lean_ctor_set_uint8(x_562, 6, x_552); +lean_ctor_set_uint8(x_562, 7, x_553); +lean_ctor_set_uint8(x_562, 8, x_554); +lean_ctor_set_uint8(x_562, 9, x_555); +lean_ctor_set_uint8(x_562, 10, x_556); +lean_ctor_set_uint8(x_562, 11, x_557); +lean_ctor_set_uint8(x_562, 12, x_558); +lean_ctor_set_uint8(x_562, 13, x_559); +if (lean_is_scalar(x_546)) { + x_563 = lean_alloc_ctor(0, 6, 0); } else { - x_468 = x_451; + x_563 = x_546; } -lean_ctor_set(x_468, 0, x_467); -lean_ctor_set(x_468, 1, x_446); -lean_ctor_set(x_468, 2, x_447); -lean_ctor_set(x_468, 3, x_448); -lean_ctor_set(x_468, 4, x_449); -lean_ctor_set(x_468, 5, x_450); +lean_ctor_set(x_563, 0, x_562); +lean_ctor_set(x_563, 1, x_541); +lean_ctor_set(x_563, 2, x_542); +lean_ctor_set(x_563, 3, x_543); +lean_ctor_set(x_563, 4, x_544); +lean_ctor_set(x_563, 5, x_545); lean_inc(x_12); -x_469 = l_Lean_Meta_mkImpDepCongrCtx(x_444, x_391, x_468, x_10, x_11, x_12, x_445); -if (lean_obj_tag(x_469) == 0) +x_564 = l_Lean_Meta_mkImpDepCongrCtx(x_539, x_467, x_563, x_10, x_11, x_12, x_540); +if (lean_obj_tag(x_564) == 0) { -lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; -x_470 = lean_ctor_get(x_469, 0); -lean_inc(x_470); -x_471 = lean_ctor_get(x_469, 1); -lean_inc(x_471); -lean_dec(x_469); -if (lean_is_scalar(x_384)) { - x_472 = lean_alloc_ctor(1, 1, 0); +lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; +x_565 = lean_ctor_get(x_564, 0); +lean_inc(x_565); +x_566 = lean_ctor_get(x_564, 1); +lean_inc(x_566); +lean_dec(x_564); +if (lean_is_scalar(x_460)) { + x_567 = lean_alloc_ctor(1, 1, 0); } else { - x_472 = x_384; + x_567 = x_460; } -lean_ctor_set(x_472, 0, x_470); -x_473 = lean_unsigned_to_nat(0u); -x_474 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_474, 0, x_440); -lean_ctor_set(x_474, 1, x_472); -lean_ctor_set(x_474, 2, x_473); -x_27 = x_474; -x_28 = x_471; +lean_ctor_set(x_567, 0, x_565); +x_568 = lean_unsigned_to_nat(0u); +x_569 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_569, 0, x_535); +lean_ctor_set(x_569, 1, x_567); +lean_ctor_set(x_569, 2, x_568); +x_27 = x_569; +x_28 = x_566; goto block_48; } else { -lean_object* x_475; lean_object* x_476; -lean_dec(x_440); -lean_dec(x_384); -x_475 = lean_ctor_get(x_469, 0); -lean_inc(x_475); -x_476 = lean_ctor_get(x_469, 1); -lean_inc(x_476); -lean_dec(x_469); -x_49 = x_475; -x_50 = x_476; +lean_object* x_570; lean_object* x_571; +lean_dec(x_535); +lean_dec(x_460); +x_570 = lean_ctor_get(x_564, 0); +lean_inc(x_570); +x_571 = lean_ctor_get(x_564, 1); +lean_inc(x_571); +lean_dec(x_564); +x_49 = x_570; +x_50 = x_571; goto block_70; } } else { -lean_object* x_477; lean_object* x_478; -lean_dec(x_440); -lean_dec(x_391); -lean_dec(x_384); +lean_object* x_572; lean_object* x_573; +lean_dec(x_535); +lean_dec(x_467); +lean_dec(x_460); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_477 = lean_ctor_get(x_442, 0); -lean_inc(x_477); -x_478 = lean_ctor_get(x_442, 1); -lean_inc(x_478); -lean_dec(x_442); -x_49 = x_477; -x_50 = x_478; +x_572 = lean_ctor_get(x_537, 0); +lean_inc(x_572); +x_573 = lean_ctor_get(x_537, 1); +lean_inc(x_573); +lean_dec(x_537); +x_49 = x_572; +x_50 = x_573; goto block_70; } } else { -lean_object* x_479; lean_object* x_480; -lean_dec(x_391); -lean_dec(x_384); +lean_object* x_574; lean_object* x_575; +lean_dec(x_467); +lean_dec(x_460); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_3); -x_479 = lean_ctor_get(x_439, 0); -lean_inc(x_479); -x_480 = lean_ctor_get(x_439, 1); -lean_inc(x_480); -lean_dec(x_439); -x_49 = x_479; -x_50 = x_480; +x_574 = lean_ctor_get(x_534, 0); +lean_inc(x_574); +x_575 = lean_ctor_get(x_534, 1); +lean_inc(x_575); +lean_dec(x_534); +x_49 = x_574; +x_50 = x_575; goto block_70; } } } else { -lean_object* x_481; lean_object* x_482; -lean_dec(x_386); -lean_dec(x_384); -lean_dec(x_374); +lean_object* x_576; lean_object* x_577; +lean_dec(x_462); +lean_dec(x_460); +lean_dec(x_450); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -20522,20 +21014,20 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_481 = lean_ctor_get(x_390, 0); -lean_inc(x_481); -x_482 = lean_ctor_get(x_390, 1); -lean_inc(x_482); -lean_dec(x_390); -x_49 = x_481; -x_50 = x_482; +x_576 = lean_ctor_get(x_466, 0); +lean_inc(x_576); +x_577 = lean_ctor_get(x_466, 1); +lean_inc(x_577); +lean_dec(x_466); +x_49 = x_576; +x_50 = x_577; goto block_70; } } } else { -lean_object* x_483; lean_object* x_484; +lean_object* x_578; lean_object* x_579; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -20543,461 +21035,106 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_483 = lean_ctor_get(x_373, 0); -lean_inc(x_483); -x_484 = lean_ctor_get(x_373, 1); -lean_inc(x_484); -lean_dec(x_373); -x_49 = x_483; -x_50 = x_484; +x_578 = lean_ctor_get(x_449, 0); +lean_inc(x_578); +x_579 = lean_ctor_get(x_449, 1); +lean_inc(x_579); +lean_dec(x_449); +x_49 = x_578; +x_50 = x_579; goto block_70; } } } else { -lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; -x_485 = lean_ctor_get(x_74, 1); -x_486 = lean_ctor_get(x_74, 2); -lean_inc(x_486); -lean_inc(x_485); +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; +x_580 = lean_ctor_get(x_74, 1); +x_581 = lean_ctor_get(x_74, 2); +lean_inc(x_581); +lean_inc(x_580); lean_dec(x_74); -x_487 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___closed__1; -x_488 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_488, 0, x_487); -lean_ctor_set(x_488, 1, x_485); -lean_ctor_set(x_488, 2, x_486); -x_489 = lean_st_ref_set(x_8, x_488, x_75); -x_490 = lean_ctor_get(x_489, 1); -lean_inc(x_490); -lean_dec(x_489); -x_491 = lean_ctor_get(x_7, 0); -lean_inc(x_491); -x_492 = lean_ctor_get(x_7, 2); -lean_inc(x_492); -x_493 = lean_ctor_get(x_7, 3); -lean_inc(x_493); -x_494 = lean_ctor_get(x_7, 4); -lean_inc(x_494); +x_582 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___closed__1; +x_583 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_583, 0, x_582); +lean_ctor_set(x_583, 1, x_580); +lean_ctor_set(x_583, 2, x_581); +x_584 = lean_st_ref_set(x_8, x_583, x_75); +x_585 = lean_ctor_get(x_584, 1); +lean_inc(x_585); +lean_dec(x_584); +x_586 = lean_ctor_get(x_7, 0); +lean_inc(x_586); +x_587 = lean_ctor_get(x_7, 2); +lean_inc(x_587); +x_588 = lean_ctor_get(x_7, 3); +lean_inc(x_588); +x_589 = lean_ctor_get(x_7, 4); +lean_inc(x_589); if (lean_is_exclusive(x_7)) { lean_ctor_release(x_7, 0); lean_ctor_release(x_7, 1); lean_ctor_release(x_7, 2); lean_ctor_release(x_7, 3); lean_ctor_release(x_7, 4); - x_495 = x_7; + x_590 = x_7; } else { lean_dec_ref(x_7); - x_495 = lean_box(0); + x_590 = lean_box(0); } -if (lean_is_scalar(x_495)) { - x_496 = lean_alloc_ctor(0, 5, 0); +if (lean_is_scalar(x_590)) { + x_591 = lean_alloc_ctor(0, 5, 0); } else { - x_496 = x_495; + x_591 = x_590; } -lean_ctor_set(x_496, 0, x_491); -lean_ctor_set(x_496, 1, x_19); -lean_ctor_set(x_496, 2, x_492); -lean_ctor_set(x_496, 3, x_493); -lean_ctor_set(x_496, 4, x_494); +lean_ctor_set(x_591, 0, x_586); +lean_ctor_set(x_591, 1, x_19); +lean_ctor_set(x_591, 2, x_587); +lean_ctor_set(x_591, 3, x_588); +lean_ctor_set(x_591, 4, x_589); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_497 = l_Lean_Meta_Simp_simp(x_1, x_6, x_496, x_8, x_9, x_10, x_11, x_12, x_490); -if (lean_obj_tag(x_497) == 0) +x_592 = l_Lean_Meta_Simp_simp(x_1, x_6, x_591, x_8, x_9, x_10, x_11, x_12, x_585); +if (lean_obj_tag(x_592) == 0) { -lean_object* x_498; lean_object* x_499; -x_498 = lean_ctor_get(x_497, 0); -lean_inc(x_498); -x_499 = lean_ctor_get(x_498, 1); -lean_inc(x_499); -if (lean_obj_tag(x_499) == 0) +lean_object* x_593; lean_object* x_594; +x_593 = lean_ctor_get(x_592, 0); +lean_inc(x_593); +x_594 = lean_ctor_get(x_593, 1); +lean_inc(x_594); +if (lean_obj_tag(x_594) == 0) { -lean_object* x_500; lean_object* x_501; +lean_object* x_595; lean_object* x_596; lean_dec(x_5); lean_dec(x_4); -x_500 = lean_ctor_get(x_497, 1); -lean_inc(x_500); -lean_dec(x_497); -lean_inc(x_12); -x_501 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr(x_2, x_3, x_498, x_9, x_10, x_11, x_12, x_500); -if (lean_obj_tag(x_501) == 0) -{ -lean_object* x_502; lean_object* x_503; -x_502 = lean_ctor_get(x_501, 0); -lean_inc(x_502); -x_503 = lean_ctor_get(x_501, 1); -lean_inc(x_503); -lean_dec(x_501); -x_27 = x_502; -x_28 = x_503; -goto block_48; -} -else -{ -lean_object* x_504; lean_object* x_505; -x_504 = lean_ctor_get(x_501, 0); -lean_inc(x_504); -x_505 = lean_ctor_get(x_501, 1); -lean_inc(x_505); -lean_dec(x_501); -x_49 = x_504; -x_50 = x_505; -goto block_70; -} -} -else -{ -lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; uint8_t x_511; uint8_t x_512; uint8_t x_513; lean_object* x_514; -x_506 = lean_ctor_get(x_497, 1); -lean_inc(x_506); -lean_dec(x_497); -x_507 = lean_ctor_get(x_499, 0); -lean_inc(x_507); -if (lean_is_exclusive(x_499)) { - lean_ctor_release(x_499, 0); - x_508 = x_499; -} else { - lean_dec_ref(x_499); - x_508 = lean_box(0); -} -x_509 = l_Lean_Meta_Simp_simp_simpLet___lambda__1___closed__1; -lean_inc(x_5); -x_510 = lean_array_push(x_509, x_5); -x_511 = 0; -x_512 = 1; -x_513 = 1; -lean_inc(x_510); -x_514 = l_Lean_Meta_mkLambdaFVars(x_510, x_507, x_511, x_512, x_513, x_9, x_10, x_11, x_12, x_506); -if (lean_obj_tag(x_514) == 0) -{ -lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; uint8_t x_519; -x_515 = lean_ctor_get(x_514, 0); -lean_inc(x_515); -x_516 = lean_ctor_get(x_514, 1); -lean_inc(x_516); -lean_dec(x_514); -x_517 = lean_ctor_get(x_498, 0); -lean_inc(x_517); -lean_dec(x_498); -x_518 = l_Lean_Expr_fvarId_x21(x_5); -x_519 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_518, x_517); -lean_dec(x_518); -if (x_519 == 0) -{ -lean_object* x_520; -lean_dec(x_510); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_520 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_516); -if (lean_obj_tag(x_520) == 0) -{ -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; uint8_t x_530; uint8_t x_531; uint8_t x_532; uint8_t x_533; uint8_t x_534; uint8_t x_535; uint8_t x_536; uint8_t x_537; uint8_t x_538; uint8_t x_539; uint8_t x_540; uint8_t x_541; uint8_t x_542; lean_object* x_543; uint8_t x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; -x_521 = lean_ctor_get(x_9, 0); -lean_inc(x_521); -x_522 = lean_ctor_get(x_520, 0); -lean_inc(x_522); -x_523 = lean_ctor_get(x_520, 1); -lean_inc(x_523); -lean_dec(x_520); -x_524 = lean_ctor_get(x_9, 1); -lean_inc(x_524); -x_525 = lean_ctor_get(x_9, 2); -lean_inc(x_525); -x_526 = lean_ctor_get(x_9, 3); -lean_inc(x_526); -x_527 = lean_ctor_get(x_9, 4); -lean_inc(x_527); -x_528 = lean_ctor_get(x_9, 5); -lean_inc(x_528); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - x_529 = x_9; -} else { - lean_dec_ref(x_9); - x_529 = lean_box(0); -} -x_530 = lean_ctor_get_uint8(x_521, 0); -x_531 = lean_ctor_get_uint8(x_521, 1); -x_532 = lean_ctor_get_uint8(x_521, 2); -x_533 = lean_ctor_get_uint8(x_521, 3); -x_534 = lean_ctor_get_uint8(x_521, 4); -x_535 = lean_ctor_get_uint8(x_521, 6); -x_536 = lean_ctor_get_uint8(x_521, 7); -x_537 = lean_ctor_get_uint8(x_521, 8); -x_538 = lean_ctor_get_uint8(x_521, 9); -x_539 = lean_ctor_get_uint8(x_521, 10); -x_540 = lean_ctor_get_uint8(x_521, 11); -x_541 = lean_ctor_get_uint8(x_521, 12); -x_542 = lean_ctor_get_uint8(x_521, 13); -if (lean_is_exclusive(x_521)) { - x_543 = x_521; -} else { - lean_dec_ref(x_521); - x_543 = lean_box(0); -} -x_544 = 1; -if (lean_is_scalar(x_543)) { - x_545 = lean_alloc_ctor(0, 0, 14); -} else { - x_545 = x_543; -} -lean_ctor_set_uint8(x_545, 0, x_530); -lean_ctor_set_uint8(x_545, 1, x_531); -lean_ctor_set_uint8(x_545, 2, x_532); -lean_ctor_set_uint8(x_545, 3, x_533); -lean_ctor_set_uint8(x_545, 4, x_534); -lean_ctor_set_uint8(x_545, 5, x_544); -lean_ctor_set_uint8(x_545, 6, x_535); -lean_ctor_set_uint8(x_545, 7, x_536); -lean_ctor_set_uint8(x_545, 8, x_537); -lean_ctor_set_uint8(x_545, 9, x_538); -lean_ctor_set_uint8(x_545, 10, x_539); -lean_ctor_set_uint8(x_545, 11, x_540); -lean_ctor_set_uint8(x_545, 12, x_541); -lean_ctor_set_uint8(x_545, 13, x_542); -if (lean_is_scalar(x_529)) { - x_546 = lean_alloc_ctor(0, 6, 0); -} else { - x_546 = x_529; -} -lean_ctor_set(x_546, 0, x_545); -lean_ctor_set(x_546, 1, x_524); -lean_ctor_set(x_546, 2, x_525); -lean_ctor_set(x_546, 3, x_526); -lean_ctor_set(x_546, 4, x_527); -lean_ctor_set(x_546, 5, x_528); -lean_inc(x_12); -x_547 = l_Lean_Meta_mkImpCongrCtx(x_522, x_515, x_546, x_10, x_11, x_12, x_523); -if (lean_obj_tag(x_547) == 0) -{ -lean_object* x_548; lean_object* x_549; lean_object* x_550; -x_548 = lean_ctor_get(x_547, 0); -lean_inc(x_548); -x_549 = lean_ctor_get(x_547, 1); -lean_inc(x_549); -lean_dec(x_547); -if (lean_is_scalar(x_508)) { - x_550 = lean_alloc_ctor(1, 1, 0); -} else { - x_550 = x_508; -} -lean_ctor_set(x_550, 0, x_548); -if (lean_obj_tag(x_2) == 7) -{ -uint8_t x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; -x_551 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); -x_552 = lean_expr_update_forall(x_2, x_551, x_4, x_517); -x_553 = lean_unsigned_to_nat(0u); -x_554 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_554, 0, x_552); -lean_ctor_set(x_554, 1, x_550); -lean_ctor_set(x_554, 2, x_553); -x_27 = x_554; -x_28 = x_549; -goto block_48; -} -else -{ -lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; -lean_dec(x_517); -lean_dec(x_4); -lean_dec(x_2); -x_555 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; -x_556 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_555); -x_557 = lean_unsigned_to_nat(0u); -x_558 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_558, 0, x_556); -lean_ctor_set(x_558, 1, x_550); -lean_ctor_set(x_558, 2, x_557); -x_27 = x_558; -x_28 = x_549; -goto block_48; -} -} -else -{ -lean_object* x_559; lean_object* x_560; -lean_dec(x_517); -lean_dec(x_508); -lean_dec(x_4); -lean_dec(x_2); -x_559 = lean_ctor_get(x_547, 0); -lean_inc(x_559); -x_560 = lean_ctor_get(x_547, 1); -lean_inc(x_560); -lean_dec(x_547); -x_49 = x_559; -x_50 = x_560; -goto block_70; -} -} -else -{ -lean_object* x_561; lean_object* x_562; -lean_dec(x_517); -lean_dec(x_515); -lean_dec(x_508); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -lean_dec(x_2); -x_561 = lean_ctor_get(x_520, 0); -lean_inc(x_561); -x_562 = lean_ctor_get(x_520, 1); -lean_inc(x_562); -lean_dec(x_520); -x_49 = x_561; -x_50 = x_562; -goto block_70; -} -} -else -{ -lean_object* x_563; -lean_dec(x_4); -lean_dec(x_2); -x_563 = l_Lean_Meta_mkForallFVars(x_510, x_517, x_511, x_512, x_513, x_9, x_10, x_11, x_12, x_516); -if (lean_obj_tag(x_563) == 0) -{ -lean_object* x_564; lean_object* x_565; lean_object* x_566; -x_564 = lean_ctor_get(x_563, 0); -lean_inc(x_564); -x_565 = lean_ctor_get(x_563, 1); -lean_inc(x_565); -lean_dec(x_563); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_566 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_565); -if (lean_obj_tag(x_566) == 0) -{ -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; uint8_t x_576; uint8_t x_577; uint8_t x_578; uint8_t x_579; uint8_t x_580; uint8_t x_581; uint8_t x_582; uint8_t x_583; uint8_t x_584; uint8_t x_585; uint8_t x_586; uint8_t x_587; uint8_t x_588; lean_object* x_589; uint8_t x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; -x_567 = lean_ctor_get(x_9, 0); -lean_inc(x_567); -x_568 = lean_ctor_get(x_566, 0); -lean_inc(x_568); -x_569 = lean_ctor_get(x_566, 1); -lean_inc(x_569); -lean_dec(x_566); -x_570 = lean_ctor_get(x_9, 1); -lean_inc(x_570); -x_571 = lean_ctor_get(x_9, 2); -lean_inc(x_571); -x_572 = lean_ctor_get(x_9, 3); -lean_inc(x_572); -x_573 = lean_ctor_get(x_9, 4); -lean_inc(x_573); -x_574 = lean_ctor_get(x_9, 5); -lean_inc(x_574); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - x_575 = x_9; -} else { - lean_dec_ref(x_9); - x_575 = lean_box(0); -} -x_576 = lean_ctor_get_uint8(x_567, 0); -x_577 = lean_ctor_get_uint8(x_567, 1); -x_578 = lean_ctor_get_uint8(x_567, 2); -x_579 = lean_ctor_get_uint8(x_567, 3); -x_580 = lean_ctor_get_uint8(x_567, 4); -x_581 = lean_ctor_get_uint8(x_567, 6); -x_582 = lean_ctor_get_uint8(x_567, 7); -x_583 = lean_ctor_get_uint8(x_567, 8); -x_584 = lean_ctor_get_uint8(x_567, 9); -x_585 = lean_ctor_get_uint8(x_567, 10); -x_586 = lean_ctor_get_uint8(x_567, 11); -x_587 = lean_ctor_get_uint8(x_567, 12); -x_588 = lean_ctor_get_uint8(x_567, 13); -if (lean_is_exclusive(x_567)) { - x_589 = x_567; -} else { - lean_dec_ref(x_567); - x_589 = lean_box(0); -} -x_590 = 1; -if (lean_is_scalar(x_589)) { - x_591 = lean_alloc_ctor(0, 0, 14); -} else { - x_591 = x_589; -} -lean_ctor_set_uint8(x_591, 0, x_576); -lean_ctor_set_uint8(x_591, 1, x_577); -lean_ctor_set_uint8(x_591, 2, x_578); -lean_ctor_set_uint8(x_591, 3, x_579); -lean_ctor_set_uint8(x_591, 4, x_580); -lean_ctor_set_uint8(x_591, 5, x_590); -lean_ctor_set_uint8(x_591, 6, x_581); -lean_ctor_set_uint8(x_591, 7, x_582); -lean_ctor_set_uint8(x_591, 8, x_583); -lean_ctor_set_uint8(x_591, 9, x_584); -lean_ctor_set_uint8(x_591, 10, x_585); -lean_ctor_set_uint8(x_591, 11, x_586); -lean_ctor_set_uint8(x_591, 12, x_587); -lean_ctor_set_uint8(x_591, 13, x_588); -if (lean_is_scalar(x_575)) { - x_592 = lean_alloc_ctor(0, 6, 0); -} else { - x_592 = x_575; -} -lean_ctor_set(x_592, 0, x_591); -lean_ctor_set(x_592, 1, x_570); -lean_ctor_set(x_592, 2, x_571); -lean_ctor_set(x_592, 3, x_572); -lean_ctor_set(x_592, 4, x_573); -lean_ctor_set(x_592, 5, x_574); -lean_inc(x_12); -x_593 = l_Lean_Meta_mkImpDepCongrCtx(x_568, x_515, x_592, x_10, x_11, x_12, x_569); -if (lean_obj_tag(x_593) == 0) -{ -lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; -x_594 = lean_ctor_get(x_593, 0); -lean_inc(x_594); -x_595 = lean_ctor_get(x_593, 1); +x_595 = lean_ctor_get(x_592, 1); lean_inc(x_595); -lean_dec(x_593); -if (lean_is_scalar(x_508)) { - x_596 = lean_alloc_ctor(1, 1, 0); -} else { - x_596 = x_508; -} -lean_ctor_set(x_596, 0, x_594); -x_597 = lean_unsigned_to_nat(0u); -x_598 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_598, 0, x_564); -lean_ctor_set(x_598, 1, x_596); -lean_ctor_set(x_598, 2, x_597); -x_27 = x_598; -x_28 = x_595; +lean_dec(x_592); +lean_inc(x_12); +x_596 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr(x_2, x_3, x_593, x_9, x_10, x_11, x_12, x_595); +if (lean_obj_tag(x_596) == 0) +{ +lean_object* x_597; lean_object* x_598; +x_597 = lean_ctor_get(x_596, 0); +lean_inc(x_597); +x_598 = lean_ctor_get(x_596, 1); +lean_inc(x_598); +lean_dec(x_596); +x_27 = x_597; +x_28 = x_598; goto block_48; } else { lean_object* x_599; lean_object* x_600; -lean_dec(x_564); -lean_dec(x_508); -x_599 = lean_ctor_get(x_593, 0); +x_599 = lean_ctor_get(x_596, 0); lean_inc(x_599); -x_600 = lean_ctor_get(x_593, 1); +x_600 = lean_ctor_get(x_596, 1); lean_inc(x_600); -lean_dec(x_593); +lean_dec(x_596); x_49 = x_599; x_50 = x_600; goto block_70; @@ -21005,70 +21142,481 @@ goto block_70; } else { -lean_object* x_601; lean_object* x_602; -lean_dec(x_564); -lean_dec(x_515); -lean_dec(x_508); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_601 = lean_ctor_get(x_566, 0); +lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; uint8_t x_606; uint8_t x_607; uint8_t x_608; lean_object* x_609; +x_601 = lean_ctor_get(x_592, 1); lean_inc(x_601); -x_602 = lean_ctor_get(x_566, 1); +lean_dec(x_592); +x_602 = lean_ctor_get(x_594, 0); lean_inc(x_602); -lean_dec(x_566); -x_49 = x_601; -x_50 = x_602; -goto block_70; +if (lean_is_exclusive(x_594)) { + lean_ctor_release(x_594, 0); + x_603 = x_594; +} else { + lean_dec_ref(x_594); + x_603 = lean_box(0); } -} -else -{ -lean_object* x_603; lean_object* x_604; -lean_dec(x_515); -lean_dec(x_508); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_3); -x_603 = lean_ctor_get(x_563, 0); -lean_inc(x_603); -x_604 = lean_ctor_get(x_563, 1); -lean_inc(x_604); -lean_dec(x_563); -x_49 = x_603; -x_50 = x_604; -goto block_70; -} -} -} -else -{ -lean_object* x_605; lean_object* x_606; -lean_dec(x_510); -lean_dec(x_508); -lean_dec(x_498); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_605 = lean_ctor_get(x_514, 0); +x_604 = l_Lean_Meta_Simp_simp_simpLet___lambda__1___closed__1; +lean_inc(x_5); +x_605 = lean_array_push(x_604, x_5); +x_606 = 0; +x_607 = 1; +x_608 = 1; lean_inc(x_605); -x_606 = lean_ctor_get(x_514, 1); -lean_inc(x_606); -lean_dec(x_514); -x_49 = x_605; -x_50 = x_606; +x_609 = l_Lean_Meta_mkLambdaFVars(x_605, x_602, x_606, x_607, x_608, x_9, x_10, x_11, x_12, x_601); +if (lean_obj_tag(x_609) == 0) +{ +lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; uint8_t x_614; +x_610 = lean_ctor_get(x_609, 0); +lean_inc(x_610); +x_611 = lean_ctor_get(x_609, 1); +lean_inc(x_611); +lean_dec(x_609); +x_612 = lean_ctor_get(x_593, 0); +lean_inc(x_612); +lean_dec(x_593); +x_613 = l_Lean_Expr_fvarId_x21(x_5); +x_614 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_613, x_612); +lean_dec(x_613); +if (x_614 == 0) +{ +lean_object* x_615; +lean_dec(x_605); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_615 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_611); +if (lean_obj_tag(x_615) == 0) +{ +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; uint8_t x_625; uint8_t x_626; uint8_t x_627; uint8_t x_628; uint8_t x_629; uint8_t x_630; uint8_t x_631; uint8_t x_632; uint8_t x_633; uint8_t x_634; uint8_t x_635; uint8_t x_636; uint8_t x_637; lean_object* x_638; uint8_t x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; +x_616 = lean_ctor_get(x_9, 0); +lean_inc(x_616); +x_617 = lean_ctor_get(x_615, 0); +lean_inc(x_617); +x_618 = lean_ctor_get(x_615, 1); +lean_inc(x_618); +lean_dec(x_615); +x_619 = lean_ctor_get(x_9, 1); +lean_inc(x_619); +x_620 = lean_ctor_get(x_9, 2); +lean_inc(x_620); +x_621 = lean_ctor_get(x_9, 3); +lean_inc(x_621); +x_622 = lean_ctor_get(x_9, 4); +lean_inc(x_622); +x_623 = lean_ctor_get(x_9, 5); +lean_inc(x_623); +if (lean_is_exclusive(x_9)) { + lean_ctor_release(x_9, 0); + lean_ctor_release(x_9, 1); + lean_ctor_release(x_9, 2); + lean_ctor_release(x_9, 3); + lean_ctor_release(x_9, 4); + lean_ctor_release(x_9, 5); + x_624 = x_9; +} else { + lean_dec_ref(x_9); + x_624 = lean_box(0); +} +x_625 = lean_ctor_get_uint8(x_616, 0); +x_626 = lean_ctor_get_uint8(x_616, 1); +x_627 = lean_ctor_get_uint8(x_616, 2); +x_628 = lean_ctor_get_uint8(x_616, 3); +x_629 = lean_ctor_get_uint8(x_616, 4); +x_630 = lean_ctor_get_uint8(x_616, 6); +x_631 = lean_ctor_get_uint8(x_616, 7); +x_632 = lean_ctor_get_uint8(x_616, 8); +x_633 = lean_ctor_get_uint8(x_616, 9); +x_634 = lean_ctor_get_uint8(x_616, 10); +x_635 = lean_ctor_get_uint8(x_616, 11); +x_636 = lean_ctor_get_uint8(x_616, 12); +x_637 = lean_ctor_get_uint8(x_616, 13); +if (lean_is_exclusive(x_616)) { + x_638 = x_616; +} else { + lean_dec_ref(x_616); + x_638 = lean_box(0); +} +x_639 = 1; +if (lean_is_scalar(x_638)) { + x_640 = lean_alloc_ctor(0, 0, 14); +} else { + x_640 = x_638; +} +lean_ctor_set_uint8(x_640, 0, x_625); +lean_ctor_set_uint8(x_640, 1, x_626); +lean_ctor_set_uint8(x_640, 2, x_627); +lean_ctor_set_uint8(x_640, 3, x_628); +lean_ctor_set_uint8(x_640, 4, x_629); +lean_ctor_set_uint8(x_640, 5, x_639); +lean_ctor_set_uint8(x_640, 6, x_630); +lean_ctor_set_uint8(x_640, 7, x_631); +lean_ctor_set_uint8(x_640, 8, x_632); +lean_ctor_set_uint8(x_640, 9, x_633); +lean_ctor_set_uint8(x_640, 10, x_634); +lean_ctor_set_uint8(x_640, 11, x_635); +lean_ctor_set_uint8(x_640, 12, x_636); +lean_ctor_set_uint8(x_640, 13, x_637); +if (lean_is_scalar(x_624)) { + x_641 = lean_alloc_ctor(0, 6, 0); +} else { + x_641 = x_624; +} +lean_ctor_set(x_641, 0, x_640); +lean_ctor_set(x_641, 1, x_619); +lean_ctor_set(x_641, 2, x_620); +lean_ctor_set(x_641, 3, x_621); +lean_ctor_set(x_641, 4, x_622); +lean_ctor_set(x_641, 5, x_623); +lean_inc(x_12); +x_642 = l_Lean_Meta_mkImpCongrCtx(x_617, x_610, x_641, x_10, x_11, x_12, x_618); +if (lean_obj_tag(x_642) == 0) +{ +lean_object* x_643; lean_object* x_644; lean_object* x_645; +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); +if (lean_is_scalar(x_603)) { + x_645 = lean_alloc_ctor(1, 1, 0); +} else { + x_645 = x_603; +} +lean_ctor_set(x_645, 0, x_643); +if (lean_obj_tag(x_2) == 7) +{ +lean_object* x_646; lean_object* x_647; lean_object* x_648; uint8_t x_649; lean_object* x_650; size_t x_651; size_t x_652; uint8_t x_653; +x_646 = lean_ctor_get(x_2, 0); +lean_inc(x_646); +x_647 = lean_ctor_get(x_2, 1); +lean_inc(x_647); +x_648 = lean_ctor_get(x_2, 2); +lean_inc(x_648); +x_649 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); +lean_inc(x_648); +lean_inc(x_647); +lean_inc(x_646); +x_650 = l_Lean_Expr_forallE___override(x_646, x_647, x_648, x_649); +x_651 = lean_ptr_addr(x_647); +lean_dec(x_647); +x_652 = lean_ptr_addr(x_4); +x_653 = lean_usize_dec_eq(x_651, x_652); +if (x_653 == 0) +{ +lean_object* x_654; lean_object* x_655; lean_object* x_656; +lean_dec(x_650); +lean_dec(x_648); +x_654 = l_Lean_Expr_forallE___override(x_646, x_4, x_612, x_649); +x_655 = lean_unsigned_to_nat(0u); +x_656 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_656, 0, x_654); +lean_ctor_set(x_656, 1, x_645); +lean_ctor_set(x_656, 2, x_655); +x_27 = x_656; +x_28 = x_644; +goto block_48; +} +else +{ +size_t x_657; size_t x_658; uint8_t x_659; +x_657 = lean_ptr_addr(x_648); +lean_dec(x_648); +x_658 = lean_ptr_addr(x_612); +x_659 = lean_usize_dec_eq(x_657, x_658); +if (x_659 == 0) +{ +lean_object* x_660; lean_object* x_661; lean_object* x_662; +lean_dec(x_650); +x_660 = l_Lean_Expr_forallE___override(x_646, x_4, x_612, x_649); +x_661 = lean_unsigned_to_nat(0u); +x_662 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_662, 0, x_660); +lean_ctor_set(x_662, 1, x_645); +lean_ctor_set(x_662, 2, x_661); +x_27 = x_662; +x_28 = x_644; +goto block_48; +} +else +{ +uint8_t x_663; +x_663 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_649, x_649); +if (x_663 == 0) +{ +lean_object* x_664; lean_object* x_665; lean_object* x_666; +lean_dec(x_650); +x_664 = l_Lean_Expr_forallE___override(x_646, x_4, x_612, x_649); +x_665 = lean_unsigned_to_nat(0u); +x_666 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_666, 0, x_664); +lean_ctor_set(x_666, 1, x_645); +lean_ctor_set(x_666, 2, x_665); +x_27 = x_666; +x_28 = x_644; +goto block_48; +} +else +{ +lean_object* x_667; lean_object* x_668; +lean_dec(x_646); +lean_dec(x_612); +lean_dec(x_4); +x_667 = lean_unsigned_to_nat(0u); +x_668 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_668, 0, x_650); +lean_ctor_set(x_668, 1, x_645); +lean_ctor_set(x_668, 2, x_667); +x_27 = x_668; +x_28 = x_644; +goto block_48; +} +} +} +} +else +{ +lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; +lean_dec(x_612); +lean_dec(x_4); +lean_dec(x_2); +x_669 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__4; +x_670 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_669); +x_671 = lean_unsigned_to_nat(0u); +x_672 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_672, 0, x_670); +lean_ctor_set(x_672, 1, x_645); +lean_ctor_set(x_672, 2, x_671); +x_27 = x_672; +x_28 = x_644; +goto block_48; +} +} +else +{ +lean_object* x_673; lean_object* x_674; +lean_dec(x_612); +lean_dec(x_603); +lean_dec(x_4); +lean_dec(x_2); +x_673 = lean_ctor_get(x_642, 0); +lean_inc(x_673); +x_674 = lean_ctor_get(x_642, 1); +lean_inc(x_674); +lean_dec(x_642); +x_49 = x_673; +x_50 = x_674; +goto block_70; +} +} +else +{ +lean_object* x_675; lean_object* x_676; +lean_dec(x_612); +lean_dec(x_610); +lean_dec(x_603); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_2); +x_675 = lean_ctor_get(x_615, 0); +lean_inc(x_675); +x_676 = lean_ctor_get(x_615, 1); +lean_inc(x_676); +lean_dec(x_615); +x_49 = x_675; +x_50 = x_676; +goto block_70; +} +} +else +{ +lean_object* x_677; +lean_dec(x_4); +lean_dec(x_2); +x_677 = l_Lean_Meta_mkForallFVars(x_605, x_612, x_606, x_607, x_608, x_9, x_10, x_11, x_12, x_611); +if (lean_obj_tag(x_677) == 0) +{ +lean_object* x_678; lean_object* x_679; lean_object* x_680; +x_678 = lean_ctor_get(x_677, 0); +lean_inc(x_678); +x_679 = lean_ctor_get(x_677, 1); +lean_inc(x_679); +lean_dec(x_677); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_680 = l_Lean_Meta_Simp_Result_getProof(x_3, x_9, x_10, x_11, x_12, x_679); +if (lean_obj_tag(x_680) == 0) +{ +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; uint8_t x_690; uint8_t x_691; uint8_t x_692; uint8_t x_693; uint8_t x_694; uint8_t x_695; uint8_t x_696; uint8_t x_697; uint8_t x_698; uint8_t x_699; uint8_t x_700; uint8_t x_701; uint8_t x_702; lean_object* x_703; uint8_t x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; +x_681 = lean_ctor_get(x_9, 0); +lean_inc(x_681); +x_682 = lean_ctor_get(x_680, 0); +lean_inc(x_682); +x_683 = lean_ctor_get(x_680, 1); +lean_inc(x_683); +lean_dec(x_680); +x_684 = lean_ctor_get(x_9, 1); +lean_inc(x_684); +x_685 = lean_ctor_get(x_9, 2); +lean_inc(x_685); +x_686 = lean_ctor_get(x_9, 3); +lean_inc(x_686); +x_687 = lean_ctor_get(x_9, 4); +lean_inc(x_687); +x_688 = lean_ctor_get(x_9, 5); +lean_inc(x_688); +if (lean_is_exclusive(x_9)) { + lean_ctor_release(x_9, 0); + lean_ctor_release(x_9, 1); + lean_ctor_release(x_9, 2); + lean_ctor_release(x_9, 3); + lean_ctor_release(x_9, 4); + lean_ctor_release(x_9, 5); + x_689 = x_9; +} else { + lean_dec_ref(x_9); + x_689 = lean_box(0); +} +x_690 = lean_ctor_get_uint8(x_681, 0); +x_691 = lean_ctor_get_uint8(x_681, 1); +x_692 = lean_ctor_get_uint8(x_681, 2); +x_693 = lean_ctor_get_uint8(x_681, 3); +x_694 = lean_ctor_get_uint8(x_681, 4); +x_695 = lean_ctor_get_uint8(x_681, 6); +x_696 = lean_ctor_get_uint8(x_681, 7); +x_697 = lean_ctor_get_uint8(x_681, 8); +x_698 = lean_ctor_get_uint8(x_681, 9); +x_699 = lean_ctor_get_uint8(x_681, 10); +x_700 = lean_ctor_get_uint8(x_681, 11); +x_701 = lean_ctor_get_uint8(x_681, 12); +x_702 = lean_ctor_get_uint8(x_681, 13); +if (lean_is_exclusive(x_681)) { + x_703 = x_681; +} else { + lean_dec_ref(x_681); + x_703 = lean_box(0); +} +x_704 = 1; +if (lean_is_scalar(x_703)) { + x_705 = lean_alloc_ctor(0, 0, 14); +} else { + x_705 = x_703; +} +lean_ctor_set_uint8(x_705, 0, x_690); +lean_ctor_set_uint8(x_705, 1, x_691); +lean_ctor_set_uint8(x_705, 2, x_692); +lean_ctor_set_uint8(x_705, 3, x_693); +lean_ctor_set_uint8(x_705, 4, x_694); +lean_ctor_set_uint8(x_705, 5, x_704); +lean_ctor_set_uint8(x_705, 6, x_695); +lean_ctor_set_uint8(x_705, 7, x_696); +lean_ctor_set_uint8(x_705, 8, x_697); +lean_ctor_set_uint8(x_705, 9, x_698); +lean_ctor_set_uint8(x_705, 10, x_699); +lean_ctor_set_uint8(x_705, 11, x_700); +lean_ctor_set_uint8(x_705, 12, x_701); +lean_ctor_set_uint8(x_705, 13, x_702); +if (lean_is_scalar(x_689)) { + x_706 = lean_alloc_ctor(0, 6, 0); +} else { + x_706 = x_689; +} +lean_ctor_set(x_706, 0, x_705); +lean_ctor_set(x_706, 1, x_684); +lean_ctor_set(x_706, 2, x_685); +lean_ctor_set(x_706, 3, x_686); +lean_ctor_set(x_706, 4, x_687); +lean_ctor_set(x_706, 5, x_688); +lean_inc(x_12); +x_707 = l_Lean_Meta_mkImpDepCongrCtx(x_682, x_610, x_706, x_10, x_11, x_12, x_683); +if (lean_obj_tag(x_707) == 0) +{ +lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; +x_708 = lean_ctor_get(x_707, 0); +lean_inc(x_708); +x_709 = lean_ctor_get(x_707, 1); +lean_inc(x_709); +lean_dec(x_707); +if (lean_is_scalar(x_603)) { + x_710 = lean_alloc_ctor(1, 1, 0); +} else { + x_710 = x_603; +} +lean_ctor_set(x_710, 0, x_708); +x_711 = lean_unsigned_to_nat(0u); +x_712 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_712, 0, x_678); +lean_ctor_set(x_712, 1, x_710); +lean_ctor_set(x_712, 2, x_711); +x_27 = x_712; +x_28 = x_709; +goto block_48; +} +else +{ +lean_object* x_713; lean_object* x_714; +lean_dec(x_678); +lean_dec(x_603); +x_713 = lean_ctor_get(x_707, 0); +lean_inc(x_713); +x_714 = lean_ctor_get(x_707, 1); +lean_inc(x_714); +lean_dec(x_707); +x_49 = x_713; +x_50 = x_714; +goto block_70; +} +} +else +{ +lean_object* x_715; lean_object* x_716; +lean_dec(x_678); +lean_dec(x_610); +lean_dec(x_603); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_715 = lean_ctor_get(x_680, 0); +lean_inc(x_715); +x_716 = lean_ctor_get(x_680, 1); +lean_inc(x_716); +lean_dec(x_680); +x_49 = x_715; +x_50 = x_716; +goto block_70; +} +} +else +{ +lean_object* x_717; lean_object* x_718; +lean_dec(x_610); +lean_dec(x_603); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_717 = lean_ctor_get(x_677, 0); +lean_inc(x_717); +x_718 = lean_ctor_get(x_677, 1); +lean_inc(x_718); +lean_dec(x_677); +x_49 = x_717; +x_50 = x_718; goto block_70; } } } else { -lean_object* x_607; lean_object* x_608; +lean_object* x_719; lean_object* x_720; +lean_dec(x_605); +lean_dec(x_603); +lean_dec(x_593); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -21076,13 +21624,34 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_607 = lean_ctor_get(x_497, 0); -lean_inc(x_607); -x_608 = lean_ctor_get(x_497, 1); -lean_inc(x_608); -lean_dec(x_497); -x_49 = x_607; -x_50 = x_608; +x_719 = lean_ctor_get(x_609, 0); +lean_inc(x_719); +x_720 = lean_ctor_get(x_609, 1); +lean_inc(x_720); +lean_dec(x_609); +x_49 = x_719; +x_50 = x_720; +goto block_70; +} +} +} +else +{ +lean_object* x_721; lean_object* x_722; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_721 = lean_ctor_get(x_592, 0); +lean_inc(x_721); +x_722 = lean_ctor_get(x_592, 1); +lean_inc(x_722); +lean_dec(x_592); +x_49 = x_721; +x_50 = x_722; goto block_70; } } @@ -21247,7 +21816,7 @@ return x_69; } else { -uint8_t x_609; +uint8_t x_723; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -21260,23 +21829,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_609 = !lean_is_exclusive(x_18); -if (x_609 == 0) +x_723 = !lean_is_exclusive(x_18); +if (x_723 == 0) { return x_18; } else { -lean_object* x_610; lean_object* x_611; lean_object* x_612; -x_610 = lean_ctor_get(x_18, 0); -x_611 = lean_ctor_get(x_18, 1); -lean_inc(x_611); -lean_inc(x_610); +lean_object* x_724; lean_object* x_725; lean_object* x_726; +x_724 = lean_ctor_get(x_18, 0); +x_725 = lean_ctor_get(x_18, 1); +lean_inc(x_725); +lean_inc(x_724); lean_dec(x_18); -x_612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_612, 0, x_610); -lean_ctor_set(x_612, 1, x_611); -return x_612; +x_726 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_726, 0, x_724); +lean_ctor_set(x_726, 1, x_725); +return x_726; } } } @@ -38574,7 +39143,7 @@ static lean_object* _init_l_Lean_Meta_Simp_simp_simpProj___lambda__1___closed__1 _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateProj!", 21); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateProj!Impl", 46); return x_1; } } @@ -38592,8 +39161,8 @@ _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_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__1; x_2 = l_Lean_Meta_Simp_simp_simpProj___lambda__1___closed__1; -x_3 = lean_unsigned_to_nat(1453u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(1445u); +x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Meta_Simp_simp_simpProj___lambda__1___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -38605,19 +39174,40 @@ _start: lean_object* x_11; if (lean_obj_tag(x_1) == 11) { -lean_object* x_69; +lean_object* x_69; lean_object* x_70; lean_object* x_71; size_t x_72; size_t x_73; uint8_t x_74; +x_69 = lean_ctor_get(x_1, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_1, 1); +lean_inc(x_70); +x_71 = lean_ctor_get(x_1, 2); +lean_inc(x_71); +x_72 = lean_ptr_addr(x_71); +lean_dec(x_71); +x_73 = lean_ptr_addr(x_2); +x_74 = lean_usize_dec_eq(x_72, x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_inc(x_2); -lean_inc(x_1); -x_69 = lean_expr_update_proj(x_1, x_2); -x_11 = x_69; +x_75 = l_Lean_Expr_proj___override(x_69, x_70, x_2); +x_11 = x_75; goto block_68; } else { -lean_object* x_70; lean_object* x_71; -x_70 = l_Lean_Meta_Simp_simp_simpProj___lambda__1___closed__3; -x_71 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_70); -x_11 = x_71; +lean_dec(x_70); +lean_dec(x_69); +lean_inc(x_1); +x_11 = x_1; +goto block_68; +} +} +else +{ +lean_object* x_76; lean_object* x_77; +x_76 = l_Lean_Meta_Simp_simp_simpProj___lambda__1___closed__3; +x_77 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_76); +x_11 = x_77; goto block_68; } block_68: @@ -39064,19 +39654,41 @@ lean_inc(x_46); lean_dec(x_42); if (lean_obj_tag(x_1) == 11) { -lean_object* x_96; -lean_inc(x_1); -x_96 = lean_expr_update_proj(x_1, x_45); -x_47 = x_96; +lean_object* x_96; lean_object* x_97; lean_object* x_98; size_t x_99; size_t x_100; uint8_t x_101; +x_96 = lean_ctor_get(x_1, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_1, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_1, 2); +lean_inc(x_98); +x_99 = lean_ptr_addr(x_98); +lean_dec(x_98); +x_100 = lean_ptr_addr(x_45); +x_101 = lean_usize_dec_eq(x_99, x_100); +if (x_101 == 0) +{ +lean_object* x_102; +x_102 = l_Lean_Expr_proj___override(x_96, x_97, x_45); +x_47 = x_102; goto block_95; } else { -lean_object* x_97; lean_object* x_98; +lean_dec(x_97); +lean_dec(x_96); lean_dec(x_45); -x_97 = l_Lean_Meta_Simp_simp_simpProj___lambda__1___closed__3; -x_98 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_97); -x_47 = x_98; +lean_inc(x_1); +x_47 = x_1; +goto block_95; +} +} +else +{ +lean_object* x_103; lean_object* x_104; +lean_dec(x_45); +x_103 = l_Lean_Meta_Simp_simp_simpProj___lambda__1___closed__3; +x_104 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_103); +x_47 = x_104; goto block_95; } block_95: @@ -39335,37 +39947,37 @@ return x_94; } else { -uint8_t x_99; +uint8_t x_105; lean_dec(x_40); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_99 = !lean_is_exclusive(x_41); -if (x_99 == 0) +x_105 = !lean_is_exclusive(x_41); +if (x_105 == 0) { return x_41; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_41, 0); -x_101 = lean_ctor_get(x_41, 1); -lean_inc(x_101); -lean_inc(x_100); +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_41, 0); +x_107 = lean_ctor_get(x_41, 1); +lean_inc(x_107); +lean_inc(x_106); lean_dec(x_41); -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_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; } } } } else { -uint8_t x_103; +uint8_t x_109; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); @@ -39375,29 +39987,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_103 = !lean_is_exclusive(x_20); -if (x_103 == 0) +x_109 = !lean_is_exclusive(x_20); +if (x_109 == 0) { return x_20; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_20, 0); -x_105 = lean_ctor_get(x_20, 1); -lean_inc(x_105); -lean_inc(x_104); +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_20, 0); +x_111 = lean_ctor_get(x_20, 1); +lean_inc(x_111); +lean_inc(x_110); lean_dec(x_20); -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_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; } } } else { -uint8_t x_107; +uint8_t x_113; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); @@ -39407,29 +40019,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_107 = !lean_is_exclusive(x_14); -if (x_107 == 0) +x_113 = !lean_is_exclusive(x_14); +if (x_113 == 0) { return x_14; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_14, 0); -x_109 = lean_ctor_get(x_14, 1); -lean_inc(x_109); -lean_inc(x_108); +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_14, 0); +x_115 = lean_ctor_get(x_14, 1); +lean_inc(x_115); +lean_inc(x_114); lean_dec(x_14); -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_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; } } } else { -uint8_t x_111; +uint8_t x_117; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -39438,74 +40050,74 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_111 = !lean_is_exclusive(x_10); -if (x_111 == 0) +x_117 = !lean_is_exclusive(x_10); +if (x_117 == 0) { -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_112 = lean_ctor_get(x_10, 0); -lean_dec(x_112); -x_113 = lean_ctor_get(x_11, 0); -lean_inc(x_113); +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_10, 0); +lean_dec(x_118); +x_119 = lean_ctor_get(x_11, 0); +lean_inc(x_119); lean_dec(x_11); -x_114 = lean_box(0); -x_115 = lean_unsigned_to_nat(0u); -x_116 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_116, 0, x_113); -lean_ctor_set(x_116, 1, x_114); -lean_ctor_set(x_116, 2, x_115); -lean_ctor_set(x_10, 0, x_116); +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_119); +lean_ctor_set(x_122, 1, x_120); +lean_ctor_set(x_122, 2, x_121); +lean_ctor_set(x_10, 0, x_122); return x_10; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_117 = lean_ctor_get(x_10, 1); -lean_inc(x_117); +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_123 = lean_ctor_get(x_10, 1); +lean_inc(x_123); lean_dec(x_10); -x_118 = lean_ctor_get(x_11, 0); -lean_inc(x_118); -lean_dec(x_11); -x_119 = lean_box(0); -x_120 = lean_unsigned_to_nat(0u); -x_121 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_121, 0, x_118); -lean_ctor_set(x_121, 1, x_119); -lean_ctor_set(x_121, 2, 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_117); -return x_122; -} -} -} -else -{ -uint8_t x_123; -lean_dec(x_8); -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_123 = !lean_is_exclusive(x_10); -if (x_123 == 0) -{ -return x_10; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_10, 0); -x_125 = lean_ctor_get(x_10, 1); -lean_inc(x_125); +x_124 = lean_ctor_get(x_11, 0); lean_inc(x_124); +lean_dec(x_11); +x_125 = lean_box(0); +x_126 = lean_unsigned_to_nat(0u); +x_127 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_127, 0, x_124); +lean_ctor_set(x_127, 1, x_125); +lean_ctor_set(x_127, 2, x_126); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_123); +return x_128; +} +} +} +else +{ +uint8_t x_129; +lean_dec(x_8); +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_129 = !lean_is_exclusive(x_10); +if (x_129 == 0) +{ +return x_10; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_10, 0); +x_131 = lean_ctor_get(x_10, 1); +lean_inc(x_131); +lean_inc(x_130); lean_dec(x_10); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); -return x_126; +x_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; } } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c index e55ad2b9d7..47ac98ec84 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c @@ -14581,7 +14581,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_Meta_matchMatcherApp_x3f___at_Lean_Meta_Simp_simpMatch_x3f___spec__1___closed__2; x_2 = l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Meta_Simp_simpMatch_x3f___spec__1___closed__3; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Meta_Simp_simpMatch_x3f___spec__1___closed__4; 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/Tactic/Simp/SimpAll.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpAll.c index d1fd23e885..be07f61b53 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpAll.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpAll.c @@ -2134,7 +2134,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_Std_Range_forIn_loop___at___private_Lean_Meta_Tactic_Simp_SimpAll_0__Lean_Meta_SimpAll_loop___spec__4___closed__18; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Meta_Tactic_Simp_SimpAll_0__Lean_Meta_SimpAll_loop___spec__4___closed__19; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Meta_Tactic_Simp_SimpAll_0__Lean_Meta_SimpAll_loop___spec__4___closed__20; 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/Tactic/Simp/SimpTheorems.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c index af2498a7d1..8f962638fc 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c @@ -133,6 +133,7 @@ lean_object* l_Lean_throwError___at___private_Lean_Meta_InferType_0__Lean_Meta_i lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SimpTheoremsArray_eraseTheorem___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkSimpAttr___lambda__1___closed__17; +uint8_t l_ptrEqList___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_commandRegister__simp__attr_______closed__4; static lean_object* l_Lean_Meta_commandRegister__simp__attr_______closed__17; static lean_object* l_Lean_Meta_mkSimpAttr___lambda__1___closed__1; @@ -375,6 +376,7 @@ static lean_object* l_Lean_Meta_mkSimpAttr___lambda__1___closed__9; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__3___closed__8; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheoremsArray_eraseTheorem(lean_object*, lean_object*); +static lean_object* l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__103; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_SimpTheoremsArray_isErased___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Meta_whnfR(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Meta_addSimpTheoremEntry___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -590,7 +592,6 @@ lean_object* l_Std_PersistentHashMap_erase___at_Lean_Meta_Instances_eraseCore___ uint64_t l_Lean_Meta_DiscrTree_Key_hash(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAux___at_Lean_Meta_SimpTheorems_erase___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__57; -lean_object* lean_expr_update_const(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkSimpAttr___lambda__1___closed__14; static lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Meta_addSimpTheoremEntry___spec__9___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedSimpEntry; @@ -2903,7 +2904,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_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpTheoremEntry___spec__1___closed__1; x_2 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpTheoremEntry___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addSimpTheoremEntry___spec__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -13922,7 +13923,7 @@ static lean_object* _init_l_Lean_Meta_SimpTheorem_getValue___closed__2() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateConst!", 22); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateConst!Impl", 47); return x_1; } } @@ -13940,8 +13941,8 @@ _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_Meta_SimpTheorem_getValue___closed__1; x_2 = l_Lean_Meta_SimpTheorem_getValue___closed__2; -x_3 = lean_unsigned_to_nat(1422u); -x_4 = lean_unsigned_to_nat(20u); +x_3 = lean_unsigned_to_nat(1412u); +x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Meta_SimpTheorem_getValue___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -14067,54 +14068,93 @@ uint8_t x_42; x_42 = !lean_is_exclusive(x_41); if (x_42 == 0) { -lean_object* x_43; lean_object* x_44; +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; x_43 = lean_ctor_get(x_41, 0); -x_44 = lean_expr_update_const(x_7, x_43); -lean_ctor_set(x_41, 0, x_44); -return x_41; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_41, 0); -x_46 = lean_ctor_get(x_41, 1); -lean_inc(x_46); +x_44 = lean_ctor_get(x_7, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_7, 1); lean_inc(x_45); -lean_dec(x_41); -x_47 = lean_expr_update_const(x_7, x_45); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -return x_48; -} -} -else +x_46 = l_ptrEqList___rarg(x_45, x_43); +lean_dec(x_45); +if (x_46 == 0) { -uint8_t x_49; +lean_object* x_47; lean_dec(x_7); -x_49 = !lean_is_exclusive(x_41); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_41, 0); -lean_dec(x_50); -x_51 = l_Lean_Meta_SimpTheorem_getValue___closed__4; -x_52 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_51); -lean_ctor_set(x_41, 0, x_52); +x_47 = l_Lean_Expr_const___override(x_44, x_43); +lean_ctor_set(x_41, 0, x_47); return x_41; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_53 = lean_ctor_get(x_41, 1); -lean_inc(x_53); +lean_dec(x_44); +lean_dec(x_43); +lean_ctor_set(x_41, 0, x_7); +return x_41; +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +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_54 = l_Lean_Meta_SimpTheorem_getValue___closed__4; -x_55 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(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_53); -return x_56; +x_50 = lean_ctor_get(x_7, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_7, 1); +lean_inc(x_51); +x_52 = l_ptrEqList___rarg(x_51, x_48); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_7); +x_53 = l_Lean_Expr_const___override(x_50, x_48); +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; +} +else +{ +lean_object* x_55; +lean_dec(x_50); +lean_dec(x_48); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_7); +lean_ctor_set(x_55, 1, x_49); +return x_55; +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_7); +x_56 = !lean_is_exclusive(x_41); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_41, 0); +lean_dec(x_57); +x_58 = l_Lean_Meta_SimpTheorem_getValue___closed__4; +x_59 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_58); +lean_ctor_set(x_41, 0, x_59); +return x_41; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_41, 1); +lean_inc(x_60); +lean_dec(x_41); +x_61 = l_Lean_Meta_SimpTheorem_getValue___closed__4; +x_62 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_61); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_60); +return x_63; } } } @@ -14127,102 +14167,127 @@ return x_35; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_57 = lean_ctor_get(x_35, 0); -x_58 = lean_ctor_get(x_35, 1); -lean_inc(x_58); -lean_inc(x_57); +lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_64 = lean_ctor_get(x_35, 0); +x_65 = lean_ctor_get(x_35, 1); +lean_inc(x_65); +lean_inc(x_64); lean_dec(x_35); -x_59 = l_Lean_ConstantInfo_levelParams(x_57); -lean_dec(x_57); -x_60 = l_List_isEmpty___rarg(x_59); -if (x_60 == 0) +x_66 = l_Lean_ConstantInfo_levelParams(x_64); +lean_dec(x_64); +x_67 = l_List_isEmpty___rarg(x_66); +if (x_67 == 0) { -lean_object* x_61; -x_61 = l_List_mapM___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkFun___spec__1(x_59, x_2, x_3, x_4, x_5, x_58); +lean_object* x_68; +x_68 = l_List_mapM___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkFun___spec__1(x_66, x_2, x_3, x_4, x_5, x_65); if (lean_obj_tag(x_7) == 4) { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_64 = x_61; -} else { - lean_dec_ref(x_61); - x_64 = lean_box(0); -} -x_65 = lean_expr_update_const(x_7, x_62); -if (lean_is_scalar(x_64)) { - x_66 = lean_alloc_ctor(0, 2, 0); -} else { - x_66 = x_64; -} -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_dec(x_7); -x_67 = lean_ctor_get(x_61, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_68 = x_61; -} else { - lean_dec_ref(x_61); - x_68 = lean_box(0); -} -x_69 = l_Lean_Meta_SimpTheorem_getValue___closed__4; -x_70 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_69); -if (lean_is_scalar(x_68)) { - x_71 = lean_alloc_ctor(0, 2, 0); -} else { +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); x_71 = x_68; +} else { + lean_dec_ref(x_68); + x_71 = lean_box(0); } -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_67); -return x_71; -} -} -else +x_72 = lean_ctor_get(x_7, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_7, 1); +lean_inc(x_73); +x_74 = l_ptrEqList___rarg(x_73, x_69); +lean_dec(x_73); +if (x_74 == 0) { -lean_object* x_72; -lean_dec(x_59); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_7); -lean_ctor_set(x_72, 1, x_58); -return x_72; -} -} -} -else -{ -uint8_t x_73; +lean_object* x_75; lean_object* x_76; lean_dec(x_7); -x_73 = !lean_is_exclusive(x_35); -if (x_73 == 0) +x_75 = l_Lean_Expr_const___override(x_72, x_69); +if (lean_is_scalar(x_71)) { + x_76 = lean_alloc_ctor(0, 2, 0); +} else { + x_76 = x_71; +} +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_70); +return x_76; +} +else +{ +lean_object* x_77; +lean_dec(x_72); +lean_dec(x_69); +if (lean_is_scalar(x_71)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_71; +} +lean_ctor_set(x_77, 0, x_7); +lean_ctor_set(x_77, 1, x_70); +return x_77; +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_7); +x_78 = lean_ctor_get(x_68, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_79 = x_68; +} else { + lean_dec_ref(x_68); + x_79 = lean_box(0); +} +x_80 = l_Lean_Meta_SimpTheorem_getValue___closed__4; +x_81 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_80); +if (lean_is_scalar(x_79)) { + x_82 = lean_alloc_ctor(0, 2, 0); +} else { + x_82 = x_79; +} +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_78); +return x_82; +} +} +else +{ +lean_object* x_83; +lean_dec(x_66); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_7); +lean_ctor_set(x_83, 1, x_65); +return x_83; +} +} +} +else +{ +uint8_t x_84; +lean_dec(x_7); +x_84 = !lean_is_exclusive(x_35); +if (x_84 == 0) { return x_35; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_35, 0); -x_75 = lean_ctor_get(x_35, 1); -lean_inc(x_75); -lean_inc(x_74); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_35, 0); +x_86 = lean_ctor_get(x_35, 1); +lean_inc(x_86); +lean_inc(x_85); lean_dec(x_35); -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_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; } } } @@ -17065,7 +17130,7 @@ static lean_object* _init_l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheor _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(9u); +x_1 = lean_unsigned_to_nat(10u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } @@ -17085,7 +17150,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__97; -x_2 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__51; +x_2 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__10; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -17093,22 +17158,32 @@ return x_3; static lean_object* _init_l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__99() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("quotedName", 10); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__98; +x_2 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__51; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__100() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("quotedName", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__101() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__16; -x_2 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__99; +x_2 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__100; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__101() { +static lean_object* _init_l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__102() { _start: { lean_object* x_1; @@ -17116,7 +17191,7 @@ x_1 = lean_mk_string_from_bytes(".", 1); return x_1; } } -static lean_object* _init_l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__102() { +static lean_object* _init_l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__103() { _start: { lean_object* x_1; @@ -17433,7 +17508,7 @@ lean_ctor_set(x_147, 0, x_19); lean_ctor_set(x_147, 1, x_146); lean_ctor_set(x_147, 2, x_145); lean_ctor_set(x_147, 3, x_28); -x_148 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__98; +x_148 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__99; x_149 = lean_array_push(x_148, x_63); x_150 = lean_array_push(x_149, x_93); x_151 = lean_array_push(x_150, x_82); @@ -17460,14 +17535,14 @@ lean_dec(x_12); x_186 = lean_ctor_get(x_57, 0); lean_inc(x_186); lean_dec(x_57); -x_187 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__101; +x_187 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__102; x_188 = l_String_intercalate(x_187, x_186); -x_189 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__102; +x_189 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__103; x_190 = lean_string_append(x_189, x_188); lean_dec(x_188); x_191 = l_Lean_Syntax_mkNameLit(x_190, x_41); x_192 = lean_array_push(x_80, x_191); -x_193 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__100; +x_193 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__101; x_194 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_194, 0, x_41); lean_ctor_set(x_194, 1, x_193); @@ -18107,6 +18182,8 @@ l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean_ lean_mark_persistent(l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__101); l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__102 = _init_l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__102(); lean_mark_persistent(l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__102); +l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__103 = _init_l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__103(); +lean_mark_persistent(l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta__commandRegister__simp__attr______1___closed__103); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/Split.c b/stage0/stdlib/Lean/Meta/Tactic/Split.c index eefe4a4d5c..4aa282b997 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Split.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Split.c @@ -1966,7 +1966,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_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___closed__3; x_2 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___closed__4; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___closed__5; 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/Tactic/Subst.c b/stage0/stdlib/Lean/Meta/Tactic/Subst.c index c2e0df1316..9a75ed3654 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Subst.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Subst.c @@ -301,7 +301,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_Nat_foldM_loop___at_Lean_Meta_substCore___spec__1___closed__1; x_2 = l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__1___closed__3; 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/Transform.c b/stage0/stdlib/Lean/Meta/Transform.c index 459d9f223c..94a954c6fc 100644 --- a/stage0/stdlib/Lean/Meta/Transform.c +++ b/stage0/stdlib/Lean/Meta/Transform.c @@ -15,7 +15,6 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Core_transform_visit___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLetFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_eraseInaccessibleAnnotations___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -25,6 +24,7 @@ size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Core_betaReduce___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Core_transform(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -33,12 +33,13 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___s lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(lean_object*, 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_Meta_transform_visit_visitLambda(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___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_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, 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* lean_expr_update_mdata(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_zetaReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -57,6 +58,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet(lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Core_transform_visit___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_betaReduce___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -66,6 +68,7 @@ static lean_object* l_Lean_Core_transform_visit___rarg___lambda__6___closed__3; LEAN_EXPORT lean_object* l_Lean_Core_transform___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5(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_Core_betaReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); @@ -205,7 +208,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec_ LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___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_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitLambda___spec__1___rarg___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_Meta_transform_visit_visitForall___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -215,7 +217,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_ LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitForall___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___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*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__9___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -226,6 +227,7 @@ lean_object* l_Lean_LocalDecl_value_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitLambda___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__9___closed__1; +size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_zetaReduce___spec__9(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___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_EXPORT lean_object* l_Lean_Meta_transform___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); @@ -268,7 +270,6 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Core_transform_visit___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___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_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___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_Meta_mkLambdaFVars___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_throwMaxRecDepthAt___at_Lean_Core_transform_visit___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -286,6 +287,7 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___s LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_zetaReduce(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_362_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_eraseInaccessibleAnnotations___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -294,6 +296,7 @@ static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Core_transform_visit___s LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___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_Core_transform___rarg___lambda__6(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_Lean_Core_transform_visit___rarg___lambda__10___closed__3; LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__4(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_zetaReduce___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -776,8 +779,8 @@ _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_Core_transform_visit___rarg___lambda__2___closed__1; x_2 = l_Lean_Core_transform_visit___rarg___lambda__2___closed__2; -x_3 = lean_unsigned_to_nat(1481u); -x_4 = lean_unsigned_to_nat(19u); +x_3 = lean_unsigned_to_nat(1491u); +x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Core_transform_visit___rarg___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; @@ -788,22 +791,81 @@ _start: { if (lean_obj_tag(x_1) == 6) { -uint8_t x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_12 = lean_expr_update_lambda(x_1, x_11, x_9, x_10); -x_13 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_8); -return x_13; +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; size_t x_16; size_t x_17; uint8_t x_18; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_1, 2); +lean_inc(x_13); +x_14 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_15 = l_Lean_Expr_lam___override(x_11, x_12, x_13, x_14); +x_16 = lean_ptr_addr(x_12); +lean_dec(x_12); +x_17 = lean_ptr_addr(x_9); +x_18 = lean_usize_dec_eq(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_15); +lean_dec(x_13); +x_19 = l_Lean_Expr_lam___override(x_11, x_9, x_10, x_14); +x_20 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_19, x_8); +return x_20; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +size_t x_21; size_t x_22; uint8_t x_23; +x_21 = lean_ptr_addr(x_13); +lean_dec(x_13); +x_22 = lean_ptr_addr(x_10); +x_23 = lean_usize_dec_eq(x_21, x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_15); +x_24 = l_Lean_Expr_lam___override(x_11, x_9, x_10, x_14); +x_25 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_8); +return x_25; +} +else +{ +uint8_t x_26; +x_26 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_14, x_14); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_15); +x_27 = l_Lean_Expr_lam___override(x_11, x_9, x_10, x_14); +x_28 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_27, x_8); +return x_28; +} +else +{ +lean_object* x_29; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_29 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_15, x_8); +return x_29; +} +} +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_10); lean_dec(x_9); lean_dec(x_1); -x_14 = l_Lean_Core_transform_visit___rarg___lambda__2___closed__4; -x_15 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_14); -x_16 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_15, x_8); -return x_16; +x_30 = l_Lean_Core_transform_visit___rarg___lambda__2___closed__4; +x_31 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_30); +x_32 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_31, x_8); +return x_32; } } } @@ -855,8 +917,8 @@ _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_Core_transform_visit___rarg___lambda__2___closed__1; x_2 = l_Lean_Core_transform_visit___rarg___lambda__4___closed__1; -x_3 = lean_unsigned_to_nat(1467u); -x_4 = lean_unsigned_to_nat(23u); +x_3 = lean_unsigned_to_nat(1471u); +x_4 = lean_unsigned_to_nat(24u); x_5 = l_Lean_Core_transform_visit___rarg___lambda__4___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -867,22 +929,81 @@ _start: { if (lean_obj_tag(x_1) == 7) { -uint8_t x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_12 = lean_expr_update_forall(x_1, x_11, x_9, x_10); -x_13 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_8); -return x_13; +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; size_t x_16; size_t x_17; uint8_t x_18; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_1, 2); +lean_inc(x_13); +x_14 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_15 = l_Lean_Expr_forallE___override(x_11, x_12, x_13, x_14); +x_16 = lean_ptr_addr(x_12); +lean_dec(x_12); +x_17 = lean_ptr_addr(x_9); +x_18 = lean_usize_dec_eq(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_15); +lean_dec(x_13); +x_19 = l_Lean_Expr_forallE___override(x_11, x_9, x_10, x_14); +x_20 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_19, x_8); +return x_20; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +size_t x_21; size_t x_22; uint8_t x_23; +x_21 = lean_ptr_addr(x_13); +lean_dec(x_13); +x_22 = lean_ptr_addr(x_10); +x_23 = lean_usize_dec_eq(x_21, x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_15); +x_24 = l_Lean_Expr_forallE___override(x_11, x_9, x_10, x_14); +x_25 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_24, x_8); +return x_25; +} +else +{ +uint8_t x_26; +x_26 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_14, x_14); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_15); +x_27 = l_Lean_Expr_forallE___override(x_11, x_9, x_10, x_14); +x_28 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_27, x_8); +return x_28; +} +else +{ +lean_object* x_29; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_29 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_15, x_8); +return x_29; +} +} +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_10); lean_dec(x_9); lean_dec(x_1); -x_14 = l_Lean_Core_transform_visit___rarg___lambda__4___closed__3; -x_15 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_14); -x_16 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_15, x_8); -return x_16; +x_30 = l_Lean_Core_transform_visit___rarg___lambda__4___closed__3; +x_31 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_30); +x_32 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_31, x_8); +return x_32; } } } @@ -916,7 +1037,7 @@ static lean_object* _init_l_Lean_Core_transform_visit___rarg___lambda__6___close _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateLet!", 20); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateLet!Impl", 45); return x_1; } } @@ -934,8 +1055,8 @@ _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_Core_transform_visit___rarg___lambda__2___closed__1; x_2 = l_Lean_Core_transform_visit___rarg___lambda__6___closed__1; -x_3 = lean_unsigned_to_nat(1490u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(1500u); +x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_Core_transform_visit___rarg___lambda__6___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -946,22 +1067,85 @@ _start: { if (lean_obj_tag(x_1) == 8) { -lean_object* x_12; lean_object* x_13; -x_12 = lean_expr_update_let(x_1, x_9, x_10, x_11); -x_13 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_12, x_8); -return x_13; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; size_t x_17; size_t x_18; uint8_t x_19; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 2); +lean_inc(x_14); +x_15 = lean_ctor_get(x_1, 3); +lean_inc(x_15); +x_16 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); +x_17 = lean_ptr_addr(x_13); +lean_dec(x_13); +x_18 = lean_ptr_addr(x_9); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_1); +x_20 = l_Lean_Expr_letE___override(x_12, x_9, x_10, x_11, x_16); +x_21 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_8); +return x_21; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +size_t x_22; size_t x_23; uint8_t x_24; +x_22 = lean_ptr_addr(x_14); +lean_dec(x_14); +x_23 = lean_ptr_addr(x_10); +x_24 = lean_usize_dec_eq(x_22, x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_15); +lean_dec(x_1); +x_25 = l_Lean_Expr_letE___override(x_12, x_9, x_10, x_11, x_16); +x_26 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_25, x_8); +return x_26; +} +else +{ +size_t x_27; size_t x_28; uint8_t x_29; +x_27 = lean_ptr_addr(x_15); +lean_dec(x_15); +x_28 = lean_ptr_addr(x_11); +x_29 = lean_usize_dec_eq(x_27, x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_1); +x_30 = l_Lean_Expr_letE___override(x_12, x_9, x_10, x_11, x_16); +x_31 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_30, x_8); +return x_31; +} +else +{ +lean_object* x_32; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_32 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_1, x_8); +return x_32; +} +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_1); -x_14 = l_Lean_Core_transform_visit___rarg___lambda__6___closed__3; -x_15 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_14); -x_16 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_15, x_8); -return x_16; +x_33 = l_Lean_Core_transform_visit___rarg___lambda__6___closed__3; +x_34 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_33); +x_35 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_34, x_8); +return x_35; } } } @@ -1025,7 +1209,7 @@ static lean_object* _init_l_Lean_Core_transform_visit___rarg___lambda__9___close _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateMData!", 22); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateMData!Impl", 47); return x_1; } } @@ -1043,8 +1227,8 @@ _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_Core_transform_visit___rarg___lambda__2___closed__1; x_2 = l_Lean_Core_transform_visit___rarg___lambda__9___closed__1; -x_3 = lean_unsigned_to_nat(1448u); -x_4 = lean_unsigned_to_nat(16u); +x_3 = lean_unsigned_to_nat(1434u); +x_4 = lean_unsigned_to_nat(17u); x_5 = l_Lean_Core_transform_visit___rarg___lambda__9___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -1055,20 +1239,41 @@ _start: { if (lean_obj_tag(x_1) == 10) { -lean_object* x_10; lean_object* x_11; -x_10 = lean_expr_update_mdata(x_1, x_9); -x_11 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_8); -return x_11; +lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; uint8_t 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_ptr_addr(x_11); +lean_dec(x_11); +x_13 = lean_ptr_addr(x_9); +x_14 = lean_usize_dec_eq(x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = l_Lean_Expr_mdata___override(x_10, x_9); +x_16 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_15, x_8); +return x_16; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_17; +lean_dec(x_10); +lean_dec(x_9); +x_17 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_1, x_8); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_dec(x_9); lean_dec(x_1); -x_12 = l_Lean_Core_transform_visit___rarg___lambda__9___closed__3; -x_13 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_12); -x_14 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_8); -return x_14; +x_18 = l_Lean_Core_transform_visit___rarg___lambda__9___closed__3; +x_19 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_18); +x_20 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_19, x_8); +return x_20; } } } @@ -1076,7 +1281,7 @@ static lean_object* _init_l_Lean_Core_transform_visit___rarg___lambda__10___clos _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateProj!", 21); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateProj!Impl", 46); return x_1; } } @@ -1094,8 +1299,8 @@ _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_Core_transform_visit___rarg___lambda__2___closed__1; x_2 = l_Lean_Core_transform_visit___rarg___lambda__10___closed__1; -x_3 = lean_unsigned_to_nat(1453u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(1445u); +x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Core_transform_visit___rarg___lambda__10___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -1106,20 +1311,44 @@ _start: { if (lean_obj_tag(x_1) == 11) { -lean_object* x_10; lean_object* x_11; -x_10 = lean_expr_update_proj(x_1, x_9); -x_11 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_8); -return x_11; +lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; uint8_t x_15; +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_1, 2); +lean_inc(x_12); +x_13 = lean_ptr_addr(x_12); +lean_dec(x_12); +x_14 = lean_ptr_addr(x_9); +x_15 = lean_usize_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_16 = l_Lean_Expr_proj___override(x_10, x_11, x_9); +x_17 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_8); +return x_17; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_18; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_18 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_1, x_8); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_9); lean_dec(x_1); -x_12 = l_Lean_Core_transform_visit___rarg___lambda__10___closed__3; -x_13 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_12); -x_14 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_8); -return x_14; +x_19 = l_Lean_Core_transform_visit___rarg___lambda__10___closed__3; +x_20 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_19); +x_21 = l_Lean_Core_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_8); +return x_21; } } } @@ -2491,85 +2720,112 @@ return x_19; } case 6: { -lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_12, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_12, 0); lean_inc(x_20); -x_21 = lean_ctor_get(x_12, 2); +x_21 = lean_ctor_get(x_12, 1); lean_inc(x_21); -x_22 = lean_ctor_get_uint8(x_12, sizeof(void*)*3 + 8); +x_22 = lean_ctor_get(x_12, 2); +lean_inc(x_22); +x_23 = lean_ctor_get_uint8(x_12, sizeof(void*)*3 + 8); +lean_dec(x_12); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_21); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_23 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_20, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_23) == 0) +x_24 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_21, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_24) == 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_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 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_22); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_26 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_21, x_6, x_7, x_8, x_25); -if (lean_obj_tag(x_26) == 0) +x_27 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_22, x_6, x_7, x_8, 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; -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; size_t x_31; size_t x_32; uint8_t x_33; +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_expr_update_lambda(x_12, x_22, x_24, x_27); -x_30 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_29, x_6, x_7, x_8, x_28); -return x_30; -} -else -{ -uint8_t x_31; -lean_dec(x_24); -lean_dec(x_12); -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_31 = !lean_is_exclusive(x_26); -if (x_31 == 0) -{ -return x_26; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_26, 0); -x_33 = lean_ctor_get(x_26, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_26); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -uint8_t x_35; +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +x_30 = l_Lean_Expr_lam___override(x_20, x_21, x_22, x_23); +x_31 = lean_ptr_addr(x_21); lean_dec(x_21); -lean_dec(x_12); +x_32 = lean_ptr_addr(x_25); +x_33 = lean_usize_dec_eq(x_31, x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_30); +lean_dec(x_22); +x_34 = l_Lean_Expr_lam___override(x_20, x_25, x_28, x_23); +x_35 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_34, x_6, x_7, x_8, x_29); +return x_35; +} +else +{ +size_t x_36; size_t x_37; uint8_t x_38; +x_36 = lean_ptr_addr(x_22); +lean_dec(x_22); +x_37 = lean_ptr_addr(x_28); +x_38 = lean_usize_dec_eq(x_36, x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_30); +x_39 = l_Lean_Expr_lam___override(x_20, x_25, x_28, x_23); +x_40 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_39, x_6, x_7, x_8, x_29); +return x_40; +} +else +{ +uint8_t x_41; +x_41 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_23, x_23); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +lean_dec(x_30); +x_42 = l_Lean_Expr_lam___override(x_20, x_25, x_28, x_23); +x_43 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_42, x_6, x_7, x_8, x_29); +return x_43; +} +else +{ +lean_object* x_44; +lean_dec(x_28); +lean_dec(x_25); +lean_dec(x_20); +x_44 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_30, x_6, x_7, x_8, x_29); +return x_44; +} +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -2577,200 +2833,357 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_35 = !lean_is_exclusive(x_23); -if (x_35 == 0) +x_45 = !lean_is_exclusive(x_27); +if (x_45 == 0) { -return x_23; +return x_27; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_23, 0); -x_37 = lean_ctor_get(x_23, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_23); -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_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_27, 0); +x_47 = lean_ctor_get(x_27, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_27); +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_49; +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +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_49 = !lean_is_exclusive(x_24); +if (x_49 == 0) +{ +return x_24; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_24, 0); +x_51 = lean_ctor_get(x_24, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_24); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } case 7: { -lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_12, 1); -lean_inc(x_39); -x_40 = lean_ctor_get(x_12, 2); -lean_inc(x_40); -x_41 = lean_ctor_get_uint8(x_12, sizeof(void*)*3 + 8); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_42 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_39, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_45 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_40, x_6, x_7, x_8, x_44); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_expr_update_forall(x_12, x_41, x_43, x_46); -x_49 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_48, x_6, x_7, x_8, x_47); -return x_49; -} -else -{ -uint8_t x_50; -lean_dec(x_43); -lean_dec(x_12); -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_50 = !lean_is_exclusive(x_45); -if (x_50 == 0) -{ -return x_45; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_45, 0); -x_52 = lean_ctor_get(x_45, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_45); -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_40); -lean_dec(x_12); -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_54 = !lean_is_exclusive(x_42); -if (x_54 == 0) -{ -return x_42; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_42, 0); -x_56 = lean_ctor_get(x_42, 1); -lean_inc(x_56); +lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; +x_53 = lean_ctor_get(x_12, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_12, 1); +lean_inc(x_54); +x_55 = lean_ctor_get(x_12, 2); lean_inc(x_55); -lean_dec(x_42); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); +x_56 = lean_ctor_get_uint8(x_12, sizeof(void*)*3 + 8); +lean_dec(x_12); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_54); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_57 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_54, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +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); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_55); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_60 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_55, x_6, x_7, x_8, x_59); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; size_t x_64; size_t x_65; uint8_t x_66; +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); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +x_63 = l_Lean_Expr_forallE___override(x_53, x_54, x_55, x_56); +x_64 = lean_ptr_addr(x_54); +lean_dec(x_54); +x_65 = lean_ptr_addr(x_58); +x_66 = lean_usize_dec_eq(x_64, x_65); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; +lean_dec(x_63); +lean_dec(x_55); +x_67 = l_Lean_Expr_forallE___override(x_53, x_58, x_61, x_56); +x_68 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_67, x_6, x_7, x_8, x_62); +return x_68; +} +else +{ +size_t x_69; size_t x_70; uint8_t x_71; +x_69 = lean_ptr_addr(x_55); +lean_dec(x_55); +x_70 = lean_ptr_addr(x_61); +x_71 = lean_usize_dec_eq(x_69, x_70); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; +lean_dec(x_63); +x_72 = l_Lean_Expr_forallE___override(x_53, x_58, x_61, x_56); +x_73 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_72, x_6, x_7, x_8, x_62); +return x_73; +} +else +{ +uint8_t x_74; +x_74 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_56, x_56); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_63); +x_75 = l_Lean_Expr_forallE___override(x_53, x_58, x_61, x_56); +x_76 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_75, x_6, x_7, x_8, x_62); +return x_76; +} +else +{ +lean_object* x_77; +lean_dec(x_61); +lean_dec(x_58); +lean_dec(x_53); +x_77 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_63, x_6, x_7, x_8, x_62); +return x_77; +} +} +} +} +else +{ +uint8_t x_78; +lean_dec(x_58); +lean_dec(x_55); +lean_dec(x_54); +lean_dec(x_53); +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_78 = !lean_is_exclusive(x_60); +if (x_78 == 0) +{ +return x_60; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_60, 0); +x_80 = lean_ctor_get(x_60, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_60); +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_82; +lean_dec(x_55); +lean_dec(x_54); +lean_dec(x_53); +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_82 = !lean_is_exclusive(x_57); +if (x_82 == 0) +{ return x_57; } +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_57, 0); +x_84 = lean_ctor_get(x_57, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_57); +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_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_12, 1); -lean_inc(x_58); -x_59 = lean_ctor_get(x_12, 2); -lean_inc(x_59); -x_60 = lean_ctor_get(x_12, 3); -lean_inc(x_60); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; +x_86 = lean_ctor_get(x_12, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_12, 1); +lean_inc(x_87); +x_88 = lean_ctor_get(x_12, 2); +lean_inc(x_88); +x_89 = lean_ctor_get(x_12, 3); +lean_inc(x_89); +x_90 = lean_ctor_get_uint8(x_12, sizeof(void*)*4 + 8); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_87); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_61 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_58, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_61) == 0) +x_91 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_87, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_91) == 0) { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_88); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_64 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_59, x_6, x_7, x_8, x_63); -if (lean_obj_tag(x_64) == 0) +x_94 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_88, x_6, x_7, x_8, x_93); +if (lean_obj_tag(x_94) == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_89); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_67 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_60, x_6, x_7, x_8, x_66); -if (lean_obj_tag(x_67) == 0) +x_97 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_89, x_6, x_7, x_8, x_96); +if (lean_obj_tag(x_97) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_expr_update_let(x_12, x_62, x_65, x_68); -x_71 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_70, x_6, x_7, x_8, x_69); -return x_71; +lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; uint8_t x_102; +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_ptr_addr(x_87); +lean_dec(x_87); +x_101 = lean_ptr_addr(x_92); +x_102 = lean_usize_dec_eq(x_100, x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; +lean_dec(x_89); +lean_dec(x_88); +lean_dec(x_12); +x_103 = l_Lean_Expr_letE___override(x_86, x_92, x_95, x_98, x_90); +x_104 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_103, x_6, x_7, x_8, x_99); +return x_104; } else { -uint8_t x_72; -lean_dec(x_65); -lean_dec(x_62); +size_t x_105; size_t x_106; uint8_t x_107; +x_105 = lean_ptr_addr(x_88); +lean_dec(x_88); +x_106 = lean_ptr_addr(x_95); +x_107 = lean_usize_dec_eq(x_105, x_106); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; +lean_dec(x_89); +lean_dec(x_12); +x_108 = l_Lean_Expr_letE___override(x_86, x_92, x_95, x_98, x_90); +x_109 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_108, x_6, x_7, x_8, x_99); +return x_109; +} +else +{ +size_t x_110; size_t x_111; uint8_t x_112; +x_110 = lean_ptr_addr(x_89); +lean_dec(x_89); +x_111 = lean_ptr_addr(x_98); +x_112 = lean_usize_dec_eq(x_110, x_111); +if (x_112 == 0) +{ +lean_object* x_113; lean_object* x_114; +lean_dec(x_12); +x_113 = l_Lean_Expr_letE___override(x_86, x_92, x_95, x_98, x_90); +x_114 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_113, x_6, x_7, x_8, x_99); +return x_114; +} +else +{ +lean_object* x_115; +lean_dec(x_98); +lean_dec(x_95); +lean_dec(x_92); +lean_dec(x_86); +x_115 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_99); +return x_115; +} +} +} +} +else +{ +uint8_t x_116; +lean_dec(x_95); +lean_dec(x_92); +lean_dec(x_89); +lean_dec(x_88); +lean_dec(x_87); +lean_dec(x_86); lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); @@ -2779,31 +3192,34 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_67); -if (x_72 == 0) +x_116 = !lean_is_exclusive(x_97); +if (x_116 == 0) { -return x_67; +return x_97; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_67, 0); -x_74 = lean_ctor_get(x_67, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_67); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_97, 0); +x_118 = lean_ctor_get(x_97, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_97); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +return x_119; } } } else { -uint8_t x_76; -lean_dec(x_62); -lean_dec(x_60); +uint8_t x_120; +lean_dec(x_92); +lean_dec(x_89); +lean_dec(x_88); +lean_dec(x_87); +lean_dec(x_86); lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); @@ -2812,31 +3228,33 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_76 = !lean_is_exclusive(x_64); -if (x_76 == 0) +x_120 = !lean_is_exclusive(x_94); +if (x_120 == 0) { -return x_64; +return x_94; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_64, 0); -x_78 = lean_ctor_get(x_64, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_64); -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_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_94, 0); +x_122 = lean_ctor_get(x_94, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_94); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; } } } else { -uint8_t x_80; -lean_dec(x_60); -lean_dec(x_59); +uint8_t x_124; +lean_dec(x_89); +lean_dec(x_88); +lean_dec(x_87); +lean_dec(x_86); lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); @@ -2845,54 +3263,76 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_80 = !lean_is_exclusive(x_61); -if (x_80 == 0) +x_124 = !lean_is_exclusive(x_91); +if (x_124 == 0) { -return x_61; +return x_91; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_61, 0); -x_82 = lean_ctor_get(x_61, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_61); -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_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_91, 0); +x_126 = lean_ctor_get(x_91, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_91); +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; } } } case 10: { -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_12, 1); -lean_inc(x_84); +lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_128 = lean_ctor_get(x_12, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_12, 1); +lean_inc(x_129); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_129); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_85 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_84, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_85) == 0) +x_130 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_129, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_130) == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* 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_expr_update_mdata(x_12, x_86); -x_89 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_88, x_6, x_7, x_8, x_87); -return x_89; +lean_object* x_131; lean_object* x_132; size_t x_133; size_t x_134; uint8_t x_135; +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_133 = lean_ptr_addr(x_129); +lean_dec(x_129); +x_134 = lean_ptr_addr(x_131); +x_135 = lean_usize_dec_eq(x_133, x_134); +if (x_135 == 0) +{ +lean_object* x_136; lean_object* x_137; +lean_dec(x_12); +x_136 = l_Lean_Expr_mdata___override(x_128, x_131); +x_137 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_136, x_6, x_7, x_8, x_132); +return x_137; } else { -uint8_t x_90; +lean_object* x_138; +lean_dec(x_131); +lean_dec(x_128); +x_138 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_132); +return x_138; +} +} +else +{ +uint8_t x_139; +lean_dec(x_129); +lean_dec(x_128); lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); @@ -2901,54 +3341,80 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_90 = !lean_is_exclusive(x_85); -if (x_90 == 0) +x_139 = !lean_is_exclusive(x_130); +if (x_139 == 0) { -return x_85; +return x_130; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_85, 0); -x_92 = lean_ctor_get(x_85, 1); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_85); -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; +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_130, 0); +x_141 = lean_ctor_get(x_130, 1); +lean_inc(x_141); +lean_inc(x_140); +lean_dec(x_130); +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; } } } case 11: { -lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_12, 2); -lean_inc(x_94); +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_143 = lean_ctor_get(x_12, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_12, 1); +lean_inc(x_144); +x_145 = lean_ctor_get(x_12, 2); +lean_inc(x_145); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_145); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_95 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_94, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_95) == 0) +x_146 = l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(x_1, x_2, x_3, x_4, x_145, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_146) == 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 = lean_expr_update_proj(x_12, x_96); -x_99 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_98, x_6, x_7, x_8, x_97); -return x_99; +lean_object* x_147; lean_object* x_148; size_t x_149; size_t x_150; uint8_t x_151; +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +x_149 = lean_ptr_addr(x_145); +lean_dec(x_145); +x_150 = lean_ptr_addr(x_147); +x_151 = lean_usize_dec_eq(x_149, x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; +lean_dec(x_12); +x_152 = l_Lean_Expr_proj___override(x_143, x_144, x_147); +x_153 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_152, x_6, x_7, x_8, x_148); +return x_153; } else { -uint8_t x_100; +lean_object* x_154; +lean_dec(x_147); +lean_dec(x_144); +lean_dec(x_143); +x_154 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_148); +return x_154; +} +} +else +{ +uint8_t x_155; +lean_dec(x_145); +lean_dec(x_144); +lean_dec(x_143); lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); @@ -2957,31 +3423,31 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_100 = !lean_is_exclusive(x_95); -if (x_100 == 0) +x_155 = !lean_is_exclusive(x_146); +if (x_155 == 0) { -return x_95; +return x_146; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_95, 0); -x_102 = lean_ctor_get(x_95, 1); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_95); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; +lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_156 = lean_ctor_get(x_146, 0); +x_157 = lean_ctor_get(x_146, 1); +lean_inc(x_157); +lean_inc(x_156); +lean_dec(x_146); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_156); +lean_ctor_set(x_158, 1, x_157); +return x_158; } } } default: { -lean_object* x_104; -x_104 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9); -return x_104; +lean_object* x_159; +x_159 = l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9); +return x_159; } } } @@ -3944,20 +4410,41 @@ _start: { if (lean_obj_tag(x_1) == 10) { -lean_object* x_12; lean_object* x_13; -x_12 = lean_expr_update_mdata(x_1, x_11); -x_13 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12, x_10); -return x_13; +lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +x_14 = lean_ptr_addr(x_13); +lean_dec(x_13); +x_15 = lean_ptr_addr(x_11); +x_16 = lean_usize_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_1); +x_17 = l_Lean_Expr_mdata___override(x_12, x_11); +x_18 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17, x_10); +return x_18; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_19; +lean_dec(x_12); +lean_dec(x_11); +x_19 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1, x_10); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_dec(x_11); lean_dec(x_1); -x_14 = l_Lean_Core_transform_visit___rarg___lambda__9___closed__3; -x_15 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_14); -x_16 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15, x_10); -return x_16; +x_20 = l_Lean_Core_transform_visit___rarg___lambda__9___closed__3; +x_21 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_20); +x_22 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21, x_10); +return x_22; } } } @@ -3966,20 +4453,44 @@ _start: { if (lean_obj_tag(x_1) == 11) { -lean_object* x_12; lean_object* x_13; -x_12 = lean_expr_update_proj(x_1, x_11); -x_13 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12, x_10); -return x_13; +lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; uint8_t x_17; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 2); +lean_inc(x_14); +x_15 = lean_ptr_addr(x_14); +lean_dec(x_14); +x_16 = lean_ptr_addr(x_11); +x_17 = lean_usize_dec_eq(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_1); +x_18 = l_Lean_Expr_proj___override(x_12, x_13, x_11); +x_19 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18, x_10); +return x_19; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_20; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_20 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1, x_10); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_11); lean_dec(x_1); -x_14 = l_Lean_Core_transform_visit___rarg___lambda__10___closed__3; -x_15 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_14); -x_16 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15, x_10); -return x_16; +x_21 = l_Lean_Core_transform_visit___rarg___lambda__10___closed__3; +x_22 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_21); +x_23 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22, x_10); +return x_23; } } } @@ -7040,34 +7551,56 @@ return x_28; } case 10: { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_15, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +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_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_30); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_30 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_29, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_30) == 0) +x_31 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__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); +if (lean_obj_tag(x_31) == 0) { -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_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; uint8_t 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_ptr_addr(x_30); lean_dec(x_30); -x_33 = lean_expr_update_mdata(x_15, x_31); -x_34 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_33, x_7, x_8, x_9, x_10, x_11, x_32); -return x_34; +x_35 = lean_ptr_addr(x_32); +x_36 = lean_usize_dec_eq(x_34, x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_15); +x_37 = l_Lean_Expr_mdata___override(x_29, x_32); +x_38 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_37, x_7, x_8, x_9, x_10, x_11, x_33); +return x_38; } else { -uint8_t x_35; +lean_object* x_39; +lean_dec(x_32); +lean_dec(x_29); +x_39 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_33); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec(x_30); +lean_dec(x_29); lean_dec(x_15); lean_dec(x_11); lean_dec(x_10); @@ -7078,56 +7611,82 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_35 = !lean_is_exclusive(x_30); -if (x_35 == 0) +x_40 = !lean_is_exclusive(x_31); +if (x_40 == 0) { -return x_30; +return x_31; } 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; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_31, 0); +x_42 = lean_ctor_get(x_31, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_31); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } case 11: { -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_15, 2); -lean_inc(x_39); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_15, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_15, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_15, 2); +lean_inc(x_46); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_46); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_40 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_39, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_40) == 0) +x_47 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_46, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -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_expr_update_proj(x_15, x_41); -x_44 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_43, x_7, x_8, x_9, x_10, x_11, x_42); -return x_44; +lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; uint8_t x_52; +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_ptr_addr(x_46); +lean_dec(x_46); +x_51 = lean_ptr_addr(x_48); +x_52 = lean_usize_dec_eq(x_50, x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_15); +x_53 = l_Lean_Expr_proj___override(x_44, x_45, x_48); +x_54 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_53, x_7, x_8, x_9, x_10, x_11, x_49); +return x_54; } else { -uint8_t x_45; +lean_object* x_55; +lean_dec(x_48); +lean_dec(x_45); +lean_dec(x_44); +x_55 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_49); +return x_55; +} +} +else +{ +uint8_t x_56; +lean_dec(x_46); +lean_dec(x_45); +lean_dec(x_44); lean_dec(x_15); lean_dec(x_11); lean_dec(x_10); @@ -7138,31 +7697,31 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_45 = !lean_is_exclusive(x_40); -if (x_45 == 0) +x_56 = !lean_is_exclusive(x_47); +if (x_56 == 0) { -return x_40; +return x_47; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_40, 0); -x_47 = lean_ctor_get(x_40, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_40); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_47, 0); +x_58 = lean_ctor_get(x_47, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_47); +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; } } } default: { -lean_object* x_49; -x_49 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__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); -return x_49; +lean_object* x_60; +x_60 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__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); +return x_60; } } } diff --git a/stage0/stdlib/Lean/Meta/UnificationHint.c b/stage0/stdlib/Lean/Meta/UnificationHint.c index eaa3e44fe0..b5a624d935 100644 --- a/stage0/stdlib/Lean/Meta/UnificationHint.c +++ b/stage0/stdlib/Lean/Meta/UnificationHint.c @@ -2441,7 +2441,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_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__1; x_2 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__3; 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/WHNF.c b/stage0/stdlib/Lean/Meta/WHNF.c index 283f676f6a..50fac404be 100644 --- a/stage0/stdlib/Lean/Meta/WHNF.c +++ b/stage0/stdlib/Lean/Meta/WHNF.c @@ -53,7 +53,6 @@ lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___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_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_unfoldDefinition_x3f___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___private_Lean_Meta_WHNF_0__Lean_Meta_getRecRuleFor(lean_object*, lean_object*); -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Nat_div___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -83,6 +82,7 @@ lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__7; static lean_object* l_Lean_Meta_toCtorIfLit___closed__24; lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_getStructuralRecArgPos_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -132,7 +132,7 @@ size_t lean_usize_shift_right(size_t, size_t); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__14; LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingMatch_x3f(lean_object*); lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); -uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9921_(uint8_t, uint8_t); +uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(uint8_t, uint8_t); static lean_object* l_Lean_Meta_toCtorIfLit___closed__16; static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__10; uint8_t lean_usize_dec_lt(size_t, size_t); @@ -329,7 +329,6 @@ uint8_t l_Lean_Expr_isLambda(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingReduce_x3f_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__8; static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__39; -lean_object* lean_expr_update_proj(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__17; static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__35; @@ -357,6 +356,7 @@ static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_reduceMatcher_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg___closed__3; static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__17; +size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_reduceNat_x3f___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_unfoldProjInst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__21; @@ -5197,7 +5197,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_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg___closed__1; x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10112,7 +10112,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_9921_(x_11, x_10); +x_12 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(x_11, x_10); if (x_12 == 0) { lean_object* x_13; uint8_t x_14; lean_object* x_15; @@ -17030,277 +17030,419 @@ return x_70; } case 10: { -lean_object* x_71; lean_object* x_72; -x_71 = lean_ctor_get(x_1, 1); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_1, 0); lean_inc(x_71); -x_72 = l_Lean_Meta_smartUnfoldingMatch_x3f(x_1); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; -x_73 = l_Lean_Meta_smartUnfoldingReduce_x3f_go(x_71, x_2, x_3, x_4, x_5, x_6); +x_72 = lean_ctor_get(x_1, 1); +lean_inc(x_72); +x_73 = l_Lean_Meta_smartUnfoldingMatch_x3f(x_1); if (lean_obj_tag(x_73) == 0) { lean_object* x_74; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); +lean_inc(x_72); +x_74 = l_Lean_Meta_smartUnfoldingReduce_x3f_go(x_72, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_74) == 0) { -uint8_t x_75; -lean_dec(x_1); -x_75 = !lean_is_exclusive(x_73); -if (x_75 == 0) +lean_object* x_75; +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +if (lean_obj_tag(x_75) == 0) { -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_73, 0); -lean_dec(x_76); -x_77 = lean_box(0); -lean_ctor_set(x_73, 0, x_77); -return x_73; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_73, 1); -lean_inc(x_78); -lean_dec(x_73); -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_78); -return x_80; -} -} -else -{ -uint8_t x_81; -x_81 = !lean_is_exclusive(x_73); -if (x_81 == 0) -{ -lean_object* x_82; uint8_t x_83; -x_82 = lean_ctor_get(x_73, 0); -lean_dec(x_82); -x_83 = !lean_is_exclusive(x_74); -if (x_83 == 0) -{ -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_74, 0); -x_85 = lean_expr_update_mdata(x_1, x_84); -lean_ctor_set(x_74, 0, x_85); -return x_73; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_74, 0); -lean_inc(x_86); -lean_dec(x_74); -x_87 = lean_expr_update_mdata(x_1, x_86); -x_88 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_73, 0, x_88); -return x_73; -} -} -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; -x_89 = lean_ctor_get(x_73, 1); -lean_inc(x_89); -lean_dec(x_73); -x_90 = lean_ctor_get(x_74, 0); -lean_inc(x_90); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - x_91 = x_74; -} else { - lean_dec_ref(x_74); - x_91 = lean_box(0); -} -x_92 = lean_expr_update_mdata(x_1, x_90); -if (lean_is_scalar(x_91)) { - x_93 = lean_alloc_ctor(1, 1, 0); -} else { - x_93 = x_91; -} -lean_ctor_set(x_93, 0, x_92); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_89); -return x_94; -} -} -} -else -{ -uint8_t x_95; -lean_dec(x_1); -x_95 = !lean_is_exclusive(x_73); -if (x_95 == 0) -{ -return x_73; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_73, 0); -x_97 = lean_ctor_get(x_73, 1); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_73); -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 -{ -lean_object* x_99; lean_object* x_100; +uint8_t x_76; +lean_dec(x_72); lean_dec(x_71); lean_dec(x_1); -x_99 = lean_ctor_get(x_72, 0); -lean_inc(x_99); +x_76 = !lean_is_exclusive(x_74); +if (x_76 == 0) +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_74, 0); +lean_dec(x_77); +x_78 = lean_box(0); +lean_ctor_set(x_74, 0, x_78); +return x_74; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_74, 1); +lean_inc(x_79); +lean_dec(x_74); +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_79); +return x_81; +} +} +else +{ +uint8_t x_82; +x_82 = !lean_is_exclusive(x_74); +if (x_82 == 0) +{ +lean_object* x_83; uint8_t x_84; +x_83 = lean_ctor_get(x_74, 0); +lean_dec(x_83); +x_84 = !lean_is_exclusive(x_75); +if (x_84 == 0) +{ +lean_object* x_85; size_t x_86; size_t x_87; uint8_t x_88; +x_85 = lean_ctor_get(x_75, 0); +x_86 = lean_ptr_addr(x_72); lean_dec(x_72); -x_100 = l_Lean_Meta_smartUnfoldingReduce_x3f_goMatch(x_99, x_2, x_3, x_4, x_5, x_6); -return x_100; +x_87 = lean_ptr_addr(x_85); +x_88 = lean_usize_dec_eq(x_86, x_87); +if (x_88 == 0) +{ +lean_object* x_89; +lean_dec(x_1); +x_89 = l_Lean_Expr_mdata___override(x_71, x_85); +lean_ctor_set(x_75, 0, x_89); +return x_74; +} +else +{ +lean_dec(x_85); +lean_dec(x_71); +lean_ctor_set(x_75, 0, x_1); +return x_74; +} +} +else +{ +lean_object* x_90; size_t x_91; size_t x_92; uint8_t x_93; +x_90 = lean_ctor_get(x_75, 0); +lean_inc(x_90); +lean_dec(x_75); +x_91 = lean_ptr_addr(x_72); +lean_dec(x_72); +x_92 = lean_ptr_addr(x_90); +x_93 = lean_usize_dec_eq(x_91, x_92); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; +lean_dec(x_1); +x_94 = l_Lean_Expr_mdata___override(x_71, x_90); +x_95 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_74, 0, x_95); +return x_74; +} +else +{ +lean_object* x_96; +lean_dec(x_90); +lean_dec(x_71); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_1); +lean_ctor_set(x_74, 0, x_96); +return x_74; +} +} +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; uint8_t x_102; +x_97 = lean_ctor_get(x_74, 1); +lean_inc(x_97); +lean_dec(x_74); +x_98 = lean_ctor_get(x_75, 0); +lean_inc(x_98); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + x_99 = x_75; +} else { + lean_dec_ref(x_75); + x_99 = lean_box(0); +} +x_100 = lean_ptr_addr(x_72); +lean_dec(x_72); +x_101 = lean_ptr_addr(x_98); +x_102 = lean_usize_dec_eq(x_100, x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +lean_dec(x_1); +x_103 = l_Lean_Expr_mdata___override(x_71, x_98); +if (lean_is_scalar(x_99)) { + x_104 = lean_alloc_ctor(1, 1, 0); +} else { + x_104 = x_99; +} +lean_ctor_set(x_104, 0, 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_97); +return x_105; +} +else +{ +lean_object* x_106; lean_object* x_107; +lean_dec(x_98); +lean_dec(x_71); +if (lean_is_scalar(x_99)) { + x_106 = lean_alloc_ctor(1, 1, 0); +} else { + x_106 = x_99; +} +lean_ctor_set(x_106, 0, x_1); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_97); +return x_107; +} +} +} +} +else +{ +uint8_t x_108; +lean_dec(x_72); +lean_dec(x_71); +lean_dec(x_1); +x_108 = !lean_is_exclusive(x_74); +if (x_108 == 0) +{ +return x_74; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_74, 0); +x_110 = lean_ctor_get(x_74, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_74); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; +} +} +} +else +{ +lean_object* x_112; lean_object* x_113; +lean_dec(x_72); +lean_dec(x_71); +lean_dec(x_1); +x_112 = lean_ctor_get(x_73, 0); +lean_inc(x_112); +lean_dec(x_73); +x_113 = l_Lean_Meta_smartUnfoldingReduce_x3f_goMatch(x_112, x_2, x_3, x_4, x_5, x_6); +return x_113; } } case 11: { -lean_object* x_101; lean_object* x_102; -x_101 = lean_ctor_get(x_1, 2); -lean_inc(x_101); -x_102 = l_Lean_Meta_smartUnfoldingReduce_x3f_go(x_101, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -if (lean_obj_tag(x_103) == 0) -{ -uint8_t x_104; -lean_dec(x_1); -x_104 = !lean_is_exclusive(x_102); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_102, 0); -lean_dec(x_105); -x_106 = lean_box(0); -lean_ctor_set(x_102, 0, x_106); -return x_102; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_102, 1); -lean_inc(x_107); -lean_dec(x_102); -x_108 = lean_box(0); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_107); -return x_109; -} -} -else -{ -uint8_t x_110; -x_110 = !lean_is_exclusive(x_102); -if (x_110 == 0) -{ -lean_object* x_111; uint8_t x_112; -x_111 = lean_ctor_get(x_102, 0); -lean_dec(x_111); -x_112 = !lean_is_exclusive(x_103); -if (x_112 == 0) -{ -lean_object* x_113; lean_object* x_114; -x_113 = lean_ctor_get(x_103, 0); -x_114 = lean_expr_update_proj(x_1, x_113); -lean_ctor_set(x_103, 0, x_114); -return x_102; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_103, 0); +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = lean_ctor_get(x_1, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_1, 1); lean_inc(x_115); -lean_dec(x_103); -x_116 = lean_expr_update_proj(x_1, x_115); -x_117 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_102, 0, x_117); -return x_102; -} -} -else +x_116 = lean_ctor_get(x_1, 2); +lean_inc(x_116); +lean_inc(x_116); +x_117 = l_Lean_Meta_smartUnfoldingReduce_x3f_go(x_116, x_2, x_3, x_4, x_5, x_6); +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; -x_118 = lean_ctor_get(x_102, 1); +lean_object* x_118; +x_118 = lean_ctor_get(x_117, 0); lean_inc(x_118); -lean_dec(x_102); -x_119 = lean_ctor_get(x_103, 0); -lean_inc(x_119); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - x_120 = x_103; -} else { - lean_dec_ref(x_103); - x_120 = lean_box(0); -} -x_121 = lean_expr_update_proj(x_1, x_119); -if (lean_is_scalar(x_120)) { - x_122 = lean_alloc_ctor(1, 1, 0); -} else { - x_122 = x_120; -} -lean_ctor_set(x_122, 0, 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_118); -return x_123; -} -} -} -else +if (lean_obj_tag(x_118) == 0) { -uint8_t x_124; +uint8_t x_119; +lean_dec(x_116); +lean_dec(x_115); +lean_dec(x_114); lean_dec(x_1); -x_124 = !lean_is_exclusive(x_102); -if (x_124 == 0) +x_119 = !lean_is_exclusive(x_117); +if (x_119 == 0) { -return x_102; +lean_object* x_120; lean_object* x_121; +x_120 = lean_ctor_get(x_117, 0); +lean_dec(x_120); +x_121 = lean_box(0); +lean_ctor_set(x_117, 0, x_121); +return x_117; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_102, 0); -x_126 = lean_ctor_get(x_102, 1); -lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_102); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -return x_127; +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_box(0); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +return x_124; +} +} +else +{ +uint8_t x_125; +x_125 = !lean_is_exclusive(x_117); +if (x_125 == 0) +{ +lean_object* x_126; uint8_t x_127; +x_126 = lean_ctor_get(x_117, 0); +lean_dec(x_126); +x_127 = !lean_is_exclusive(x_118); +if (x_127 == 0) +{ +lean_object* x_128; size_t x_129; size_t x_130; uint8_t x_131; +x_128 = lean_ctor_get(x_118, 0); +x_129 = lean_ptr_addr(x_116); +lean_dec(x_116); +x_130 = lean_ptr_addr(x_128); +x_131 = lean_usize_dec_eq(x_129, x_130); +if (x_131 == 0) +{ +lean_object* x_132; +lean_dec(x_1); +x_132 = l_Lean_Expr_proj___override(x_114, x_115, x_128); +lean_ctor_set(x_118, 0, x_132); +return x_117; +} +else +{ +lean_dec(x_128); +lean_dec(x_115); +lean_dec(x_114); +lean_ctor_set(x_118, 0, x_1); +return x_117; +} +} +else +{ +lean_object* x_133; size_t x_134; size_t x_135; uint8_t x_136; +x_133 = lean_ctor_get(x_118, 0); +lean_inc(x_133); +lean_dec(x_118); +x_134 = lean_ptr_addr(x_116); +lean_dec(x_116); +x_135 = lean_ptr_addr(x_133); +x_136 = lean_usize_dec_eq(x_134, x_135); +if (x_136 == 0) +{ +lean_object* x_137; lean_object* x_138; +lean_dec(x_1); +x_137 = l_Lean_Expr_proj___override(x_114, x_115, x_133); +x_138 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_117, 0, x_138); +return x_117; +} +else +{ +lean_object* x_139; +lean_dec(x_133); +lean_dec(x_115); +lean_dec(x_114); +x_139 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_139, 0, x_1); +lean_ctor_set(x_117, 0, x_139); +return x_117; +} +} +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; size_t x_143; size_t x_144; uint8_t x_145; +x_140 = lean_ctor_get(x_117, 1); +lean_inc(x_140); +lean_dec(x_117); +x_141 = lean_ctor_get(x_118, 0); +lean_inc(x_141); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + x_142 = x_118; +} else { + lean_dec_ref(x_118); + x_142 = lean_box(0); +} +x_143 = lean_ptr_addr(x_116); +lean_dec(x_116); +x_144 = lean_ptr_addr(x_141); +x_145 = lean_usize_dec_eq(x_143, x_144); +if (x_145 == 0) +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_1); +x_146 = l_Lean_Expr_proj___override(x_114, x_115, x_141); +if (lean_is_scalar(x_142)) { + x_147 = lean_alloc_ctor(1, 1, 0); +} else { + x_147 = x_142; +} +lean_ctor_set(x_147, 0, 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_149; lean_object* x_150; +lean_dec(x_141); +lean_dec(x_115); +lean_dec(x_114); +if (lean_is_scalar(x_142)) { + x_149 = lean_alloc_ctor(1, 1, 0); +} else { + x_149 = x_142; +} +lean_ctor_set(x_149, 0, x_1); +x_150 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_140); +return x_150; +} +} +} +} +else +{ +uint8_t x_151; +lean_dec(x_116); +lean_dec(x_115); +lean_dec(x_114); +lean_dec(x_1); +x_151 = !lean_is_exclusive(x_117); +if (x_151 == 0) +{ +return x_117; +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_117, 0); +x_153 = lean_ctor_get(x_117, 1); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_117); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +return x_154; } } } default: { -lean_object* x_128; lean_object* x_129; +lean_object* x_155; lean_object* x_156; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_128 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_128, 0, x_1); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_6); -return x_129; +x_155 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_155, 0, x_1); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_6); +return x_156; } } } @@ -19916,7 +20058,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_9921_(x_12, x_11); +x_13 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(x_12, x_11); if (x_13 == 0) { lean_object* x_14; @@ -19947,7 +20089,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_9921_(x_19, x_18); +x_20 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9966_(x_19, x_18); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; diff --git a/stage0/stdlib/Lean/MetavarContext.c b/stage0/stdlib/Lean/MetavarContext.c index dae71de944..7c2b21c6f1 100644 --- a/stage0/stdlib/Lean/MetavarContext.c +++ b/stage0/stdlib/Lean/MetavarContext.c @@ -27,7 +27,6 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v LEAN_EXPORT lean_object* l_Lean_instantiateMVarDeclMVars___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___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_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__6(lean_object*); -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__28___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAtAux___at_Lean_isLevelMVarAssigned___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_101____closed__16; @@ -74,6 +73,7 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shoul LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_getLevelMVarAssignment_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_MetavarContext_LevelMVarToParam_main_visitApp___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__9(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -165,7 +165,6 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_assignLevelMVar___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_addLevelMVarDecl(lean_object*, lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__9___closed__1; -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__10(uint8_t, 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 lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -182,6 +181,7 @@ LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore__ static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__9___closed__2; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_MetavarContext_addLevelMVarDecl___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__2___closed__2; +lean_object* l_Lean_Level_succ___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_eAssignment___default; LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47(lean_object*, lean_object*); @@ -270,6 +270,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVar LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__12___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__11(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_setMVarKind(lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_addExprMVarDeclExp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssigned(lean_object*); @@ -377,6 +378,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore__ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn___spec__35(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__101(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn___spec__29___boxed(lean_object*, lean_object*); +uint8_t l_ptrEqList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn_x27___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__49(lean_object*, lean_object*, size_t, size_t); @@ -454,6 +456,7 @@ LEAN_EXPORT lean_object* l_Lean_assignExprMVar___at___private_Lean_MetavarContex LEAN_EXPORT lean_object* l_Lean_MetavarContext_getExprAssignmentDomain(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_anyM___at_Lean_hasAssignedMVar___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t); @@ -515,6 +518,7 @@ uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkAuxMVarType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn_x27___spec__37(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_simpLevelIMax_x27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOnPred___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); @@ -698,13 +702,13 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn_x27___sp LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__35(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_visitLevel(lean_object*, lean_object*, lean_object*); -lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__14___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__41(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__39___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignableMVar___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadCacheExprStructEqExprM___closed__1; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_MetavarKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); @@ -717,6 +721,7 @@ uint8_t l_Lean_Expr_hasExprMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__6(lean_object*, lean_object*); +lean_object* l_Lean_simpLevelMax_x27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_abstractRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__34(lean_object*, lean_object*); @@ -763,6 +768,7 @@ LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps(lean_objec LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__104(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_MkBinding_instToStringException___spec__1(lean_object*, size_t, size_t, 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_StateRefT_x27_get___at_Lean_MetavarContext_instMonadMCtxStateRefT_x27MetavarContextST___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__24(lean_object*); @@ -799,6 +805,7 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAtAux___at_Lean_isMVarD LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__12(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__29___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_getDecl___closed__3; +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__9(lean_object*, lean_object*, size_t, size_t); @@ -1011,7 +1018,6 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v LEAN_EXPORT lean_object* l_Lean_isMVarDelayedAssigned___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__83___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn_x27___spec__47___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1054,7 +1060,6 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__27___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__13(lean_object*, lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_MetavarContext_getExprAssignmentDomain___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1143,10 +1148,10 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_instantiateLCtxM LEAN_EXPORT lean_object* l_Nat_forM_loop___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__115(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_MetavarContext_addLevelMVarDecl___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__72(lean_object*, lean_object*, size_t, size_t); +size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__12___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__38___rarg___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_instantiateExprMVars___spec__19___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); -lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVarDeclMVars___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isExprMVarAssignable___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -1158,6 +1163,7 @@ LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__12(l LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__9(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_index(lean_object*); +lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__88(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Lean_MetavarKind_isSyntheticOpaque(uint8_t); LEAN_EXPORT lean_object* l_Lean_exprDependsOn_x27___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1220,7 +1226,6 @@ uint8_t l_Lean_Expr_isMVar(lean_object*); uint8_t lean_expr_equal(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__69(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isExprMVarAssigned___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_sort(lean_object*, lean_object*); extern lean_object* l_Id_instMonadId; static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_101____closed__2; LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn___spec__36(lean_object*, lean_object*); @@ -1388,12 +1393,10 @@ LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__70___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); -lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__112(lean_object*, lean_object*, size_t, size_t); lean_object* l_panic___at_Lean_TSyntax_getNat___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_level_update_succ(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_anyM___at_Lean_hasAssignableMVar___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_getDelayedMVarAssignment_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_instantiateLCtxMVars___spec__3___rarg___closed__1; @@ -1459,6 +1462,7 @@ lean_object* l___private_Lean_Expr_0__Lean_mkAppRangeAux(lean_object*, lean_obje LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__22___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__19___rarg___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_instantiateMVarsCore___spec__21(lean_object*); +uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_DependsOn_instMonadMCtxM___spec__2___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_MetavarContext_findUserName_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignDelayedMVar___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1516,6 +1520,7 @@ LEAN_EXPORT lean_object* l_Lean_MetavarContext_lAssignment___default; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_exprDependsOn___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isLevelMVarAssignable___rarg___lambda__1___closed__4; +lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__9___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_PersistentHashMap_insertAux___at_Lean_assignExprMVar___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); @@ -1635,6 +1640,7 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___sp LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__25(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkAuxMVarType___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_MetavarContext_MkBinding_instMonadMCtxM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__8___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11___boxed(lean_object*, lean_object*); @@ -1721,7 +1727,6 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__38___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__16(lean_object*, lean_object*, size_t, size_t); -lean_object* lean_expr_update_const(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__35___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__35(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__20(lean_object*); @@ -8228,7 +8233,7 @@ static lean_object* _init_l_Lean_instantiateLevelMVars___rarg___lambda__1___clos _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Level.updateSucc!", 22); +x_1 = lean_mk_string_from_bytes("_private.Lean.Level.0.Lean.Level.updateSucc!Impl", 48); return x_1; } } @@ -8246,8 +8251,8 @@ _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_instantiateLevelMVars___rarg___lambda__1___closed__1; x_2 = l_Lean_instantiateLevelMVars___rarg___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(538u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(527u); +x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_instantiateLevelMVars___rarg___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -8258,32 +8263,50 @@ _start: { if (lean_obj_tag(x_2) == 1) { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; uint8_t x_9; 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_inc(x_5); lean_dec(x_4); -x_6 = lean_level_update_succ(x_2, x_3); -x_7 = lean_apply_2(x_5, lean_box(0), x_6); -return x_7; +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +x_7 = lean_ptr_addr(x_6); +lean_dec(x_6); +x_8 = lean_ptr_addr(x_3); +x_9 = lean_usize_dec_eq(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_2); +x_10 = l_Lean_Level_succ___override(x_3); +x_11 = lean_apply_2(x_5, lean_box(0), x_10); +return x_11; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_12; +lean_dec(x_3); +x_12 = lean_apply_2(x_5, lean_box(0), x_2); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_3); lean_dec(x_2); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); lean_dec(x_1); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = l_Lean_instantiateLevelMVars___rarg___lambda__1___closed__4; -x_11 = l_panic___at_Lean_Level_normalize___spec__1(x_10); -x_12 = lean_apply_2(x_9, lean_box(0), x_11); -return x_12; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_instantiateLevelMVars___rarg___lambda__1___closed__4; +x_16 = l_panic___at_Lean_Level_normalize___spec__1(x_15); +x_17 = lean_apply_2(x_14, lean_box(0), x_16); +return x_17; } } } @@ -8291,7 +8314,7 @@ static lean_object* _init_l_Lean_instantiateLevelMVars___rarg___lambda__2___clos _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Level.updateMax!", 21); +x_1 = lean_mk_string_from_bytes("_private.Lean.Level.0.Lean.Level.updateMax!Impl", 47); return x_1; } } @@ -8309,8 +8332,8 @@ _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_instantiateLevelMVars___rarg___lambda__1___closed__1; x_2 = l_Lean_instantiateLevelMVars___rarg___lambda__2___closed__1; -x_3 = lean_unsigned_to_nat(547u); -x_4 = lean_unsigned_to_nat(14u); +x_3 = lean_unsigned_to_nat(538u); +x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_instantiateLevelMVars___rarg___lambda__2___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -8321,33 +8344,64 @@ _start: { if (lean_obj_tag(x_2) == 2) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; uint8_t x_11; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec(x_1); x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = lean_level_update_max(x_2, x_3, x_4); -x_8 = lean_apply_2(x_6, lean_box(0), x_7); -return x_8; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_ctor_get(x_2, 1); +x_9 = lean_ptr_addr(x_7); +x_10 = lean_ptr_addr(x_3); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_mkLevelMax_x27(x_3, x_4); +x_13 = lean_apply_2(x_6, lean_box(0), x_12); +return x_13; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +size_t x_14; size_t x_15; uint8_t x_16; +x_14 = lean_ptr_addr(x_8); +x_15 = lean_ptr_addr(x_4); +x_16 = lean_usize_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = l_Lean_mkLevelMax_x27(x_3, x_4); +x_18 = lean_apply_2(x_6, lean_box(0), x_17); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = l_Lean_simpLevelMax_x27(x_3, x_4, x_2); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); +x_20 = lean_apply_2(x_6, lean_box(0), x_19); +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_dec(x_4); +lean_dec(x_3); +x_21 = lean_ctor_get(x_1, 0); +lean_inc(x_21); lean_dec(x_1); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l_Lean_instantiateLevelMVars___rarg___lambda__2___closed__3; -x_12 = l_panic___at_Lean_Level_normalize___spec__1(x_11); -x_13 = lean_apply_2(x_10, lean_box(0), x_12); -return x_13; +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = l_Lean_instantiateLevelMVars___rarg___lambda__2___closed__3; +x_24 = l_panic___at_Lean_Level_normalize___spec__1(x_23); +x_25 = lean_apply_2(x_22, lean_box(0), x_24); +return x_25; } } } @@ -8357,7 +8411,7 @@ _start: lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_inc(x_1); x_7 = l_Lean_instantiateLevelMVars___rarg(x_1, x_2, x_3); -x_8 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__2), 4, 3); +x_8 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__2___boxed), 4, 3); lean_closure_set(x_8, 0, x_1); lean_closure_set(x_8, 1, x_4); lean_closure_set(x_8, 2, x_6); @@ -8369,7 +8423,7 @@ static lean_object* _init_l_Lean_instantiateLevelMVars___rarg___lambda__4___clos _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Level.updateIMax!", 22); +x_1 = lean_mk_string_from_bytes("_private.Lean.Level.0.Lean.Level.updateIMax!Impl", 48); return x_1; } } @@ -8387,8 +8441,8 @@ _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_instantiateLevelMVars___rarg___lambda__1___closed__1; x_2 = l_Lean_instantiateLevelMVars___rarg___lambda__4___closed__1; -x_3 = lean_unsigned_to_nat(556u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(549u); +x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_instantiateLevelMVars___rarg___lambda__4___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -8399,33 +8453,62 @@ _start: { if (lean_obj_tag(x_2) == 3) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; uint8_t x_11; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec(x_1); x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = lean_level_update_imax(x_2, x_3, x_4); -x_8 = lean_apply_2(x_6, lean_box(0), x_7); -return x_8; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_ctor_get(x_2, 1); +x_9 = lean_ptr_addr(x_7); +x_10 = lean_ptr_addr(x_3); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_mkLevelIMax_x27(x_3, x_4); +x_13 = lean_apply_2(x_6, lean_box(0), x_12); +return x_13; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +size_t x_14; size_t x_15; uint8_t x_16; +x_14 = lean_ptr_addr(x_8); +x_15 = lean_ptr_addr(x_4); +x_16 = lean_usize_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = l_Lean_mkLevelIMax_x27(x_3, x_4); +x_18 = lean_apply_2(x_6, lean_box(0), x_17); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = l_Lean_simpLevelIMax_x27(x_3, x_4, x_2); +x_20 = lean_apply_2(x_6, lean_box(0), x_19); +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_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); +x_21 = lean_ctor_get(x_1, 0); +lean_inc(x_21); lean_dec(x_1); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l_Lean_instantiateLevelMVars___rarg___lambda__4___closed__3; -x_12 = l_panic___at_Lean_Level_normalize___spec__1(x_11); -x_13 = lean_apply_2(x_10, lean_box(0), x_12); -return x_13; +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = l_Lean_instantiateLevelMVars___rarg___lambda__4___closed__3; +x_24 = l_panic___at_Lean_Level_normalize___spec__1(x_23); +x_25 = lean_apply_2(x_22, lean_box(0), x_24); +return x_25; } } } @@ -8435,7 +8518,7 @@ _start: lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_inc(x_1); x_7 = l_Lean_instantiateLevelMVars___rarg(x_1, x_2, x_3); -x_8 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__4), 4, 3); +x_8 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__4___boxed), 4, 3); lean_closure_set(x_8, 0, x_1); lean_closure_set(x_8, 1, x_4); lean_closure_set(x_8, 2, x_6); @@ -8632,6 +8715,24 @@ x_2 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg), 3, 0); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_instantiateLevelMVars___rarg___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_instantiateLevelMVars___rarg___lambda__4(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_instantiateExprMVars___spec__2(lean_object* x_1, lean_object* x_2) { _start: { @@ -9185,32 +9286,56 @@ _start: { if (lean_obj_tag(x_1) == 1) { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_level_update_succ(x_1, x_3); -x_5 = lean_ctor_get(x_2, 0); -lean_inc(x_5); +lean_object* x_4; size_t x_5; size_t x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_6 = lean_ptr_addr(x_3); +x_7 = lean_usize_dec_eq(x_5, x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_1); +x_8 = l_Lean_Level_succ___override(x_3); +x_9 = lean_ctor_get(x_2, 0); +lean_inc(x_9); lean_dec(x_2); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_apply_2(x_6, lean_box(0), x_4); -return x_7; +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_apply_2(x_10, lean_box(0), x_8); +return x_11; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_3); +x_12 = lean_ctor_get(x_2, 0); +lean_inc(x_12); +lean_dec(x_2); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_apply_2(x_13, lean_box(0), x_1); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_dec(x_3); lean_dec(x_1); -x_8 = l_Lean_instantiateLevelMVars___rarg___lambda__1___closed__4; -x_9 = l_panic___at_Lean_Level_normalize___spec__1(x_8); -x_10 = lean_ctor_get(x_2, 0); -lean_inc(x_10); +x_15 = l_Lean_instantiateLevelMVars___rarg___lambda__1___closed__4; +x_16 = l_panic___at_Lean_Level_normalize___spec__1(x_15); +x_17 = lean_ctor_get(x_2, 0); +lean_inc(x_17); lean_dec(x_2); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_apply_2(x_11, lean_box(0), x_9); -return x_12; +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_apply_2(x_18, lean_box(0), x_16); +return x_19; } } } @@ -9219,25 +9344,16 @@ _start: { if (lean_obj_tag(x_1) == 2) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_level_update_max(x_1, x_3, x_4); -x_6 = lean_ctor_get(x_2, 0); -lean_inc(x_6); -lean_dec(x_2); -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_apply_2(x_7, lean_box(0), x_5); -return x_8; -} -else +lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; uint8_t x_9; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_ptr_addr(x_5); +x_8 = lean_ptr_addr(x_3); +x_9 = lean_usize_dec_eq(x_7, x_8); +if (x_9 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_9 = l_Lean_instantiateLevelMVars___rarg___lambda__2___closed__3; -x_10 = l_panic___at_Lean_Level_normalize___spec__1(x_9); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = l_Lean_mkLevelMax_x27(x_3, x_4); x_11 = lean_ctor_get(x_2, 0); lean_inc(x_11); lean_dec(x_2); @@ -9247,6 +9363,58 @@ lean_dec(x_11); x_13 = lean_apply_2(x_12, lean_box(0), x_10); return x_13; } +else +{ +size_t x_14; size_t x_15; uint8_t x_16; +x_14 = lean_ptr_addr(x_6); +x_15 = lean_ptr_addr(x_4); +x_16 = lean_usize_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = l_Lean_mkLevelMax_x27(x_3, x_4); +x_18 = lean_ctor_get(x_2, 0); +lean_inc(x_18); +lean_dec(x_2); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_apply_2(x_19, lean_box(0), x_17); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = l_Lean_simpLevelMax_x27(x_3, x_4, x_1); +lean_dec(x_4); +lean_dec(x_3); +x_22 = lean_ctor_get(x_2, 0); +lean_inc(x_22); +lean_dec(x_2); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_apply_2(x_23, lean_box(0), x_21); +return x_24; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_4); +lean_dec(x_3); +x_25 = l_Lean_instantiateLevelMVars___rarg___lambda__2___closed__3; +x_26 = l_panic___at_Lean_Level_normalize___spec__1(x_25); +x_27 = lean_ctor_get(x_2, 0); +lean_inc(x_27); +lean_dec(x_2); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_apply_2(x_28, lean_box(0), x_26); +return x_29; +} } } LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -9255,7 +9423,7 @@ _start: lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_inc(x_1); x_9 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg(x_1, x_2, x_3, x_4, x_5); -x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2), 4, 3); +x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2___boxed), 4, 3); lean_closure_set(x_10, 0, x_6); lean_closure_set(x_10, 1, x_1); lean_closure_set(x_10, 2, x_8); @@ -9268,25 +9436,16 @@ _start: { if (lean_obj_tag(x_1) == 3) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_level_update_imax(x_1, x_3, x_4); -x_6 = lean_ctor_get(x_2, 0); -lean_inc(x_6); -lean_dec(x_2); -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_apply_2(x_7, lean_box(0), x_5); -return x_8; -} -else +lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; uint8_t x_9; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_ptr_addr(x_5); +x_8 = lean_ptr_addr(x_3); +x_9 = lean_usize_dec_eq(x_7, x_8); +if (x_9 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_9 = l_Lean_instantiateLevelMVars___rarg___lambda__4___closed__3; -x_10 = l_panic___at_Lean_Level_normalize___spec__1(x_9); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = l_Lean_mkLevelIMax_x27(x_3, x_4); x_11 = lean_ctor_get(x_2, 0); lean_inc(x_11); lean_dec(x_2); @@ -9296,6 +9455,56 @@ lean_dec(x_11); x_13 = lean_apply_2(x_12, lean_box(0), x_10); return x_13; } +else +{ +size_t x_14; size_t x_15; uint8_t x_16; +x_14 = lean_ptr_addr(x_6); +x_15 = lean_ptr_addr(x_4); +x_16 = lean_usize_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = l_Lean_mkLevelIMax_x27(x_3, x_4); +x_18 = lean_ctor_get(x_2, 0); +lean_inc(x_18); +lean_dec(x_2); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_apply_2(x_19, lean_box(0), x_17); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = l_Lean_simpLevelIMax_x27(x_3, x_4, x_1); +x_22 = lean_ctor_get(x_2, 0); +lean_inc(x_22); +lean_dec(x_2); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_apply_2(x_23, lean_box(0), x_21); +return x_24; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_4); +lean_dec(x_3); +x_25 = l_Lean_instantiateLevelMVars___rarg___lambda__4___closed__3; +x_26 = l_panic___at_Lean_Level_normalize___spec__1(x_25); +x_27 = lean_ctor_get(x_2, 0); +lean_inc(x_27); +lean_dec(x_2); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_apply_2(x_28, lean_box(0), x_26); +return x_29; +} } } LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -9304,7 +9513,7 @@ _start: lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_inc(x_1); x_9 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg(x_1, x_2, x_3, x_4, x_5); -x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4), 4, 3); +x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4___boxed), 4, 3); lean_closure_set(x_10, 0, x_6); lean_closure_set(x_10, 1, x_1); lean_closure_set(x_10, 2, x_8); @@ -9618,7 +9827,7 @@ _start: lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_inc(x_1); x_9 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg(x_1, x_2, x_3, x_4, x_5); -x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2), 4, 3); +x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2___boxed), 4, 3); lean_closure_set(x_10, 0, x_6); lean_closure_set(x_10, 1, x_1); lean_closure_set(x_10, 2, x_8); @@ -9632,7 +9841,7 @@ _start: lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_inc(x_1); x_9 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg(x_1, x_2, x_3, x_4, x_5); -x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4), 4, 3); +x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4___boxed), 4, 3); lean_closure_set(x_10, 0, x_6); lean_closure_set(x_10, 1, x_1); lean_closure_set(x_10, 2, x_8); @@ -13203,7 +13412,7 @@ static lean_object* _init_l_Lean_instantiateExprMVars___rarg___lambda__9___close _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateSort!", 21); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateSort!Impl", 46); return x_1; } } @@ -13221,8 +13430,8 @@ _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_instantiateExprMVars___rarg___lambda__9___closed__1; x_2 = l_Lean_instantiateExprMVars___rarg___lambda__9___closed__2; -x_3 = lean_unsigned_to_nat(1431u); -x_4 = lean_unsigned_to_nat(16u); +x_3 = lean_unsigned_to_nat(1423u); +x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_instantiateExprMVars___rarg___lambda__9___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -13233,32 +13442,50 @@ _start: { if (lean_obj_tag(x_2) == 3) { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; uint8_t x_9; 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_inc(x_5); lean_dec(x_4); -x_6 = lean_expr_update_sort(x_2, x_3); -x_7 = lean_apply_2(x_5, lean_box(0), x_6); -return x_7; +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +x_7 = lean_ptr_addr(x_6); +lean_dec(x_6); +x_8 = lean_ptr_addr(x_3); +x_9 = lean_usize_dec_eq(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_2); +x_10 = l_Lean_Expr_sort___override(x_3); +x_11 = lean_apply_2(x_5, lean_box(0), x_10); +return x_11; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_12; +lean_dec(x_3); +x_12 = lean_apply_2(x_5, lean_box(0), x_2); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_3); lean_dec(x_2); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); lean_dec(x_1); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = l_Lean_instantiateExprMVars___rarg___lambda__9___closed__4; -x_11 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_10); -x_12 = lean_apply_2(x_9, lean_box(0), x_11); -return x_12; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_instantiateExprMVars___rarg___lambda__9___closed__4; +x_16 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_15); +x_17 = lean_apply_2(x_14, lean_box(0), x_16); +return x_17; } } } @@ -13266,7 +13493,7 @@ static lean_object* _init_l_Lean_instantiateExprMVars___rarg___lambda__10___clos _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateConst!", 22); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateConst!Impl", 47); return x_1; } } @@ -13284,8 +13511,8 @@ _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_instantiateExprMVars___rarg___lambda__9___closed__1; x_2 = l_Lean_instantiateExprMVars___rarg___lambda__10___closed__1; -x_3 = lean_unsigned_to_nat(1422u); -x_4 = lean_unsigned_to_nat(20u); +x_3 = lean_unsigned_to_nat(1412u); +x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_instantiateExprMVars___rarg___lambda__10___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -13296,32 +13523,51 @@ _start: { if (lean_obj_tag(x_2) == 4) { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +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); lean_inc(x_4); lean_dec(x_1); x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); -x_6 = lean_expr_update_const(x_2, x_3); -x_7 = lean_apply_2(x_5, lean_box(0), x_6); -return x_7; +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +x_8 = l_ptrEqList___rarg(x_7, x_3); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_2); +x_9 = l_Lean_Expr_const___override(x_6, x_3); +x_10 = lean_apply_2(x_5, lean_box(0), x_9); +return x_10; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_11; +lean_dec(x_6); +lean_dec(x_3); +x_11 = lean_apply_2(x_5, lean_box(0), x_2); +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_dec(x_3); lean_dec(x_2); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); lean_dec(x_1); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = l_Lean_instantiateExprMVars___rarg___lambda__10___closed__3; -x_11 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_10); -x_12 = lean_apply_2(x_9, lean_box(0), x_11); -return x_12; +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_instantiateExprMVars___rarg___lambda__10___closed__3; +x_15 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_14); +x_16 = lean_apply_2(x_13, lean_box(0), x_15); +return x_16; } } } @@ -13347,8 +13593,8 @@ _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_instantiateExprMVars___rarg___lambda__9___closed__1; x_2 = l_Lean_instantiateExprMVars___rarg___lambda__11___closed__1; -x_3 = lean_unsigned_to_nat(1481u); -x_4 = lean_unsigned_to_nat(19u); +x_3 = lean_unsigned_to_nat(1491u); +x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_instantiateExprMVars___rarg___lambda__11___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -13359,34 +13605,93 @@ _start: { if (lean_obj_tag(x_2) == 6) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; +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; size_t x_12; size_t x_13; uint8_t x_14; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec(x_1); x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); -x_8 = lean_expr_update_lambda(x_2, x_7, x_3, x_4); -x_9 = lean_apply_2(x_6, lean_box(0), x_8); -return x_9; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_2, 2); +lean_inc(x_9); +x_10 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_11 = l_Lean_Expr_lam___override(x_7, x_8, x_9, x_10); +x_12 = lean_ptr_addr(x_8); +lean_dec(x_8); +x_13 = lean_ptr_addr(x_3); +x_14 = lean_usize_dec_eq(x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_11); +lean_dec(x_9); +x_15 = l_Lean_Expr_lam___override(x_7, x_3, x_4, x_10); +x_16 = lean_apply_2(x_6, lean_box(0), x_15); +return x_16; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +size_t x_17; size_t x_18; uint8_t x_19; +x_17 = lean_ptr_addr(x_9); +lean_dec(x_9); +x_18 = lean_ptr_addr(x_4); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_11); +x_20 = l_Lean_Expr_lam___override(x_7, x_3, x_4, x_10); +x_21 = lean_apply_2(x_6, lean_box(0), x_20); +return x_21; +} +else +{ +uint8_t x_22; +x_22 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_10, x_10); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_11); +x_23 = l_Lean_Expr_lam___override(x_7, x_3, x_4, x_10); +x_24 = lean_apply_2(x_6, lean_box(0), x_23); +return x_24; +} +else +{ +lean_object* x_25; +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_25 = lean_apply_2(x_6, lean_box(0), x_11); +return x_25; +} +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); +x_26 = lean_ctor_get(x_1, 0); +lean_inc(x_26); lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = l_Lean_instantiateExprMVars___rarg___lambda__11___closed__3; -x_13 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_12); -x_14 = lean_apply_2(x_11, lean_box(0), x_13); -return x_14; +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = l_Lean_instantiateExprMVars___rarg___lambda__11___closed__3; +x_29 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_28); +x_30 = lean_apply_2(x_27, lean_box(0), x_29); +return x_30; } } } @@ -13426,8 +13731,8 @@ _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_instantiateExprMVars___rarg___lambda__9___closed__1; x_2 = l_Lean_instantiateExprMVars___rarg___lambda__13___closed__1; -x_3 = lean_unsigned_to_nat(1467u); -x_4 = lean_unsigned_to_nat(23u); +x_3 = lean_unsigned_to_nat(1471u); +x_4 = lean_unsigned_to_nat(24u); x_5 = l_Lean_instantiateExprMVars___rarg___lambda__13___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -13438,34 +13743,93 @@ _start: { if (lean_obj_tag(x_2) == 7) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; +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; size_t x_12; size_t x_13; uint8_t x_14; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec(x_1); x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); -x_8 = lean_expr_update_forall(x_2, x_7, x_3, x_4); -x_9 = lean_apply_2(x_6, lean_box(0), x_8); -return x_9; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_2, 2); +lean_inc(x_9); +x_10 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_11 = l_Lean_Expr_forallE___override(x_7, x_8, x_9, x_10); +x_12 = lean_ptr_addr(x_8); +lean_dec(x_8); +x_13 = lean_ptr_addr(x_3); +x_14 = lean_usize_dec_eq(x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_11); +lean_dec(x_9); +x_15 = l_Lean_Expr_forallE___override(x_7, x_3, x_4, x_10); +x_16 = lean_apply_2(x_6, lean_box(0), x_15); +return x_16; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +size_t x_17; size_t x_18; uint8_t x_19; +x_17 = lean_ptr_addr(x_9); +lean_dec(x_9); +x_18 = lean_ptr_addr(x_4); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_11); +x_20 = l_Lean_Expr_forallE___override(x_7, x_3, x_4, x_10); +x_21 = lean_apply_2(x_6, lean_box(0), x_20); +return x_21; +} +else +{ +uint8_t x_22; +x_22 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_10, x_10); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_11); +x_23 = l_Lean_Expr_forallE___override(x_7, x_3, x_4, x_10); +x_24 = lean_apply_2(x_6, lean_box(0), x_23); +return x_24; +} +else +{ +lean_object* x_25; +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +x_25 = lean_apply_2(x_6, lean_box(0), x_11); +return x_25; +} +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); +x_26 = lean_ctor_get(x_1, 0); +lean_inc(x_26); lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = l_Lean_instantiateExprMVars___rarg___lambda__13___closed__3; -x_13 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_12); -x_14 = lean_apply_2(x_11, lean_box(0), x_13); -return x_14; +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = l_Lean_instantiateExprMVars___rarg___lambda__13___closed__3; +x_29 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_28); +x_30 = lean_apply_2(x_27, lean_box(0), x_29); +return x_30; } } } @@ -13487,7 +13851,7 @@ static lean_object* _init_l_Lean_instantiateExprMVars___rarg___lambda__15___clos _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateLet!", 20); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateLet!Impl", 45); return x_1; } } @@ -13505,8 +13869,8 @@ _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_instantiateExprMVars___rarg___lambda__9___closed__1; x_2 = l_Lean_instantiateExprMVars___rarg___lambda__15___closed__1; -x_3 = lean_unsigned_to_nat(1490u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(1500u); +x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_instantiateExprMVars___rarg___lambda__15___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -13517,34 +13881,97 @@ _start: { if (lean_obj_tag(x_2) == 8) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +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; size_t x_13; size_t x_14; uint8_t x_15; x_6 = lean_ctor_get(x_1, 0); lean_inc(x_6); lean_dec(x_1); x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = lean_expr_update_let(x_2, x_3, x_4, x_5); -x_9 = lean_apply_2(x_7, lean_box(0), x_8); -return x_9; +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_2, 2); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 3); +lean_inc(x_11); +x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*4 + 8); +x_13 = lean_ptr_addr(x_9); +lean_dec(x_9); +x_14 = lean_ptr_addr(x_3); +x_15 = lean_usize_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_2); +x_16 = l_Lean_Expr_letE___override(x_8, x_3, x_4, x_5, x_12); +x_17 = lean_apply_2(x_7, lean_box(0), x_16); +return x_17; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +size_t x_18; size_t x_19; uint8_t x_20; +x_18 = lean_ptr_addr(x_10); +lean_dec(x_10); +x_19 = lean_ptr_addr(x_4); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_11); +lean_dec(x_2); +x_21 = l_Lean_Expr_letE___override(x_8, x_3, x_4, x_5, x_12); +x_22 = lean_apply_2(x_7, lean_box(0), x_21); +return x_22; +} +else +{ +size_t x_23; size_t x_24; uint8_t x_25; +x_23 = lean_ptr_addr(x_11); +lean_dec(x_11); +x_24 = lean_ptr_addr(x_5); +x_25 = lean_usize_dec_eq(x_23, x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_2); +x_26 = l_Lean_Expr_letE___override(x_8, x_3, x_4, x_5, x_12); +x_27 = lean_apply_2(x_7, lean_box(0), x_26); +return x_27; +} +else +{ +lean_object* x_28; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_28 = lean_apply_2(x_7, lean_box(0), x_2); +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_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); +x_29 = lean_ctor_get(x_1, 0); +lean_inc(x_29); lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = l_Lean_instantiateExprMVars___rarg___lambda__15___closed__3; -x_13 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_12); -x_14 = lean_apply_2(x_11, lean_box(0), x_13); -return x_14; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = l_Lean_instantiateExprMVars___rarg___lambda__15___closed__3; +x_32 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_31); +x_33 = lean_apply_2(x_30, lean_box(0), x_32); +return x_33; } } } @@ -13592,7 +14019,7 @@ static lean_object* _init_l_Lean_instantiateExprMVars___rarg___lambda__18___clos _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateMData!", 22); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateMData!Impl", 47); return x_1; } } @@ -13610,8 +14037,8 @@ _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_instantiateExprMVars___rarg___lambda__9___closed__1; x_2 = l_Lean_instantiateExprMVars___rarg___lambda__18___closed__1; -x_3 = lean_unsigned_to_nat(1448u); -x_4 = lean_unsigned_to_nat(16u); +x_3 = lean_unsigned_to_nat(1434u); +x_4 = lean_unsigned_to_nat(17u); x_5 = l_Lean_instantiateExprMVars___rarg___lambda__18___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -13622,32 +14049,53 @@ _start: { if (lean_obj_tag(x_2) == 10) { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; uint8_t x_10; 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_inc(x_5); lean_dec(x_4); -x_6 = lean_expr_update_mdata(x_2, x_3); -x_7 = lean_apply_2(x_5, lean_box(0), x_6); -return x_7; +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +x_8 = lean_ptr_addr(x_7); +lean_dec(x_7); +x_9 = lean_ptr_addr(x_3); +x_10 = lean_usize_dec_eq(x_8, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_2); +x_11 = l_Lean_Expr_mdata___override(x_6, x_3); +x_12 = lean_apply_2(x_5, lean_box(0), x_11); +return x_12; } 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_dec(x_6); +lean_dec(x_3); +x_13 = lean_apply_2(x_5, lean_box(0), x_2); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_3); lean_dec(x_2); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); lean_dec(x_1); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = l_Lean_instantiateExprMVars___rarg___lambda__18___closed__3; -x_11 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_10); -x_12 = lean_apply_2(x_9, lean_box(0), x_11); -return x_12; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = l_Lean_instantiateExprMVars___rarg___lambda__18___closed__3; +x_17 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_16); +x_18 = lean_apply_2(x_15, lean_box(0), x_17); +return x_18; } } } @@ -13655,7 +14103,7 @@ static lean_object* _init_l_Lean_instantiateExprMVars___rarg___lambda__19___clos _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Expr.updateProj!", 21); +x_1 = lean_mk_string_from_bytes("_private.Lean.Expr.0.Lean.Expr.updateProj!Impl", 46); return x_1; } } @@ -13673,8 +14121,8 @@ _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_instantiateExprMVars___rarg___lambda__9___closed__1; x_2 = l_Lean_instantiateExprMVars___rarg___lambda__19___closed__1; -x_3 = lean_unsigned_to_nat(1453u); -x_4 = lean_unsigned_to_nat(15u); +x_3 = lean_unsigned_to_nat(1445u); +x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_instantiateExprMVars___rarg___lambda__19___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -13685,32 +14133,56 @@ _start: { if (lean_obj_tag(x_2) == 11) { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +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; uint8_t x_11; 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_inc(x_5); lean_dec(x_4); -x_6 = lean_expr_update_proj(x_2, x_3); -x_7 = lean_apply_2(x_5, lean_box(0), x_6); -return x_7; +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 2); +lean_inc(x_8); +x_9 = lean_ptr_addr(x_8); +lean_dec(x_8); +x_10 = lean_ptr_addr(x_3); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +x_12 = l_Lean_Expr_proj___override(x_6, x_7, x_3); +x_13 = lean_apply_2(x_5, lean_box(0), x_12); +return x_13; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_14; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_14 = lean_apply_2(x_5, lean_box(0), x_2); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_dec(x_3); lean_dec(x_2); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); lean_dec(x_1); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = l_Lean_instantiateExprMVars___rarg___lambda__19___closed__3; -x_11 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_10); -x_12 = lean_apply_2(x_9, lean_box(0), x_11); -return x_12; +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = l_Lean_instantiateExprMVars___rarg___lambda__19___closed__3; +x_18 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_17); +x_19 = lean_apply_2(x_16, lean_box(0), x_18); +return x_19; } } } @@ -14212,6 +14684,24 @@ lean_dec(x_2); return x_6; } } +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -16184,6 +16674,7 @@ case 1: lean_object* x_5; lean_object* x_6; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); +lean_inc(x_5); x_6 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_5, x_2, x_3, x_4); if (lean_obj_tag(x_6) == 0) { @@ -16191,232 +16682,227 @@ uint8_t x_7; x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; +lean_object* x_8; size_t x_9; size_t x_10; uint8_t x_11; x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_level_update_succ(x_1, x_8); -lean_ctor_set(x_6, 0, x_9); -return x_6; -} -else +x_9 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_10 = lean_ptr_addr(x_8); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) { -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); -x_12 = lean_level_update_succ(x_1, x_10); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -} -else -{ -uint8_t x_14; +lean_object* x_12; lean_dec(x_1); -x_14 = !lean_is_exclusive(x_6); -if (x_14 == 0) +x_12 = l_Lean_Level_succ___override(x_8); +lean_ctor_set(x_6, 0, x_12); +return x_6; +} +else +{ +lean_dec(x_8); +lean_ctor_set(x_6, 0, x_1); +return x_6; +} +} +else +{ +lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_6, 0); +x_14 = lean_ctor_get(x_6, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_6); +x_15 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_16 = lean_ptr_addr(x_13); +x_17 = lean_usize_dec_eq(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_1); +x_18 = l_Lean_Level_succ___override(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_14); +return x_19; +} +else +{ +lean_object* x_20; +lean_dec(x_13); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_1); +lean_ctor_set(x_20, 1, x_14); +return x_20; +} +} +} +else +{ +uint8_t x_21; +lean_dec(x_5); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_6); +if (x_21 == 0) { return x_6; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_6, 0); -x_16 = lean_ctor_get(x_6, 1); -lean_inc(x_16); -lean_inc(x_15); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_6, 0); +x_23 = lean_ctor_get(x_6, 1); +lean_inc(x_23); +lean_inc(x_22); lean_dec(x_6); -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; +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_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_1, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_1, 1); -lean_inc(x_19); -x_20 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_18, x_2, x_3, x_4); -if (lean_obj_tag(x_20) == 0) +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_1, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_1, 1); +lean_inc(x_26); +lean_inc(x_25); +x_27 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_25, x_2, x_3, x_4); +if (lean_obj_tag(x_27) == 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_23 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_19, x_2, x_3, x_22); -if (lean_obj_tag(x_23) == 0) +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_26); +x_30 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_26, x_2, x_3, x_29); +if (lean_obj_tag(x_30) == 0) { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +uint8_t x_31; +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_level_update_max(x_1, x_21, x_25); -lean_ctor_set(x_23, 0, x_26); -return x_23; +lean_object* x_32; size_t x_33; size_t x_34; uint8_t x_35; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ptr_addr(x_25); +lean_dec(x_25); +x_34 = lean_ptr_addr(x_28); +x_35 = lean_usize_dec_eq(x_33, x_34); +if (x_35 == 0) +{ +lean_object* x_36; +lean_dec(x_26); +lean_dec(x_1); +x_36 = l_Lean_mkLevelMax_x27(x_28, x_32); +lean_ctor_set(x_30, 0, x_36); +return x_30; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_23); -x_29 = lean_level_update_max(x_1, x_21, x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); +size_t x_37; size_t x_38; uint8_t x_39; +x_37 = lean_ptr_addr(x_26); +lean_dec(x_26); +x_38 = lean_ptr_addr(x_32); +x_39 = lean_usize_dec_eq(x_37, x_38); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_1); +x_40 = l_Lean_mkLevelMax_x27(x_28, x_32); +lean_ctor_set(x_30, 0, x_40); +return x_30; +} +else +{ +lean_object* x_41; +x_41 = l_Lean_simpLevelMax_x27(x_28, x_32, x_1); +lean_dec(x_1); +lean_dec(x_32); +lean_dec(x_28); +lean_ctor_set(x_30, 0, x_41); return x_30; } } -else -{ -uint8_t x_31; -lean_dec(x_21); -lean_dec(x_1); -x_31 = !lean_is_exclusive(x_23); -if (x_31 == 0) -{ -return x_23; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_23, 0); -x_33 = lean_ctor_get(x_23, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_23); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -uint8_t x_35; -lean_dec(x_19); -lean_dec(x_1); -x_35 = !lean_is_exclusive(x_20); -if (x_35 == 0) -{ -return x_20; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_20, 0); -x_37 = lean_ctor_get(x_20, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_20); -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; -} -} -} -case 3: -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_1, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_1, 1); -lean_inc(x_40); -x_41 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_39, x_2, x_3, x_4); -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_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_30, 0); +x_43 = lean_ctor_get(x_30, 1); lean_inc(x_43); -lean_dec(x_41); -x_44 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_40, x_2, x_3, x_43); -if (lean_obj_tag(x_44) == 0) +lean_inc(x_42); +lean_dec(x_30); +x_44 = lean_ptr_addr(x_25); +lean_dec(x_25); +x_45 = lean_ptr_addr(x_28); +x_46 = lean_usize_dec_eq(x_44, x_45); +if (x_46 == 0) { -uint8_t x_45; -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_44, 0); -x_47 = lean_level_update_imax(x_1, x_42, x_46); -lean_ctor_set(x_44, 0, x_47); -return x_44; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_48 = lean_ctor_get(x_44, 0); -x_49 = lean_ctor_get(x_44, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_44); -x_50 = lean_level_update_imax(x_1, x_42, x_48); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -return x_51; -} -} -else -{ -uint8_t x_52; -lean_dec(x_42); +lean_object* x_47; lean_object* x_48; +lean_dec(x_26); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_44); -if (x_52 == 0) -{ -return x_44; +x_47 = l_Lean_mkLevelMax_x27(x_28, x_42); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_43); +return x_48; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_44, 0); -x_54 = lean_ctor_get(x_44, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_44); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); +size_t x_49; size_t x_50; uint8_t x_51; +x_49 = lean_ptr_addr(x_26); +lean_dec(x_26); +x_50 = lean_ptr_addr(x_42); +x_51 = lean_usize_dec_eq(x_49, x_50); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_1); +x_52 = l_Lean_mkLevelMax_x27(x_28, x_42); +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 +{ +lean_object* x_54; lean_object* x_55; +x_54 = l_Lean_simpLevelMax_x27(x_28, x_42, x_1); +lean_dec(x_1); +lean_dec(x_42); +lean_dec(x_28); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_43); return x_55; } } } +} else { uint8_t x_56; -lean_dec(x_40); +lean_dec(x_28); +lean_dec(x_26); +lean_dec(x_25); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_41); +x_56 = !lean_is_exclusive(x_30); if (x_56 == 0) { -return x_41; +return x_30; } else { lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_41, 0); -x_58 = lean_ctor_get(x_41, 1); +x_57 = lean_ctor_get(x_30, 0); +x_58 = lean_ctor_get(x_30, 1); lean_inc(x_58); lean_inc(x_57); -lean_dec(x_41); +lean_dec(x_30); x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_57); lean_ctor_set(x_59, 1, x_58); @@ -16424,67 +16910,145 @@ return x_59; } } } -case 5: -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_84; -x_60 = lean_ctor_get(x_1, 0); -lean_inc(x_60); -x_84 = lean_st_ref_get(x_3, x_4); -if (lean_obj_tag(x_84) == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -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, 5); -lean_inc(x_87); -lean_dec(x_85); -lean_inc(x_60); -x_88 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_87, x_60); -if (lean_obj_tag(x_88) == 0) -{ -x_61 = x_88; -x_62 = x_86; -goto block_83; -} else { -lean_object* x_89; -x_89 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8___rarg(x_3, x_86); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_90; -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -x_61 = x_88; -x_62 = x_90; -goto block_83; -} -else -{ -uint8_t x_91; -lean_dec(x_88); -lean_dec(x_60); +uint8_t x_60; +lean_dec(x_26); +lean_dec(x_25); lean_dec(x_1); -x_91 = !lean_is_exclusive(x_89); -if (x_91 == 0) +x_60 = !lean_is_exclusive(x_27); +if (x_60 == 0) { -return x_89; +return x_27; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_89, 0); -x_93 = lean_ctor_get(x_89, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_89); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_27, 0); +x_62 = lean_ctor_get(x_27, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_27); +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; +} +} +} +case 3: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_1, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_1, 1); +lean_inc(x_65); +lean_inc(x_64); +x_66 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_64, x_2, x_3, x_4); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +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); +lean_inc(x_65); +x_69 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_65, x_2, x_3, x_68); +if (lean_obj_tag(x_69) == 0) +{ +uint8_t x_70; +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) +{ +lean_object* x_71; size_t x_72; size_t x_73; uint8_t x_74; +x_71 = lean_ctor_get(x_69, 0); +x_72 = lean_ptr_addr(x_64); +lean_dec(x_64); +x_73 = lean_ptr_addr(x_67); +x_74 = lean_usize_dec_eq(x_72, x_73); +if (x_74 == 0) +{ +lean_object* x_75; +lean_dec(x_65); +lean_dec(x_1); +x_75 = l_Lean_mkLevelIMax_x27(x_67, x_71); +lean_ctor_set(x_69, 0, x_75); +return x_69; +} +else +{ +size_t x_76; size_t x_77; uint8_t x_78; +x_76 = lean_ptr_addr(x_65); +lean_dec(x_65); +x_77 = lean_ptr_addr(x_71); +x_78 = lean_usize_dec_eq(x_76, x_77); +if (x_78 == 0) +{ +lean_object* x_79; +lean_dec(x_1); +x_79 = l_Lean_mkLevelIMax_x27(x_67, x_71); +lean_ctor_set(x_69, 0, x_79); +return x_69; +} +else +{ +lean_object* x_80; +x_80 = l_Lean_simpLevelIMax_x27(x_67, x_71, x_1); +lean_dec(x_1); +lean_ctor_set(x_69, 0, x_80); +return x_69; +} +} +} +else +{ +lean_object* x_81; lean_object* x_82; size_t x_83; size_t x_84; uint8_t x_85; +x_81 = lean_ctor_get(x_69, 0); +x_82 = lean_ctor_get(x_69, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_69); +x_83 = lean_ptr_addr(x_64); +lean_dec(x_64); +x_84 = lean_ptr_addr(x_67); +x_85 = lean_usize_dec_eq(x_83, x_84); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; +lean_dec(x_65); +lean_dec(x_1); +x_86 = l_Lean_mkLevelIMax_x27(x_67, x_81); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_82); +return x_87; +} +else +{ +size_t x_88; size_t x_89; uint8_t x_90; +x_88 = lean_ptr_addr(x_65); +lean_dec(x_65); +x_89 = lean_ptr_addr(x_81); +x_90 = lean_usize_dec_eq(x_88, x_89); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; +lean_dec(x_1); +x_91 = l_Lean_mkLevelIMax_x27(x_67, x_81); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_82); +return x_92; +} +else +{ +lean_object* x_93; lean_object* x_94; +x_93 = l_Lean_simpLevelIMax_x27(x_67, x_81, x_1); +lean_dec(x_1); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_82); return x_94; } } @@ -16493,138 +17057,257 @@ return x_94; else { uint8_t x_95; -lean_dec(x_60); +lean_dec(x_67); +lean_dec(x_65); +lean_dec(x_64); lean_dec(x_1); -x_95 = !lean_is_exclusive(x_84); +x_95 = !lean_is_exclusive(x_69); if (x_95 == 0) { -return x_84; +return x_69; } else { lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_84, 0); -x_97 = lean_ctor_get(x_84, 1); +x_96 = lean_ctor_get(x_69, 0); +x_97 = lean_ctor_get(x_69, 1); lean_inc(x_97); lean_inc(x_96); -lean_dec(x_84); +lean_dec(x_69); 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_83: -{ -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_63; -lean_dec(x_60); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_1); -lean_ctor_set(x_63, 1, x_62); -return x_63; } else { -lean_object* x_64; uint8_t x_65; +uint8_t x_99; +lean_dec(x_65); +lean_dec(x_64); lean_dec(x_1); -x_64 = lean_ctor_get(x_61, 0); -lean_inc(x_64); -lean_dec(x_61); -x_65 = l_Lean_Level_hasMVar(x_64); -if (x_65 == 0) +x_99 = !lean_is_exclusive(x_66); +if (x_99 == 0) { -lean_object* x_66; -lean_dec(x_60); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_62); return x_66; } else { -lean_object* x_67; -x_67 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_64, x_2, x_3, x_62); -if (lean_obj_tag(x_67) == 0) +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_66, 0); +x_101 = lean_ctor_get(x_66, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_66); +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; +} +} +} +case 5: { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -lean_inc(x_68); -x_70 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__7___rarg(x_60, x_68, x_2, x_3, x_69); -if (lean_obj_tag(x_70) == 0) +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_127; +x_103 = lean_ctor_get(x_1, 0); +lean_inc(x_103); +x_127 = lean_st_ref_get(x_3, x_4); +if (lean_obj_tag(x_127) == 0) { -uint8_t x_71; -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +lean_dec(x_127); +x_130 = lean_ctor_get(x_128, 5); +lean_inc(x_130); +lean_dec(x_128); +lean_inc(x_103); +x_131 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_130, x_103); +if (lean_obj_tag(x_131) == 0) { -lean_object* x_72; -x_72 = lean_ctor_get(x_70, 0); -lean_dec(x_72); -lean_ctor_set(x_70, 0, x_68); -return x_70; +x_104 = x_131; +x_105 = x_129; +goto block_126; } else { -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); -lean_dec(x_70); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_68); -lean_ctor_set(x_74, 1, x_73); -return x_74; -} +lean_object* x_132; +x_132 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8___rarg(x_3, x_129); +if (lean_obj_tag(x_132) == 0) +{ +lean_object* x_133; +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_104 = x_131; +x_105 = x_133; +goto block_126; } else { -uint8_t x_75; -lean_dec(x_68); -x_75 = !lean_is_exclusive(x_70); -if (x_75 == 0) +uint8_t x_134; +lean_dec(x_131); +lean_dec(x_103); +lean_dec(x_1); +x_134 = !lean_is_exclusive(x_132); +if (x_134 == 0) { -return x_70; +return x_132; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_70, 0); -x_77 = lean_ctor_get(x_70, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_70); -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_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_132, 0); +x_136 = lean_ctor_get(x_132, 1); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_132); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +return x_137; +} } } } else { -uint8_t x_79; -lean_dec(x_60); -x_79 = !lean_is_exclusive(x_67); -if (x_79 == 0) +uint8_t x_138; +lean_dec(x_103); +lean_dec(x_1); +x_138 = !lean_is_exclusive(x_127); +if (x_138 == 0) { -return x_67; +return x_127; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_67, 0); -x_81 = lean_ctor_get(x_67, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_67); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_127, 0); +x_140 = lean_ctor_get(x_127, 1); +lean_inc(x_140); +lean_inc(x_139); +lean_dec(x_127); +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; +} +} +block_126: +{ +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_106; +lean_dec(x_103); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_1); +lean_ctor_set(x_106, 1, x_105); +return x_106; +} +else +{ +lean_object* x_107; uint8_t x_108; +lean_dec(x_1); +x_107 = lean_ctor_get(x_104, 0); +lean_inc(x_107); +lean_dec(x_104); +x_108 = l_Lean_Level_hasMVar(x_107); +if (x_108 == 0) +{ +lean_object* x_109; +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_105); +return x_109; +} +else +{ +lean_object* x_110; +x_110 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_107, x_2, x_3, x_105); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +lean_inc(x_111); +x_113 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__7___rarg(x_103, x_111, x_2, x_3, x_112); +if (lean_obj_tag(x_113) == 0) +{ +uint8_t x_114; +x_114 = !lean_is_exclusive(x_113); +if (x_114 == 0) +{ +lean_object* x_115; +x_115 = lean_ctor_get(x_113, 0); +lean_dec(x_115); +lean_ctor_set(x_113, 0, x_111); +return x_113; +} +else +{ +lean_object* x_116; lean_object* x_117; +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_111); +lean_ctor_set(x_117, 1, x_116); +return x_117; +} +} +else +{ +uint8_t x_118; +lean_dec(x_111); +x_118 = !lean_is_exclusive(x_113); +if (x_118 == 0) +{ +return x_113; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_113, 0); +x_120 = lean_ctor_get(x_113, 1); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_113); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; +} +} +} +else +{ +uint8_t x_122; +lean_dec(x_103); +x_122 = !lean_is_exclusive(x_110); +if (x_122 == 0) +{ +return x_110; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_110, 0); +x_124 = lean_ctor_get(x_110, 1); +lean_inc(x_124); +lean_inc(x_123); +lean_dec(x_110); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +return x_125; } } } @@ -16633,11 +17316,11 @@ return x_82; } default: { -lean_object* x_99; -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_1); -lean_ctor_set(x_99, 1, x_4); -return x_99; +lean_object* x_142; +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_1); +lean_ctor_set(x_142, 1, x_4); +return x_142; } } } @@ -17029,6 +17712,7 @@ case 1: lean_object* x_5; lean_object* x_6; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); +lean_inc(x_5); x_6 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_5, x_2, x_3, x_4); if (lean_obj_tag(x_6) == 0) { @@ -17036,232 +17720,227 @@ uint8_t x_7; x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; +lean_object* x_8; size_t x_9; size_t x_10; uint8_t x_11; x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_level_update_succ(x_1, x_8); -lean_ctor_set(x_6, 0, x_9); -return x_6; -} -else +x_9 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_10 = lean_ptr_addr(x_8); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) { -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); -x_12 = lean_level_update_succ(x_1, x_10); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -} -else -{ -uint8_t x_14; +lean_object* x_12; lean_dec(x_1); -x_14 = !lean_is_exclusive(x_6); -if (x_14 == 0) +x_12 = l_Lean_Level_succ___override(x_8); +lean_ctor_set(x_6, 0, x_12); +return x_6; +} +else +{ +lean_dec(x_8); +lean_ctor_set(x_6, 0, x_1); +return x_6; +} +} +else +{ +lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_6, 0); +x_14 = lean_ctor_get(x_6, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_6); +x_15 = lean_ptr_addr(x_5); +lean_dec(x_5); +x_16 = lean_ptr_addr(x_13); +x_17 = lean_usize_dec_eq(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_1); +x_18 = l_Lean_Level_succ___override(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_14); +return x_19; +} +else +{ +lean_object* x_20; +lean_dec(x_13); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_1); +lean_ctor_set(x_20, 1, x_14); +return x_20; +} +} +} +else +{ +uint8_t x_21; +lean_dec(x_5); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_6); +if (x_21 == 0) { return x_6; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_6, 0); -x_16 = lean_ctor_get(x_6, 1); -lean_inc(x_16); -lean_inc(x_15); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_6, 0); +x_23 = lean_ctor_get(x_6, 1); +lean_inc(x_23); +lean_inc(x_22); lean_dec(x_6); -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; +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_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_1, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_1, 1); -lean_inc(x_19); -x_20 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_18, x_2, x_3, x_4); -if (lean_obj_tag(x_20) == 0) +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_1, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_1, 1); +lean_inc(x_26); +lean_inc(x_25); +x_27 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_25, x_2, x_3, x_4); +if (lean_obj_tag(x_27) == 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_23 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_19, x_2, x_3, x_22); -if (lean_obj_tag(x_23) == 0) +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_26); +x_30 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_26, x_2, x_3, x_29); +if (lean_obj_tag(x_30) == 0) { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +uint8_t x_31; +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_level_update_max(x_1, x_21, x_25); -lean_ctor_set(x_23, 0, x_26); -return x_23; +lean_object* x_32; size_t x_33; size_t x_34; uint8_t x_35; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ptr_addr(x_25); +lean_dec(x_25); +x_34 = lean_ptr_addr(x_28); +x_35 = lean_usize_dec_eq(x_33, x_34); +if (x_35 == 0) +{ +lean_object* x_36; +lean_dec(x_26); +lean_dec(x_1); +x_36 = l_Lean_mkLevelMax_x27(x_28, x_32); +lean_ctor_set(x_30, 0, x_36); +return x_30; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_23); -x_29 = lean_level_update_max(x_1, x_21, x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); +size_t x_37; size_t x_38; uint8_t x_39; +x_37 = lean_ptr_addr(x_26); +lean_dec(x_26); +x_38 = lean_ptr_addr(x_32); +x_39 = lean_usize_dec_eq(x_37, x_38); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_1); +x_40 = l_Lean_mkLevelMax_x27(x_28, x_32); +lean_ctor_set(x_30, 0, x_40); +return x_30; +} +else +{ +lean_object* x_41; +x_41 = l_Lean_simpLevelMax_x27(x_28, x_32, x_1); +lean_dec(x_1); +lean_dec(x_32); +lean_dec(x_28); +lean_ctor_set(x_30, 0, x_41); return x_30; } } -else -{ -uint8_t x_31; -lean_dec(x_21); -lean_dec(x_1); -x_31 = !lean_is_exclusive(x_23); -if (x_31 == 0) -{ -return x_23; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_23, 0); -x_33 = lean_ctor_get(x_23, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_23); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -uint8_t x_35; -lean_dec(x_19); -lean_dec(x_1); -x_35 = !lean_is_exclusive(x_20); -if (x_35 == 0) -{ -return x_20; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_20, 0); -x_37 = lean_ctor_get(x_20, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_20); -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; -} -} -} -case 3: -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_1, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_1, 1); -lean_inc(x_40); -x_41 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_39, x_2, x_3, x_4); -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_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; uint8_t x_46; +x_42 = lean_ctor_get(x_30, 0); +x_43 = lean_ctor_get(x_30, 1); lean_inc(x_43); -lean_dec(x_41); -x_44 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_40, x_2, x_3, x_43); -if (lean_obj_tag(x_44) == 0) +lean_inc(x_42); +lean_dec(x_30); +x_44 = lean_ptr_addr(x_25); +lean_dec(x_25); +x_45 = lean_ptr_addr(x_28); +x_46 = lean_usize_dec_eq(x_44, x_45); +if (x_46 == 0) { -uint8_t x_45; -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_44, 0); -x_47 = lean_level_update_imax(x_1, x_42, x_46); -lean_ctor_set(x_44, 0, x_47); -return x_44; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_48 = lean_ctor_get(x_44, 0); -x_49 = lean_ctor_get(x_44, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_44); -x_50 = lean_level_update_imax(x_1, x_42, x_48); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -return x_51; -} -} -else -{ -uint8_t x_52; -lean_dec(x_42); +lean_object* x_47; lean_object* x_48; +lean_dec(x_26); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_44); -if (x_52 == 0) -{ -return x_44; +x_47 = l_Lean_mkLevelMax_x27(x_28, x_42); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_43); +return x_48; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_44, 0); -x_54 = lean_ctor_get(x_44, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_44); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); +size_t x_49; size_t x_50; uint8_t x_51; +x_49 = lean_ptr_addr(x_26); +lean_dec(x_26); +x_50 = lean_ptr_addr(x_42); +x_51 = lean_usize_dec_eq(x_49, x_50); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_1); +x_52 = l_Lean_mkLevelMax_x27(x_28, x_42); +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 +{ +lean_object* x_54; lean_object* x_55; +x_54 = l_Lean_simpLevelMax_x27(x_28, x_42, x_1); +lean_dec(x_1); +lean_dec(x_42); +lean_dec(x_28); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_43); return x_55; } } } +} else { uint8_t x_56; -lean_dec(x_40); +lean_dec(x_28); +lean_dec(x_26); +lean_dec(x_25); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_41); +x_56 = !lean_is_exclusive(x_30); if (x_56 == 0) { -return x_41; +return x_30; } else { lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_41, 0); -x_58 = lean_ctor_get(x_41, 1); +x_57 = lean_ctor_get(x_30, 0); +x_58 = lean_ctor_get(x_30, 1); lean_inc(x_58); lean_inc(x_57); -lean_dec(x_41); +lean_dec(x_30); x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_57); lean_ctor_set(x_59, 1, x_58); @@ -17269,67 +17948,145 @@ return x_59; } } } -case 5: -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_84; -x_60 = lean_ctor_get(x_1, 0); -lean_inc(x_60); -x_84 = lean_st_ref_get(x_3, x_4); -if (lean_obj_tag(x_84) == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -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, 5); -lean_inc(x_87); -lean_dec(x_85); -lean_inc(x_60); -x_88 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_87, x_60); -if (lean_obj_tag(x_88) == 0) -{ -x_61 = x_88; -x_62 = x_86; -goto block_83; -} else { -lean_object* x_89; -x_89 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11___rarg(x_3, x_86); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_90; -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -x_61 = x_88; -x_62 = x_90; -goto block_83; -} -else -{ -uint8_t x_91; -lean_dec(x_88); -lean_dec(x_60); +uint8_t x_60; +lean_dec(x_26); +lean_dec(x_25); lean_dec(x_1); -x_91 = !lean_is_exclusive(x_89); -if (x_91 == 0) +x_60 = !lean_is_exclusive(x_27); +if (x_60 == 0) { -return x_89; +return x_27; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_89, 0); -x_93 = lean_ctor_get(x_89, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_89); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_27, 0); +x_62 = lean_ctor_get(x_27, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_27); +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; +} +} +} +case 3: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_1, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_1, 1); +lean_inc(x_65); +lean_inc(x_64); +x_66 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_64, x_2, x_3, x_4); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +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); +lean_inc(x_65); +x_69 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_65, x_2, x_3, x_68); +if (lean_obj_tag(x_69) == 0) +{ +uint8_t x_70; +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) +{ +lean_object* x_71; size_t x_72; size_t x_73; uint8_t x_74; +x_71 = lean_ctor_get(x_69, 0); +x_72 = lean_ptr_addr(x_64); +lean_dec(x_64); +x_73 = lean_ptr_addr(x_67); +x_74 = lean_usize_dec_eq(x_72, x_73); +if (x_74 == 0) +{ +lean_object* x_75; +lean_dec(x_65); +lean_dec(x_1); +x_75 = l_Lean_mkLevelIMax_x27(x_67, x_71); +lean_ctor_set(x_69, 0, x_75); +return x_69; +} +else +{ +size_t x_76; size_t x_77; uint8_t x_78; +x_76 = lean_ptr_addr(x_65); +lean_dec(x_65); +x_77 = lean_ptr_addr(x_71); +x_78 = lean_usize_dec_eq(x_76, x_77); +if (x_78 == 0) +{ +lean_object* x_79; +lean_dec(x_1); +x_79 = l_Lean_mkLevelIMax_x27(x_67, x_71); +lean_ctor_set(x_69, 0, x_79); +return x_69; +} +else +{ +lean_object* x_80; +x_80 = l_Lean_simpLevelIMax_x27(x_67, x_71, x_1); +lean_dec(x_1); +lean_ctor_set(x_69, 0, x_80); +return x_69; +} +} +} +else +{ +lean_object* x_81; lean_object* x_82; size_t x_83; size_t x_84; uint8_t x_85; +x_81 = lean_ctor_get(x_69, 0); +x_82 = lean_ctor_get(x_69, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_69); +x_83 = lean_ptr_addr(x_64); +lean_dec(x_64); +x_84 = lean_ptr_addr(x_67); +x_85 = lean_usize_dec_eq(x_83, x_84); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; +lean_dec(x_65); +lean_dec(x_1); +x_86 = l_Lean_mkLevelIMax_x27(x_67, x_81); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_82); +return x_87; +} +else +{ +size_t x_88; size_t x_89; uint8_t x_90; +x_88 = lean_ptr_addr(x_65); +lean_dec(x_65); +x_89 = lean_ptr_addr(x_81); +x_90 = lean_usize_dec_eq(x_88, x_89); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; +lean_dec(x_1); +x_91 = l_Lean_mkLevelIMax_x27(x_67, x_81); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_82); +return x_92; +} +else +{ +lean_object* x_93; lean_object* x_94; +x_93 = l_Lean_simpLevelIMax_x27(x_67, x_81, x_1); +lean_dec(x_1); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_82); return x_94; } } @@ -17338,138 +18095,257 @@ return x_94; else { uint8_t x_95; -lean_dec(x_60); +lean_dec(x_67); +lean_dec(x_65); +lean_dec(x_64); lean_dec(x_1); -x_95 = !lean_is_exclusive(x_84); +x_95 = !lean_is_exclusive(x_69); if (x_95 == 0) { -return x_84; +return x_69; } else { lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_84, 0); -x_97 = lean_ctor_get(x_84, 1); +x_96 = lean_ctor_get(x_69, 0); +x_97 = lean_ctor_get(x_69, 1); lean_inc(x_97); lean_inc(x_96); -lean_dec(x_84); +lean_dec(x_69); 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_83: -{ -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_63; -lean_dec(x_60); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_1); -lean_ctor_set(x_63, 1, x_62); -return x_63; } else { -lean_object* x_64; uint8_t x_65; +uint8_t x_99; +lean_dec(x_65); +lean_dec(x_64); lean_dec(x_1); -x_64 = lean_ctor_get(x_61, 0); -lean_inc(x_64); -lean_dec(x_61); -x_65 = l_Lean_Level_hasMVar(x_64); -if (x_65 == 0) +x_99 = !lean_is_exclusive(x_66); +if (x_99 == 0) { -lean_object* x_66; -lean_dec(x_60); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_62); return x_66; } else { -lean_object* x_67; -x_67 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_64, x_2, x_3, x_62); -if (lean_obj_tag(x_67) == 0) +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_66, 0); +x_101 = lean_ctor_get(x_66, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_66); +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; +} +} +} +case 5: { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -lean_inc(x_68); -x_70 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__10___rarg(x_60, x_68, x_2, x_3, x_69); -if (lean_obj_tag(x_70) == 0) +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_127; +x_103 = lean_ctor_get(x_1, 0); +lean_inc(x_103); +x_127 = lean_st_ref_get(x_3, x_4); +if (lean_obj_tag(x_127) == 0) { -uint8_t x_71; -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +lean_dec(x_127); +x_130 = lean_ctor_get(x_128, 5); +lean_inc(x_130); +lean_dec(x_128); +lean_inc(x_103); +x_131 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_130, x_103); +if (lean_obj_tag(x_131) == 0) { -lean_object* x_72; -x_72 = lean_ctor_get(x_70, 0); -lean_dec(x_72); -lean_ctor_set(x_70, 0, x_68); -return x_70; +x_104 = x_131; +x_105 = x_129; +goto block_126; } else { -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); -lean_dec(x_70); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_68); -lean_ctor_set(x_74, 1, x_73); -return x_74; -} +lean_object* x_132; +x_132 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11___rarg(x_3, x_129); +if (lean_obj_tag(x_132) == 0) +{ +lean_object* x_133; +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_104 = x_131; +x_105 = x_133; +goto block_126; } else { -uint8_t x_75; -lean_dec(x_68); -x_75 = !lean_is_exclusive(x_70); -if (x_75 == 0) +uint8_t x_134; +lean_dec(x_131); +lean_dec(x_103); +lean_dec(x_1); +x_134 = !lean_is_exclusive(x_132); +if (x_134 == 0) { -return x_70; +return x_132; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_70, 0); -x_77 = lean_ctor_get(x_70, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_70); -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_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_132, 0); +x_136 = lean_ctor_get(x_132, 1); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_132); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +return x_137; +} } } } else { -uint8_t x_79; -lean_dec(x_60); -x_79 = !lean_is_exclusive(x_67); -if (x_79 == 0) +uint8_t x_138; +lean_dec(x_103); +lean_dec(x_1); +x_138 = !lean_is_exclusive(x_127); +if (x_138 == 0) { -return x_67; +return x_127; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_67, 0); -x_81 = lean_ctor_get(x_67, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_67); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_127, 0); +x_140 = lean_ctor_get(x_127, 1); +lean_inc(x_140); +lean_inc(x_139); +lean_dec(x_127); +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; +} +} +block_126: +{ +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_106; +lean_dec(x_103); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_1); +lean_ctor_set(x_106, 1, x_105); +return x_106; +} +else +{ +lean_object* x_107; uint8_t x_108; +lean_dec(x_1); +x_107 = lean_ctor_get(x_104, 0); +lean_inc(x_107); +lean_dec(x_104); +x_108 = l_Lean_Level_hasMVar(x_107); +if (x_108 == 0) +{ +lean_object* x_109; +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_105); +return x_109; +} +else +{ +lean_object* x_110; +x_110 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_107, x_2, x_3, x_105); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +lean_inc(x_111); +x_113 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__10___rarg(x_103, x_111, x_2, x_3, x_112); +if (lean_obj_tag(x_113) == 0) +{ +uint8_t x_114; +x_114 = !lean_is_exclusive(x_113); +if (x_114 == 0) +{ +lean_object* x_115; +x_115 = lean_ctor_get(x_113, 0); +lean_dec(x_115); +lean_ctor_set(x_113, 0, x_111); +return x_113; +} +else +{ +lean_object* x_116; lean_object* x_117; +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_111); +lean_ctor_set(x_117, 1, x_116); +return x_117; +} +} +else +{ +uint8_t x_118; +lean_dec(x_111); +x_118 = !lean_is_exclusive(x_113); +if (x_118 == 0) +{ +return x_113; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_113, 0); +x_120 = lean_ctor_get(x_113, 1); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_113); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; +} +} +} +else +{ +uint8_t x_122; +lean_dec(x_103); +x_122 = !lean_is_exclusive(x_110); +if (x_122 == 0) +{ +return x_110; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_110, 0); +x_124 = lean_ctor_get(x_110, 1); +lean_inc(x_124); +lean_inc(x_123); +lean_dec(x_110); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +return x_125; } } } @@ -17478,11 +18354,11 @@ return x_82; } default: { -lean_object* x_99; -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_1); -lean_ctor_set(x_99, 1, x_4); -return x_99; +lean_object* x_142; +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_1); +lean_ctor_set(x_142, 1, x_4); +return x_142; } } } @@ -22507,350 +23383,365 @@ case 3: lean_object* x_82; lean_object* x_83; x_82 = lean_ctor_get(x_1, 0); lean_inc(x_82); +lean_inc(x_82); x_83 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_82, x_2, x_3, x_48); if (lean_obj_tag(x_83) == 0) { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_object* x_84; lean_object* x_85; size_t x_86; size_t x_87; uint8_t x_88; x_84 = lean_ctor_get(x_83, 0); lean_inc(x_84); x_85 = lean_ctor_get(x_83, 1); lean_inc(x_85); lean_dec(x_83); +x_86 = lean_ptr_addr(x_82); +lean_dec(x_82); +x_87 = lean_ptr_addr(x_84); +x_88 = lean_usize_dec_eq(x_86, x_87); +if (x_88 == 0) +{ +lean_object* x_89; +x_89 = l_Lean_Expr_sort___override(x_84); +x_8 = x_89; +x_9 = x_85; +goto block_27; +} +else +{ +lean_dec(x_84); lean_inc(x_1); -x_86 = lean_expr_update_sort(x_1, x_84); -x_87 = lean_st_ref_take(x_2, x_85); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -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_86); -x_90 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_88, x_1, x_86); -x_91 = lean_st_ref_set(x_2, x_90, x_89); -if (lean_obj_tag(x_91) == 0) -{ -uint8_t x_92; -x_92 = !lean_is_exclusive(x_91); -if (x_92 == 0) -{ -lean_object* x_93; -x_93 = lean_ctor_get(x_91, 0); -lean_dec(x_93); -lean_ctor_set(x_91, 0, x_86); -return x_91; -} -else -{ -lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_91, 1); -lean_inc(x_94); -lean_dec(x_91); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_86); -lean_ctor_set(x_95, 1, x_94); -return x_95; +x_8 = x_1; +x_9 = x_85; +goto block_27; } } else { -uint8_t x_96; -lean_dec(x_86); -x_96 = !lean_is_exclusive(x_91); -if (x_96 == 0) -{ -return x_91; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_91, 0); -x_98 = lean_ctor_get(x_91, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_91); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} -} -} -else -{ -uint8_t x_100; -lean_dec(x_86); +uint8_t x_90; +lean_dec(x_82); lean_dec(x_1); -x_100 = !lean_is_exclusive(x_87); -if (x_100 == 0) -{ -return x_87; -} -else -{ -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_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; -} -} -} -else -{ -uint8_t x_104; -lean_dec(x_1); -x_104 = !lean_is_exclusive(x_83); -if (x_104 == 0) +x_90 = !lean_is_exclusive(x_83); +if (x_90 == 0) { return x_83; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_83, 0); -x_106 = lean_ctor_get(x_83, 1); -lean_inc(x_106); -lean_inc(x_105); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_83, 0); +x_92 = lean_ctor_get(x_83, 1); +lean_inc(x_92); +lean_inc(x_91); lean_dec(x_83); -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_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 4: { -lean_object* x_108; lean_object* x_109; -x_108 = lean_ctor_get(x_1, 1); -lean_inc(x_108); -x_109 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg(x_5, x_108, x_2, x_3, x_48); -if (lean_obj_tag(x_109) == 0) +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_95); +x_96 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg(x_5, x_95, x_2, x_3, x_48); +if (lean_obj_tag(x_96) == 0) { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); +lean_object* x_97; lean_object* x_98; uint8_t 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); +x_99 = l_ptrEqList___rarg(x_95, x_97); +lean_dec(x_95); +if (x_99 == 0) +{ +lean_object* x_100; +x_100 = l_Lean_Expr_const___override(x_94, x_97); +x_8 = x_100; +x_9 = x_98; +goto block_27; +} +else +{ +lean_dec(x_97); +lean_dec(x_94); lean_inc(x_1); -x_112 = lean_expr_update_const(x_1, x_110); -x_113 = lean_st_ref_take(x_2, x_111); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -lean_inc(x_112); -x_116 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_114, x_1, x_112); -x_117 = lean_st_ref_set(x_2, x_116, x_115); -if (lean_obj_tag(x_117) == 0) -{ -uint8_t x_118; -x_118 = !lean_is_exclusive(x_117); -if (x_118 == 0) -{ -lean_object* x_119; -x_119 = lean_ctor_get(x_117, 0); -lean_dec(x_119); -lean_ctor_set(x_117, 0, x_112); -return x_117; -} -else -{ -lean_object* x_120; lean_object* x_121; -x_120 = lean_ctor_get(x_117, 1); -lean_inc(x_120); -lean_dec(x_117); -x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_112); -lean_ctor_set(x_121, 1, x_120); -return x_121; +x_8 = x_1; +x_9 = x_98; +goto block_27; } } else { -uint8_t x_122; -lean_dec(x_112); -x_122 = !lean_is_exclusive(x_117); -if (x_122 == 0) -{ -return x_117; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_117, 0); -x_124 = lean_ctor_get(x_117, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_117); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; -} -} -} -else -{ -uint8_t x_126; -lean_dec(x_112); +uint8_t x_101; +lean_dec(x_95); +lean_dec(x_94); lean_dec(x_1); -x_126 = !lean_is_exclusive(x_113); -if (x_126 == 0) +x_101 = !lean_is_exclusive(x_96); +if (x_101 == 0) { -return x_113; +return x_96; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_ctor_get(x_113, 0); -x_128 = lean_ctor_get(x_113, 1); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_113); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -return x_129; -} -} -} -else -{ -uint8_t x_130; -lean_dec(x_1); -x_130 = !lean_is_exclusive(x_109); -if (x_130 == 0) -{ -return x_109; -} -else -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_109, 0); -x_132 = lean_ctor_get(x_109, 1); -lean_inc(x_132); -lean_inc(x_131); -lean_dec(x_109); -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_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_96, 0); +x_103 = lean_ctor_get(x_96, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_96); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; } } } case 5: { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_134 = lean_unsigned_to_nat(0u); -x_135 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_134); -x_136 = l_Lean_instantiateExprMVars___rarg___lambda__20___closed__1; -lean_inc(x_135); -x_137 = lean_mk_array(x_135, x_136); -x_138 = lean_unsigned_to_nat(1u); -x_139 = lean_nat_sub(x_135, x_138); -lean_dec(x_135); +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_105 = lean_unsigned_to_nat(0u); +x_106 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_105); +x_107 = l_Lean_instantiateExprMVars___rarg___lambda__20___closed__1; +lean_inc(x_106); +x_108 = lean_mk_array(x_106, x_107); +x_109 = lean_unsigned_to_nat(1u); +x_110 = lean_nat_sub(x_106, x_109); +lean_dec(x_106); lean_inc(x_1); -x_140 = l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg(x_5, x_1, x_137, x_139, x_2, x_3, x_48); -if (lean_obj_tag(x_140) == 0) +x_111 = l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg(x_5, x_1, x_108, x_110, x_2, x_3, x_48); +if (lean_obj_tag(x_111) == 0) { -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_140, 0); +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = lean_st_ref_take(x_2, 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; +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); +lean_inc(x_112); +x_117 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_115, x_1, x_112); +x_118 = lean_st_ref_set(x_2, x_117, x_116); +if (lean_obj_tag(x_118) == 0) +{ +uint8_t x_119; +x_119 = !lean_is_exclusive(x_118); +if (x_119 == 0) +{ +lean_object* x_120; +x_120 = lean_ctor_get(x_118, 0); +lean_dec(x_120); +lean_ctor_set(x_118, 0, x_112); +return x_118; +} +else +{ +lean_object* x_121; lean_object* x_122; +x_121 = lean_ctor_get(x_118, 1); +lean_inc(x_121); +lean_dec(x_118); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_112); +lean_ctor_set(x_122, 1, x_121); +return x_122; +} +} +else +{ +uint8_t x_123; +lean_dec(x_112); +x_123 = !lean_is_exclusive(x_118); +if (x_123 == 0) +{ +return x_118; +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_118, 0); +x_125 = lean_ctor_get(x_118, 1); +lean_inc(x_125); +lean_inc(x_124); +lean_dec(x_118); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; +} +} +} +else +{ +uint8_t x_127; +lean_dec(x_112); +lean_dec(x_1); +x_127 = !lean_is_exclusive(x_114); +if (x_127 == 0) +{ +return x_114; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_128 = lean_ctor_get(x_114, 0); +x_129 = lean_ctor_get(x_114, 1); +lean_inc(x_129); +lean_inc(x_128); +lean_dec(x_114); +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_1); +x_131 = !lean_is_exclusive(x_111); +if (x_131 == 0) +{ +return x_111; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_111, 0); +x_133 = lean_ctor_get(x_111, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_111); +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; +} +} +} +case 6: +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; lean_object* x_139; +x_135 = lean_ctor_get(x_1, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_1, 1); +lean_inc(x_136); +x_137 = lean_ctor_get(x_1, 2); +lean_inc(x_137); +x_138 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_inc(x_136); +x_139 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_136, x_2, x_3, x_48); +if (lean_obj_tag(x_139) == 0) +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); -lean_dec(x_140); -x_143 = lean_st_ref_take(x_2, x_142); -if (lean_obj_tag(x_143) == 0) +lean_dec(x_139); +lean_inc(x_137); +x_142 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_137, x_2, x_3, x_141); +if (lean_obj_tag(x_142) == 0) { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_144 = lean_ctor_get(x_143, 0); +lean_object* x_143; lean_object* x_144; lean_object* x_145; size_t x_146; size_t x_147; uint8_t x_148; +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); lean_inc(x_144); -x_145 = lean_ctor_get(x_143, 1); -lean_inc(x_145); -lean_dec(x_143); -lean_inc(x_141); -x_146 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_144, x_1, x_141); -x_147 = lean_st_ref_set(x_2, x_146, x_145); -if (lean_obj_tag(x_147) == 0) -{ -uint8_t x_148; -x_148 = !lean_is_exclusive(x_147); +lean_dec(x_142); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +x_145 = l_Lean_Expr_lam___override(x_135, x_136, x_137, x_138); +x_146 = lean_ptr_addr(x_136); +lean_dec(x_136); +x_147 = lean_ptr_addr(x_140); +x_148 = lean_usize_dec_eq(x_146, x_147); if (x_148 == 0) { lean_object* x_149; -x_149 = lean_ctor_get(x_147, 0); -lean_dec(x_149); -lean_ctor_set(x_147, 0, x_141); -return x_147; +lean_dec(x_145); +lean_dec(x_137); +x_149 = l_Lean_Expr_lam___override(x_135, x_140, x_143, x_138); +x_8 = x_149; +x_9 = x_144; +goto block_27; } else { -lean_object* x_150; lean_object* x_151; -x_150 = lean_ctor_get(x_147, 1); -lean_inc(x_150); -lean_dec(x_147); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_141); -lean_ctor_set(x_151, 1, x_150); -return x_151; -} -} -else -{ -uint8_t x_152; -lean_dec(x_141); -x_152 = !lean_is_exclusive(x_147); +size_t x_150; size_t x_151; uint8_t x_152; +x_150 = lean_ptr_addr(x_137); +lean_dec(x_137); +x_151 = lean_ptr_addr(x_143); +x_152 = lean_usize_dec_eq(x_150, x_151); if (x_152 == 0) { -return x_147; +lean_object* x_153; +lean_dec(x_145); +x_153 = l_Lean_Expr_lam___override(x_135, x_140, x_143, x_138); +x_8 = x_153; +x_9 = x_144; +goto block_27; } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = lean_ctor_get(x_147, 0); -x_154 = lean_ctor_get(x_147, 1); -lean_inc(x_154); -lean_inc(x_153); -lean_dec(x_147); -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; +uint8_t x_154; +x_154 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_138, x_138); +if (x_154 == 0) +{ +lean_object* x_155; +lean_dec(x_145); +x_155 = l_Lean_Expr_lam___override(x_135, x_140, x_143, x_138); +x_8 = x_155; +x_9 = x_144; +goto block_27; +} +else +{ +lean_dec(x_143); +lean_dec(x_140); +lean_dec(x_135); +x_8 = x_145; +x_9 = x_144; +goto block_27; +} } } } else { uint8_t x_156; -lean_dec(x_141); +lean_dec(x_140); +lean_dec(x_137); +lean_dec(x_136); +lean_dec(x_135); lean_dec(x_1); -x_156 = !lean_is_exclusive(x_143); +x_156 = !lean_is_exclusive(x_142); if (x_156 == 0) { -return x_143; +return x_142; } else { lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_157 = lean_ctor_get(x_143, 0); -x_158 = lean_ctor_get(x_143, 1); +x_157 = lean_ctor_get(x_142, 0); +x_158 = lean_ctor_get(x_142, 1); lean_inc(x_158); lean_inc(x_157); -lean_dec(x_143); +lean_dec(x_142); x_159 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_159, 0, x_157); lean_ctor_set(x_159, 1, x_158); @@ -22861,20 +23752,23 @@ return x_159; else { uint8_t x_160; +lean_dec(x_137); +lean_dec(x_136); +lean_dec(x_135); lean_dec(x_1); -x_160 = !lean_is_exclusive(x_140); +x_160 = !lean_is_exclusive(x_139); if (x_160 == 0) { -return x_140; +return x_139; } else { lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_161 = lean_ctor_get(x_140, 0); -x_162 = lean_ctor_get(x_140, 1); +x_161 = lean_ctor_get(x_139, 0); +x_162 = lean_ctor_get(x_139, 1); lean_inc(x_162); lean_inc(x_161); -lean_dec(x_140); +lean_dec(x_139); x_163 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_163, 0, x_161); lean_ctor_set(x_163, 1, x_162); @@ -22882,1580 +23776,1652 @@ return x_163; } } } -case 6: +case 7: { -lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; -x_164 = lean_ctor_get(x_1, 1); +lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; lean_object* x_168; +x_164 = lean_ctor_get(x_1, 0); lean_inc(x_164); -x_165 = lean_ctor_get(x_1, 2); +x_165 = lean_ctor_get(x_1, 1); lean_inc(x_165); -x_166 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_167 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_164, x_2, x_3, x_48); -if (lean_obj_tag(x_167) == 0) +x_166 = lean_ctor_get(x_1, 2); +lean_inc(x_166); +x_167 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_inc(x_165); +x_168 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_165, x_2, x_3, x_48); +if (lean_obj_tag(x_168) == 0) { -lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_167, 1); +lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_168, 0); lean_inc(x_169); -lean_dec(x_167); -x_170 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_165, x_2, x_3, x_169); -if (lean_obj_tag(x_170) == 0) +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +lean_inc(x_166); +x_171 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_166, x_2, x_3, x_170); +if (lean_obj_tag(x_171) == 0) { -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); +lean_object* x_172; lean_object* x_173; lean_object* x_174; size_t x_175; size_t x_176; uint8_t x_177; +x_172 = lean_ctor_get(x_171, 0); lean_inc(x_172); -lean_dec(x_170); -lean_inc(x_1); -x_173 = lean_expr_update_lambda(x_1, x_166, x_168, x_171); -x_174 = lean_st_ref_take(x_2, x_172); -if (lean_obj_tag(x_174) == 0) -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -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_173 = lean_ctor_get(x_171, 1); lean_inc(x_173); -x_177 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_175, x_1, x_173); -x_178 = lean_st_ref_set(x_2, x_177, x_176); -if (lean_obj_tag(x_178) == 0) +lean_dec(x_171); +lean_inc(x_166); +lean_inc(x_165); +lean_inc(x_164); +x_174 = l_Lean_Expr_forallE___override(x_164, x_165, x_166, x_167); +x_175 = lean_ptr_addr(x_165); +lean_dec(x_165); +x_176 = lean_ptr_addr(x_169); +x_177 = lean_usize_dec_eq(x_175, x_176); +if (x_177 == 0) { -uint8_t x_179; -x_179 = !lean_is_exclusive(x_178); -if (x_179 == 0) -{ -lean_object* x_180; -x_180 = lean_ctor_get(x_178, 0); -lean_dec(x_180); -lean_ctor_set(x_178, 0, x_173); -return x_178; +lean_object* x_178; +lean_dec(x_174); +lean_dec(x_166); +x_178 = l_Lean_Expr_forallE___override(x_164, x_169, x_172, x_167); +x_8 = x_178; +x_9 = x_173; +goto block_27; } else { -lean_object* x_181; lean_object* x_182; -x_181 = lean_ctor_get(x_178, 1); -lean_inc(x_181); -lean_dec(x_178); -x_182 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_182, 0, x_173); -lean_ctor_set(x_182, 1, x_181); -return x_182; -} +size_t x_179; size_t x_180; uint8_t x_181; +x_179 = lean_ptr_addr(x_166); +lean_dec(x_166); +x_180 = lean_ptr_addr(x_172); +x_181 = lean_usize_dec_eq(x_179, x_180); +if (x_181 == 0) +{ +lean_object* x_182; +lean_dec(x_174); +x_182 = l_Lean_Expr_forallE___override(x_164, x_169, x_172, x_167); +x_8 = x_182; +x_9 = x_173; +goto block_27; } else { uint8_t x_183; -lean_dec(x_173); -x_183 = !lean_is_exclusive(x_178); +x_183 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_167, x_167); if (x_183 == 0) { -return x_178; -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_184 = lean_ctor_get(x_178, 0); -x_185 = lean_ctor_get(x_178, 1); -lean_inc(x_185); -lean_inc(x_184); -lean_dec(x_178); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_184); -lean_ctor_set(x_186, 1, x_185); -return x_186; -} -} -} -else -{ -uint8_t x_187; -lean_dec(x_173); -lean_dec(x_1); -x_187 = !lean_is_exclusive(x_174); -if (x_187 == 0) -{ -return x_174; -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_188 = lean_ctor_get(x_174, 0); -x_189 = lean_ctor_get(x_174, 1); -lean_inc(x_189); -lean_inc(x_188); +lean_object* x_184; lean_dec(x_174); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_188); -lean_ctor_set(x_190, 1, x_189); -return x_190; +x_184 = l_Lean_Expr_forallE___override(x_164, x_169, x_172, x_167); +x_8 = x_184; +x_9 = x_173; +goto block_27; +} +else +{ +lean_dec(x_172); +lean_dec(x_169); +lean_dec(x_164); +x_8 = x_174; +x_9 = x_173; +goto block_27; +} } } } else { -uint8_t x_191; -lean_dec(x_168); -lean_dec(x_1); -x_191 = !lean_is_exclusive(x_170); -if (x_191 == 0) -{ -return x_170; -} -else -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; -x_192 = lean_ctor_get(x_170, 0); -x_193 = lean_ctor_get(x_170, 1); -lean_inc(x_193); -lean_inc(x_192); -lean_dec(x_170); -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 -{ -uint8_t x_195; +uint8_t x_185; +lean_dec(x_169); +lean_dec(x_166); lean_dec(x_165); +lean_dec(x_164); lean_dec(x_1); -x_195 = !lean_is_exclusive(x_167); -if (x_195 == 0) +x_185 = !lean_is_exclusive(x_171); +if (x_185 == 0) { -return x_167; +return x_171; } else { -lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_196 = lean_ctor_get(x_167, 0); -x_197 = lean_ctor_get(x_167, 1); -lean_inc(x_197); -lean_inc(x_196); -lean_dec(x_167); -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_196); -lean_ctor_set(x_198, 1, x_197); -return x_198; -} -} -} -case 7: -{ -lean_object* x_199; lean_object* x_200; uint8_t x_201; lean_object* x_202; -x_199 = lean_ctor_get(x_1, 1); -lean_inc(x_199); -x_200 = lean_ctor_get(x_1, 2); -lean_inc(x_200); -x_201 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_202 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_199, x_2, x_3, x_48); -if (lean_obj_tag(x_202) == 0) -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_202, 1); -lean_inc(x_204); -lean_dec(x_202); -x_205 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_200, x_2, x_3, x_204); -if (lean_obj_tag(x_205) == 0) -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_206 = lean_ctor_get(x_205, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_205, 1); -lean_inc(x_207); -lean_dec(x_205); -lean_inc(x_1); -x_208 = lean_expr_update_forall(x_1, x_201, x_203, x_206); -x_209 = lean_st_ref_take(x_2, x_207); -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); -lean_inc(x_208); -x_212 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_210, x_1, x_208); -x_213 = lean_st_ref_set(x_2, x_212, x_211); -if (lean_obj_tag(x_213) == 0) -{ -uint8_t x_214; -x_214 = !lean_is_exclusive(x_213); -if (x_214 == 0) -{ -lean_object* x_215; -x_215 = lean_ctor_get(x_213, 0); -lean_dec(x_215); -lean_ctor_set(x_213, 0, x_208); -return x_213; -} -else -{ -lean_object* x_216; lean_object* x_217; -x_216 = lean_ctor_get(x_213, 1); -lean_inc(x_216); -lean_dec(x_213); -x_217 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_217, 0, x_208); -lean_ctor_set(x_217, 1, x_216); -return x_217; -} -} -else -{ -uint8_t x_218; -lean_dec(x_208); -x_218 = !lean_is_exclusive(x_213); -if (x_218 == 0) -{ -return x_213; -} -else -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; -x_219 = lean_ctor_get(x_213, 0); -x_220 = lean_ctor_get(x_213, 1); -lean_inc(x_220); -lean_inc(x_219); -lean_dec(x_213); -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; +lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_186 = lean_ctor_get(x_171, 0); +x_187 = lean_ctor_get(x_171, 1); +lean_inc(x_187); +lean_inc(x_186); +lean_dec(x_171); +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_187); +return x_188; } } } else { -uint8_t x_222; -lean_dec(x_208); +uint8_t x_189; +lean_dec(x_166); +lean_dec(x_165); +lean_dec(x_164); lean_dec(x_1); -x_222 = !lean_is_exclusive(x_209); -if (x_222 == 0) +x_189 = !lean_is_exclusive(x_168); +if (x_189 == 0) { -return x_209; +return x_168; } else { -lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_223 = lean_ctor_get(x_209, 0); -x_224 = lean_ctor_get(x_209, 1); -lean_inc(x_224); -lean_inc(x_223); -lean_dec(x_209); -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; -} -} -} -else -{ -uint8_t x_226; -lean_dec(x_203); -lean_dec(x_1); -x_226 = !lean_is_exclusive(x_205); -if (x_226 == 0) -{ -return x_205; -} -else -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_227 = lean_ctor_get(x_205, 0); -x_228 = lean_ctor_get(x_205, 1); -lean_inc(x_228); -lean_inc(x_227); -lean_dec(x_205); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_227); -lean_ctor_set(x_229, 1, x_228); -return x_229; -} -} -} -else -{ -uint8_t x_230; -lean_dec(x_200); -lean_dec(x_1); -x_230 = !lean_is_exclusive(x_202); -if (x_230 == 0) -{ -return x_202; -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; -x_231 = lean_ctor_get(x_202, 0); -x_232 = lean_ctor_get(x_202, 1); -lean_inc(x_232); -lean_inc(x_231); -lean_dec(x_202); -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_231); -lean_ctor_set(x_233, 1, x_232); -return x_233; +lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_190 = lean_ctor_get(x_168, 0); +x_191 = lean_ctor_get(x_168, 1); +lean_inc(x_191); +lean_inc(x_190); +lean_dec(x_168); +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_190); +lean_ctor_set(x_192, 1, x_191); +return x_192; } } } case 8: { -lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; -x_234 = lean_ctor_get(x_1, 1); -lean_inc(x_234); -x_235 = lean_ctor_get(x_1, 2); -lean_inc(x_235); -x_236 = lean_ctor_get(x_1, 3); -lean_inc(x_236); -x_237 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_234, x_2, x_3, x_48); -if (lean_obj_tag(x_237) == 0) +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; lean_object* x_198; +x_193 = lean_ctor_get(x_1, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_1, 1); +lean_inc(x_194); +x_195 = lean_ctor_get(x_1, 2); +lean_inc(x_195); +x_196 = lean_ctor_get(x_1, 3); +lean_inc(x_196); +x_197 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); +lean_inc(x_194); +x_198 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_194, x_2, x_3, x_48); +if (lean_obj_tag(x_198) == 0) { -lean_object* x_238; lean_object* x_239; lean_object* x_240; -x_238 = lean_ctor_get(x_237, 0); -lean_inc(x_238); -x_239 = lean_ctor_get(x_237, 1); -lean_inc(x_239); -lean_dec(x_237); -x_240 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_235, x_2, x_3, x_239); -if (lean_obj_tag(x_240) == 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_195); +x_201 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_195, x_2, x_3, x_200); +if (lean_obj_tag(x_201) == 0) { -lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_241 = lean_ctor_get(x_240, 0); -lean_inc(x_241); -x_242 = lean_ctor_get(x_240, 1); -lean_inc(x_242); -lean_dec(x_240); -x_243 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_236, x_2, x_3, x_242); -if (lean_obj_tag(x_243) == 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); +lean_inc(x_196); +x_204 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_196, x_2, x_3, x_203); +if (lean_obj_tag(x_204) == 0) { -lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); -lean_inc(x_245); -lean_dec(x_243); +lean_object* x_205; lean_object* x_206; size_t x_207; size_t x_208; uint8_t x_209; +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_ptr_addr(x_194); +lean_dec(x_194); +x_208 = lean_ptr_addr(x_199); +x_209 = lean_usize_dec_eq(x_207, x_208); +if (x_209 == 0) +{ +lean_object* x_210; +lean_dec(x_196); +lean_dec(x_195); +x_210 = l_Lean_Expr_letE___override(x_193, x_199, x_202, x_205, x_197); +x_8 = x_210; +x_9 = x_206; +goto block_27; +} +else +{ +size_t x_211; size_t x_212; uint8_t x_213; +x_211 = lean_ptr_addr(x_195); +lean_dec(x_195); +x_212 = lean_ptr_addr(x_202); +x_213 = lean_usize_dec_eq(x_211, x_212); +if (x_213 == 0) +{ +lean_object* x_214; +lean_dec(x_196); +x_214 = l_Lean_Expr_letE___override(x_193, x_199, x_202, x_205, x_197); +x_8 = x_214; +x_9 = x_206; +goto block_27; +} +else +{ +size_t x_215; size_t x_216; uint8_t x_217; +x_215 = lean_ptr_addr(x_196); +lean_dec(x_196); +x_216 = lean_ptr_addr(x_205); +x_217 = lean_usize_dec_eq(x_215, x_216); +if (x_217 == 0) +{ +lean_object* x_218; +x_218 = l_Lean_Expr_letE___override(x_193, x_199, x_202, x_205, x_197); +x_8 = x_218; +x_9 = x_206; +goto block_27; +} +else +{ +lean_dec(x_205); +lean_dec(x_202); +lean_dec(x_199); +lean_dec(x_193); lean_inc(x_1); -x_246 = lean_expr_update_let(x_1, x_238, x_241, x_244); -x_247 = lean_st_ref_take(x_2, x_245); -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, 0); -lean_inc(x_248); -x_249 = lean_ctor_get(x_247, 1); -lean_inc(x_249); -lean_dec(x_247); -lean_inc(x_246); -x_250 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_248, x_1, x_246); -x_251 = lean_st_ref_set(x_2, x_250, x_249); -if (lean_obj_tag(x_251) == 0) -{ -uint8_t x_252; -x_252 = !lean_is_exclusive(x_251); -if (x_252 == 0) -{ -lean_object* x_253; -x_253 = lean_ctor_get(x_251, 0); -lean_dec(x_253); -lean_ctor_set(x_251, 0, x_246); -return x_251; +x_8 = x_1; +x_9 = x_206; +goto block_27; } -else -{ -lean_object* x_254; lean_object* x_255; -x_254 = lean_ctor_get(x_251, 1); -lean_inc(x_254); -lean_dec(x_251); -x_255 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_255, 0, x_246); -lean_ctor_set(x_255, 1, x_254); -return x_255; -} -} -else -{ -uint8_t x_256; -lean_dec(x_246); -x_256 = !lean_is_exclusive(x_251); -if (x_256 == 0) -{ -return x_251; -} -else -{ -lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_257 = lean_ctor_get(x_251, 0); -x_258 = lean_ctor_get(x_251, 1); -lean_inc(x_258); -lean_inc(x_257); -lean_dec(x_251); -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_260; -lean_dec(x_246); +uint8_t x_219; +lean_dec(x_202); +lean_dec(x_199); +lean_dec(x_196); +lean_dec(x_195); +lean_dec(x_194); +lean_dec(x_193); lean_dec(x_1); -x_260 = !lean_is_exclusive(x_247); -if (x_260 == 0) +x_219 = !lean_is_exclusive(x_204); +if (x_219 == 0) { -return x_247; +return x_204; } else { -lean_object* x_261; lean_object* x_262; lean_object* x_263; -x_261 = lean_ctor_get(x_247, 0); -x_262 = lean_ctor_get(x_247, 1); -lean_inc(x_262); -lean_inc(x_261); -lean_dec(x_247); -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; +lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_220 = lean_ctor_get(x_204, 0); +x_221 = lean_ctor_get(x_204, 1); +lean_inc(x_221); +lean_inc(x_220); +lean_dec(x_204); +x_222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_222, 0, x_220); +lean_ctor_set(x_222, 1, x_221); +return x_222; } } } else { -uint8_t x_264; -lean_dec(x_241); -lean_dec(x_238); +uint8_t x_223; +lean_dec(x_199); +lean_dec(x_196); +lean_dec(x_195); +lean_dec(x_194); +lean_dec(x_193); lean_dec(x_1); -x_264 = !lean_is_exclusive(x_243); -if (x_264 == 0) +x_223 = !lean_is_exclusive(x_201); +if (x_223 == 0) { -return x_243; +return x_201; } else { -lean_object* x_265; lean_object* x_266; lean_object* x_267; -x_265 = lean_ctor_get(x_243, 0); -x_266 = lean_ctor_get(x_243, 1); -lean_inc(x_266); -lean_inc(x_265); -lean_dec(x_243); -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; +lean_object* x_224; lean_object* x_225; lean_object* x_226; +x_224 = lean_ctor_get(x_201, 0); +x_225 = lean_ctor_get(x_201, 1); +lean_inc(x_225); +lean_inc(x_224); +lean_dec(x_201); +x_226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_226, 0, x_224); +lean_ctor_set(x_226, 1, x_225); +return x_226; } } } else { -uint8_t x_268; -lean_dec(x_238); -lean_dec(x_236); +uint8_t x_227; +lean_dec(x_196); +lean_dec(x_195); +lean_dec(x_194); +lean_dec(x_193); lean_dec(x_1); -x_268 = !lean_is_exclusive(x_240); -if (x_268 == 0) +x_227 = !lean_is_exclusive(x_198); +if (x_227 == 0) { -return x_240; +return x_198; } else { -lean_object* x_269; lean_object* x_270; lean_object* x_271; -x_269 = lean_ctor_get(x_240, 0); -x_270 = lean_ctor_get(x_240, 1); -lean_inc(x_270); -lean_inc(x_269); -lean_dec(x_240); -x_271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_271, 0, x_269); -lean_ctor_set(x_271, 1, x_270); -return x_271; -} -} -} -else -{ -uint8_t x_272; -lean_dec(x_236); -lean_dec(x_235); -lean_dec(x_1); -x_272 = !lean_is_exclusive(x_237); -if (x_272 == 0) -{ -return x_237; -} -else -{ -lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_273 = lean_ctor_get(x_237, 0); -x_274 = lean_ctor_get(x_237, 1); -lean_inc(x_274); -lean_inc(x_273); -lean_dec(x_237); -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; +lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_228 = lean_ctor_get(x_198, 0); +x_229 = lean_ctor_get(x_198, 1); +lean_inc(x_229); +lean_inc(x_228); +lean_dec(x_198); +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; } } } case 10: { -lean_object* x_276; lean_object* x_277; -x_276 = lean_ctor_get(x_1, 1); -lean_inc(x_276); -x_277 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_276, x_2, x_3, x_48); -if (lean_obj_tag(x_277) == 0) +lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_231 = lean_ctor_get(x_1, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_1, 1); +lean_inc(x_232); +lean_inc(x_232); +x_233 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_232, x_2, x_3, x_48); +if (lean_obj_tag(x_233) == 0) { -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; -x_278 = lean_ctor_get(x_277, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_277, 1); -lean_inc(x_279); -lean_dec(x_277); +lean_object* x_234; lean_object* x_235; size_t x_236; size_t x_237; uint8_t x_238; +x_234 = lean_ctor_get(x_233, 0); +lean_inc(x_234); +x_235 = lean_ctor_get(x_233, 1); +lean_inc(x_235); +lean_dec(x_233); +x_236 = lean_ptr_addr(x_232); +lean_dec(x_232); +x_237 = lean_ptr_addr(x_234); +x_238 = lean_usize_dec_eq(x_236, x_237); +if (x_238 == 0) +{ +lean_object* x_239; +x_239 = l_Lean_Expr_mdata___override(x_231, x_234); +x_8 = x_239; +x_9 = x_235; +goto block_27; +} +else +{ +lean_dec(x_234); +lean_dec(x_231); lean_inc(x_1); -x_280 = lean_expr_update_mdata(x_1, x_278); -x_281 = lean_st_ref_take(x_2, x_279); -if (lean_obj_tag(x_281) == 0) -{ -lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; -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_280); -x_284 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_282, x_1, x_280); -x_285 = lean_st_ref_set(x_2, x_284, x_283); -if (lean_obj_tag(x_285) == 0) -{ -uint8_t x_286; -x_286 = !lean_is_exclusive(x_285); -if (x_286 == 0) -{ -lean_object* x_287; -x_287 = lean_ctor_get(x_285, 0); -lean_dec(x_287); -lean_ctor_set(x_285, 0, x_280); -return x_285; -} -else -{ -lean_object* x_288; lean_object* x_289; -x_288 = lean_ctor_get(x_285, 1); -lean_inc(x_288); -lean_dec(x_285); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_280); -lean_ctor_set(x_289, 1, x_288); -return x_289; -} -} -else -{ -uint8_t x_290; -lean_dec(x_280); -x_290 = !lean_is_exclusive(x_285); -if (x_290 == 0) -{ -return x_285; -} -else -{ -lean_object* x_291; lean_object* x_292; lean_object* x_293; -x_291 = lean_ctor_get(x_285, 0); -x_292 = lean_ctor_get(x_285, 1); -lean_inc(x_292); -lean_inc(x_291); -lean_dec(x_285); -x_293 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_293, 0, x_291); -lean_ctor_set(x_293, 1, x_292); -return x_293; -} -} -} -else -{ -uint8_t x_294; -lean_dec(x_280); -lean_dec(x_1); -x_294 = !lean_is_exclusive(x_281); -if (x_294 == 0) -{ -return x_281; -} -else -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_295 = lean_ctor_get(x_281, 0); -x_296 = lean_ctor_get(x_281, 1); -lean_inc(x_296); -lean_inc(x_295); -lean_dec(x_281); -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_295); -lean_ctor_set(x_297, 1, x_296); -return x_297; -} -} -} -else -{ -uint8_t x_298; -lean_dec(x_1); -x_298 = !lean_is_exclusive(x_277); -if (x_298 == 0) -{ -return x_277; -} -else -{ -lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_299 = lean_ctor_get(x_277, 0); -x_300 = lean_ctor_get(x_277, 1); -lean_inc(x_300); -lean_inc(x_299); -lean_dec(x_277); -x_301 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_301, 0, x_299); -lean_ctor_set(x_301, 1, x_300); -return x_301; -} -} -} -case 11: -{ -lean_object* x_302; lean_object* x_303; -x_302 = lean_ctor_get(x_1, 2); -lean_inc(x_302); -x_303 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_302, x_2, x_3, x_48); -if (lean_obj_tag(x_303) == 0) -{ -lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; -x_304 = lean_ctor_get(x_303, 0); -lean_inc(x_304); -x_305 = lean_ctor_get(x_303, 1); -lean_inc(x_305); -lean_dec(x_303); -lean_inc(x_1); -x_306 = lean_expr_update_proj(x_1, x_304); -x_307 = lean_st_ref_take(x_2, x_305); -if (lean_obj_tag(x_307) == 0) -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; -x_308 = lean_ctor_get(x_307, 0); -lean_inc(x_308); -x_309 = lean_ctor_get(x_307, 1); -lean_inc(x_309); -lean_dec(x_307); -lean_inc(x_306); -x_310 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_308, x_1, x_306); -x_311 = lean_st_ref_set(x_2, x_310, x_309); -if (lean_obj_tag(x_311) == 0) -{ -uint8_t x_312; -x_312 = !lean_is_exclusive(x_311); -if (x_312 == 0) -{ -lean_object* x_313; -x_313 = lean_ctor_get(x_311, 0); -lean_dec(x_313); -lean_ctor_set(x_311, 0, x_306); -return x_311; -} -else -{ -lean_object* x_314; lean_object* x_315; -x_314 = lean_ctor_get(x_311, 1); -lean_inc(x_314); -lean_dec(x_311); -x_315 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_315, 0, x_306); -lean_ctor_set(x_315, 1, x_314); -return x_315; -} -} -else -{ -uint8_t x_316; -lean_dec(x_306); -x_316 = !lean_is_exclusive(x_311); -if (x_316 == 0) -{ -return x_311; -} -else -{ -lean_object* x_317; lean_object* x_318; lean_object* x_319; -x_317 = lean_ctor_get(x_311, 0); -x_318 = lean_ctor_get(x_311, 1); -lean_inc(x_318); -lean_inc(x_317); -lean_dec(x_311); -x_319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_319, 0, x_317); -lean_ctor_set(x_319, 1, x_318); -return x_319; -} -} -} -else -{ -uint8_t x_320; -lean_dec(x_306); -lean_dec(x_1); -x_320 = !lean_is_exclusive(x_307); -if (x_320 == 0) -{ -return x_307; -} -else -{ -lean_object* x_321; lean_object* x_322; lean_object* x_323; -x_321 = lean_ctor_get(x_307, 0); -x_322 = lean_ctor_get(x_307, 1); -lean_inc(x_322); -lean_inc(x_321); -lean_dec(x_307); -x_323 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_323, 0, x_321); -lean_ctor_set(x_323, 1, x_322); -return x_323; -} -} -} -else -{ -uint8_t x_324; -lean_dec(x_1); -x_324 = !lean_is_exclusive(x_303); -if (x_324 == 0) -{ -return x_303; -} -else -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; -x_325 = lean_ctor_get(x_303, 0); -x_326 = lean_ctor_get(x_303, 1); -lean_inc(x_326); -lean_inc(x_325); -lean_dec(x_303); -x_327 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_327, 0, x_325); -lean_ctor_set(x_327, 1, x_326); -return x_327; -} -} -} -default: -{ -lean_object* x_328; -x_328 = lean_st_ref_take(x_2, x_48); -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, 0); -lean_inc(x_329); -x_330 = lean_ctor_get(x_328, 1); -lean_inc(x_330); -lean_dec(x_328); -lean_inc_n(x_1, 2); -x_331 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_329, x_1, x_1); -x_332 = lean_st_ref_set(x_2, x_331, x_330); -if (lean_obj_tag(x_332) == 0) -{ -uint8_t x_333; -x_333 = !lean_is_exclusive(x_332); -if (x_333 == 0) -{ -lean_object* x_334; -x_334 = lean_ctor_get(x_332, 0); -lean_dec(x_334); -lean_ctor_set(x_332, 0, x_1); -return x_332; -} -else -{ -lean_object* x_335; lean_object* x_336; -x_335 = lean_ctor_get(x_332, 1); -lean_inc(x_335); -lean_dec(x_332); -x_336 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_336, 0, x_1); -lean_ctor_set(x_336, 1, x_335); -return x_336; -} -} -else -{ -uint8_t x_337; -lean_dec(x_1); -x_337 = !lean_is_exclusive(x_332); -if (x_337 == 0) -{ -return x_332; -} -else -{ -lean_object* x_338; lean_object* x_339; lean_object* x_340; -x_338 = lean_ctor_get(x_332, 0); -x_339 = lean_ctor_get(x_332, 1); -lean_inc(x_339); -lean_inc(x_338); -lean_dec(x_332); -x_340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_340, 0, x_338); -lean_ctor_set(x_340, 1, x_339); -return x_340; -} -} -} -else -{ -uint8_t x_341; -lean_dec(x_1); -x_341 = !lean_is_exclusive(x_328); -if (x_341 == 0) -{ -return x_328; -} -else -{ -lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_342 = lean_ctor_get(x_328, 0); -x_343 = lean_ctor_get(x_328, 1); -lean_inc(x_343); -lean_inc(x_342); -lean_dec(x_328); -x_344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_344, 0, x_342); -lean_ctor_set(x_344, 1, x_343); -return x_344; -} -} -} -} -} -else -{ -lean_object* x_345; -lean_dec(x_1); -x_345 = lean_ctor_get(x_49, 0); -lean_inc(x_345); -lean_dec(x_49); -lean_ctor_set(x_45, 0, x_345); -return x_45; -} -} -else -{ -lean_object* x_346; lean_object* x_347; lean_object* x_348; -x_346 = lean_ctor_get(x_45, 0); -x_347 = lean_ctor_get(x_45, 1); -lean_inc(x_347); -lean_inc(x_346); -lean_dec(x_45); -lean_inc(x_1); -x_348 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_346, x_1); -if (lean_obj_tag(x_348) == 0) -{ -switch (lean_obj_tag(x_1)) { -case 2: -{ -lean_object* x_349; lean_object* x_350; -x_349 = lean_ctor_get(x_1, 0); -lean_inc(x_349); -x_350 = lean_st_ref_get(x_2, x_347); -if (lean_obj_tag(x_350) == 0) -{ -lean_object* x_351; lean_object* x_352; lean_object* x_353; -x_351 = lean_ctor_get(x_350, 0); -lean_inc(x_351); -x_352 = lean_ctor_get(x_350, 1); -lean_inc(x_352); -lean_dec(x_350); -lean_inc(x_1); -x_353 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_351, x_1); -if (lean_obj_tag(x_353) == 0) -{ -lean_object* x_354; -lean_inc(x_349); -x_354 = l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3___rarg(x_349, x_2, x_3, x_352); -if (lean_obj_tag(x_354) == 0) -{ -lean_object* x_355; -x_355 = lean_ctor_get(x_354, 0); -lean_inc(x_355); -if (lean_obj_tag(x_355) == 0) -{ -lean_object* x_356; -lean_dec(x_349); -x_356 = lean_ctor_get(x_354, 1); -lean_inc(x_356); -lean_dec(x_354); -lean_inc(x_1); -x_28 = x_1; -x_29 = x_356; -goto block_44; -} -else -{ -lean_object* x_357; lean_object* x_358; lean_object* x_359; -x_357 = lean_ctor_get(x_354, 1); -lean_inc(x_357); -lean_dec(x_354); -x_358 = lean_ctor_get(x_355, 0); -lean_inc(x_358); -lean_dec(x_355); -x_359 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_358, x_2, x_3, x_357); -if (lean_obj_tag(x_359) == 0) -{ -lean_object* x_360; lean_object* x_361; lean_object* x_362; -x_360 = lean_ctor_get(x_359, 0); -lean_inc(x_360); -x_361 = lean_ctor_get(x_359, 1); -lean_inc(x_361); -lean_dec(x_359); -lean_inc(x_360); -x_362 = l_Lean_assignExprMVar___at_Lean_instantiateMVarsCore___spec__5___rarg(x_349, x_360, x_2, x_3, x_361); -if (lean_obj_tag(x_362) == 0) -{ -lean_object* x_363; -x_363 = lean_ctor_get(x_362, 1); -lean_inc(x_363); -lean_dec(x_362); -x_28 = x_360; -x_29 = x_363; -goto block_44; -} -else -{ -lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; -lean_dec(x_360); -lean_dec(x_1); -x_364 = lean_ctor_get(x_362, 0); -lean_inc(x_364); -x_365 = lean_ctor_get(x_362, 1); -lean_inc(x_365); -if (lean_is_exclusive(x_362)) { - lean_ctor_release(x_362, 0); - lean_ctor_release(x_362, 1); - x_366 = x_362; -} else { - lean_dec_ref(x_362); - x_366 = lean_box(0); -} -if (lean_is_scalar(x_366)) { - x_367 = lean_alloc_ctor(1, 2, 0); -} else { - x_367 = x_366; -} -lean_ctor_set(x_367, 0, x_364); -lean_ctor_set(x_367, 1, x_365); -return x_367; -} -} -else -{ -lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; -lean_dec(x_349); -lean_dec(x_1); -x_368 = lean_ctor_get(x_359, 0); -lean_inc(x_368); -x_369 = lean_ctor_get(x_359, 1); -lean_inc(x_369); -if (lean_is_exclusive(x_359)) { - lean_ctor_release(x_359, 0); - lean_ctor_release(x_359, 1); - x_370 = x_359; -} else { - lean_dec_ref(x_359); - x_370 = lean_box(0); -} -if (lean_is_scalar(x_370)) { - x_371 = lean_alloc_ctor(1, 2, 0); -} else { - x_371 = x_370; -} -lean_ctor_set(x_371, 0, x_368); -lean_ctor_set(x_371, 1, x_369); -return x_371; -} -} -} -else -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; -lean_dec(x_349); -lean_dec(x_1); -x_372 = lean_ctor_get(x_354, 0); -lean_inc(x_372); -x_373 = lean_ctor_get(x_354, 1); -lean_inc(x_373); -if (lean_is_exclusive(x_354)) { - lean_ctor_release(x_354, 0); - lean_ctor_release(x_354, 1); - x_374 = x_354; -} else { - lean_dec_ref(x_354); - x_374 = lean_box(0); -} -if (lean_is_scalar(x_374)) { - x_375 = lean_alloc_ctor(1, 2, 0); -} else { - x_375 = x_374; -} -lean_ctor_set(x_375, 0, x_372); -lean_ctor_set(x_375, 1, x_373); -return x_375; -} -} -else -{ -lean_object* x_376; -lean_dec(x_349); -x_376 = lean_ctor_get(x_353, 0); -lean_inc(x_376); -lean_dec(x_353); -x_8 = x_376; -x_9 = x_352; +x_8 = x_1; +x_9 = x_235; goto block_27; } } else { -lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; -lean_dec(x_349); +uint8_t x_240; +lean_dec(x_232); +lean_dec(x_231); lean_dec(x_1); -x_377 = lean_ctor_get(x_350, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_350, 1); -lean_inc(x_378); -if (lean_is_exclusive(x_350)) { - lean_ctor_release(x_350, 0); - lean_ctor_release(x_350, 1); - x_379 = x_350; -} else { - lean_dec_ref(x_350); - x_379 = lean_box(0); +x_240 = !lean_is_exclusive(x_233); +if (x_240 == 0) +{ +return x_233; } -if (lean_is_scalar(x_379)) { - x_380 = lean_alloc_ctor(1, 2, 0); -} else { - x_380 = x_379; +else +{ +lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_241 = lean_ctor_get(x_233, 0); +x_242 = lean_ctor_get(x_233, 1); +lean_inc(x_242); +lean_inc(x_241); +lean_dec(x_233); +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_241); +lean_ctor_set(x_243, 1, x_242); +return x_243; } -lean_ctor_set(x_380, 0, x_377); -lean_ctor_set(x_380, 1, x_378); -return x_380; +} +} +case 11: +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; +x_244 = lean_ctor_get(x_1, 0); +lean_inc(x_244); +x_245 = lean_ctor_get(x_1, 1); +lean_inc(x_245); +x_246 = lean_ctor_get(x_1, 2); +lean_inc(x_246); +lean_inc(x_246); +x_247 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_246, x_2, x_3, x_48); +if (lean_obj_tag(x_247) == 0) +{ +lean_object* x_248; lean_object* x_249; size_t x_250; size_t x_251; uint8_t x_252; +x_248 = lean_ctor_get(x_247, 0); +lean_inc(x_248); +x_249 = lean_ctor_get(x_247, 1); +lean_inc(x_249); +lean_dec(x_247); +x_250 = lean_ptr_addr(x_246); +lean_dec(x_246); +x_251 = lean_ptr_addr(x_248); +x_252 = lean_usize_dec_eq(x_250, x_251); +if (x_252 == 0) +{ +lean_object* x_253; +x_253 = l_Lean_Expr_proj___override(x_244, x_245, x_248); +x_8 = x_253; +x_9 = x_249; +goto block_27; +} +else +{ +lean_dec(x_248); +lean_dec(x_245); +lean_dec(x_244); +lean_inc(x_1); +x_8 = x_1; +x_9 = x_249; +goto block_27; +} +} +else +{ +uint8_t x_254; +lean_dec(x_246); +lean_dec(x_245); +lean_dec(x_244); +lean_dec(x_1); +x_254 = !lean_is_exclusive(x_247); +if (x_254 == 0) +{ +return x_247; +} +else +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; +x_255 = lean_ctor_get(x_247, 0); +x_256 = lean_ctor_get(x_247, 1); +lean_inc(x_256); +lean_inc(x_255); +lean_dec(x_247); +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; +} +} +} +default: +{ +lean_object* x_258; +x_258 = lean_st_ref_take(x_2, x_48); +if (lean_obj_tag(x_258) == 0) +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_259 = lean_ctor_get(x_258, 0); +lean_inc(x_259); +x_260 = lean_ctor_get(x_258, 1); +lean_inc(x_260); +lean_dec(x_258); +lean_inc_n(x_1, 2); +x_261 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_259, x_1, x_1); +x_262 = lean_st_ref_set(x_2, x_261, x_260); +if (lean_obj_tag(x_262) == 0) +{ +uint8_t x_263; +x_263 = !lean_is_exclusive(x_262); +if (x_263 == 0) +{ +lean_object* x_264; +x_264 = lean_ctor_get(x_262, 0); +lean_dec(x_264); +lean_ctor_set(x_262, 0, x_1); +return x_262; +} +else +{ +lean_object* x_265; lean_object* x_266; +x_265 = lean_ctor_get(x_262, 1); +lean_inc(x_265); +lean_dec(x_262); +x_266 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_266, 0, x_1); +lean_ctor_set(x_266, 1, x_265); +return x_266; +} +} +else +{ +uint8_t x_267; +lean_dec(x_1); +x_267 = !lean_is_exclusive(x_262); +if (x_267 == 0) +{ +return x_262; +} +else +{ +lean_object* x_268; lean_object* x_269; lean_object* x_270; +x_268 = lean_ctor_get(x_262, 0); +x_269 = lean_ctor_get(x_262, 1); +lean_inc(x_269); +lean_inc(x_268); +lean_dec(x_262); +x_270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_268); +lean_ctor_set(x_270, 1, x_269); +return x_270; +} +} +} +else +{ +uint8_t x_271; +lean_dec(x_1); +x_271 = !lean_is_exclusive(x_258); +if (x_271 == 0) +{ +return x_258; +} +else +{ +lean_object* x_272; lean_object* x_273; lean_object* x_274; +x_272 = lean_ctor_get(x_258, 0); +x_273 = lean_ctor_get(x_258, 1); +lean_inc(x_273); +lean_inc(x_272); +lean_dec(x_258); +x_274 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_274, 0, x_272); +lean_ctor_set(x_274, 1, x_273); +return x_274; +} +} +} +} +} +else +{ +lean_object* x_275; +lean_dec(x_1); +x_275 = lean_ctor_get(x_49, 0); +lean_inc(x_275); +lean_dec(x_49); +lean_ctor_set(x_45, 0, x_275); +return x_45; +} +} +else +{ +lean_object* x_276; lean_object* x_277; lean_object* x_278; +x_276 = lean_ctor_get(x_45, 0); +x_277 = lean_ctor_get(x_45, 1); +lean_inc(x_277); +lean_inc(x_276); +lean_dec(x_45); +lean_inc(x_1); +x_278 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_276, x_1); +if (lean_obj_tag(x_278) == 0) +{ +switch (lean_obj_tag(x_1)) { +case 2: +{ +lean_object* x_279; lean_object* x_280; +x_279 = lean_ctor_get(x_1, 0); +lean_inc(x_279); +x_280 = lean_st_ref_get(x_2, x_277); +if (lean_obj_tag(x_280) == 0) +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; +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); +lean_inc(x_1); +x_283 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_281, x_1); +if (lean_obj_tag(x_283) == 0) +{ +lean_object* x_284; +lean_inc(x_279); +x_284 = l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3___rarg(x_279, x_2, x_3, x_282); +if (lean_obj_tag(x_284) == 0) +{ +lean_object* x_285; +x_285 = lean_ctor_get(x_284, 0); +lean_inc(x_285); +if (lean_obj_tag(x_285) == 0) +{ +lean_object* x_286; +lean_dec(x_279); +x_286 = lean_ctor_get(x_284, 1); +lean_inc(x_286); +lean_dec(x_284); +lean_inc(x_1); +x_28 = x_1; +x_29 = x_286; +goto block_44; +} +else +{ +lean_object* x_287; lean_object* x_288; lean_object* x_289; +x_287 = lean_ctor_get(x_284, 1); +lean_inc(x_287); +lean_dec(x_284); +x_288 = lean_ctor_get(x_285, 0); +lean_inc(x_288); +lean_dec(x_285); +x_289 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_288, x_2, x_3, x_287); +if (lean_obj_tag(x_289) == 0) +{ +lean_object* x_290; lean_object* x_291; lean_object* x_292; +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); +lean_inc(x_290); +x_292 = l_Lean_assignExprMVar___at_Lean_instantiateMVarsCore___spec__5___rarg(x_279, x_290, x_2, x_3, x_291); +if (lean_obj_tag(x_292) == 0) +{ +lean_object* x_293; +x_293 = lean_ctor_get(x_292, 1); +lean_inc(x_293); +lean_dec(x_292); +x_28 = x_290; +x_29 = x_293; +goto block_44; +} +else +{ +lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; +lean_dec(x_290); +lean_dec(x_1); +x_294 = lean_ctor_get(x_292, 0); +lean_inc(x_294); +x_295 = lean_ctor_get(x_292, 1); +lean_inc(x_295); +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + lean_ctor_release(x_292, 1); + x_296 = x_292; +} else { + lean_dec_ref(x_292); + x_296 = lean_box(0); +} +if (lean_is_scalar(x_296)) { + x_297 = lean_alloc_ctor(1, 2, 0); +} else { + x_297 = x_296; +} +lean_ctor_set(x_297, 0, x_294); +lean_ctor_set(x_297, 1, x_295); +return x_297; +} +} +else +{ +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; +lean_dec(x_279); +lean_dec(x_1); +x_298 = lean_ctor_get(x_289, 0); +lean_inc(x_298); +x_299 = lean_ctor_get(x_289, 1); +lean_inc(x_299); +if (lean_is_exclusive(x_289)) { + lean_ctor_release(x_289, 0); + lean_ctor_release(x_289, 1); + x_300 = x_289; +} else { + lean_dec_ref(x_289); + x_300 = lean_box(0); +} +if (lean_is_scalar(x_300)) { + x_301 = lean_alloc_ctor(1, 2, 0); +} else { + x_301 = x_300; +} +lean_ctor_set(x_301, 0, x_298); +lean_ctor_set(x_301, 1, x_299); +return x_301; +} +} +} +else +{ +lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; +lean_dec(x_279); +lean_dec(x_1); +x_302 = lean_ctor_get(x_284, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_284, 1); +lean_inc(x_303); +if (lean_is_exclusive(x_284)) { + lean_ctor_release(x_284, 0); + lean_ctor_release(x_284, 1); + x_304 = x_284; +} else { + lean_dec_ref(x_284); + x_304 = lean_box(0); +} +if (lean_is_scalar(x_304)) { + x_305 = lean_alloc_ctor(1, 2, 0); +} else { + x_305 = x_304; +} +lean_ctor_set(x_305, 0, x_302); +lean_ctor_set(x_305, 1, x_303); +return x_305; +} +} +else +{ +lean_object* x_306; +lean_dec(x_279); +x_306 = lean_ctor_get(x_283, 0); +lean_inc(x_306); +lean_dec(x_283); +x_8 = x_306; +x_9 = x_282; +goto block_27; +} +} +else +{ +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; +lean_dec(x_279); +lean_dec(x_1); +x_307 = lean_ctor_get(x_280, 0); +lean_inc(x_307); +x_308 = lean_ctor_get(x_280, 1); +lean_inc(x_308); +if (lean_is_exclusive(x_280)) { + lean_ctor_release(x_280, 0); + lean_ctor_release(x_280, 1); + x_309 = x_280; +} else { + lean_dec_ref(x_280); + x_309 = lean_box(0); +} +if (lean_is_scalar(x_309)) { + x_310 = lean_alloc_ctor(1, 2, 0); +} else { + x_310 = x_309; +} +lean_ctor_set(x_310, 0, x_307); +lean_ctor_set(x_310, 1, x_308); +return x_310; } } case 3: { -lean_object* x_381; lean_object* x_382; -x_381 = lean_ctor_get(x_1, 0); -lean_inc(x_381); -x_382 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_381, x_2, x_3, x_347); -if (lean_obj_tag(x_382) == 0) +lean_object* x_311; lean_object* x_312; +x_311 = lean_ctor_get(x_1, 0); +lean_inc(x_311); +lean_inc(x_311); +x_312 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_311, x_2, x_3, x_277); +if (lean_obj_tag(x_312) == 0) { -lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; -x_383 = lean_ctor_get(x_382, 0); -lean_inc(x_383); -x_384 = lean_ctor_get(x_382, 1); -lean_inc(x_384); -lean_dec(x_382); +lean_object* x_313; lean_object* x_314; size_t x_315; size_t x_316; uint8_t x_317; +x_313 = lean_ctor_get(x_312, 0); +lean_inc(x_313); +x_314 = lean_ctor_get(x_312, 1); +lean_inc(x_314); +lean_dec(x_312); +x_315 = lean_ptr_addr(x_311); +lean_dec(x_311); +x_316 = lean_ptr_addr(x_313); +x_317 = lean_usize_dec_eq(x_315, x_316); +if (x_317 == 0) +{ +lean_object* x_318; +x_318 = l_Lean_Expr_sort___override(x_313); +x_8 = x_318; +x_9 = x_314; +goto block_27; +} +else +{ +lean_dec(x_313); lean_inc(x_1); -x_385 = lean_expr_update_sort(x_1, x_383); -x_386 = lean_st_ref_take(x_2, x_384); -if (lean_obj_tag(x_386) == 0) -{ -lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; -x_387 = lean_ctor_get(x_386, 0); -lean_inc(x_387); -x_388 = lean_ctor_get(x_386, 1); -lean_inc(x_388); -lean_dec(x_386); -lean_inc(x_385); -x_389 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_387, x_1, x_385); -x_390 = lean_st_ref_set(x_2, x_389, x_388); -if (lean_obj_tag(x_390) == 0) -{ -lean_object* x_391; lean_object* x_392; lean_object* x_393; -x_391 = lean_ctor_get(x_390, 1); -lean_inc(x_391); -if (lean_is_exclusive(x_390)) { - lean_ctor_release(x_390, 0); - lean_ctor_release(x_390, 1); - x_392 = x_390; -} else { - lean_dec_ref(x_390); - x_392 = lean_box(0); -} -if (lean_is_scalar(x_392)) { - x_393 = lean_alloc_ctor(0, 2, 0); -} else { - x_393 = x_392; -} -lean_ctor_set(x_393, 0, x_385); -lean_ctor_set(x_393, 1, x_391); -return x_393; -} -else -{ -lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; -lean_dec(x_385); -x_394 = lean_ctor_get(x_390, 0); -lean_inc(x_394); -x_395 = lean_ctor_get(x_390, 1); -lean_inc(x_395); -if (lean_is_exclusive(x_390)) { - lean_ctor_release(x_390, 0); - lean_ctor_release(x_390, 1); - x_396 = x_390; -} else { - lean_dec_ref(x_390); - x_396 = lean_box(0); -} -if (lean_is_scalar(x_396)) { - x_397 = lean_alloc_ctor(1, 2, 0); -} else { - x_397 = x_396; -} -lean_ctor_set(x_397, 0, x_394); -lean_ctor_set(x_397, 1, x_395); -return x_397; +x_8 = x_1; +x_9 = x_314; +goto block_27; } } else { -lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; -lean_dec(x_385); +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; +lean_dec(x_311); lean_dec(x_1); -x_398 = lean_ctor_get(x_386, 0); -lean_inc(x_398); -x_399 = lean_ctor_get(x_386, 1); -lean_inc(x_399); -if (lean_is_exclusive(x_386)) { - lean_ctor_release(x_386, 0); - lean_ctor_release(x_386, 1); - x_400 = x_386; +x_319 = lean_ctor_get(x_312, 0); +lean_inc(x_319); +x_320 = lean_ctor_get(x_312, 1); +lean_inc(x_320); +if (lean_is_exclusive(x_312)) { + lean_ctor_release(x_312, 0); + lean_ctor_release(x_312, 1); + x_321 = x_312; } else { - lean_dec_ref(x_386); - x_400 = lean_box(0); + lean_dec_ref(x_312); + x_321 = lean_box(0); } -if (lean_is_scalar(x_400)) { - x_401 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_321)) { + x_322 = lean_alloc_ctor(1, 2, 0); } else { - x_401 = x_400; + x_322 = x_321; } -lean_ctor_set(x_401, 0, x_398); -lean_ctor_set(x_401, 1, x_399); -return x_401; -} -} -else -{ -lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; -lean_dec(x_1); -x_402 = lean_ctor_get(x_382, 0); -lean_inc(x_402); -x_403 = lean_ctor_get(x_382, 1); -lean_inc(x_403); -if (lean_is_exclusive(x_382)) { - lean_ctor_release(x_382, 0); - lean_ctor_release(x_382, 1); - x_404 = x_382; -} else { - lean_dec_ref(x_382); - x_404 = lean_box(0); -} -if (lean_is_scalar(x_404)) { - x_405 = lean_alloc_ctor(1, 2, 0); -} else { - x_405 = x_404; -} -lean_ctor_set(x_405, 0, x_402); -lean_ctor_set(x_405, 1, x_403); -return x_405; +lean_ctor_set(x_322, 0, x_319); +lean_ctor_set(x_322, 1, x_320); +return x_322; } } case 4: { -lean_object* x_406; lean_object* x_407; -x_406 = lean_ctor_get(x_1, 1); -lean_inc(x_406); -x_407 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg(x_5, x_406, x_2, x_3, x_347); -if (lean_obj_tag(x_407) == 0) +lean_object* x_323; lean_object* x_324; lean_object* x_325; +x_323 = lean_ctor_get(x_1, 0); +lean_inc(x_323); +x_324 = lean_ctor_get(x_1, 1); +lean_inc(x_324); +lean_inc(x_324); +x_325 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg(x_5, x_324, x_2, x_3, x_277); +if (lean_obj_tag(x_325) == 0) { -lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; -x_408 = lean_ctor_get(x_407, 0); -lean_inc(x_408); -x_409 = lean_ctor_get(x_407, 1); -lean_inc(x_409); -lean_dec(x_407); +lean_object* x_326; lean_object* x_327; uint8_t x_328; +x_326 = lean_ctor_get(x_325, 0); +lean_inc(x_326); +x_327 = lean_ctor_get(x_325, 1); +lean_inc(x_327); +lean_dec(x_325); +x_328 = l_ptrEqList___rarg(x_324, x_326); +lean_dec(x_324); +if (x_328 == 0) +{ +lean_object* x_329; +x_329 = l_Lean_Expr_const___override(x_323, x_326); +x_8 = x_329; +x_9 = x_327; +goto block_27; +} +else +{ +lean_dec(x_326); +lean_dec(x_323); lean_inc(x_1); -x_410 = lean_expr_update_const(x_1, x_408); -x_411 = lean_st_ref_take(x_2, x_409); -if (lean_obj_tag(x_411) == 0) -{ -lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; -x_412 = lean_ctor_get(x_411, 0); -lean_inc(x_412); -x_413 = lean_ctor_get(x_411, 1); -lean_inc(x_413); -lean_dec(x_411); -lean_inc(x_410); -x_414 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_412, x_1, x_410); -x_415 = lean_st_ref_set(x_2, x_414, x_413); -if (lean_obj_tag(x_415) == 0) -{ -lean_object* x_416; lean_object* x_417; lean_object* x_418; -x_416 = lean_ctor_get(x_415, 1); -lean_inc(x_416); -if (lean_is_exclusive(x_415)) { - lean_ctor_release(x_415, 0); - lean_ctor_release(x_415, 1); - x_417 = x_415; -} else { - lean_dec_ref(x_415); - x_417 = lean_box(0); -} -if (lean_is_scalar(x_417)) { - x_418 = lean_alloc_ctor(0, 2, 0); -} else { - x_418 = x_417; -} -lean_ctor_set(x_418, 0, x_410); -lean_ctor_set(x_418, 1, x_416); -return x_418; -} -else -{ -lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; -lean_dec(x_410); -x_419 = lean_ctor_get(x_415, 0); -lean_inc(x_419); -x_420 = lean_ctor_get(x_415, 1); -lean_inc(x_420); -if (lean_is_exclusive(x_415)) { - lean_ctor_release(x_415, 0); - lean_ctor_release(x_415, 1); - x_421 = x_415; -} else { - lean_dec_ref(x_415); - x_421 = lean_box(0); -} -if (lean_is_scalar(x_421)) { - x_422 = lean_alloc_ctor(1, 2, 0); -} else { - x_422 = x_421; -} -lean_ctor_set(x_422, 0, x_419); -lean_ctor_set(x_422, 1, x_420); -return x_422; +x_8 = x_1; +x_9 = x_327; +goto block_27; } } else { -lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; -lean_dec(x_410); +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; +lean_dec(x_324); +lean_dec(x_323); lean_dec(x_1); -x_423 = lean_ctor_get(x_411, 0); -lean_inc(x_423); -x_424 = lean_ctor_get(x_411, 1); -lean_inc(x_424); -if (lean_is_exclusive(x_411)) { - lean_ctor_release(x_411, 0); - lean_ctor_release(x_411, 1); - x_425 = x_411; +x_330 = lean_ctor_get(x_325, 0); +lean_inc(x_330); +x_331 = lean_ctor_get(x_325, 1); +lean_inc(x_331); +if (lean_is_exclusive(x_325)) { + lean_ctor_release(x_325, 0); + lean_ctor_release(x_325, 1); + x_332 = x_325; } else { - lean_dec_ref(x_411); - x_425 = lean_box(0); + lean_dec_ref(x_325); + x_332 = lean_box(0); } -if (lean_is_scalar(x_425)) { - x_426 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_332)) { + x_333 = lean_alloc_ctor(1, 2, 0); } else { - x_426 = x_425; + x_333 = x_332; } -lean_ctor_set(x_426, 0, x_423); -lean_ctor_set(x_426, 1, x_424); -return x_426; -} -} -else -{ -lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; -lean_dec(x_1); -x_427 = lean_ctor_get(x_407, 0); -lean_inc(x_427); -x_428 = lean_ctor_get(x_407, 1); -lean_inc(x_428); -if (lean_is_exclusive(x_407)) { - lean_ctor_release(x_407, 0); - lean_ctor_release(x_407, 1); - x_429 = x_407; -} else { - lean_dec_ref(x_407); - x_429 = lean_box(0); -} -if (lean_is_scalar(x_429)) { - x_430 = lean_alloc_ctor(1, 2, 0); -} else { - x_430 = x_429; -} -lean_ctor_set(x_430, 0, x_427); -lean_ctor_set(x_430, 1, x_428); -return x_430; +lean_ctor_set(x_333, 0, x_330); +lean_ctor_set(x_333, 1, x_331); +return x_333; } } case 5: { -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; -x_431 = lean_unsigned_to_nat(0u); -x_432 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_431); -x_433 = l_Lean_instantiateExprMVars___rarg___lambda__20___closed__1; -lean_inc(x_432); -x_434 = lean_mk_array(x_432, x_433); -x_435 = lean_unsigned_to_nat(1u); -x_436 = lean_nat_sub(x_432, x_435); -lean_dec(x_432); +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_334 = lean_unsigned_to_nat(0u); +x_335 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_334); +x_336 = l_Lean_instantiateExprMVars___rarg___lambda__20___closed__1; +lean_inc(x_335); +x_337 = lean_mk_array(x_335, x_336); +x_338 = lean_unsigned_to_nat(1u); +x_339 = lean_nat_sub(x_335, x_338); +lean_dec(x_335); lean_inc(x_1); -x_437 = l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg(x_5, x_1, x_434, x_436, x_2, x_3, x_347); -if (lean_obj_tag(x_437) == 0) +x_340 = l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg(x_5, x_1, x_337, x_339, x_2, x_3, x_277); +if (lean_obj_tag(x_340) == 0) { -lean_object* x_438; lean_object* x_439; lean_object* x_440; -x_438 = lean_ctor_get(x_437, 0); -lean_inc(x_438); -x_439 = lean_ctor_get(x_437, 1); -lean_inc(x_439); -lean_dec(x_437); -x_440 = lean_st_ref_take(x_2, x_439); -if (lean_obj_tag(x_440) == 0) +lean_object* x_341; lean_object* x_342; lean_object* x_343; +x_341 = lean_ctor_get(x_340, 0); +lean_inc(x_341); +x_342 = lean_ctor_get(x_340, 1); +lean_inc(x_342); +lean_dec(x_340); +x_343 = lean_st_ref_take(x_2, x_342); +if (lean_obj_tag(x_343) == 0) { -lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; -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); -lean_inc(x_438); -x_443 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_441, x_1, x_438); -x_444 = lean_st_ref_set(x_2, x_443, x_442); -if (lean_obj_tag(x_444) == 0) +lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; +x_344 = lean_ctor_get(x_343, 0); +lean_inc(x_344); +x_345 = lean_ctor_get(x_343, 1); +lean_inc(x_345); +lean_dec(x_343); +lean_inc(x_341); +x_346 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_344, x_1, x_341); +x_347 = lean_st_ref_set(x_2, x_346, x_345); +if (lean_obj_tag(x_347) == 0) { -lean_object* x_445; lean_object* x_446; lean_object* x_447; -x_445 = lean_ctor_get(x_444, 1); -lean_inc(x_445); -if (lean_is_exclusive(x_444)) { - lean_ctor_release(x_444, 0); - lean_ctor_release(x_444, 1); - x_446 = x_444; +lean_object* x_348; lean_object* x_349; lean_object* x_350; +x_348 = lean_ctor_get(x_347, 1); +lean_inc(x_348); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + x_349 = x_347; } else { - lean_dec_ref(x_444); - x_446 = lean_box(0); + lean_dec_ref(x_347); + x_349 = lean_box(0); } -if (lean_is_scalar(x_446)) { - x_447 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_349)) { + x_350 = lean_alloc_ctor(0, 2, 0); } else { - x_447 = x_446; + x_350 = x_349; } -lean_ctor_set(x_447, 0, x_438); -lean_ctor_set(x_447, 1, x_445); -return x_447; +lean_ctor_set(x_350, 0, x_341); +lean_ctor_set(x_350, 1, x_348); +return x_350; } else { -lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; -lean_dec(x_438); -x_448 = lean_ctor_get(x_444, 0); -lean_inc(x_448); -x_449 = lean_ctor_get(x_444, 1); -lean_inc(x_449); -if (lean_is_exclusive(x_444)) { - lean_ctor_release(x_444, 0); - lean_ctor_release(x_444, 1); - x_450 = x_444; +lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; +lean_dec(x_341); +x_351 = lean_ctor_get(x_347, 0); +lean_inc(x_351); +x_352 = lean_ctor_get(x_347, 1); +lean_inc(x_352); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + x_353 = x_347; } else { - lean_dec_ref(x_444); - x_450 = lean_box(0); + lean_dec_ref(x_347); + x_353 = lean_box(0); } -if (lean_is_scalar(x_450)) { - x_451 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_353)) { + x_354 = lean_alloc_ctor(1, 2, 0); } else { - x_451 = x_450; + x_354 = x_353; } -lean_ctor_set(x_451, 0, x_448); -lean_ctor_set(x_451, 1, x_449); -return x_451; +lean_ctor_set(x_354, 0, x_351); +lean_ctor_set(x_354, 1, x_352); +return x_354; } } else { -lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; -lean_dec(x_438); +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; +lean_dec(x_341); lean_dec(x_1); -x_452 = lean_ctor_get(x_440, 0); -lean_inc(x_452); -x_453 = lean_ctor_get(x_440, 1); -lean_inc(x_453); -if (lean_is_exclusive(x_440)) { - lean_ctor_release(x_440, 0); - lean_ctor_release(x_440, 1); - x_454 = x_440; +x_355 = lean_ctor_get(x_343, 0); +lean_inc(x_355); +x_356 = lean_ctor_get(x_343, 1); +lean_inc(x_356); +if (lean_is_exclusive(x_343)) { + lean_ctor_release(x_343, 0); + lean_ctor_release(x_343, 1); + x_357 = x_343; } else { - lean_dec_ref(x_440); - x_454 = lean_box(0); + lean_dec_ref(x_343); + x_357 = lean_box(0); } -if (lean_is_scalar(x_454)) { - x_455 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_357)) { + x_358 = lean_alloc_ctor(1, 2, 0); } else { - x_455 = x_454; + x_358 = x_357; } -lean_ctor_set(x_455, 0, x_452); -lean_ctor_set(x_455, 1, x_453); -return x_455; +lean_ctor_set(x_358, 0, x_355); +lean_ctor_set(x_358, 1, x_356); +return x_358; } } else { -lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; +lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_dec(x_1); -x_456 = lean_ctor_get(x_437, 0); -lean_inc(x_456); -x_457 = lean_ctor_get(x_437, 1); -lean_inc(x_457); -if (lean_is_exclusive(x_437)) { - lean_ctor_release(x_437, 0); - lean_ctor_release(x_437, 1); - x_458 = x_437; +x_359 = lean_ctor_get(x_340, 0); +lean_inc(x_359); +x_360 = lean_ctor_get(x_340, 1); +lean_inc(x_360); +if (lean_is_exclusive(x_340)) { + lean_ctor_release(x_340, 0); + lean_ctor_release(x_340, 1); + x_361 = x_340; } else { - lean_dec_ref(x_437); - x_458 = lean_box(0); + lean_dec_ref(x_340); + x_361 = lean_box(0); } -if (lean_is_scalar(x_458)) { - x_459 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_361)) { + x_362 = lean_alloc_ctor(1, 2, 0); } else { - x_459 = x_458; + x_362 = x_361; } -lean_ctor_set(x_459, 0, x_456); -lean_ctor_set(x_459, 1, x_457); -return x_459; +lean_ctor_set(x_362, 0, x_359); +lean_ctor_set(x_362, 1, x_360); +return x_362; } } case 6: { -lean_object* x_460; lean_object* x_461; uint8_t x_462; lean_object* x_463; -x_460 = lean_ctor_get(x_1, 1); -lean_inc(x_460); -x_461 = lean_ctor_get(x_1, 2); -lean_inc(x_461); -x_462 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_463 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_460, x_2, x_3, x_347); -if (lean_obj_tag(x_463) == 0) +lean_object* x_363; lean_object* x_364; lean_object* x_365; uint8_t x_366; lean_object* x_367; +x_363 = lean_ctor_get(x_1, 0); +lean_inc(x_363); +x_364 = lean_ctor_get(x_1, 1); +lean_inc(x_364); +x_365 = lean_ctor_get(x_1, 2); +lean_inc(x_365); +x_366 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_inc(x_364); +x_367 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_364, x_2, x_3, x_277); +if (lean_obj_tag(x_367) == 0) { -lean_object* x_464; lean_object* x_465; lean_object* x_466; -x_464 = lean_ctor_get(x_463, 0); -lean_inc(x_464); -x_465 = lean_ctor_get(x_463, 1); -lean_inc(x_465); -lean_dec(x_463); -x_466 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_461, x_2, x_3, x_465); -if (lean_obj_tag(x_466) == 0) +lean_object* x_368; lean_object* x_369; lean_object* x_370; +x_368 = lean_ctor_get(x_367, 0); +lean_inc(x_368); +x_369 = lean_ctor_get(x_367, 1); +lean_inc(x_369); +lean_dec(x_367); +lean_inc(x_365); +x_370 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_365, x_2, x_3, x_369); +if (lean_obj_tag(x_370) == 0) { -lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; -x_467 = lean_ctor_get(x_466, 0); -lean_inc(x_467); -x_468 = lean_ctor_get(x_466, 1); -lean_inc(x_468); -lean_dec(x_466); -lean_inc(x_1); -x_469 = lean_expr_update_lambda(x_1, x_462, x_464, x_467); -x_470 = lean_st_ref_take(x_2, x_468); -if (lean_obj_tag(x_470) == 0) +lean_object* x_371; lean_object* x_372; lean_object* x_373; size_t x_374; size_t x_375; uint8_t x_376; +x_371 = lean_ctor_get(x_370, 0); +lean_inc(x_371); +x_372 = lean_ctor_get(x_370, 1); +lean_inc(x_372); +lean_dec(x_370); +lean_inc(x_365); +lean_inc(x_364); +lean_inc(x_363); +x_373 = l_Lean_Expr_lam___override(x_363, x_364, x_365, x_366); +x_374 = lean_ptr_addr(x_364); +lean_dec(x_364); +x_375 = lean_ptr_addr(x_368); +x_376 = lean_usize_dec_eq(x_374, x_375); +if (x_376 == 0) { -lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; -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); -lean_inc(x_469); -x_473 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_471, x_1, x_469); -x_474 = lean_st_ref_set(x_2, x_473, x_472); -if (lean_obj_tag(x_474) == 0) -{ -lean_object* x_475; lean_object* x_476; lean_object* x_477; -x_475 = lean_ctor_get(x_474, 1); -lean_inc(x_475); -if (lean_is_exclusive(x_474)) { - lean_ctor_release(x_474, 0); - lean_ctor_release(x_474, 1); - x_476 = x_474; -} else { - lean_dec_ref(x_474); - x_476 = lean_box(0); -} -if (lean_is_scalar(x_476)) { - x_477 = lean_alloc_ctor(0, 2, 0); -} else { - x_477 = x_476; -} -lean_ctor_set(x_477, 0, x_469); -lean_ctor_set(x_477, 1, x_475); -return x_477; +lean_object* x_377; +lean_dec(x_373); +lean_dec(x_365); +x_377 = l_Lean_Expr_lam___override(x_363, x_368, x_371, x_366); +x_8 = x_377; +x_9 = x_372; +goto block_27; } else { -lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; -lean_dec(x_469); -x_478 = lean_ctor_get(x_474, 0); -lean_inc(x_478); -x_479 = lean_ctor_get(x_474, 1); -lean_inc(x_479); -if (lean_is_exclusive(x_474)) { - lean_ctor_release(x_474, 0); - lean_ctor_release(x_474, 1); - x_480 = x_474; -} else { - lean_dec_ref(x_474); - x_480 = lean_box(0); +size_t x_378; size_t x_379; uint8_t x_380; +x_378 = lean_ptr_addr(x_365); +lean_dec(x_365); +x_379 = lean_ptr_addr(x_371); +x_380 = lean_usize_dec_eq(x_378, x_379); +if (x_380 == 0) +{ +lean_object* x_381; +lean_dec(x_373); +x_381 = l_Lean_Expr_lam___override(x_363, x_368, x_371, x_366); +x_8 = x_381; +x_9 = x_372; +goto block_27; } -if (lean_is_scalar(x_480)) { - x_481 = lean_alloc_ctor(1, 2, 0); -} else { - x_481 = x_480; +else +{ +uint8_t x_382; +x_382 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_366, x_366); +if (x_382 == 0) +{ +lean_object* x_383; +lean_dec(x_373); +x_383 = l_Lean_Expr_lam___override(x_363, x_368, x_371, x_366); +x_8 = x_383; +x_9 = x_372; +goto block_27; } -lean_ctor_set(x_481, 0, x_478); -lean_ctor_set(x_481, 1, x_479); -return x_481; +else +{ +lean_dec(x_371); +lean_dec(x_368); +lean_dec(x_363); +x_8 = x_373; +x_9 = x_372; +goto block_27; +} +} +} +} +else +{ +lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; +lean_dec(x_368); +lean_dec(x_365); +lean_dec(x_364); +lean_dec(x_363); +lean_dec(x_1); +x_384 = lean_ctor_get(x_370, 0); +lean_inc(x_384); +x_385 = lean_ctor_get(x_370, 1); +lean_inc(x_385); +if (lean_is_exclusive(x_370)) { + lean_ctor_release(x_370, 0); + lean_ctor_release(x_370, 1); + x_386 = x_370; +} else { + lean_dec_ref(x_370); + x_386 = lean_box(0); +} +if (lean_is_scalar(x_386)) { + x_387 = lean_alloc_ctor(1, 2, 0); +} else { + x_387 = x_386; +} +lean_ctor_set(x_387, 0, x_384); +lean_ctor_set(x_387, 1, x_385); +return x_387; +} +} +else +{ +lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; +lean_dec(x_365); +lean_dec(x_364); +lean_dec(x_363); +lean_dec(x_1); +x_388 = lean_ctor_get(x_367, 0); +lean_inc(x_388); +x_389 = lean_ctor_get(x_367, 1); +lean_inc(x_389); +if (lean_is_exclusive(x_367)) { + lean_ctor_release(x_367, 0); + lean_ctor_release(x_367, 1); + x_390 = x_367; +} else { + lean_dec_ref(x_367); + x_390 = lean_box(0); +} +if (lean_is_scalar(x_390)) { + x_391 = lean_alloc_ctor(1, 2, 0); +} else { + x_391 = x_390; +} +lean_ctor_set(x_391, 0, x_388); +lean_ctor_set(x_391, 1, x_389); +return x_391; +} +} +case 7: +{ +lean_object* x_392; lean_object* x_393; lean_object* x_394; uint8_t x_395; lean_object* x_396; +x_392 = lean_ctor_get(x_1, 0); +lean_inc(x_392); +x_393 = lean_ctor_get(x_1, 1); +lean_inc(x_393); +x_394 = lean_ctor_get(x_1, 2); +lean_inc(x_394); +x_395 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_inc(x_393); +x_396 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_393, x_2, x_3, x_277); +if (lean_obj_tag(x_396) == 0) +{ +lean_object* x_397; lean_object* x_398; lean_object* x_399; +x_397 = lean_ctor_get(x_396, 0); +lean_inc(x_397); +x_398 = lean_ctor_get(x_396, 1); +lean_inc(x_398); +lean_dec(x_396); +lean_inc(x_394); +x_399 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_394, x_2, x_3, x_398); +if (lean_obj_tag(x_399) == 0) +{ +lean_object* x_400; lean_object* x_401; lean_object* x_402; size_t x_403; size_t x_404; uint8_t x_405; +x_400 = lean_ctor_get(x_399, 0); +lean_inc(x_400); +x_401 = lean_ctor_get(x_399, 1); +lean_inc(x_401); +lean_dec(x_399); +lean_inc(x_394); +lean_inc(x_393); +lean_inc(x_392); +x_402 = l_Lean_Expr_forallE___override(x_392, x_393, x_394, x_395); +x_403 = lean_ptr_addr(x_393); +lean_dec(x_393); +x_404 = lean_ptr_addr(x_397); +x_405 = lean_usize_dec_eq(x_403, x_404); +if (x_405 == 0) +{ +lean_object* x_406; +lean_dec(x_402); +lean_dec(x_394); +x_406 = l_Lean_Expr_forallE___override(x_392, x_397, x_400, x_395); +x_8 = x_406; +x_9 = x_401; +goto block_27; +} +else +{ +size_t x_407; size_t x_408; uint8_t x_409; +x_407 = lean_ptr_addr(x_394); +lean_dec(x_394); +x_408 = lean_ptr_addr(x_400); +x_409 = lean_usize_dec_eq(x_407, x_408); +if (x_409 == 0) +{ +lean_object* x_410; +lean_dec(x_402); +x_410 = l_Lean_Expr_forallE___override(x_392, x_397, x_400, x_395); +x_8 = x_410; +x_9 = x_401; +goto block_27; +} +else +{ +uint8_t x_411; +x_411 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_395, x_395); +if (x_411 == 0) +{ +lean_object* x_412; +lean_dec(x_402); +x_412 = l_Lean_Expr_forallE___override(x_392, x_397, x_400, x_395); +x_8 = x_412; +x_9 = x_401; +goto block_27; +} +else +{ +lean_dec(x_400); +lean_dec(x_397); +lean_dec(x_392); +x_8 = x_402; +x_9 = x_401; +goto block_27; +} +} +} +} +else +{ +lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; +lean_dec(x_397); +lean_dec(x_394); +lean_dec(x_393); +lean_dec(x_392); +lean_dec(x_1); +x_413 = lean_ctor_get(x_399, 0); +lean_inc(x_413); +x_414 = lean_ctor_get(x_399, 1); +lean_inc(x_414); +if (lean_is_exclusive(x_399)) { + lean_ctor_release(x_399, 0); + lean_ctor_release(x_399, 1); + x_415 = x_399; +} else { + lean_dec_ref(x_399); + x_415 = lean_box(0); +} +if (lean_is_scalar(x_415)) { + x_416 = lean_alloc_ctor(1, 2, 0); +} else { + x_416 = x_415; +} +lean_ctor_set(x_416, 0, x_413); +lean_ctor_set(x_416, 1, x_414); +return x_416; +} +} +else +{ +lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; +lean_dec(x_394); +lean_dec(x_393); +lean_dec(x_392); +lean_dec(x_1); +x_417 = lean_ctor_get(x_396, 0); +lean_inc(x_417); +x_418 = lean_ctor_get(x_396, 1); +lean_inc(x_418); +if (lean_is_exclusive(x_396)) { + lean_ctor_release(x_396, 0); + lean_ctor_release(x_396, 1); + x_419 = x_396; +} else { + lean_dec_ref(x_396); + x_419 = lean_box(0); +} +if (lean_is_scalar(x_419)) { + x_420 = lean_alloc_ctor(1, 2, 0); +} else { + x_420 = x_419; +} +lean_ctor_set(x_420, 0, x_417); +lean_ctor_set(x_420, 1, x_418); +return x_420; +} +} +case 8: +{ +lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; uint8_t x_425; lean_object* x_426; +x_421 = lean_ctor_get(x_1, 0); +lean_inc(x_421); +x_422 = lean_ctor_get(x_1, 1); +lean_inc(x_422); +x_423 = lean_ctor_get(x_1, 2); +lean_inc(x_423); +x_424 = lean_ctor_get(x_1, 3); +lean_inc(x_424); +x_425 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); +lean_inc(x_422); +x_426 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_422, x_2, x_3, x_277); +if (lean_obj_tag(x_426) == 0) +{ +lean_object* x_427; lean_object* x_428; lean_object* x_429; +x_427 = lean_ctor_get(x_426, 0); +lean_inc(x_427); +x_428 = lean_ctor_get(x_426, 1); +lean_inc(x_428); +lean_dec(x_426); +lean_inc(x_423); +x_429 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_423, x_2, x_3, x_428); +if (lean_obj_tag(x_429) == 0) +{ +lean_object* x_430; lean_object* x_431; lean_object* x_432; +x_430 = lean_ctor_get(x_429, 0); +lean_inc(x_430); +x_431 = lean_ctor_get(x_429, 1); +lean_inc(x_431); +lean_dec(x_429); +lean_inc(x_424); +x_432 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_424, x_2, x_3, x_431); +if (lean_obj_tag(x_432) == 0) +{ +lean_object* x_433; lean_object* x_434; size_t x_435; size_t x_436; uint8_t x_437; +x_433 = lean_ctor_get(x_432, 0); +lean_inc(x_433); +x_434 = lean_ctor_get(x_432, 1); +lean_inc(x_434); +lean_dec(x_432); +x_435 = lean_ptr_addr(x_422); +lean_dec(x_422); +x_436 = lean_ptr_addr(x_427); +x_437 = lean_usize_dec_eq(x_435, x_436); +if (x_437 == 0) +{ +lean_object* x_438; +lean_dec(x_424); +lean_dec(x_423); +x_438 = l_Lean_Expr_letE___override(x_421, x_427, x_430, x_433, x_425); +x_8 = x_438; +x_9 = x_434; +goto block_27; +} +else +{ +size_t x_439; size_t x_440; uint8_t x_441; +x_439 = lean_ptr_addr(x_423); +lean_dec(x_423); +x_440 = lean_ptr_addr(x_430); +x_441 = lean_usize_dec_eq(x_439, x_440); +if (x_441 == 0) +{ +lean_object* x_442; +lean_dec(x_424); +x_442 = l_Lean_Expr_letE___override(x_421, x_427, x_430, x_433, x_425); +x_8 = x_442; +x_9 = x_434; +goto block_27; +} +else +{ +size_t x_443; size_t x_444; uint8_t x_445; +x_443 = lean_ptr_addr(x_424); +lean_dec(x_424); +x_444 = lean_ptr_addr(x_433); +x_445 = lean_usize_dec_eq(x_443, x_444); +if (x_445 == 0) +{ +lean_object* x_446; +x_446 = l_Lean_Expr_letE___override(x_421, x_427, x_430, x_433, x_425); +x_8 = x_446; +x_9 = x_434; +goto block_27; +} +else +{ +lean_dec(x_433); +lean_dec(x_430); +lean_dec(x_427); +lean_dec(x_421); +lean_inc(x_1); +x_8 = x_1; +x_9 = x_434; +goto block_27; +} +} +} +} +else +{ +lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; +lean_dec(x_430); +lean_dec(x_427); +lean_dec(x_424); +lean_dec(x_423); +lean_dec(x_422); +lean_dec(x_421); +lean_dec(x_1); +x_447 = lean_ctor_get(x_432, 0); +lean_inc(x_447); +x_448 = lean_ctor_get(x_432, 1); +lean_inc(x_448); +if (lean_is_exclusive(x_432)) { + lean_ctor_release(x_432, 0); + lean_ctor_release(x_432, 1); + x_449 = x_432; +} else { + lean_dec_ref(x_432); + x_449 = lean_box(0); +} +if (lean_is_scalar(x_449)) { + x_450 = lean_alloc_ctor(1, 2, 0); +} else { + x_450 = x_449; +} +lean_ctor_set(x_450, 0, x_447); +lean_ctor_set(x_450, 1, x_448); +return x_450; +} +} +else +{ +lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; +lean_dec(x_427); +lean_dec(x_424); +lean_dec(x_423); +lean_dec(x_422); +lean_dec(x_421); +lean_dec(x_1); +x_451 = lean_ctor_get(x_429, 0); +lean_inc(x_451); +x_452 = lean_ctor_get(x_429, 1); +lean_inc(x_452); +if (lean_is_exclusive(x_429)) { + lean_ctor_release(x_429, 0); + lean_ctor_release(x_429, 1); + x_453 = x_429; +} else { + lean_dec_ref(x_429); + x_453 = lean_box(0); +} +if (lean_is_scalar(x_453)) { + x_454 = lean_alloc_ctor(1, 2, 0); +} else { + x_454 = x_453; +} +lean_ctor_set(x_454, 0, x_451); +lean_ctor_set(x_454, 1, x_452); +return x_454; +} +} +else +{ +lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; +lean_dec(x_424); +lean_dec(x_423); +lean_dec(x_422); +lean_dec(x_421); +lean_dec(x_1); +x_455 = lean_ctor_get(x_426, 0); +lean_inc(x_455); +x_456 = lean_ctor_get(x_426, 1); +lean_inc(x_456); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + x_457 = x_426; +} else { + lean_dec_ref(x_426); + x_457 = lean_box(0); +} +if (lean_is_scalar(x_457)) { + x_458 = lean_alloc_ctor(1, 2, 0); +} else { + x_458 = x_457; +} +lean_ctor_set(x_458, 0, x_455); +lean_ctor_set(x_458, 1, x_456); +return x_458; +} +} +case 10: +{ +lean_object* x_459; lean_object* x_460; lean_object* x_461; +x_459 = lean_ctor_get(x_1, 0); +lean_inc(x_459); +x_460 = lean_ctor_get(x_1, 1); +lean_inc(x_460); +lean_inc(x_460); +x_461 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_460, x_2, x_3, x_277); +if (lean_obj_tag(x_461) == 0) +{ +lean_object* x_462; lean_object* x_463; size_t x_464; size_t x_465; uint8_t x_466; +x_462 = lean_ctor_get(x_461, 0); +lean_inc(x_462); +x_463 = lean_ctor_get(x_461, 1); +lean_inc(x_463); +lean_dec(x_461); +x_464 = lean_ptr_addr(x_460); +lean_dec(x_460); +x_465 = lean_ptr_addr(x_462); +x_466 = lean_usize_dec_eq(x_464, x_465); +if (x_466 == 0) +{ +lean_object* x_467; +x_467 = l_Lean_Expr_mdata___override(x_459, x_462); +x_8 = x_467; +x_9 = x_463; +goto block_27; +} +else +{ +lean_dec(x_462); +lean_dec(x_459); +lean_inc(x_1); +x_8 = x_1; +x_9 = x_463; +goto block_27; +} +} +else +{ +lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; +lean_dec(x_460); +lean_dec(x_459); +lean_dec(x_1); +x_468 = lean_ctor_get(x_461, 0); +lean_inc(x_468); +x_469 = lean_ctor_get(x_461, 1); +lean_inc(x_469); +if (lean_is_exclusive(x_461)) { + lean_ctor_release(x_461, 0); + lean_ctor_release(x_461, 1); + x_470 = x_461; +} else { + lean_dec_ref(x_461); + x_470 = lean_box(0); +} +if (lean_is_scalar(x_470)) { + x_471 = lean_alloc_ctor(1, 2, 0); +} else { + x_471 = x_470; +} +lean_ctor_set(x_471, 0, x_468); +lean_ctor_set(x_471, 1, x_469); +return x_471; +} +} +case 11: +{ +lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; +x_472 = lean_ctor_get(x_1, 0); +lean_inc(x_472); +x_473 = lean_ctor_get(x_1, 1); +lean_inc(x_473); +x_474 = lean_ctor_get(x_1, 2); +lean_inc(x_474); +lean_inc(x_474); +x_475 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_474, x_2, x_3, x_277); +if (lean_obj_tag(x_475) == 0) +{ +lean_object* x_476; lean_object* x_477; size_t x_478; size_t x_479; uint8_t x_480; +x_476 = lean_ctor_get(x_475, 0); +lean_inc(x_476); +x_477 = lean_ctor_get(x_475, 1); +lean_inc(x_477); +lean_dec(x_475); +x_478 = lean_ptr_addr(x_474); +lean_dec(x_474); +x_479 = lean_ptr_addr(x_476); +x_480 = lean_usize_dec_eq(x_478, x_479); +if (x_480 == 0) +{ +lean_object* x_481; +x_481 = l_Lean_Expr_proj___override(x_472, x_473, x_476); +x_8 = x_481; +x_9 = x_477; +goto block_27; +} +else +{ +lean_dec(x_476); +lean_dec(x_473); +lean_dec(x_472); +lean_inc(x_1); +x_8 = x_1; +x_9 = x_477; +goto block_27; } } else { lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; -lean_dec(x_469); +lean_dec(x_474); +lean_dec(x_473); +lean_dec(x_472); lean_dec(x_1); -x_482 = lean_ctor_get(x_470, 0); +x_482 = lean_ctor_get(x_475, 0); lean_inc(x_482); -x_483 = lean_ctor_get(x_470, 1); +x_483 = lean_ctor_get(x_475, 1); lean_inc(x_483); -if (lean_is_exclusive(x_470)) { - lean_ctor_release(x_470, 0); - lean_ctor_release(x_470, 1); - x_484 = x_470; +if (lean_is_exclusive(x_475)) { + lean_ctor_release(x_475, 0); + lean_ctor_release(x_475, 1); + x_484 = x_475; } else { - lean_dec_ref(x_470); + lean_dec_ref(x_475); x_484 = lean_box(0); } if (lean_is_scalar(x_484)) { @@ -24468,822 +25434,132 @@ lean_ctor_set(x_485, 1, x_483); return x_485; } } -else +default: { -lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; -lean_dec(x_464); -lean_dec(x_1); -x_486 = lean_ctor_get(x_466, 0); -lean_inc(x_486); -x_487 = lean_ctor_get(x_466, 1); +lean_object* x_486; +x_486 = lean_st_ref_take(x_2, x_277); +if (lean_obj_tag(x_486) == 0) +{ +lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; +x_487 = lean_ctor_get(x_486, 0); lean_inc(x_487); -if (lean_is_exclusive(x_466)) { - lean_ctor_release(x_466, 0); - lean_ctor_release(x_466, 1); - x_488 = x_466; -} else { - lean_dec_ref(x_466); - x_488 = lean_box(0); -} -if (lean_is_scalar(x_488)) { - x_489 = lean_alloc_ctor(1, 2, 0); -} else { - x_489 = x_488; -} -lean_ctor_set(x_489, 0, x_486); -lean_ctor_set(x_489, 1, x_487); -return x_489; -} -} -else +x_488 = lean_ctor_get(x_486, 1); +lean_inc(x_488); +lean_dec(x_486); +lean_inc_n(x_1, 2); +x_489 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_487, x_1, x_1); +x_490 = lean_st_ref_set(x_2, x_489, x_488); +if (lean_obj_tag(x_490) == 0) { -lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; -lean_dec(x_461); -lean_dec(x_1); -x_490 = lean_ctor_get(x_463, 0); -lean_inc(x_490); -x_491 = lean_ctor_get(x_463, 1); +lean_object* x_491; lean_object* x_492; lean_object* x_493; +x_491 = lean_ctor_get(x_490, 1); lean_inc(x_491); -if (lean_is_exclusive(x_463)) { - lean_ctor_release(x_463, 0); - lean_ctor_release(x_463, 1); - x_492 = x_463; +if (lean_is_exclusive(x_490)) { + lean_ctor_release(x_490, 0); + lean_ctor_release(x_490, 1); + x_492 = x_490; } else { - lean_dec_ref(x_463); + lean_dec_ref(x_490); x_492 = lean_box(0); } if (lean_is_scalar(x_492)) { - x_493 = lean_alloc_ctor(1, 2, 0); + x_493 = lean_alloc_ctor(0, 2, 0); } else { x_493 = x_492; } -lean_ctor_set(x_493, 0, x_490); +lean_ctor_set(x_493, 0, x_1); lean_ctor_set(x_493, 1, x_491); return x_493; } -} -case 7: +else { -lean_object* x_494; lean_object* x_495; uint8_t x_496; lean_object* x_497; -x_494 = lean_ctor_get(x_1, 1); +lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; +lean_dec(x_1); +x_494 = lean_ctor_get(x_490, 0); lean_inc(x_494); -x_495 = lean_ctor_get(x_1, 2); +x_495 = lean_ctor_get(x_490, 1); lean_inc(x_495); -x_496 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); -x_497 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_494, x_2, x_3, x_347); -if (lean_obj_tag(x_497) == 0) +if (lean_is_exclusive(x_490)) { + lean_ctor_release(x_490, 0); + lean_ctor_release(x_490, 1); + x_496 = x_490; +} else { + lean_dec_ref(x_490); + x_496 = lean_box(0); +} +if (lean_is_scalar(x_496)) { + x_497 = lean_alloc_ctor(1, 2, 0); +} else { + x_497 = x_496; +} +lean_ctor_set(x_497, 0, x_494); +lean_ctor_set(x_497, 1, x_495); +return x_497; +} +} +else { -lean_object* x_498; lean_object* x_499; lean_object* x_500; -x_498 = lean_ctor_get(x_497, 0); +lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; +lean_dec(x_1); +x_498 = lean_ctor_get(x_486, 0); lean_inc(x_498); -x_499 = lean_ctor_get(x_497, 1); +x_499 = lean_ctor_get(x_486, 1); lean_inc(x_499); -lean_dec(x_497); -x_500 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_495, x_2, x_3, x_499); -if (lean_obj_tag(x_500) == 0) +if (lean_is_exclusive(x_486)) { + lean_ctor_release(x_486, 0); + lean_ctor_release(x_486, 1); + x_500 = x_486; +} else { + lean_dec_ref(x_486); + x_500 = lean_box(0); +} +if (lean_is_scalar(x_500)) { + x_501 = lean_alloc_ctor(1, 2, 0); +} else { + x_501 = x_500; +} +lean_ctor_set(x_501, 0, x_498); +lean_ctor_set(x_501, 1, x_499); +return x_501; +} +} +} +} +else { -lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; -x_501 = lean_ctor_get(x_500, 0); -lean_inc(x_501); -x_502 = lean_ctor_get(x_500, 1); +lean_object* x_502; lean_object* x_503; +lean_dec(x_1); +x_502 = lean_ctor_get(x_278, 0); lean_inc(x_502); -lean_dec(x_500); -lean_inc(x_1); -x_503 = lean_expr_update_forall(x_1, x_496, x_498, x_501); -x_504 = lean_st_ref_take(x_2, x_502); -if (lean_obj_tag(x_504) == 0) -{ -lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; -x_505 = lean_ctor_get(x_504, 0); -lean_inc(x_505); -x_506 = lean_ctor_get(x_504, 1); -lean_inc(x_506); -lean_dec(x_504); -lean_inc(x_503); -x_507 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_505, x_1, x_503); -x_508 = lean_st_ref_set(x_2, x_507, x_506); -if (lean_obj_tag(x_508) == 0) -{ -lean_object* x_509; lean_object* x_510; lean_object* x_511; -x_509 = lean_ctor_get(x_508, 1); -lean_inc(x_509); -if (lean_is_exclusive(x_508)) { - lean_ctor_release(x_508, 0); - lean_ctor_release(x_508, 1); - x_510 = x_508; -} else { - lean_dec_ref(x_508); - x_510 = lean_box(0); +lean_dec(x_278); +x_503 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_503, 0, x_502); +lean_ctor_set(x_503, 1, x_277); +return x_503; } -if (lean_is_scalar(x_510)) { - x_511 = lean_alloc_ctor(0, 2, 0); -} else { - x_511 = x_510; -} -lean_ctor_set(x_511, 0, x_503); -lean_ctor_set(x_511, 1, x_509); -return x_511; -} -else -{ -lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; -lean_dec(x_503); -x_512 = lean_ctor_get(x_508, 0); -lean_inc(x_512); -x_513 = lean_ctor_get(x_508, 1); -lean_inc(x_513); -if (lean_is_exclusive(x_508)) { - lean_ctor_release(x_508, 0); - lean_ctor_release(x_508, 1); - x_514 = x_508; -} else { - lean_dec_ref(x_508); - x_514 = lean_box(0); -} -if (lean_is_scalar(x_514)) { - x_515 = lean_alloc_ctor(1, 2, 0); -} else { - x_515 = x_514; -} -lean_ctor_set(x_515, 0, x_512); -lean_ctor_set(x_515, 1, x_513); -return x_515; } } else { -lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; -lean_dec(x_503); +uint8_t x_504; lean_dec(x_1); -x_516 = lean_ctor_get(x_504, 0); -lean_inc(x_516); -x_517 = lean_ctor_get(x_504, 1); -lean_inc(x_517); -if (lean_is_exclusive(x_504)) { - lean_ctor_release(x_504, 0); - lean_ctor_release(x_504, 1); - x_518 = x_504; -} else { - lean_dec_ref(x_504); - x_518 = lean_box(0); -} -if (lean_is_scalar(x_518)) { - x_519 = lean_alloc_ctor(1, 2, 0); -} else { - x_519 = x_518; -} -lean_ctor_set(x_519, 0, x_516); -lean_ctor_set(x_519, 1, x_517); -return x_519; -} -} -else -{ -lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; -lean_dec(x_498); -lean_dec(x_1); -x_520 = lean_ctor_get(x_500, 0); -lean_inc(x_520); -x_521 = lean_ctor_get(x_500, 1); -lean_inc(x_521); -if (lean_is_exclusive(x_500)) { - lean_ctor_release(x_500, 0); - lean_ctor_release(x_500, 1); - x_522 = x_500; -} else { - lean_dec_ref(x_500); - x_522 = lean_box(0); -} -if (lean_is_scalar(x_522)) { - x_523 = lean_alloc_ctor(1, 2, 0); -} else { - x_523 = x_522; -} -lean_ctor_set(x_523, 0, x_520); -lean_ctor_set(x_523, 1, x_521); -return x_523; -} -} -else -{ -lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; -lean_dec(x_495); -lean_dec(x_1); -x_524 = lean_ctor_get(x_497, 0); -lean_inc(x_524); -x_525 = lean_ctor_get(x_497, 1); -lean_inc(x_525); -if (lean_is_exclusive(x_497)) { - lean_ctor_release(x_497, 0); - lean_ctor_release(x_497, 1); - x_526 = x_497; -} else { - lean_dec_ref(x_497); - x_526 = lean_box(0); -} -if (lean_is_scalar(x_526)) { - x_527 = lean_alloc_ctor(1, 2, 0); -} else { - x_527 = x_526; -} -lean_ctor_set(x_527, 0, x_524); -lean_ctor_set(x_527, 1, x_525); -return x_527; -} -} -case 8: -{ -lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; -x_528 = lean_ctor_get(x_1, 1); -lean_inc(x_528); -x_529 = lean_ctor_get(x_1, 2); -lean_inc(x_529); -x_530 = lean_ctor_get(x_1, 3); -lean_inc(x_530); -x_531 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_528, x_2, x_3, x_347); -if (lean_obj_tag(x_531) == 0) -{ -lean_object* x_532; lean_object* x_533; lean_object* x_534; -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_531); -x_534 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_529, x_2, x_3, x_533); -if (lean_obj_tag(x_534) == 0) -{ -lean_object* x_535; lean_object* x_536; lean_object* x_537; -x_535 = lean_ctor_get(x_534, 0); -lean_inc(x_535); -x_536 = lean_ctor_get(x_534, 1); -lean_inc(x_536); -lean_dec(x_534); -x_537 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_530, x_2, x_3, x_536); -if (lean_obj_tag(x_537) == 0) -{ -lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; -x_538 = lean_ctor_get(x_537, 0); -lean_inc(x_538); -x_539 = lean_ctor_get(x_537, 1); -lean_inc(x_539); -lean_dec(x_537); -lean_inc(x_1); -x_540 = lean_expr_update_let(x_1, x_532, x_535, x_538); -x_541 = lean_st_ref_take(x_2, x_539); -if (lean_obj_tag(x_541) == 0) -{ -lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; -x_542 = lean_ctor_get(x_541, 0); -lean_inc(x_542); -x_543 = lean_ctor_get(x_541, 1); -lean_inc(x_543); -lean_dec(x_541); -lean_inc(x_540); -x_544 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_542, x_1, x_540); -x_545 = lean_st_ref_set(x_2, x_544, x_543); -if (lean_obj_tag(x_545) == 0) -{ -lean_object* x_546; lean_object* x_547; lean_object* x_548; -x_546 = lean_ctor_get(x_545, 1); -lean_inc(x_546); -if (lean_is_exclusive(x_545)) { - lean_ctor_release(x_545, 0); - lean_ctor_release(x_545, 1); - x_547 = x_545; -} else { - lean_dec_ref(x_545); - x_547 = lean_box(0); -} -if (lean_is_scalar(x_547)) { - x_548 = lean_alloc_ctor(0, 2, 0); -} else { - x_548 = x_547; -} -lean_ctor_set(x_548, 0, x_540); -lean_ctor_set(x_548, 1, x_546); -return x_548; -} -else -{ -lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; -lean_dec(x_540); -x_549 = lean_ctor_get(x_545, 0); -lean_inc(x_549); -x_550 = lean_ctor_get(x_545, 1); -lean_inc(x_550); -if (lean_is_exclusive(x_545)) { - lean_ctor_release(x_545, 0); - lean_ctor_release(x_545, 1); - x_551 = x_545; -} else { - lean_dec_ref(x_545); - x_551 = lean_box(0); -} -if (lean_is_scalar(x_551)) { - x_552 = lean_alloc_ctor(1, 2, 0); -} else { - x_552 = x_551; -} -lean_ctor_set(x_552, 0, x_549); -lean_ctor_set(x_552, 1, x_550); -return x_552; -} -} -else -{ -lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; -lean_dec(x_540); -lean_dec(x_1); -x_553 = lean_ctor_get(x_541, 0); -lean_inc(x_553); -x_554 = lean_ctor_get(x_541, 1); -lean_inc(x_554); -if (lean_is_exclusive(x_541)) { - lean_ctor_release(x_541, 0); - lean_ctor_release(x_541, 1); - x_555 = x_541; -} else { - lean_dec_ref(x_541); - x_555 = lean_box(0); -} -if (lean_is_scalar(x_555)) { - x_556 = lean_alloc_ctor(1, 2, 0); -} else { - x_556 = x_555; -} -lean_ctor_set(x_556, 0, x_553); -lean_ctor_set(x_556, 1, x_554); -return x_556; -} -} -else -{ -lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; -lean_dec(x_535); -lean_dec(x_532); -lean_dec(x_1); -x_557 = lean_ctor_get(x_537, 0); -lean_inc(x_557); -x_558 = lean_ctor_get(x_537, 1); -lean_inc(x_558); -if (lean_is_exclusive(x_537)) { - lean_ctor_release(x_537, 0); - lean_ctor_release(x_537, 1); - x_559 = x_537; -} else { - lean_dec_ref(x_537); - x_559 = lean_box(0); -} -if (lean_is_scalar(x_559)) { - x_560 = lean_alloc_ctor(1, 2, 0); -} else { - x_560 = x_559; -} -lean_ctor_set(x_560, 0, x_557); -lean_ctor_set(x_560, 1, x_558); -return x_560; -} -} -else -{ -lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; -lean_dec(x_532); -lean_dec(x_530); -lean_dec(x_1); -x_561 = lean_ctor_get(x_534, 0); -lean_inc(x_561); -x_562 = lean_ctor_get(x_534, 1); -lean_inc(x_562); -if (lean_is_exclusive(x_534)) { - lean_ctor_release(x_534, 0); - lean_ctor_release(x_534, 1); - x_563 = x_534; -} else { - lean_dec_ref(x_534); - x_563 = lean_box(0); -} -if (lean_is_scalar(x_563)) { - x_564 = lean_alloc_ctor(1, 2, 0); -} else { - x_564 = x_563; -} -lean_ctor_set(x_564, 0, x_561); -lean_ctor_set(x_564, 1, x_562); -return x_564; -} -} -else -{ -lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; -lean_dec(x_530); -lean_dec(x_529); -lean_dec(x_1); -x_565 = lean_ctor_get(x_531, 0); -lean_inc(x_565); -x_566 = lean_ctor_get(x_531, 1); -lean_inc(x_566); -if (lean_is_exclusive(x_531)) { - lean_ctor_release(x_531, 0); - lean_ctor_release(x_531, 1); - x_567 = x_531; -} else { - lean_dec_ref(x_531); - x_567 = lean_box(0); -} -if (lean_is_scalar(x_567)) { - x_568 = lean_alloc_ctor(1, 2, 0); -} else { - x_568 = x_567; -} -lean_ctor_set(x_568, 0, x_565); -lean_ctor_set(x_568, 1, x_566); -return x_568; -} -} -case 10: -{ -lean_object* x_569; lean_object* x_570; -x_569 = lean_ctor_get(x_1, 1); -lean_inc(x_569); -x_570 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_569, x_2, x_3, x_347); -if (lean_obj_tag(x_570) == 0) -{ -lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; -x_571 = lean_ctor_get(x_570, 0); -lean_inc(x_571); -x_572 = lean_ctor_get(x_570, 1); -lean_inc(x_572); -lean_dec(x_570); -lean_inc(x_1); -x_573 = lean_expr_update_mdata(x_1, x_571); -x_574 = lean_st_ref_take(x_2, x_572); -if (lean_obj_tag(x_574) == 0) -{ -lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; -x_575 = lean_ctor_get(x_574, 0); -lean_inc(x_575); -x_576 = lean_ctor_get(x_574, 1); -lean_inc(x_576); -lean_dec(x_574); -lean_inc(x_573); -x_577 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_575, x_1, x_573); -x_578 = lean_st_ref_set(x_2, x_577, x_576); -if (lean_obj_tag(x_578) == 0) -{ -lean_object* x_579; lean_object* x_580; lean_object* x_581; -x_579 = lean_ctor_get(x_578, 1); -lean_inc(x_579); -if (lean_is_exclusive(x_578)) { - lean_ctor_release(x_578, 0); - lean_ctor_release(x_578, 1); - x_580 = x_578; -} else { - lean_dec_ref(x_578); - x_580 = lean_box(0); -} -if (lean_is_scalar(x_580)) { - x_581 = lean_alloc_ctor(0, 2, 0); -} else { - x_581 = x_580; -} -lean_ctor_set(x_581, 0, x_573); -lean_ctor_set(x_581, 1, x_579); -return x_581; -} -else -{ -lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; -lean_dec(x_573); -x_582 = lean_ctor_get(x_578, 0); -lean_inc(x_582); -x_583 = lean_ctor_get(x_578, 1); -lean_inc(x_583); -if (lean_is_exclusive(x_578)) { - lean_ctor_release(x_578, 0); - lean_ctor_release(x_578, 1); - x_584 = x_578; -} else { - lean_dec_ref(x_578); - x_584 = lean_box(0); -} -if (lean_is_scalar(x_584)) { - x_585 = lean_alloc_ctor(1, 2, 0); -} else { - x_585 = x_584; -} -lean_ctor_set(x_585, 0, x_582); -lean_ctor_set(x_585, 1, x_583); -return x_585; -} -} -else -{ -lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; -lean_dec(x_573); -lean_dec(x_1); -x_586 = lean_ctor_get(x_574, 0); -lean_inc(x_586); -x_587 = lean_ctor_get(x_574, 1); -lean_inc(x_587); -if (lean_is_exclusive(x_574)) { - lean_ctor_release(x_574, 0); - lean_ctor_release(x_574, 1); - x_588 = x_574; -} else { - lean_dec_ref(x_574); - x_588 = lean_box(0); -} -if (lean_is_scalar(x_588)) { - x_589 = lean_alloc_ctor(1, 2, 0); -} else { - x_589 = x_588; -} -lean_ctor_set(x_589, 0, x_586); -lean_ctor_set(x_589, 1, x_587); -return x_589; -} -} -else -{ -lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; -lean_dec(x_1); -x_590 = lean_ctor_get(x_570, 0); -lean_inc(x_590); -x_591 = lean_ctor_get(x_570, 1); -lean_inc(x_591); -if (lean_is_exclusive(x_570)) { - lean_ctor_release(x_570, 0); - lean_ctor_release(x_570, 1); - x_592 = x_570; -} else { - lean_dec_ref(x_570); - x_592 = lean_box(0); -} -if (lean_is_scalar(x_592)) { - x_593 = lean_alloc_ctor(1, 2, 0); -} else { - x_593 = x_592; -} -lean_ctor_set(x_593, 0, x_590); -lean_ctor_set(x_593, 1, x_591); -return x_593; -} -} -case 11: -{ -lean_object* x_594; lean_object* x_595; -x_594 = lean_ctor_get(x_1, 2); -lean_inc(x_594); -x_595 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_594, x_2, x_3, x_347); -if (lean_obj_tag(x_595) == 0) -{ -lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; -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); -lean_inc(x_1); -x_598 = lean_expr_update_proj(x_1, x_596); -x_599 = lean_st_ref_take(x_2, x_597); -if (lean_obj_tag(x_599) == 0) -{ -lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; -x_600 = lean_ctor_get(x_599, 0); -lean_inc(x_600); -x_601 = lean_ctor_get(x_599, 1); -lean_inc(x_601); -lean_dec(x_599); -lean_inc(x_598); -x_602 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_600, x_1, x_598); -x_603 = lean_st_ref_set(x_2, x_602, x_601); -if (lean_obj_tag(x_603) == 0) -{ -lean_object* x_604; lean_object* x_605; lean_object* x_606; -x_604 = lean_ctor_get(x_603, 1); -lean_inc(x_604); -if (lean_is_exclusive(x_603)) { - lean_ctor_release(x_603, 0); - lean_ctor_release(x_603, 1); - x_605 = x_603; -} else { - lean_dec_ref(x_603); - x_605 = lean_box(0); -} -if (lean_is_scalar(x_605)) { - x_606 = lean_alloc_ctor(0, 2, 0); -} else { - x_606 = x_605; -} -lean_ctor_set(x_606, 0, x_598); -lean_ctor_set(x_606, 1, x_604); -return x_606; -} -else -{ -lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; -lean_dec(x_598); -x_607 = lean_ctor_get(x_603, 0); -lean_inc(x_607); -x_608 = lean_ctor_get(x_603, 1); -lean_inc(x_608); -if (lean_is_exclusive(x_603)) { - lean_ctor_release(x_603, 0); - lean_ctor_release(x_603, 1); - x_609 = x_603; -} else { - lean_dec_ref(x_603); - x_609 = lean_box(0); -} -if (lean_is_scalar(x_609)) { - x_610 = lean_alloc_ctor(1, 2, 0); -} else { - x_610 = x_609; -} -lean_ctor_set(x_610, 0, x_607); -lean_ctor_set(x_610, 1, x_608); -return x_610; -} -} -else -{ -lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; -lean_dec(x_598); -lean_dec(x_1); -x_611 = lean_ctor_get(x_599, 0); -lean_inc(x_611); -x_612 = lean_ctor_get(x_599, 1); -lean_inc(x_612); -if (lean_is_exclusive(x_599)) { - lean_ctor_release(x_599, 0); - lean_ctor_release(x_599, 1); - x_613 = x_599; -} else { - lean_dec_ref(x_599); - x_613 = lean_box(0); -} -if (lean_is_scalar(x_613)) { - x_614 = lean_alloc_ctor(1, 2, 0); -} else { - x_614 = x_613; -} -lean_ctor_set(x_614, 0, x_611); -lean_ctor_set(x_614, 1, x_612); -return x_614; -} -} -else -{ -lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; -lean_dec(x_1); -x_615 = lean_ctor_get(x_595, 0); -lean_inc(x_615); -x_616 = lean_ctor_get(x_595, 1); -lean_inc(x_616); -if (lean_is_exclusive(x_595)) { - lean_ctor_release(x_595, 0); - lean_ctor_release(x_595, 1); - x_617 = x_595; -} else { - lean_dec_ref(x_595); - x_617 = lean_box(0); -} -if (lean_is_scalar(x_617)) { - x_618 = lean_alloc_ctor(1, 2, 0); -} else { - x_618 = x_617; -} -lean_ctor_set(x_618, 0, x_615); -lean_ctor_set(x_618, 1, x_616); -return x_618; -} -} -default: -{ -lean_object* x_619; -x_619 = lean_st_ref_take(x_2, x_347); -if (lean_obj_tag(x_619) == 0) -{ -lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; -x_620 = lean_ctor_get(x_619, 0); -lean_inc(x_620); -x_621 = lean_ctor_get(x_619, 1); -lean_inc(x_621); -lean_dec(x_619); -lean_inc_n(x_1, 2); -x_622 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_620, x_1, x_1); -x_623 = lean_st_ref_set(x_2, x_622, x_621); -if (lean_obj_tag(x_623) == 0) -{ -lean_object* x_624; lean_object* x_625; lean_object* x_626; -x_624 = lean_ctor_get(x_623, 1); -lean_inc(x_624); -if (lean_is_exclusive(x_623)) { - lean_ctor_release(x_623, 0); - lean_ctor_release(x_623, 1); - x_625 = x_623; -} else { - lean_dec_ref(x_623); - x_625 = lean_box(0); -} -if (lean_is_scalar(x_625)) { - x_626 = lean_alloc_ctor(0, 2, 0); -} else { - x_626 = x_625; -} -lean_ctor_set(x_626, 0, x_1); -lean_ctor_set(x_626, 1, x_624); -return x_626; -} -else -{ -lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; -lean_dec(x_1); -x_627 = lean_ctor_get(x_623, 0); -lean_inc(x_627); -x_628 = lean_ctor_get(x_623, 1); -lean_inc(x_628); -if (lean_is_exclusive(x_623)) { - lean_ctor_release(x_623, 0); - lean_ctor_release(x_623, 1); - x_629 = x_623; -} else { - lean_dec_ref(x_623); - x_629 = lean_box(0); -} -if (lean_is_scalar(x_629)) { - x_630 = lean_alloc_ctor(1, 2, 0); -} else { - x_630 = x_629; -} -lean_ctor_set(x_630, 0, x_627); -lean_ctor_set(x_630, 1, x_628); -return x_630; -} -} -else -{ -lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; -lean_dec(x_1); -x_631 = lean_ctor_get(x_619, 0); -lean_inc(x_631); -x_632 = lean_ctor_get(x_619, 1); -lean_inc(x_632); -if (lean_is_exclusive(x_619)) { - lean_ctor_release(x_619, 0); - lean_ctor_release(x_619, 1); - x_633 = x_619; -} else { - lean_dec_ref(x_619); - x_633 = lean_box(0); -} -if (lean_is_scalar(x_633)) { - x_634 = lean_alloc_ctor(1, 2, 0); -} else { - x_634 = x_633; -} -lean_ctor_set(x_634, 0, x_631); -lean_ctor_set(x_634, 1, x_632); -return x_634; -} -} -} -} -else -{ -lean_object* x_635; lean_object* x_636; -lean_dec(x_1); -x_635 = lean_ctor_get(x_348, 0); -lean_inc(x_635); -lean_dec(x_348); -x_636 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_636, 0, x_635); -lean_ctor_set(x_636, 1, x_347); -return x_636; -} -} -} -else -{ -uint8_t x_637; -lean_dec(x_1); -x_637 = !lean_is_exclusive(x_45); -if (x_637 == 0) +x_504 = !lean_is_exclusive(x_45); +if (x_504 == 0) { return x_45; } else { -lean_object* x_638; lean_object* x_639; lean_object* x_640; -x_638 = lean_ctor_get(x_45, 0); -x_639 = lean_ctor_get(x_45, 1); -lean_inc(x_639); -lean_inc(x_638); +lean_object* x_505; lean_object* x_506; lean_object* x_507; +x_505 = lean_ctor_get(x_45, 0); +x_506 = lean_ctor_get(x_45, 1); +lean_inc(x_506); +lean_inc(x_505); lean_dec(x_45); -x_640 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_640, 0, x_638); -lean_ctor_set(x_640, 1, x_639); -return x_640; +x_507 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_507, 0, x_505); +lean_ctor_set(x_507, 1, x_506); +return x_507; } } block_27: @@ -54388,7 +54664,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_MetavarContext_0__Lean_MetavarContext_MkBinding_getLocalDeclWithSmallestIdx___closed__1; x_2 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getLocalDeclWithSmallestIdx___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getLocalDeclWithSmallestIdx___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -71575,225 +71851,235 @@ return x_13; } case 6: { -lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_2, 1); +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_2, 0); lean_inc(x_14); -x_15 = lean_ctor_get(x_2, 2); +x_15 = lean_ctor_get(x_2, 1); lean_inc(x_15); -x_16 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +x_16 = lean_ctor_get(x_2, 2); +lean_inc(x_16); +x_17 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); lean_inc(x_3); +lean_inc(x_15); lean_inc(x_1); -x_17 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_14, x_3, x_4); -if (lean_obj_tag(x_17) == 0) +x_18 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_15, x_3, x_4); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); -x_20 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_15, x_3, x_19); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -x_23 = lean_expr_update_lambda(x_2, x_16, x_18, 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_expr_update_lambda(x_2, x_16, x_18, 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; +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); lean_dec(x_18); -lean_dec(x_2); -x_28 = !lean_is_exclusive(x_20); -if (x_28 == 0) +lean_inc(x_16); +x_21 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_16, x_3, x_20); +if (lean_obj_tag(x_21) == 0) { -return x_20; -} -else +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_20, 0); -x_30 = lean_ctor_get(x_20, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_20); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -else -{ -uint8_t x_32; +lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; uint8_t x_27; +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +x_24 = l_Lean_Expr_lam___override(x_14, x_15, x_16, x_17); +x_25 = lean_ptr_addr(x_15); lean_dec(x_15); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_32 = !lean_is_exclusive(x_17); -if (x_32 == 0) +x_26 = lean_ptr_addr(x_19); +x_27 = lean_usize_dec_eq(x_25, x_26); +if (x_27 == 0) { -return x_17; +lean_object* x_28; +lean_dec(x_24); +lean_dec(x_16); +x_28 = l_Lean_Expr_lam___override(x_14, x_19, x_23, x_17); +lean_ctor_set(x_21, 0, x_28); +return x_21; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_17, 0); -x_34 = lean_ctor_get(x_17, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_17); -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; +size_t x_29; size_t x_30; uint8_t x_31; +x_29 = lean_ptr_addr(x_16); +lean_dec(x_16); +x_30 = lean_ptr_addr(x_23); +x_31 = lean_usize_dec_eq(x_29, x_30); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_24); +x_32 = l_Lean_Expr_lam___override(x_14, x_19, x_23, x_17); +lean_ctor_set(x_21, 0, x_32); +return x_21; +} +else +{ +uint8_t x_33; +x_33 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_17, x_17); +if (x_33 == 0) +{ +lean_object* x_34; +lean_dec(x_24); +x_34 = l_Lean_Expr_lam___override(x_14, x_19, x_23, x_17); +lean_ctor_set(x_21, 0, x_34); +return x_21; +} +else +{ +lean_dec(x_23); +lean_dec(x_19); +lean_dec(x_14); +lean_ctor_set(x_21, 0, x_24); +return x_21; +} +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; size_t x_38; size_t x_39; uint8_t x_40; +x_35 = lean_ctor_get(x_21, 0); +x_36 = lean_ctor_get(x_21, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_21); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +x_37 = l_Lean_Expr_lam___override(x_14, x_15, x_16, x_17); +x_38 = lean_ptr_addr(x_15); +lean_dec(x_15); +x_39 = lean_ptr_addr(x_19); +x_40 = lean_usize_dec_eq(x_38, x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_37); +lean_dec(x_16); +x_41 = l_Lean_Expr_lam___override(x_14, x_19, x_35, x_17); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_36); +return x_42; +} +else +{ +size_t x_43; size_t x_44; uint8_t x_45; +x_43 = lean_ptr_addr(x_16); +lean_dec(x_16); +x_44 = lean_ptr_addr(x_35); +x_45 = lean_usize_dec_eq(x_43, x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_37); +x_46 = l_Lean_Expr_lam___override(x_14, x_19, x_35, x_17); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_36); +return x_47; +} +else +{ +uint8_t x_48; +x_48 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_17, x_17); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_37); +x_49 = l_Lean_Expr_lam___override(x_14, x_19, x_35, x_17); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_36); +return x_50; +} +else +{ +lean_object* x_51; +lean_dec(x_35); +lean_dec(x_19); +lean_dec(x_14); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_37); +lean_ctor_set(x_51, 1, x_36); +return x_51; +} +} +} +} +} +else +{ +uint8_t x_52; +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +x_52 = !lean_is_exclusive(x_21); +if (x_52 == 0) +{ +return x_21; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_21, 0); +x_54 = lean_ctor_get(x_21, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_21); +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_56; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_3); +lean_dec(x_1); +x_56 = !lean_is_exclusive(x_18); +if (x_56 == 0) +{ +return x_18; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_18, 0); +x_58 = lean_ctor_get(x_18, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_18); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } case 7: { -lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; -x_36 = lean_ctor_get(x_2, 1); -lean_inc(x_36); -x_37 = lean_ctor_get(x_2, 2); -lean_inc(x_37); -x_38 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); -lean_inc(x_3); -lean_inc(x_1); -x_39 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_36, x_3, x_4); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_37, x_3, x_41); -if (lean_obj_tag(x_42) == 0) -{ -uint8_t x_43; -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); -x_45 = lean_expr_update_forall(x_2, x_38, x_40, x_44); -lean_ctor_set(x_42, 0, x_45); -return x_42; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_46 = lean_ctor_get(x_42, 0); -x_47 = lean_ctor_get(x_42, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_42); -x_48 = lean_expr_update_forall(x_2, x_38, x_40, x_46); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -return x_49; -} -} -else -{ -uint8_t x_50; -lean_dec(x_40); -lean_dec(x_2); -x_50 = !lean_is_exclusive(x_42); -if (x_50 == 0) -{ -return x_42; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_42, 0); -x_52 = lean_ctor_get(x_42, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_42); -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_37); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_54 = !lean_is_exclusive(x_39); -if (x_54 == 0) -{ -return x_39; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_39, 0); -x_56 = lean_ctor_get(x_39, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_39); -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; -} -} -} -case 8: -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_2, 1); -lean_inc(x_58); -x_59 = lean_ctor_get(x_2, 2); -lean_inc(x_59); -x_60 = lean_ctor_get(x_2, 3); +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; +x_60 = lean_ctor_get(x_2, 0); lean_inc(x_60); -lean_inc(x_3); -lean_inc(x_1); -x_61 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_58, x_3, x_4); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_61, 0); +x_61 = lean_ctor_get(x_2, 1); +lean_inc(x_61); +x_62 = lean_ctor_get(x_2, 2); lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); +x_63 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec(x_2); lean_inc(x_3); +lean_inc(x_61); lean_inc(x_1); -x_64 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_59, x_3, x_63); +x_64 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_61, x_3, x_4); if (lean_obj_tag(x_64) == 0) { lean_object* x_65; lean_object* x_66; lean_object* x_67; @@ -71802,239 +72088,676 @@ lean_inc(x_65); x_66 = lean_ctor_get(x_64, 1); lean_inc(x_66); lean_dec(x_64); -x_67 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_60, x_3, x_66); +lean_inc(x_62); +x_67 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_62, x_3, x_66); if (lean_obj_tag(x_67) == 0) { uint8_t x_68; x_68 = !lean_is_exclusive(x_67); if (x_68 == 0) { -lean_object* x_69; lean_object* x_70; +lean_object* x_69; lean_object* x_70; size_t x_71; size_t x_72; uint8_t x_73; x_69 = lean_ctor_get(x_67, 0); -x_70 = lean_expr_update_let(x_2, x_62, x_65, x_69); -lean_ctor_set(x_67, 0, x_70); -return x_67; -} -else +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +x_70 = l_Lean_Expr_forallE___override(x_60, x_61, x_62, x_63); +x_71 = lean_ptr_addr(x_61); +lean_dec(x_61); +x_72 = lean_ptr_addr(x_65); +x_73 = lean_usize_dec_eq(x_71, x_72); +if (x_73 == 0) { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_71 = lean_ctor_get(x_67, 0); -x_72 = lean_ctor_get(x_67, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_67); -x_73 = lean_expr_update_let(x_2, x_62, x_65, x_71); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -return x_74; -} -} -else -{ -uint8_t x_75; -lean_dec(x_65); +lean_object* x_74; +lean_dec(x_70); lean_dec(x_62); -lean_dec(x_2); -x_75 = !lean_is_exclusive(x_67); -if (x_75 == 0) -{ +x_74 = l_Lean_Expr_forallE___override(x_60, x_65, x_69, x_63); +lean_ctor_set(x_67, 0, x_74); return x_67; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_67, 0); -x_77 = lean_ctor_get(x_67, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_67); -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; -} -} +size_t x_75; size_t x_76; uint8_t x_77; +x_75 = lean_ptr_addr(x_62); +lean_dec(x_62); +x_76 = lean_ptr_addr(x_69); +x_77 = lean_usize_dec_eq(x_75, x_76); +if (x_77 == 0) +{ +lean_object* x_78; +lean_dec(x_70); +x_78 = l_Lean_Expr_forallE___override(x_60, x_65, x_69, x_63); +lean_ctor_set(x_67, 0, x_78); +return x_67; } else { uint8_t x_79; +x_79 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_63, x_63); +if (x_79 == 0) +{ +lean_object* x_80; +lean_dec(x_70); +x_80 = l_Lean_Expr_forallE___override(x_60, x_65, x_69, x_63); +lean_ctor_set(x_67, 0, x_80); +return x_67; +} +else +{ +lean_dec(x_69); +lean_dec(x_65); +lean_dec(x_60); +lean_ctor_set(x_67, 0, x_70); +return x_67; +} +} +} +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; size_t x_84; size_t x_85; uint8_t x_86; +x_81 = lean_ctor_get(x_67, 0); +x_82 = lean_ctor_get(x_67, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_67); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +x_83 = l_Lean_Expr_forallE___override(x_60, x_61, x_62, x_63); +x_84 = lean_ptr_addr(x_61); +lean_dec(x_61); +x_85 = lean_ptr_addr(x_65); +x_86 = lean_usize_dec_eq(x_84, x_85); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; +lean_dec(x_83); lean_dec(x_62); +x_87 = l_Lean_Expr_forallE___override(x_60, x_65, x_81, x_63); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_82); +return x_88; +} +else +{ +size_t x_89; size_t x_90; uint8_t x_91; +x_89 = lean_ptr_addr(x_62); +lean_dec(x_62); +x_90 = lean_ptr_addr(x_81); +x_91 = lean_usize_dec_eq(x_89, x_90); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; +lean_dec(x_83); +x_92 = l_Lean_Expr_forallE___override(x_60, x_65, x_81, x_63); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_82); +return x_93; +} +else +{ +uint8_t x_94; +x_94 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_63, x_63); +if (x_94 == 0) +{ +lean_object* x_95; lean_object* x_96; +lean_dec(x_83); +x_95 = l_Lean_Expr_forallE___override(x_60, x_65, x_81, x_63); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_82); +return x_96; +} +else +{ +lean_object* x_97; +lean_dec(x_81); +lean_dec(x_65); +lean_dec(x_60); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_83); +lean_ctor_set(x_97, 1, x_82); +return x_97; +} +} +} +} +} +else +{ +uint8_t x_98; +lean_dec(x_65); +lean_dec(x_62); +lean_dec(x_61); +lean_dec(x_60); +x_98 = !lean_is_exclusive(x_67); +if (x_98 == 0) +{ +return x_67; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_67, 0); +x_100 = lean_ctor_get(x_67, 1); +lean_inc(x_100); +lean_inc(x_99); +lean_dec(x_67); +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_62); +lean_dec(x_61); lean_dec(x_60); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); -x_79 = !lean_is_exclusive(x_64); -if (x_79 == 0) +x_102 = !lean_is_exclusive(x_64); +if (x_102 == 0) { return x_64; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_64, 0); -x_81 = lean_ctor_get(x_64, 1); -lean_inc(x_81); -lean_inc(x_80); +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_64, 0); +x_104 = lean_ctor_get(x_64, 1); +lean_inc(x_104); +lean_inc(x_103); lean_dec(x_64); -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; +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; +} +} +} +case 8: +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; +x_106 = lean_ctor_get(x_2, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_2, 1); +lean_inc(x_107); +x_108 = lean_ctor_get(x_2, 2); +lean_inc(x_108); +x_109 = lean_ctor_get(x_2, 3); +lean_inc(x_109); +x_110 = lean_ctor_get_uint8(x_2, sizeof(void*)*4 + 8); +lean_inc(x_3); +lean_inc(x_107); +lean_inc(x_1); +x_111 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_107, x_3, x_4); +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_3); +lean_inc(x_108); +lean_inc(x_1); +x_114 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_108, x_3, x_113); +if (lean_obj_tag(x_114) == 0) +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +lean_inc(x_109); +x_117 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_109, x_3, x_116); +if (lean_obj_tag(x_117) == 0) +{ +uint8_t x_118; +x_118 = !lean_is_exclusive(x_117); +if (x_118 == 0) +{ +lean_object* x_119; size_t x_120; size_t x_121; uint8_t x_122; +x_119 = lean_ctor_get(x_117, 0); +x_120 = lean_ptr_addr(x_107); +lean_dec(x_107); +x_121 = lean_ptr_addr(x_112); +x_122 = lean_usize_dec_eq(x_120, x_121); +if (x_122 == 0) +{ +lean_object* x_123; +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_2); +x_123 = l_Lean_Expr_letE___override(x_106, x_112, x_115, x_119, x_110); +lean_ctor_set(x_117, 0, x_123); +return x_117; +} +else +{ +size_t x_124; size_t x_125; uint8_t x_126; +x_124 = lean_ptr_addr(x_108); +lean_dec(x_108); +x_125 = lean_ptr_addr(x_115); +x_126 = lean_usize_dec_eq(x_124, x_125); +if (x_126 == 0) +{ +lean_object* x_127; +lean_dec(x_109); +lean_dec(x_2); +x_127 = l_Lean_Expr_letE___override(x_106, x_112, x_115, x_119, x_110); +lean_ctor_set(x_117, 0, x_127); +return x_117; +} +else +{ +size_t x_128; size_t x_129; uint8_t x_130; +x_128 = lean_ptr_addr(x_109); +lean_dec(x_109); +x_129 = lean_ptr_addr(x_119); +x_130 = lean_usize_dec_eq(x_128, x_129); +if (x_130 == 0) +{ +lean_object* x_131; +lean_dec(x_2); +x_131 = l_Lean_Expr_letE___override(x_106, x_112, x_115, x_119, x_110); +lean_ctor_set(x_117, 0, x_131); +return x_117; +} +else +{ +lean_dec(x_119); +lean_dec(x_115); +lean_dec(x_112); +lean_dec(x_106); +lean_ctor_set(x_117, 0, x_2); +return x_117; +} } } } else { -uint8_t x_83; -lean_dec(x_60); -lean_dec(x_59); +lean_object* x_132; lean_object* x_133; size_t x_134; size_t x_135; uint8_t x_136; +x_132 = lean_ctor_get(x_117, 0); +x_133 = lean_ctor_get(x_117, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_117); +x_134 = lean_ptr_addr(x_107); +lean_dec(x_107); +x_135 = lean_ptr_addr(x_112); +x_136 = lean_usize_dec_eq(x_134, x_135); +if (x_136 == 0) +{ +lean_object* x_137; lean_object* x_138; +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_2); +x_137 = l_Lean_Expr_letE___override(x_106, x_112, x_115, x_132, x_110); +x_138 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_133); +return x_138; +} +else +{ +size_t x_139; size_t x_140; uint8_t x_141; +x_139 = lean_ptr_addr(x_108); +lean_dec(x_108); +x_140 = lean_ptr_addr(x_115); +x_141 = lean_usize_dec_eq(x_139, x_140); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; +lean_dec(x_109); +lean_dec(x_2); +x_142 = l_Lean_Expr_letE___override(x_106, x_112, x_115, x_132, x_110); +x_143 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_133); +return x_143; +} +else +{ +size_t x_144; size_t x_145; uint8_t x_146; +x_144 = lean_ptr_addr(x_109); +lean_dec(x_109); +x_145 = lean_ptr_addr(x_132); +x_146 = lean_usize_dec_eq(x_144, x_145); +if (x_146 == 0) +{ +lean_object* x_147; lean_object* x_148; +lean_dec(x_2); +x_147 = l_Lean_Expr_letE___override(x_106, x_112, x_115, x_132, x_110); +x_148 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_133); +return x_148; +} +else +{ +lean_object* x_149; +lean_dec(x_132); +lean_dec(x_115); +lean_dec(x_112); +lean_dec(x_106); +x_149 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_149, 0, x_2); +lean_ctor_set(x_149, 1, x_133); +return x_149; +} +} +} +} +} +else +{ +uint8_t x_150; +lean_dec(x_115); +lean_dec(x_112); +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_2); +x_150 = !lean_is_exclusive(x_117); +if (x_150 == 0) +{ +return x_117; +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_151 = lean_ctor_get(x_117, 0); +x_152 = lean_ctor_get(x_117, 1); +lean_inc(x_152); +lean_inc(x_151); +lean_dec(x_117); +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; +} +} +} +else +{ +uint8_t x_154; +lean_dec(x_112); +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_107); +lean_dec(x_106); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_83 = !lean_is_exclusive(x_61); -if (x_83 == 0) +x_154 = !lean_is_exclusive(x_114); +if (x_154 == 0) { -return x_61; +return x_114; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_61, 0); -x_85 = lean_ctor_get(x_61, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_61); -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_object* x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_ctor_get(x_114, 0); +x_156 = lean_ctor_get(x_114, 1); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_114); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +return x_157; +} +} +} +else +{ +uint8_t x_158; +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_107); +lean_dec(x_106); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_158 = !lean_is_exclusive(x_111); +if (x_158 == 0) +{ +return x_111; +} +else +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_159 = lean_ctor_get(x_111, 0); +x_160 = lean_ctor_get(x_111, 1); +lean_inc(x_160); +lean_inc(x_159); +lean_dec(x_111); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_159); +lean_ctor_set(x_161, 1, x_160); +return x_161; } } } case 10: { -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_2, 1); -lean_inc(x_87); -x_88 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_87, x_3, x_4); -if (lean_obj_tag(x_88) == 0) +lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_162 = lean_ctor_get(x_2, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_2, 1); +lean_inc(x_163); +lean_inc(x_163); +x_164 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_163, x_3, x_4); +if (lean_obj_tag(x_164) == 0) { -uint8_t x_89; -x_89 = !lean_is_exclusive(x_88); -if (x_89 == 0) +uint8_t x_165; +x_165 = !lean_is_exclusive(x_164); +if (x_165 == 0) { -lean_object* x_90; lean_object* x_91; -x_90 = lean_ctor_get(x_88, 0); -x_91 = lean_expr_update_mdata(x_2, x_90); -lean_ctor_set(x_88, 0, x_91); -return x_88; -} -else +lean_object* x_166; size_t x_167; size_t x_168; uint8_t x_169; +x_166 = lean_ctor_get(x_164, 0); +x_167 = lean_ptr_addr(x_163); +lean_dec(x_163); +x_168 = lean_ptr_addr(x_166); +x_169 = lean_usize_dec_eq(x_167, x_168); +if (x_169 == 0) { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_88, 0); -x_93 = lean_ctor_get(x_88, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_88); -x_94 = lean_expr_update_mdata(x_2, x_92); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -return x_95; -} -} -else -{ -uint8_t x_96; +lean_object* x_170; lean_dec(x_2); -x_96 = !lean_is_exclusive(x_88); -if (x_96 == 0) -{ -return x_88; +x_170 = l_Lean_Expr_mdata___override(x_162, x_166); +lean_ctor_set(x_164, 0, x_170); +return x_164; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_88, 0); -x_98 = lean_ctor_get(x_88, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_88); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; +lean_dec(x_166); +lean_dec(x_162); +lean_ctor_set(x_164, 0, x_2); +return x_164; +} +} +else +{ +lean_object* x_171; lean_object* x_172; size_t x_173; size_t x_174; uint8_t x_175; +x_171 = lean_ctor_get(x_164, 0); +x_172 = lean_ctor_get(x_164, 1); +lean_inc(x_172); +lean_inc(x_171); +lean_dec(x_164); +x_173 = lean_ptr_addr(x_163); +lean_dec(x_163); +x_174 = lean_ptr_addr(x_171); +x_175 = lean_usize_dec_eq(x_173, x_174); +if (x_175 == 0) +{ +lean_object* x_176; lean_object* x_177; +lean_dec(x_2); +x_176 = l_Lean_Expr_mdata___override(x_162, x_171); +x_177 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_172); +return x_177; +} +else +{ +lean_object* x_178; +lean_dec(x_171); +lean_dec(x_162); +x_178 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_178, 0, x_2); +lean_ctor_set(x_178, 1, x_172); +return x_178; +} +} +} +else +{ +uint8_t x_179; +lean_dec(x_163); +lean_dec(x_162); +lean_dec(x_2); +x_179 = !lean_is_exclusive(x_164); +if (x_179 == 0) +{ +return x_164; +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_164, 0); +x_181 = lean_ctor_get(x_164, 1); +lean_inc(x_181); +lean_inc(x_180); +lean_dec(x_164); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_181); +return x_182; } } } case 11: { -lean_object* x_100; lean_object* x_101; -x_100 = lean_ctor_get(x_2, 2); -lean_inc(x_100); -x_101 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_100, x_3, x_4); -if (lean_obj_tag(x_101) == 0) +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_183 = lean_ctor_get(x_2, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_2, 1); +lean_inc(x_184); +x_185 = lean_ctor_get(x_2, 2); +lean_inc(x_185); +lean_inc(x_185); +x_186 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_185, x_3, x_4); +if (lean_obj_tag(x_186) == 0) { -uint8_t x_102; -x_102 = !lean_is_exclusive(x_101); -if (x_102 == 0) +uint8_t x_187; +x_187 = !lean_is_exclusive(x_186); +if (x_187 == 0) { -lean_object* x_103; lean_object* x_104; -x_103 = lean_ctor_get(x_101, 0); -x_104 = lean_expr_update_proj(x_2, x_103); -lean_ctor_set(x_101, 0, x_104); -return x_101; -} -else +lean_object* x_188; size_t x_189; size_t x_190; uint8_t x_191; +x_188 = lean_ctor_get(x_186, 0); +x_189 = lean_ptr_addr(x_185); +lean_dec(x_185); +x_190 = lean_ptr_addr(x_188); +x_191 = lean_usize_dec_eq(x_189, x_190); +if (x_191 == 0) { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_105 = lean_ctor_get(x_101, 0); -x_106 = lean_ctor_get(x_101, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_101); -x_107 = lean_expr_update_proj(x_2, 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_106); -return x_108; -} -} -else -{ -uint8_t x_109; +lean_object* x_192; lean_dec(x_2); -x_109 = !lean_is_exclusive(x_101); -if (x_109 == 0) -{ -return x_101; +x_192 = l_Lean_Expr_proj___override(x_183, x_184, x_188); +lean_ctor_set(x_186, 0, x_192); +return x_186; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_101, 0); -x_111 = lean_ctor_get(x_101, 1); -lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_101); -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; +lean_dec(x_188); +lean_dec(x_184); +lean_dec(x_183); +lean_ctor_set(x_186, 0, x_2); +return x_186; +} +} +else +{ +lean_object* x_193; lean_object* x_194; size_t x_195; size_t x_196; uint8_t x_197; +x_193 = lean_ctor_get(x_186, 0); +x_194 = lean_ctor_get(x_186, 1); +lean_inc(x_194); +lean_inc(x_193); +lean_dec(x_186); +x_195 = lean_ptr_addr(x_185); +lean_dec(x_185); +x_196 = lean_ptr_addr(x_193); +x_197 = lean_usize_dec_eq(x_195, x_196); +if (x_197 == 0) +{ +lean_object* x_198; lean_object* x_199; +lean_dec(x_2); +x_198 = l_Lean_Expr_proj___override(x_183, x_184, x_193); +x_199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_194); +return x_199; +} +else +{ +lean_object* x_200; +lean_dec(x_193); +lean_dec(x_184); +lean_dec(x_183); +x_200 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_200, 0, x_2); +lean_ctor_set(x_200, 1, x_194); +return x_200; +} +} +} +else +{ +uint8_t x_201; +lean_dec(x_185); +lean_dec(x_184); +lean_dec(x_183); +lean_dec(x_2); +x_201 = !lean_is_exclusive(x_186); +if (x_201 == 0) +{ +return x_186; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_202 = lean_ctor_get(x_186, 0); +x_203 = lean_ctor_get(x_186, 1); +lean_inc(x_203); +lean_inc(x_202); +lean_dec(x_186); +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_202); +lean_ctor_set(x_204, 1, x_203); +return x_204; } } } default: { -lean_object* x_113; +lean_object* x_205; lean_dec(x_3); lean_dec(x_1); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_2); -lean_ctor_set(x_113, 1, x_4); -return x_113; +x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_205, 0, x_2); +lean_ctor_set(x_205, 1, x_4); +return x_205; } } } @@ -80010,202 +80733,388 @@ case 1: lean_object* x_4; lean_object* x_5; uint8_t x_6; x_4 = lean_ctor_get(x_1, 0); lean_inc(x_4); +lean_inc(x_4); x_5 = l_Lean_MetavarContext_LevelMVarToParam_visitLevel(x_4, x_2, x_3); x_6 = !lean_is_exclusive(x_5); if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; +lean_object* x_7; size_t x_8; size_t x_9; uint8_t x_10; x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_level_update_succ(x_1, x_7); -lean_ctor_set(x_5, 0, x_8); +x_8 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_9 = lean_ptr_addr(x_7); +x_10 = lean_usize_dec_eq(x_8, x_9); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_1); +x_11 = l_Lean_Level_succ___override(x_7); +lean_ctor_set(x_5, 0, x_11); return x_5; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_5, 0); -x_10 = lean_ctor_get(x_5, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_5); -x_11 = lean_level_update_succ(x_1, x_9); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; +lean_dec(x_7); +lean_ctor_set(x_5, 0, x_1); +return x_5; } } -case 2: +else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_13 = lean_ctor_get(x_1, 0); +lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_5, 0); +x_13 = lean_ctor_get(x_5, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_1, 1); -lean_inc(x_14); -lean_inc(x_2); -x_15 = l_Lean_MetavarContext_LevelMVarToParam_visitLevel(x_13, x_2, x_3); -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_MetavarContext_LevelMVarToParam_visitLevel(x_14, x_2, x_17); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) +lean_inc(x_12); +lean_dec(x_5); +x_14 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_15 = lean_ptr_addr(x_12); +x_16 = lean_usize_dec_eq(x_14, x_15); +if (x_16 == 0) { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_level_update_max(x_1, x_16, x_20); -lean_ctor_set(x_18, 0, x_21); +lean_object* x_17; lean_object* x_18; +lean_dec(x_1); +x_17 = l_Lean_Level_succ___override(x_12); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_13); return x_18; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_18, 0); -x_23 = lean_ctor_get(x_18, 1); +lean_object* x_19; +lean_dec(x_12); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_1); +lean_ctor_set(x_19, 1, x_13); +return x_19; +} +} +} +case 2: +{ +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, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_inc(x_2); +lean_inc(x_20); +x_22 = l_Lean_MetavarContext_LevelMVarToParam_visitLevel(x_20, x_2, x_3); +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_18); -x_24 = lean_level_update_max(x_1, x_16, x_22); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +lean_inc(x_21); +x_25 = l_Lean_MetavarContext_LevelMVarToParam_visitLevel(x_21, x_2, x_24); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; size_t x_28; size_t x_29; uint8_t x_30; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_ptr_addr(x_20); +lean_dec(x_20); +x_29 = lean_ptr_addr(x_23); +x_30 = lean_usize_dec_eq(x_28, x_29); +if (x_30 == 0) +{ +lean_object* x_31; +lean_dec(x_21); +lean_dec(x_1); +x_31 = l_Lean_mkLevelMax_x27(x_23, x_27); +lean_ctor_set(x_25, 0, x_31); return x_25; } +else +{ +size_t x_32; size_t x_33; uint8_t x_34; +x_32 = lean_ptr_addr(x_21); +lean_dec(x_21); +x_33 = lean_ptr_addr(x_27); +x_34 = lean_usize_dec_eq(x_32, x_33); +if (x_34 == 0) +{ +lean_object* x_35; +lean_dec(x_1); +x_35 = l_Lean_mkLevelMax_x27(x_23, x_27); +lean_ctor_set(x_25, 0, x_35); +return x_25; +} +else +{ +lean_object* x_36; +x_36 = l_Lean_simpLevelMax_x27(x_23, x_27, x_1); +lean_dec(x_1); +lean_dec(x_27); +lean_dec(x_23); +lean_ctor_set(x_25, 0, x_36); +return x_25; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_25, 0); +x_38 = lean_ctor_get(x_25, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_25); +x_39 = lean_ptr_addr(x_20); +lean_dec(x_20); +x_40 = lean_ptr_addr(x_23); +x_41 = lean_usize_dec_eq(x_39, x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +lean_dec(x_21); +lean_dec(x_1); +x_42 = l_Lean_mkLevelMax_x27(x_23, x_37); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_38); +return x_43; +} +else +{ +size_t x_44; size_t x_45; uint8_t x_46; +x_44 = lean_ptr_addr(x_21); +lean_dec(x_21); +x_45 = lean_ptr_addr(x_37); +x_46 = lean_usize_dec_eq(x_44, x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_1); +x_47 = l_Lean_mkLevelMax_x27(x_23, x_37); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_38); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = l_Lean_simpLevelMax_x27(x_23, x_37, x_1); +lean_dec(x_1); +lean_dec(x_37); +lean_dec(x_23); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_38); +return x_50; +} +} +} } case 3: { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_26 = lean_ctor_get(x_1, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_1, 1); -lean_inc(x_27); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_51 = lean_ctor_get(x_1, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_1, 1); +lean_inc(x_52); lean_inc(x_2); -x_28 = l_Lean_MetavarContext_LevelMVarToParam_visitLevel(x_26, x_2, x_3); -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_MetavarContext_LevelMVarToParam_visitLevel(x_27, x_2, x_30); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) +lean_inc(x_51); +x_53 = l_Lean_MetavarContext_LevelMVarToParam_visitLevel(x_51, x_2, x_3); +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_52); +x_56 = l_Lean_MetavarContext_LevelMVarToParam_visitLevel(x_52, x_2, x_55); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_31, 0); -x_34 = lean_level_update_imax(x_1, x_29, x_33); -lean_ctor_set(x_31, 0, x_34); -return x_31; +lean_object* x_58; size_t x_59; size_t x_60; uint8_t x_61; +x_58 = lean_ctor_get(x_56, 0); +x_59 = lean_ptr_addr(x_51); +lean_dec(x_51); +x_60 = lean_ptr_addr(x_54); +x_61 = lean_usize_dec_eq(x_59, x_60); +if (x_61 == 0) +{ +lean_object* x_62; +lean_dec(x_52); +lean_dec(x_1); +x_62 = l_Lean_mkLevelIMax_x27(x_54, x_58); +lean_ctor_set(x_56, 0, x_62); +return x_56; } 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 = lean_level_update_imax(x_1, x_29, 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; +size_t x_63; size_t x_64; uint8_t x_65; +x_63 = lean_ptr_addr(x_52); +lean_dec(x_52); +x_64 = lean_ptr_addr(x_58); +x_65 = lean_usize_dec_eq(x_63, x_64); +if (x_65 == 0) +{ +lean_object* x_66; +lean_dec(x_1); +x_66 = l_Lean_mkLevelIMax_x27(x_54, x_58); +lean_ctor_set(x_56, 0, x_66); +return x_56; +} +else +{ +lean_object* x_67; +x_67 = l_Lean_simpLevelIMax_x27(x_54, x_58, x_1); +lean_dec(x_1); +lean_ctor_set(x_56, 0, x_67); +return x_56; +} +} +} +else +{ +lean_object* x_68; lean_object* x_69; size_t x_70; size_t x_71; uint8_t x_72; +x_68 = lean_ctor_get(x_56, 0); +x_69 = lean_ctor_get(x_56, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_56); +x_70 = lean_ptr_addr(x_51); +lean_dec(x_51); +x_71 = lean_ptr_addr(x_54); +x_72 = lean_usize_dec_eq(x_70, x_71); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +lean_dec(x_52); +lean_dec(x_1); +x_73 = l_Lean_mkLevelIMax_x27(x_54, x_68); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_69); +return x_74; +} +else +{ +size_t x_75; size_t x_76; uint8_t x_77; +x_75 = lean_ptr_addr(x_52); +lean_dec(x_52); +x_76 = lean_ptr_addr(x_68); +x_77 = lean_usize_dec_eq(x_75, x_76); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_1); +x_78 = l_Lean_mkLevelIMax_x27(x_54, x_68); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_69); +return x_79; +} +else +{ +lean_object* x_80; lean_object* x_81; +x_80 = l_Lean_simpLevelIMax_x27(x_54, x_68, x_1); +lean_dec(x_1); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_69); +return x_81; +} +} } } case 5: { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_1, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_3, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_40, 5); -lean_inc(x_41); -lean_dec(x_40); -lean_inc(x_39); -x_42 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_41, x_39); -if (lean_obj_tag(x_42) == 0) +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_82 = lean_ctor_get(x_1, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_3, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_83, 5); +lean_inc(x_84); +lean_dec(x_83); +lean_inc(x_82); +x_85 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_84, x_82); +if (lean_obj_tag(x_85) == 0) { -lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_43 = lean_ctor_get(x_2, 2); -lean_inc(x_43); -lean_inc(x_39); -x_44 = lean_apply_1(x_43, x_39); -x_45 = lean_unbox(x_44); -lean_dec(x_44); -if (x_45 == 0) +lean_object* x_86; lean_object* x_87; uint8_t x_88; +x_86 = lean_ctor_get(x_2, 2); +lean_inc(x_86); +lean_inc(x_82); +x_87 = lean_apply_1(x_86, x_82); +x_88 = lean_unbox(x_87); +lean_dec(x_87); +if (x_88 == 0) { -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_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; lean_dec(x_1); lean_inc(x_2); -x_46 = l_Lean_MetavarContext_LevelMVarToParam_mkParamName(x_2, x_3); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Lean_Level_param___override(x_47); -lean_inc(x_49); -x_50 = l_Lean_assignLevelMVar___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__1(x_39, x_49, x_2, x_48); +x_89 = l_Lean_MetavarContext_LevelMVarToParam_mkParamName(x_2, x_3); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = l_Lean_Level_param___override(x_90); +lean_inc(x_92); +x_93 = l_Lean_assignLevelMVar___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__1(x_82, x_92, x_2, x_91); lean_dec(x_2); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) +x_94 = !lean_is_exclusive(x_93); +if (x_94 == 0) { -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set(x_50, 0, x_49); -return x_50; +lean_object* x_95; +x_95 = lean_ctor_get(x_93, 0); +lean_dec(x_95); +lean_ctor_set(x_93, 0, x_92); +return x_93; } 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_49); -lean_ctor_set(x_54, 1, x_53); -return x_54; +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_93, 1); +lean_inc(x_96); +lean_dec(x_93); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_92); +lean_ctor_set(x_97, 1, x_96); +return x_97; } } else { -lean_object* x_55; -lean_dec(x_39); +lean_object* x_98; +lean_dec(x_82); lean_dec(x_2); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_1); -lean_ctor_set(x_55, 1, x_3); -return x_55; +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_1); +lean_ctor_set(x_98, 1, x_3); +return x_98; } } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -lean_dec(x_39); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_82); lean_dec(x_1); -x_56 = lean_ctor_get(x_42, 0); -lean_inc(x_56); -lean_dec(x_42); -x_57 = l_Lean_markUsedAssignment___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__2___rarg(x_3); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_1 = x_56; -x_3 = x_58; +x_99 = lean_ctor_get(x_85, 0); +lean_inc(x_99); +lean_dec(x_85); +x_100 = l_Lean_markUsedAssignment___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__2___rarg(x_3); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +lean_dec(x_100); +x_1 = x_99; +x_3 = x_101; goto _start; } } default: { -lean_object* x_60; +lean_object* x_103; lean_dec(x_2); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_1); -lean_ctor_set(x_60, 1, x_3); -return x_60; +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_1); +lean_ctor_set(x_103, 1, x_3); +return x_103; } } } @@ -80584,691 +81493,636 @@ return x_5; } else { -lean_object* x_6; lean_object* x_7; -x_6 = lean_ctor_get(x_3, 3); -lean_inc(x_6); +lean_object* x_6; lean_object* x_7; lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_3, 3); +lean_inc(x_20); lean_inc(x_1); -lean_inc(x_6); -x_7 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_6, x_1); -if (lean_obj_tag(x_7) == 0) +lean_inc(x_20); +x_21 = l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_20, x_1); +if (lean_obj_tag(x_21) == 0) { switch (lean_obj_tag(x_1)) { case 2: { -lean_object* x_8; lean_object* x_9; uint8_t x_10; -lean_dec(x_6); -x_8 = l_Lean_instInhabitedMetavarDecl___closed__4; +lean_object* x_22; lean_object* x_23; uint8_t x_24; +lean_dec(x_20); +x_22 = l_Lean_instInhabitedMetavarDecl___closed__4; lean_inc(x_1); -x_9 = l_Lean_MetavarContext_LevelMVarToParam_main_visitApp(x_1, x_8, x_2, x_3); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) +x_23 = l_Lean_MetavarContext_LevelMVarToParam_main_visitApp(x_1, x_22, x_2, x_3); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 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; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -x_15 = lean_ctor_get(x_12, 2); -lean_inc(x_15); -x_16 = lean_ctor_get(x_12, 3); -lean_inc(x_16); -lean_dec(x_12); -lean_inc(x_11); -x_17 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_16, x_1, x_11); -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); -lean_ctor_set(x_9, 1, x_18); -return x_9; +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_23, 0); +x_26 = lean_ctor_get(x_23, 1); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_26, 2); +lean_inc(x_29); +x_30 = lean_ctor_get(x_26, 3); +lean_inc(x_30); +lean_dec(x_26); +lean_inc(x_25); +x_31 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_30, x_1, x_25); +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_27); +lean_ctor_set(x_32, 1, x_28); +lean_ctor_set(x_32, 2, x_29); +lean_ctor_set(x_32, 3, x_31); +lean_ctor_set(x_23, 1, x_32); +return x_23; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_19 = lean_ctor_get(x_9, 0); -x_20 = lean_ctor_get(x_9, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_9); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -x_23 = lean_ctor_get(x_20, 2); -lean_inc(x_23); -x_24 = lean_ctor_get(x_20, 3); -lean_inc(x_24); -lean_dec(x_20); -lean_inc(x_19); -x_25 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_24, x_1, x_19); -x_26 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_22); -lean_ctor_set(x_26, 2, x_23); -lean_ctor_set(x_26, 3, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_19); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_33 = lean_ctor_get(x_23, 0); +x_34 = lean_ctor_get(x_23, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_23); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +x_37 = lean_ctor_get(x_34, 2); +lean_inc(x_37); +x_38 = lean_ctor_get(x_34, 3); +lean_inc(x_38); +lean_dec(x_34); +lean_inc(x_33); +x_39 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_38, x_1, x_33); +x_40 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_36); +lean_ctor_set(x_40, 2, x_37); +lean_ctor_set(x_40, 3, x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_33); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } case 3: { -lean_object* x_28; lean_object* x_29; uint8_t x_30; -lean_dec(x_6); -x_28 = lean_ctor_get(x_1, 0); -lean_inc(x_28); -x_29 = l_Lean_MetavarContext_LevelMVarToParam_visitLevel(x_28, x_2, x_3); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; size_t x_46; size_t x_47; uint8_t x_48; +lean_dec(x_20); +x_42 = lean_ctor_get(x_1, 0); +lean_inc(x_42); +lean_inc(x_42); +x_43 = l_Lean_MetavarContext_LevelMVarToParam_visitLevel(x_42, x_2, 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); +lean_dec(x_43); +x_46 = lean_ptr_addr(x_42); +lean_dec(x_42); +x_47 = lean_ptr_addr(x_44); +x_48 = lean_usize_dec_eq(x_46, x_47); +if (x_48 == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_1); -x_33 = lean_expr_update_sort(x_1, x_31); -x_34 = lean_ctor_get(x_32, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -x_36 = lean_ctor_get(x_32, 2); -lean_inc(x_36); -x_37 = lean_ctor_get(x_32, 3); -lean_inc(x_37); -lean_dec(x_32); -lean_inc(x_33); -x_38 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_37, x_1, x_33); -x_39 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_39, 0, x_34); -lean_ctor_set(x_39, 1, x_35); -lean_ctor_set(x_39, 2, x_36); -lean_ctor_set(x_39, 3, x_38); -lean_ctor_set(x_29, 1, x_39); -lean_ctor_set(x_29, 0, x_33); -return x_29; +lean_object* x_49; +x_49 = l_Lean_Expr_sort___override(x_44); +x_6 = x_49; +x_7 = x_45; +goto block_19; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_40 = lean_ctor_get(x_29, 0); -x_41 = lean_ctor_get(x_29, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_29); +lean_dec(x_44); lean_inc(x_1); -x_42 = lean_expr_update_sort(x_1, 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); -x_45 = lean_ctor_get(x_41, 2); -lean_inc(x_45); -x_46 = lean_ctor_get(x_41, 3); -lean_inc(x_46); -lean_dec(x_41); -lean_inc(x_42); -x_47 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_46, x_1, x_42); -x_48 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_48, 0, x_43); -lean_ctor_set(x_48, 1, x_44); -lean_ctor_set(x_48, 2, x_45); -lean_ctor_set(x_48, 3, x_47); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_42); -lean_ctor_set(x_49, 1, x_48); -return x_49; +x_6 = x_1; +x_7 = x_45; +goto block_19; } } case 4: { -lean_object* x_50; lean_object* x_51; uint8_t x_52; -lean_dec(x_6); -x_50 = lean_ctor_get(x_1, 1); +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_20); +x_50 = lean_ctor_get(x_1, 0); lean_inc(x_50); -x_51 = l_List_mapM___at_Lean_MetavarContext_LevelMVarToParam_main___spec__1(x_50, x_2, x_3); -x_52 = !lean_is_exclusive(x_51); -if (x_52 == 0) +x_51 = lean_ctor_get(x_1, 1); +lean_inc(x_51); +lean_inc(x_51); +x_52 = l_List_mapM___at_Lean_MetavarContext_LevelMVarToParam_main___spec__1(x_51, x_2, x_3); +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_ptrEqList___rarg(x_51, x_53); +lean_dec(x_51); +if (x_55 == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_53 = lean_ctor_get(x_51, 0); -x_54 = lean_ctor_get(x_51, 1); -lean_inc(x_1); -x_55 = lean_expr_update_const(x_1, x_53); -x_56 = lean_ctor_get(x_54, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_54, 2); -lean_inc(x_58); -x_59 = lean_ctor_get(x_54, 3); -lean_inc(x_59); -lean_dec(x_54); -lean_inc(x_55); -x_60 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_59, x_1, x_55); -x_61 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_61, 0, x_56); -lean_ctor_set(x_61, 1, x_57); -lean_ctor_set(x_61, 2, x_58); -lean_ctor_set(x_61, 3, x_60); -lean_ctor_set(x_51, 1, x_61); -lean_ctor_set(x_51, 0, x_55); -return x_51; +lean_object* x_56; +x_56 = l_Lean_Expr_const___override(x_50, x_53); +x_6 = x_56; +x_7 = x_54; +goto block_19; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_62 = lean_ctor_get(x_51, 0); -x_63 = lean_ctor_get(x_51, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_51); +lean_dec(x_53); +lean_dec(x_50); lean_inc(x_1); -x_64 = lean_expr_update_const(x_1, x_62); -x_65 = lean_ctor_get(x_63, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_63, 1); -lean_inc(x_66); -x_67 = lean_ctor_get(x_63, 2); -lean_inc(x_67); -x_68 = lean_ctor_get(x_63, 3); -lean_inc(x_68); -lean_dec(x_63); -lean_inc(x_64); -x_69 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_68, x_1, x_64); -x_70 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_70, 0, x_65); -lean_ctor_set(x_70, 1, x_66); -lean_ctor_set(x_70, 2, x_67); -lean_ctor_set(x_70, 3, x_69); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_64); -lean_ctor_set(x_71, 1, x_70); -return x_71; +x_6 = x_1; +x_7 = x_54; +goto block_19; } } case 5: { -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); -x_72 = lean_unsigned_to_nat(0u); -x_73 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_72); -x_74 = l_Lean_instantiateExprMVars___rarg___lambda__20___closed__1; -lean_inc(x_73); -x_75 = lean_mk_array(x_73, x_74); -x_76 = lean_unsigned_to_nat(1u); -x_77 = lean_nat_sub(x_73, x_76); -lean_dec(x_73); +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; +lean_dec(x_20); +x_57 = lean_unsigned_to_nat(0u); +x_58 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_57); +x_59 = l_Lean_instantiateExprMVars___rarg___lambda__20___closed__1; +lean_inc(x_58); +x_60 = lean_mk_array(x_58, x_59); +x_61 = lean_unsigned_to_nat(1u); +x_62 = lean_nat_sub(x_58, x_61); +lean_dec(x_58); lean_inc(x_1); -x_78 = l_Lean_Expr_withAppAux___at_Lean_MetavarContext_LevelMVarToParam_main___spec__2(x_1, x_75, x_77, x_2, x_3); -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) +x_63 = l_Lean_Expr_withAppAux___at_Lean_MetavarContext_LevelMVarToParam_main___spec__2(x_1, x_60, x_62, x_2, x_3); +x_64 = !lean_is_exclusive(x_63); +if (x_64 == 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; -x_80 = lean_ctor_get(x_78, 0); -x_81 = lean_ctor_get(x_78, 1); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -x_84 = lean_ctor_get(x_81, 2); -lean_inc(x_84); -x_85 = lean_ctor_get(x_81, 3); -lean_inc(x_85); -lean_dec(x_81); -lean_inc(x_80); -x_86 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_85, x_1, x_80); -x_87 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_87, 0, x_82); -lean_ctor_set(x_87, 1, x_83); -lean_ctor_set(x_87, 2, x_84); -lean_ctor_set(x_87, 3, x_86); -lean_ctor_set(x_78, 1, x_87); -return x_78; +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 = lean_ctor_get(x_63, 0); +x_66 = lean_ctor_get(x_63, 1); +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_66, 2); +lean_inc(x_69); +x_70 = lean_ctor_get(x_66, 3); +lean_inc(x_70); +lean_dec(x_66); +lean_inc(x_65); +x_71 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_70, x_1, x_65); +x_72 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_72, 0, x_67); +lean_ctor_set(x_72, 1, x_68); +lean_ctor_set(x_72, 2, x_69); +lean_ctor_set(x_72, 3, x_71); +lean_ctor_set(x_63, 1, x_72); +return x_63; } 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; -x_88 = lean_ctor_get(x_78, 0); -x_89 = lean_ctor_get(x_78, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_78); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -x_92 = lean_ctor_get(x_89, 2); -lean_inc(x_92); -x_93 = lean_ctor_get(x_89, 3); -lean_inc(x_93); -lean_dec(x_89); -lean_inc(x_88); -x_94 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_93, x_1, x_88); -x_95 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_95, 0, x_90); -lean_ctor_set(x_95, 1, x_91); -lean_ctor_set(x_95, 2, x_92); -lean_ctor_set(x_95, 3, x_94); -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_88); -lean_ctor_set(x_96, 1, x_95); -return x_96; +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_73 = lean_ctor_get(x_63, 0); +x_74 = lean_ctor_get(x_63, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_63); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_74, 2); +lean_inc(x_77); +x_78 = lean_ctor_get(x_74, 3); +lean_inc(x_78); +lean_dec(x_74); +lean_inc(x_73); +x_79 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_78, x_1, x_73); +x_80 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_80, 0, x_75); +lean_ctor_set(x_80, 1, x_76); +lean_ctor_set(x_80, 2, x_77); +lean_ctor_set(x_80, 3, x_79); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_73); +lean_ctor_set(x_81, 1, x_80); +return x_81; } } case 6: { -lean_object* x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; -lean_dec(x_6); -x_97 = lean_ctor_get(x_1, 1); -lean_inc(x_97); -x_98 = lean_ctor_get(x_1, 2); -lean_inc(x_98); -x_99 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; size_t x_93; size_t x_94; uint8_t x_95; +lean_dec(x_20); +x_82 = lean_ctor_get(x_1, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_1, 1); +lean_inc(x_83); +x_84 = lean_ctor_get(x_1, 2); +lean_inc(x_84); +x_85 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); lean_inc(x_2); -x_100 = l_Lean_MetavarContext_LevelMVarToParam_main(x_97, x_2, x_3); -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_MetavarContext_LevelMVarToParam_main(x_98, x_2, x_102); -x_104 = !lean_is_exclusive(x_103); -if (x_104 == 0) +lean_inc(x_83); +x_86 = l_Lean_MetavarContext_LevelMVarToParam_main(x_83, x_2, x_3); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +lean_inc(x_84); +x_89 = l_Lean_MetavarContext_LevelMVarToParam_main(x_84, x_2, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +x_92 = l_Lean_Expr_lam___override(x_82, x_83, x_84, x_85); +x_93 = lean_ptr_addr(x_83); +lean_dec(x_83); +x_94 = lean_ptr_addr(x_87); +x_95 = lean_usize_dec_eq(x_93, x_94); +if (x_95 == 0) { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_105 = lean_ctor_get(x_103, 0); -x_106 = lean_ctor_get(x_103, 1); -lean_inc(x_1); -x_107 = lean_expr_update_lambda(x_1, x_99, x_101, 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); -lean_dec(x_106); -lean_inc(x_107); -x_112 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_111, x_1, x_107); -x_113 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_113, 0, x_108); -lean_ctor_set(x_113, 1, x_109); -lean_ctor_set(x_113, 2, x_110); -lean_ctor_set(x_113, 3, x_112); -lean_ctor_set(x_103, 1, x_113); -lean_ctor_set(x_103, 0, x_107); -return x_103; +lean_object* x_96; +lean_dec(x_92); +lean_dec(x_84); +x_96 = l_Lean_Expr_lam___override(x_82, x_87, x_90, x_85); +x_6 = x_96; +x_7 = x_91; +goto block_19; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_114 = lean_ctor_get(x_103, 0); -x_115 = lean_ctor_get(x_103, 1); -lean_inc(x_115); -lean_inc(x_114); -lean_dec(x_103); -lean_inc(x_1); -x_116 = lean_expr_update_lambda(x_1, x_99, x_101, x_114); -x_117 = lean_ctor_get(x_115, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_115, 1); -lean_inc(x_118); -x_119 = lean_ctor_get(x_115, 2); -lean_inc(x_119); -x_120 = lean_ctor_get(x_115, 3); -lean_inc(x_120); -lean_dec(x_115); -lean_inc(x_116); -x_121 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_120, x_1, x_116); -x_122 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_122, 0, x_117); -lean_ctor_set(x_122, 1, x_118); -lean_ctor_set(x_122, 2, x_119); -lean_ctor_set(x_122, 3, x_121); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_116); -lean_ctor_set(x_123, 1, x_122); -return x_123; +size_t x_97; size_t x_98; uint8_t x_99; +x_97 = lean_ptr_addr(x_84); +lean_dec(x_84); +x_98 = lean_ptr_addr(x_90); +x_99 = lean_usize_dec_eq(x_97, x_98); +if (x_99 == 0) +{ +lean_object* x_100; +lean_dec(x_92); +x_100 = l_Lean_Expr_lam___override(x_82, x_87, x_90, x_85); +x_6 = x_100; +x_7 = x_91; +goto block_19; +} +else +{ +uint8_t x_101; +x_101 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_85, x_85); +if (x_101 == 0) +{ +lean_object* x_102; +lean_dec(x_92); +x_102 = l_Lean_Expr_lam___override(x_82, x_87, x_90, x_85); +x_6 = x_102; +x_7 = x_91; +goto block_19; +} +else +{ +lean_dec(x_90); +lean_dec(x_87); +lean_dec(x_82); +x_6 = x_92; +x_7 = x_91; +goto block_19; +} +} } } case 7: { -lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; -lean_dec(x_6); -x_124 = lean_ctor_get(x_1, 1); -lean_inc(x_124); -x_125 = lean_ctor_get(x_1, 2); -lean_inc(x_125); -x_126 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_object* x_103; lean_object* 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; lean_object* x_111; lean_object* x_112; lean_object* x_113; size_t x_114; size_t x_115; uint8_t x_116; +lean_dec(x_20); +x_103 = lean_ctor_get(x_1, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_1, 1); +lean_inc(x_104); +x_105 = lean_ctor_get(x_1, 2); +lean_inc(x_105); +x_106 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); lean_inc(x_2); -x_127 = l_Lean_MetavarContext_LevelMVarToParam_main(x_124, x_2, x_3); -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_MetavarContext_LevelMVarToParam_main(x_125, x_2, x_129); -x_131 = !lean_is_exclusive(x_130); -if (x_131 == 0) +lean_inc(x_104); +x_107 = l_Lean_MetavarContext_LevelMVarToParam_main(x_104, x_2, x_3); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +lean_dec(x_107); +lean_inc(x_105); +x_110 = l_Lean_MetavarContext_LevelMVarToParam_main(x_105, 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); +lean_inc(x_105); +lean_inc(x_104); +lean_inc(x_103); +x_113 = l_Lean_Expr_forallE___override(x_103, x_104, x_105, x_106); +x_114 = lean_ptr_addr(x_104); +lean_dec(x_104); +x_115 = lean_ptr_addr(x_108); +x_116 = lean_usize_dec_eq(x_114, x_115); +if (x_116 == 0) { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_132 = lean_ctor_get(x_130, 0); -x_133 = lean_ctor_get(x_130, 1); -lean_inc(x_1); -x_134 = lean_expr_update_forall(x_1, x_126, x_128, x_132); -x_135 = lean_ctor_get(x_133, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_133, 1); -lean_inc(x_136); -x_137 = lean_ctor_get(x_133, 2); -lean_inc(x_137); -x_138 = lean_ctor_get(x_133, 3); -lean_inc(x_138); -lean_dec(x_133); -lean_inc(x_134); -x_139 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_138, x_1, x_134); -x_140 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_140, 0, x_135); -lean_ctor_set(x_140, 1, x_136); -lean_ctor_set(x_140, 2, x_137); -lean_ctor_set(x_140, 3, x_139); -lean_ctor_set(x_130, 1, x_140); -lean_ctor_set(x_130, 0, x_134); -return x_130; +lean_object* x_117; +lean_dec(x_113); +lean_dec(x_105); +x_117 = l_Lean_Expr_forallE___override(x_103, x_108, x_111, x_106); +x_6 = x_117; +x_7 = x_112; +goto block_19; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_141 = lean_ctor_get(x_130, 0); -x_142 = lean_ctor_get(x_130, 1); -lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_130); -lean_inc(x_1); -x_143 = lean_expr_update_forall(x_1, x_126, x_128, x_141); -x_144 = lean_ctor_get(x_142, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_142, 1); -lean_inc(x_145); -x_146 = lean_ctor_get(x_142, 2); -lean_inc(x_146); -x_147 = lean_ctor_get(x_142, 3); -lean_inc(x_147); -lean_dec(x_142); -lean_inc(x_143); -x_148 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_147, x_1, x_143); -x_149 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_149, 0, x_144); -lean_ctor_set(x_149, 1, x_145); -lean_ctor_set(x_149, 2, x_146); -lean_ctor_set(x_149, 3, x_148); -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_143); -lean_ctor_set(x_150, 1, x_149); -return x_150; +size_t x_118; size_t x_119; uint8_t x_120; +x_118 = lean_ptr_addr(x_105); +lean_dec(x_105); +x_119 = lean_ptr_addr(x_111); +x_120 = lean_usize_dec_eq(x_118, x_119); +if (x_120 == 0) +{ +lean_object* x_121; +lean_dec(x_113); +x_121 = l_Lean_Expr_forallE___override(x_103, x_108, x_111, x_106); +x_6 = x_121; +x_7 = x_112; +goto block_19; +} +else +{ +uint8_t x_122; +x_122 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_106, x_106); +if (x_122 == 0) +{ +lean_object* x_123; +lean_dec(x_113); +x_123 = l_Lean_Expr_forallE___override(x_103, x_108, x_111, x_106); +x_6 = x_123; +x_7 = x_112; +goto block_19; +} +else +{ +lean_dec(x_111); +lean_dec(x_108); +lean_dec(x_103); +x_6 = x_113; +x_7 = x_112; +goto block_19; +} +} } } case 8: { -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; uint8_t x_161; -lean_dec(x_6); -x_151 = lean_ctor_get(x_1, 1); -lean_inc(x_151); -x_152 = lean_ctor_get(x_1, 2); -lean_inc(x_152); -x_153 = lean_ctor_get(x_1, 3); -lean_inc(x_153); +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; size_t x_138; size_t x_139; uint8_t x_140; +lean_dec(x_20); +x_124 = lean_ctor_get(x_1, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_1, 1); +lean_inc(x_125); +x_126 = lean_ctor_get(x_1, 2); +lean_inc(x_126); +x_127 = lean_ctor_get(x_1, 3); +lean_inc(x_127); +x_128 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); lean_inc(x_2); -x_154 = l_Lean_MetavarContext_LevelMVarToParam_main(x_151, x_2, x_3); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); -lean_inc(x_156); -lean_dec(x_154); +lean_inc(x_125); +x_129 = l_Lean_MetavarContext_LevelMVarToParam_main(x_125, x_2, x_3); +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_129, 1); +lean_inc(x_131); +lean_dec(x_129); lean_inc(x_2); -x_157 = l_Lean_MetavarContext_LevelMVarToParam_main(x_152, x_2, x_156); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = l_Lean_MetavarContext_LevelMVarToParam_main(x_153, x_2, x_159); -x_161 = !lean_is_exclusive(x_160); -if (x_161 == 0) +lean_inc(x_126); +x_132 = l_Lean_MetavarContext_LevelMVarToParam_main(x_126, 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_127); +x_135 = l_Lean_MetavarContext_LevelMVarToParam_main(x_127, x_2, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = lean_ptr_addr(x_125); +lean_dec(x_125); +x_139 = lean_ptr_addr(x_130); +x_140 = lean_usize_dec_eq(x_138, x_139); +if (x_140 == 0) { -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_162 = lean_ctor_get(x_160, 0); -x_163 = lean_ctor_get(x_160, 1); -lean_inc(x_1); -x_164 = lean_expr_update_let(x_1, x_155, x_158, x_162); -x_165 = lean_ctor_get(x_163, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_163, 1); -lean_inc(x_166); -x_167 = lean_ctor_get(x_163, 2); -lean_inc(x_167); -x_168 = lean_ctor_get(x_163, 3); -lean_inc(x_168); -lean_dec(x_163); -lean_inc(x_164); -x_169 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_168, x_1, x_164); -x_170 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_170, 0, x_165); -lean_ctor_set(x_170, 1, x_166); -lean_ctor_set(x_170, 2, x_167); -lean_ctor_set(x_170, 3, x_169); -lean_ctor_set(x_160, 1, x_170); -lean_ctor_set(x_160, 0, x_164); -return x_160; +lean_object* x_141; +lean_dec(x_127); +lean_dec(x_126); +x_141 = l_Lean_Expr_letE___override(x_124, x_130, x_133, x_136, x_128); +x_6 = x_141; +x_7 = x_137; +goto block_19; } else { -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; -x_171 = lean_ctor_get(x_160, 0); -x_172 = lean_ctor_get(x_160, 1); -lean_inc(x_172); -lean_inc(x_171); -lean_dec(x_160); +size_t x_142; size_t x_143; uint8_t x_144; +x_142 = lean_ptr_addr(x_126); +lean_dec(x_126); +x_143 = lean_ptr_addr(x_133); +x_144 = lean_usize_dec_eq(x_142, x_143); +if (x_144 == 0) +{ +lean_object* x_145; +lean_dec(x_127); +x_145 = l_Lean_Expr_letE___override(x_124, x_130, x_133, x_136, x_128); +x_6 = x_145; +x_7 = x_137; +goto block_19; +} +else +{ +size_t x_146; size_t x_147; uint8_t x_148; +x_146 = lean_ptr_addr(x_127); +lean_dec(x_127); +x_147 = lean_ptr_addr(x_136); +x_148 = lean_usize_dec_eq(x_146, x_147); +if (x_148 == 0) +{ +lean_object* x_149; +x_149 = l_Lean_Expr_letE___override(x_124, x_130, x_133, x_136, x_128); +x_6 = x_149; +x_7 = x_137; +goto block_19; +} +else +{ +lean_dec(x_136); +lean_dec(x_133); +lean_dec(x_130); +lean_dec(x_124); lean_inc(x_1); -x_173 = lean_expr_update_let(x_1, x_155, x_158, x_171); -x_174 = lean_ctor_get(x_172, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_172, 1); -lean_inc(x_175); -x_176 = lean_ctor_get(x_172, 2); -lean_inc(x_176); -x_177 = lean_ctor_get(x_172, 3); -lean_inc(x_177); -lean_dec(x_172); -lean_inc(x_173); -x_178 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_177, x_1, x_173); -x_179 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_179, 0, x_174); -lean_ctor_set(x_179, 1, x_175); -lean_ctor_set(x_179, 2, x_176); -lean_ctor_set(x_179, 3, x_178); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_173); -lean_ctor_set(x_180, 1, x_179); -return x_180; +x_6 = x_1; +x_7 = x_137; +goto block_19; +} +} } } case 10: { -lean_object* x_181; lean_object* x_182; uint8_t x_183; -lean_dec(x_6); -x_181 = lean_ctor_get(x_1, 1); -lean_inc(x_181); -x_182 = l_Lean_MetavarContext_LevelMVarToParam_main(x_181, x_2, x_3); -x_183 = !lean_is_exclusive(x_182); -if (x_183 == 0) +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; size_t x_155; size_t x_156; uint8_t x_157; +lean_dec(x_20); +x_150 = lean_ctor_get(x_1, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_1, 1); +lean_inc(x_151); +lean_inc(x_151); +x_152 = l_Lean_MetavarContext_LevelMVarToParam_main(x_151, x_2, x_3); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +lean_dec(x_152); +x_155 = lean_ptr_addr(x_151); +lean_dec(x_151); +x_156 = lean_ptr_addr(x_153); +x_157 = lean_usize_dec_eq(x_155, x_156); +if (x_157 == 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; -x_184 = lean_ctor_get(x_182, 0); -x_185 = lean_ctor_get(x_182, 1); -lean_inc(x_1); -x_186 = lean_expr_update_mdata(x_1, x_184); -x_187 = lean_ctor_get(x_185, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_185, 1); -lean_inc(x_188); -x_189 = lean_ctor_get(x_185, 2); -lean_inc(x_189); -x_190 = lean_ctor_get(x_185, 3); -lean_inc(x_190); -lean_dec(x_185); -lean_inc(x_186); -x_191 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_190, x_1, x_186); -x_192 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_192, 0, x_187); -lean_ctor_set(x_192, 1, x_188); -lean_ctor_set(x_192, 2, x_189); -lean_ctor_set(x_192, 3, x_191); -lean_ctor_set(x_182, 1, x_192); -lean_ctor_set(x_182, 0, x_186); -return x_182; +lean_object* x_158; +x_158 = l_Lean_Expr_mdata___override(x_150, x_153); +x_6 = x_158; +x_7 = x_154; +goto block_19; } else { -lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_193 = lean_ctor_get(x_182, 0); -x_194 = lean_ctor_get(x_182, 1); -lean_inc(x_194); -lean_inc(x_193); -lean_dec(x_182); +lean_dec(x_153); +lean_dec(x_150); lean_inc(x_1); -x_195 = lean_expr_update_mdata(x_1, x_193); -x_196 = lean_ctor_get(x_194, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_194, 1); -lean_inc(x_197); -x_198 = lean_ctor_get(x_194, 2); -lean_inc(x_198); -x_199 = lean_ctor_get(x_194, 3); -lean_inc(x_199); -lean_dec(x_194); -lean_inc(x_195); -x_200 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_199, x_1, x_195); -x_201 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_201, 0, x_196); -lean_ctor_set(x_201, 1, x_197); -lean_ctor_set(x_201, 2, x_198); -lean_ctor_set(x_201, 3, x_200); -x_202 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_202, 0, x_195); -lean_ctor_set(x_202, 1, x_201); -return x_202; +x_6 = x_1; +x_7 = x_154; +goto block_19; } } case 11: { -lean_object* x_203; lean_object* x_204; uint8_t x_205; -lean_dec(x_6); -x_203 = lean_ctor_get(x_1, 2); -lean_inc(x_203); -x_204 = l_Lean_MetavarContext_LevelMVarToParam_main(x_203, x_2, x_3); -x_205 = !lean_is_exclusive(x_204); -if (x_205 == 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; size_t x_165; size_t x_166; uint8_t x_167; +lean_dec(x_20); +x_159 = lean_ctor_get(x_1, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_1, 1); +lean_inc(x_160); +x_161 = lean_ctor_get(x_1, 2); +lean_inc(x_161); +lean_inc(x_161); +x_162 = l_Lean_MetavarContext_LevelMVarToParam_main(x_161, x_2, x_3); +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_165 = lean_ptr_addr(x_161); +lean_dec(x_161); +x_166 = lean_ptr_addr(x_163); +x_167 = lean_usize_dec_eq(x_165, x_166); +if (x_167 == 0) { -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_206 = lean_ctor_get(x_204, 0); -x_207 = lean_ctor_get(x_204, 1); -lean_inc(x_1); -x_208 = lean_expr_update_proj(x_1, x_206); -x_209 = lean_ctor_get(x_207, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_207, 1); -lean_inc(x_210); -x_211 = lean_ctor_get(x_207, 2); -lean_inc(x_211); -x_212 = lean_ctor_get(x_207, 3); -lean_inc(x_212); -lean_dec(x_207); -lean_inc(x_208); -x_213 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_212, x_1, x_208); -x_214 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_214, 0, x_209); -lean_ctor_set(x_214, 1, x_210); -lean_ctor_set(x_214, 2, x_211); -lean_ctor_set(x_214, 3, x_213); -lean_ctor_set(x_204, 1, x_214); -lean_ctor_set(x_204, 0, x_208); -return x_204; +lean_object* x_168; +x_168 = l_Lean_Expr_proj___override(x_159, x_160, x_163); +x_6 = x_168; +x_7 = x_164; +goto block_19; } 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; -x_215 = lean_ctor_get(x_204, 0); -x_216 = lean_ctor_get(x_204, 1); -lean_inc(x_216); -lean_inc(x_215); -lean_dec(x_204); +lean_dec(x_163); +lean_dec(x_160); +lean_dec(x_159); lean_inc(x_1); -x_217 = lean_expr_update_proj(x_1, x_215); -x_218 = lean_ctor_get(x_216, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_216, 1); -lean_inc(x_219); -x_220 = lean_ctor_get(x_216, 2); -lean_inc(x_220); -x_221 = lean_ctor_get(x_216, 3); -lean_inc(x_221); -lean_dec(x_216); -lean_inc(x_217); -x_222 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_221, x_1, x_217); -x_223 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_223, 0, x_218); -lean_ctor_set(x_223, 1, x_219); -lean_ctor_set(x_223, 2, x_220); -lean_ctor_set(x_223, 3, x_222); -x_224 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_224, 0, x_217); -lean_ctor_set(x_224, 1, x_223); -return x_224; +x_6 = x_1; +x_7 = x_164; +goto block_19; } } default: { -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_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_dec(x_2); -x_225 = lean_ctor_get(x_3, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_3, 1); -lean_inc(x_226); -x_227 = lean_ctor_get(x_3, 2); -lean_inc(x_227); +x_169 = lean_ctor_get(x_3, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_3, 1); +lean_inc(x_170); +x_171 = lean_ctor_get(x_3, 2); +lean_inc(x_171); lean_dec(x_3); lean_inc_n(x_1, 2); -x_228 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_6, x_1, x_1); -x_229 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_229, 0, x_225); -lean_ctor_set(x_229, 1, x_226); -lean_ctor_set(x_229, 2, x_227); -lean_ctor_set(x_229, 3, x_228); -x_230 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_230, 0, x_1); -lean_ctor_set(x_230, 1, x_229); -return x_230; +x_172 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_20, x_1, x_1); +x_173 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_173, 0, x_169); +lean_ctor_set(x_173, 1, x_170); +lean_ctor_set(x_173, 2, x_171); +lean_ctor_set(x_173, 3, x_172); +x_174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_174, 0, x_1); +lean_ctor_set(x_174, 1, x_173); +return x_174; } } } else { -lean_object* x_231; lean_object* x_232; -lean_dec(x_6); +lean_object* x_175; lean_object* x_176; +lean_dec(x_20); lean_dec(x_2); lean_dec(x_1); -x_231 = lean_ctor_get(x_7, 0); -lean_inc(x_231); +x_175 = lean_ctor_get(x_21, 0); +lean_inc(x_175); +lean_dec(x_21); +x_176 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_3); +return x_176; +} +block_19: +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 3); +lean_inc(x_6); +x_10 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_9, x_1, x_6); +lean_ctor_set(x_7, 3, x_10); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_6); +lean_ctor_set(x_11, 1, x_7); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_ctor_get(x_7, 0); +x_13 = lean_ctor_get(x_7, 1); +x_14 = lean_ctor_get(x_7, 2); +x_15 = lean_ctor_get(x_7, 3); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); lean_dec(x_7); -x_232 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_3); -return x_232; +lean_inc(x_6); +x_16 = l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(x_15, x_1, x_6); +x_17 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_17, 0, x_12); +lean_ctor_set(x_17, 1, x_13); +lean_ctor_set(x_17, 2, x_14); +lean_ctor_set(x_17, 3, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_6); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} } } } diff --git a/stage0/stdlib/Lean/MonadEnv.c b/stage0/stdlib/Lean/MonadEnv.c index 530ce9899e..6cb43d01e3 100644 --- a/stage0/stdlib/Lean/MonadEnv.c +++ b/stage0/stdlib/Lean/MonadEnv.c @@ -3858,7 +3858,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_findModuleOf_x3f___rarg___lambda__1___closed__1; x_2 = l_Lean_findModuleOf_x3f___rarg___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_findModuleOf_x3f___rarg___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index 57a6cd9a4b..2b2ec052bb 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -16,6 +16,7 @@ extern "C" { static lean_object* l_Lean_Parser_Command_moduleDoc_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_noncomputableSection_formatter___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Command_deriving_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_structFields___elambda__1___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Command_genInjectiveTheorems_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Command_check_declRange___closed__6; @@ -24,10 +25,9 @@ static lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__15; static lean_object* l_Lean_Parser_Command_check__failure___closed__5; static lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_attribute_formatter___closed__11; -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__5; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__38; static lean_object* l_Lean_Parser_Command_example___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_opaque___closed__10; -static lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__23; LEAN_EXPORT lean_object* l_Lean_Parser_Command_eraseAttr; static lean_object* l___regBuiltin_Lean_Parser_Command_structure_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_computedField_formatter___closed__3; @@ -41,6 +41,7 @@ static lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__18; static lean_object* l_Lean_Parser_Command_init__quot___closed__3; static lean_object* l_Lean_Parser_Command_theorem___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_classInductive_formatter___closed__5; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__21; static lean_object* l_Lean_Parser_Command_whereStructInst_parenthesizer___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_quot_docString___closed__1; static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__20; @@ -59,6 +60,7 @@ static lean_object* l_Lean_Parser_Command_noncomputableSection_formatter___close static lean_object* l_Lean_Parser_Command_print_parenthesizer___closed__3; lean_object* l_Lean_Parser_nonReservedSymbol_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_def___closed__5; +static lean_object* l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_optDeriving___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_terminationByCore_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__2; @@ -69,7 +71,6 @@ static lean_object* l_Lean_Parser_Command_mutual___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_eval___closed__1; static lean_object* l_Lean_Parser_Command_declaration___elambda__1___closed__15; static lean_object* l_Lean_Parser_Command_structure___closed__7; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__39; static lean_object* l_Lean_Parser_Command_openRenaming_formatter___closed__4; static lean_object* l_Lean_Parser_Command_structImplicitBinder_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_section___elambda__1___closed__4; @@ -100,7 +101,6 @@ static lean_object* l_Lean_Parser_Command_theorem_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_derivingClasses_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_variable_declRange___closed__1; -static lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__21; LEAN_EXPORT lean_object* l_Lean_Parser_Command_check___elambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_namespace_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_initialize_formatter___closed__11; @@ -160,7 +160,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_noncomputable_formatter__ static lean_object* l_Lean_Parser_Command_section___closed__3; static lean_object* l_Lean_Parser_Command_declVal___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_set__option_formatter___closed__6; -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_export___elambda__1___closed__14; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_precheckedQuot_declRange(lean_object*); static lean_object* l_Lean_Parser_Command_mutual___closed__4; @@ -291,6 +290,7 @@ static lean_object* l_Lean_Parser_Command_quot___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_openRenamingItem___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_computedFields_parenthesizer(lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__34; static lean_object* l_Lean_Parser_Command_theorem___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Command_noncomputable_formatter___closed__2; static lean_object* l_Lean_Parser_Command_universe___elambda__1___closed__10; @@ -321,7 +321,6 @@ static lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__13; static lean_object* l_Lean_Parser_Command_theorem___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_matchAlts(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_open_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_builtin__initialize___closed__6; static lean_object* l_Lean_Parser_Command_deriving_parenthesizer___closed__5; extern lean_object* l_Lean_Parser_leadPrec; static lean_object* l_Lean_Parser_Command_private___elambda__1___closed__6; @@ -329,7 +328,6 @@ lean_object* l_Lean_Parser_notFollowedByFn___boxed(lean_object*, lean_object*, l static lean_object* l___regBuiltin_Lean_Parser_Command_variable_declRange___closed__4; static lean_object* l_Lean_Parser_Command_declModifiers___closed__1; static lean_object* l_Lean_Parser_Command_openRenaming___elambda__1___closed__3; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__11; static lean_object* l_Lean_Parser_Command_terminationByCore_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_structCtor___closed__4; static lean_object* l_Lean_Parser_Command_opaque___elambda__1___closed__3; @@ -339,6 +337,7 @@ static lean_object* l_Lean_Parser_Command_terminationByCore_formatter___closed__ lean_object* l_Lean_Parser_many(lean_object*); static lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__3; static lean_object* l_Lean_Parser_Command_extends_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_initializeKeyword___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Command_set__option_declRange___closed__4; static lean_object* l_Lean_Parser_Command_ctor_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_bracketedBinder(uint8_t); @@ -387,9 +386,9 @@ static lean_object* l_Lean_Parser_Command_computedFields___elambda__1___closed__ LEAN_EXPORT lean_object* l_Lean_Parser_Command_openRenaming; static lean_object* l_Lean_Parser_Command_openScoped_formatter___closed__1; static lean_object* l_Lean_Parser_Command_partial___elambda__1___closed__3; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__33; static lean_object* l___regBuiltin_Lean_Parser_Tactic_open_declRange___closed__7; static lean_object* l_Lean_Parser_Command_initialize_parenthesizer___closed__3; -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__13; static lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__26; static lean_object* l___regBuiltin_Lean_Parser_Tactic_set__option_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_classInductive___elambda__1(lean_object*, lean_object*); @@ -446,7 +445,6 @@ static lean_object* l_Lean_Parser_Command_extends___elambda__1___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_eval(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Tactic_set__option_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_whereStructInst_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__19; static lean_object* l_Lean_Parser_Command_opaque___closed__3; static lean_object* l_Lean_Parser_Command_deriving_formatter___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Command_universe_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -456,6 +454,8 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_openOnly_formatter___clos static lean_object* l_Lean_Parser_Command_universe___closed__7; static lean_object* l_Lean_Parser_Command_printAxioms_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_terminationByElement_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__23; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__13; static lean_object* l_Lean_Parser_Command_inductive_formatter___closed__13; static lean_object* l_Lean_Parser_Command_openScoped___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declValSimple_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -498,6 +498,7 @@ static lean_object* l_Lean_Parser_Command_computedField___closed__10; static lean_object* l_Lean_Parser_Command_terminationHintMany___elambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_atomic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_optDeclSig_formatter___closed__7; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__41; static lean_object* l_Lean_Parser_Command_declSig___elambda__1___closed__14; LEAN_EXPORT lean_object* l_Lean_Parser_Command_synth___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__3; @@ -514,6 +515,7 @@ static lean_object* l_Lean_Parser_Command_ctor_formatter___closed__8; static lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_declaration___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_openScoped_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_initializeKeyword___closed__8; static lean_object* l_Lean_Parser_Command_declModifiers___elambda__2___closed__9; static lean_object* l_Lean_Parser_Command_section___closed__5; static lean_object* l_Lean_Parser_Command_openSimple___elambda__1___closed__3; @@ -529,6 +531,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_structImplicitBinder static lean_object* l___regBuiltin_Lean_Parser_Command_protected_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_extends___elambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_namedPrio_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_initializeKeyword___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_nonrec_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_end_formatter___closed__3; static lean_object* l_Lean_Parser_Command_def_parenthesizer___closed__6; @@ -636,6 +639,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_abbrev; static lean_object* l_Lean_Parser_Command_mutual_parenthesizer___closed__11; static lean_object* l_Lean_Parser_Command_variable_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__14; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__27; lean_object* l_Lean_Parser_Term_binderTactic___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_structExplicitBinder_formatter___closed__9; static lean_object* l_Lean_Parser_Command_declValSimple_formatter___closed__2; @@ -643,13 +647,11 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_quot_formatter___closed__4; static lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__16; LEAN_EXPORT lean_object* l_Lean_Parser_Command_mutual_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_print___elambda__1___closed__13; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__43; lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_in___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_inductive_formatter___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Command_protected_formatter___closed__1; static lean_object* l_Lean_Parser_Command_declSig___elambda__1___closed__16; -static lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter___closed__1; static lean_object* l_Lean_Parser_Command_printAxioms_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_open_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_computedFields___elambda__1___closed__13; @@ -669,6 +671,7 @@ static lean_object* l_Lean_Parser_Command_openRenamingItem___elambda__1___closed static lean_object* l___regBuiltin_Lean_Parser_Term_set__option_declRange___closed__3; static lean_object* l_Lean_Parser_Command_declModifiers___closed__2; static lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__22; +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__16; static lean_object* l_Lean_Parser_Command_unsafe___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_open; @@ -683,6 +686,7 @@ static lean_object* l_Lean_Parser_Command_section___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Command_partial_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_axiom___closed__6; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__4; static lean_object* l___regBuiltin_Lean_Parser_Command_openRenamingItem_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_declValEqns___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_def___elambda__1___closed__14; @@ -726,7 +730,6 @@ static lean_object* l_Lean_Parser_Tactic_open___closed__3; static lean_object* l_Lean_Parser_Command_visibility___closed__1; static lean_object* l_Lean_Parser_Term_precheckedQuot_formatter___closed__1; static lean_object* l_Lean_Parser_Command_exit___elambda__1___closed__4; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__20; static lean_object* l___regBuiltin_Lean_Parser_Command_decreasingBy_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_whereStructInst___elambda__1___closed__28; static lean_object* l_Lean_Parser_Command_moduleDoc___elambda__1___closed__11; @@ -763,6 +766,7 @@ static lean_object* l_Lean_Parser_Command_genInjectiveTheorems___closed__6; static lean_object* l_Lean_Parser_Command_namespace___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Command_def; static lean_object* l_Lean_Parser_Command_end___elambda__1___closed__10; +static lean_object* l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_declSig___closed__2; static lean_object* l_Lean_Parser_Term_quot_formatter___closed__7; static lean_object* l_Lean_Parser_Command_structImplicitBinder___elambda__1___closed__5; @@ -775,6 +779,7 @@ static lean_object* l_Lean_Parser_Command_structSimpleBinder___closed__4; static lean_object* l_Lean_Parser_Command_structImplicitBinder___elambda__1___closed__14; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_export(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_mutual; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__2; static lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_set__option___closed__6; static lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__17; @@ -832,22 +837,18 @@ static lean_object* l_Lean_Parser_Command_terminationByElement___elambda__1___cl LEAN_EXPORT lean_object* l_Lean_Parser_Command_openRenamingItem___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mutual___elambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_end_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_attribute_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_openHiding___closed__7; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_unsafe_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_variable_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_noncomputable___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_eraseAttr___elambda__1___closed__9; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_noncomputableSection_parenthesizer(lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__32; static lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__13; static lean_object* l___regBuiltin_Lean_Parser_Command_initialize_declRange___closed__5; static lean_object* l_Lean_Parser_Command_openSimple___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Command_check__failure_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_whereStructInst___closed__1; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__10; static lean_object* l_Lean_Parser_Command_instance___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_instance_formatter___closed__3; static lean_object* l_Lean_Parser_Command_whereStructField_parenthesizer___closed__3; @@ -870,13 +871,13 @@ static lean_object* l_Lean_Parser_Command_classInductive___elambda__1___closed__ static lean_object* l_Lean_Parser_Command_abbrev___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_docComment_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_inductive_formatter___closed__1; -static lean_object* l_Lean_Parser_Command_initialize_parenthesizer___closed__12; static lean_object* l_Lean_Parser_Command_moduleDoc_formatter___closed__8; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_whereStructInst___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_whereStructInst___elambda__1___closed__32; static lean_object* l_Lean_Parser_Command_openRenaming___closed__4; static lean_object* l_Lean_Parser_Command_print_formatter___closed__6; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mutual___closed__12; static lean_object* l___regBuiltin_Lean_Parser_Tactic_set__option_declRange___closed__4; static lean_object* l_Lean_Parser_Command_openRenaming___closed__9; @@ -890,12 +891,13 @@ static lean_object* l_Lean_Parser_Command_terminationByCore___closed__6; static lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__11; lean_object* l_Lean_Parser_addBuiltinParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_init__quot_declRange___closed__6; +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_classInductive_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_declVal___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_theorem___elambda__1___closed__13; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__44; static lean_object* l_Lean_Parser_Command_openSimple___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_export___closed__12; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__12; static lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__8; lean_object* l_Lean_Parser_optional_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__10; @@ -963,7 +965,6 @@ static lean_object* l_Lean_Parser_Command_eraseAttr_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_reduce___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_attrInstance_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_exit___closed__6; -static lean_object* l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_terminationHintMany_formatter___closed__2; static lean_object* l_Lean_Parser_Command_eval_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_derivingClasses___closed__12; @@ -1042,7 +1043,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_universe_declRange___clos lean_object* l_Lean_Parser_checkPrecFn___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_noncomputableSection_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_instance; -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_structFields___elambda__1___closed__17; lean_object* l_Lean_Parser_sepBy1_formatter(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_terminationByElement_formatter___closed__5; @@ -1066,10 +1066,10 @@ static lean_object* l_Lean_Parser_Command_terminationSuffix___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Command_openOnly___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_reduce___closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Command_decreasingBy_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__10; -static lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__7; static lean_object* l_Lean_Parser_Command_openSimple___elambda__1___closed__8; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__17; static lean_object* l___regBuiltin_Lean_Parser_Command_declaration_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_initializeKeyword_formatter___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_set__option_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structFields___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_set__option___elambda__1___closed__9; @@ -1095,7 +1095,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_set__option_declRange___clos LEAN_EXPORT lean_object* l_Lean_Parser_Command_instance___elambda__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_check__failure_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_structExplicitBinder_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__26; static lean_object* l_Lean_Parser_Term_precheckedQuot_formatter___closed__4; static lean_object* l_Lean_Parser_Command_classInductive_formatter___closed__10; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_classInductive_formatter(lean_object*); @@ -1104,6 +1103,7 @@ static lean_object* l_Lean_Parser_Command_optDefDeriving_parenthesizer___closed_ static lean_object* l_Lean_Parser_Command_structFields___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_reduce___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Command_resolve__name___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__8; static lean_object* l_Lean_Parser_Term_set__option_formatter___closed__6; static lean_object* l_Lean_Parser_Command_terminationHintMany___closed__14; lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1114,7 +1114,6 @@ lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_obje static lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__29; static lean_object* l_Lean_Parser_Command_openSimple___elambda__1___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Command_printAxioms_declRange___closed__3; -static lean_object* l_Lean_Parser_Command_builtin__initialize___closed__3; static lean_object* l_Lean_Parser_Command_set__option___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_export_declRange___closed__4; static lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__14; @@ -1131,7 +1130,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_attribute_declRange___clo static lean_object* l_Lean_Parser_Command_structSimpleBinder___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_export___closed__11; static lean_object* l_Lean_Parser_Command_abbrev_formatter___closed__3; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_quot; static lean_object* l_Lean_Parser_Command_namespace___closed__5; static lean_object* l_Lean_Parser_Command_mutual_formatter___closed__1; @@ -1229,6 +1227,7 @@ static lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__20; static lean_object* l_Lean_Parser_Command_private_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_declaration_formatter___closed__10; lean_object* l_Lean_Parser_optional_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__45; static lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__30; static lean_object* l_Lean_Parser_Command_instance_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_axiom_formatter___closed__1; @@ -1238,15 +1237,17 @@ static lean_object* l_Lean_Parser_Command_example___elambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_in_declRange___closed__5; static lean_object* l_Lean_Parser_Tactic_open___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_deriving___elambda__1___closed__10; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__40; static lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__12; +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_ctor_formatter___closed__2; -static lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__4; static lean_object* l_Lean_Parser_Command_declValSimple_formatter___closed__3; static lean_object* l_Lean_Parser_Command_decreasingBy___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_moduleDoc_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_binderTactic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_openRenamingItem___closed__4; static lean_object* l_Lean_Parser_Command_variable_parenthesizer___closed__5; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__9; static lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__21; static lean_object* l_Lean_Parser_Command_declValSimple___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_open___elambda__1___closed__6; @@ -1307,6 +1308,7 @@ static lean_object* l_Lean_Parser_Command_openDecl_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_print_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_theorem_formatter___closed__6; static lean_object* l_Lean_Parser_Command_initialize___closed__2; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__30; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_openSimple_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_inductive_parenthesizer___closed__14; static lean_object* l_Lean_Parser_Command_abbrev_parenthesizer___closed__6; @@ -1323,6 +1325,7 @@ static lean_object* l_Lean_Parser_Command_inductive___closed__7; static lean_object* l_Lean_Parser_Command_axiom_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_unsafe; static lean_object* l___regBuiltin_Lean_Parser_Command_structCtor_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__15; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_resolve__name_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_whereStructInst___elambda__1___closed__35; static lean_object* l_Lean_Parser_Command_structImplicitBinder_parenthesizer___closed__7; @@ -1348,6 +1351,7 @@ static lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__13; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_terminationByCore_formatter(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_moduleDoc_declRange___closed__7; static lean_object* l_Lean_Parser_Command_decreasingBy___elambda__1___closed__13; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__18; static lean_object* l___regBuiltin_Lean_Parser_Command_open_formatter___closed__1; static lean_object* l_Lean_Parser_Command_terminationHintMany___closed__19; static lean_object* l_Lean_Parser_Command_initialize___closed__8; @@ -1482,12 +1486,13 @@ static lean_object* l___regBuiltin_Lean_Parser_Tactic_open_declRange___closed__4 static lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__3; extern lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; static lean_object* l___regBuiltin_Lean_Parser_Command_noncomputableSection_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Command_noncomputable___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_optDefDeriving___closed__5; static lean_object* l_Lean_Parser_Command_resolve__name___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_structSimpleBinder_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__13; static lean_object* l___regBuiltin_Lean_Parser_Command_whereStructField_parenthesizer___closed__2; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange(lean_object*); static lean_object* l_Lean_Parser_Command_unsafe_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_classTk_formatter___closed__1; static lean_object* l_Lean_Parser_Command_quot_parenthesizer___closed__3; @@ -1498,6 +1503,7 @@ static lean_object* l_Lean_Parser_Command_namedPrio_formatter___closed__4; static lean_object* l_Lean_Parser_Command_whereStructInst___elambda__1___closed__27; static lean_object* l_Lean_Parser_Command_eval___elambda__1___closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Command_noncomputableSection___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_structInstBinder___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__15; static lean_object* l_Lean_Parser_Command_in_formatter___closed__3; @@ -1515,6 +1521,7 @@ static lean_object* l_Lean_Parser_Command_namedPrio___elambda__1___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_synth_formatter(lean_object*); extern lean_object* l_Lean_Parser_Term_binderDefault; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_example_parenthesizer(lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__42; static lean_object* l___regBuiltin_Lean_Parser_Term_quot_formatter___closed__3; static lean_object* l_Lean_Parser_Command_optDeriving_formatter___closed__3; static lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__4; @@ -1524,7 +1531,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_terminationByCore_parenthesizer(l static lean_object* l_Lean_Parser_Command_structFields_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_openSimple_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_decreasingBy_formatter___closed__2; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474_(lean_object*); static lean_object* l_Lean_Parser_Command_reduce___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_initialize___closed__4; static lean_object* l_Lean_Parser_Command_def___elambda__1___closed__4; @@ -1541,6 +1548,7 @@ static lean_object* l_Lean_Parser_Command_computedFields___elambda__1___closed__ static lean_object* l_Lean_Parser_Command_structExplicitBinder___closed__9; static lean_object* l_Lean_Parser_Command_example_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Command_check__failure_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__37; static lean_object* l_Lean_Parser_Command_attribute___closed__6; static lean_object* l_Lean_Parser_Command_optionValue_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_optDeclSig_formatter___closed__1; @@ -1558,7 +1566,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_structFields_parenth static lean_object* l_Lean_Parser_Command_structure_formatter___closed__6; static lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_inductive_formatter___closed__8; -static lean_object* l_Lean_Parser_Command_builtin__initialize_formatter___closed__3; static lean_object* l_Lean_Parser_Command_terminationSuffix_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declaration___elambda__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_open_declRange___closed__7; @@ -1583,7 +1590,6 @@ static lean_object* l_Lean_Parser_Command_instance_parenthesizer___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_open_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_classTk_formatter___closed__2; static lean_object* l_Lean_Parser_Command_declaration_parenthesizer___closed__9; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_builtin__initialize_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_set__option_formatter___closed__5; static lean_object* l_Lean_Parser_Command_attribute___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_export_declRange___closed__5; @@ -1657,8 +1663,10 @@ static lean_object* l_Lean_Parser_Command_deriving___elambda__1___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_whereStructInst_parenthesizer(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_namedPrio_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_in___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__3; static lean_object* l_Lean_Parser_Command_set__option___closed__10; static lean_object* l_Lean_Parser_Command_unsafe___elambda__1___closed__10; +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_declModifiers___elambda__2___closed__18; static lean_object* l_Lean_Parser_Term_precheckedQuot_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_whereStructField_formatter___closed__2; @@ -1688,6 +1696,7 @@ static lean_object* l_Lean_Parser_Command_terminationByElement___closed__11; static lean_object* l_Lean_Parser_Command_reduce_formatter___closed__3; static lean_object* l_Lean_Parser_Command_openHiding___closed__9; static lean_object* l_Lean_Parser_Command_exit_parenthesizer___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initializeKeyword_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_decreasingBy_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_precheckedQuot___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_example_parenthesizer___closed__3; @@ -1695,7 +1704,6 @@ static lean_object* l_Lean_Parser_Command_structFields___elambda__1___closed__23 static lean_object* l_Lean_Parser_Command_classInductive___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_print_declRange(lean_object*); static lean_object* l_Lean_Parser_Tactic_set__option_parenthesizer___closed__2; -static lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__5; static lean_object* l_Lean_Parser_Command_noncomputableSection___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Command_openRenamingItem_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_open___closed__2; @@ -1710,7 +1718,6 @@ static lean_object* l_Lean_Parser_Command_synth___closed__3; lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_exit___elambda__1___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_open_declRange(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter(lean_object*); lean_object* l_Lean_Parser_checkLhsPrecFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_eval_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_attribute___closed__3; @@ -1754,7 +1761,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_set__option_parenthe static lean_object* l_Lean_Parser_Command_openOnly_formatter___closed__4; lean_object* l_Lean_Parser_Term_bracketedBinder_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_instance_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_builtin__initialize_formatter___closed__5; static lean_object* l_Lean_Parser_Command_terminationByCore_formatter___closed__2; static lean_object* l_Lean_Parser_Command_export_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_whereStructInst_parenthesizer___closed__5; @@ -1787,6 +1793,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_printAxioms_formatte static lean_object* l_Lean_Parser_Command_init__quot_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_synth_declRange___closed__7; static lean_object* l_Lean_Parser_Command_noncomputableSection___closed__4; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__28; lean_object* l_Lean_Parser_Command_commentBody_parenthesizer___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_check__failure_formatter___closed__2; static lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__2; @@ -1806,9 +1813,10 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_optDefDeriving; LEAN_EXPORT lean_object* l_Lean_Parser_Command_export___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_precheckedQuot___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_declId_formatter___closed__7; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__14; static lean_object* l_Lean_Parser_Command_structImplicitBinder___elambda__1___closed__16; static lean_object* l_Lean_Parser_Command_classTk_formatter___closed__1; -static lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__3; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__5; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_addQuotDepthFn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_declModifiers___elambda__2___closed__10; static lean_object* l_Lean_Parser_Command_openHiding_formatter___closed__6; @@ -1830,6 +1838,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_quot_formatter(lean_obj static lean_object* l___regBuiltin_Lean_Parser_Command_resolve__name_formatter___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_terminationHintMany(lean_object*); static lean_object* l_Lean_Parser_Command_classTk___closed__1; +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_eval___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_namespace_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_terminationByCore___elambda__1___closed__12; @@ -1916,6 +1925,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_precheckedQuot_parenthesizer static lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__17; LEAN_EXPORT lean_object* l_Lean_Parser_Command_axiom_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_openDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__22; static lean_object* l_Lean_Parser_Command_axiom___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_eraseAttr_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_eval___elambda__1___closed__2; @@ -1969,12 +1979,12 @@ static lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__24; static lean_object* l_Lean_Parser_Command_openDecl___closed__5; static lean_object* l_Lean_Parser_Command_classInductive_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_namedPrio_formatter___closed__9; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__22; static lean_object* l_Lean_Parser_Command_reduce___elambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_genInjectiveTheorems_declRange___closed__7; static lean_object* l_Lean_Parser_Command_section___elambda__1___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_universe_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_private_formatter___closed__1; +static lean_object* l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__1; static lean_object* l_Lean_Parser_Command_protected___elambda__1___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_resolve__name_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structSimpleBinder_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2003,7 +2013,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_open_parenthesizer(lean static lean_object* l_Lean_Parser_Command_openRenaming___elambda__1___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_init__quot_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_unsafe___closed__5; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__33; static lean_object* l_Lean_Parser_Command_mutual___closed__9; static lean_object* l_Lean_Parser_Command_computedField_formatter___closed__8; static lean_object* l_Lean_Parser_Command_openScoped___closed__2; @@ -2030,7 +2039,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_open_parenthesizer___closed_ static lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_section___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_export_parenthesizer___closed__3; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__24; static lean_object* l_Lean_Parser_Command_attribute_formatter___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Command_universe_declRange___closed__3; static lean_object* l_Lean_Parser_Command_nonrec___elambda__1___closed__3; @@ -2082,6 +2090,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_decreasingBy; static lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_declValEqns_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_whereStructInst___closed__5; +static lean_object* l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__2; static lean_object* l_Lean_Parser_Command_protected___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_exit_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_whereStructInst___elambda__1___closed__26; @@ -2153,7 +2162,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_terminationHintMany_parenthesizer static lean_object* l___regBuiltin_Lean_Parser_Command_openScoped_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_variable___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_quot_formatter___closed__3; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__7; static lean_object* l_Lean_Parser_Tactic_set__option_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_attribute_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_synth___closed__6; @@ -2168,7 +2176,9 @@ static lean_object* l_Lean_Parser_Command_openOnly_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_terminationSuffix_formatter___closed__1; static lean_object* l_Lean_Parser_Command_openScoped___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_declValSimple___elambda__1___closed__8; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initializeKeyword_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_export_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_initializeKeyword___closed__7; static lean_object* l_Lean_Parser_Command_mutual_parenthesizer___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Command_optDeclSig_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_in_formatter(lean_object*); @@ -2190,8 +2200,10 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_universe_declRange___clos LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_optDeriving_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_optDeclSig_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__19; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__25; static lean_object* l_Lean_Parser_Command_openHiding_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__4; +static lean_object* l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_variable_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_check__failure_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_instance_formatter___closed__5; @@ -2265,7 +2277,6 @@ lean_object* l_Lean_Parser_strLit_parenthesizer(lean_object*, lean_object*, lean static lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_precheckedQuot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_declModifiers___elambda__2___closed__5; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__16; static lean_object* l_Lean_Parser_Command_inductive_formatter___closed__4; static lean_object* l_Lean_Parser_Command_classInductive_formatter___closed__7; extern lean_object* l_Lean_Parser_rawIdent; @@ -2309,6 +2320,7 @@ static lean_object* l_Lean_Parser_Command_openHiding_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_quot_parenthesizer___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_open_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_open___closed__7; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__29; static lean_object* l_Lean_Parser_Command_structCtor___closed__1; static lean_object* l_Lean_Parser_Command_abbrev_formatter___closed__7; static lean_object* l_Lean_Parser_Command_open_formatter___closed__5; @@ -2357,10 +2369,10 @@ static lean_object* l_Lean_Parser_Command_def___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_namespace_declRange___closed__7; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_inductive_formatter___closed__9; +static lean_object* l_Lean_Parser_Command_initializeKeyword_formatter___closed__3; static lean_object* l_Lean_Parser_Command_derivingClasses___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_precheckedQuot_declRange___closed__1; static lean_object* l_Lean_Parser_Command_exit_formatter___closed__3; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__37; LEAN_EXPORT lean_object* l_Lean_Parser_Command_extends_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_open_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_quot_docString(lean_object*); @@ -2384,7 +2396,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_def_formatter(lean_object*, lean_ static lean_object* l___regBuiltin_Lean_Parser_Command_quot_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_mutual_declRange___closed__7; static lean_object* l_Lean_Parser_Command_end___elambda__1___closed__6; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__42; uint32_t lean_string_utf8_get(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mutual___closed__7; static lean_object* l_Lean_Parser_Command_declaration___closed__4; @@ -2462,10 +2473,10 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_mutual_declRange___closed LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_optDeclSig_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_deriving___closed__1; static lean_object* l_Lean_Parser_Tactic_open___closed__4; -static lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_end_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_terminationBy___elambda__1___closed__7; +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__9; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_export_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_abbrev_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declModifiers___elambda__2(lean_object*, lean_object*); @@ -2541,12 +2552,12 @@ static lean_object* l_Lean_Parser_Command_openRenaming___elambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Command_theorem___elambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_protected_parenthesizer(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_check_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_terminationByCore___closed__5; static lean_object* l_Lean_Parser_Command_reduce_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_computedFields_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_open_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_set__option_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_terminationSuffix___closed__1; static lean_object* l_Lean_Parser_Command_private___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_decreasingBy___elambda__1___closed__1; @@ -2598,6 +2609,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_quot_formatter(lean_ static lean_object* l_Lean_Parser_Command_terminationSuffix_formatter___closed__2; static lean_object* l_Lean_Parser_Command_inductive_parenthesizer___closed__9; static lean_object* l_Lean_Parser_Command_noncomputable_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declSig___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__22; static lean_object* l_Lean_Parser_Command_structSimpleBinder___elambda__1___closed__2; @@ -2613,7 +2625,6 @@ static lean_object* l_Lean_Parser_Command_exit___elambda__1___closed__11; LEAN_EXPORT lean_object* l_Lean_Parser_Command_ctor___elambda__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_set__option_declRange___closed__7; static lean_object* l_Lean_Parser_Command_mutual___elambda__1___closed__7; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__18; static lean_object* l_Lean_Parser_Command_def___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_check___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_eraseAttr___closed__7; @@ -2625,7 +2636,6 @@ static lean_object* l_Lean_Parser_Command_structImplicitBinder___elambda__1___cl static lean_object* l_Lean_Parser_Command_opaque___closed__1; static lean_object* l_Lean_Parser_Command_end___closed__8; static lean_object* l_Lean_Parser_Command_abbrev___closed__8; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__5; static lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_initialize_formatter___closed__3; static lean_object* l_Lean_Parser_Command_exit_formatter___closed__1; @@ -2658,7 +2668,6 @@ static lean_object* l_Lean_Parser_Command_attribute_formatter___closed__5; static lean_object* l_Lean_Parser_Command_optDefDeriving_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_exit_formatter___closed__2; static lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__7; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__30; static lean_object* l_Lean_Parser_Tactic_set__option_formatter___closed__6; static lean_object* l_Lean_Parser_Command_structSimpleBinder___closed__7; static lean_object* l_Lean_Parser_Command_extends___elambda__1___closed__9; @@ -2689,7 +2698,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_quot_parenthesizer___clos static lean_object* l_Lean_Parser_Command_inductive___closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declModifiersF_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_whereStructInst___elambda__1___closed__23; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__14; static lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_printAxioms___elambda__1___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_terminationBy_formatter(lean_object*); @@ -2718,7 +2726,6 @@ static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__ static lean_object* l_Lean_Parser_Command_printAxioms___closed__8; static lean_object* l_Lean_Parser_Command_optDefDeriving_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_precheckedQuot_formatter___closed__3; -static lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__22; static lean_object* l___regBuiltin_Lean_Parser_Command_check_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_export; LEAN_EXPORT lean_object* l_Lean_Parser_Command_instance_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2739,7 +2746,6 @@ static lean_object* l_Lean_Parser_Command_reduce___closed__6; static lean_object* l_Lean_Parser_Command_reduce_parenthesizer___closed__2; extern lean_object* l_Lean_Parser_Term_attrInstance; static lean_object* l_Lean_Parser_Command_namespace___elambda__1___closed__3; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__28; LEAN_EXPORT lean_object* l_Lean_Parser_Command_openRenamingItem___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_axiom___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_abbrev___closed__2; @@ -2819,6 +2825,7 @@ static lean_object* l_Lean_Parser_Command_check___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_decreasingBy___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_structInstBinder___closed__1; static lean_object* l_Lean_Parser_Command_terminationByCore___elambda__1___closed__8; +static lean_object* l_Lean_Parser_Command_initializeKeyword_formatter___closed__4; static lean_object* l_Lean_Parser_Command_terminationByElement_formatter___closed__9; static lean_object* l_Lean_Parser_Command_mutual_parenthesizer___closed__13; static lean_object* l_Lean_Parser_Command_mutual___closed__10; @@ -2826,7 +2833,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_optDeriving_formatter___c static lean_object* l_Lean_Parser_Command_openSimple_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_eval_declRange___closed__5; static lean_object* l_Lean_Parser_Command_decreasingBy_formatter___closed__4; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__3; static lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__25; static lean_object* l_Lean_Parser_Command_structInstBinder_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_declId_parenthesizer___closed__5; @@ -2875,18 +2881,15 @@ static lean_object* l_Lean_Parser_Command_print___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_example_formatter___closed__1; static lean_object* l_Lean_Parser_Term_set__option_parenthesizer___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_skip_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_builtin__initialize_formatter___closed__1; static lean_object* l_Lean_Parser_Command_eval___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_resolve__name___closed__1; static lean_object* l_Lean_Parser_Command_axiom___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_inductive___closed__4; static lean_object* l_Lean_Parser_Command_export_formatter___closed__4; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__15; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structCtor_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_printAxioms_formatter___closed__4; static lean_object* l_Lean_Parser_Command_terminationByElement_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_terminationByElement___closed__1; -static lean_object* l_Lean_Parser_Command_builtin__initialize___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_terminationByElement_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Command_private; @@ -2954,7 +2957,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_quot___elambda__1___lambda__1___boxe static lean_object* l_Lean_Parser_Command_mutual___elambda__1___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_extends_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Tactic_open_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_printAxioms___closed__6; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems___elambda__1___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_end_declRange(lean_object*); @@ -2985,6 +2987,7 @@ static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__ LEAN_EXPORT lean_object* l_Lean_Parser_Command_terminationHintMany___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_open_parenthesizer___closed__1; lean_object* l_Lean_Parser_commandParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_computedField___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_declModifiers___elambda__2___closed__22; LEAN_EXPORT lean_object* l_Lean_Parser_Command_partial___elambda__1(lean_object*, lean_object*); @@ -3020,7 +3023,6 @@ static lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___cl uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); static lean_object* l_Lean_Parser_Command_reduce_formatter___closed__1; static lean_object* l_Lean_Parser_Command_terminationByElement___closed__5; -static lean_object* l_Lean_Parser_Command_builtin__initialize_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_moduleDoc_formatter___closed__1; static lean_object* l_Lean_Parser_Tactic_set__option_parenthesizer___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_openHiding_formatter(lean_object*); @@ -3057,7 +3059,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_deriving_declRange___clos static lean_object* l_Lean_Parser_Command_resolve__name___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_derivingClasses___closed__1; static lean_object* l_Lean_Parser_Command_decreasingBy___closed__8; -static lean_object* l_Lean_Parser_Command_builtin__initialize___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Command_structImplicitBinder_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_instance_formatter___closed__1; static lean_object* l_Lean_Parser_Command_init__quot___closed__2; @@ -3083,6 +3084,7 @@ static lean_object* l_Lean_Parser_Command_openRenamingItem_parenthesizer___close static lean_object* l_Lean_Parser_Command_deriving_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_eraseAttr_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_printAxioms___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__32; static lean_object* l_Lean_Parser_Command_declSig___elambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Command_openRenaming_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_structureTk_formatter___closed__1; @@ -3123,7 +3125,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_openHiding_parenthesizer_ static lean_object* l_Lean_Parser_Command_inductive_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Command_extends_formatter___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Command_moduleDoc_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__2; static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Command_quot_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_nonrec_formatter___closed__1; @@ -3140,7 +3141,6 @@ static lean_object* l_Lean_Parser_Command_reduce_formatter___closed__2; static lean_object* l_Lean_Parser_Command_whereStructInst_formatter___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Command_mutual_declRange___closed__4; static lean_object* l_Lean_Parser_Command_example_parenthesizer___closed__4; -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__18; static lean_object* l_Lean_Parser_Command_partial___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_set__option___closed__8; @@ -3151,6 +3151,7 @@ extern lean_object* l_Lean_Parser_Term_attrKind; static lean_object* l_Lean_Parser_Term_quot_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_resolve__name_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_initialize_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__10; static lean_object* l___regBuiltin_Lean_Parser_Command_structExplicitBinder_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_declaration_declRange___closed__1; static lean_object* l_Lean_Parser_Command_export_parenthesizer___closed__5; @@ -3189,6 +3190,7 @@ static lean_object* l_Lean_Parser_Command_classInductive___closed__6; static lean_object* l_Lean_Parser_Command_namespace_parenthesizer___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_partial_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_terminationSuffix_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__20; static lean_object* l_Lean_Parser_Command_eraseAttr_formatter___closed__2; static lean_object* l_Lean_Parser_Command_end___elambda__1___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_genInjectiveTheorems_formatter(lean_object*); @@ -3257,7 +3259,6 @@ static lean_object* l_Lean_Parser_Command_quot___closed__4; static lean_object* l_Lean_Parser_Command_optDeclSig_formatter___closed__9; static lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_letDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_builtin__initialize_formatter___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_example_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_resolve__name___elambda__1___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Command_example_formatter___closed__2; @@ -3280,7 +3281,6 @@ static lean_object* l_Lean_Parser_Command_whereStructInst___elambda__1___closed_ static lean_object* l_Lean_Parser_Term_open_formatter___closed__2; static lean_object* l_Lean_Parser_Command_namespace___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_namespace_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__25; lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_computedFields___elambda__1___closed__7; @@ -3314,7 +3314,6 @@ static lean_object* l_Lean_Parser_Command_synth_formatter___closed__2; static lean_object* l_Lean_Parser_Command_computedField___elambda__1___closed__15; static lean_object* l_Lean_Parser_Command_noncomputable___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_openSimple___elambda__1___closed__7; -static lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_init__quot_formatter___closed__2; static lean_object* l_Lean_Parser_Command_decreasingBy___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1___closed__6; @@ -3328,6 +3327,7 @@ static lean_object* l_Lean_Parser_Command_end___closed__6; static lean_object* l_Lean_Parser_Command_optDefDeriving___closed__6; static lean_object* l_Lean_Parser_Command_noncomputable_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_section_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_initializeKeyword___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_classTk_formatter___closed__2; static lean_object* l_Lean_Parser_Command_decreasingBy___closed__2; static lean_object* l_Lean_Parser_Command_instance___closed__6; @@ -3345,7 +3345,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_extends_formatter(le static lean_object* l_Lean_Parser_Command_structInstBinder_parenthesizer___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Command_variable_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Command_ctor_formatter___closed__1; -static lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_export_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declVal_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_declSig___elambda__1___closed__2; @@ -3362,7 +3361,6 @@ static lean_object* l_Lean_Parser_Command_deriving_formatter___closed__7; static lean_object* l_Lean_Parser_Command_opaque___closed__4; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems___closed__2; static lean_object* l_Lean_Parser_Command_in_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_optDeclSig___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Tactic_open_formatter___closed__1; static lean_object* l_Lean_Parser_Command_def___elambda__1___closed__13; @@ -3373,7 +3371,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_declSig_formatter(lean_object*, l static lean_object* l_Lean_Parser_Tactic_open_formatter___closed__6; static lean_object* l_Lean_Parser_Command_resolve__name___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Command_declaration_declRange___closed__6; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__6; static lean_object* l_Lean_Parser_Command_computedField_parenthesizer___closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_incQuotDepth_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_print_declRange___closed__3; @@ -3391,8 +3388,8 @@ static lean_object* l_Lean_Parser_Command_terminationByElement___closed__6; static lean_object* l_Lean_Parser_Command_structure_parenthesizer___closed__16; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___rarg(lean_object*); static lean_object* l_Lean_Parser_Command_computedFields_formatter___closed__5; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__29; static lean_object* l_Lean_Parser_Command_terminationBy___closed__4; +static lean_object* l_Lean_Parser_Command_initializeKeyword___closed__6; static lean_object* l_Lean_Parser_Command_terminationByCore_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_precheckedQuot_declRange___closed__3; static lean_object* l_Lean_Parser_Command_declId___closed__7; @@ -3414,6 +3411,7 @@ static lean_object* l_Lean_Parser_Command_openOnly___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_structFields_formatter___closed__6; static lean_object* l_Lean_Parser_Command_declSig___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_inductive___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__16; static lean_object* l___regBuiltin_Lean_Parser_Command_mutual_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_attribute_declRange___closed__5; static lean_object* l_Lean_Parser_Command_terminationByElement___elambda__1___closed__17; @@ -3510,7 +3508,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_openScoped_formatter static lean_object* l_Lean_Parser_Command_namespace_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_deriving___elambda__1___closed__21; static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__21; -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__12; static lean_object* l___regBuiltin_Lean_Parser_Term_set__option_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_section_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_declValEqns_formatter(lean_object*); @@ -3538,6 +3535,7 @@ static lean_object* l_Lean_Parser_Tactic_open___closed__8; static lean_object* l_Lean_Parser_Term_open___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_terminationBy___elambda__1___closed__13; static lean_object* l_Lean_Parser_Command_ctor___closed__9; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__24; static lean_object* l_Lean_Parser_Command_inductive___closed__13; static lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_terminationByElement___elambda__1___closed__21; @@ -3557,6 +3555,7 @@ static lean_object* l_Lean_Parser_Command_structInstBinder___elambda__1___closed static lean_object* l_Lean_Parser_Command_terminationHintMany___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_openOnly___closed__6; +static lean_object* l_Lean_Parser_Command_initializeKeyword___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Command_namespace_declRange___closed__6; static lean_object* l_Lean_Parser_Command_whereStructInst___elambda__1___closed__17; static lean_object* l_Lean_Parser_Command_export___elambda__1___closed__9; @@ -3636,14 +3635,15 @@ static lean_object* l_Lean_Parser_Command_structureTk___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_export_formatter___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_ctor_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_terminationHint_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_declId_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_openRenamingItem___elambda__1___closed__12; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_openRenamingItem_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_decreasingBy_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_reduce_declRange___closed__3; -static lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__2; static lean_object* l_Lean_Parser_Command_structImplicitBinder___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__6; +static lean_object* l_Lean_Parser_Command_initializeKeyword___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_abbrev_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_structExplicitBinder_formatter___closed__1; static lean_object* l_Lean_Parser_Command_printAxioms___elambda__1___closed__6; @@ -3677,6 +3677,7 @@ static lean_object* l_Lean_Parser_Command_openRenamingItem___closed__9; static lean_object* l_Lean_Parser_Command_terminationByCore___closed__4; static lean_object* l_Lean_Parser_Command_namedPrio_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_universe_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Command_noncomputableSection_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_noncomputableSection___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_openRenamingItem___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -3688,11 +3689,11 @@ static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__ static lean_object* l_Lean_Parser_Command_inductive_parenthesizer___closed__12; static lean_object* l_Lean_Parser_Command_derivingClasses_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_check__failure_declRange___closed__3; +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_structSimpleBinder___elambda__1___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Command_decreasingBy_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_resolve__name_formatter___closed__1; -static lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__1; static lean_object* l_Lean_Parser_Command_openHiding___closed__1; static lean_object* l_Lean_Parser_Command_check__failure___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_moduleDoc_formatter___closed__2; @@ -3745,7 +3746,7 @@ static lean_object* l_Lean_Parser_Command_quot___closed__3; static lean_object* l_Lean_Parser_Command_instance___elambda__1___closed__12; static lean_object* l___regBuiltin_Lean_Parser_Command_universe_declRange___closed__1; static lean_object* l_Lean_Parser_Command_def_formatter___closed__9; -static lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__19; +static lean_object* l_Lean_Parser_Command_initializeKeyword___closed__2; static lean_object* l_Lean_Parser_Command_classInductive___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_openRenaming___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_declValSimple_formatter___closed__1; @@ -3786,18 +3787,16 @@ static lean_object* l_Lean_Parser_Command_computedField_parenthesizer___closed__ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_optDeriving_parenthesizer(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_deriving_declRange___closed__6; static lean_object* l_Lean_Parser_Command_extends_formatter___closed__1; -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__1; lean_object* l_String_trim(lean_object*); lean_object* l_Lean_Parser_Term_doSeq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_genInjectiveTheorems_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_def___elambda__1___closed__16; static lean_object* l___regBuiltin_Lean_Parser_Command_reduce_declRange___closed__5; +static lean_object* l_Lean_Parser_Command_initializeKeyword_formatter___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structure___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_def_formatter___closed__1; static lean_object* l_Lean_Parser_Command_derivingClasses_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_structFields_formatter___closed__1; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__21; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__38; static lean_object* l_Lean_Parser_Command_mutual___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_terminationByElement___closed__4; static lean_object* l_Lean_Parser_Command_def___closed__8; @@ -3834,7 +3833,6 @@ static lean_object* l_Lean_Parser_Command_partial_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_declValSimple_formatter___closed__2; static lean_object* l_Lean_Parser_Command_exit___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Command_unsafe___elambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Command_builtin__initialize; static lean_object* l_Lean_Parser_Command_nonrec___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_structImplicitBinder___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Command_declaration_parenthesizer___closed__2; @@ -3842,11 +3840,10 @@ static lean_object* l_Lean_Parser_Command_variable___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_in_declRange___closed__1; static lean_object* l_Lean_Parser_Command_private___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_noncomputable___elambda__1___closed__6; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__35; static lean_object* l_Lean_Parser_Command_deriving___elambda__1___closed__17; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_builtin__initialize_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_declaration___closed__17; static lean_object* l_Lean_Parser_Command_structExplicitBinder_formatter___closed__8; -static lean_object* l_Lean_Parser_Command_builtin__initialize___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_extends_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_variable_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_openHiding_parenthesizer___closed__2; @@ -3866,7 +3863,6 @@ static lean_object* l_Lean_Parser_Command_computedField___elambda__1___closed__1 static lean_object* l_Lean_Parser_Command_structCtor___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_structFields_parenthesizer___closed__10; static lean_object* l_Lean_Parser_Command_structureTk___closed__5; -static lean_object* l_Lean_Parser_Command_initialize___closed__10; lean_object* l_Lean_Parser_rawIdent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_precheckedQuot___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_print___closed__1; @@ -3897,6 +3893,7 @@ static lean_object* l_Lean_Parser_Command_unsafe___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_structInstBinder___elambda__1___closed__16; static lean_object* l_Lean_Parser_Command_declValSimple_parenthesizer___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Command_open_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__1; static lean_object* l_Lean_Parser_Command_classTk___closed__3; static lean_object* l_Lean_Parser_Command_whereStructInst___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_structFields___closed__5; @@ -3925,11 +3922,9 @@ static lean_object* l_Lean_Parser_Command_terminationHintMany___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_initialize(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_partial_formatter___closed__2; static lean_object* l_Lean_Parser_Command_structSimpleBinder___closed__1; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__13; static lean_object* l_Lean_Parser_Command_declValSimple___elambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_precheckedQuot; static lean_object* l_Lean_Parser_Command_abbrev___elambda__1___closed__10; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__41; static lean_object* l_Lean_Parser_Command_set__option___closed__2; static lean_object* l_Lean_Parser_Command_init__quot___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__17; @@ -3958,13 +3953,11 @@ static lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__13; static lean_object* l_Lean_Parser_Command_opaque_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Command_optDeriving___elambda__1___closed__12; -static lean_object* l_Lean_Parser_Command_builtin__initialize___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_open(lean_object*); static lean_object* l_Lean_Parser_Command_instance_formatter___closed__9; static lean_object* l_Lean_Parser_Command_deriving_formatter___closed__2; static lean_object* l_Lean_Parser_Command_export___elambda__1___closed__13; static lean_object* l_Lean_Parser_Command_set__option_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__34; static lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems___elambda__1___closed__12; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_mutual(lean_object*); @@ -3978,9 +3971,9 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_unsafe_formatter(lean_object*, le static lean_object* l_Lean_Parser_Command_structCtor___elambda__1___closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structureTk; static lean_object* l___regBuiltin_Lean_Parser_Term_open_declRange___closed__5; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__19; static lean_object* l_Lean_Parser_Command_eval_formatter___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_open; -static lean_object* l_Lean_Parser_Command_builtin__initialize___closed__4; static lean_object* l_Lean_Parser_Command_extends_formatter___closed__2; static lean_object* l_Lean_Parser_Command_end___elambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structImplicitBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3992,7 +3985,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_attribute(lean_objec static lean_object* l_Lean_Parser_Command_initialize_formatter___closed__7; static lean_object* l_Lean_Parser_Command_open_formatter___closed__4; static lean_object* l_Lean_Parser_Command_def___closed__2; -static lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__20; static lean_object* l___regBuiltin_Lean_Parser_Command_variable_declRange___closed__6; static lean_object* l_Lean_Parser_Command_terminationBy___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_terminationSuffix___elambda__1___closed__1; @@ -4006,7 +3998,6 @@ lean_object* l_Lean_Parser_Term_typeSpec_parenthesizer(lean_object*, lean_object lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_declaration___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_check__failure_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__23; static lean_object* l_Lean_Parser_Command_terminationHintMany___closed__6; static lean_object* l_Lean_Parser_Command_export___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_classTk_parenthesizer(lean_object*); @@ -4022,6 +4013,7 @@ static lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__27; static lean_object* l_Lean_Parser_Command_openRenaming___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_openRenamingItem___closed__8; static lean_object* l_Lean_Parser_Command_mutual_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_decreasingBy___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_noncomputableSection___elambda__1___closed__12; lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4045,19 +4037,20 @@ static lean_object* l_Lean_Parser_Command_derivingClasses___closed__5; static lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_quot___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structCtor___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_optDefDeriving_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_partial; static lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_declModifiers___closed__11; static lean_object* l_Lean_Parser_Command_mutual___elambda__1___closed__13; -static lean_object* l_Lean_Parser_Command_builtin__initialize___closed__2; static lean_object* l_Lean_Parser_Command_set__option_formatter___closed__2; static lean_object* l_Lean_Parser_Command_end___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_declaration___closed__6; static lean_object* l_Lean_Parser_Command_private___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_nonrec___elambda__1___closed__2; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__39; static lean_object* l_Lean_Parser_Command_set__option_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems___closed__4; static lean_object* l_Lean_Parser_Command_check___closed__7; @@ -4069,7 +4062,6 @@ static lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_printAxioms_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_optionValue___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Command_print_declRange___closed__2; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__1; static lean_object* l_Lean_Parser_Command_optDeclSig___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Command_terminationByCore; static lean_object* l_Lean_Parser_Tactic_open___elambda__1___closed__1; @@ -4121,6 +4113,7 @@ static lean_object* l_Lean_Parser_Command_declValSimple___elambda__1___closed__7 LEAN_EXPORT lean_object* l_Lean_Parser_Command_namespace; static lean_object* l_Lean_Parser_Command_print___closed__2; static lean_object* l_Lean_Parser_Command_structCtor_formatter___closed__5; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__11; static lean_object* l_Lean_Parser_Command_print___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__27; static lean_object* l_Lean_Parser_Command_openDecl___elambda__1___closed__1; @@ -4177,6 +4170,7 @@ static lean_object* l_Lean_Parser_Command_structureTk___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Command_init__quot_declRange___closed__2; lean_object* l_Lean_Parser_Term_binderDefault_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_openHiding_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__12; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_eval_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_partial___elambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_noncomputableSection_declRange___closed__5; @@ -4224,7 +4218,6 @@ static lean_object* l_Lean_Parser_Command_declModifiers___elambda__2___closed__1 lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_open_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_printAxioms_parenthesizer___closed__5; -static lean_object* l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Tactic_set__option___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_openHiding_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Tactic_open___closed__7; @@ -4236,7 +4229,6 @@ static lean_object* l_Lean_Parser_Command_def___closed__4; static lean_object* l_Lean_Parser_Command_openScoped___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_structImplicitBinder_formatter___closed__6; static lean_object* l_Lean_Parser_Command_declaration___closed__5; -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__9; lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mutual___elambda__1___closed__15; static lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__15; @@ -4266,6 +4258,7 @@ static lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_derivingClasses_formatter___closed__6; static lean_object* l_Lean_Parser_Command_structInstBinder_parenthesizer___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Tactic_open_declRange___closed__3; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__31; static lean_object* l___regBuiltin_Lean_Parser_Command_initialize_declRange___closed__1; static lean_object* l_Lean_Parser_Command_protected___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_axiom; @@ -4277,6 +4270,7 @@ static lean_object* l_Lean_Parser_Term_open___closed__2; static lean_object* l_Lean_Parser_Command_classInductive_formatter___closed__9; static lean_object* l_Lean_Parser_Command_computedFields_parenthesizer___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Tactic_set__option_formatter___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initializeKeyword; static lean_object* l_Lean_Parser_Command_openOnly___closed__4; static lean_object* l_Lean_Parser_Command_declaration_formatter___closed__1; static lean_object* l_Lean_Parser_Term_open_formatter___closed__5; @@ -4307,6 +4301,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_check__failure; static lean_object* l_Lean_Parser_Command_printAxioms___elambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_open___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_structExplicitBinder_formatter___closed__12; +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_optionValue_parenthesizer___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_abbrev_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_openRenaming_parenthesizer___closed__5; @@ -4319,7 +4314,6 @@ static lean_object* l_Lean_Parser_Command_structFields_formatter___closed__8; lean_object* l_Lean_Parser_Term_matchAlts_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_print___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_optDeriving___closed__4; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_open___closed__8; static lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__5; static lean_object* l_Lean_Parser_Tactic_open___elambda__1___closed__11; @@ -4327,7 +4321,6 @@ static lean_object* l_Lean_Parser_Command_extends_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_set__option_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_unsafe___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_opaque___closed__7; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__31; static lean_object* l_Lean_Parser_Command_optDefDeriving___closed__4; static lean_object* l_Lean_Parser_Command_synth___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_openRenamingItem_formatter___closed__4; @@ -4341,14 +4334,12 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_export_parenthesizer static lean_object* l_Lean_Parser_Command_optDeriving___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_whereStructInst___elambda__1___closed__30; static lean_object* l_Lean_Parser_Command_ctor_formatter___closed__3; -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_synth___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_structExplicitBinder___closed__3; static lean_object* l_Lean_Parser_Command_protected___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_structImplicitBinder_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_terminationHintMany_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_abbrev___elambda__1___closed__12; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__27; static lean_object* l_Lean_Parser_Command_reduce___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_initialize_parenthesizer___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_exit_declRange___closed__1; @@ -4386,6 +4377,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_opaque_formatter(lean_object*, le static lean_object* l_Lean_Parser_Command_moduleDoc___elambda__1___closed__13; static lean_object* l_Lean_Parser_Command_declaration_formatter___closed__12; static lean_object* l_Lean_Parser_Command_eraseAttr___elambda__1___closed__12; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__43; LEAN_EXPORT lean_object* l_Lean_Parser_Term_set__option; lean_object* l_Lean_Parser_Term_binderIdent___elambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_check_declRange(lean_object*); @@ -4403,14 +4395,12 @@ static lean_object* l_Lean_Parser_Command_init__quot___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_structInstBinder_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__11; static lean_object* l_Lean_Parser_Command_example___closed__4; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__40; static lean_object* l_Lean_Parser_Command_terminationBy___elambda__1___closed__15; static lean_object* l_Lean_Parser_Command_openOnly___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Command_set__option_parenthesizer___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_structureTk_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_terminationBy___elambda__1___closed__18; LEAN_EXPORT lean_object* l_Lean_Parser_Command_namedPrio___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_open___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_instance___closed__3; static lean_object* l_Lean_Parser_Command_optDefDeriving___closed__9; @@ -4424,7 +4414,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___box static lean_object* l_Lean_Parser_Command_whereStructInst___elambda__1___closed__18; static lean_object* l_Lean_Parser_Command_theorem___elambda__1___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Command_declId_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_opaque___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_partial___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_resolve__name___elambda__1___closed__10; @@ -4454,6 +4443,7 @@ static lean_object* l_Lean_Parser_Command_structureTk_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_terminationByCore_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_check__failure___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_whereStructField_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_private_formatter___closed__1; static lean_object* l_Lean_Parser_Term_open___closed__5; static lean_object* l_Lean_Parser_Command_declValSimple___closed__7; @@ -4467,7 +4457,6 @@ static lean_object* l_Lean_Parser_Command_structInstBinder___elambda__1___closed static lean_object* l_Lean_Parser_Command_reduce_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_declaration___closed__13; static lean_object* l_Lean_Parser_Command_namespace___closed__6; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__9; static lean_object* l_Lean_Parser_Command_theorem_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_initialize_declRange___closed__6; static lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__26; @@ -4490,7 +4479,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_optDeriving_formatter(lean_object static lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__9; static lean_object* l_Lean_Parser_Command_openDecl___closed__2; static lean_object* l_Lean_Parser_Command_abbrev___closed__6; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__45; static lean_object* l_Lean_Parser_Command_terminationBy___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_example___closed__2; static lean_object* l_Lean_Parser_Command_opaque_formatter___closed__6; @@ -4504,7 +4492,6 @@ static lean_object* l_Lean_Parser_Command_declVal_formatter___closed__2; static lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__12; static lean_object* l___regBuiltin_Lean_Parser_Command_check__failure_declRange___closed__6; static lean_object* l_Lean_Parser_Command_openScoped___elambda__1___closed__2; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_set__option(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Tactic_set__option_declRange___closed__2; static lean_object* l_Lean_Parser_Term_set__option_formatter___closed__4; @@ -4550,6 +4537,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_instance_formatter(lean_object*, static lean_object* l_Lean_Parser_Command_declModifiers___elambda__2___closed__19; static lean_object* l_Lean_Parser_Command_structExplicitBinder___closed__7; static lean_object* l_Lean_Parser_Command_in___closed__7; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__36; static lean_object* l_Lean_Parser_Command_declSig___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Command_print; static lean_object* l_Lean_Parser_Command_abbrev_formatter___closed__1; @@ -4584,6 +4572,7 @@ static lean_object* l_Lean_Parser_Command_structInstBinder___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_universe_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_openRenamingItem_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structInstBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initializeKeyword_formatter___closed__2; static lean_object* l_Lean_Parser_Command_terminationByElement___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_private_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_abbrev_formatter___closed__4; @@ -4621,8 +4610,6 @@ static lean_object* l_Lean_Parser_Command_computedFields___elambda__1___closed__ lean_object* l_Lean_Parser_Term_attrKind___elambda__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_openRenaming_formatter___closed__2; static lean_object* l_Lean_Parser_Command_eraseAttr___elambda__1___closed__5; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__44; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__17; LEAN_EXPORT lean_object* l_Lean_Parser_Command_private___elambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_section___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__17; @@ -4630,12 +4617,12 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_classTk_parenthesizer___c static lean_object* l_Lean_Parser_Command_openOnly_formatter___closed__5; static lean_object* l_Lean_Parser_Command_partial_formatter___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_structImplicitBinder_parenthesizer(lean_object*); -static lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__6; static lean_object* l_Lean_Parser_Command_openHiding_formatter___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Command_deriving_declRange___closed__2; static lean_object* l_Lean_Parser_Command_instance_formatter___closed__11; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_initialize_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_computedField___closed__9; +static lean_object* l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1; lean_object* l_Lean_Parser_checkColGtFn___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_declModifiers_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent___elambda__1(lean_object*, lean_object*); @@ -4647,6 +4634,7 @@ static lean_object* l_Lean_Parser_Command_namedPrio___elambda__1___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Command_classInductive_parenthesizer___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_universe_declRange(lean_object*); static lean_object* l_Lean_Parser_Term_set__option___elambda__1___closed__6; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__26; static lean_object* l_Lean_Parser_Command_declModifiers___elambda__2___closed__11; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_classTk_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_export___closed__5; @@ -4693,7 +4681,6 @@ static lean_object* l_Lean_Parser_Command_structInstBinder___elambda__1___closed static lean_object* l_Lean_Parser_Command_declaration___elambda__1___closed__14; static lean_object* l___regBuiltin_Lean_Parser_Term_open_declRange___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_attribute_parenthesizer(lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__36; static lean_object* l_Lean_Parser_Command_quot___closed__2; static lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__11; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structInstBinder___elambda__1(lean_object*, lean_object*); @@ -4730,7 +4717,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_optionValue_formatter(lean_object static lean_object* l_Lean_Parser_Command_deriving___elambda__1___closed__18; static lean_object* l_Lean_Parser_Command_example___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_protected_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__4; static lean_object* l_Lean_Parser_Command_open_formatter___closed__2; static lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_openRenaming_formatter___closed__6; @@ -4752,7 +4738,6 @@ static lean_object* l_Lean_Parser_Command_def_formatter___closed__4; static lean_object* l_Lean_Parser_Command_openScoped___elambda__1___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_terminationBy_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_end___closed__2; -static lean_object* l_Lean_Parser_Command_initialize_formatter___closed__12; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems___closed__3; static lean_object* l_Lean_Parser_Term_quot___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declId_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4788,7 +4773,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_quot_declRange___closed__4; static lean_object* l_Lean_Parser_Command_section___closed__6; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__21; -static lean_object* l_Lean_Parser_Command_builtin__initialize___closed__8; static lean_object* l_Lean_Parser_Command_noncomputableSection___closed__3; static lean_object* l_Lean_Parser_Command_opaque___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_declModifiers___closed__4; @@ -4808,7 +4792,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_synth_parenthesizer___clo static lean_object* l_Lean_Parser_Command_declId___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_partial_formatter___closed__2; static lean_object* l_Lean_Parser_Command_structSimpleBinder___elambda__1___closed__7; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__35; lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_nonrec___elambda__1___closed__4; @@ -62571,6 +62554,313 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("initializeKeyword", 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_quot___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; +x_3 = 1; +x_4 = 0; +x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("initialize ", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__4; +x_2 = l_String_trim(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Term_quot___elambda__1___lambda__1___boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("builtin_initialize ", 19); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__7; +x_2 = l_String_trim(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__8; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Term_quot___elambda__1___lambda__1___boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__6; +x_2 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__10; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__11; +x_2 = l_Lean_Parser_Term_quot___elambda__1___closed__20; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__19; +x_2 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__12; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initializeKeyword___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint32_t x_8; uint32_t x_9; uint8_t x_10; +x_3 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__3; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_ctor_get(x_2, 2); +lean_inc(x_7); +x_8 = lean_string_utf8_get(x_6, x_7); +lean_dec(x_7); +lean_dec(x_6); +x_9 = 36; +x_10 = lean_uint32_dec_eq(x_8, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_dec(x_4); +x_11 = lean_unsigned_to_nat(1024u); +x_12 = l_Lean_Parser_checkPrecFn(x_11, x_1, x_2); +x_13 = lean_ctor_get(x_12, 4); +lean_inc(x_13); +x_14 = lean_box(0); +x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_13, x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_dec(x_1); +return x_12; +} +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; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +x_17 = lean_array_get_size(x_16); +lean_dec(x_16); +x_18 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__6; +x_19 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__9; +x_20 = 1; +lean_inc(x_1); +x_21 = l_Lean_Parser_orelseFnCore(x_18, x_19, x_20, x_1, x_12); +x_22 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; +x_23 = l_Lean_Parser_ParserState_mkNode(x_21, x_22, x_17); +x_24 = lean_ctor_get(x_23, 4); +lean_inc(x_24); +x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_24, x_14); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_dec(x_1); +return x_23; +} +else +{ +lean_object* x_26; +x_26 = l_Lean_Parser_setLhsPrecFn(x_11, x_1, x_23); +lean_dec(x_1); +return x_26; +} +} +} +else +{ +lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_27 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__13; +x_28 = 0; +x_29 = l_Lean_Parser_orelseFnCore(x_4, x_27, x_28, x_1, x_2); +return x_29; +} +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__5; +x_2 = l_Lean_Parser_symbolInfo(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__8; +x_2 = l_Lean_Parser_symbolInfo(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initializeKeyword___closed__1; +x_2 = l_Lean_Parser_Command_initializeKeyword___closed__2; +x_3 = l_Lean_Parser_orelseInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_initializeKeyword___closed__3; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initializeKeyword___closed__4; +x_2 = l_Lean_Parser_epsilonInfo; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_initializeKeyword___closed__5; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_initializeKeyword___closed__6; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_initializeKeyword___elambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initializeKeyword___closed__7; +x_2 = l_Lean_Parser_Command_initializeKeyword___closed__8; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_initializeKeyword___closed__9; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__1() { _start: { @@ -62604,33 +62894,6 @@ return x_5; static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__4() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("initialize ", 11); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__4; -x_2 = l_String_trim(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Term_quot___elambda__1___lambda__1___boxed), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__7() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Parser_Term_typeSpec; x_2 = lean_ctor_get(x_1, 0); @@ -62642,7 +62905,7 @@ x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); return x_5; } } -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__8() { +static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__5() { _start: { lean_object* x_1; @@ -62650,74 +62913,74 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_leftArrow___elambda__1), 2, return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__9() { +static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_declSig___elambda__1___closed__12; -x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__8; +x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__10() { +static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_ident; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_initialize___elambda__1___closed__7; +x_3 = l_Lean_Parser_Command_initialize___elambda__1___closed__4; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__11() { +static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_terminationHintMany___closed__6; -x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__9; +x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__12() { +static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__11; +x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__8; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_atomicFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__13() { +static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__10; -x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__12; +x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__7; +x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__9; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__14() { +static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__13; +x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__10; x_2 = l_Lean_Parser_optional(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__15() { +static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__12() { _start: { lean_object* x_1; @@ -62725,26 +62988,62 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doSeq___elambda__1), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__16() { +static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__14; +x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__11; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_initialize___elambda__1___closed__15; +x_3 = l_Lean_Parser_Command_initialize___elambda__1___closed__12; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_4, 0, x_2); lean_closure_set(x_4, 1, x_3); return x_4; } } +static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initializeKeyword___closed__8; +x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__13; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_declModifiers___closed__10; +x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__14; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__15; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__6; -x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__16; +x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__16; +x_2 = l_Lean_Parser_Term_quot___elambda__1___closed__20; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -62754,278 +63053,197 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__18() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_declModifiers___elambda__2___closed__11; -x_2 = lean_ctor_get(x_1, 1); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_initialize___elambda__1___closed__17; -x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_4, 0, x_2); -lean_closure_set(x_4, 1, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__18; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__19; -x_2 = l_Lean_Parser_Term_quot___elambda__1___closed__20; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__21() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__19; -x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__20; +x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__17; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot___elambda__1___lambda__1___closed__1; -x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__5; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_initialize___elambda__1___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__22; -x_2 = l_Lean_Parser_Term_quot___elambda__1___lambda__1___closed__1; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} LEAN_EXPORT lean_object* l_Lean_Parser_Command_initialize___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint32_t x_12; uint32_t x_13; uint8_t x_14; -x_3 = l_Lean_Parser_Command_initialize___elambda__1___closed__14; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint32_t x_10; uint32_t x_11; uint8_t x_12; +x_3 = l_Lean_Parser_Command_initialize___elambda__1___closed__11; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Command_declModifiers___elambda__2___closed__11; +x_5 = l_Lean_Parser_Command_initialize___elambda__1___closed__3; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); -x_7 = l_Lean_Parser_Command_initialize___elambda__1___closed__3; -x_8 = lean_ctor_get(x_7, 1); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 0); +lean_dec(x_7); +x_9 = lean_ctor_get(x_2, 2); lean_inc(x_9); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); +x_10 = lean_string_utf8_get(x_8, x_9); lean_dec(x_9); -x_11 = lean_ctor_get(x_2, 2); -lean_inc(x_11); -x_12 = lean_string_utf8_get(x_10, x_11); -lean_dec(x_11); -x_13 = 36; -x_14 = lean_uint32_dec_eq(x_12, x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_dec(x_8); -x_15 = lean_unsigned_to_nat(1024u); -x_16 = l_Lean_Parser_checkPrecFn(x_15, x_1, x_2); -x_17 = lean_ctor_get(x_16, 4); -lean_inc(x_17); -x_18 = lean_box(0); -x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_17, x_18); -lean_dec(x_17); -if (x_19 == 0) +x_11 = 36; +x_12 = lean_uint32_dec_eq(x_10, x_11); +if (x_12 == 0) { -lean_dec(x_10); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_dec(x_6); +x_13 = lean_unsigned_to_nat(1024u); +x_14 = l_Lean_Parser_checkPrecFn(x_13, x_1, x_2); +x_15 = lean_ctor_get(x_14, 4); +lean_inc(x_15); +x_16 = lean_box(0); +x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_15, x_16); +lean_dec(x_15); +if (x_17 == 0) +{ lean_dec(x_4); lean_dec(x_1); -return x_16; +return x_14; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_20 = lean_ctor_get(x_16, 0); -lean_inc(x_20); -x_21 = lean_array_get_size(x_20); -lean_dec(x_20); +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_14, 0); +lean_inc(x_18); +x_19 = lean_array_get_size(x_18); +lean_dec(x_18); lean_inc(x_1); -x_22 = lean_apply_2(x_6, x_1, x_16); -x_23 = lean_ctor_get(x_22, 4); -lean_inc(x_23); -x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_23, x_18); -lean_dec(x_23); -if (x_24 == 0) +x_20 = l_Lean_Parser_Command_declModifiers___elambda__2(x_1, x_14); +x_21 = lean_ctor_get(x_20, 4); +lean_inc(x_21); +x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_21, x_16); +lean_dec(x_21); +if (x_22 == 0) { -lean_dec(x_10); +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_dec(x_4); -x_25 = x_22; -goto block_31; +x_23 = l_Lean_Parser_Command_initialize___elambda__1___closed__2; +x_24 = l_Lean_Parser_ParserState_mkNode(x_20, x_23, x_19); +x_25 = lean_ctor_get(x_24, 4); +lean_inc(x_25); +x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_25, x_16); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_dec(x_1); +return x_24; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint32_t x_36; uint32_t x_37; uint8_t x_38; -x_32 = l_Lean_Parser_Command_initialize___elambda__1___closed__5; -x_33 = l_Lean_Parser_Command_initialize___elambda__1___closed__23; -lean_inc(x_1); -x_34 = l_Lean_Parser_symbolFnAux(x_32, x_33, x_1, x_22); -x_35 = lean_ctor_get(x_34, 2); -lean_inc(x_35); -x_36 = lean_string_utf8_get(x_10, x_35); -lean_dec(x_35); -lean_dec(x_10); -x_37 = 37; -x_38 = lean_uint32_dec_eq(x_36, x_37); -if (x_38 == 0) -{ -lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_34, 4); -lean_inc(x_39); -x_40 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_39, x_18); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_dec(x_4); -x_25 = x_34; -goto block_31; -} -else -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_inc(x_1); -x_41 = lean_apply_2(x_4, x_1, x_34); -x_42 = lean_ctor_get(x_41, 4); -lean_inc(x_42); -x_43 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_42, x_18); -lean_dec(x_42); -if (x_43 == 0) -{ -x_25 = x_41; -goto block_31; -} -else -{ -lean_object* x_44; -lean_inc(x_1); -x_44 = l_Lean_Parser_Term_doSeq___elambda__1(x_1, x_41); -x_25 = x_44; -goto block_31; -} -} -} -else -{ -lean_object* x_45; lean_object* x_46; uint8_t x_47; -lean_inc(x_1); -x_45 = l_Lean_Parser_tokenAntiquotFn(x_1, x_34); -x_46 = lean_ctor_get(x_45, 4); -lean_inc(x_46); -x_47 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_46, x_18); -lean_dec(x_46); -if (x_47 == 0) -{ -lean_dec(x_4); -x_25 = x_45; -goto block_31; -} -else -{ -lean_object* x_48; lean_object* x_49; uint8_t x_50; -lean_inc(x_1); -x_48 = lean_apply_2(x_4, x_1, x_45); -x_49 = lean_ctor_get(x_48, 4); -lean_inc(x_49); -x_50 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_49, x_18); -lean_dec(x_49); -if (x_50 == 0) -{ -x_25 = x_48; -goto block_31; -} -else -{ -lean_object* x_51; -lean_inc(x_1); -x_51 = l_Lean_Parser_Term_doSeq___elambda__1(x_1, x_48); -x_25 = x_51; -goto block_31; -} -} -} -} -block_31: -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = l_Lean_Parser_Command_initialize___elambda__1___closed__2; -x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_21); -x_28 = lean_ctor_get(x_27, 4); -lean_inc(x_28); -x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_28, x_18); -lean_dec(x_28); -if (x_29 == 0) -{ +lean_object* x_27; +x_27 = l_Lean_Parser_setLhsPrecFn(x_13, x_1, x_24); lean_dec(x_1); return x_27; } -else -{ -lean_object* x_30; -x_30 = l_Lean_Parser_setLhsPrecFn(x_15, x_1, x_27); -lean_dec(x_1); -return x_30; -} -} -} } else { -lean_object* x_52; uint8_t x_53; lean_object* x_54; -lean_dec(x_10); -lean_dec(x_6); +lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_inc(x_1); +x_28 = l_Lean_Parser_Command_initializeKeyword___elambda__1(x_1, x_20); +x_29 = lean_ctor_get(x_28, 4); +lean_inc(x_29); +x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_16); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_dec(x_4); -x_52 = l_Lean_Parser_Command_initialize___elambda__1___closed__21; -x_53 = 0; -x_54 = l_Lean_Parser_orelseFnCore(x_8, x_52, x_53, x_1, x_2); -return x_54; +x_31 = l_Lean_Parser_Command_initialize___elambda__1___closed__2; +x_32 = l_Lean_Parser_ParserState_mkNode(x_28, x_31, x_19); +x_33 = lean_ctor_get(x_32, 4); +lean_inc(x_33); +x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_33, x_16); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_dec(x_1); +return x_32; +} +else +{ +lean_object* x_35; +x_35 = l_Lean_Parser_setLhsPrecFn(x_13, x_1, x_32); +lean_dec(x_1); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_inc(x_1); +x_36 = lean_apply_2(x_4, x_1, x_28); +x_37 = lean_ctor_get(x_36, 4); +lean_inc(x_37); +x_38 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_37, x_16); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = l_Lean_Parser_Command_initialize___elambda__1___closed__2; +x_40 = l_Lean_Parser_ParserState_mkNode(x_36, x_39, x_19); +x_41 = lean_ctor_get(x_40, 4); +lean_inc(x_41); +x_42 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_41, x_16); +lean_dec(x_41); +if (x_42 == 0) +{ +lean_dec(x_1); +return x_40; +} +else +{ +lean_object* x_43; +x_43 = l_Lean_Parser_setLhsPrecFn(x_13, x_1, x_40); +lean_dec(x_1); +return x_43; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_inc(x_1); +x_44 = l_Lean_Parser_Term_doSeq___elambda__1(x_1, x_36); +x_45 = l_Lean_Parser_Command_initialize___elambda__1___closed__2; +x_46 = l_Lean_Parser_ParserState_mkNode(x_44, x_45, x_19); +x_47 = lean_ctor_get(x_46, 4); +lean_inc(x_47); +x_48 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_47, x_16); +lean_dec(x_47); +if (x_48 == 0) +{ +lean_dec(x_1); +return x_46; +} +else +{ +lean_object* x_49; +x_49 = l_Lean_Parser_setLhsPrecFn(x_13, x_1, x_46); +lean_dec(x_1); +return x_49; +} +} +} +} +} +} +else +{ +lean_object* x_50; uint8_t x_51; lean_object* x_52; +lean_dec(x_4); +x_50 = l_Lean_Parser_Command_initialize___elambda__1___closed__18; +x_51 = 0; +x_52 = l_Lean_Parser_orelseFnCore(x_6, x_50, x_51, x_1, x_2); +return x_52; } } } static lean_object* _init_l_Lean_Parser_Command_initialize___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__5; -x_2 = l_Lean_Parser_symbolInfo(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_initialize___closed__2() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__14; +x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__11; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_doSeq; @@ -63035,35 +63253,47 @@ x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); return x_5; } } +static lean_object* _init_l_Lean_Parser_Command_initialize___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_initializeKeyword; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_initialize___closed__1; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; +} +} static lean_object* _init_l_Lean_Parser_Command_initialize___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize___closed__1; -x_2 = l_Lean_Parser_Command_initialize___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_declaration___closed__1; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_initialize___closed__2; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_initialize___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_declModifiers___elambda__2___closed__11; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_initialize___closed__3; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_initialize___closed__3; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_initialize___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_initialize___closed__4; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +x_1 = l_Lean_Parser_Command_initialize___closed__4; +x_2 = l_Lean_Parser_epsilonInfo; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } @@ -63071,8 +63301,8 @@ static lean_object* _init_l_Lean_Parser_Command_initialize___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize___closed__5; -x_2 = l_Lean_Parser_epsilonInfo; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_initialize___closed__5; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -63080,26 +63310,16 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_initialize___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_initialize___closed__6; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_initialize___closed__8() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_initialize___closed__7; +x_3 = l_Lean_Parser_Command_initialize___closed__6; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_initialize___closed__9() { +static lean_object* _init_l_Lean_Parser_Command_initialize___closed__8() { _start: { lean_object* x_1; @@ -63107,12 +63327,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_initialize___elambda__1), return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initialize___closed__10() { +static lean_object* _init_l_Lean_Parser_Command_initialize___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize___closed__8; -x_2 = l_Lean_Parser_Command_initialize___closed__9; +x_1 = l_Lean_Parser_Command_initialize___closed__7; +x_2 = l_Lean_Parser_Command_initialize___closed__8; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -63123,7 +63343,7 @@ static lean_object* _init_l_Lean_Parser_Command_initialize() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_initialize___closed__10; +x_1 = l_Lean_Parser_Command_initialize___closed__9; return x_1; } } @@ -63144,7 +63364,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Command_initialize_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(135u); +x_1 = lean_unsigned_to_nat(136u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -63156,8 +63376,8 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Command_initialize_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(135u); -x_2 = lean_unsigned_to_nat(173u); +x_1 = lean_unsigned_to_nat(136u); +x_2 = lean_unsigned_to_nat(177u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -63171,7 +63391,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l___regBuiltin_Lean_Parser_Command_initialize_declRange___closed__1; x_2 = lean_unsigned_to_nat(24u); x_3 = l___regBuiltin_Lean_Parser_Command_initialize_declRange___closed__2; -x_4 = lean_unsigned_to_nat(173u); +x_4 = lean_unsigned_to_nat(177u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -63184,7 +63404,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Command_initialize_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(135u); +x_1 = lean_unsigned_to_nat(136u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -63196,7 +63416,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Command_initialize_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(135u); +x_1 = lean_unsigned_to_nat(136u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -63242,6 +63462,110 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword_formatter___closed__1() { +_start: +{ +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; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; +x_3 = 1; +x_4 = 0; +x_5 = lean_box(x_3); +x_6 = lean_box(x_4); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__7; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initializeKeyword_formatter___closed__2; +x_2 = l_Lean_Parser_Command_initializeKeyword_formatter___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_initializeKeyword_formatter___closed__4; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initializeKeyword_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_initializeKeyword_formatter___closed__1; +x_7 = l_Lean_Parser_Command_initializeKeyword_formatter___closed__5; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; +x_2 = l___regBuiltin_Lean_Parser_Term_quot_formatter___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_initializeKeyword_formatter), 5, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter(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_Parser_Term_quot_formatter___closed__3; +x_3 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__1; +x_5 = l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__2; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} static lean_object* _init_l_Lean_Parser_Command_initialize_formatter___closed__1() { _start: { @@ -63263,26 +63587,28 @@ return x_7; static lean_object* _init_l_Lean_Parser_Command_initialize_formatter___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_leftArrow_formatter), 5, 0); +return x_1; } } static lean_object* _init_l_Lean_Parser_Command_initialize_formatter___closed__3() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_leftArrow_formatter), 5, 0); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_declSig_formatter___closed__2; +x_2 = l_Lean_Parser_Command_initialize_formatter___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_initialize_formatter___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_declSig_formatter___closed__2; +x_1 = l_Lean_Parser_Command_declId_formatter___closed__4; x_2 = l_Lean_Parser_Command_initialize_formatter___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -63293,13 +63619,11 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_initialize_formatter___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_declId_formatter___closed__4; -x_2 = l_Lean_Parser_Command_initialize_formatter___closed__4; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_initialize_formatter___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_atomic_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Command_initialize_formatter___closed__6() { @@ -63307,7 +63631,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_initialize_formatter___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_atomic_formatter), 6, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -63315,26 +63639,28 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_initialize_formatter___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initialize_formatter___closed__6; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doSeq_formatter), 5, 0); +return x_1; } } static lean_object* _init_l_Lean_Parser_Command_initialize_formatter___closed__8() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doSeq_formatter), 5, 0); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initialize_formatter___closed__6; +x_2 = l_Lean_Parser_Command_initialize_formatter___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_initialize_formatter___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize_formatter___closed__7; +x_1 = l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__2; x_2 = l_Lean_Parser_Command_initialize_formatter___closed__8; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -63346,7 +63672,7 @@ static lean_object* _init_l_Lean_Parser_Command_initialize_formatter___closed__1 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize_formatter___closed__2; +x_1 = l_Lean_Parser_Command_declaration_formatter___closed__2; x_2 = l_Lean_Parser_Command_initialize_formatter___closed__9; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -63357,22 +63683,10 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_initialize_formatter___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_declModifiers_formatter___closed__5; -x_2 = l_Lean_Parser_Command_initialize_formatter___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_initialize_formatter___closed__12() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_initialize_formatter___closed__11; +x_3 = l_Lean_Parser_Command_initialize_formatter___closed__10; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -63385,7 +63699,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_initialize_formatter___closed__1; -x_7 = l_Lean_Parser_Command_initialize_formatter___closed__12; +x_7 = l_Lean_Parser_Command_initialize_formatter___closed__11; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -63420,6 +63734,110 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1() { +_start: +{ +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; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; +x_3 = 1; +x_4 = 0; +x_5 = lean_box(x_3); +x_6 = lean_box(x_4); +x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +lean_closure_set(x_7, 2, x_5); +lean_closure_set(x_7, 3, x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__7; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__4; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initializeKeyword_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__5; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; +x_2 = l___regBuiltin_Lean_Parser_Term_quot_parenthesizer___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_initializeKeyword_parenthesizer), 5, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer(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_Parser_Term_quot_parenthesizer___closed__3; +x_3 = l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1; +x_5 = l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} static lean_object* _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__1() { _start: { @@ -63441,26 +63859,28 @@ return x_7; static lean_object* _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_leftArrow_parenthesizer), 5, 0); +return x_1; } } static lean_object* _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__3() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_leftArrow_parenthesizer), 5, 0); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_declSig_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_initialize_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_declSig_parenthesizer___closed__2; +x_1 = l_Lean_Parser_Command_declId_parenthesizer___closed__4; x_2 = l_Lean_Parser_Command_initialize_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -63471,13 +63891,11 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_declId_parenthesizer___closed__4; -x_2 = l_Lean_Parser_Command_initialize_parenthesizer___closed__4; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_initialize_parenthesizer___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__6() { @@ -63485,7 +63903,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Command_initialize_parenthesizer___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer), 6, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -63493,26 +63911,28 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initialize_parenthesizer___closed__6; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doSeq_parenthesizer), 5, 0); +return x_1; } } static lean_object* _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__8() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doSeq_parenthesizer), 5, 0); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_initialize_parenthesizer___closed__6; +x_2 = l_Lean_Parser_Command_initialize_parenthesizer___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize_parenthesizer___closed__7; +x_1 = l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2; x_2 = l_Lean_Parser_Command_initialize_parenthesizer___closed__8; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -63524,7 +63944,7 @@ static lean_object* _init_l_Lean_Parser_Command_initialize_parenthesizer___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initialize_parenthesizer___closed__2; +x_1 = l_Lean_Parser_Command_declaration_parenthesizer___closed__2; x_2 = l_Lean_Parser_Command_initialize_parenthesizer___closed__9; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -63535,22 +63955,10 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_declModifiers_parenthesizer___closed__5; -x_2 = l_Lean_Parser_Command_initialize_parenthesizer___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__12() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_initialize___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_initialize_parenthesizer___closed__11; +x_3 = l_Lean_Parser_Command_initialize_parenthesizer___closed__10; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -63563,7 +63971,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_initialize_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Command_initialize_parenthesizer___closed__12; +x_7 = l_Lean_Parser_Command_initialize_parenthesizer___closed__11; x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -63598,764 +64006,6 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("builtin_initialize", 18); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_quot___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__1; -x_2 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_3 = 1; -x_4 = 0; -x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("builtin_initialize ", 19); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__4; -x_2 = l_String_trim(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Term_quot___elambda__1___lambda__1___boxed), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__6; -x_2 = l_Lean_Parser_Command_initialize___elambda__1___closed__16; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_declModifiers___elambda__2___closed__11; -x_2 = lean_ctor_get(x_1, 1); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__7; -x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_4, 0, x_2); -lean_closure_set(x_4, 1, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__8; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__9; -x_2 = l_Lean_Parser_Term_quot___elambda__1___closed__20; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot___elambda__1___closed__19; -x_2 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_quot___elambda__1___lambda__1___closed__1; -x_2 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__5; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__12; -x_2 = l_Lean_Parser_Term_quot___elambda__1___lambda__1___closed__1; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint32_t x_12; uint32_t x_13; uint8_t x_14; -x_3 = l_Lean_Parser_Command_initialize___elambda__1___closed__14; -x_4 = lean_ctor_get(x_3, 1); -lean_inc(x_4); -x_5 = l_Lean_Parser_Command_declModifiers___elambda__2___closed__11; -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -x_7 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__3; -x_8 = lean_ctor_get(x_7, 1); -lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_ctor_get(x_2, 2); -lean_inc(x_11); -x_12 = lean_string_utf8_get(x_10, x_11); -lean_dec(x_11); -x_13 = 36; -x_14 = lean_uint32_dec_eq(x_12, x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -lean_dec(x_8); -x_15 = lean_unsigned_to_nat(1024u); -x_16 = l_Lean_Parser_checkPrecFn(x_15, x_1, x_2); -x_17 = lean_ctor_get(x_16, 4); -lean_inc(x_17); -x_18 = lean_box(0); -x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_17, x_18); -lean_dec(x_17); -if (x_19 == 0) -{ -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -return x_16; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_20 = lean_ctor_get(x_16, 0); -lean_inc(x_20); -x_21 = lean_array_get_size(x_20); -lean_dec(x_20); -lean_inc(x_1); -x_22 = lean_apply_2(x_6, x_1, x_16); -x_23 = lean_ctor_get(x_22, 4); -lean_inc(x_23); -x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_23, x_18); -lean_dec(x_23); -if (x_24 == 0) -{ -lean_dec(x_10); -lean_dec(x_4); -x_25 = x_22; -goto block_31; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint32_t x_36; uint32_t x_37; uint8_t x_38; -x_32 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__5; -x_33 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__13; -lean_inc(x_1); -x_34 = l_Lean_Parser_symbolFnAux(x_32, x_33, x_1, x_22); -x_35 = lean_ctor_get(x_34, 2); -lean_inc(x_35); -x_36 = lean_string_utf8_get(x_10, x_35); -lean_dec(x_35); -lean_dec(x_10); -x_37 = 37; -x_38 = lean_uint32_dec_eq(x_36, x_37); -if (x_38 == 0) -{ -lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_34, 4); -lean_inc(x_39); -x_40 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_39, x_18); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_dec(x_4); -x_25 = x_34; -goto block_31; -} -else -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_inc(x_1); -x_41 = lean_apply_2(x_4, x_1, x_34); -x_42 = lean_ctor_get(x_41, 4); -lean_inc(x_42); -x_43 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_42, x_18); -lean_dec(x_42); -if (x_43 == 0) -{ -x_25 = x_41; -goto block_31; -} -else -{ -lean_object* x_44; -lean_inc(x_1); -x_44 = l_Lean_Parser_Term_doSeq___elambda__1(x_1, x_41); -x_25 = x_44; -goto block_31; -} -} -} -else -{ -lean_object* x_45; lean_object* x_46; uint8_t x_47; -lean_inc(x_1); -x_45 = l_Lean_Parser_tokenAntiquotFn(x_1, x_34); -x_46 = lean_ctor_get(x_45, 4); -lean_inc(x_46); -x_47 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_46, x_18); -lean_dec(x_46); -if (x_47 == 0) -{ -lean_dec(x_4); -x_25 = x_45; -goto block_31; -} -else -{ -lean_object* x_48; lean_object* x_49; uint8_t x_50; -lean_inc(x_1); -x_48 = lean_apply_2(x_4, x_1, x_45); -x_49 = lean_ctor_get(x_48, 4); -lean_inc(x_49); -x_50 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_49, x_18); -lean_dec(x_49); -if (x_50 == 0) -{ -x_25 = x_48; -goto block_31; -} -else -{ -lean_object* x_51; -lean_inc(x_1); -x_51 = l_Lean_Parser_Term_doSeq___elambda__1(x_1, x_48); -x_25 = x_51; -goto block_31; -} -} -} -} -block_31: -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_21); -x_28 = lean_ctor_get(x_27, 4); -lean_inc(x_28); -x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Parser_ParserState_hasError___spec__1(x_28, x_18); -lean_dec(x_28); -if (x_29 == 0) -{ -lean_dec(x_1); -return x_27; -} -else -{ -lean_object* x_30; -x_30 = l_Lean_Parser_setLhsPrecFn(x_15, x_1, x_27); -lean_dec(x_1); -return x_30; -} -} -} -} -else -{ -lean_object* x_52; uint8_t x_53; lean_object* x_54; -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_4); -x_52 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__11; -x_53 = 0; -x_54 = l_Lean_Parser_orelseFnCore(x_8, x_52, x_53, x_1, x_2); -return x_54; -} -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__5; -x_2 = l_Lean_Parser_symbolInfo(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_builtin__initialize___closed__1; -x_2 = l_Lean_Parser_Command_initialize___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_declModifiers___elambda__2___closed__11; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_builtin__initialize___closed__2; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_builtin__initialize___closed__3; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_builtin__initialize___closed__4; -x_2 = l_Lean_Parser_epsilonInfo; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_builtin__initialize___closed__5; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__3; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_builtin__initialize___closed__6; -x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_builtin__initialize___elambda__1), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_builtin__initialize___closed__7; -x_2 = l_Lean_Parser_Command_builtin__initialize___closed__8; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Command_builtin__initialize___closed__9; -return x_1; -} -} -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_2 = l_Lean_Parser_Command_quot___elambda__1___closed__7; -x_3 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_4 = 1; -x_5 = l_Lean_Parser_Command_builtin__initialize; -x_6 = lean_unsigned_to_nat(1000u); -x_7 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_6, x_1); -return x_7; -} -} -static lean_object* _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(136u); -x_2 = lean_unsigned_to_nat(24u); -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_Parser_Command_builtin__initialize_declRange___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(136u); -x_2 = lean_unsigned_to_nat(189u); -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_Parser_Command_builtin__initialize_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_Parser_Command_builtin__initialize_declRange___closed__1; -x_2 = lean_unsigned_to_nat(24u); -x_3 = l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__2; -x_4 = lean_unsigned_to_nat(189u); -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_Parser_Command_builtin__initialize_declRange___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(136u); -x_2 = lean_unsigned_to_nat(28u); -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_Parser_Command_builtin__initialize_declRange___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(136u); -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_Parser_Command_builtin__initialize_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_Parser_Command_builtin__initialize_declRange___closed__4; -x_2 = lean_unsigned_to_nat(28u); -x_3 = l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__5; -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_Parser_Command_builtin__initialize_declRange___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__3; -x_2 = l___regBuiltin_Lean_Parser_Command_builtin__initialize_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_Parser_Command_builtin__initialize_declRange(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_3 = l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__7; -x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize_formatter___closed__1() { -_start: -{ -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; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__1; -x_2 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_3 = 1; -x_4 = 0; -x_5 = lean_box(x_3); -x_6 = lean_box(x_4); -x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); -lean_closure_set(x_7, 0, x_1); -lean_closure_set(x_7, 1, x_2); -lean_closure_set(x_7, 2, x_5); -lean_closure_set(x_7, 3, x_6); -return x_7; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize_formatter___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize_formatter___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_builtin__initialize_formatter___closed__2; -x_2 = l_Lean_Parser_Command_initialize_formatter___closed__9; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize_formatter___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_declModifiers_formatter___closed__5; -x_2 = l_Lean_Parser_Command_builtin__initialize_formatter___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize_formatter___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_builtin__initialize_formatter___closed__4; -x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); -lean_closure_set(x_4, 0, x_1); -lean_closure_set(x_4, 1, x_2); -lean_closure_set(x_4, 2, x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Parser_Command_builtin__initialize_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_Parser_Command_builtin__initialize_formatter___closed__1; -x_7 = l_Lean_Parser_Command_builtin__initialize_formatter___closed__5; -x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_2 = l___regBuiltin_Lean_Parser_Term_quot_formatter___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_builtin__initialize_formatter), 5, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter(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_Parser_Term_quot_formatter___closed__3; -x_3 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter___closed__1; -x_5 = l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter___closed__2; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__1() { -_start: -{ -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; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__1; -x_2 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_3 = 1; -x_4 = 0; -x_5 = lean_box(x_3); -x_6 = lean_box(x_4); -x_7 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); -lean_closure_set(x_7, 0, x_1); -lean_closure_set(x_7, 1, x_2); -lean_closure_set(x_7, 2, x_5); -lean_closure_set(x_7, 3, x_6); -return x_7; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Command_initialize_parenthesizer___closed__9; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_declModifiers_parenthesizer___closed__5; -x_2 = l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__4; -x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); -lean_closure_set(x_4, 0, x_1); -lean_closure_set(x_4, 1, x_2); -lean_closure_set(x_4, 2, x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Parser_Command_builtin__initialize_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__5; -x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_2 = l___regBuiltin_Lean_Parser_Term_quot_parenthesizer___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_builtin__initialize_parenthesizer), 5, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer(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_Parser_Term_quot_parenthesizer___closed__3; -x_3 = l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__1; -x_5 = l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__2; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} static lean_object* _init_l_Lean_Parser_Command_in___elambda__1___closed__1() { _start: { @@ -65575,7 +65225,7 @@ x_1 = l_Lean_Parser_Command_ctor___closed__2; return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__1() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -65585,7 +65235,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__2() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -65595,7 +65245,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__3() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -65605,7 +65255,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__4() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -65615,11 +65265,11 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__5() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__5() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__4; +x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__4; x_2 = 1; x_3 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -65627,7 +65277,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__6() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__6() { _start: { lean_object* x_1; @@ -65635,17 +65285,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_declModifiersF_formatter) return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__7() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__6; +x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____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_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__8() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__8() { _start: { lean_object* x_1; @@ -65653,7 +65303,7 @@ x_1 = l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__9() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__9() { _start: { lean_object* x_1; @@ -65661,17 +65311,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_declModifiersF_parenthesi return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__10() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__9; +x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____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_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__11() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__11() { _start: { lean_object* x_1; @@ -65679,7 +65329,7 @@ x_1 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__12() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__12() { _start: { lean_object* x_1; @@ -65687,17 +65337,17 @@ x_1 = lean_mk_string_from_bytes("nestedDeclModifiers", 19); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__13() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__12; +x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__14() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -65707,7 +65357,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__15() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__15() { _start: { lean_object* x_1; @@ -65715,17 +65365,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_declModifiersT_formatter) return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__16() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__15; +x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__15; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__17() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__17() { _start: { lean_object* x_1; @@ -65733,17 +65383,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_declModifiersT_parenthesi return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__18() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__17; +x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__17; 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_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__19() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -65753,7 +65403,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__20() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__20() { _start: { lean_object* x_1; lean_object* x_2; @@ -65763,7 +65413,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__21() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__21() { _start: { lean_object* x_1; lean_object* x_2; @@ -65773,7 +65423,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__22() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -65783,7 +65433,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__23() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -65793,7 +65443,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__24() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -65803,7 +65453,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__25() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__25() { _start: { lean_object* x_1; lean_object* x_2; @@ -65813,7 +65463,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__26() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -65823,7 +65473,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__27() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -65833,7 +65483,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__28() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -65843,7 +65493,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__29() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -65853,7 +65503,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__30() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__30() { _start: { lean_object* x_1; lean_object* x_2; @@ -65863,7 +65513,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__31() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__31() { _start: { lean_object* x_1; lean_object* x_2; @@ -65873,7 +65523,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__32() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__32() { _start: { lean_object* x_1; lean_object* x_2; @@ -65883,7 +65533,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__33() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__33() { _start: { lean_object* x_1; lean_object* x_2; @@ -65893,7 +65543,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__34() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -65903,7 +65553,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__35() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__35() { _start: { lean_object* x_1; lean_object* x_2; @@ -65913,7 +65563,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__36() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__36() { _start: { lean_object* x_1; lean_object* x_2; @@ -65923,7 +65573,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__37() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__37() { _start: { lean_object* x_1; lean_object* x_2; @@ -65933,7 +65583,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__38() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__38() { _start: { lean_object* x_1; lean_object* x_2; @@ -65943,7 +65593,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__39() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__39() { _start: { lean_object* x_1; @@ -65951,17 +65601,17 @@ x_1 = lean_mk_string_from_bytes("openDecl", 8); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__40() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__40() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__39; +x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__39; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__41() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__41() { _start: { lean_object* x_1; lean_object* x_2; @@ -65971,27 +65621,27 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__42() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_quot___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__39; +x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__39; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__43() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__43() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__42; +x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__42; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__44() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__44() { _start: { lean_object* x_1; lean_object* x_2; @@ -66001,7 +65651,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__45() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__45() { _start: { lean_object* x_1; lean_object* x_2; @@ -66011,14 +65661,14 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__1; -x_3 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__2; -x_4 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__3; -x_5 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__5; +x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__1; +x_3 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__2; +x_4 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__3; +x_5 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__5; x_6 = l_Lean_Parser_registerAlias(x_2, x_3, x_4, x_5, x_1); if (lean_obj_tag(x_6) == 0) { @@ -66026,8 +65676,8 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__8; -x_9 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__7; +x_8 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__8; +x_9 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__7; x_10 = l_Lean_Parser_registerAliasCore___rarg(x_8, x_2, x_9, x_7); if (lean_obj_tag(x_10) == 0) { @@ -66035,8 +65685,8 @@ lean_object* x_11; lean_object* x_12; lean_object* 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_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__11; -x_13 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__10; +x_12 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__11; +x_13 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__10; x_14 = l_Lean_Parser_registerAliasCore___rarg(x_12, x_2, x_13, x_11); if (lean_obj_tag(x_14) == 0) { @@ -66044,8 +65694,8 @@ lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__13; -x_17 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__14; +x_16 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__13; +x_17 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__14; x_18 = l_Lean_Parser_registerAlias(x_16, x_17, x_4, x_5, x_15); if (lean_obj_tag(x_18) == 0) { @@ -66053,7 +65703,7 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); lean_dec(x_18); -x_20 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__16; +x_20 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__16; x_21 = l_Lean_Parser_registerAliasCore___rarg(x_8, x_16, x_20, x_19); if (lean_obj_tag(x_21) == 0) { @@ -66061,7 +65711,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); -x_23 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__18; +x_23 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__18; x_24 = l_Lean_Parser_registerAliasCore___rarg(x_12, x_16, x_23, x_22); if (lean_obj_tag(x_24) == 0) { @@ -66069,9 +65719,9 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); -x_26 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__19; -x_27 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__20; -x_28 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__21; +x_26 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__19; +x_27 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__20; +x_28 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__21; x_29 = l_Lean_Parser_registerAlias(x_26, x_27, x_28, x_5, x_25); if (lean_obj_tag(x_29) == 0) { @@ -66079,7 +65729,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); lean_dec(x_29); -x_31 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__22; +x_31 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__22; x_32 = l_Lean_Parser_registerAliasCore___rarg(x_8, x_26, x_31, x_30); if (lean_obj_tag(x_32) == 0) { @@ -66087,7 +65737,7 @@ lean_object* x_33; lean_object* x_34; lean_object* x_35; x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); -x_34 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__23; +x_34 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__23; x_35 = l_Lean_Parser_registerAliasCore___rarg(x_12, x_26, x_34, x_33); if (lean_obj_tag(x_35) == 0) { @@ -66095,9 +65745,9 @@ lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); lean_dec(x_35); -x_37 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__24; -x_38 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__25; -x_39 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__26; +x_37 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__24; +x_38 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__25; +x_39 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__26; x_40 = l_Lean_Parser_registerAlias(x_37, x_38, x_39, x_5, x_36); if (lean_obj_tag(x_40) == 0) { @@ -66105,7 +65755,7 @@ lean_object* x_41; lean_object* x_42; lean_object* x_43; x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); -x_42 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__27; +x_42 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__27; x_43 = l_Lean_Parser_registerAliasCore___rarg(x_8, x_37, x_42, x_41); if (lean_obj_tag(x_43) == 0) { @@ -66113,7 +65763,7 @@ lean_object* x_44; lean_object* x_45; lean_object* x_46; x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); -x_45 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__28; +x_45 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__28; x_46 = l_Lean_Parser_registerAliasCore___rarg(x_12, x_37, x_45, x_44); if (lean_obj_tag(x_46) == 0) { @@ -66121,9 +65771,9 @@ lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean x_47 = lean_ctor_get(x_46, 1); lean_inc(x_47); lean_dec(x_46); -x_48 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__29; -x_49 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__30; -x_50 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__31; +x_48 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__29; +x_49 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__30; +x_50 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__31; x_51 = l_Lean_Parser_registerAlias(x_48, x_49, x_50, x_5, x_47); if (lean_obj_tag(x_51) == 0) { @@ -66131,7 +65781,7 @@ lean_object* x_52; lean_object* x_53; lean_object* x_54; x_52 = lean_ctor_get(x_51, 1); lean_inc(x_52); lean_dec(x_51); -x_53 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__32; +x_53 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__32; x_54 = l_Lean_Parser_registerAliasCore___rarg(x_8, x_48, x_53, x_52); if (lean_obj_tag(x_54) == 0) { @@ -66139,7 +65789,7 @@ lean_object* x_55; lean_object* x_56; lean_object* x_57; x_55 = lean_ctor_get(x_54, 1); lean_inc(x_55); lean_dec(x_54); -x_56 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__33; +x_56 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__33; x_57 = l_Lean_Parser_registerAliasCore___rarg(x_12, x_48, x_56, x_55); if (lean_obj_tag(x_57) == 0) { @@ -66147,9 +65797,9 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__34; -x_60 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__35; -x_61 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__36; +x_59 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__34; +x_60 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__35; +x_61 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__36; x_62 = l_Lean_Parser_registerAlias(x_59, x_60, x_61, x_5, x_58); if (lean_obj_tag(x_62) == 0) { @@ -66157,7 +65807,7 @@ lean_object* x_63; lean_object* x_64; lean_object* x_65; x_63 = lean_ctor_get(x_62, 1); lean_inc(x_63); lean_dec(x_62); -x_64 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__37; +x_64 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__37; x_65 = l_Lean_Parser_registerAliasCore___rarg(x_8, x_59, x_64, x_63); if (lean_obj_tag(x_65) == 0) { @@ -66165,7 +65815,7 @@ lean_object* x_66; lean_object* x_67; lean_object* x_68; x_66 = lean_ctor_get(x_65, 1); lean_inc(x_66); lean_dec(x_65); -x_67 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__38; +x_67 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__38; x_68 = l_Lean_Parser_registerAliasCore___rarg(x_12, x_59, x_67, x_66); if (lean_obj_tag(x_68) == 0) { @@ -66173,9 +65823,9 @@ lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean x_69 = lean_ctor_get(x_68, 1); lean_inc(x_69); lean_dec(x_68); -x_70 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__40; -x_71 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__41; -x_72 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__43; +x_70 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__40; +x_71 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__41; +x_72 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__43; x_73 = l_Lean_Parser_registerAlias(x_70, x_71, x_72, x_5, x_69); if (lean_obj_tag(x_73) == 0) { @@ -66183,7 +65833,7 @@ lean_object* x_74; lean_object* x_75; lean_object* x_76; x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); -x_75 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__44; +x_75 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__44; x_76 = l_Lean_Parser_registerAliasCore___rarg(x_8, x_70, x_75, x_74); if (lean_obj_tag(x_76) == 0) { @@ -66191,7 +65841,7 @@ lean_object* x_77; lean_object* x_78; lean_object* x_79; x_77 = lean_ctor_get(x_76, 1); lean_inc(x_77); lean_dec(x_76); -x_78 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__45; +x_78 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__45; x_79 = l_Lean_Parser_registerAliasCore___rarg(x_12, x_70, x_78, x_77); return x_79; } @@ -77623,6 +77273,52 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_mutual_parenthesizer___c res = l___regBuiltin_Lean_Parser_Command_mutual_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__1 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__1); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__2); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__3 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__3); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__4 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__4); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__5 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__5); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__6 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__6); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__7 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__7); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__8 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__8); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__9 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__9); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__10 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__10); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__11 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__11); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__12 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__12); +l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__13 = _init_l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___elambda__1___closed__13); +l_Lean_Parser_Command_initializeKeyword___closed__1 = _init_l_Lean_Parser_Command_initializeKeyword___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___closed__1); +l_Lean_Parser_Command_initializeKeyword___closed__2 = _init_l_Lean_Parser_Command_initializeKeyword___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___closed__2); +l_Lean_Parser_Command_initializeKeyword___closed__3 = _init_l_Lean_Parser_Command_initializeKeyword___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___closed__3); +l_Lean_Parser_Command_initializeKeyword___closed__4 = _init_l_Lean_Parser_Command_initializeKeyword___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___closed__4); +l_Lean_Parser_Command_initializeKeyword___closed__5 = _init_l_Lean_Parser_Command_initializeKeyword___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___closed__5); +l_Lean_Parser_Command_initializeKeyword___closed__6 = _init_l_Lean_Parser_Command_initializeKeyword___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___closed__6); +l_Lean_Parser_Command_initializeKeyword___closed__7 = _init_l_Lean_Parser_Command_initializeKeyword___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___closed__7); +l_Lean_Parser_Command_initializeKeyword___closed__8 = _init_l_Lean_Parser_Command_initializeKeyword___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___closed__8); +l_Lean_Parser_Command_initializeKeyword___closed__9 = _init_l_Lean_Parser_Command_initializeKeyword___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword___closed__9); +l_Lean_Parser_Command_initializeKeyword = _init_l_Lean_Parser_Command_initializeKeyword(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword); l_Lean_Parser_Command_initialize___elambda__1___closed__1 = _init_l_Lean_Parser_Command_initialize___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_initialize___elambda__1___closed__1); l_Lean_Parser_Command_initialize___elambda__1___closed__2 = _init_l_Lean_Parser_Command_initialize___elambda__1___closed__2(); @@ -77659,16 +77355,6 @@ l_Lean_Parser_Command_initialize___elambda__1___closed__17 = _init_l_Lean_Parser lean_mark_persistent(l_Lean_Parser_Command_initialize___elambda__1___closed__17); l_Lean_Parser_Command_initialize___elambda__1___closed__18 = _init_l_Lean_Parser_Command_initialize___elambda__1___closed__18(); lean_mark_persistent(l_Lean_Parser_Command_initialize___elambda__1___closed__18); -l_Lean_Parser_Command_initialize___elambda__1___closed__19 = _init_l_Lean_Parser_Command_initialize___elambda__1___closed__19(); -lean_mark_persistent(l_Lean_Parser_Command_initialize___elambda__1___closed__19); -l_Lean_Parser_Command_initialize___elambda__1___closed__20 = _init_l_Lean_Parser_Command_initialize___elambda__1___closed__20(); -lean_mark_persistent(l_Lean_Parser_Command_initialize___elambda__1___closed__20); -l_Lean_Parser_Command_initialize___elambda__1___closed__21 = _init_l_Lean_Parser_Command_initialize___elambda__1___closed__21(); -lean_mark_persistent(l_Lean_Parser_Command_initialize___elambda__1___closed__21); -l_Lean_Parser_Command_initialize___elambda__1___closed__22 = _init_l_Lean_Parser_Command_initialize___elambda__1___closed__22(); -lean_mark_persistent(l_Lean_Parser_Command_initialize___elambda__1___closed__22); -l_Lean_Parser_Command_initialize___elambda__1___closed__23 = _init_l_Lean_Parser_Command_initialize___elambda__1___closed__23(); -lean_mark_persistent(l_Lean_Parser_Command_initialize___elambda__1___closed__23); l_Lean_Parser_Command_initialize___closed__1 = _init_l_Lean_Parser_Command_initialize___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_initialize___closed__1); l_Lean_Parser_Command_initialize___closed__2 = _init_l_Lean_Parser_Command_initialize___closed__2(); @@ -77687,8 +77373,6 @@ l_Lean_Parser_Command_initialize___closed__8 = _init_l_Lean_Parser_Command_initi lean_mark_persistent(l_Lean_Parser_Command_initialize___closed__8); l_Lean_Parser_Command_initialize___closed__9 = _init_l_Lean_Parser_Command_initialize___closed__9(); lean_mark_persistent(l_Lean_Parser_Command_initialize___closed__9); -l_Lean_Parser_Command_initialize___closed__10 = _init_l_Lean_Parser_Command_initialize___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_initialize___closed__10); l_Lean_Parser_Command_initialize = _init_l_Lean_Parser_Command_initialize(); lean_mark_persistent(l_Lean_Parser_Command_initialize); res = l___regBuiltin_Lean_Parser_Command_initialize(lean_io_mk_world()); @@ -77711,6 +77395,23 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_initialize_declRange___c res = l___regBuiltin_Lean_Parser_Command_initialize_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Command_initializeKeyword_formatter___closed__1 = _init_l_Lean_Parser_Command_initializeKeyword_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword_formatter___closed__1); +l_Lean_Parser_Command_initializeKeyword_formatter___closed__2 = _init_l_Lean_Parser_Command_initializeKeyword_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword_formatter___closed__2); +l_Lean_Parser_Command_initializeKeyword_formatter___closed__3 = _init_l_Lean_Parser_Command_initializeKeyword_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword_formatter___closed__3); +l_Lean_Parser_Command_initializeKeyword_formatter___closed__4 = _init_l_Lean_Parser_Command_initializeKeyword_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword_formatter___closed__4); +l_Lean_Parser_Command_initializeKeyword_formatter___closed__5 = _init_l_Lean_Parser_Command_initializeKeyword_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword_formatter___closed__5); +l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__1); +l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter___closed__2); +res = l___regBuiltin_Lean_Parser_Command_initializeKeyword_formatter(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Parser_Command_initialize_formatter___closed__1 = _init_l_Lean_Parser_Command_initialize_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_initialize_formatter___closed__1); l_Lean_Parser_Command_initialize_formatter___closed__2 = _init_l_Lean_Parser_Command_initialize_formatter___closed__2(); @@ -77733,8 +77434,6 @@ l_Lean_Parser_Command_initialize_formatter___closed__10 = _init_l_Lean_Parser_Co lean_mark_persistent(l_Lean_Parser_Command_initialize_formatter___closed__10); l_Lean_Parser_Command_initialize_formatter___closed__11 = _init_l_Lean_Parser_Command_initialize_formatter___closed__11(); lean_mark_persistent(l_Lean_Parser_Command_initialize_formatter___closed__11); -l_Lean_Parser_Command_initialize_formatter___closed__12 = _init_l_Lean_Parser_Command_initialize_formatter___closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_initialize_formatter___closed__12); l___regBuiltin_Lean_Parser_Command_initialize_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_initialize_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_initialize_formatter___closed__1); l___regBuiltin_Lean_Parser_Command_initialize_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_initialize_formatter___closed__2(); @@ -77742,6 +77441,23 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_initialize_formatter___c res = l___regBuiltin_Lean_Parser_Command_initialize_formatter(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1); +l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2); +l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__3); +l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__4); +l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__5 = _init_l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__5); +l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1); +l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__2); +res = l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Parser_Command_initialize_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_initialize_parenthesizer___closed__1); l_Lean_Parser_Command_initialize_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__2(); @@ -77764,8 +77480,6 @@ l_Lean_Parser_Command_initialize_parenthesizer___closed__10 = _init_l_Lean_Parse lean_mark_persistent(l_Lean_Parser_Command_initialize_parenthesizer___closed__10); l_Lean_Parser_Command_initialize_parenthesizer___closed__11 = _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__11(); lean_mark_persistent(l_Lean_Parser_Command_initialize_parenthesizer___closed__11); -l_Lean_Parser_Command_initialize_parenthesizer___closed__12 = _init_l_Lean_Parser_Command_initialize_parenthesizer___closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_initialize_parenthesizer___closed__12); l___regBuiltin_Lean_Parser_Command_initialize_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_initialize_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_initialize_parenthesizer___closed__1); l___regBuiltin_Lean_Parser_Command_initialize_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_initialize_parenthesizer___closed__2(); @@ -77773,106 +77487,6 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_initialize_parenthesizer res = l___regBuiltin_Lean_Parser_Command_initialize_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__1 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__1); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__2); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__3 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__3(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__3); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__4 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__4(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__4); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__5 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__5); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__6 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__6(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__6); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__7 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__7(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__7); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__8 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__8(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__8); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__9 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__9(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__9); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__10 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__10); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__11 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__11); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__12 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__12); -l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__13 = _init_l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__13(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__13); -l_Lean_Parser_Command_builtin__initialize___closed__1 = _init_l_Lean_Parser_Command_builtin__initialize___closed__1(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___closed__1); -l_Lean_Parser_Command_builtin__initialize___closed__2 = _init_l_Lean_Parser_Command_builtin__initialize___closed__2(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___closed__2); -l_Lean_Parser_Command_builtin__initialize___closed__3 = _init_l_Lean_Parser_Command_builtin__initialize___closed__3(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___closed__3); -l_Lean_Parser_Command_builtin__initialize___closed__4 = _init_l_Lean_Parser_Command_builtin__initialize___closed__4(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___closed__4); -l_Lean_Parser_Command_builtin__initialize___closed__5 = _init_l_Lean_Parser_Command_builtin__initialize___closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___closed__5); -l_Lean_Parser_Command_builtin__initialize___closed__6 = _init_l_Lean_Parser_Command_builtin__initialize___closed__6(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___closed__6); -l_Lean_Parser_Command_builtin__initialize___closed__7 = _init_l_Lean_Parser_Command_builtin__initialize___closed__7(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___closed__7); -l_Lean_Parser_Command_builtin__initialize___closed__8 = _init_l_Lean_Parser_Command_builtin__initialize___closed__8(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___closed__8); -l_Lean_Parser_Command_builtin__initialize___closed__9 = _init_l_Lean_Parser_Command_builtin__initialize___closed__9(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize___closed__9); -l_Lean_Parser_Command_builtin__initialize = _init_l_Lean_Parser_Command_builtin__initialize(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize); -res = l___regBuiltin_Lean_Parser_Command_builtin__initialize(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__1); -l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__2); -l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__3 = _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__3); -l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__4 = _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__4); -l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__5 = _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__5); -l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__6 = _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__6(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__6); -l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__7 = _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__7(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange___closed__7); -res = l___regBuiltin_Lean_Parser_Command_builtin__initialize_declRange(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Parser_Command_builtin__initialize_formatter___closed__1 = _init_l_Lean_Parser_Command_builtin__initialize_formatter___closed__1(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize_formatter___closed__1); -l_Lean_Parser_Command_builtin__initialize_formatter___closed__2 = _init_l_Lean_Parser_Command_builtin__initialize_formatter___closed__2(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize_formatter___closed__2); -l_Lean_Parser_Command_builtin__initialize_formatter___closed__3 = _init_l_Lean_Parser_Command_builtin__initialize_formatter___closed__3(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize_formatter___closed__3); -l_Lean_Parser_Command_builtin__initialize_formatter___closed__4 = _init_l_Lean_Parser_Command_builtin__initialize_formatter___closed__4(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize_formatter___closed__4); -l_Lean_Parser_Command_builtin__initialize_formatter___closed__5 = _init_l_Lean_Parser_Command_builtin__initialize_formatter___closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize_formatter___closed__5); -l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter___closed__1); -l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter___closed__2); -res = l___regBuiltin_Lean_Parser_Command_builtin__initialize_formatter(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__1(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__1); -l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__2(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__2); -l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__3(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__3); -l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__4(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__4); -l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__5 = _init_l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__5); -l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__1); -l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer___closed__2); -res = l___regBuiltin_Lean_Parser_Command_builtin__initialize_parenthesizer(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); l_Lean_Parser_Command_in___elambda__1___closed__1 = _init_l_Lean_Parser_Command_in___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_in___elambda__1___closed__1); l_Lean_Parser_Command_in___elambda__1___closed__2 = _init_l_Lean_Parser_Command_in___elambda__1___closed__2(); @@ -78045,97 +77659,97 @@ l_Lean_Parser_Command_declModifiersF = _init_l_Lean_Parser_Command_declModifiers lean_mark_persistent(l_Lean_Parser_Command_declModifiersF); l_Lean_Parser_Command_declModifiersT = _init_l_Lean_Parser_Command_declModifiersT(); lean_mark_persistent(l_Lean_Parser_Command_declModifiersT); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__1 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__1(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__1); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__2 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__2(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__2); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__3 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__3(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__3); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__4 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__4(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__4); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__5 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__5); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__6 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__6(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__6); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__7 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__7(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__7); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__8 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__8(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__8); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__9 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__9(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__9); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__10 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__10); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__11 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__11); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__12 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__12); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__13 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__13(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__13); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__14 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__14(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__14); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__15 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__15(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__15); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__16 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__16(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__16); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__17 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__17(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__17); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__18 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__18(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__18); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__19 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__19(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__19); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__20 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__20(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__20); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__21 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__21(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__21); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__22 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__22(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__22); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__23 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__23(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__23); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__24 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__24(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__24); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__25 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__25(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__25); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__26 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__26(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__26); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__27 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__27(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__27); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__28 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__28(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__28); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__29 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__29(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__29); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__30 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__30(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__30); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__31 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__31(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__31); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__32 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__32(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__32); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__33 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__33(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__33); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__34 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__34(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__34); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__35 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__35(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__35); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__36 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__36(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__36); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__37 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__37(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__37); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__38 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__38(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__38); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__39 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__39(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__39); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__40 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__40(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__40); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__41 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__41(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__41); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__42 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__42(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__42); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__43 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__43(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__43); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__44 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__44(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__44); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__45 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__45(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492____closed__45); -res = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2492_(lean_io_mk_world()); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__1 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__1); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__2 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__2); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__3 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__3); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__4 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__4); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__5 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__5); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__6 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__6); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__7 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__7); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__8 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__8); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__9 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__9); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__10 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__10); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__11 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__11); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__12 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__12); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__13 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__13); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__14 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__14(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__14); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__15 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__15(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__15); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__16 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__16(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__16); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__17 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__17(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__17); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__18 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__18(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__18); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__19 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__19(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__19); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__20 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__20(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__20); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__21 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__21(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__21); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__22 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__22(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__22); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__23 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__23(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__23); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__24 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__24(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__24); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__25 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__25(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__25); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__26 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__26(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__26); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__27 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__27(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__27); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__28 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__28(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__28); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__29 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__29(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__29); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__30 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__30(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__30); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__31 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__31(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__31); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__32 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__32(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__32); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__33 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__33(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__33); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__34 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__34(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__34); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__35 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__35(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__35); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__36 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__36(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__36); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__37 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__37(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__37); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__38 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__38(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__38); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__39 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__39(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__39); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__40 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__40(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__40); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__41 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__41(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__41); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__42 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__42(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__42); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__43 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__43(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__43); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__44 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__44(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__44); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__45 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__45(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474____closed__45); +res = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_2474_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Parser_Term_open___elambda__1___closed__1 = _init_l_Lean_Parser_Term_open___elambda__1___closed__1(); diff --git a/stage0/stdlib/Lean/ParserCompiler.c b/stage0/stdlib/Lean/ParserCompiler.c index 987b13b305..69fff03ca1 100644 --- a/stage0/stdlib/Lean/ParserCompiler.c +++ b/stage0/stdlib/Lean/ParserCompiler.c @@ -1846,7 +1846,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_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__3___rarg___closed__1; x_2 = l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__3___rarg___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__3___rarg___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c index 6dde365691..06e04e0af5 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c @@ -7476,7 +7476,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_isRegularApp___spec__2___closed__1; x_2 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_isRegularApp___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_isRegularApp___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/SubExpr.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/SubExpr.c index aaf4b5ff95..0a51198353 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/SubExpr.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/SubExpr.c @@ -2812,7 +2812,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___rarg___lambda__1___closed__1; x_2 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___rarg___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___rarg___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c index f4683a1561..63edc14589 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c @@ -6664,7 +6664,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_inspectOutParams_inspectAux___lambda__1___closed__1; x_2 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_inspectOutParams_inspectAux___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_inspectOutParams_inspectAux___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Server/FileWorker.c b/stage0/stdlib/Lean/Server/FileWorker.c index 5ff1bd7342..556fd53da3 100644 --- a/stage0/stdlib/Lean/Server/FileWorker.c +++ b/stage0/stdlib/Lean/Server/FileWorker.c @@ -373,7 +373,6 @@ static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_ini LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__71; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__7; -lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(lean_object*, uint64_t); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_mainLoop___closed__2; lean_object* l_Lean_Json_mkObj(lean_object*); @@ -443,6 +442,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__3___bo static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__12; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_System_FilePath_withExtension(lean_object*, lean_object*); +lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(lean_object*, uint64_t); lean_object* lean_get_stdin(lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__1; @@ -1785,7 +1785,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__1; x_2 = l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8118,7 +8118,7 @@ x_9 = lean_ctor_get(x_7, 2); lean_inc(x_9); lean_dec(x_7); x_10 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -x_11 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_9, x_10); +x_11 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(x_9, x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; @@ -8187,7 +8187,7 @@ x_33 = lean_ctor_get(x_31, 2); lean_inc(x_33); lean_dec(x_31); x_34 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -x_35 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_33, x_34); +x_35 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(x_33, x_34); if (lean_obj_tag(x_35) == 0) { lean_object* x_36; lean_object* x_37; @@ -8288,7 +8288,7 @@ x_9 = lean_ctor_get(x_7, 2); lean_inc(x_9); lean_dec(x_7); x_10 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -x_11 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_9, x_10); +x_11 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(x_9, x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; @@ -8351,7 +8351,7 @@ x_28 = lean_ctor_get(x_26, 2); lean_inc(x_28); lean_dec(x_26); x_29 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -x_30 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_28, x_29); +x_30 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(x_28, x_29); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; lean_object* x_32; diff --git a/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c b/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c index 9b3aef2b60..6dcd842344 100644 --- a/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c +++ b/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c @@ -16,19 +16,27 @@ extern "C" { lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_initializing(lean_object*); LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__20___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__29___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_String_csize(uint32_t); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__2(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__13; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleDocumentHighlight___spec__1(size_t, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleFoldingRange_isImport___closed__4; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__1(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_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__1(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__6; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokensRange(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__19(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__22(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__2(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__2(lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__23___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__6; lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1___boxed(lean_object*, lean_object*); @@ -36,13 +44,11 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__3; lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Server_References_updateWorkerRefs___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__17(size_t, size_t, lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2007_(lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__12___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_getInteractiveGoals___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleFoldingRange_isImport___closed__1; static lean_object* l_Lean_Server_FileWorker_handleFoldingRange_isImport___closed__2; @@ -51,72 +57,74 @@ lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__1___boxed(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_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__2; lean_object* lean_io_error_to_string(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__33___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHoverParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1781_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__2___boxed(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__7; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoalParams____x40_Lean_Data_Lsp_Extra___hyg_503_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__7; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___closed__2; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__1; extern lean_object* l_Std_Format_defWidth; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_isImport___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__7; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__13___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleHover___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__3; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__2; -static lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__2; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__1; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__23; +static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_handlePlainGoal___closed__2; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__8; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__9___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Lsp_SemanticTokenType_toCtorIdx(uint8_t); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__10; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__11; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleDocumentHighlight___spec__4___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__1; +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__26___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__2; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__14; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Completion_find_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleFoldingRange_isImport___closed__3; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__24; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__6___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__5; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__18; lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__2(lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addCommandRange___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; uint8_t lean_name_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__20; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__1; +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__1; -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__3___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__10; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__2; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__4; static lean_object* l_Lean_Server_FileWorker_handlePlainGoal___closed__1; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4___closed__1; static lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___closed__2; lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3___closed__1; lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_infoTree(lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainTermGoalParams____x40_Lean_Data_Lsp_Extra___hyg_724_(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___closed__1; @@ -124,22 +132,21 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_ static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_getInteractiveGoals___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__8; lean_object* l_Lean_FileMap_lspPosToUtf8Pos(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__4; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__11; lean_object* l_IO_sleep(uint32_t, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__2(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__9; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__30___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_DocumentMeta_mkInputContext(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleFoldingRange_isImport___closed__5; LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_handleWaitForDiagnostics___spec__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__16; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__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_Lean_Server_FileWorker_locationLinksOfInfo___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_join___rarg(lean_object*); @@ -148,48 +155,46 @@ LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveG static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__3; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addRangeFromSyntax(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__1; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__25; static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1___closed__1; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__24; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___boxed(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__5; static lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___closed__3; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__14; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__2(lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__20(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__18; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__15; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_utf8PosToLspPos(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__20___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__2(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__7; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1(lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__15; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3___closed__1; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainTermGoal____x40_Lean_Data_Lsp_Extra___hyg_893_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_deepestNodes___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Widget_InteractiveGoal_pretty(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__5; static lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addCommandRange___closed__2; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__2(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__7; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_FileMap_toPosition_loop___spec__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__2(lean_object*, size_t, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Except_map___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__2(lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1682_(lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonWaitForDiagnosticsParams____x40_Lean_Data_Lsp_Extra___hyg_24_(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; @@ -197,19 +202,16 @@ static lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addCommandRange_ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDefinition___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__11___closed__1; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__2; static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__6; lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__28(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__1(lean_object*); lean_object* l_Lean_Elab_InfoTree_findInfo_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addCommandRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_Snapshots_parseAhead(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___closed__1; uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__1; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__3; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__22; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_String_Range_contains(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Json_compress(lean_object*); @@ -218,49 +220,41 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__2; static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3___closed__1; lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1031_(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3(size_t, size_t, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Lsp_SemanticTokenType_toNat(uint8_t); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleFoldingRange_isImport___closed__6; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__9(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_Range_toLspRange(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addRanges(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__10; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__2; -lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3761_(lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__33(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__9___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addCommandRange___lambda__1___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_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(size_t, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___closed__3; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__1___boxed(lean_object*); -LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__22(lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__2; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__1; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__10; lean_object* l_Std_PersistentHashMap_insert___at_Lean_Server_registerLspRequestHandler___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Widget_InteractiveTermGoal_toInteractiveGoal(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__1(lean_object*); -lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3801_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__2(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__22; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3896_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__2(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__20; lean_object* l_IO_AsyncList_waitAll___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__33(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_documentUriFromModule(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDefinition___closed__1; @@ -268,19 +262,20 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlight LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3616_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3680_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4___closed__1; lean_object* lean_task_map(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__30(size_t, size_t, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__3; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__1(lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__9(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_handleWaitForDiagnostics___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Server_FileWorker_handleDocumentHighlight___spec__2___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Server_requestHandlers; @@ -288,37 +283,36 @@ lean_object* lean_format_pretty(lean_object*, lean_object*); lean_object* l_Lean_Server_RequestM_bindTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__13(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveGoals(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__19(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__16; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentHashMap_contains___at_Lean_Server_registerLspRequestHandler___spec__6(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__25; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__12; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; -lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3530_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3594_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePlainGoal(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_RefInfo_instCoeRefInfoRefInfo___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__36(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_RequestM_mapTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveGoals___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint32_t lean_string_utf8_get(lean_object*, lean_object*); -static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleDocumentHighlight___spec__4(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleDocumentHighlight___spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__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_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__26(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCompletion(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_673_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___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*); @@ -326,139 +320,140 @@ lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocu 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_2644_(lean_object*); lean_object* lean_local_ctx_pop(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__21; static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__12; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__26(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___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_Server_FileWorker_handleFoldingRange___boxed(lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_stx(lean_object*); lean_object* l_Lean_Elab_Info_toElabInfo_x3f(lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__36___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__8(lean_object*); -extern lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__6; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__30(size_t, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__9; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1566_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__32(lean_object*); extern lean_object* l_Task_Priority_default; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_range_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__36___boxed(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2(lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__1; static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__2; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__15; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__2(lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__3; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleCompletion___lambda__1(lean_object*, lean_object*); uint8_t l_Char_isAlpha(uint32_t); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__1; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__23; -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__35(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__5; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1515_(lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__4; -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__26___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4___closed__1; +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__20(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addCommandRange(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__7; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__5(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1(lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__1; lean_object* l_List_drop___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__13; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isIdOrAtom_x3f(lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__2; static lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__6___closed__1; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__14; +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__11(lean_object*); static lean_object* l_Lean_Server_FileWorker_handlePlainGoal___closed__3; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__17___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__11; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__17(size_t, size_t, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleHover(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__1(lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__2; lean_object* l_String_intercalate(lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__10; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__4; lean_object* l_Std_HashMap_ofList___at_Lean_Server_ModuleRefs_instCoeModuleRefsModuleRefs___spec__5(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__1(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__9; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__2(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_findModuleRefs(lean_object*, lean_object*, uint8_t, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__36(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___boxed(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__2; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2(lean_object*); static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__2___closed__4; lean_object* l_Lean_Lsp_ModuleRefs_findAt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDefinition(uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleHover___lambda__1___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__13___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__9; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__6(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4___closed__1; lean_object* l_Lean_Elab_Info_tailPos_x3f(lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__4; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__17___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__25(lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__5(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__2(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__16; -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__6(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__26; lean_object* l_Lean_Meta_withPPInaccessibleNamesImp___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__17; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Server_RequestError_fileChanged; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__1; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__8; lean_object* l_Lean_Elab_Info_fmtHover_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(lean_object*, lean_object*, uint8_t, uint8_t); lean_object* lean_nat_shiftl(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__30___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__5(lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__2; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__11; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__19; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -467,28 +462,24 @@ lean_object* l_Lean_Server_Snapshots_Snapshot_endPos(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__2; -lean_object* l_IO_AsyncList_waitFind_x3f___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__29___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addRanges___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2___closed__2; lean_object* l_Lean_Expr_constName_x3f(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__32(lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__16(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__9(lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__2; static lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addRanges___closed__2; lean_object* l_Option_map___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Server_GoTo_0__Lean_Server_beqGoToKind____x40_Lean_Server_GoTo___hyg_8_(uint8_t, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__1___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__9; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveGoals___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__7; @@ -497,93 +488,97 @@ static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightRe LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addRange(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_noHighlightKinds; lean_object* l_Lean_Server_RequestM_withWaitFindSnap___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__1(lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__9___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__16___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__13; lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__6; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__6; LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__9; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveGoals___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Server_locationLinksFromDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__5; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics(lean_object*, lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__15(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___lambda__1___boxed(lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__23(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__29(lean_object*, lean_object*, lean_object*); lean_object* l_List_getLast_x21___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__19; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3___closed__1; LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleHover___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__12___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__13(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__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_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__11(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__6; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___lambda__1(lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__16(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__35(lean_object*); LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleFoldingRange_isImport(lean_object*); lean_object* l_Lean_Server_RequestM_asTask___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___closed__1; lean_object* l_Lean_Elab_Info_pos_x3f(lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__29(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__15(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_spanAux___at_Lean_Server_FileWorker_handleFoldingRange_addRanges___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__23___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__17; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2___closed__4; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4___closed__1; LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__8; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__21; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__4; -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__25(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__8; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__2; lean_object* l_Lean_Elab_Info_lctx(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__12; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__4; +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__28(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11; +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__12(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1___closed__3; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__8(lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__16___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__5; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__2; static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__1; @@ -594,38 +589,34 @@ static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightRe static lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__1___closed__1; lean_object* l_IO_AsyncList_getFinishedPrefix___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2___closed__3; +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__23(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addRangeFromSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_getInteractiveGoals___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___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_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__13; -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__12(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__2___closed__1; -lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__33___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight___spec__3___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__1(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__2___boxed(lean_object*); lean_object* l_Lean_Syntax_reprint(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__5; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_RequestM_readDoc(lean_object*, lean_object*); lean_object* l_List_getLastD___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_IO_AsyncList_waitHead_x3f___rarg___lambda__1___boxed(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__26; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__1; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__2; lean_object* l_Lean_Widget_goalToInteractive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__4; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__1(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__8; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__2; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentHighlightParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2503_(lean_object*); static lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__2___closed__3; static lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1___closed__1; @@ -12821,179 +12812,48 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___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_EXPORT uint8_t l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1(lean_object* x_1) { _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 = l_Lean_Server_Snapshots_instInhabitedSnapshot; -x_8 = l_List_getLast_x21___rarg(x_7, x_1); -x_9 = lean_ctor_get(x_2, 0); -lean_inc(x_9); +uint8_t x_2; +x_2 = 1; +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); lean_dec(x_2); -lean_inc(x_9); -x_10 = l_Lean_Server_DocumentMeta_mkInputContext(x_9); -x_11 = l_Lean_Server_Snapshots_parseAhead(x_10, x_8, x_6); -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; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_array_to_list(lean_box(0), x_13); -x_15 = l_List_appendTR___rarg(x_3, x_14); -x_16 = lean_ctor_get(x_9, 2); -lean_inc(x_16); -lean_dec(x_9); -x_17 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(x_16, x_15); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec(x_17); -x_19 = l_List_redLength___rarg(x_18); -x_20 = lean_mk_empty_array_with_capacity(x_19); -lean_dec(x_19); -x_21 = l_List_toArrayAux___rarg(x_18, x_20); -lean_ctor_set(x_11, 0, x_21); -return x_11; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_22 = lean_ctor_get(x_11, 0); -x_23 = lean_ctor_get(x_11, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_11); -x_24 = lean_array_to_list(lean_box(0), x_22); -x_25 = l_List_appendTR___rarg(x_3, x_24); -x_26 = lean_ctor_get(x_9, 2); -lean_inc(x_26); -lean_dec(x_9); -x_27 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(x_26, x_25); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -lean_dec(x_27); -x_29 = l_List_redLength___rarg(x_28); -x_30 = lean_mk_empty_array_with_capacity(x_29); -lean_dec(x_29); -x_31 = l_List_toArrayAux___rarg(x_28, x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_23); -return x_32; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_6 = l_IO_AsyncList_getFinishedPrefix___rarg(x_1, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_7, 1); +x_6 = lean_box(0); +x_7 = l_List_mapTRAux___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__1(x_5, x_6); +x_8 = lean_ctor_get(x_1, 0); lean_inc(x_8); -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; -x_9 = lean_ctor_get(x_6, 1); +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 2); lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_ctor_get(x_7, 0); -lean_inc(x_10); -lean_dec(x_7); -x_11 = lean_box(0); -lean_inc(x_10); -x_12 = l_List_mapTRAux___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__1(x_10, x_11); -x_13 = lean_box(0); -x_14 = l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1(x_10, x_2, x_12, x_13, x_4, x_9); -lean_dec(x_4); -return x_14; -} -else -{ -lean_object* x_15; -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_2); -x_15 = lean_ctor_get(x_8, 0); -lean_inc(x_15); lean_dec(x_8); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(x_6); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_6, 0); -lean_dec(x_17); -x_18 = l_Lean_Server_RequestError_fileChanged; -lean_ctor_set_tag(x_6, 1); -lean_ctor_set(x_6, 0, x_18); -return x_6; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_6, 1); -lean_inc(x_19); -lean_dec(x_6); -x_20 = l_Lean_Server_RequestError_fileChanged; -x_21 = lean_alloc_ctor(1, 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; -x_22 = !lean_is_exclusive(x_6); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_6, 0); -lean_dec(x_23); -x_24 = lean_ctor_get(x_15, 0); -lean_inc(x_24); -lean_dec(x_15); -x_25 = lean_io_error_to_string(x_24); -x_26 = 4; -x_27 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set_uint8(x_27, sizeof(void*)*1, x_26); -lean_ctor_set_tag(x_6, 1); -lean_ctor_set(x_6, 0, x_27); -return x_6; -} -else -{ -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_28 = lean_ctor_get(x_6, 1); -lean_inc(x_28); -lean_dec(x_6); -x_29 = lean_ctor_get(x_15, 0); -lean_inc(x_29); -lean_dec(x_15); -x_30 = lean_io_error_to_string(x_29); -x_31 = 4; -x_32 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set_uint8(x_32, sizeof(void*)*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_28); -return x_33; -} -} -} +x_10 = l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(x_9, x_7); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = l_List_redLength___rarg(x_11); +x_13 = lean_mk_empty_array_with_capacity(x_12); +lean_dec(x_12); +x_14 = l_List_toArrayAux___rarg(x_11, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_4); +return x_15; } } static lean_object* _init_l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_IO_AsyncList_waitHead_x3f___rarg___lambda__1___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1___boxed), 1, 0); return x_1; } } @@ -13010,16 +12870,14 @@ lean_dec(x_3); x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); x_7 = l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___closed__1; -lean_inc(x_6); -x_8 = l_IO_AsyncList_waitFind_x3f___rarg(x_7, x_6, x_5); +x_8 = l_IO_AsyncList_waitAll___rarg(x_7, x_6, x_5); 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_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2), 5, 2); -lean_closure_set(x_11, 0, x_6); -lean_closure_set(x_11, 1, x_4); +x_11 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2___boxed), 4, 1); +lean_closure_set(x_11, 0, x_4); x_12 = l_Lean_Server_RequestM_mapTask___rarg(x_9, x_11, x_1, x_10); return x_12; } @@ -13032,14 +12890,23 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol__ return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___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_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1___boxed(lean_object* x_1) { _start: { -lean_object* x_7; -x_7 = l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_7; +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; } } LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___boxed(lean_object* x_1) { @@ -13313,7 +13180,7 @@ lean_inc(x_37); lean_dec(x_36); x_38 = lean_nat_sub(x_37, x_34); lean_dec(x_37); -x_39 = l_Lean_Lsp_SemanticTokenType_toNat(x_2); +x_39 = l_Lean_Lsp_SemanticTokenType_toCtorIdx(x_2); x_40 = lean_ctor_get(x_4, 0); lean_inc(x_40); lean_dec(x_4); @@ -15113,43 +14980,53 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___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; uint8_t x_13; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_7 = lean_ctor_get(x_4, 0); lean_inc(x_7); lean_dec(x_4); x_8 = lean_box(0); x_9 = l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___closed__1; x_10 = l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1(x_1, x_2, x_3, x_7, x_8, x_9, x_5, x_6); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = !lean_is_exclusive(x_10); -if (x_13 == 0) +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) { -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_10, 0); -lean_dec(x_14); -x_15 = lean_ctor_get(x_12, 0); -lean_inc(x_15); +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_10, 0); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); lean_dec(x_12); -lean_ctor_set(x_10, 0, x_15); +x_14 = lean_box(0); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set(x_10, 0, x_16); return x_10; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_10, 1); -lean_inc(x_16); -lean_dec(x_10); -x_17 = lean_ctor_get(x_12, 0); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_17 = lean_ctor_get(x_10, 0); +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); lean_inc(x_17); -lean_dec(x_12); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_dec(x_10); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_box(0); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 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_18); +return x_23; } } } @@ -16568,15 +16445,7 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__1(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = 1; -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg___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; uint8_t x_12; @@ -16618,14 +16487,6 @@ return x_18; } } } -static lean_object* _init_l_Lean_Server_FileWorker_handleFoldingRange___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__1___boxed), 1, 0); -return x_1; -} -} LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -16638,14 +16499,14 @@ lean_inc(x_5); lean_dec(x_3); x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); -x_7 = l_Lean_Server_FileWorker_handleFoldingRange___rarg___closed__1; +x_7 = l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___closed__1; x_8 = l_IO_AsyncList_waitAll___rarg(x_7, x_6, x_5); 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_closure((void*)(l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__2___boxed), 4, 1); +x_11 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__1___boxed), 4, 1); lean_closure_set(x_11, 0, x_4); x_12 = l_Lean_Server_RequestM_mapTask___rarg(x_9, x_11, x_1, x_10); return x_12; @@ -16659,21 +16520,11 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleFoldingRange___r return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__1___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__1(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_FileWorker_handleFoldingRange___rarg___lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); return x_5; @@ -16913,7 +16764,7 @@ lean_dec(x_4); x_7 = lean_ctor_get(x_5, 1); lean_inc(x_7); lean_dec(x_5); -x_8 = l_Lean_Server_FileWorker_handleFoldingRange___rarg___closed__1; +x_8 = l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___closed__1; x_9 = l_IO_AsyncList_waitAll___rarg(x_8, x_7, x_6); x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) @@ -17022,7 +16873,7 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1() { +static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1() { _start: { lean_object* x_1; @@ -17030,7 +16881,7 @@ x_1 = lean_mk_string_from_bytes("Cannot parse request params: ", 29); return x_1; } } -static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2() { +static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2() { _start: { lean_object* x_1; @@ -17038,7 +16889,7 @@ x_1 = lean_mk_string_from_bytes("\n", 1); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2(lean_object* x_1) { _start: { lean_object* x_2; @@ -17052,10 +16903,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -17075,10 +16926,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -17115,7 +16966,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -17140,11 +16991,11 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -17194,7 +17045,7 @@ return x_11; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -17203,38 +17054,38 @@ x_2 = l_Lean_Json_mkObj(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__2___closed__1; +x_2 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__2___closed__1; return x_2; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__2___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__2___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2(x_2); -x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__3(x_5, x_3, x_4); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2(x_2); +x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__3(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -17253,7 +17104,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__2; x_13 = l_Task_Priority_default; x_14 = lean_task_map(x_12, x_11, x_13); lean_ctor_set(x_9, 0, x_14); @@ -17267,7 +17118,7 @@ x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_9); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__2; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__2; x_18 = l_Task_Priority_default; x_19 = lean_task_map(x_17, x_15, x_18); x_20 = lean_alloc_ctor(0, 2, 0); @@ -17325,7 +17176,7 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -17333,28 +17184,28 @@ x_1 = l_Lean_Server_requestHandlers; return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_7 = lean_st_ref_take(x_6, x_4); 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_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__2; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___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_5); @@ -17380,7 +17231,7 @@ return x_17; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -17388,7 +17239,7 @@ x_1 = lean_mk_string_from_bytes("Failed to register LSP request handler for '", return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2() { _start: { lean_object* x_1; @@ -17396,12 +17247,12 @@ x_1 = lean_mk_string_from_bytes("': already registered", 21); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_dec(x_3); -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_6 = lean_st_ref_get(x_5, x_4); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) @@ -17416,17 +17267,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -17449,17 +17300,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -17471,7 +17322,7 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1() { _start: { lean_object* x_1; @@ -17479,7 +17330,7 @@ x_1 = lean_mk_string_from_bytes("': only possible during initialization", 38); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -17498,10 +17349,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -17515,10 +17366,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -17535,12 +17386,12 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__5(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__5(lean_object* x_1) { _start: { lean_object* x_2; @@ -17554,10 +17405,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -17577,10 +17428,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -17617,7 +17468,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -17642,11 +17493,11 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__5(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__5(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -17696,7 +17547,7 @@ return x_11; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -17704,22 +17555,22 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__L return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__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; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__5(x_2); -x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__6(x_5, x_3, x_4); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__5(x_2); +x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__6(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -17738,7 +17589,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__2; x_13 = l_Task_Priority_default; x_14 = lean_task_map(x_12, x_11, x_13); lean_ctor_set(x_9, 0, x_14); @@ -17752,7 +17603,7 @@ x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_9); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__2; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__2; x_18 = l_Task_Priority_default; x_19 = lean_task_map(x_17, x_15, x_18); x_20 = lean_alloc_ctor(0, 2, 0); @@ -17810,28 +17661,28 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_7 = lean_st_ref_take(x_6, x_4); 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_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -17857,12 +17708,12 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_dec(x_3); -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_6 = lean_st_ref_get(x_5, x_4); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) @@ -17877,17 +17728,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -17910,17 +17761,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -17932,7 +17783,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -17951,10 +17802,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -17968,10 +17819,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -17988,12 +17839,12 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__4(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__8(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__8(lean_object* x_1) { _start: { lean_object* x_2; @@ -18007,10 +17858,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -18030,10 +17881,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -18070,7 +17921,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -18095,11 +17946,11 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__8(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__8(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -18149,7 +18000,7 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -18169,30 +18020,30 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__8(x_2); -x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__9(x_5, x_3, x_4); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__8(x_2); +x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__9(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -18211,7 +18062,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__2; x_13 = l_Task_Priority_default; x_14 = lean_task_map(x_12, x_11, x_13); lean_ctor_set(x_9, 0, x_14); @@ -18225,7 +18076,7 @@ x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_9); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__2; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__2; x_18 = l_Task_Priority_default; x_19 = lean_task_map(x_17, x_15, x_18); x_20 = lean_alloc_ctor(0, 2, 0); @@ -18283,28 +18134,28 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_7 = lean_st_ref_take(x_6, x_4); 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_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -18330,12 +18181,12 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_dec(x_3); -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_6 = lean_st_ref_get(x_5, x_4); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) @@ -18350,17 +18201,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -18383,17 +18234,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -18405,7 +18256,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -18424,10 +18275,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -18441,10 +18292,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -18461,12 +18312,12 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__11(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__11(lean_object* x_1) { _start: { lean_object* x_2; @@ -18480,10 +18331,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -18503,10 +18354,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -18543,7 +18394,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -18568,7 +18419,7 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__13(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__13(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -18593,11 +18444,11 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__11(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__11(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -18647,7 +18498,7 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; @@ -18655,36 +18506,36 @@ 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_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__13(x_3, x_4, x_1); +x_5 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__13(x_3, x_4, x_1); x_6 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_6, 0, x_5); return x_6; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__11(x_2); -x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__12(x_5, x_3, x_4); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__11(x_2); +x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__12(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -18703,7 +18554,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__2; x_13 = l_Task_Priority_default; x_14 = lean_task_map(x_12, x_11, x_13); lean_ctor_set(x_9, 0, x_14); @@ -18717,7 +18568,7 @@ x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_9); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__2; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__2; x_18 = l_Task_Priority_default; x_19 = lean_task_map(x_17, x_15, x_18); x_20 = lean_alloc_ctor(0, 2, 0); @@ -18775,28 +18626,28 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_7 = lean_st_ref_take(x_6, x_4); 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_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -18822,12 +18673,12 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_dec(x_3); -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_6 = lean_st_ref_get(x_5, x_4); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) @@ -18842,17 +18693,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -18875,17 +18726,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -18897,7 +18748,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -18916,10 +18767,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -18933,10 +18784,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -18953,12 +18804,12 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__15(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__15(lean_object* x_1) { _start: { lean_object* x_2; @@ -18972,10 +18823,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -18995,10 +18846,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -19035,7 +18886,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -19060,7 +18911,7 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__17(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__17(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -19085,11 +18936,11 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__15(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__15(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -19139,7 +18990,7 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; @@ -19147,36 +18998,36 @@ 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_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__17(x_3, x_4, x_1); +x_5 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__17(x_3, x_4, x_1); x_6 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_6, 0, x_5); return x_6; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__15(x_2); -x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__16(x_5, x_3, x_4); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__15(x_2); +x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__16(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -19195,7 +19046,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__2; x_13 = l_Task_Priority_default; x_14 = lean_task_map(x_12, x_11, x_13); lean_ctor_set(x_9, 0, x_14); @@ -19209,7 +19060,7 @@ x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_9); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__2; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__2; x_18 = l_Task_Priority_default; x_19 = lean_task_map(x_17, x_15, x_18); x_20 = lean_alloc_ctor(0, 2, 0); @@ -19267,28 +19118,28 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_7 = lean_st_ref_take(x_6, x_4); 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_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -19314,12 +19165,12 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_dec(x_3); -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_6 = lean_st_ref_get(x_5, x_4); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) @@ -19334,17 +19185,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -19367,17 +19218,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -19389,7 +19240,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -19408,10 +19259,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -19425,10 +19276,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -19445,12 +19296,12 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__19(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__19(lean_object* x_1) { _start: { lean_object* x_2; @@ -19464,10 +19315,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -19487,10 +19338,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -19527,7 +19378,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -19552,11 +19403,11 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__19(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__19(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -19597,7 +19448,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; @@ -19611,30 +19462,30 @@ lean_ctor_set(x_6, 0, x_5); return x_6; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__19(x_2); -x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__20(x_5, x_3, x_4); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__19(x_2); +x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__20(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -19653,7 +19504,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__2; x_13 = l_Task_Priority_default; x_14 = lean_task_map(x_12, x_11, x_13); lean_ctor_set(x_9, 0, x_14); @@ -19667,7 +19518,7 @@ x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_9); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__2; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__2; x_18 = l_Task_Priority_default; x_19 = lean_task_map(x_17, x_15, x_18); x_20 = lean_alloc_ctor(0, 2, 0); @@ -19725,28 +19576,28 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_7 = lean_st_ref_take(x_6, x_4); 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_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -19772,12 +19623,12 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_dec(x_3); -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_6 = lean_st_ref_get(x_5, x_4); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) @@ -19792,17 +19643,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -19825,17 +19676,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -19847,7 +19698,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -19866,10 +19717,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -19883,10 +19734,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -19903,16 +19754,16 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__22(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__22(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3530_(x_1); +x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3594_(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -19922,10 +19773,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -19945,10 +19796,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -19985,7 +19836,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__23(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__23(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -20010,11 +19861,11 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__22(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__22(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -20055,30 +19906,30 @@ return x_8; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3761_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852_), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__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; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__22(x_2); -x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__23(x_5, x_3, x_4); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__22(x_2); +x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__23(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -20097,7 +19948,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__2; x_13 = l_Task_Priority_default; x_14 = lean_task_map(x_12, x_11, x_13); lean_ctor_set(x_9, 0, x_14); @@ -20111,7 +19962,7 @@ x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_9); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__2; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__2; x_18 = l_Task_Priority_default; x_19 = lean_task_map(x_17, x_15, x_18); x_20 = lean_alloc_ctor(0, 2, 0); @@ -20169,28 +20020,28 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_7 = lean_st_ref_take(x_6, x_4); 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_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -20216,12 +20067,12 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_dec(x_3); -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_6 = lean_st_ref_get(x_5, x_4); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) @@ -20236,17 +20087,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -20269,17 +20120,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -20291,7 +20142,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -20310,10 +20161,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -20327,10 +20178,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -20347,16 +20198,16 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__4(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__25(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__25(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3616_(x_1); +x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3680_(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -20366,10 +20217,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -20389,10 +20240,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -20429,7 +20280,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -20454,11 +20305,11 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__25(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__25(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -20508,12 +20359,12 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__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; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__25(x_2); -x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__26(x_5, x_3, x_4); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__25(x_2); +x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__26(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -20532,7 +20383,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__2; x_13 = l_Task_Priority_default; x_14 = lean_task_map(x_12, x_11, x_13); lean_ctor_set(x_9, 0, x_14); @@ -20546,7 +20397,7 @@ x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_9); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__2; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__2; x_18 = l_Task_Priority_default; x_19 = lean_task_map(x_17, x_15, x_18); x_20 = lean_alloc_ctor(0, 2, 0); @@ -20604,28 +20455,28 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__2), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_7 = lean_st_ref_take(x_6, x_4); 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_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -20651,12 +20502,12 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_dec(x_3); -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_6 = lean_st_ref_get(x_5, x_4); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) @@ -20671,17 +20522,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -20704,17 +20555,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -20726,7 +20577,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -20745,10 +20596,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -20762,10 +20613,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -20782,16 +20633,16 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__4(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__28(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__28(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3801_(x_1); +x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3896_(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -20801,10 +20652,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -20824,10 +20675,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -20864,7 +20715,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__29(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__29(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -20889,7 +20740,7 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__30(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__30(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -20904,7 +20755,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_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3922_(x_5); +x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017_(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); @@ -20914,11 +20765,11 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__28(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__28(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -20959,7 +20810,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; @@ -20967,36 +20818,36 @@ 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_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__30(x_3, x_4, x_1); +x_5 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__30(x_3, x_4, x_1); x_6 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_6, 0, x_5); return x_6; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__28(x_2); -x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__29(x_5, x_3, x_4); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__28(x_2); +x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__29(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -21015,7 +20866,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__2; x_13 = l_Task_Priority_default; x_14 = lean_task_map(x_12, x_11, x_13); lean_ctor_set(x_9, 0, x_14); @@ -21029,7 +20880,7 @@ x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_9); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__2; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__2; x_18 = l_Task_Priority_default; x_19 = lean_task_map(x_17, x_15, x_18); x_20 = lean_alloc_ctor(0, 2, 0); @@ -21087,28 +20938,28 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_7 = lean_st_ref_take(x_6, x_4); 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_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -21134,12 +20985,12 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_dec(x_3); -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_6 = lean_st_ref_get(x_5, x_4); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) @@ -21154,17 +21005,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -21187,17 +21038,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -21209,7 +21060,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -21228,10 +21079,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -21245,10 +21096,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -21265,12 +21116,12 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__32(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__32(lean_object* x_1) { _start: { lean_object* x_2; @@ -21284,10 +21135,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -21307,10 +21158,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -21347,7 +21198,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__33(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__33(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -21372,11 +21223,11 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__32(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__32(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -21426,7 +21277,7 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -21446,30 +21297,30 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__32(x_2); -x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__33(x_5, x_3, x_4); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__32(x_2); +x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__33(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -21488,7 +21339,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__2; x_13 = l_Task_Priority_default; x_14 = lean_task_map(x_12, x_11, x_13); lean_ctor_set(x_9, 0, x_14); @@ -21502,7 +21353,7 @@ x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_9); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__2; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__2; x_18 = l_Task_Priority_default; x_19 = lean_task_map(x_17, x_15, x_18); x_20 = lean_alloc_ctor(0, 2, 0); @@ -21560,28 +21411,28 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_7 = lean_st_ref_take(x_6, x_4); 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_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -21607,12 +21458,12 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_dec(x_3); -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_6 = lean_st_ref_get(x_5, x_4); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) @@ -21627,17 +21478,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -21660,17 +21511,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -21682,7 +21533,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -21701,10 +21552,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -21718,10 +21569,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -21738,12 +21589,12 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__35(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__35(lean_object* x_1) { _start: { lean_object* x_2; @@ -21757,10 +21608,10 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_4 = lean_ctor_get(x_2, 0); x_5 = l_Lean_Json_compress(x_1); -x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_4); lean_dec(x_4); @@ -21780,10 +21631,10 @@ x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); lean_dec(x_2); x_16 = l_Lean_Json_compress(x_1); -x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); -x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2; x_20 = lean_string_append(x_18, x_19); x_21 = lean_string_append(x_20, x_15); lean_dec(x_15); @@ -21820,7 +21671,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__36(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__36(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -21845,11 +21696,11 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__35(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__35(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -21899,7 +21750,7 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -21919,30 +21770,30 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__35(x_2); -x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__36(x_5, x_3, x_4); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__35(x_2); +x_6 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__36(x_5, x_3, x_4); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -21961,7 +21812,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__2; x_13 = l_Task_Priority_default; x_14 = lean_task_map(x_12, x_11, x_13); lean_ctor_set(x_9, 0, x_14); @@ -21975,7 +21826,7 @@ x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_9); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__2; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__2; x_18 = l_Task_Priority_default; x_19 = lean_task_map(x_17, x_15, x_18); x_20 = lean_alloc_ctor(0, 2, 0); @@ -22033,28 +21884,28 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3), 4, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_6 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_7 = lean_st_ref_take(x_6, x_4); 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_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); @@ -22080,12 +21931,12 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_dec(x_3); -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1; +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1; x_6 = lean_st_ref_get(x_5, x_4); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) @@ -22100,17 +21951,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4(x_1, x_2, x_11, x_9); +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_14 = lean_string_append(x_13, x_2); lean_dec(x_2); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_16 = lean_string_append(x_14, x_15); x_17 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_17, 0, x_16); @@ -22133,17 +21984,17 @@ if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4(x_1, x_2, x_21, x_19); +x_22 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_24 = lean_string_append(x_23, x_2); lean_dec(x_2); -x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2; x_26 = lean_string_append(x_24, x_25); x_27 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_27, 0, x_26); @@ -22155,7 +22006,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -22174,10 +22025,10 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_8 = lean_ctor_get(x_4, 0); lean_dec(x_8); -x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_10 = lean_string_append(x_9, x_1); lean_dec(x_1); -x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_12 = lean_string_append(x_10, x_11); x_13 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_13, 0, x_12); @@ -22191,10 +22042,10 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_4, 1); lean_inc(x_14); lean_dec(x_4); -x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1; x_16 = lean_string_append(x_15, x_1); lean_dec(x_1); -x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -22211,12 +22062,12 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__5(x_2, x_1, x_22, x_21); +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__1() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__1() { _start: { lean_object* x_1; @@ -22224,7 +22075,7 @@ x_1 = lean_mk_string_from_bytes("textDocument/waitForDiagnostics", 31); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__2() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__2() { _start: { lean_object* x_1; @@ -22232,7 +22083,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleWaitForDiagnosti return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__3() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__3() { _start: { lean_object* x_1; @@ -22240,7 +22091,7 @@ x_1 = lean_mk_string_from_bytes("textDocument/completion", 23); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__4() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__4() { _start: { lean_object* x_1; @@ -22248,7 +22099,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleCompletion), 3, return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__5() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__5() { _start: { lean_object* x_1; @@ -22256,7 +22107,7 @@ x_1 = lean_mk_string_from_bytes("textDocument/hover", 18); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__6() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__6() { _start: { lean_object* x_1; @@ -22264,7 +22115,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleHover), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__7() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__7() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -22275,7 +22126,7 @@ lean_closure_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__8() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__8() { _start: { lean_object* x_1; @@ -22283,7 +22134,7 @@ x_1 = lean_mk_string_from_bytes("textDocument/declaration", 24); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__9() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__9() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -22294,7 +22145,7 @@ lean_closure_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__10() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__10() { _start: { lean_object* x_1; @@ -22302,7 +22153,7 @@ x_1 = lean_mk_string_from_bytes("textDocument/definition", 23); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__11() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__11() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -22313,7 +22164,7 @@ lean_closure_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__12() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__12() { _start: { lean_object* x_1; @@ -22321,7 +22172,7 @@ x_1 = lean_mk_string_from_bytes("textDocument/typeDefinition", 27); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__13() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__13() { _start: { lean_object* x_1; @@ -22329,7 +22180,7 @@ x_1 = lean_mk_string_from_bytes("textDocument/documentHighlight", 30); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__14() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__14() { _start: { lean_object* x_1; @@ -22337,7 +22188,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentHighligh return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__15() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__15() { _start: { lean_object* x_1; @@ -22345,7 +22196,7 @@ x_1 = lean_mk_string_from_bytes("textDocument/documentSymbol", 27); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__16() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__16() { _start: { lean_object* x_1; @@ -22353,7 +22204,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleDocumentSymbol__ return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__17() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__17() { _start: { lean_object* x_1; @@ -22361,7 +22212,7 @@ x_1 = lean_mk_string_from_bytes("textDocument/semanticTokens/full", 32); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__18() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__18() { _start: { lean_object* x_1; @@ -22369,7 +22220,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokensFu return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__19() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__19() { _start: { lean_object* x_1; @@ -22377,7 +22228,7 @@ x_1 = lean_mk_string_from_bytes("textDocument/semanticTokens/range", 33); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__20() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__20() { _start: { lean_object* x_1; @@ -22385,7 +22236,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokensRa return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__21() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__21() { _start: { lean_object* x_1; @@ -22393,7 +22244,7 @@ x_1 = lean_mk_string_from_bytes("textDocument/foldingRange", 25); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__22() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__22() { _start: { lean_object* x_1; @@ -22401,7 +22252,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleFoldingRange___b return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__23() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__23() { _start: { lean_object* x_1; @@ -22409,7 +22260,7 @@ x_1 = lean_mk_string_from_bytes("$/lean/plainGoal", 16); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__24() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__24() { _start: { lean_object* x_1; @@ -22417,7 +22268,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainGoal), 3, 0 return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__25() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__25() { _start: { lean_object* x_1; @@ -22425,7 +22276,7 @@ x_1 = lean_mk_string_from_bytes("$/lean/plainTermGoal", 20); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__26() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__26() { _start: { lean_object* x_1; @@ -22433,121 +22284,121 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal), return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__1; -x_3 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__2; -x_4 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1(x_2, x_3, x_1); +x_2 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__1; +x_3 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__2; +x_4 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); -x_6 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__3; -x_7 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__4; -x_8 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4(x_6, x_7, x_5); +x_6 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__3; +x_7 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__4; +x_8 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4(x_6, x_7, x_5); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); lean_dec(x_8); -x_10 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__5; -x_11 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__6; -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7(x_10, x_11, x_9); +x_10 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__5; +x_11 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__6; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7(x_10, x_11, x_9); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); -x_14 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__8; -x_15 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__7; -x_16 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10(x_14, x_15, x_13); +x_14 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__8; +x_15 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__7; +x_16 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10(x_14, x_15, x_13); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); -x_18 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__10; -x_19 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__9; -x_20 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10(x_18, x_19, x_17); +x_18 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__10; +x_19 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__9; +x_20 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10(x_18, x_19, x_17); if (lean_obj_tag(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_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__12; -x_23 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__11; -x_24 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10(x_22, x_23, x_21); +x_22 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__12; +x_23 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__11; +x_24 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10(x_22, x_23, x_21); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); -x_26 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__13; -x_27 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__14; -x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14(x_26, x_27, x_25); +x_26 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__13; +x_27 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__14; +x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14(x_26, x_27, x_25); if (lean_obj_tag(x_28) == 0) { lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; x_29 = lean_ctor_get(x_28, 1); lean_inc(x_29); lean_dec(x_28); -x_30 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__15; -x_31 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__16; -x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18(x_30, x_31, x_29); +x_30 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__15; +x_31 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__16; +x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18(x_30, x_31, x_29); if (lean_obj_tag(x_32) == 0) { lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); -x_34 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__17; -x_35 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__18; -x_36 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21(x_34, x_35, x_33); +x_34 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__17; +x_35 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__18; +x_36 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21(x_34, x_35, x_33); if (lean_obj_tag(x_36) == 0) { lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; x_37 = lean_ctor_get(x_36, 1); lean_inc(x_37); lean_dec(x_36); -x_38 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__19; -x_39 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__20; -x_40 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24(x_38, x_39, x_37); +x_38 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__19; +x_39 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__20; +x_40 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24(x_38, x_39, x_37); if (lean_obj_tag(x_40) == 0) { lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); -x_42 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__21; -x_43 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__22; -x_44 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27(x_42, x_43, x_41); +x_42 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__21; +x_43 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__22; +x_44 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27(x_42, x_43, x_41); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; x_45 = lean_ctor_get(x_44, 1); lean_inc(x_45); lean_dec(x_44); -x_46 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__23; -x_47 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__24; -x_48 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31(x_46, x_47, x_45); +x_46 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__23; +x_47 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__24; +x_48 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31(x_46, x_47, x_45); if (lean_obj_tag(x_48) == 0) { lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; x_49 = lean_ctor_get(x_48, 1); lean_inc(x_49); lean_dec(x_48); -x_50 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__25; -x_51 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__26; -x_52 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34(x_50, x_51, x_49); +x_50 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__25; +x_51 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__26; +x_52 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34(x_50, x_51, x_49); return x_52; } else @@ -22827,83 +22678,83 @@ return x_100; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__3(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__3(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__2___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__2___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__2(x_1); +x_2 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__2(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__6(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__6(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__9(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__9(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__12(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__12(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__13___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; @@ -22911,30 +22762,30 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__13(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__13(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__16(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__16(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__17___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; @@ -22942,87 +22793,87 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__17(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__17(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__20(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__20(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__23(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__23(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__26(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__26(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__29___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__29___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__29(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__29(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__30___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__30___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; @@ -23030,53 +22881,53 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__30(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__30(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__33___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__33___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__33(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__33(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__36___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__36___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__36(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__36(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -23348,143 +23199,141 @@ l_Lean_Server_FileWorker_handleFoldingRange_addRanges___closed__1 = _init_l_Lean lean_mark_persistent(l_Lean_Server_FileWorker_handleFoldingRange_addRanges___closed__1); l_Lean_Server_FileWorker_handleFoldingRange_addRanges___closed__2 = _init_l_Lean_Server_FileWorker_handleFoldingRange_addRanges___closed__2(); lean_mark_persistent(l_Lean_Server_FileWorker_handleFoldingRange_addRanges___closed__2); -l_Lean_Server_FileWorker_handleFoldingRange___rarg___closed__1 = _init_l_Lean_Server_FileWorker_handleFoldingRange___rarg___closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_handleFoldingRange___rarg___closed__1); l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1___closed__1 = _init_l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1___closed__1); l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___closed__1 = _init_l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___closed__1); l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1 = _init_l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1); -l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1(); -lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__1); -l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2(); -lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__2___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__2___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__2___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__4___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___lambda__5___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__1___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__2___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__4___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__7___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__10___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__14___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__18___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__2___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__21___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__24___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__27___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__31___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____spec__34___lambda__4___closed__1); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__1 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__1); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__2 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__2); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__3 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__3); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__4 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__4); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__5 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__5(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__5); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__6 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__6(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__6); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__7 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__7(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__7); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__8 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__8(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__8); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__9 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__9(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__9); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__10 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__10(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__10); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__11 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__11(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__11); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__12 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__12(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__12); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__13 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__13(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__13); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__14 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__14(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__14); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__15 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__15(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__15); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__16 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__16(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__16); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__17 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__17(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__17); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__18 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__18(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__18); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__19 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__19(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__19); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__20 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__20(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__20); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__21 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__21(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__21); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__22 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__22(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__22); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__23 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__23(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__23); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__24 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__24(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__24); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__25 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__25(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__25); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__26 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__26(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775____closed__26); -res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9775_(lean_io_mk_world()); +l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1(); +lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__1); +l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2(); +lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__2___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__2___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__2___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__4___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__2___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__4___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__10___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__2___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__24___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__27___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__31___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__4___closed__1); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__1 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__1); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__2 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__2); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__3 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__3); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__4 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__4); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__5 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__5(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__5); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__6 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__6(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__6); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__7 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__7(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__7); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__8 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__8(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__8); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__9 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__9(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__9); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__10 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__10(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__10); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__11 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__11(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__11); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__12 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__12(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__12); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__13 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__13(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__13); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__14 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__14(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__14); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__15 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__15(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__15); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__16 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__16(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__16); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__17 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__17(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__17); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__18 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__18(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__18); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__19 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__19(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__19); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__20 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__20(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__20); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__21 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__21(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__21); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__22 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__22(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__22); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__23 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__23(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__23); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__24 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__24(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__24); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__25 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__25(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__25); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__26 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__26(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__26); +res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629_(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/FileWorker/WidgetRequests.c b/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c index 1bc849fe78..ebb4a101ed 100644 --- a/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c +++ b/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c @@ -13,103 +13,121 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__5(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__9; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__4___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____closed__1; -lean_object* l_Lean_instToJsonBool___boxed(lean_object*); -lean_object* l_Lean_Widget_TaggedText_instRpcEncodingTaggedText___rarg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__3(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__25(lean_object*, size_t, size_t, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_RpcSession_store(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); +static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__3; LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__9(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__8(size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Lsp_instToJsonDiagnosticCode___boxed(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -lean_object* l_Lean_instToJsonOption___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__15; LEAN_EXPORT lean_object* l_Lean_Widget_makePopup___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311____closed__1; static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311_(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__8; -extern lean_object* l_Lean_instFromJsonNat; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2(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_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__12; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -lean_object* l_Lean_instToJsonArray___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__4___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Widget_getInteractiveDiagnostics___lambda__2(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__5(lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__5; lean_object* l_Lean_Widget_ppExprTagged(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___lambda__1___boxed(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* lean_io_error_to_string(lean_object*); -lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__33___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedInfoPopup___closed__1; -lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6; static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__22; lean_object* l_Lean_Json_getObjValAs_x3f(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____closed__3; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__4; -extern lean_object* l_Lean_Server_instFromJsonGoToKind; LEAN_EXPORT lean_object* l_ReaderT_read___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__9___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_type_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____rarg(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_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__4; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16(lean_object*); +lean_object* l_Lean_SubExpr_Pos_toString(lean_object*); static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__1; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__17; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__8; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5(lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__4(lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__7(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__6___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__6___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__6(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_953____spec__5(lean_object*, lean_object*); +static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__2; static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____closed__2; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__4; -lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg(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___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Server_builtinRpcProcedures; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__3; -static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__26(size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__17___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Widget_getInteractiveDiagnostics___lambda__3(lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__11; +static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20(size_t, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___boxed(lean_object*, lean_object*, lean_object*, 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_Widget_instFromJsonRpcEncodingPacket__8(lean_object*, lean_object*); -lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__1; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__5; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__7; +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_lspPosToUtf8Pos(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__3; +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__6; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____closed__2; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__4(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____closed__3; lean_object* l_List_join___rarg(lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Lsp_instToJsonLocationLink; +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__4(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1349_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_instToJsonNat(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__1; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__5; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__1(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__13; LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__23; LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedGetInteractiveDiagnosticsParams; LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547_(lean_object*); @@ -118,7 +136,10 @@ LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_Widg LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3(lean_object*, lean_object*); +static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__4(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Widget_getInteractiveDiagnostics___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -126,235 +147,320 @@ LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetG static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Widget_getInteractiveDiagnostics___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2(lean_object*, lean_object*); -lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__7___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__24; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__32(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonLineRange____x40_Lean_Data_Lsp_Extra___hyg_1865_(lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__1(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__6; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__7; +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__1; +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__5___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__14___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____closed__1; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__5(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__6(lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_402____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__2; LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__5___boxed(lean_object*); lean_object* l_List_getLast_x3f___rarg(lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____closed__3; LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1349____spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__4; +static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__3; LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__1; +lean_object* l_Lean_Json_compress(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -extern lean_object* l_Lean_Lsp_instToJsonDiagnosticRelatedInformation; LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2(lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__18; +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__4; static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__3(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__2(lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__11(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__15(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__2(lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__30(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_getInteractiveDiagnostics___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__7___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_getInteractiveDiagnostics___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__8___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_getInteractiveDiagnostics___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_Server_registerBuiltinRpcProcedure___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__26; LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__9___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Lsp_instToJsonRpcRef; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__6___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__12___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__9(lean_object*, lean_object*); -static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__9; +static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2; lean_object* l_IO_AsyncList_waitAll___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__8; +static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__8___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__8(lean_object*, lean_object*); +static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1; static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____closed__2; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__2(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_194____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_makePopup___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_953____spec__3(lean_object*, lean_object*); lean_object* lean_task_map(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__3; +lean_object* l_Nat_repr(lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instToJsonGetInteractiveDiagnosticsParams___closed__1; +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____rarg(lean_object*, lean_object*); -lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg(lean_object*); -lean_object* l_Lean_Server_instRpcEncoding___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_RequestM_bindTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___closed__2; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__13(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_getInteractiveGoals(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____lambda__2(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_instRpcEncoding___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__5(size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__23(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__1(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Lsp_instFromJsonRpcRef; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__13(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_RequestM_mapTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedInfoPopup; +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__19___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_getInteractiveDiagnostics___lambda__1___closed__1; static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__3; +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__5; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_getInteractiveDiagnostics___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__19; +static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__2; +lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Data_Lsp_Extra___hyg_1065_(size_t); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____lambda__3___closed__1; -lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__10; +LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__29(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_getInteractiveDiagnostics___lambda__1___closed__2; uint8_t l_Array_isEmpty___rarg(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3(lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__1; static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____closed__1; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__4; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__3(lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonGetInteractiveDiagnosticsParams; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__7; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__6; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__32(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(lean_object*, lean_object*, lean_object*); extern lean_object* l_Task_Priority_default; +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__7___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_getInteractiveDiagnostics(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648____rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__6; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__3(lean_object*); +lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__36___boxed(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Widget_msgToInteractive(lean_object*, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_docString_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____lambda__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__5; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__25; -lean_object* l_Lean_Widget_instToJsonMVarId(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__21; +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_makePopup___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Widget_makePopup___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__6(size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__4(uint8_t, lean_object*, lean_object*); -extern lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef; -static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; -extern lean_object* l_Lean_Lsp_instFromJsonPlainTermGoalParams; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__17(lean_object*); +static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__3; static lean_object* l_Lean_Widget_instInhabitedMsgToInteractive___closed__1; static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__4; static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____closed__3; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__4(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__16; +lean_object* l_Lean_JsonNumber_fromNat(lean_object*); lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__5(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__4; +static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__5; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__14(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_getInteractiveDiagnostics___lambda__3___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____closed__3; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__2; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__3(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1744_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_194_(lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__5; -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311____spec__1___closed__1; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__14; +LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -lean_object* l_Lean_Server_instRpcEncodingOption___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2(lean_object*, lean_object*); 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_1311____spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__28; -static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__6; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_toArray___rarg(lean_object*); -lean_object* l_Lean_Server_instRpcEncodingArray___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__12(size_t, size_t, lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____closed__1; -lean_object* l_Lean_instToJsonString(lean_object*); +static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__9; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__11___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__4(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__7(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_getInteractiveDiagnostics___lambda__2___boxed(lean_object*); static lean_object* l_Lean_Widget_instInhabitedMsgToInteractive___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__3; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_makePopup(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__8; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__4(lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__2; +static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2___closed__1; +lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcRef____x40_Lean_Data_Lsp_Extra___hyg_1027_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; uint8_t l_Std_PersistentHashMap_contains___at_Lean_Server_registerBuiltinRpcProcedure___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___closed__2; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__12; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7___boxed(lean_object*, lean_object*, 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_2131____spec__1(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__4___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x3f(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__2; static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___closed__1; +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__9; +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3(lean_object*); +static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__4; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Server_FileWorker_instMonadRpcSession___spec__1(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__2; +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__4; +static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__2; +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_953____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_initializing(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10(lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__20; +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__19(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_locationLinksFromDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__3; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__5; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__10; +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8(lean_object*); +static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___boxed(lean_object*); +static lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__2; static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_instToJsonName(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Lsp_instToJsonRange; +static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__35(lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__7___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_RequestM_asTask___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__4; LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28(size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; lean_object* l_Lean_Expr_getAppFn(lean_object*); -lean_object* l_Lean_Widget_instToJsonFVarId(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_623_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_makePopup___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____rarg___closed__2; +lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(lean_object*, uint64_t); +lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51_(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9(size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__1; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__3(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_lctx(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__4; +static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__4; +lean_object* lean_usize_to_nat(size_t); +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__2; static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____rarg___closed__1; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1744____rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__2; +static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__2; lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5(lean_object*); static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__27(size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__3(lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__4; lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__11; -lean_object* l_Lean_Server_wrapRpcProcedure___elambda__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_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__3; -static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__7; -extern lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_953____spec__2(lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__6; 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_1311____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; -lean_object* l_Lean_Lsp_instToJsonDiagnosticTag___boxed(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__6; +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__7; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__18(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____closed__1; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLineRange____x40_Lean_Data_Lsp_Extra___hyg_1810_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__18___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__1(lean_object*); -lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__1(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__2(lean_object*); lean_object* l_Lean_Server_RequestM_readDoc(lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__27; +static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__3; +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__3(lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Lsp_instFromJsonPlainGoalParams; +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -extern lean_object* l_Lean_SubExpr_Pos_instToJsonPos; -static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__6(lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedMsgToInteractive; static lean_object* _init_l_Lean_Widget_instInhabitedMsgToInteractive___closed__1() { _start: @@ -701,65 +807,195 @@ x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEnco return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_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_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; lean_dec(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_2); -lean_ctor_set(x_6, 1, x_3); -x_7 = lean_apply_2(x_5, lean_box(0), x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); lean_dec(x_1); -x_8 = lean_ctor_get(x_2, 1); +x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__3___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__4___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_4); +x_8 = lean_apply_2(x_6, lean_box(0), x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; 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_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); lean_dec(x_2); lean_inc(x_3); -x_9 = lean_apply_4(x_7, lean_box(0), x_3, x_4, x_8); -x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__1), 3, 2); -lean_closure_set(x_10, 0, x_3); -lean_closure_set(x_10, 1, x_6); -x_11 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_9, x_10); -return x_11; +x_8 = lean_apply_4(x_6, lean_box(0), x_3, x_4, x_7); +lean_inc(x_3); +x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__1), 3, 2); +lean_closure_set(x_9, 0, x_5); +lean_closure_set(x_9, 1, x_3); +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__1___rarg), 5, 4); +lean_closure_set(x_11, 0, x_3); +lean_closure_set(x_11, 1, lean_box(0)); +lean_closure_set(x_11, 2, lean_box(0)); +lean_closure_set(x_11, 3, x_9); +x_12 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_8, x_11); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_7 = lean_ctor_get(x_4, 1); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); lean_dec(x_1); -x_9 = lean_ctor_get(x_6, 0); -lean_inc(x_9); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); lean_inc(x_5); lean_inc(x_4); -x_10 = lean_apply_4(x_8, lean_box(0), x_4, x_5, x_9); -lean_inc(x_7); -x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__2), 6, 5); -lean_closure_set(x_11, 0, x_2); -lean_closure_set(x_11, 1, x_6); -lean_closure_set(x_11, 2, x_4); -lean_closure_set(x_11, 3, x_5); -lean_closure_set(x_11, 4, x_7); -x_12 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_10, x_11); -return x_12; +x_9 = lean_apply_4(x_7, lean_box(0), x_4, x_5, x_8); +lean_inc(x_4); +x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__2), 5, 4); +lean_closure_set(x_10, 0, x_2); +lean_closure_set(x_10, 1, x_6); +lean_closure_set(x_10, 2, x_4); +lean_closure_set(x_10, 3, x_5); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__2___rarg), 5, 4); +lean_closure_set(x_12, 0, x_4); +lean_closure_set(x_12, 1, lean_box(0)); +lean_closure_set(x_12, 2, lean_box(0)); +lean_closure_set(x_12, 3, x_10); +x_13 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_9, x_12); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -799,7 +1035,7 @@ lean_closure_set(x_9, 0, x_5); lean_closure_set(x_9, 1, x_3); x_10 = lean_ctor_get(x_3, 1); lean_inc(x_10); -x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__1___rarg), 5, 4); +x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__3___rarg), 5, 4); lean_closure_set(x_11, 0, x_3); lean_closure_set(x_11, 1, lean_box(0)); lean_closure_set(x_11, 2, lean_box(0)); @@ -828,7 +1064,7 @@ lean_closure_set(x_10, 2, x_4); lean_closure_set(x_10, 3, x_5); x_11 = lean_ctor_get(x_4, 1); lean_inc(x_11); -x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__2___rarg), 5, 4); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___spec__4___rarg), 5, 4); lean_closure_set(x_12, 0, x_4); lean_closure_set(x_12, 1, lean_box(0)); lean_closure_set(x_12, 2, lean_box(0)); @@ -863,316 +1099,4427 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgToInteractiveRp return x_2; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__1() { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__4(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 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__3(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_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____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) +{ +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 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6(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; +} +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncoding___lambda__1___boxed), 4, 0); +x_1 = lean_mk_string_from_bytes("info", 4); return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__2() { +static lean_object* _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncoding___lambda__2___boxed), 4, 0); +x_1 = lean_mk_string_from_bytes("subexprPos", 10); return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3() { +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8(lean_object* x_1) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__1; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___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; +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; lean_object* x_17; lean_object* x_18; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_4 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Data_Lsp_Extra___hyg_1065_(x_3); +x_5 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___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); +lean_dec(x_1); +x_10 = l_Lean_SubExpr_Pos_toString(x_9); +x_11 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___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_7); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_7); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_8); +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_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__4() { +static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_3 = l_Lean_Widget_instRpcEncodingMsgToInteractiveRpcEncodingPacket___rarg(x_1, lean_box(0), x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("text", 4); +return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__5() { +static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Lsp_instFromJsonRpcRef; -x_2 = l_Lean_instFromJsonNat; -x_3 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____rarg___boxed), 3, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("append", 6); +return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_3 = l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg(x_1, lean_box(0), x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__7() { +static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__6; -x_2 = l_Lean_Widget_TaggedText_instRpcEncodingTaggedText___rarg(x_1); +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_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__8() { +static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tag", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6(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; lean_object* x_7; lean_object* x_8; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3, 0, x_2); +x_4 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___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); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = l_Lean_Json_mkObj(x_7); +return x_8; +} +case 1: +{ +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; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +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_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__7(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_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___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_box(0); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_Json_mkObj(x_18); +return x_19; +} +default: +{ +lean_object* x_20; 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_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 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8(x_20); +x_23 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6(x_21); +x_24 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__3; +x_25 = lean_array_push(x_24, x_22); +x_26 = lean_array_push(x_25, x_23); +x_27 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__4; +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_Json_mkObj(x_31); +return x_32; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__11(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; uint8_t x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +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 = l_Lean_Name_toString(x_5, x_8); +x_10 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_7, x_2, x_10); +x_2 = x_12; +x_3 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__12(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; uint8_t x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +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 = l_Lean_Name_toString(x_5, x_8); +x_10 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_7, x_2, x_10); +x_2 = x_12; +x_3 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__13(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_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6(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_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("names", 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("fvarIds", 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("type", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("val", 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("isInstance", 10); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("isType", 6); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10(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; 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; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +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_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__11(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_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___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 = lean_array_get_size(x_12); +x_14 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_15 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__12(x_14, x_5, x_12); +x_16 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__2; +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_10); +x_20 = lean_ctor_get(x_1, 2); +lean_inc(x_20); +x_21 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6(x_20); +x_22 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__3; +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_10); +x_25 = lean_ctor_get(x_1, 3); +lean_inc(x_25); +x_26 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__4; +x_27 = l_Lean_Json_opt___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__13(x_26, x_25); +x_28 = lean_ctor_get(x_1, 4); +lean_inc(x_28); +x_29 = lean_alloc_ctor(1, 0, 1); +x_30 = lean_unbox(x_28); +lean_dec(x_28); +lean_ctor_set_uint8(x_29, 0, x_30); +x_31 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__5; +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_29); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_10); +x_34 = lean_ctor_get(x_1, 5); +lean_inc(x_34); +lean_dec(x_1); +x_35 = lean_alloc_ctor(1, 0, 1); +x_36 = lean_unbox(x_34); +lean_dec(x_34); +lean_ctor_set_uint8(x_35, 0, x_36); +x_37 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__6; +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_10); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_10); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_33); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_27); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_24); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_19); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_11); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_List_join___rarg(x_45); +x_47 = l_Lean_Json_mkObj(x_46); +return x_47; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__14(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 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10(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_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__15(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; lean_object* x_10; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = 1; +x_6 = l_Lean_Name_toString(x_4, x_5); +x_7 = lean_alloc_ctor(3, 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; +} +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("hyps", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("userName", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("goalPrefix", 10); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("mvarId", 6); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9(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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_2 = 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_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__14(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_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___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_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6(x_12); +x_14 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__3; +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_10); +x_17 = lean_ctor_get(x_1, 2); +lean_inc(x_17); +x_18 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__2; +x_19 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2131____spec__1(x_18, x_17); +lean_dec(x_17); +x_20 = lean_ctor_get(x_1, 3); +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_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__3; +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_10); +x_25 = lean_ctor_get(x_1, 4); +lean_inc(x_25); +lean_dec(x_1); +x_26 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__4; +x_27 = l_Lean_Json_opt___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__15(x_26, 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_10); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_24); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_19); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_16); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_11); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_List_join___rarg(x_32); +x_34 = l_Lean_Json_mkObj(x_33); +return x_34; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("expr", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("goal", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_2 = l_Lean_Server_instRpcEncodingArray___rarg(x_1); +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_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__9() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__8; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__7; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_4 = l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg(x_1, lean_box(0), x_1, lean_box(0), x_2, lean_box(0), x_3); +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("lazyTrace", 9); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5(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; lean_object* x_7; lean_object* x_8; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6(x_2); +x_4 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___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); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = l_Lean_Json_mkObj(x_7); +return x_8; +} +case 1: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9(x_9); +x_11 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___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_box(0); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_Lean_Json_mkObj(x_14); +return x_15; +} +default: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; size_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; +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_1, 2); +lean_inc(x_18); +lean_dec(x_1); +x_19 = l_Lean_JsonNumber_fromNat(x_16); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = 1; +x_22 = l_Lean_Name_toString(x_17, x_21); +x_23 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_unbox_usize(x_18); +lean_dec(x_18); +x_25 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Data_Lsp_Extra___hyg_1065_(x_24); +x_26 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__3; +x_27 = lean_array_push(x_26, x_20); +x_28 = lean_array_push(x_27, x_23); +x_29 = lean_array_push(x_28, x_25); +x_30 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__4; +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_box(0); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Lean_Json_mkObj(x_34); +return x_35; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__3(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; lean_object* x_7; lean_object* x_8; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3, 0, x_2); +x_4 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___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); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = l_Lean_Json_mkObj(x_7); +return x_8; +} +case 1: +{ +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; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +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_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__4(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_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___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_box(0); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_Json_mkObj(x_18); +return x_19; +} +default: +{ +lean_object* x_20; 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_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 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5(x_20); +x_23 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__3(x_21); +x_24 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__3; +x_25 = lean_array_push(x_24, x_22); +x_26 = lean_array_push(x_25, x_23); +x_27 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__4; +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_Json_mkObj(x_31); +return x_32; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__18(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_Extra_0__Lean_Lsp_fromJsonRpcRef____x40_Lean_Data_Lsp_Extra___hyg_1027_(x_3); return x_4; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__10() { +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__17(lean_object* x_1) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__9; -x_2 = l_Lean_Server_instRpcEncodingArray___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__11() { -_start: +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____rarg___closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__18(x_1, x_2); +if (lean_obj_tag(x_3) == 0) { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__10; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__7; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_4 = l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg(x_1, lean_box(0), x_2, lean_box(0), x_3, lean_box(0), x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__12() { -_start: +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__7; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__11; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_4 = l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef; -x_5 = l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg(x_1, lean_box(0), x_2, lean_box(0), x_3, lean_box(0), x_3, lean_box(0), x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__12; -x_2 = l_Lean_Widget_TaggedText_instRpcEncodingTaggedText___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Lsp_instToJsonRpcRef; -x_2 = l_Lean_SubExpr_Pos_instToJsonPos; -x_3 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____rarg), 3, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); return x_3; } -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__15() { -_start: +else { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__14; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_instToJsonName), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__16; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonArray___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__18() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instToJsonFVarId), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__18; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonArray___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__20() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_instToJsonBool___boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__21() { -_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_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__17; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__19; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__15; -x_4 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__20; -x_5 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____rarg), 5, 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); -return x_5; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__21; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonArray___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_instToJsonString), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__24() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instToJsonMVarId), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__25() { -_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_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__22; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__15; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__23; -x_4 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__24; -x_5 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____rarg), 5, 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); -return x_5; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__26() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_instToJsonNat), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__15; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__25; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__26; -x_4 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__16; -x_5 = l_Lean_Lsp_instToJsonRpcRef; -x_6 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____rarg), 6, 5); -lean_closure_set(x_6, 0, x_1); -lean_closure_set(x_6, 1, x_2); -lean_closure_set(x_6, 2, x_3); -lean_closure_set(x_6, 3, x_4); -lean_closure_set(x_6, 4, x_5); +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; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__28() { +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_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____rarg___closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_402____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; +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; +} +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_ctor_set(x_18, 0, x_17); +return x_18; +} +} +} +} +} +static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__27; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Cannot parse request params: ", 29); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\n", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__17(x_1); +if (lean_obj_tag(x_2) == 0) +{ +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; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_4 = lean_ctor_get(x_2, 0); +x_5 = l_Lean_Json_compress(x_1); +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2; +x_9 = lean_string_append(x_7, x_8); +x_10 = lean_string_append(x_9, x_4); +lean_dec(x_4); +x_11 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_12 = lean_string_append(x_10, x_11); +x_13 = 0; +x_14 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set_uint8(x_14, sizeof(void*)*1, x_13); +lean_ctor_set(x_2, 0, x_14); return x_2; } +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +lean_dec(x_2); +x_16 = l_Lean_Json_compress(x_1); +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2; +x_20 = lean_string_append(x_18, x_19); +x_21 = lean_string_append(x_20, x_15); +lean_dec(x_15); +x_22 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_23 = lean_string_append(x_21, x_22); +x_24 = 0; +x_25 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_24); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_2); +if (x_27 == 0) +{ +return x_2; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_2, 0); +lean_inc(x_28); +lean_dec(x_2); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +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_3); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___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 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_1); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; +} +} +static lean_object* _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("RPC reference '", 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("' is not valid", 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("RPC call type mismatch in reference '", 37); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("'\nexpected '", 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("', got '", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("'", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg(lean_object* x_1, size_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Std_PersistentHashMap_find_x3f___at_Lean_Server_FileWorker_instMonadRpcSession___spec__1(x_4, x_2); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_1); +x_6 = lean_usize_to_nat(x_2); +x_7 = l_Nat_repr(x_6); +x_8 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__1; +x_9 = lean_string_append(x_8, x_7); +lean_dec(x_7); +x_10 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__2; +x_11 = lean_string_append(x_9, x_10); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_5, 0); +lean_inc(x_14); +lean_dec(x_5); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_name_eq(x_16, x_1); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_17); +x_19 = lean_usize_to_nat(x_2); +x_20 = l_Nat_repr(x_19); +x_21 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__3; +x_22 = lean_string_append(x_21, x_20); +lean_dec(x_20); +x_23 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__4; +x_24 = lean_string_append(x_22, x_23); +x_25 = 1; +x_26 = l_Lean_Name_toString(x_1, x_25); +x_27 = lean_string_append(x_24, x_26); +lean_dec(x_26); +x_28 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__5; +x_29 = lean_string_append(x_27, x_28); +x_30 = l_Lean_Name_toString(x_16, x_25); +x_31 = lean_string_append(x_29, x_30); +lean_dec(x_30); +x_32 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6; +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); +lean_ctor_set(x_14, 1, x_3); +lean_ctor_set(x_14, 0, x_34); +return x_14; +} +else +{ +lean_object* x_35; lean_object* x_36; +lean_free_object(x_14); +lean_dec(x_16); +lean_dec(x_1); +x_35 = lean_box(0); +x_36 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___lambda__1(x_17, x_35, x_3); +return x_36; +} +} +else +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_37 = lean_ctor_get(x_14, 0); +x_38 = lean_ctor_get(x_14, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_14); +x_39 = lean_name_eq(x_37, x_1); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_38); +x_40 = lean_usize_to_nat(x_2); +x_41 = l_Nat_repr(x_40); +x_42 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__3; +x_43 = lean_string_append(x_42, x_41); +lean_dec(x_41); +x_44 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__4; +x_45 = lean_string_append(x_43, x_44); +x_46 = 1; +x_47 = l_Lean_Name_toString(x_1, x_46); +x_48 = lean_string_append(x_45, x_47); +lean_dec(x_47); +x_49 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__5; +x_50 = lean_string_append(x_48, x_49); +x_51 = l_Lean_Name_toString(x_37, x_46); +x_52 = lean_string_append(x_50, x_51); +lean_dec(x_51); +x_53 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6; +x_54 = lean_string_append(x_52, x_53); +x_55 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_55, 0, 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_3); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_37); +lean_dec(x_1); +x_57 = lean_box(0); +x_58 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___lambda__1(x_38, x_57, x_3); +return x_58; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___boxed), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("MessageData", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__2; +x_2 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20(size_t x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__4; +x_4 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg(x_3, x_1, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__23(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_Server_FileWorker_RpcSession_store(x_3, x_1, x_2); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_4, 0, x_7); +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_inc(x_9); +lean_inc(x_8); +lean_dec(x_4); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, 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; +} +} +} +static lean_object* _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Widget", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__2; +x_2 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("InfoWithCtx", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__2; +x_2 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__4; +x_4 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__23(x_3, x_1, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__25(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_3, x_2); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_1); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_4, x_3); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_4, x_3, x_10); +lean_inc(x_1); +x_12 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_1, x_9, x_5); +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_11); +lean_dec(x_1); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_12, 0); +lean_dec(x_15); +x_16 = !lean_is_exclusive(x_13); +if (x_16 == 0) +{ +return x_12; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_12, 0, x_18); +return x_12; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_dec(x_12); +x_20 = lean_ctor_get(x_13, 0); +lean_inc(x_20); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + x_21 = x_13; +} else { + lean_dec_ref(x_13); + x_21 = lean_box(0); +} +if (lean_is_scalar(x_21)) { + x_22 = lean_alloc_ctor(0, 1, 0); +} else { + x_22 = x_21; +} +lean_ctor_set(x_22, 0, x_20); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_19); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_12, 1); +lean_inc(x_24); +lean_dec(x_12); +x_25 = lean_ctor_get(x_13, 0); +lean_inc(x_25); +lean_dec(x_13); +x_26 = 1; +x_27 = lean_usize_add(x_3, x_26); +x_28 = lean_array_uset(x_11, x_3, x_25); +x_3 = x_27; +x_4 = x_28; +x_5 = x_24; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +uint8_t x_4; +lean_dec(x_1); +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_2); +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; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +lean_dec(x_2); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +x_9 = lean_alloc_ctor(1, 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_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +} +case 1: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_2); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_2, 0); +x_13 = lean_array_get_size(x_12); +x_14 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_15 = 0; +x_16 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__25(x_1, x_14, x_15, x_12, x_3); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +lean_free_object(x_2); +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_16, 0); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +return x_16; +} +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 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_16, 0, x_22); +return x_16; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_dec(x_16); +x_24 = lean_ctor_get(x_17, 0); +lean_inc(x_24); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + x_25 = x_17; +} else { + lean_dec_ref(x_17); + x_25 = lean_box(0); +} +if (lean_is_scalar(x_25)) { + x_26 = lean_alloc_ctor(0, 1, 0); +} else { + x_26 = x_25; +} +lean_ctor_set(x_26, 0, 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_23); +return x_27; +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_16); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_16, 0); +lean_dec(x_29); +x_30 = !lean_is_exclusive(x_17); +if (x_30 == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_17, 0); +lean_ctor_set(x_2, 0, x_31); +lean_ctor_set(x_17, 0, x_2); +return x_16; +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_17, 0); +lean_inc(x_32); +lean_dec(x_17); +lean_ctor_set(x_2, 0, x_32); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_2); +lean_ctor_set(x_16, 0, x_33); +return x_16; +} +} +else +{ +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_16, 1); +lean_inc(x_34); +lean_dec(x_16); +x_35 = lean_ctor_get(x_17, 0); +lean_inc(x_35); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + x_36 = x_17; +} else { + lean_dec_ref(x_17); + x_36 = lean_box(0); +} +lean_ctor_set(x_2, 0, x_35); +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(1, 1, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_2); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_34); +return x_38; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; +x_39 = lean_ctor_get(x_2, 0); +lean_inc(x_39); +lean_dec(x_2); +x_40 = lean_array_get_size(x_39); +x_41 = lean_usize_of_nat(x_40); +lean_dec(x_40); +x_42 = 0; +x_43 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__25(x_1, x_41, x_42, x_39, x_3); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +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_ctor_get(x_44, 0); +lean_inc(x_47); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + x_48 = x_44; +} else { + lean_dec_ref(x_44); + x_48 = lean_box(0); +} +if (lean_is_scalar(x_48)) { + x_49 = lean_alloc_ctor(0, 1, 0); +} else { + x_49 = x_48; +} +lean_ctor_set(x_49, 0, x_47); +if (lean_is_scalar(x_46)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_46; +} +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_45); +return x_50; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_51 = lean_ctor_get(x_43, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_52 = x_43; +} else { + lean_dec_ref(x_43); + x_52 = lean_box(0); +} +x_53 = lean_ctor_get(x_44, 0); +lean_inc(x_53); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + x_54 = x_44; +} else { + lean_dec_ref(x_44); + x_54 = lean_box(0); +} +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_53); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(1, 1, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +if (lean_is_scalar(x_52)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_52; +} +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_51); +return x_57; +} +} +} +default: +{ +uint8_t x_58; +x_58 = !lean_is_exclusive(x_2); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_2, 0); +x_60 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +x_61 = lean_apply_2(x_1, x_59, x_3); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +if (lean_obj_tag(x_62) == 0) +{ +uint8_t x_63; +lean_free_object(x_2); +lean_dec(x_60); +lean_dec(x_1); +x_63 = !lean_is_exclusive(x_61); +if (x_63 == 0) +{ +lean_object* x_64; uint8_t x_65; +x_64 = lean_ctor_get(x_61, 0); +lean_dec(x_64); +x_65 = !lean_is_exclusive(x_62); +if (x_65 == 0) +{ +return x_61; +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_62, 0); +lean_inc(x_66); +lean_dec(x_62); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_61, 0, x_67); +return x_61; +} +} +else +{ +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_61, 1); +lean_inc(x_68); +lean_dec(x_61); +x_69 = lean_ctor_get(x_62, 0); +lean_inc(x_69); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + x_70 = x_62; +} else { + lean_dec_ref(x_62); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(0, 1, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_69); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_68); +return x_72; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_73 = lean_ctor_get(x_61, 1); +lean_inc(x_73); +lean_dec(x_61); +x_74 = lean_ctor_get(x_62, 0); +lean_inc(x_74); +lean_dec(x_62); +x_75 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_1, x_60, x_73); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +if (lean_obj_tag(x_76) == 0) +{ +uint8_t x_77; +lean_dec(x_74); +lean_free_object(x_2); +x_77 = !lean_is_exclusive(x_75); +if (x_77 == 0) +{ +lean_object* x_78; uint8_t x_79; +x_78 = lean_ctor_get(x_75, 0); +lean_dec(x_78); +x_79 = !lean_is_exclusive(x_76); +if (x_79 == 0) +{ +return x_75; +} +else +{ +lean_object* x_80; lean_object* x_81; +x_80 = lean_ctor_get(x_76, 0); +lean_inc(x_80); +lean_dec(x_76); +x_81 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_75, 0, x_81); +return x_75; +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_82 = lean_ctor_get(x_75, 1); +lean_inc(x_82); +lean_dec(x_75); +x_83 = lean_ctor_get(x_76, 0); +lean_inc(x_83); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + x_84 = x_76; +} else { + lean_dec_ref(x_76); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(0, 1, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_83); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_82); +return x_86; +} +} +else +{ +uint8_t x_87; +x_87 = !lean_is_exclusive(x_75); +if (x_87 == 0) +{ +lean_object* x_88; uint8_t x_89; +x_88 = lean_ctor_get(x_75, 0); +lean_dec(x_88); +x_89 = !lean_is_exclusive(x_76); +if (x_89 == 0) +{ +lean_object* x_90; +x_90 = lean_ctor_get(x_76, 0); +lean_ctor_set(x_2, 1, x_90); +lean_ctor_set(x_2, 0, x_74); +lean_ctor_set(x_76, 0, x_2); +return x_75; +} +else +{ +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_76, 0); +lean_inc(x_91); +lean_dec(x_76); +lean_ctor_set(x_2, 1, x_91); +lean_ctor_set(x_2, 0, x_74); +x_92 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_92, 0, x_2); +lean_ctor_set(x_75, 0, x_92); +return x_75; +} +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_93 = lean_ctor_get(x_75, 1); +lean_inc(x_93); +lean_dec(x_75); +x_94 = lean_ctor_get(x_76, 0); +lean_inc(x_94); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + x_95 = x_76; +} else { + lean_dec_ref(x_76); + x_95 = lean_box(0); +} +lean_ctor_set(x_2, 1, x_94); +lean_ctor_set(x_2, 0, x_74); +if (lean_is_scalar(x_95)) { + x_96 = lean_alloc_ctor(1, 1, 0); +} else { + x_96 = x_95; +} +lean_ctor_set(x_96, 0, x_2); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_93); +return x_97; +} +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_98 = lean_ctor_get(x_2, 0); +x_99 = lean_ctor_get(x_2, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_2); +lean_inc(x_1); +x_100 = lean_apply_2(x_1, x_98, x_3); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_dec(x_99); +lean_dec(x_1); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_103 = x_100; +} else { + lean_dec_ref(x_100); + x_103 = lean_box(0); +} +x_104 = lean_ctor_get(x_101, 0); +lean_inc(x_104); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + x_105 = x_101; +} else { + lean_dec_ref(x_101); + x_105 = lean_box(0); +} +if (lean_is_scalar(x_105)) { + x_106 = lean_alloc_ctor(0, 1, 0); +} else { + x_106 = x_105; +} +lean_ctor_set(x_106, 0, x_104); +if (lean_is_scalar(x_103)) { + x_107 = lean_alloc_ctor(0, 2, 0); +} else { + x_107 = x_103; +} +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_102); +return x_107; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_108 = lean_ctor_get(x_100, 1); +lean_inc(x_108); +lean_dec(x_100); +x_109 = lean_ctor_get(x_101, 0); +lean_inc(x_109); +lean_dec(x_101); +x_110 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_1, x_99, x_108); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +if (lean_obj_tag(x_111) == 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_dec(x_109); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_113 = x_110; +} else { + lean_dec_ref(x_110); + x_113 = lean_box(0); +} +x_114 = lean_ctor_get(x_111, 0); +lean_inc(x_114); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + x_115 = x_111; +} else { + lean_dec_ref(x_111); + x_115 = lean_box(0); +} +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(0, 1, 0); +} else { + x_116 = x_115; +} +lean_ctor_set(x_116, 0, x_114); +if (lean_is_scalar(x_113)) { + x_117 = lean_alloc_ctor(0, 2, 0); +} else { + x_117 = x_113; +} +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_112); +return x_117; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_118 = lean_ctor_get(x_110, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_119 = x_110; +} else { + lean_dec_ref(x_110); + x_119 = lean_box(0); +} +x_120 = lean_ctor_get(x_111, 0); +lean_inc(x_120); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + x_121 = x_111; +} else { + lean_dec_ref(x_111); + x_121 = lean_box(0); +} +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_109); +lean_ctor_set(x_122, 1, x_120); +if (lean_is_scalar(x_121)) { + x_123 = lean_alloc_ctor(1, 1, 0); +} else { + x_123 = x_121; +} +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_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_118); +return x_124; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__26(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; lean_object* x_7; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_3); +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; +} +else +{ +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_8 = lean_array_uget(x_3, x_2); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_uset(x_3, x_2, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_10, x_2, x_8); +x_2 = x_12; +x_3 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__27(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; lean_object* x_7; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_3); +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; +} +else +{ +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_8 = lean_array_uget(x_3, x_2); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_uset(x_3, x_2, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_10, x_2, x_8); +x_2 = x_12; +x_3 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22(x_3, x_2); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_ctor_get(x_5, 0); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_4); +lean_ctor_set(x_7, 0, x_10); +return x_5; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +lean_dec(x_7); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_4); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_5, 0, x_13); +return x_5; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_14 = lean_ctor_get(x_5, 0); +x_15 = lean_ctor_get(x_5, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_5); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_17 = x_14; +} else { + lean_dec_ref(x_14); + x_17 = lean_box(0); +} +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_4); +if (lean_is_scalar(x_17)) { + x_19 = lean_alloc_ctor(1, 1, 0); +} else { + x_19 = x_17; +} +lean_ctor_set(x_19, 0, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_15); +return x_20; +} +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___lambda__1), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28(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; lean_object* x_7; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_3); +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; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; lean_object* x_30; size_t x_31; size_t 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; +x_8 = lean_array_uget(x_3, x_2); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_uset(x_3, x_2, x_9); +x_24 = lean_ctor_get(x_8, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_8, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_8, 2); +lean_inc(x_26); +x_27 = lean_ctor_get(x_8, 3); +lean_inc(x_27); +x_28 = lean_ctor_get_uint8(x_8, sizeof(void*)*4); +x_29 = lean_ctor_get_uint8(x_8, sizeof(void*)*4 + 1); +lean_dec(x_8); +x_30 = lean_array_get_size(x_24); +x_31 = lean_usize_of_nat(x_30); +lean_dec(x_30); +x_32 = 0; +x_33 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__26(x_31, x_32, x_24, x_4); +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_34, 0); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_array_get_size(x_25); +x_38 = lean_usize_of_nat(x_37); +lean_dec(x_37); +x_39 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__27(x_38, x_32, x_25, x_35); +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); +lean_dec(x_40); +x_43 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; +x_44 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_43, x_26, x_41); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; uint8_t x_47; +lean_dec(x_42); +lean_dec(x_36); +lean_dec(x_27); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = !lean_is_exclusive(x_45); +if (x_47 == 0) +{ +x_11 = x_45; +x_12 = x_46; +goto block_23; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 0); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_11 = x_49; +x_12 = x_46; +goto block_23; +} +} +else +{ +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_50; uint8_t x_51; +x_50 = lean_ctor_get(x_44, 1); +lean_inc(x_50); +lean_dec(x_44); +x_51 = !lean_is_exclusive(x_45); +if (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_45, 0); +x_53 = lean_box(0); +x_54 = lean_box(x_28); +x_55 = lean_box(x_29); +x_56 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_56, 0, x_36); +lean_ctor_set(x_56, 1, x_42); +lean_ctor_set(x_56, 2, x_52); +lean_ctor_set(x_56, 3, x_53); +lean_ctor_set(x_56, 4, x_54); +lean_ctor_set(x_56, 5, x_55); +lean_ctor_set(x_45, 0, x_56); +x_11 = x_45; +x_12 = x_50; +goto block_23; +} +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_45, 0); +lean_inc(x_57); +lean_dec(x_45); +x_58 = lean_box(0); +x_59 = lean_box(x_28); +x_60 = lean_box(x_29); +x_61 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_61, 0, x_36); +lean_ctor_set(x_61, 1, x_42); +lean_ctor_set(x_61, 2, x_57); +lean_ctor_set(x_61, 3, x_58); +lean_ctor_set(x_61, 4, x_59); +lean_ctor_set(x_61, 5, x_60); +x_62 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_11 = x_62; +x_12 = x_50; +goto block_23; +} +} +else +{ +lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_63 = lean_ctor_get(x_44, 1); +lean_inc(x_63); +lean_dec(x_44); +x_64 = lean_ctor_get(x_45, 0); +lean_inc(x_64); +lean_dec(x_45); +x_65 = !lean_is_exclusive(x_27); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_27, 0); +x_67 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_43, x_66, x_63); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; uint8_t x_70; +lean_free_object(x_27); +lean_dec(x_64); +lean_dec(x_42); +lean_dec(x_36); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = !lean_is_exclusive(x_68); +if (x_70 == 0) +{ +x_11 = x_68; +x_12 = x_69; +goto block_23; +} +else +{ +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_68, 0); +lean_inc(x_71); +lean_dec(x_68); +x_72 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_72, 0, x_71); +x_11 = x_72; +x_12 = x_69; +goto block_23; +} +} +else +{ +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_67, 1); +lean_inc(x_73); +lean_dec(x_67); +x_74 = !lean_is_exclusive(x_68); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_75 = lean_ctor_get(x_68, 0); +lean_ctor_set(x_27, 0, x_75); +x_76 = lean_box(x_28); +x_77 = lean_box(x_29); +x_78 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_78, 0, x_36); +lean_ctor_set(x_78, 1, x_42); +lean_ctor_set(x_78, 2, x_64); +lean_ctor_set(x_78, 3, x_27); +lean_ctor_set(x_78, 4, x_76); +lean_ctor_set(x_78, 5, x_77); +lean_ctor_set(x_68, 0, x_78); +x_11 = x_68; +x_12 = x_73; +goto block_23; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_79 = lean_ctor_get(x_68, 0); +lean_inc(x_79); +lean_dec(x_68); +lean_ctor_set(x_27, 0, x_79); +x_80 = lean_box(x_28); +x_81 = lean_box(x_29); +x_82 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_82, 0, x_36); +lean_ctor_set(x_82, 1, x_42); +lean_ctor_set(x_82, 2, x_64); +lean_ctor_set(x_82, 3, x_27); +lean_ctor_set(x_82, 4, x_80); +lean_ctor_set(x_82, 5, x_81); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_82); +x_11 = x_83; +x_12 = x_73; +goto block_23; +} +} +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_27, 0); +lean_inc(x_84); +lean_dec(x_27); +x_85 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_43, x_84, x_63); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +if (lean_obj_tag(x_86) == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_64); +lean_dec(x_42); +lean_dec(x_36); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_88 = lean_ctor_get(x_86, 0); +lean_inc(x_88); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + x_89 = x_86; +} else { + lean_dec_ref(x_86); + x_89 = lean_box(0); +} +if (lean_is_scalar(x_89)) { + x_90 = lean_alloc_ctor(0, 1, 0); +} else { + x_90 = x_89; +} +lean_ctor_set(x_90, 0, x_88); +x_11 = x_90; +x_12 = x_87; +goto block_23; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_91 = lean_ctor_get(x_85, 1); +lean_inc(x_91); +lean_dec(x_85); +x_92 = lean_ctor_get(x_86, 0); +lean_inc(x_92); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + x_93 = x_86; +} else { + lean_dec_ref(x_86); + x_93 = lean_box(0); +} +x_94 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_94, 0, x_92); +x_95 = lean_box(x_28); +x_96 = lean_box(x_29); +x_97 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_97, 0, x_36); +lean_ctor_set(x_97, 1, x_42); +lean_ctor_set(x_97, 2, x_64); +lean_ctor_set(x_97, 3, x_94); +lean_ctor_set(x_97, 4, x_95); +lean_ctor_set(x_97, 5, x_96); +if (lean_is_scalar(x_93)) { + x_98 = lean_alloc_ctor(1, 1, 0); +} else { + x_98 = x_93; +} +lean_ctor_set(x_98, 0, x_97); +x_11 = x_98; +x_12 = x_91; +goto block_23; +} +} +} +} +block_23: +{ +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_13; +lean_dec(x_10); +x_13 = !lean_is_exclusive(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_11); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_11, 0); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_12); +return x_17; +} +} +else +{ +lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_11, 0); +lean_inc(x_18); +lean_dec(x_11); +x_19 = 1; +x_20 = lean_usize_add(x_2, x_19); +x_21 = lean_array_uset(x_10, x_2, x_18); +x_2 = x_20; +x_3 = x_21; +x_4 = x_12; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__30(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_Server_FileWorker_RpcSession_store(x_3, x_1, x_2); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_4, 0, x_7); +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_inc(x_9); +lean_inc(x_8); +lean_dec(x_4); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, 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_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__29(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__4; +x_4 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__30(x_3, x_1, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__32(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_3, x_2); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_1); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_array_uget(x_4, x_3); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_4, x_3, x_10); +lean_inc(x_1); +x_12 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_1, x_9, x_5); +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_11); +lean_dec(x_1); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_12, 0); +lean_dec(x_15); +x_16 = !lean_is_exclusive(x_13); +if (x_16 == 0) +{ +return x_12; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_12, 0, x_18); +return x_12; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_dec(x_12); +x_20 = lean_ctor_get(x_13, 0); +lean_inc(x_20); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + x_21 = x_13; +} else { + lean_dec_ref(x_13); + x_21 = lean_box(0); +} +if (lean_is_scalar(x_21)) { + x_22 = lean_alloc_ctor(0, 1, 0); +} else { + x_22 = x_21; +} +lean_ctor_set(x_22, 0, x_20); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_19); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_12, 1); +lean_inc(x_24); +lean_dec(x_12); +x_25 = lean_ctor_get(x_13, 0); +lean_inc(x_25); +lean_dec(x_13); +x_26 = 1; +x_27 = lean_usize_add(x_3, x_26); +x_28 = lean_array_uset(x_11, x_3, x_25); +x_3 = x_27; +x_4 = x_28; +x_5 = x_24; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +uint8_t x_4; +lean_dec(x_1); +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_2); +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; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +lean_dec(x_2); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +x_9 = lean_alloc_ctor(1, 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_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +} +case 1: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_2); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_2, 0); +x_13 = lean_array_get_size(x_12); +x_14 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_15 = 0; +x_16 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__32(x_1, x_14, x_15, x_12, x_3); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +lean_free_object(x_2); +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_16, 0); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +return x_16; +} +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 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_16, 0, x_22); +return x_16; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_dec(x_16); +x_24 = lean_ctor_get(x_17, 0); +lean_inc(x_24); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + x_25 = x_17; +} else { + lean_dec_ref(x_17); + x_25 = lean_box(0); +} +if (lean_is_scalar(x_25)) { + x_26 = lean_alloc_ctor(0, 1, 0); +} else { + x_26 = x_25; +} +lean_ctor_set(x_26, 0, 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_23); +return x_27; +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_16); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_16, 0); +lean_dec(x_29); +x_30 = !lean_is_exclusive(x_17); +if (x_30 == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_17, 0); +lean_ctor_set(x_2, 0, x_31); +lean_ctor_set(x_17, 0, x_2); +return x_16; +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_17, 0); +lean_inc(x_32); +lean_dec(x_17); +lean_ctor_set(x_2, 0, x_32); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_2); +lean_ctor_set(x_16, 0, x_33); +return x_16; +} +} +else +{ +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_16, 1); +lean_inc(x_34); +lean_dec(x_16); +x_35 = lean_ctor_get(x_17, 0); +lean_inc(x_35); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + x_36 = x_17; +} else { + lean_dec_ref(x_17); + x_36 = lean_box(0); +} +lean_ctor_set(x_2, 0, x_35); +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(1, 1, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_2); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_34); +return x_38; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; +x_39 = lean_ctor_get(x_2, 0); +lean_inc(x_39); +lean_dec(x_2); +x_40 = lean_array_get_size(x_39); +x_41 = lean_usize_of_nat(x_40); +lean_dec(x_40); +x_42 = 0; +x_43 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__32(x_1, x_41, x_42, x_39, x_3); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +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_ctor_get(x_44, 0); +lean_inc(x_47); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + x_48 = x_44; +} else { + lean_dec_ref(x_44); + x_48 = lean_box(0); +} +if (lean_is_scalar(x_48)) { + x_49 = lean_alloc_ctor(0, 1, 0); +} else { + x_49 = x_48; +} +lean_ctor_set(x_49, 0, x_47); +if (lean_is_scalar(x_46)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_46; +} +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_45); +return x_50; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_51 = lean_ctor_get(x_43, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_52 = x_43; +} else { + lean_dec_ref(x_43); + x_52 = lean_box(0); +} +x_53 = lean_ctor_get(x_44, 0); +lean_inc(x_53); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + x_54 = x_44; +} else { + lean_dec_ref(x_44); + x_54 = lean_box(0); +} +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_53); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(1, 1, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +if (lean_is_scalar(x_52)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_52; +} +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_51); +return x_57; +} +} +} +default: +{ +uint8_t x_58; +x_58 = !lean_is_exclusive(x_2); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_2, 0); +x_60 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +x_61 = lean_apply_2(x_1, x_59, x_3); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +if (lean_obj_tag(x_62) == 0) +{ +uint8_t x_63; +lean_free_object(x_2); +lean_dec(x_60); +lean_dec(x_1); +x_63 = !lean_is_exclusive(x_61); +if (x_63 == 0) +{ +lean_object* x_64; uint8_t x_65; +x_64 = lean_ctor_get(x_61, 0); +lean_dec(x_64); +x_65 = !lean_is_exclusive(x_62); +if (x_65 == 0) +{ +return x_61; +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_62, 0); +lean_inc(x_66); +lean_dec(x_62); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_61, 0, x_67); +return x_61; +} +} +else +{ +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_61, 1); +lean_inc(x_68); +lean_dec(x_61); +x_69 = lean_ctor_get(x_62, 0); +lean_inc(x_69); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + x_70 = x_62; +} else { + lean_dec_ref(x_62); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(0, 1, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_69); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_68); +return x_72; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_73 = lean_ctor_get(x_61, 1); +lean_inc(x_73); +lean_dec(x_61); +x_74 = lean_ctor_get(x_62, 0); +lean_inc(x_74); +lean_dec(x_62); +x_75 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_1, x_60, x_73); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +if (lean_obj_tag(x_76) == 0) +{ +uint8_t x_77; +lean_dec(x_74); +lean_free_object(x_2); +x_77 = !lean_is_exclusive(x_75); +if (x_77 == 0) +{ +lean_object* x_78; uint8_t x_79; +x_78 = lean_ctor_get(x_75, 0); +lean_dec(x_78); +x_79 = !lean_is_exclusive(x_76); +if (x_79 == 0) +{ +return x_75; +} +else +{ +lean_object* x_80; lean_object* x_81; +x_80 = lean_ctor_get(x_76, 0); +lean_inc(x_80); +lean_dec(x_76); +x_81 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_75, 0, x_81); +return x_75; +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_82 = lean_ctor_get(x_75, 1); +lean_inc(x_82); +lean_dec(x_75); +x_83 = lean_ctor_get(x_76, 0); +lean_inc(x_83); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + x_84 = x_76; +} else { + lean_dec_ref(x_76); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(0, 1, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_83); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_82); +return x_86; +} +} +else +{ +uint8_t x_87; +x_87 = !lean_is_exclusive(x_75); +if (x_87 == 0) +{ +lean_object* x_88; uint8_t x_89; +x_88 = lean_ctor_get(x_75, 0); +lean_dec(x_88); +x_89 = !lean_is_exclusive(x_76); +if (x_89 == 0) +{ +lean_object* x_90; +x_90 = lean_ctor_get(x_76, 0); +lean_ctor_set(x_2, 1, x_90); +lean_ctor_set(x_2, 0, x_74); +lean_ctor_set(x_76, 0, x_2); +return x_75; +} +else +{ +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_76, 0); +lean_inc(x_91); +lean_dec(x_76); +lean_ctor_set(x_2, 1, x_91); +lean_ctor_set(x_2, 0, x_74); +x_92 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_92, 0, x_2); +lean_ctor_set(x_75, 0, x_92); +return x_75; +} +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_93 = lean_ctor_get(x_75, 1); +lean_inc(x_93); +lean_dec(x_75); +x_94 = lean_ctor_get(x_76, 0); +lean_inc(x_94); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + x_95 = x_76; +} else { + lean_dec_ref(x_76); + x_95 = lean_box(0); +} +lean_ctor_set(x_2, 1, x_94); +lean_ctor_set(x_2, 0, x_74); +if (lean_is_scalar(x_95)) { + x_96 = lean_alloc_ctor(1, 1, 0); +} else { + x_96 = x_95; +} +lean_ctor_set(x_96, 0, x_2); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_93); +return x_97; +} +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_98 = lean_ctor_get(x_2, 0); +x_99 = lean_ctor_get(x_2, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_2); +lean_inc(x_1); +x_100 = lean_apply_2(x_1, x_98, x_3); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_dec(x_99); +lean_dec(x_1); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_103 = x_100; +} else { + lean_dec_ref(x_100); + x_103 = lean_box(0); +} +x_104 = lean_ctor_get(x_101, 0); +lean_inc(x_104); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + x_105 = x_101; +} else { + lean_dec_ref(x_101); + x_105 = lean_box(0); +} +if (lean_is_scalar(x_105)) { + x_106 = lean_alloc_ctor(0, 1, 0); +} else { + x_106 = x_105; +} +lean_ctor_set(x_106, 0, x_104); +if (lean_is_scalar(x_103)) { + x_107 = lean_alloc_ctor(0, 2, 0); +} else { + x_107 = x_103; +} +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_102); +return x_107; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_108 = lean_ctor_get(x_100, 1); +lean_inc(x_108); +lean_dec(x_100); +x_109 = lean_ctor_get(x_101, 0); +lean_inc(x_109); +lean_dec(x_101); +x_110 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_1, x_99, x_108); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +if (lean_obj_tag(x_111) == 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_dec(x_109); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_113 = x_110; +} else { + lean_dec_ref(x_110); + x_113 = lean_box(0); +} +x_114 = lean_ctor_get(x_111, 0); +lean_inc(x_114); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + x_115 = x_111; +} else { + lean_dec_ref(x_111); + x_115 = lean_box(0); +} +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(0, 1, 0); +} else { + x_116 = x_115; +} +lean_ctor_set(x_116, 0, x_114); +if (lean_is_scalar(x_113)) { + x_117 = lean_alloc_ctor(0, 2, 0); +} else { + x_117 = x_113; +} +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_112); +return x_117; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_118 = lean_ctor_get(x_110, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_119 = x_110; +} else { + lean_dec_ref(x_110); + x_119 = lean_box(0); +} +x_120 = lean_ctor_get(x_111, 0); +lean_inc(x_120); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + x_121 = x_111; +} else { + lean_dec_ref(x_111); + x_121 = lean_box(0); +} +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_109); +lean_ctor_set(x_122, 1, x_120); +if (lean_is_scalar(x_121)) { + x_123 = lean_alloc_ctor(1, 1, 0); +} else { + x_123 = x_121; +} +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_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_118); +return x_124; +} +} +} +} +} +} +} +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Cannot decode params in RPC call '", 34); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("(", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(")'\n", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____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) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_ref_get(x_1, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_4, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_13 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20(x_12, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +if (lean_obj_tag(x_14) == 0) +{ +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; uint8_t x_29; lean_object* x_30; +lean_dec(x_11); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +x_16 = 1; +x_17 = l_Lean_Name_toString(x_2, x_16); +x_18 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__1; +x_19 = lean_string_append(x_18, x_17); +lean_dec(x_17); +x_20 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__2; +x_21 = lean_string_append(x_19, x_20); +x_22 = l_Lean_Json_compress(x_3); +x_23 = lean_string_append(x_21, x_22); +lean_dec(x_22); +x_24 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__3; +x_25 = lean_string_append(x_23, x_24); +x_26 = lean_string_append(x_25, x_15); +lean_dec(x_15); +x_27 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_28 = lean_string_append(x_26, x_27); +x_29 = 3; +x_30 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_29); +lean_ctor_set_tag(x_7, 1); +lean_ctor_set(x_7, 0, x_30); +return x_7; +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_3); +lean_dec(x_2); +x_31 = lean_ctor_get(x_14, 0); +lean_inc(x_31); +lean_dec(x_14); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_11); +lean_ctor_set(x_7, 0, x_32); +return x_7; +} +} +else +{ +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; +x_33 = lean_ctor_get(x_7, 0); +x_34 = lean_ctor_get(x_7, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_7); +x_35 = lean_ctor_get(x_4, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_4, 1); +lean_inc(x_36); +lean_dec(x_4); +x_37 = lean_unbox_usize(x_35); +lean_dec(x_35); +x_38 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20(x_37, x_33); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +lean_dec(x_38); +if (lean_obj_tag(x_39) == 0) +{ +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; uint8_t x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_36); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +lean_dec(x_39); +x_41 = 1; +x_42 = l_Lean_Name_toString(x_2, x_41); +x_43 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__1; +x_44 = lean_string_append(x_43, x_42); +lean_dec(x_42); +x_45 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__2; +x_46 = lean_string_append(x_44, x_45); +x_47 = l_Lean_Json_compress(x_3); +x_48 = lean_string_append(x_46, x_47); +lean_dec(x_47); +x_49 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__3; +x_50 = lean_string_append(x_48, x_49); +x_51 = lean_string_append(x_50, x_40); +lean_dec(x_40); +x_52 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_53 = lean_string_append(x_51, x_52); +x_54 = 3; +x_55 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set_uint8(x_55, sizeof(void*)*1, x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_34); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_3); +lean_dec(x_2); +x_57 = lean_ctor_get(x_39, 0); +lean_inc(x_57); +lean_dec(x_39); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_36); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_34); +return x_59; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +lean_dec(x_1); +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +lean_dec(x_2); +x_8 = lean_apply_3(x_1, x_7, x_3, x_4); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_1, 0); +lean_inc(x_19); +lean_dec(x_1); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; +x_21 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_20, x_19, x_2); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_21, 0); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_22); +if (x_25 == 0) +{ +return x_21; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_22, 0); +lean_inc(x_26); +lean_dec(x_22); +x_27 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_27, 0, 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; lean_object* x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_dec(x_21); +x_29 = lean_ctor_get(x_22, 0); +lean_inc(x_29); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + x_30 = x_22; +} else { + lean_dec_ref(x_22); + x_30 = lean_box(0); +} +if (lean_is_scalar(x_30)) { + x_31 = lean_alloc_ctor(0, 1, 0); +} else { + x_31 = x_30; +} +lean_ctor_set(x_31, 0, x_29); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_28); +return x_32; +} +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_21); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_21, 0); +lean_dec(x_34); +x_35 = !lean_is_exclusive(x_22); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_22, 0); +x_37 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_22, 0, x_37); +return x_21; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_22, 0); +lean_inc(x_38); +lean_dec(x_22); +x_39 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_39, 0, x_38); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_21, 0, x_40); +return x_21; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_41 = lean_ctor_get(x_21, 1); +lean_inc(x_41); +lean_dec(x_21); +x_42 = lean_ctor_get(x_22, 0); +lean_inc(x_42); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + x_43 = x_22; +} else { + lean_dec_ref(x_22); + x_43 = lean_box(0); +} +x_44 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_44, 0, x_42); +if (lean_is_scalar(x_43)) { + x_45 = lean_alloc_ctor(1, 1, 0); +} else { + x_45 = x_43; +} +lean_ctor_set(x_45, 0, x_44); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_41); +return x_46; +} +} +} +case 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; lean_object* x_53; size_t x_54; size_t x_55; lean_object* x_56; lean_object* x_57; +x_47 = lean_ctor_get(x_1, 0); +lean_inc(x_47); +lean_dec(x_1); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +x_50 = lean_ctor_get(x_47, 2); +lean_inc(x_50); +x_51 = lean_ctor_get(x_47, 3); +lean_inc(x_51); +x_52 = lean_ctor_get(x_47, 4); +lean_inc(x_52); +lean_dec(x_47); +x_53 = lean_array_get_size(x_48); +x_54 = lean_usize_of_nat(x_53); +lean_dec(x_53); +x_55 = 0; +x_56 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28(x_54, x_55, x_48, x_2); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; uint8_t x_59; +lean_dec(x_52); +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_49); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = !lean_is_exclusive(x_57); +if (x_59 == 0) +{ +x_3 = x_57; +x_4 = x_58; +goto block_18; +} +else +{ +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_57, 0); +lean_inc(x_60); +lean_dec(x_57); +x_61 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_3 = x_61; +x_4 = x_58; +goto block_18; +} +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_62 = lean_ctor_get(x_56, 1); +lean_inc(x_62); +lean_dec(x_56); +x_63 = lean_ctor_get(x_57, 0); +lean_inc(x_63); +lean_dec(x_57); +x_64 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; +x_65 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_64, x_49, x_62); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; uint8_t x_68; +lean_dec(x_63); +lean_dec(x_52); +lean_dec(x_51); +lean_dec(x_50); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = !lean_is_exclusive(x_66); +if (x_68 == 0) +{ +x_3 = x_66; +x_4 = x_67; +goto block_18; +} +else +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_66, 0); +lean_inc(x_69); +lean_dec(x_66); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_3 = x_70; +x_4 = x_67; +goto block_18; +} +} +else +{ +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_71; uint8_t x_72; +x_71 = lean_ctor_get(x_65, 1); +lean_inc(x_71); +lean_dec(x_65); +x_72 = !lean_is_exclusive(x_66); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_66, 0); +x_74 = lean_box(0); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_75; +x_75 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_75, 0, x_63); +lean_ctor_set(x_75, 1, x_73); +lean_ctor_set(x_75, 2, x_74); +lean_ctor_set(x_75, 3, x_51); +lean_ctor_set(x_75, 4, x_74); +lean_ctor_set(x_66, 0, x_75); +x_3 = x_66; +x_4 = x_71; +goto block_18; +} +else +{ +uint8_t x_76; +x_76 = !lean_is_exclusive(x_52); +if (x_76 == 0) +{ +lean_object* x_77; +x_77 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_77, 0, x_63); +lean_ctor_set(x_77, 1, x_73); +lean_ctor_set(x_77, 2, x_74); +lean_ctor_set(x_77, 3, x_51); +lean_ctor_set(x_77, 4, x_52); +lean_ctor_set(x_66, 0, x_77); +x_3 = x_66; +x_4 = x_71; +goto block_18; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_52, 0); +lean_inc(x_78); +lean_dec(x_52); +x_79 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_79, 0, x_78); +x_80 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_80, 0, x_63); +lean_ctor_set(x_80, 1, x_73); +lean_ctor_set(x_80, 2, x_74); +lean_ctor_set(x_80, 3, x_51); +lean_ctor_set(x_80, 4, x_79); +lean_ctor_set(x_66, 0, x_80); +x_3 = x_66; +x_4 = x_71; +goto block_18; +} +} +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_66, 0); +lean_inc(x_81); +lean_dec(x_66); +x_82 = lean_box(0); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_83; lean_object* x_84; +x_83 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_83, 0, x_63); +lean_ctor_set(x_83, 1, x_81); +lean_ctor_set(x_83, 2, x_82); +lean_ctor_set(x_83, 3, x_51); +lean_ctor_set(x_83, 4, x_82); +x_84 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_84, 0, x_83); +x_3 = x_84; +x_4 = x_71; +goto block_18; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_85 = lean_ctor_get(x_52, 0); +lean_inc(x_85); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + x_86 = x_52; +} else { + lean_dec_ref(x_52); + x_86 = lean_box(0); +} +if (lean_is_scalar(x_86)) { + x_87 = lean_alloc_ctor(1, 1, 0); +} else { + x_87 = x_86; +} +lean_ctor_set(x_87, 0, x_85); +x_88 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_88, 0, x_63); +lean_ctor_set(x_88, 1, x_81); +lean_ctor_set(x_88, 2, x_82); +lean_ctor_set(x_88, 3, x_51); +lean_ctor_set(x_88, 4, x_87); +x_89 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_3 = x_89; +x_4 = x_71; +goto block_18; +} +} +} +else +{ +lean_object* x_90; uint8_t x_91; +x_90 = lean_ctor_get(x_65, 1); +lean_inc(x_90); +lean_dec(x_65); +x_91 = !lean_is_exclusive(x_66); +if (x_91 == 0) +{ +uint8_t x_92; +x_92 = !lean_is_exclusive(x_50); +if (x_92 == 0) +{ +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_66, 0); +x_94 = lean_box(0); +x_95 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_95, 0, x_63); +lean_ctor_set(x_95, 1, x_93); +lean_ctor_set(x_95, 2, x_50); +lean_ctor_set(x_95, 3, x_51); +lean_ctor_set(x_95, 4, x_94); +lean_ctor_set(x_66, 0, x_95); +x_3 = x_66; +x_4 = x_90; +goto block_18; +} +else +{ +uint8_t x_96; +x_96 = !lean_is_exclusive(x_52); +if (x_96 == 0) +{ +lean_object* x_97; lean_object* x_98; +x_97 = lean_ctor_get(x_66, 0); +x_98 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_98, 0, x_63); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_50); +lean_ctor_set(x_98, 3, x_51); +lean_ctor_set(x_98, 4, x_52); +lean_ctor_set(x_66, 0, x_98); +x_3 = x_66; +x_4 = x_90; +goto block_18; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_99 = lean_ctor_get(x_66, 0); +x_100 = lean_ctor_get(x_52, 0); +lean_inc(x_100); +lean_dec(x_52); +x_101 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_101, 0, x_100); +x_102 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_102, 0, x_63); +lean_ctor_set(x_102, 1, x_99); +lean_ctor_set(x_102, 2, x_50); +lean_ctor_set(x_102, 3, x_51); +lean_ctor_set(x_102, 4, x_101); +lean_ctor_set(x_66, 0, x_102); +x_3 = x_66; +x_4 = x_90; +goto block_18; +} +} +} +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_50, 0); +lean_inc(x_104); +lean_dec(x_50); +x_105 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_105, 0, x_104); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_106; lean_object* x_107; +x_106 = lean_box(0); +x_107 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_107, 0, x_63); +lean_ctor_set(x_107, 1, x_103); +lean_ctor_set(x_107, 2, x_105); +lean_ctor_set(x_107, 3, x_51); +lean_ctor_set(x_107, 4, x_106); +lean_ctor_set(x_66, 0, x_107); +x_3 = x_66; +x_4 = x_90; +goto block_18; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_108 = lean_ctor_get(x_52, 0); +lean_inc(x_108); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + x_109 = x_52; +} else { + lean_dec_ref(x_52); + x_109 = lean_box(0); +} +if (lean_is_scalar(x_109)) { + x_110 = lean_alloc_ctor(1, 1, 0); +} else { + x_110 = x_109; +} +lean_ctor_set(x_110, 0, x_108); +x_111 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_111, 0, x_63); +lean_ctor_set(x_111, 1, x_103); +lean_ctor_set(x_111, 2, x_105); +lean_ctor_set(x_111, 3, x_51); +lean_ctor_set(x_111, 4, x_110); +lean_ctor_set(x_66, 0, x_111); +x_3 = x_66; +x_4 = x_90; +goto block_18; +} +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_112 = lean_ctor_get(x_66, 0); +lean_inc(x_112); +lean_dec(x_66); +x_113 = lean_ctor_get(x_50, 0); +lean_inc(x_113); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + x_114 = x_50; +} else { + lean_dec_ref(x_50); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 1, 0); +} else { + x_115 = x_114; +} +lean_ctor_set(x_115, 0, x_113); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_box(0); +x_117 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_117, 0, x_63); +lean_ctor_set(x_117, 1, x_112); +lean_ctor_set(x_117, 2, x_115); +lean_ctor_set(x_117, 3, x_51); +lean_ctor_set(x_117, 4, x_116); +x_118 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_118, 0, x_117); +x_3 = x_118; +x_4 = x_90; +goto block_18; +} +else +{ +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_52, 0); +lean_inc(x_119); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + x_120 = x_52; +} else { + lean_dec_ref(x_52); + x_120 = lean_box(0); +} +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(1, 1, 0); +} else { + x_121 = x_120; +} +lean_ctor_set(x_121, 0, x_119); +x_122 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_122, 0, x_63); +lean_ctor_set(x_122, 1, x_112); +lean_ctor_set(x_122, 2, x_115); +lean_ctor_set(x_122, 3, x_51); +lean_ctor_set(x_122, 4, x_121); +x_123 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_123, 0, x_122); +x_3 = x_123; +x_4 = x_90; +goto block_18; +} +} +} +} +} +} +default: +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; +x_124 = lean_ctor_get(x_1, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_1, 1); +lean_inc(x_125); +x_126 = lean_ctor_get(x_1, 2); +lean_inc(x_126); +lean_dec(x_1); +x_127 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__29(x_126, x_2); +x_128 = !lean_is_exclusive(x_127); +if (x_128 == 0) +{ +lean_object* x_129; uint8_t x_130; +x_129 = lean_ctor_get(x_127, 0); +x_130 = !lean_is_exclusive(x_129); +if (x_130 == 0) +{ +lean_object* x_131; lean_object* x_132; +x_131 = lean_ctor_get(x_129, 0); +x_132 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_132, 0, x_124); +lean_ctor_set(x_132, 1, x_125); +lean_ctor_set(x_132, 2, x_131); +lean_ctor_set(x_129, 0, x_132); +return x_127; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_129, 0); +lean_inc(x_133); +lean_dec(x_129); +x_134 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_134, 0, x_124); +lean_ctor_set(x_134, 1, x_125); +lean_ctor_set(x_134, 2, x_133); +x_135 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_127, 0, x_135); +return x_127; +} +} +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; +x_136 = lean_ctor_get(x_127, 0); +x_137 = lean_ctor_get(x_127, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_127); +x_138 = lean_ctor_get(x_136, 0); +lean_inc(x_138); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + x_139 = x_136; +} else { + lean_dec_ref(x_136); + x_139 = lean_box(0); +} +x_140 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_140, 0, x_124); +lean_ctor_set(x_140, 1, x_125); +lean_ctor_set(x_140, 2, x_138); +if (lean_is_scalar(x_139)) { + x_141 = lean_alloc_ctor(1, 1, 0); +} else { + x_141 = x_139; +} +lean_ctor_set(x_141, 0, x_140); +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_137); +return x_142; +} +} +} +block_18: +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_3); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, 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_4); +return x_9; +} +} +else +{ +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; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_3, 0, x_12); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_3); +lean_ctor_set(x_13, 1, x_4); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_3, 0); +lean_inc(x_14); +lean_dec(x_3); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_4); +return x_17; +} +} +} +} +} +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Cannot encode result of RPC call '", 34); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("'\n", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__3), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4(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; +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_2); +x_25 = lean_ctor_get(x_3, 0); +lean_inc(x_25); +lean_dec(x_3); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_5); +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; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +lean_dec(x_3); +x_28 = lean_st_ref_take(x_1, x_5); +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_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__3; +lean_inc(x_29); +x_32 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_31, x_27, x_29); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +lean_dec(x_32); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_st_ref_set(x_1, x_29, x_30); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_6 = x_33; +x_7 = x_36; +goto block_24; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = lean_ctor_get(x_33, 0); +lean_inc(x_37); +lean_dec(x_33); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_39 = lean_st_ref_set(x_1, x_29, x_30); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_6 = x_38; +x_7 = x_40; +goto block_24; +} +} +else +{ +lean_object* x_41; uint8_t x_42; +lean_dec(x_29); +x_41 = lean_ctor_get(x_32, 1); +lean_inc(x_41); +lean_dec(x_32); +x_42 = !lean_is_exclusive(x_33); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_st_ref_set(x_1, x_41, x_30); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_6 = x_33; +x_7 = x_44; +goto block_24; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_33, 0); +lean_inc(x_45); +lean_dec(x_33); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +x_47 = lean_st_ref_set(x_1, x_41, x_30); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_6 = x_46; +x_7 = x_48; +goto block_24; +} +} +} +block_24: +{ +if (lean_obj_tag(x_6) == 0) +{ +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; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = 1; +x_10 = l_Lean_Name_toString(x_2, x_9); +x_11 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__1; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__2; +x_14 = lean_string_append(x_12, x_13); +x_15 = lean_string_append(x_14, x_8); +lean_dec(x_8); +x_16 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_17 = lean_string_append(x_15, x_16); +x_18 = 3; +x_19 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_18); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_2); +x_21 = lean_ctor_get(x_6, 0); +lean_inc(x_21); +lean_dec(x_6); +x_22 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__3(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_7); +return x_23; +} +} +} +} +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Outdated RPC session", 20); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 9; +x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___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; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5(lean_object* x_1, lean_object* x_2, uint64_t 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_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(x_7, x_3); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_9 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__2; +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_6); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +lean_inc(x_4); +x_12 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16(x_4); +x_13 = lean_alloc_closure((void*)(l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__19___boxed), 3, 1); +lean_closure_set(x_13, 0, x_12); +lean_inc(x_1); +lean_inc(x_11); +x_14 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___boxed), 6, 3); +lean_closure_set(x_14, 0, x_11); +lean_closure_set(x_14, 1, x_1); +lean_closure_set(x_14, 2, x_4); +x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3___rarg), 4, 2); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_14); +lean_inc(x_5); +x_16 = l_Lean_Server_RequestM_asTask___rarg(x_15, x_5, x_6); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__2), 4, 1); +lean_closure_set(x_19, 0, x_2); +lean_inc(x_5); +x_20 = l_Lean_Server_RequestM_bindTask___rarg(x_17, x_19, x_5, x_18); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___boxed), 5, 2); +lean_closure_set(x_23, 0, x_11); +lean_closure_set(x_23, 1, x_1); +x_24 = l_Lean_Server_RequestM_mapTask___rarg(x_21, x_23, x_5, x_22); +return x_24; +} +} } LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____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; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__4; -x_4 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__5; -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__13; -x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__28; -x_7 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___elambda__1___boxed), 14, 10); -lean_closure_set(x_7, 0, x_1); -lean_closure_set(x_7, 1, lean_box(0)); -lean_closure_set(x_7, 2, lean_box(0)); -lean_closure_set(x_7, 3, lean_box(0)); -lean_closure_set(x_7, 4, x_3); -lean_closure_set(x_7, 5, x_4); -lean_closure_set(x_7, 6, lean_box(0)); -lean_closure_set(x_7, 7, x_5); -lean_closure_set(x_7, 8, x_6); -lean_closure_set(x_7, 9, x_2); -return x_7; +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___boxed), 6, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___closed__1() { @@ -1188,7 +5535,9 @@ _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; uint8_t x_12; lean_inc(x_1); -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2(x_1, x_2); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___boxed), 6, 2); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); x_6 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___closed__1; x_7 = lean_st_ref_take(x_6, x_4); x_8 = lean_ctor_get(x_7, 0); @@ -1222,14 +5571,6 @@ static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Wi _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("", 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string_from_bytes(": already registered", 20); return x_1; } @@ -1263,10 +5604,10 @@ else lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_2); lean_dec(x_1); -x_14 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_14 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_15 = lean_string_append(x_14, x_3); lean_dec(x_3); -x_16 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; +x_16 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; x_17 = lean_string_append(x_15, x_16); x_18 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_18, 0, x_17); @@ -1298,10 +5639,10 @@ 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_dec(x_2); lean_dec(x_1); -x_24 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_24 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_25 = lean_string_append(x_24, x_3); lean_dec(x_3); -x_26 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; +x_26 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; x_27 = lean_string_append(x_25, x_26); x_28 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_28, 0, x_27); @@ -1325,14 +5666,6 @@ static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Wi _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("'", 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string_from_bytes(": only possible during initialization", 37); return x_1; } @@ -1347,7 +5680,7 @@ x_5 = l_Lean_Name_toString(x_1, x_4); x_6 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; +x_8 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6; x_9 = lean_string_append(x_7, x_8); x_10 = lean_io_initializing(x_3); x_11 = lean_ctor_get(x_10, 0); @@ -1365,10 +5698,10 @@ 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; x_14 = lean_ctor_get(x_10, 0); lean_dec(x_14); -x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_15 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_16 = lean_string_append(x_15, x_9); lean_dec(x_9); -x_17 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; +x_17 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -1382,10 +5715,10 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean x_20 = lean_ctor_get(x_10, 1); lean_inc(x_20); lean_dec(x_10); -x_21 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_21 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_22 = lean_string_append(x_21, x_9); lean_dec(x_9); -x_23 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; +x_23 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; x_24 = lean_string_append(x_22, x_23); x_25 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_25, 0, x_24); @@ -1492,7 +5825,7 @@ static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_Wid _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean", 4); +x_1 = lean_mk_string_from_bytes("InteractiveDiagnostics", 22); return x_1; } } @@ -1500,7 +5833,7 @@ static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_Wid _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__2; x_2 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -1510,7 +5843,7 @@ static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_Wid _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Widget", 6); +x_1 = lean_mk_string_from_bytes("msgToInteractive", 16); return x_1; } } @@ -1528,42 +5861,6 @@ static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_Wid _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("InteractiveDiagnostics", 22); -return x_1; -} -} -static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__4; -x_2 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("msgToInteractive", 16); -return x_1; -} -} -static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__6; -x_2 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__7; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__9() { -_start: -{ -lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____lambda__2), 3, 0); return x_1; } @@ -1572,12 +5869,220 @@ LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_Widg _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__8; -x_3 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__9; +x_2 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__4; +x_3 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__5; x_4 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1(x_2, x_3, x_1); return x_4; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____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; +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_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__4(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____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_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__7(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__11___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_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__11(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +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_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__12(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__14___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_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__14(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__18___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__18(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__17___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__17(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__19(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___lambda__1(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___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_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg(x_1, x_4, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +size_t x_3; lean_object* x_4; +x_3 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_4 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20(x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__25___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_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__25(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__26___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_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_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__26(x_5, x_6, x_3, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__27___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_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_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__27(x_5, x_6, x_3, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___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_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_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28(x_5, x_6, x_3, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__32___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_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__32(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint64_t x_7; lean_object* x_8; +x_7 = lean_unbox_uint64(x_3); +lean_dec(x_3); +x_8 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5(x_1, x_2, x_7, x_4, x_5, x_6); +return x_8; +} +} LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -1620,19 +6125,11 @@ static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__L _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("type", 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__2() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string_from_bytes("exprExplicit", 12); return x_1; } } -static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__3() { +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__2() { _start: { lean_object* x_1; @@ -1644,7 +6141,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Le _start: { lean_object* x_4; lean_object* x_5; -x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__1; +x_4 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__3; lean_inc(x_1); x_5 = l_Lean_Json_getObjValAs_x3f(x_3, lean_box(0), x_1, x_4); if (lean_obj_tag(x_5) == 0) @@ -1674,7 +6171,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_ctor_get(x_5, 0); lean_inc(x_9); lean_dec(x_5); -x_10 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__2; +x_10 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__1; x_11 = l_Lean_Json_getObjValAs_x3f(x_3, lean_box(0), x_1, x_10); if (lean_obj_tag(x_11) == 0) { @@ -1703,7 +6200,7 @@ lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = lean_ctor_get(x_11, 0); lean_inc(x_15); lean_dec(x_11); -x_16 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__3; +x_16 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__2; x_17 = l_Lean_Json_getObjValAs_x3f(x_3, lean_box(0), x_2, x_16); if (lean_obj_tag(x_17) == 0) { @@ -1803,7 +6300,7 @@ x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); lean_inc(x_1); x_5 = lean_apply_1(x_1, x_4); -x_6 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__1; +x_6 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__3; x_7 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -1814,7 +6311,7 @@ lean_ctor_set(x_9, 1, x_8); x_10 = lean_ctor_get(x_3, 1); lean_inc(x_10); x_11 = lean_apply_1(x_1, x_10); -x_12 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__2; +x_12 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___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); @@ -1825,7 +6322,7 @@ x_15 = lean_ctor_get(x_3, 2); lean_inc(x_15); lean_dec(x_3); x_16 = lean_apply_1(x_2, x_15); -x_17 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__3; +x_17 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__2; x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); @@ -2046,90 +6543,284 @@ x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEnco return x_2; } } +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__4___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__5___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__6(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__6___rarg), 5, 0); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___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; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_ctor_get(x_5, 1); +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_4); +x_6 = lean_ctor_get(x_3, 0); lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_alloc_ctor(0, 3, 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); -x_8 = lean_apply_2(x_6, lean_box(0), x_7); -return x_8; +lean_dec(x_3); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +x_9 = lean_apply_2(x_7, lean_box(0), x_8); +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_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); +lean_object* x_7; 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_1, 0); +lean_inc(x_7); lean_dec(x_1); -x_9 = lean_ctor_get(x_2, 2); -lean_inc(x_9); +x_8 = lean_ctor_get(x_2, 2); +lean_inc(x_8); lean_dec(x_2); lean_inc(x_3); -x_10 = lean_apply_4(x_8, lean_box(0), x_3, x_4, x_9); -x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__1), 4, 3); -lean_closure_set(x_11, 0, x_3); -lean_closure_set(x_11, 1, x_5); -lean_closure_set(x_11, 2, x_7); -x_12 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_10, x_11); -return x_12; +x_9 = lean_apply_4(x_7, lean_box(0), x_3, x_4, x_8); +lean_inc(x_3); +x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__1), 4, 3); +lean_closure_set(x_10, 0, x_5); +lean_closure_set(x_10, 1, x_6); +lean_closure_set(x_10, 2, x_3); +x_11 = lean_ctor_get(x_3, 1); +lean_inc(x_11); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__1___rarg), 5, 4); +lean_closure_set(x_12, 0, x_3); +lean_closure_set(x_12, 1, lean_box(0)); +lean_closure_set(x_12, 2, lean_box(0)); +lean_closure_set(x_12, 3, x_10); +x_13 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_9, x_12); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); lean_inc(x_4); lean_inc(x_3); -x_9 = lean_apply_4(x_2, lean_box(0), x_3, x_4, x_8); -lean_inc(x_6); -x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__2), 7, 6); -lean_closure_set(x_10, 0, x_5); -lean_closure_set(x_10, 1, x_1); -lean_closure_set(x_10, 2, x_3); -lean_closure_set(x_10, 3, x_4); -lean_closure_set(x_10, 4, x_7); -lean_closure_set(x_10, 5, x_6); -x_11 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_9, x_10); -return x_11; +x_8 = lean_apply_4(x_2, lean_box(0), x_3, x_4, x_7); +lean_inc(x_3); +x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__2), 6, 5); +lean_closure_set(x_9, 0, x_5); +lean_closure_set(x_9, 1, x_1); +lean_closure_set(x_9, 2, x_3); +lean_closure_set(x_9, 3, x_4); +lean_closure_set(x_9, 4, x_6); +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__2___rarg), 5, 4); +lean_closure_set(x_11, 0, x_3); +lean_closure_set(x_11, 1, lean_box(0)); +lean_closure_set(x_11, 2, lean_box(0)); +lean_closure_set(x_11, 3, x_9); +x_12 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_8, x_11); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_7 = lean_ctor_get(x_4, 1); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); lean_dec(x_1); -x_9 = lean_ctor_get(x_6, 0); -lean_inc(x_9); +x_8 = lean_ctor_get(x_6, 0); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_5); lean_inc(x_4); -x_10 = lean_apply_4(x_8, lean_box(0), x_4, x_5, x_9); -lean_inc(x_7); -x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__3), 7, 6); -lean_closure_set(x_11, 0, x_6); -lean_closure_set(x_11, 1, x_8); -lean_closure_set(x_11, 2, x_4); -lean_closure_set(x_11, 3, x_5); -lean_closure_set(x_11, 4, x_2); -lean_closure_set(x_11, 5, x_7); -x_12 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_10, x_11); -return x_12; +x_9 = lean_apply_4(x_7, lean_box(0), x_4, x_5, x_8); +lean_inc(x_4); +x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__3), 6, 5); +lean_closure_set(x_10, 0, x_6); +lean_closure_set(x_10, 1, x_7); +lean_closure_set(x_10, 2, x_4); +lean_closure_set(x_10, 3, x_5); +lean_closure_set(x_10, 4, x_2); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__3___rarg), 5, 4); +lean_closure_set(x_12, 0, x_4); +lean_closure_set(x_12, 1, lean_box(0)); +lean_closure_set(x_12, 2, lean_box(0)); +lean_closure_set(x_12, 3, x_10); +x_13 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_9, x_12); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -2171,7 +6862,7 @@ lean_closure_set(x_10, 1, x_6); lean_closure_set(x_10, 2, x_3); x_11 = lean_ctor_get(x_3, 1); lean_inc(x_11); -x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__1___rarg), 5, 4); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__4___rarg), 5, 4); lean_closure_set(x_12, 0, x_3); lean_closure_set(x_12, 1, lean_box(0)); lean_closure_set(x_12, 2, lean_box(0)); @@ -2198,7 +6889,7 @@ lean_closure_set(x_9, 3, x_4); lean_closure_set(x_9, 4, x_6); x_10 = lean_ctor_get(x_3, 1); lean_inc(x_10); -x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__2___rarg), 5, 4); +x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__5___rarg), 5, 4); lean_closure_set(x_11, 0, x_3); lean_closure_set(x_11, 1, lean_box(0)); lean_closure_set(x_11, 2, lean_box(0)); @@ -2229,7 +6920,7 @@ lean_closure_set(x_10, 3, x_5); lean_closure_set(x_10, 4, x_2); x_11 = lean_ctor_get(x_4, 1); lean_inc(x_11); -x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__3___rarg), 5, 4); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___spec__6___rarg), 5, 4); lean_closure_set(x_12, 0, x_4); lean_closure_set(x_12, 1, lean_box(0)); lean_closure_set(x_12, 2, lean_box(0)); @@ -2696,86 +7387,1235 @@ lean_dec(x_1); return x_6; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__7; -x_2 = l_Lean_Server_instRpcEncodingOption___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_2 = l_Lean_Server_instRpcEncodingOption___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__3() { +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__1; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__2; -x_3 = l_Lean_Widget_instRpcEncodingInfoPopupRpcEncodingPacket___rarg(x_1, lean_box(0), x_2); +x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__1; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__15; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonOption___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__23; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonOption___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__6() { +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__4; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__5; -x_3 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____rarg), 3, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__2; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__3; +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_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___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_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__5; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__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); +x_3 = lean_box(0); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 2); +lean_inc(x_5); +lean_dec(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_46; +x_46 = lean_box(0); +x_6 = x_46; +goto block_45; +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_2, 0); +lean_inc(x_47); +lean_dec(x_2); +x_48 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6(x_47); +x_6 = x_48; +goto block_45; +} +block_45: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___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); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_3); +if (lean_obj_tag(x_4) == 0) +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__6; +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_List_join___rarg(x_11); +x_13 = l_Lean_Json_mkObj(x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_14 = lean_ctor_get(x_5, 0); +lean_inc(x_14); +lean_dec(x_5); +x_15 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__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); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_3); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_3); +x_20 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__2; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_9); +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; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = lean_ctor_get(x_4, 0); +lean_inc(x_25); +lean_dec(x_4); +x_26 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6(x_25); +x_27 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__1; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_3); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__5; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_9); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_List_join___rarg(x_32); +x_34 = l_Lean_Json_mkObj(x_33); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_35 = lean_ctor_get(x_5, 0); +lean_inc(x_35); +lean_dec(x_5); +x_36 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_37 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__2; +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_3); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_3); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_29); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_9); +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_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +lean_inc(x_1); +x_2 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcRef____x40_Lean_Data_Lsp_Extra___hyg_1027_(x_1); +if (lean_obj_tag(x_2) == 0) +{ +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; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_4 = lean_ctor_get(x_2, 0); +x_5 = l_Lean_Json_compress(x_1); +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2; +x_9 = lean_string_append(x_7, x_8); +x_10 = lean_string_append(x_9, x_4); +lean_dec(x_4); +x_11 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_12 = lean_string_append(x_10, x_11); +x_13 = 0; +x_14 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set_uint8(x_14, sizeof(void*)*1, x_13); +lean_ctor_set(x_2, 0, x_14); +return x_2; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +lean_dec(x_2); +x_16 = l_Lean_Json_compress(x_1); +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2; +x_20 = lean_string_append(x_18, x_19); +x_21 = lean_string_append(x_20, x_15); +lean_dec(x_15); +x_22 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_23 = lean_string_append(x_21, x_22); +x_24 = 0; +x_25 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_24); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_2); +if (x_27 == 0) +{ +return x_2; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_2, 0); +lean_inc(x_28); +lean_dec(x_2); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +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_3); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__6(size_t x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__4; +x_4 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg(x_3, x_1, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_ref_get(x_1, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__6(x_4, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +if (lean_obj_tag(x_11) == 0) +{ +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; uint8_t x_26; lean_object* x_27; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +x_13 = 1; +x_14 = l_Lean_Name_toString(x_2, x_13); +x_15 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__1; +x_16 = lean_string_append(x_15, x_14); +lean_dec(x_14); +x_17 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__2; +x_18 = lean_string_append(x_16, x_17); +x_19 = l_Lean_Json_compress(x_3); +x_20 = lean_string_append(x_18, x_19); +lean_dec(x_19); +x_21 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__3; +x_22 = lean_string_append(x_20, x_21); +x_23 = lean_string_append(x_22, x_12); +lean_dec(x_12); +x_24 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_25 = lean_string_append(x_23, x_24); +x_26 = 3; +x_27 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set_uint8(x_27, sizeof(void*)*1, x_26); +lean_ctor_set_tag(x_7, 1); +lean_ctor_set(x_7, 0, x_27); +return x_7; +} +else +{ +lean_object* x_28; +lean_dec(x_3); +lean_dec(x_2); +x_28 = lean_ctor_get(x_11, 0); +lean_inc(x_28); +lean_dec(x_11); +lean_ctor_set(x_7, 0, x_28); +return x_7; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_7, 0); +x_30 = lean_ctor_get(x_7, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_7); +x_31 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__6(x_4, x_29); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +lean_dec(x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +lean_dec(x_32); +x_34 = 1; +x_35 = l_Lean_Name_toString(x_2, x_34); +x_36 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__1; +x_37 = lean_string_append(x_36, x_35); +lean_dec(x_35); +x_38 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__2; +x_39 = lean_string_append(x_37, x_38); +x_40 = l_Lean_Json_compress(x_3); +x_41 = lean_string_append(x_39, x_40); +lean_dec(x_40); +x_42 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__3; +x_43 = lean_string_append(x_41, x_42); +x_44 = lean_string_append(x_43, x_33); +lean_dec(x_33); +x_45 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_46 = lean_string_append(x_44, x_45); +x_47 = 3; +x_48 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set_uint8(x_48, sizeof(void*)*1, x_47); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_30); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_3); +lean_dec(x_2); +x_50 = lean_ctor_get(x_32, 0); +lean_inc(x_50); +lean_dec(x_32); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_30); +return x_51; +} +} +} +} +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2___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_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_2); +x_25 = lean_ctor_get(x_3, 0); +lean_inc(x_25); +lean_dec(x_3); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_5); +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_48; lean_object* x_49; lean_object* x_127; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +lean_dec(x_3); +x_28 = lean_st_ref_take(x_1, x_5); +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_127 = lean_ctor_get(x_27, 0); +lean_inc(x_127); +if (lean_obj_tag(x_127) == 0) +{ +lean_object* x_128; +x_128 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2___closed__1; +lean_inc(x_29); +x_48 = x_128; +x_49 = x_29; +goto block_126; +} +else +{ +uint8_t x_129; +x_129 = !lean_is_exclusive(x_127); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_130 = lean_ctor_get(x_127, 0); +x_131 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; +lean_inc(x_29); +x_132 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_131, x_130, x_29); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +if (lean_obj_tag(x_133) == 0) +{ +lean_object* x_134; uint8_t x_135; +lean_free_object(x_127); +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) +{ +x_48 = x_133; +x_49 = x_134; +goto block_126; +} +else +{ +lean_object* x_136; lean_object* x_137; +x_136 = lean_ctor_get(x_133, 0); +lean_inc(x_136); +lean_dec(x_133); +x_137 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_137, 0, x_136); +x_48 = x_137; +x_49 = x_134; +goto block_126; +} +} +else +{ +lean_object* x_138; uint8_t x_139; +x_138 = lean_ctor_get(x_132, 1); +lean_inc(x_138); +lean_dec(x_132); +x_139 = !lean_is_exclusive(x_133); +if (x_139 == 0) +{ +lean_object* x_140; +x_140 = lean_ctor_get(x_133, 0); +lean_ctor_set(x_127, 0, x_140); +lean_ctor_set(x_133, 0, x_127); +x_48 = x_133; +x_49 = x_138; +goto block_126; +} +else +{ +lean_object* x_141; lean_object* x_142; +x_141 = lean_ctor_get(x_133, 0); +lean_inc(x_141); +lean_dec(x_133); +lean_ctor_set(x_127, 0, x_141); +x_142 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_142, 0, x_127); +x_48 = x_142; +x_49 = x_138; +goto block_126; +} +} +} +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_143 = lean_ctor_get(x_127, 0); +lean_inc(x_143); +lean_dec(x_127); +x_144 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; +lean_inc(x_29); +x_145 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_144, x_143, x_29); +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +if (lean_obj_tag(x_146) == 0) +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_147 = lean_ctor_get(x_145, 1); +lean_inc(x_147); +lean_dec(x_145); +x_148 = lean_ctor_get(x_146, 0); +lean_inc(x_148); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + x_149 = x_146; +} else { + lean_dec_ref(x_146); + x_149 = lean_box(0); +} +if (lean_is_scalar(x_149)) { + x_150 = lean_alloc_ctor(0, 1, 0); +} else { + x_150 = x_149; +} +lean_ctor_set(x_150, 0, x_148); +x_48 = x_150; +x_49 = x_147; +goto block_126; +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_151 = lean_ctor_get(x_145, 1); +lean_inc(x_151); +lean_dec(x_145); +x_152 = lean_ctor_get(x_146, 0); +lean_inc(x_152); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + x_153 = x_146; +} else { + lean_dec_ref(x_146); + x_153 = lean_box(0); +} +x_154 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_154, 0, x_152); +if (lean_is_scalar(x_153)) { + x_155 = lean_alloc_ctor(1, 1, 0); +} else { + x_155 = x_153; +} +lean_ctor_set(x_155, 0, x_154); +x_48 = x_155; +x_49 = x_151; +goto block_126; +} +} +} +block_47: +{ +if (lean_obj_tag(x_31) == 0) +{ +uint8_t x_33; +lean_dec(x_32); +x_33 = !lean_is_exclusive(x_31); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_st_ref_set(x_1, x_29, x_30); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_6 = x_31; +x_7 = x_35; +goto block_24; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_31, 0); +lean_inc(x_36); +lean_dec(x_31); +x_37 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_37, 0, x_36); +x_38 = lean_st_ref_set(x_1, x_29, x_30); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_6 = x_37; +x_7 = x_39; +goto block_24; +} +} +else +{ +uint8_t x_40; +lean_dec(x_29); +x_40 = !lean_is_exclusive(x_31); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_st_ref_set(x_1, x_32, x_30); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_6 = x_31; +x_7 = x_42; +goto block_24; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_31, 0); +lean_inc(x_43); +lean_dec(x_31); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_st_ref_set(x_1, x_32, x_30); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_6 = x_44; +x_7 = x_46; +goto block_24; +} +} +} +block_126: +{ +if (lean_obj_tag(x_48) == 0) +{ +uint8_t x_50; +lean_dec(x_27); +x_50 = !lean_is_exclusive(x_48); +if (x_50 == 0) +{ +x_31 = x_48; +x_32 = x_49; +goto block_47; +} +else +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_48, 0); +lean_inc(x_51); +lean_dec(x_48); +x_52 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_31 = x_52; +x_32 = x_49; +goto block_47; +} +} +else +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_27, 1); +lean_inc(x_53); +if (lean_obj_tag(x_53) == 0) +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_48); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_48, 0); +x_56 = lean_box(0); +x_57 = lean_ctor_get(x_27, 2); +lean_inc(x_57); +lean_dec(x_27); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; +x_58 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_58, 0, x_55); +lean_ctor_set(x_58, 1, x_56); +lean_ctor_set(x_58, 2, x_56); +lean_ctor_set(x_48, 0, x_58); +x_31 = x_48; +x_32 = x_49; +goto block_47; +} +else +{ +uint8_t x_59; +x_59 = !lean_is_exclusive(x_57); +if (x_59 == 0) +{ +lean_object* x_60; +x_60 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_60, 0, x_55); +lean_ctor_set(x_60, 1, x_56); +lean_ctor_set(x_60, 2, x_57); +lean_ctor_set(x_48, 0, x_60); +x_31 = x_48; +x_32 = x_49; +goto block_47; +} +else +{ +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 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_63 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_63, 0, x_55); +lean_ctor_set(x_63, 1, x_56); +lean_ctor_set(x_63, 2, x_62); +lean_ctor_set(x_48, 0, x_63); +x_31 = x_48; +x_32 = x_49; +goto block_47; +} +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_48, 0); +lean_inc(x_64); +lean_dec(x_48); +x_65 = lean_box(0); +x_66 = lean_ctor_get(x_27, 2); +lean_inc(x_66); +lean_dec(x_27); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_65); +lean_ctor_set(x_67, 2, x_65); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_67); +x_31 = x_68; +x_32 = x_49; +goto block_47; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_69 = lean_ctor_get(x_66, 0); +lean_inc(x_69); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + x_70 = x_66; +} else { + lean_dec_ref(x_66); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(1, 1, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_69); +x_72 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_72, 0, x_64); +lean_ctor_set(x_72, 1, x_65); +lean_ctor_set(x_72, 2, x_71); +x_73 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_73, 0, x_72); +x_31 = x_73; +x_32 = x_49; +goto block_47; +} +} +} +else +{ +lean_object* x_74; uint8_t x_75; +x_74 = lean_ctor_get(x_48, 0); +lean_inc(x_74); +lean_dec(x_48); +x_75 = !lean_is_exclusive(x_53); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_76 = lean_ctor_get(x_53, 0); +x_77 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; +x_78 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_77, x_76, x_49); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; uint8_t x_81; +lean_free_object(x_53); +lean_dec(x_74); +lean_dec(x_27); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = !lean_is_exclusive(x_79); +if (x_81 == 0) +{ +x_31 = x_79; +x_32 = x_80; +goto block_47; +} +else +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_79, 0); +lean_inc(x_82); +lean_dec(x_79); +x_83 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_83, 0, x_82); +x_31 = x_83; +x_32 = x_80; +goto block_47; +} +} +else +{ +lean_object* x_84; uint8_t x_85; +x_84 = lean_ctor_get(x_78, 1); +lean_inc(x_84); +lean_dec(x_78); +x_85 = !lean_is_exclusive(x_79); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_79, 0); +lean_ctor_set(x_53, 0, x_86); +x_87 = lean_ctor_get(x_27, 2); +lean_inc(x_87); +lean_dec(x_27); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; +x_88 = lean_box(0); +x_89 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_89, 0, x_74); +lean_ctor_set(x_89, 1, x_53); +lean_ctor_set(x_89, 2, x_88); +lean_ctor_set(x_79, 0, x_89); +x_31 = x_79; +x_32 = x_84; +goto block_47; +} +else +{ +uint8_t x_90; +x_90 = !lean_is_exclusive(x_87); +if (x_90 == 0) +{ +lean_object* x_91; +x_91 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_91, 0, x_74); +lean_ctor_set(x_91, 1, x_53); +lean_ctor_set(x_91, 2, x_87); +lean_ctor_set(x_79, 0, x_91); +x_31 = x_79; +x_32 = x_84; +goto block_47; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_87, 0); +lean_inc(x_92); +lean_dec(x_87); +x_93 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_93, 0, x_92); +x_94 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_94, 0, x_74); +lean_ctor_set(x_94, 1, x_53); +lean_ctor_set(x_94, 2, x_93); +lean_ctor_set(x_79, 0, x_94); +x_31 = x_79; +x_32 = x_84; +goto block_47; +} +} +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_79, 0); +lean_inc(x_95); +lean_dec(x_79); +lean_ctor_set(x_53, 0, x_95); +x_96 = lean_ctor_get(x_27, 2); +lean_inc(x_96); +lean_dec(x_27); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_box(0); +x_98 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_98, 0, x_74); +lean_ctor_set(x_98, 1, x_53); +lean_ctor_set(x_98, 2, x_97); +x_99 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_99, 0, x_98); +x_31 = x_99; +x_32 = x_84; +goto block_47; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_100 = lean_ctor_get(x_96, 0); +lean_inc(x_100); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + x_101 = x_96; +} else { + lean_dec_ref(x_96); + x_101 = lean_box(0); +} +if (lean_is_scalar(x_101)) { + x_102 = lean_alloc_ctor(1, 1, 0); +} else { + x_102 = x_101; +} +lean_ctor_set(x_102, 0, x_100); +x_103 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_103, 0, x_74); +lean_ctor_set(x_103, 1, x_53); +lean_ctor_set(x_103, 2, x_102); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_103); +x_31 = x_104; +x_32 = x_84; +goto block_47; +} +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_105 = lean_ctor_get(x_53, 0); +lean_inc(x_105); +lean_dec(x_53); +x_106 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; +x_107 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_106, x_105, x_49); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +if (lean_obj_tag(x_108) == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_74); +lean_dec(x_27); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +lean_dec(x_107); +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + x_111 = x_108; +} else { + lean_dec_ref(x_108); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(0, 1, 0); +} else { + x_112 = x_111; +} +lean_ctor_set(x_112, 0, x_110); +x_31 = x_112; +x_32 = x_109; +goto block_47; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_113 = lean_ctor_get(x_107, 1); +lean_inc(x_113); +lean_dec(x_107); +x_114 = lean_ctor_get(x_108, 0); +lean_inc(x_114); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + x_115 = x_108; +} else { + lean_dec_ref(x_108); + x_115 = lean_box(0); +} +x_116 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_116, 0, x_114); +x_117 = lean_ctor_get(x_27, 2); +lean_inc(x_117); +lean_dec(x_27); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_box(0); +x_119 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_119, 0, x_74); +lean_ctor_set(x_119, 1, x_116); +lean_ctor_set(x_119, 2, x_118); +if (lean_is_scalar(x_115)) { + x_120 = lean_alloc_ctor(1, 1, 0); +} else { + x_120 = x_115; +} +lean_ctor_set(x_120, 0, x_119); +x_31 = x_120; +x_32 = x_113; +goto block_47; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_121 = lean_ctor_get(x_117, 0); +lean_inc(x_121); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + x_122 = x_117; +} else { + lean_dec_ref(x_117); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 1, 0); +} else { + x_123 = x_122; +} +lean_ctor_set(x_123, 0, x_121); +x_124 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_124, 0, x_74); +lean_ctor_set(x_124, 1, x_116); +lean_ctor_set(x_124, 2, x_123); +if (lean_is_scalar(x_115)) { + x_125 = lean_alloc_ctor(1, 1, 0); +} else { + x_125 = x_115; +} +lean_ctor_set(x_125, 0, x_124); +x_31 = x_125; +x_32 = x_113; +goto block_47; +} +} +} +} +} +} +} +block_24: +{ +if (lean_obj_tag(x_6) == 0) +{ +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; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = 1; +x_10 = l_Lean_Name_toString(x_2, x_9); +x_11 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__1; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__2; +x_14 = lean_string_append(x_12, x_13); +x_15 = lean_string_append(x_14, x_8); +lean_dec(x_8); +x_16 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_17 = lean_string_append(x_15, x_16); +x_18 = 3; +x_19 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_18); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_2); +x_21 = lean_ctor_get(x_6, 0); +lean_inc(x_21); +lean_dec(x_6); +x_22 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3(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_7); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__3(lean_object* x_1, lean_object* x_2, uint64_t 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_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(x_7, x_3); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_9 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__2; +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_6); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +lean_inc(x_4); +x_12 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__4(x_4); +x_13 = lean_alloc_closure((void*)(l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__5___boxed), 3, 1); +lean_closure_set(x_13, 0, x_12); +lean_inc(x_1); +lean_inc(x_11); +x_14 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__1___boxed), 6, 3); +lean_closure_set(x_14, 0, x_11); +lean_closure_set(x_14, 1, x_1); +lean_closure_set(x_14, 2, x_4); +x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3___rarg), 4, 2); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_14); +lean_inc(x_5); +x_16 = l_Lean_Server_RequestM_asTask___rarg(x_15, x_5, x_6); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__2), 4, 1); +lean_closure_set(x_19, 0, x_2); +lean_inc(x_5); +x_20 = l_Lean_Server_RequestM_bindTask___rarg(x_17, x_19, x_5, x_18); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2___boxed), 5, 2); +lean_closure_set(x_23, 0, x_11); +lean_closure_set(x_23, 1, x_1); +x_24 = l_Lean_Server_RequestM_mapTask___rarg(x_21, x_23, x_5, x_22); +return x_24; +} +} +} LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____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; -x_3 = l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef; -x_4 = l_Lean_Lsp_instFromJsonRpcRef; -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__3; -x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__6; -x_7 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___elambda__1___boxed), 14, 10); -lean_closure_set(x_7, 0, x_1); -lean_closure_set(x_7, 1, lean_box(0)); -lean_closure_set(x_7, 2, lean_box(0)); -lean_closure_set(x_7, 3, lean_box(0)); -lean_closure_set(x_7, 4, x_3); -lean_closure_set(x_7, 5, x_4); -lean_closure_set(x_7, 6, lean_box(0)); -lean_closure_set(x_7, 7, x_5); -lean_closure_set(x_7, 8, x_6); -lean_closure_set(x_7, 9, x_2); -return x_7; +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__3___boxed), 6, 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_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -2783,7 +8623,9 @@ _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; uint8_t x_12; lean_inc(x_1); -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2(x_1, x_2); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__3___boxed), 6, 2); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); x_6 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___closed__1; x_7 = lean_st_ref_take(x_6, x_4); x_8 = lean_ctor_get(x_7, 0); @@ -2842,10 +8684,10 @@ else lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_2); lean_dec(x_1); -x_14 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_14 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_15 = lean_string_append(x_14, x_3); lean_dec(x_3); -x_16 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; +x_16 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; x_17 = lean_string_append(x_15, x_16); x_18 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_18, 0, x_17); @@ -2877,10 +8719,10 @@ 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_dec(x_2); lean_dec(x_1); -x_24 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_24 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_25 = lean_string_append(x_24, x_3); lean_dec(x_3); -x_26 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; +x_26 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; x_27 = lean_string_append(x_25, x_26); x_28 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_28, 0, x_27); @@ -2902,7 +8744,7 @@ x_5 = l_Lean_Name_toString(x_1, x_4); x_6 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; +x_8 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6; x_9 = lean_string_append(x_7, x_8); x_10 = lean_io_initializing(x_3); x_11 = lean_ctor_get(x_10, 0); @@ -2920,10 +8762,10 @@ 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; x_14 = lean_ctor_get(x_10, 0); lean_dec(x_14); -x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_15 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_16 = lean_string_append(x_15, x_9); lean_dec(x_9); -x_17 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; +x_17 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -2937,10 +8779,10 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean x_20 = lean_ctor_get(x_10, 1); lean_inc(x_20); lean_dec(x_10); -x_21 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_21 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_22 = lean_string_append(x_21, x_9); lean_dec(x_9); -x_23 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; +x_23 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; x_24 = lean_string_append(x_22, x_23); x_25 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_25, 0, x_24); @@ -2974,7 +8816,7 @@ static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_Wid _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__6; +x_1 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__2; x_2 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -2998,6 +8840,58 @@ x_4 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_L return x_4; } } +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__5(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__6___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +size_t x_3; lean_object* x_4; +x_3 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_4 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__6(x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____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) { +_start: +{ +size_t x_7; lean_object* x_8; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__1(x_1, x_2, x_3, x_7, x_5, x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint64_t x_7; lean_object* x_8; +x_7 = lean_unbox_uint64(x_3); +lean_dec(x_3); +x_8 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__3(x_1, x_2, x_7, x_4, x_5, x_6); +return x_8; +} +} LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -3007,156 +8901,946 @@ lean_dec(x_3); return x_5; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__1() { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__8; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__7; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_4 = l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg(x_1, lean_box(0), x_1, lean_box(0), x_2, lean_box(0), x_3); -return x_4; +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 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9(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; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__2() { +} +static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__3___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__1; -x_2 = l_Lean_Server_instRpcEncodingArray___rarg(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("goals", 5); +return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__3() { +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__3(lean_object* x_1) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__2; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__7; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_4 = l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg(x_1, lean_box(0), x_2, lean_box(0), x_3, lean_box(0), x_3); -return x_4; +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_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__4(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_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__3___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_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__4() { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__5(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__3; -x_2 = l_Lean_Server_instRpcEncodingArray___rarg(x_1); -return x_2; +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_2, x_1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_3); +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; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; +x_8 = lean_array_uget(x_3, x_2); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_uset(x_3, x_2, x_9); +x_24 = lean_ctor_get(x_8, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_8, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_8, 2); +lean_inc(x_26); +x_27 = lean_ctor_get(x_8, 3); +lean_inc(x_27); +x_28 = lean_ctor_get(x_8, 4); +lean_inc(x_28); +lean_dec(x_8); +x_29 = lean_array_get_size(x_24); +x_30 = lean_usize_of_nat(x_29); +lean_dec(x_29); +x_31 = 0; +x_32 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28(x_30, x_31, x_24, x_4); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; uint8_t x_35; +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_26); +lean_dec(x_25); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = !lean_is_exclusive(x_33); +if (x_35 == 0) +{ +x_11 = x_33; +x_12 = x_34; +goto block_23; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 0); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_37, 0, x_36); +x_11 = x_37; +x_12 = x_34; +goto block_23; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__5() { +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_dec(x_32); +x_39 = lean_ctor_get(x_33, 0); +lean_inc(x_39); +lean_dec(x_33); +x_40 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; +x_41 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_40, x_25, x_38); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; uint8_t x_44; +lean_dec(x_39); +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_26); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = !lean_is_exclusive(x_42); +if (x_44 == 0) +{ +x_11 = x_42; +x_12 = x_43; +goto block_23; +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_42, 0); +lean_inc(x_45); +lean_dec(x_42); +x_46 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_46, 0, x_45); +x_11 = x_46; +x_12 = x_43; +goto block_23; +} +} +else +{ +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_41, 1); +lean_inc(x_47); +lean_dec(x_41); +x_48 = !lean_is_exclusive(x_42); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_42, 0); +x_50 = lean_box(0); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_51; +x_51 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_51, 0, x_39); +lean_ctor_set(x_51, 1, x_49); +lean_ctor_set(x_51, 2, x_50); +lean_ctor_set(x_51, 3, x_27); +lean_ctor_set(x_51, 4, x_50); +lean_ctor_set(x_42, 0, x_51); +x_11 = x_42; +x_12 = x_47; +goto block_23; +} +else +{ +uint8_t x_52; +x_52 = !lean_is_exclusive(x_28); +if (x_52 == 0) +{ +lean_object* x_53; +x_53 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_53, 0, x_39); +lean_ctor_set(x_53, 1, x_49); +lean_ctor_set(x_53, 2, x_50); +lean_ctor_set(x_53, 3, x_27); +lean_ctor_set(x_53, 4, x_28); +lean_ctor_set(x_42, 0, x_53); +x_11 = x_42; +x_12 = x_47; +goto block_23; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_28, 0); +lean_inc(x_54); +lean_dec(x_28); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_54); +x_56 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_56, 0, x_39); +lean_ctor_set(x_56, 1, x_49); +lean_ctor_set(x_56, 2, x_50); +lean_ctor_set(x_56, 3, x_27); +lean_ctor_set(x_56, 4, x_55); +lean_ctor_set(x_42, 0, x_56); +x_11 = x_42; +x_12 = x_47; +goto block_23; +} +} +} +else +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_42, 0); +lean_inc(x_57); +lean_dec(x_42); +x_58 = lean_box(0); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_59, 0, x_39); +lean_ctor_set(x_59, 1, x_57); +lean_ctor_set(x_59, 2, x_58); +lean_ctor_set(x_59, 3, x_27); +lean_ctor_set(x_59, 4, x_58); +x_60 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_60, 0, x_59); +x_11 = x_60; +x_12 = x_47; +goto block_23; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_61 = lean_ctor_get(x_28, 0); +lean_inc(x_61); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + x_62 = x_28; +} else { + lean_dec_ref(x_28); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(1, 1, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_61); +x_64 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_64, 0, x_39); +lean_ctor_set(x_64, 1, x_57); +lean_ctor_set(x_64, 2, x_58); +lean_ctor_set(x_64, 3, x_27); +lean_ctor_set(x_64, 4, x_63); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_11 = x_65; +x_12 = x_47; +goto block_23; +} +} +} +else +{ +lean_object* x_66; uint8_t x_67; +x_66 = lean_ctor_get(x_41, 1); +lean_inc(x_66); +lean_dec(x_41); +x_67 = !lean_is_exclusive(x_42); +if (x_67 == 0) +{ +uint8_t x_68; +x_68 = !lean_is_exclusive(x_26); +if (x_68 == 0) +{ +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_42, 0); +x_70 = lean_box(0); +x_71 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_71, 0, x_39); +lean_ctor_set(x_71, 1, x_69); +lean_ctor_set(x_71, 2, x_26); +lean_ctor_set(x_71, 3, x_27); +lean_ctor_set(x_71, 4, x_70); +lean_ctor_set(x_42, 0, x_71); +x_11 = x_42; +x_12 = x_66; +goto block_23; +} +else +{ +uint8_t x_72; +x_72 = !lean_is_exclusive(x_28); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_42, 0); +x_74 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_74, 0, x_39); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_74, 2, x_26); +lean_ctor_set(x_74, 3, x_27); +lean_ctor_set(x_74, 4, x_28); +lean_ctor_set(x_42, 0, x_74); +x_11 = x_42; +x_12 = x_66; +goto block_23; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_75 = lean_ctor_get(x_42, 0); +x_76 = lean_ctor_get(x_28, 0); +lean_inc(x_76); +lean_dec(x_28); +x_77 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_77, 0, x_76); +x_78 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_78, 0, x_39); +lean_ctor_set(x_78, 1, x_75); +lean_ctor_set(x_78, 2, x_26); +lean_ctor_set(x_78, 3, x_27); +lean_ctor_set(x_78, 4, x_77); +lean_ctor_set(x_42, 0, x_78); +x_11 = x_42; +x_12 = x_66; +goto block_23; +} +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_42, 0); +x_80 = lean_ctor_get(x_26, 0); +lean_inc(x_80); +lean_dec(x_26); +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_80); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_box(0); +x_83 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_83, 0, x_39); +lean_ctor_set(x_83, 1, x_79); +lean_ctor_set(x_83, 2, x_81); +lean_ctor_set(x_83, 3, x_27); +lean_ctor_set(x_83, 4, x_82); +lean_ctor_set(x_42, 0, x_83); +x_11 = x_42; +x_12 = x_66; +goto block_23; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_84 = lean_ctor_get(x_28, 0); +lean_inc(x_84); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + x_85 = x_28; +} else { + lean_dec_ref(x_28); + x_85 = lean_box(0); +} +if (lean_is_scalar(x_85)) { + x_86 = lean_alloc_ctor(1, 1, 0); +} else { + x_86 = x_85; +} +lean_ctor_set(x_86, 0, x_84); +x_87 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_87, 0, x_39); +lean_ctor_set(x_87, 1, x_79); +lean_ctor_set(x_87, 2, x_81); +lean_ctor_set(x_87, 3, x_27); +lean_ctor_set(x_87, 4, x_86); +lean_ctor_set(x_42, 0, x_87); +x_11 = x_42; +x_12 = x_66; +goto block_23; +} +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_88 = lean_ctor_get(x_42, 0); +lean_inc(x_88); +lean_dec(x_42); +x_89 = lean_ctor_get(x_26, 0); +lean_inc(x_89); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + x_90 = x_26; +} else { + lean_dec_ref(x_26); + x_90 = lean_box(0); +} +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(1, 1, 0); +} else { + x_91 = x_90; +} +lean_ctor_set(x_91, 0, x_89); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_box(0); +x_93 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_93, 0, x_39); +lean_ctor_set(x_93, 1, x_88); +lean_ctor_set(x_93, 2, x_91); +lean_ctor_set(x_93, 3, x_27); +lean_ctor_set(x_93, 4, x_92); +x_94 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_94, 0, x_93); +x_11 = x_94; +x_12 = x_66; +goto block_23; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_95 = lean_ctor_get(x_28, 0); +lean_inc(x_95); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + x_96 = x_28; +} else { + lean_dec_ref(x_28); + 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, 5, 0); +lean_ctor_set(x_98, 0, x_39); +lean_ctor_set(x_98, 1, x_88); +lean_ctor_set(x_98, 2, x_91); +lean_ctor_set(x_98, 3, x_27); +lean_ctor_set(x_98, 4, x_97); +x_99 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_99, 0, x_98); +x_11 = x_99; +x_12 = x_66; +goto block_23; +} +} +} +} +} +block_23: +{ +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_13; +lean_dec(x_10); +x_13 = !lean_is_exclusive(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_11); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_11, 0); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_12); +return x_17; +} +} +else +{ +lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_11, 0); +lean_inc(x_18); +lean_dec(x_11); +x_19 = 1; +x_20 = lean_usize_add(x_2, x_19); +x_21 = lean_array_uset(x_10, x_2, x_18); +x_2 = x_20; +x_3 = x_21; +x_4 = x_12; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__4; -x_2 = l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__6() { -_start: +lean_object* x_5; uint8_t x_6; +x_5 = lean_st_ref_get(x_1, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__5; -x_2 = l_Lean_Server_instRpcEncodingOption___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__17; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__19; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__15; -x_4 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__20; -x_5 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____rarg), 5, 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); +lean_object* x_7; +x_7 = lean_ctor_get(x_5, 0); +lean_dec(x_7); +lean_ctor_set(x_5, 0, x_2); return x_5; } +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_dec(x_5); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_2); +lean_ctor_set(x_9, 1, x_8); +return x_9; } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__8() { +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__7; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonArray___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_6; lean_object* x_7; +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_2); +x_28 = lean_ctor_get(x_3, 0); +lean_inc(x_28); +lean_dec(x_3); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_5); +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_3, 0); +lean_inc(x_30); +lean_dec(x_3); +x_31 = lean_st_ref_take(x_1, x_5); +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); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_51; +x_51 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2___closed__1; +lean_inc(x_32); +x_34 = x_51; +x_35 = x_32; +goto block_50; +} +else +{ +uint8_t x_52; +x_52 = !lean_is_exclusive(x_30); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; size_t x_55; size_t x_56; lean_object* x_57; lean_object* x_58; +x_53 = lean_ctor_get(x_30, 0); +x_54 = lean_array_get_size(x_53); +x_55 = lean_usize_of_nat(x_54); +lean_dec(x_54); +x_56 = 0; +lean_inc(x_32); +x_57 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__5(x_55, x_56, x_53, x_32); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; uint8_t x_60; +lean_free_object(x_30); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = !lean_is_exclusive(x_58); +if (x_60 == 0) +{ +x_34 = x_58; +x_35 = x_59; +goto block_50; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_58, 0); +lean_inc(x_61); +lean_dec(x_58); +x_62 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_34 = x_62; +x_35 = x_59; +goto block_50; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__9() { +else +{ +lean_object* x_63; uint8_t x_64; +x_63 = lean_ctor_get(x_57, 1); +lean_inc(x_63); +lean_dec(x_57); +x_64 = !lean_is_exclusive(x_58); +if (x_64 == 0) +{ +lean_object* x_65; +x_65 = lean_ctor_get(x_58, 0); +lean_ctor_set(x_30, 0, x_65); +lean_ctor_set(x_58, 0, x_30); +x_34 = x_58; +x_35 = x_63; +goto block_50; +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_58, 0); +lean_inc(x_66); +lean_dec(x_58); +lean_ctor_set(x_30, 0, x_66); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_30); +x_34 = x_67; +x_35 = x_63; +goto block_50; +} +} +} +else +{ +lean_object* x_68; lean_object* x_69; size_t x_70; size_t x_71; lean_object* x_72; lean_object* x_73; +x_68 = lean_ctor_get(x_30, 0); +lean_inc(x_68); +lean_dec(x_30); +x_69 = lean_array_get_size(x_68); +x_70 = lean_usize_of_nat(x_69); +lean_dec(x_69); +x_71 = 0; +lean_inc(x_32); +x_72 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__5(x_70, x_71, x_68, x_32); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +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_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_ctor_get(x_73, 0); +lean_inc(x_75); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + x_76 = x_73; +} else { + lean_dec_ref(x_73); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 1, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_75); +x_34 = x_77; +x_35 = x_74; +goto block_50; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_78 = lean_ctor_get(x_72, 1); +lean_inc(x_78); +lean_dec(x_72); +x_79 = lean_ctor_get(x_73, 0); +lean_inc(x_79); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + x_80 = x_73; +} else { + lean_dec_ref(x_73); + x_80 = lean_box(0); +} +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_79); +if (lean_is_scalar(x_80)) { + x_82 = lean_alloc_ctor(1, 1, 0); +} else { + x_82 = x_80; +} +lean_ctor_set(x_82, 0, x_81); +x_34 = x_82; +x_35 = x_78; +goto block_50; +} +} +} +block_50: +{ +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_36; +lean_dec(x_35); +x_36 = !lean_is_exclusive(x_34); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_st_ref_set(x_1, x_32, x_33); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_6 = x_34; +x_7 = x_38; +goto block_27; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_ctor_get(x_34, 0); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = lean_st_ref_set(x_1, x_32, x_33); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_6 = x_40; +x_7 = x_42; +goto block_27; +} +} +else +{ +uint8_t x_43; +lean_dec(x_32); +x_43 = !lean_is_exclusive(x_34); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_st_ref_set(x_1, x_35, x_33); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_6 = x_34; +x_7 = x_45; +goto block_27; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_34, 0); +lean_inc(x_46); +lean_dec(x_34); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_st_ref_set(x_1, x_35, x_33); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_6 = x_47; +x_7 = x_49; +goto block_27; +} +} +} +} +block_27: +{ +if (lean_obj_tag(x_6) == 0) +{ +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; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = 1; +x_10 = l_Lean_Name_toString(x_2, x_9); +x_11 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__1; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__2; +x_14 = lean_string_append(x_12, x_13); +x_15 = lean_string_append(x_14, x_8); +lean_dec(x_8); +x_16 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_17 = lean_string_append(x_15, x_16); +x_18 = 3; +x_19 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_18); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +else +{ +lean_object* x_21; +lean_dec(x_2); +x_21 = lean_ctor_get(x_6, 0); +lean_inc(x_21); +lean_dec(x_6); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_7); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_21, 0); +lean_inc(x_24); +lean_dec(x_21); +x_25 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__3(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_7); +return x_26; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__3(lean_object* x_1, lean_object* x_2, uint64_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__8; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__15; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__23; -x_4 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__24; -x_5 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____rarg), 5, 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); -return x_5; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__10() { -_start: +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(x_7, x_3); +if (lean_obj_tag(x_8) == 0) { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__9; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonArray___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_9 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__2; +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_6); +return x_10; } -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__11() { -_start: +else { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__10; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648____rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +x_12 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__32(x_4); +x_13 = lean_alloc_closure((void*)(l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__33___boxed), 3, 1); +lean_closure_set(x_13, 0, x_12); +lean_inc(x_11); +x_14 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__1___boxed), 4, 1); +lean_closure_set(x_14, 0, x_11); +x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3___rarg), 4, 2); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_14); +lean_inc(x_5); +x_16 = l_Lean_Server_RequestM_asTask___rarg(x_15, x_5, x_6); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__2), 4, 1); +lean_closure_set(x_19, 0, x_1); +lean_inc(x_5); +x_20 = l_Lean_Server_RequestM_bindTask___rarg(x_17, x_19, x_5, x_18); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__2___boxed), 5, 2); +lean_closure_set(x_23, 0, x_11); +lean_closure_set(x_23, 1, x_2); +x_24 = l_Lean_Server_RequestM_mapTask___rarg(x_21, x_23, x_5, x_22); +return x_24; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__11; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonOption___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} } LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____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; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_4 = l_Lean_Lsp_instFromJsonPlainGoalParams; -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__6; -x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__12; -x_7 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___elambda__1___boxed), 14, 10); -lean_closure_set(x_7, 0, x_1); -lean_closure_set(x_7, 1, lean_box(0)); -lean_closure_set(x_7, 2, lean_box(0)); -lean_closure_set(x_7, 3, lean_box(0)); -lean_closure_set(x_7, 4, x_3); -lean_closure_set(x_7, 5, x_4); -lean_closure_set(x_7, 6, lean_box(0)); -lean_closure_set(x_7, 7, x_5); -lean_closure_set(x_7, 8, x_6); -lean_closure_set(x_7, 9, x_2); -return x_7; +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__3___boxed), 6, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; } } LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -3164,7 +9848,9 @@ _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; uint8_t x_12; lean_inc(x_1); -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2(x_1, x_2); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__3___boxed), 6, 2); +lean_closure_set(x_5, 0, x_2); +lean_closure_set(x_5, 1, x_1); x_6 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___closed__1; x_7 = lean_st_ref_take(x_6, x_4); x_8 = lean_ctor_get(x_7, 0); @@ -3223,10 +9909,10 @@ else lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_2); lean_dec(x_1); -x_14 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_14 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_15 = lean_string_append(x_14, x_3); lean_dec(x_3); -x_16 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; +x_16 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; x_17 = lean_string_append(x_15, x_16); x_18 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_18, 0, x_17); @@ -3258,10 +9944,10 @@ 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_dec(x_2); lean_dec(x_1); -x_24 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_24 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_25 = lean_string_append(x_24, x_3); lean_dec(x_3); -x_26 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; +x_26 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; x_27 = lean_string_append(x_25, x_26); x_28 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_28, 0, x_27); @@ -3283,7 +9969,7 @@ x_5 = l_Lean_Name_toString(x_1, x_4); x_6 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; +x_8 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6; x_9 = lean_string_append(x_7, x_8); x_10 = lean_io_initializing(x_3); x_11 = lean_ctor_get(x_10, 0); @@ -3301,10 +9987,10 @@ 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; x_14 = lean_ctor_get(x_10, 0); lean_dec(x_14); -x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_15 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_16 = lean_string_append(x_15, x_9); lean_dec(x_9); -x_17 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; +x_17 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -3318,10 +10004,10 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean x_20 = lean_ctor_get(x_10, 1); lean_inc(x_20); lean_dec(x_10); -x_21 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_21 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_22 = lean_string_append(x_21, x_9); lean_dec(x_9); -x_23 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; +x_23 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; x_24 = lean_string_append(x_22, x_23); x_25 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_25, 0, x_24); @@ -3355,7 +10041,7 @@ static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_Wid _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__4; +x_1 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__2; x_2 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -3379,6 +10065,60 @@ x_4 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_L return x_4; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____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; +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_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__4(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____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; +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_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__5(x_5, x_6, x_3, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint64_t x_7; lean_object* x_8; +x_7 = lean_unbox_uint64(x_3); +lean_dec(x_3); +x_8 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__3(x_1, x_2, x_7, x_4, x_5, x_6); +return x_8; +} +} LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -3388,70 +10128,561 @@ lean_dec(x_3); return x_5; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__1() { +static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__3___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__2; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__7; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_4 = l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg(x_1, lean_box(0), x_2, lean_box(0), x_3); -return x_4; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("range", 5); +return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__2() { +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__3(lean_object* x_1) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__1; -x_2 = l_Lean_Server_instRpcEncodingOption___rarg(x_1); -return x_2; +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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +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_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__14(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_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___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_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6(x_12); +x_14 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__3; +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_10); +x_17 = lean_ctor_get(x_1, 2); +lean_inc(x_17); +lean_dec(x_1); +x_18 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_623_(x_17); +x_19 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__3___closed__1; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_10); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_10); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_16); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_11); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_List_join___rarg(x_24); +x_26 = l_Lean_Json_mkObj(x_25); +return x_26; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__3() { +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__8; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__15; -x_3 = l_Lean_Lsp_instToJsonRange; -x_4 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____rarg), 4, 3); -lean_closure_set(x_4, 0, x_1); -lean_closure_set(x_4, 1, x_2); -lean_closure_set(x_4, 2, x_3); -return x_4; +lean_object* x_6; lean_object* x_7; +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_2); +x_28 = lean_ctor_get(x_3, 0); +lean_inc(x_28); +lean_dec(x_3); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_5); +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_3, 0); +lean_inc(x_30); +lean_dec(x_3); +x_31 = lean_st_ref_take(x_1, x_5); +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); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_51; +x_51 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2___closed__1; +lean_inc(x_32); +x_34 = x_51; +x_35 = x_32; +goto block_50; +} +else +{ +uint8_t x_52; +x_52 = !lean_is_exclusive(x_30); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; 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; +x_53 = lean_ctor_get(x_30, 0); +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_53, 2); +lean_inc(x_56); +lean_dec(x_53); +x_57 = lean_array_get_size(x_54); +x_58 = lean_usize_of_nat(x_57); +lean_dec(x_57); +x_59 = 0; +lean_inc(x_32); +x_60 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28(x_58, x_59, x_54, x_32); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; uint8_t x_63; +lean_dec(x_56); +lean_dec(x_55); +lean_free_object(x_30); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = !lean_is_exclusive(x_61); +if (x_63 == 0) +{ +x_34 = x_61; +x_35 = x_62; +goto block_50; +} +else +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_61, 0); +lean_inc(x_64); +lean_dec(x_61); +x_65 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_34 = x_65; +x_35 = x_62; +goto block_50; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__4() { +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_66 = lean_ctor_get(x_60, 1); +lean_inc(x_66); +lean_dec(x_60); +x_67 = lean_ctor_get(x_61, 0); +lean_inc(x_67); +lean_dec(x_61); +x_68 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; +x_69 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_68, x_55, x_66); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; uint8_t x_72; +lean_dec(x_67); +lean_dec(x_56); +lean_free_object(x_30); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = !lean_is_exclusive(x_70); +if (x_72 == 0) +{ +x_34 = x_70; +x_35 = x_71; +goto block_50; +} +else +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_70, 0); +lean_inc(x_73); +lean_dec(x_70); +x_74 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_34 = x_74; +x_35 = x_71; +goto block_50; +} +} +else +{ +lean_object* x_75; uint8_t x_76; +x_75 = lean_ctor_get(x_69, 1); +lean_inc(x_75); +lean_dec(x_69); +x_76 = !lean_is_exclusive(x_70); +if (x_76 == 0) +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_70, 0); +x_78 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_78, 0, x_67); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_78, 2, x_56); +lean_ctor_set(x_30, 0, x_78); +lean_ctor_set(x_70, 0, x_30); +x_34 = x_70; +x_35 = x_75; +goto block_50; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_70, 0); +lean_inc(x_79); +lean_dec(x_70); +x_80 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_80, 0, x_67); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_80, 2, x_56); +lean_ctor_set(x_30, 0, x_80); +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_30); +x_34 = x_81; +x_35 = x_75; +goto block_50; +} +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; size_t x_87; size_t x_88; lean_object* x_89; lean_object* x_90; +x_82 = lean_ctor_get(x_30, 0); +lean_inc(x_82); +lean_dec(x_30); +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_85 = lean_ctor_get(x_82, 2); +lean_inc(x_85); +lean_dec(x_82); +x_86 = lean_array_get_size(x_83); +x_87 = lean_usize_of_nat(x_86); +lean_dec(x_86); +x_88 = 0; +lean_inc(x_32); +x_89 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28(x_87, x_88, x_83, x_32); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_85); +lean_dec(x_84); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_ctor_get(x_90, 0); +lean_inc(x_92); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + x_93 = x_90; +} else { + lean_dec_ref(x_90); + x_93 = lean_box(0); +} +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(0, 1, 0); +} else { + x_94 = x_93; +} +lean_ctor_set(x_94, 0, x_92); +x_34 = x_94; +x_35 = x_91; +goto block_50; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_95 = lean_ctor_get(x_89, 1); +lean_inc(x_95); +lean_dec(x_89); +x_96 = lean_ctor_get(x_90, 0); +lean_inc(x_96); +lean_dec(x_90); +x_97 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; +x_98 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_97, x_84, x_95); +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_96); +lean_dec(x_85); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = lean_ctor_get(x_99, 0); +lean_inc(x_101); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + x_102 = x_99; +} else { + lean_dec_ref(x_99); + x_102 = lean_box(0); +} +if (lean_is_scalar(x_102)) { + x_103 = lean_alloc_ctor(0, 1, 0); +} else { + x_103 = x_102; +} +lean_ctor_set(x_103, 0, x_101); +x_34 = x_103; +x_35 = x_100; +goto block_50; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_104 = lean_ctor_get(x_98, 1); +lean_inc(x_104); +lean_dec(x_98); +x_105 = lean_ctor_get(x_99, 0); +lean_inc(x_105); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + x_106 = x_99; +} else { + lean_dec_ref(x_99); + x_106 = lean_box(0); +} +x_107 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_107, 0, x_96); +lean_ctor_set(x_107, 1, x_105); +lean_ctor_set(x_107, 2, x_85); +x_108 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_108, 0, x_107); +if (lean_is_scalar(x_106)) { + x_109 = lean_alloc_ctor(1, 1, 0); +} else { + x_109 = x_106; +} +lean_ctor_set(x_109, 0, x_108); +x_34 = x_109; +x_35 = x_104; +goto block_50; +} +} +} +} +block_50: +{ +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_36; +lean_dec(x_35); +x_36 = !lean_is_exclusive(x_34); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_st_ref_set(x_1, x_32, x_33); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_6 = x_34; +x_7 = x_38; +goto block_27; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_ctor_get(x_34, 0); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = lean_st_ref_set(x_1, x_32, x_33); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_6 = x_40; +x_7 = x_42; +goto block_27; +} +} +else +{ +uint8_t x_43; +lean_dec(x_32); +x_43 = !lean_is_exclusive(x_34); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_st_ref_set(x_1, x_35, x_33); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_6 = x_34; +x_7 = x_45; +goto block_27; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_34, 0); +lean_inc(x_46); +lean_dec(x_34); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_st_ref_set(x_1, x_35, x_33); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_6 = x_47; +x_7 = x_49; +goto block_27; +} +} +} +} +block_27: +{ +if (lean_obj_tag(x_6) == 0) +{ +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; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = 1; +x_10 = l_Lean_Name_toString(x_2, x_9); +x_11 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__1; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__2; +x_14 = lean_string_append(x_12, x_13); +x_15 = lean_string_append(x_14, x_8); +lean_dec(x_8); +x_16 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_17 = lean_string_append(x_15, x_16); +x_18 = 3; +x_19 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_18); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +else +{ +lean_object* x_21; +lean_dec(x_2); +x_21 = lean_ctor_get(x_6, 0); +lean_inc(x_21); +lean_dec(x_6); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_7); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_21, 0); +lean_inc(x_24); +lean_dec(x_21); +x_25 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__3(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_7); +return x_26; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__2(lean_object* x_1, lean_object* x_2, uint64_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__3; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonOption___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(x_7, x_3); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_9 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__2; +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_6); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +x_12 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__35(x_4); +x_13 = lean_alloc_closure((void*)(l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__36___boxed), 3, 1); +lean_closure_set(x_13, 0, x_12); +lean_inc(x_11); +x_14 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__1___boxed), 4, 1); +lean_closure_set(x_14, 0, x_11); +x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3___rarg), 4, 2); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_14); +lean_inc(x_5); +x_16 = l_Lean_Server_RequestM_asTask___rarg(x_15, x_5, x_6); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__2), 4, 1); +lean_closure_set(x_19, 0, x_1); +lean_inc(x_5); +x_20 = l_Lean_Server_RequestM_bindTask___rarg(x_17, x_19, x_5, x_18); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__1___boxed), 5, 2); +lean_closure_set(x_23, 0, x_11); +lean_closure_set(x_23, 1, x_2); +x_24 = l_Lean_Server_RequestM_mapTask___rarg(x_21, x_23, x_5, x_22); +return x_24; +} } } LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____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; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_4 = l_Lean_Lsp_instFromJsonPlainTermGoalParams; -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__2; -x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__4; -x_7 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___elambda__1___boxed), 14, 10); -lean_closure_set(x_7, 0, x_1); -lean_closure_set(x_7, 1, lean_box(0)); -lean_closure_set(x_7, 2, lean_box(0)); -lean_closure_set(x_7, 3, lean_box(0)); -lean_closure_set(x_7, 4, x_3); -lean_closure_set(x_7, 5, x_4); -lean_closure_set(x_7, 6, lean_box(0)); -lean_closure_set(x_7, 7, x_5); -lean_closure_set(x_7, 8, x_6); -lean_closure_set(x_7, 9, x_2); -return x_7; +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__2___boxed), 6, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; } } LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -3459,7 +10690,9 @@ _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; uint8_t x_12; lean_inc(x_1); -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2(x_1, x_2); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__2___boxed), 6, 2); +lean_closure_set(x_5, 0, x_2); +lean_closure_set(x_5, 1, x_1); x_6 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___closed__1; x_7 = lean_st_ref_take(x_6, x_4); x_8 = lean_ctor_get(x_7, 0); @@ -3518,10 +10751,10 @@ else lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_2); lean_dec(x_1); -x_14 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_14 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_15 = lean_string_append(x_14, x_3); lean_dec(x_3); -x_16 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; +x_16 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; x_17 = lean_string_append(x_15, x_16); x_18 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_18, 0, x_17); @@ -3553,10 +10786,10 @@ 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_dec(x_2); lean_dec(x_1); -x_24 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_24 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_25 = lean_string_append(x_24, x_3); lean_dec(x_3); -x_26 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; +x_26 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; x_27 = lean_string_append(x_25, x_26); x_28 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_28, 0, x_27); @@ -3578,7 +10811,7 @@ x_5 = l_Lean_Name_toString(x_1, x_4); x_6 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; +x_8 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6; x_9 = lean_string_append(x_7, x_8); x_10 = lean_io_initializing(x_3); x_11 = lean_ctor_get(x_10, 0); @@ -3596,10 +10829,10 @@ 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; x_14 = lean_ctor_get(x_10, 0); lean_dec(x_14); -x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_15 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_16 = lean_string_append(x_15, x_9); lean_dec(x_9); -x_17 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; +x_17 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -3613,10 +10846,10 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean x_20 = lean_ctor_get(x_10, 1); lean_inc(x_20); lean_dec(x_10); -x_21 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_21 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_22 = lean_string_append(x_21, x_9); lean_dec(x_9); -x_23 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; +x_23 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; x_24 = lean_string_append(x_22, x_23); x_25 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_25, 0, x_24); @@ -3650,7 +10883,7 @@ static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_Wid _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__4; +x_1 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__2; x_2 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -3674,6 +10907,26 @@ x_4 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_L return x_4; } } +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint64_t x_7; lean_object* x_8; +x_7 = lean_unbox_uint64(x_3); +lean_dec(x_3); +x_8 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___lambda__2(x_1, x_2, x_7, x_4, x_5, x_6); +return x_8; +} +} LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -3691,16 +10944,6 @@ x_1 = lean_box(0); return x_1; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311____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_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311____spec__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -3709,7 +10952,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_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311____spec__1___closed__1; +x_4 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2___closed__1; return x_4; } else @@ -4294,122 +11537,12330 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__13; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__8; -x_4 = l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg(x_1, lean_box(0), x_1, lean_box(0), x_1, lean_box(0), x_1, lean_box(0), x_2, lean_box(0), x_3, lean_box(0), x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__1; -x_2 = l_Lean_Server_instRpcEncodingArray___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__3() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonDiagnosticTag___boxed), 1, 0); +x_1 = lean_mk_string_from_bytes("fullRange", 9); return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__3; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonArray___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Lsp_instToJsonDiagnosticRelatedInformation; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonArray___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__6() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonDiagnosticSeverity___boxed), 1, 0); +x_1 = lean_mk_string_from_bytes("severity", 8); return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__7() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonDiagnosticCode___boxed), 1, 0); +x_1 = lean_mk_string_from_bytes("code", 4); return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__8() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___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; lean_object* x_7; lean_object* x_8; -x_1 = l_Lean_Lsp_instToJsonRange; -x_2 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__6; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__7; -x_4 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__23; -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__28; -x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__4; -x_7 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__5; -x_8 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____rarg), 8, 7); -lean_closure_set(x_8, 0, x_1); -lean_closure_set(x_8, 1, x_2); -lean_closure_set(x_8, 2, x_3); -lean_closure_set(x_8, 3, x_4); -lean_closure_set(x_8, 4, x_5); -lean_closure_set(x_8, 5, x_6); -lean_closure_set(x_8, 6, x_7); -return x_8; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("source", 6); +return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__9() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__8; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonArray___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("message", 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tags", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("relatedInformation", 18); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__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; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 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); +lean_inc(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_623_(x_2); +x_4 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__3___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); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +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_623_(x_8); +x_10 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__1; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_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_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__2; +x_15 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_953____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_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__3; +x_18 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_953____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_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__4; +x_21 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2131____spec__1(x_20, x_19); +lean_dec(x_19); +x_22 = lean_ctor_get(x_1, 5); +lean_inc(x_22); +x_23 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__3(x_22); +x_24 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__5; +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_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__6; +x_29 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_953____spec__3(x_28, x_27); +x_30 = lean_ctor_get(x_1, 7); +lean_inc(x_30); +lean_dec(x_1); +x_31 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__7; +x_32 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_953____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_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_29); +lean_ctor_set(x_34, 1, x_33); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_26); +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, 1, x_35); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_18); +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, 1, x_37); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_12); +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, 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_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__4(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 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3(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_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311_(x_1); +if (lean_obj_tag(x_2) == 0) +{ +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; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_4 = lean_ctor_get(x_2, 0); +x_5 = l_Lean_Json_compress(x_1); +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2; +x_9 = lean_string_append(x_7, x_8); +x_10 = lean_string_append(x_9, x_4); +lean_dec(x_4); +x_11 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_12 = lean_string_append(x_10, x_11); +x_13 = 0; +x_14 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set_uint8(x_14, sizeof(void*)*1, x_13); +lean_ctor_set(x_2, 0, x_14); return x_2; } +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +lean_dec(x_2); +x_16 = l_Lean_Json_compress(x_1); +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2; +x_20 = lean_string_append(x_18, x_19); +x_21 = lean_string_append(x_20, x_15); +lean_dec(x_15); +x_22 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_23 = lean_string_append(x_21, x_22); +x_24 = 0; +x_25 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_24); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_2); +if (x_27 == 0) +{ +return x_2; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_2, 0); +lean_inc(x_28); +lean_dec(x_2); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +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_3); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(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; lean_object* x_7; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_3); +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; +} +else +{ +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_8 = lean_array_uget(x_3, x_2); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_uset(x_3, x_2, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_10, x_2, x_8); +x_2 = x_12; +x_3 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(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; lean_object* x_7; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_3); +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; +} +else +{ +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_8 = lean_array_uget(x_3, x_2); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_uset(x_3, x_2, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_10, x_2, x_8); +x_2 = x_12; +x_3 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +switch (lean_obj_tag(x_2)) { +case 0: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_1); +x_20 = lean_ctor_get(x_2, 0); +lean_inc(x_20); +lean_dec(x_2); +x_21 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; +x_22 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_21, x_20, x_3); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_22, 0); +lean_dec(x_25); +x_26 = !lean_is_exclusive(x_23); +if (x_26 == 0) +{ +return x_22; +} +else +{ +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_alloc_ctor(0, 1, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_22, 0, x_28); +return x_22; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_dec(x_22); +x_30 = lean_ctor_get(x_23, 0); +lean_inc(x_30); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + x_31 = x_23; +} else { + lean_dec_ref(x_23); + x_31 = lean_box(0); +} +if (lean_is_scalar(x_31)) { + x_32 = lean_alloc_ctor(0, 1, 0); +} else { + x_32 = x_31; +} +lean_ctor_set(x_32, 0, x_30); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_29); +return x_33; +} +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_22); +if (x_34 == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_22, 0); +lean_dec(x_35); +x_36 = !lean_is_exclusive(x_23); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_23, 0); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_23, 0, x_38); +return x_22; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_23, 0); +lean_inc(x_39); +lean_dec(x_23); +x_40 = lean_alloc_ctor(0, 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); +lean_ctor_set(x_22, 0, x_41); +return x_22; +} +} +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; +x_42 = lean_ctor_get(x_22, 1); +lean_inc(x_42); +lean_dec(x_22); +x_43 = lean_ctor_get(x_23, 0); +lean_inc(x_43); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + x_44 = x_23; +} else { + lean_dec_ref(x_23); + x_44 = lean_box(0); +} +x_45 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_45, 0, x_43); +if (lean_is_scalar(x_44)) { + x_46 = lean_alloc_ctor(1, 1, 0); +} else { + x_46 = x_44; +} +lean_ctor_set(x_46, 0, x_45); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_42); +return x_47; +} +} +} +case 1: +{ +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; size_t x_55; size_t x_56; lean_object* x_57; lean_object* x_58; +x_48 = lean_ctor_get(x_2, 0); +lean_inc(x_48); +lean_dec(x_2); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +x_51 = lean_ctor_get(x_48, 2); +lean_inc(x_51); +x_52 = lean_ctor_get(x_48, 3); +lean_inc(x_52); +x_53 = lean_ctor_get(x_48, 4); +lean_inc(x_53); +lean_dec(x_48); +x_54 = lean_array_get_size(x_49); +x_55 = lean_usize_of_nat(x_54); +lean_dec(x_54); +x_56 = 0; +x_57 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28(x_55, x_56, x_49, x_3); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; uint8_t x_60; +lean_dec(x_53); +lean_dec(x_52); +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_1); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = !lean_is_exclusive(x_58); +if (x_60 == 0) +{ +x_4 = x_58; +x_5 = x_59; +goto block_19; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_58, 0); +lean_inc(x_61); +lean_dec(x_58); +x_62 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_4 = x_62; +x_5 = x_59; +goto block_19; +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_63 = lean_ctor_get(x_57, 1); +lean_inc(x_63); +lean_dec(x_57); +x_64 = lean_ctor_get(x_58, 0); +lean_inc(x_64); +lean_dec(x_58); +x_65 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1; +x_66 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__24(x_65, x_50, x_63); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; uint8_t x_69; +lean_dec(x_64); +lean_dec(x_53); +lean_dec(x_52); +lean_dec(x_51); +lean_dec(x_1); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = !lean_is_exclusive(x_67); +if (x_69 == 0) +{ +x_4 = x_67; +x_5 = x_68; +goto block_19; +} +else +{ +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_67, 0); +lean_inc(x_70); +lean_dec(x_67); +x_71 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_4 = x_71; +x_5 = x_68; +goto block_19; +} +} +else +{ +if (lean_obj_tag(x_51) == 0) +{ +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_72; uint8_t x_73; +x_72 = lean_ctor_get(x_66, 1); +lean_inc(x_72); +lean_dec(x_66); +x_73 = !lean_is_exclusive(x_67); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_67, 0); +lean_inc(x_1); +x_75 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_75, 0, x_64); +lean_ctor_set(x_75, 1, x_74); +lean_ctor_set(x_75, 2, x_1); +lean_ctor_set(x_75, 3, x_52); +lean_ctor_set(x_75, 4, x_1); +lean_ctor_set(x_67, 0, x_75); +x_4 = x_67; +x_5 = x_72; +goto block_19; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_67, 0); +lean_inc(x_76); +lean_dec(x_67); +lean_inc(x_1); +x_77 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_77, 0, x_64); +lean_ctor_set(x_77, 1, x_76); +lean_ctor_set(x_77, 2, x_1); +lean_ctor_set(x_77, 3, x_52); +lean_ctor_set(x_77, 4, x_1); +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_4 = x_78; +x_5 = x_72; +goto block_19; +} +} +else +{ +lean_object* x_79; uint8_t x_80; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +x_80 = !lean_is_exclusive(x_67); +if (x_80 == 0) +{ +uint8_t x_81; +x_81 = !lean_is_exclusive(x_53); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_67, 0); +x_83 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_83, 0, x_64); +lean_ctor_set(x_83, 1, x_82); +lean_ctor_set(x_83, 2, x_1); +lean_ctor_set(x_83, 3, x_52); +lean_ctor_set(x_83, 4, x_53); +lean_ctor_set(x_67, 0, x_83); +x_4 = x_67; +x_5 = x_79; +goto block_19; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_84 = lean_ctor_get(x_67, 0); +x_85 = lean_ctor_get(x_53, 0); +lean_inc(x_85); +lean_dec(x_53); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_85); +x_87 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_87, 0, x_64); +lean_ctor_set(x_87, 1, x_84); +lean_ctor_set(x_87, 2, x_1); +lean_ctor_set(x_87, 3, x_52); +lean_ctor_set(x_87, 4, x_86); +lean_ctor_set(x_67, 0, x_87); +x_4 = x_67; +x_5 = x_79; +goto block_19; +} +} +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; +x_88 = lean_ctor_get(x_67, 0); +lean_inc(x_88); +lean_dec(x_67); +x_89 = lean_ctor_get(x_53, 0); +lean_inc(x_89); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + x_90 = x_53; +} else { + lean_dec_ref(x_53); + x_90 = lean_box(0); +} +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(1, 1, 0); +} else { + x_91 = x_90; +} +lean_ctor_set(x_91, 0, x_89); +x_92 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_92, 0, x_64); +lean_ctor_set(x_92, 1, x_88); +lean_ctor_set(x_92, 2, x_1); +lean_ctor_set(x_92, 3, x_52); +lean_ctor_set(x_92, 4, x_91); +x_93 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_93, 0, x_92); +x_4 = x_93; +x_5 = x_79; +goto block_19; +} +} +} +else +{ +lean_object* x_94; uint8_t x_95; +x_94 = lean_ctor_get(x_66, 1); +lean_inc(x_94); +lean_dec(x_66); +x_95 = !lean_is_exclusive(x_67); +if (x_95 == 0) +{ +uint8_t x_96; +x_96 = !lean_is_exclusive(x_51); +if (x_96 == 0) +{ +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_97; lean_object* x_98; +x_97 = lean_ctor_get(x_67, 0); +x_98 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_98, 0, x_64); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_51); +lean_ctor_set(x_98, 3, x_52); +lean_ctor_set(x_98, 4, x_1); +lean_ctor_set(x_67, 0, x_98); +x_4 = x_67; +x_5 = x_94; +goto block_19; +} +else +{ +lean_object* x_99; uint8_t x_100; +x_99 = lean_ctor_get(x_67, 0); +lean_dec(x_1); +x_100 = !lean_is_exclusive(x_53); +if (x_100 == 0) +{ +lean_object* x_101; +x_101 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_101, 0, x_64); +lean_ctor_set(x_101, 1, x_99); +lean_ctor_set(x_101, 2, x_51); +lean_ctor_set(x_101, 3, x_52); +lean_ctor_set(x_101, 4, x_53); +lean_ctor_set(x_67, 0, x_101); +x_4 = x_67; +x_5 = x_94; +goto block_19; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_53, 0); +lean_inc(x_102); +lean_dec(x_53); +x_103 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_103, 0, x_102); +x_104 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_104, 0, x_64); +lean_ctor_set(x_104, 1, x_99); +lean_ctor_set(x_104, 2, x_51); +lean_ctor_set(x_104, 3, x_52); +lean_ctor_set(x_104, 4, x_103); +lean_ctor_set(x_67, 0, x_104); +x_4 = x_67; +x_5 = x_94; +goto block_19; +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_67, 0); +x_106 = lean_ctor_get(x_51, 0); +lean_inc(x_106); +lean_dec(x_51); +x_107 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_107, 0, x_106); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_108; +x_108 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_108, 0, x_64); +lean_ctor_set(x_108, 1, x_105); +lean_ctor_set(x_108, 2, x_107); +lean_ctor_set(x_108, 3, x_52); +lean_ctor_set(x_108, 4, x_1); +lean_ctor_set(x_67, 0, x_108); +x_4 = x_67; +x_5 = x_94; +goto block_19; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_1); +x_109 = lean_ctor_get(x_53, 0); +lean_inc(x_109); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + x_110 = x_53; +} else { + lean_dec_ref(x_53); + x_110 = lean_box(0); +} +if (lean_is_scalar(x_110)) { + x_111 = lean_alloc_ctor(1, 1, 0); +} else { + x_111 = x_110; +} +lean_ctor_set(x_111, 0, x_109); +x_112 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_112, 0, x_64); +lean_ctor_set(x_112, 1, x_105); +lean_ctor_set(x_112, 2, x_107); +lean_ctor_set(x_112, 3, x_52); +lean_ctor_set(x_112, 4, x_111); +lean_ctor_set(x_67, 0, x_112); +x_4 = x_67; +x_5 = x_94; +goto block_19; +} +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_113 = lean_ctor_get(x_67, 0); +lean_inc(x_113); +lean_dec(x_67); +x_114 = lean_ctor_get(x_51, 0); +lean_inc(x_114); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + x_115 = x_51; +} else { + lean_dec_ref(x_51); + x_115 = lean_box(0); +} +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(1, 1, 0); +} else { + x_116 = x_115; +} +lean_ctor_set(x_116, 0, x_114); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_117; lean_object* x_118; +x_117 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_117, 0, x_64); +lean_ctor_set(x_117, 1, x_113); +lean_ctor_set(x_117, 2, x_116); +lean_ctor_set(x_117, 3, x_52); +lean_ctor_set(x_117, 4, x_1); +x_118 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_118, 0, x_117); +x_4 = x_118; +x_5 = x_94; +goto block_19; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_1); +x_119 = lean_ctor_get(x_53, 0); +lean_inc(x_119); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + x_120 = x_53; +} else { + lean_dec_ref(x_53); + x_120 = lean_box(0); +} +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(1, 1, 0); +} else { + x_121 = x_120; +} +lean_ctor_set(x_121, 0, x_119); +x_122 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_122, 0, x_64); +lean_ctor_set(x_122, 1, x_113); +lean_ctor_set(x_122, 2, x_116); +lean_ctor_set(x_122, 3, x_52); +lean_ctor_set(x_122, 4, x_121); +x_123 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_123, 0, x_122); +x_4 = x_123; +x_5 = x_94; +goto block_19; +} +} +} +} +} +} +default: +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; +lean_dec(x_1); +x_124 = lean_ctor_get(x_2, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_2, 1); +lean_inc(x_125); +x_126 = lean_ctor_get(x_2, 2); +lean_inc(x_126); +lean_dec(x_2); +x_127 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__29(x_126, x_3); +x_128 = !lean_is_exclusive(x_127); +if (x_128 == 0) +{ +lean_object* x_129; uint8_t x_130; +x_129 = lean_ctor_get(x_127, 0); +x_130 = !lean_is_exclusive(x_129); +if (x_130 == 0) +{ +lean_object* x_131; lean_object* x_132; +x_131 = lean_ctor_get(x_129, 0); +x_132 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_132, 0, x_124); +lean_ctor_set(x_132, 1, x_125); +lean_ctor_set(x_132, 2, x_131); +lean_ctor_set(x_129, 0, x_132); +return x_127; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_129, 0); +lean_inc(x_133); +lean_dec(x_129); +x_134 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_134, 0, x_124); +lean_ctor_set(x_134, 1, x_125); +lean_ctor_set(x_134, 2, x_133); +x_135 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_127, 0, x_135); +return x_127; +} +} +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; +x_136 = lean_ctor_get(x_127, 0); +x_137 = lean_ctor_get(x_127, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_127); +x_138 = lean_ctor_get(x_136, 0); +lean_inc(x_138); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + x_139 = x_136; +} else { + lean_dec_ref(x_136); + x_139 = lean_box(0); +} +x_140 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_140, 0, x_124); +lean_ctor_set(x_140, 1, x_125); +lean_ctor_set(x_140, 2, x_138); +if (lean_is_scalar(x_139)) { + x_141 = lean_alloc_ctor(1, 1, 0); +} else { + x_141 = x_139; +} +lean_ctor_set(x_141, 0, x_140); +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_137); +return x_142; +} +} +} +block_19: +{ +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_4); +if (x_6 == 0) +{ +lean_object* x_7; +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_5); +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_alloc_ctor(0, 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_9); +lean_ctor_set(x_10, 1, x_5); +return x_10; +} +} +else +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_4, 0); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_4, 0, x_13); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_4); +lean_ctor_set(x_14, 1, x_5); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_4, 0); +lean_inc(x_15); +lean_dec(x_4); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_5); +return x_18; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9(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; lean_object* x_7; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_3); +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; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_30; +x_8 = lean_array_uget(x_3, x_2); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_uset(x_3, x_2, x_9); +x_30 = lean_ctor_get(x_8, 2); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_31 = lean_ctor_get(x_8, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_8, 1); +lean_inc(x_32); +x_33 = lean_ctor_get(x_8, 3); +lean_inc(x_33); +x_34 = lean_ctor_get(x_8, 4); +lean_inc(x_34); +x_35 = lean_ctor_get(x_8, 5); +lean_inc(x_35); +x_36 = lean_ctor_get(x_8, 6); +lean_inc(x_36); +x_37 = lean_ctor_get(x_8, 7); +lean_inc(x_37); +lean_dec(x_8); +x_38 = lean_box(0); +if (lean_obj_tag(x_33) == 0) +{ +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_39, 0, x_38); +x_40 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_39, x_35, x_4); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +lean_dec(x_37); +lean_dec(x_36); +lean_dec(x_32); +lean_dec(x_31); +x_42 = !lean_is_exclusive(x_40); +if (x_42 == 0) +{ +lean_object* x_43; uint8_t x_44; +x_43 = lean_ctor_get(x_40, 0); +lean_dec(x_43); +x_44 = !lean_is_exclusive(x_41); +if (x_44 == 0) +{ +x_11 = x_40; +goto block_29; +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_41, 0); +lean_inc(x_45); +lean_dec(x_41); +x_46 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_40, 0, x_46); +x_11 = x_40; +goto block_29; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_47 = lean_ctor_get(x_40, 1); +lean_inc(x_47); +lean_dec(x_40); +x_48 = lean_ctor_get(x_41, 0); +lean_inc(x_48); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + x_49 = x_41; +} else { + lean_dec_ref(x_41); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(0, 1, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_48); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_47); +x_11 = x_51; +goto block_29; +} +} +else +{ +lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_52 = lean_ctor_get(x_40, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_53 = x_40; +} else { + lean_dec_ref(x_40); + x_53 = lean_box(0); +} +x_54 = !lean_is_exclusive(x_41); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_41, 0); +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_53); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_103; lean_object* x_104; +x_103 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_103, 0, x_31); +lean_ctor_set(x_103, 1, x_32); +lean_ctor_set(x_103, 2, x_38); +lean_ctor_set(x_103, 3, x_38); +lean_ctor_set(x_103, 4, x_38); +lean_ctor_set(x_103, 5, x_55); +lean_ctor_set(x_103, 6, x_38); +lean_ctor_set(x_103, 7, x_38); +lean_ctor_set(x_41, 0, x_103); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_41); +lean_ctor_set(x_104, 1, x_52); +x_11 = x_104; +goto block_29; +} +else +{ +uint8_t x_105; +lean_free_object(x_41); +x_105 = !lean_is_exclusive(x_37); +if (x_105 == 0) +{ +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_106 = lean_ctor_get(x_37, 0); +x_107 = lean_array_get_size(x_106); +x_108 = lean_usize_of_nat(x_107); +lean_dec(x_107); +x_109 = 0; +x_110 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_108, x_109, x_106, x_52); +x_111 = !lean_is_exclusive(x_110); +if (x_111 == 0) +{ +lean_object* x_112; uint8_t x_113; +x_112 = lean_ctor_get(x_110, 0); +x_113 = !lean_is_exclusive(x_112); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; +x_114 = lean_ctor_get(x_112, 0); +lean_ctor_set(x_37, 0, x_114); +x_115 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_115, 0, x_31); +lean_ctor_set(x_115, 1, x_32); +lean_ctor_set(x_115, 2, x_38); +lean_ctor_set(x_115, 3, x_38); +lean_ctor_set(x_115, 4, x_38); +lean_ctor_set(x_115, 5, x_55); +lean_ctor_set(x_115, 6, x_38); +lean_ctor_set(x_115, 7, x_37); +lean_ctor_set(x_112, 0, x_115); +x_11 = x_110; +goto block_29; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_112, 0); +lean_inc(x_116); +lean_dec(x_112); +lean_ctor_set(x_37, 0, x_116); +x_117 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_117, 0, x_31); +lean_ctor_set(x_117, 1, x_32); +lean_ctor_set(x_117, 2, x_38); +lean_ctor_set(x_117, 3, x_38); +lean_ctor_set(x_117, 4, x_38); +lean_ctor_set(x_117, 5, x_55); +lean_ctor_set(x_117, 6, x_38); +lean_ctor_set(x_117, 7, x_37); +x_118 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_110, 0, x_118); +x_11 = x_110; +goto block_29; +} +} +else +{ +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_119 = lean_ctor_get(x_110, 0); +x_120 = lean_ctor_get(x_110, 1); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_110); +x_121 = lean_ctor_get(x_119, 0); +lean_inc(x_121); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + x_122 = x_119; +} else { + lean_dec_ref(x_119); + x_122 = lean_box(0); +} +lean_ctor_set(x_37, 0, x_121); +x_123 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_123, 0, x_31); +lean_ctor_set(x_123, 1, x_32); +lean_ctor_set(x_123, 2, x_38); +lean_ctor_set(x_123, 3, x_38); +lean_ctor_set(x_123, 4, x_38); +lean_ctor_set(x_123, 5, x_55); +lean_ctor_set(x_123, 6, x_38); +lean_ctor_set(x_123, 7, x_37); +if (lean_is_scalar(x_122)) { + x_124 = lean_alloc_ctor(1, 1, 0); +} else { + x_124 = x_122; +} +lean_ctor_set(x_124, 0, x_123); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_120); +x_11 = x_125; +goto block_29; +} +} +else +{ +lean_object* x_126; lean_object* x_127; size_t x_128; size_t 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_126 = lean_ctor_get(x_37, 0); +lean_inc(x_126); +lean_dec(x_37); +x_127 = lean_array_get_size(x_126); +x_128 = lean_usize_of_nat(x_127); +lean_dec(x_127); +x_129 = 0; +x_130 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_128, x_129, x_126, x_52); +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_133 = x_130; +} else { + lean_dec_ref(x_130); + x_133 = lean_box(0); +} +x_134 = lean_ctor_get(x_131, 0); +lean_inc(x_134); +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + x_135 = x_131; +} else { + lean_dec_ref(x_131); + x_135 = lean_box(0); +} +x_136 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_136, 0, x_134); +x_137 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_137, 0, x_31); +lean_ctor_set(x_137, 1, x_32); +lean_ctor_set(x_137, 2, x_38); +lean_ctor_set(x_137, 3, x_38); +lean_ctor_set(x_137, 4, x_38); +lean_ctor_set(x_137, 5, x_55); +lean_ctor_set(x_137, 6, x_38); +lean_ctor_set(x_137, 7, x_136); +if (lean_is_scalar(x_135)) { + x_138 = lean_alloc_ctor(1, 1, 0); +} else { + x_138 = x_135; +} +lean_ctor_set(x_138, 0, x_137); +if (lean_is_scalar(x_133)) { + x_139 = lean_alloc_ctor(0, 2, 0); +} else { + x_139 = x_133; +} +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_132); +x_11 = x_139; +goto block_29; +} +} +} +else +{ +uint8_t x_140; +lean_free_object(x_41); +x_140 = !lean_is_exclusive(x_36); +if (x_140 == 0) +{ +lean_object* x_141; lean_object* x_142; size_t x_143; size_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; +x_141 = lean_ctor_get(x_36, 0); +x_142 = lean_array_get_size(x_141); +x_143 = lean_usize_of_nat(x_142); +lean_dec(x_142); +x_144 = 0; +x_145 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_143, x_144, x_141, x_52); +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_145, 1); +lean_inc(x_147); +lean_dec(x_145); +x_148 = !lean_is_exclusive(x_146); +if (x_148 == 0) +{ +lean_object* x_149; +x_149 = lean_ctor_get(x_146, 0); +lean_ctor_set(x_36, 0, x_149); +lean_ctor_set(x_146, 0, x_36); +x_56 = x_146; +x_57 = x_147; +goto block_102; +} +else +{ +lean_object* x_150; lean_object* x_151; +x_150 = lean_ctor_get(x_146, 0); +lean_inc(x_150); +lean_dec(x_146); +lean_ctor_set(x_36, 0, x_150); +x_151 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_151, 0, x_36); +x_56 = x_151; +x_57 = x_147; +goto block_102; +} +} +else +{ +lean_object* x_152; lean_object* x_153; size_t x_154; size_t 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_152 = lean_ctor_get(x_36, 0); +lean_inc(x_152); +lean_dec(x_36); +x_153 = lean_array_get_size(x_152); +x_154 = lean_usize_of_nat(x_153); +lean_dec(x_153); +x_155 = 0; +x_156 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_154, x_155, x_152, x_52); +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +lean_dec(x_156); +x_159 = lean_ctor_get(x_157, 0); +lean_inc(x_159); +if (lean_is_exclusive(x_157)) { + lean_ctor_release(x_157, 0); + x_160 = x_157; +} else { + lean_dec_ref(x_157); + x_160 = lean_box(0); +} +x_161 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_161, 0, x_159); +if (lean_is_scalar(x_160)) { + x_162 = lean_alloc_ctor(1, 1, 0); +} else { + x_162 = x_160; +} +lean_ctor_set(x_162, 0, x_161); +x_56 = x_162; +x_57 = x_158; +goto block_102; +} +} +block_102: +{ +if (lean_obj_tag(x_37) == 0) +{ +uint8_t x_58; +x_58 = !lean_is_exclusive(x_56); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_56, 0); +x_60 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_60, 0, x_31); +lean_ctor_set(x_60, 1, x_32); +lean_ctor_set(x_60, 2, x_38); +lean_ctor_set(x_60, 3, x_38); +lean_ctor_set(x_60, 4, x_38); +lean_ctor_set(x_60, 5, x_55); +lean_ctor_set(x_60, 6, x_59); +lean_ctor_set(x_60, 7, x_38); +lean_ctor_set(x_56, 0, x_60); +if (lean_is_scalar(x_53)) { + x_61 = lean_alloc_ctor(0, 2, 0); +} else { + x_61 = x_53; +} +lean_ctor_set(x_61, 0, x_56); +lean_ctor_set(x_61, 1, x_57); +x_11 = x_61; +goto block_29; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_62 = lean_ctor_get(x_56, 0); +lean_inc(x_62); +lean_dec(x_56); +x_63 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_63, 0, x_31); +lean_ctor_set(x_63, 1, x_32); +lean_ctor_set(x_63, 2, x_38); +lean_ctor_set(x_63, 3, x_38); +lean_ctor_set(x_63, 4, x_38); +lean_ctor_set(x_63, 5, x_55); +lean_ctor_set(x_63, 6, x_62); +lean_ctor_set(x_63, 7, x_38); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_63); +if (lean_is_scalar(x_53)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_53; +} +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_57); +x_11 = x_65; +goto block_29; +} +} +else +{ +lean_object* x_66; uint8_t x_67; +lean_dec(x_53); +x_66 = lean_ctor_get(x_56, 0); +lean_inc(x_66); +lean_dec(x_56); +x_67 = !lean_is_exclusive(x_37); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; size_t x_70; size_t x_71; lean_object* x_72; uint8_t x_73; +x_68 = lean_ctor_get(x_37, 0); +x_69 = lean_array_get_size(x_68); +x_70 = lean_usize_of_nat(x_69); +lean_dec(x_69); +x_71 = 0; +x_72 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_70, x_71, x_68, x_57); +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; uint8_t x_75; +x_74 = lean_ctor_get(x_72, 0); +x_75 = !lean_is_exclusive(x_74); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_74, 0); +lean_ctor_set(x_37, 0, x_76); +x_77 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_77, 0, x_31); +lean_ctor_set(x_77, 1, x_32); +lean_ctor_set(x_77, 2, x_38); +lean_ctor_set(x_77, 3, x_38); +lean_ctor_set(x_77, 4, x_38); +lean_ctor_set(x_77, 5, x_55); +lean_ctor_set(x_77, 6, x_66); +lean_ctor_set(x_77, 7, x_37); +lean_ctor_set(x_74, 0, x_77); +x_11 = x_72; +goto block_29; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_74, 0); +lean_inc(x_78); +lean_dec(x_74); +lean_ctor_set(x_37, 0, x_78); +x_79 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_79, 0, x_31); +lean_ctor_set(x_79, 1, x_32); +lean_ctor_set(x_79, 2, x_38); +lean_ctor_set(x_79, 3, x_38); +lean_ctor_set(x_79, 4, x_38); +lean_ctor_set(x_79, 5, x_55); +lean_ctor_set(x_79, 6, x_66); +lean_ctor_set(x_79, 7, x_37); +x_80 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_72, 0, x_80); +x_11 = x_72; +goto block_29; +} +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_81 = lean_ctor_get(x_72, 0); +x_82 = lean_ctor_get(x_72, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_72); +x_83 = lean_ctor_get(x_81, 0); +lean_inc(x_83); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + x_84 = x_81; +} else { + lean_dec_ref(x_81); + x_84 = lean_box(0); +} +lean_ctor_set(x_37, 0, x_83); +x_85 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_85, 0, x_31); +lean_ctor_set(x_85, 1, x_32); +lean_ctor_set(x_85, 2, x_38); +lean_ctor_set(x_85, 3, x_38); +lean_ctor_set(x_85, 4, x_38); +lean_ctor_set(x_85, 5, x_55); +lean_ctor_set(x_85, 6, x_66); +lean_ctor_set(x_85, 7, x_37); +if (lean_is_scalar(x_84)) { + x_86 = lean_alloc_ctor(1, 1, 0); +} else { + x_86 = x_84; +} +lean_ctor_set(x_86, 0, x_85); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_82); +x_11 = x_87; +goto block_29; +} +} +else +{ +lean_object* x_88; lean_object* x_89; size_t x_90; size_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; +x_88 = lean_ctor_get(x_37, 0); +lean_inc(x_88); +lean_dec(x_37); +x_89 = lean_array_get_size(x_88); +x_90 = lean_usize_of_nat(x_89); +lean_dec(x_89); +x_91 = 0; +x_92 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_90, x_91, x_88, x_57); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + lean_ctor_release(x_92, 1); + x_95 = x_92; +} else { + lean_dec_ref(x_92); + x_95 = lean_box(0); +} +x_96 = lean_ctor_get(x_93, 0); +lean_inc(x_96); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + x_97 = x_93; +} else { + lean_dec_ref(x_93); + x_97 = lean_box(0); +} +x_98 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_98, 0, x_96); +x_99 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_99, 0, x_31); +lean_ctor_set(x_99, 1, x_32); +lean_ctor_set(x_99, 2, x_38); +lean_ctor_set(x_99, 3, x_38); +lean_ctor_set(x_99, 4, x_38); +lean_ctor_set(x_99, 5, x_55); +lean_ctor_set(x_99, 6, x_66); +lean_ctor_set(x_99, 7, x_98); +if (lean_is_scalar(x_97)) { + x_100 = lean_alloc_ctor(1, 1, 0); +} else { + x_100 = x_97; +} +lean_ctor_set(x_100, 0, x_99); +if (lean_is_scalar(x_95)) { + x_101 = lean_alloc_ctor(0, 2, 0); +} else { + x_101 = x_95; +} +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_94); +x_11 = x_101; +goto block_29; +} +} +} +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_41, 0); +lean_inc(x_163); +lean_dec(x_41); +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_53); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_188 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_188, 0, x_31); +lean_ctor_set(x_188, 1, x_32); +lean_ctor_set(x_188, 2, x_38); +lean_ctor_set(x_188, 3, x_38); +lean_ctor_set(x_188, 4, x_38); +lean_ctor_set(x_188, 5, x_163); +lean_ctor_set(x_188, 6, x_38); +lean_ctor_set(x_188, 7, x_38); +x_189 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_189, 0, x_188); +x_190 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_52); +x_11 = x_190; +goto block_29; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; size_t x_194; size_t 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_191 = lean_ctor_get(x_37, 0); +lean_inc(x_191); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_192 = x_37; +} else { + lean_dec_ref(x_37); + x_192 = lean_box(0); +} +x_193 = lean_array_get_size(x_191); +x_194 = lean_usize_of_nat(x_193); +lean_dec(x_193); +x_195 = 0; +x_196 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_194, x_195, x_191, x_52); +x_197 = lean_ctor_get(x_196, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_196, 1); +lean_inc(x_198); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_199 = x_196; +} else { + lean_dec_ref(x_196); + x_199 = lean_box(0); +} +x_200 = lean_ctor_get(x_197, 0); +lean_inc(x_200); +if (lean_is_exclusive(x_197)) { + lean_ctor_release(x_197, 0); + x_201 = x_197; +} else { + lean_dec_ref(x_197); + x_201 = lean_box(0); +} +if (lean_is_scalar(x_192)) { + x_202 = lean_alloc_ctor(1, 1, 0); +} else { + x_202 = x_192; +} +lean_ctor_set(x_202, 0, x_200); +x_203 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_203, 0, x_31); +lean_ctor_set(x_203, 1, x_32); +lean_ctor_set(x_203, 2, x_38); +lean_ctor_set(x_203, 3, x_38); +lean_ctor_set(x_203, 4, x_38); +lean_ctor_set(x_203, 5, x_163); +lean_ctor_set(x_203, 6, x_38); +lean_ctor_set(x_203, 7, x_202); +if (lean_is_scalar(x_201)) { + x_204 = lean_alloc_ctor(1, 1, 0); +} else { + x_204 = x_201; +} +lean_ctor_set(x_204, 0, x_203); +if (lean_is_scalar(x_199)) { + x_205 = lean_alloc_ctor(0, 2, 0); +} else { + x_205 = x_199; +} +lean_ctor_set(x_205, 0, x_204); +lean_ctor_set(x_205, 1, x_198); +x_11 = x_205; +goto block_29; +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; size_t x_209; size_t 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_206 = lean_ctor_get(x_36, 0); +lean_inc(x_206); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + x_207 = x_36; +} else { + lean_dec_ref(x_36); + x_207 = lean_box(0); +} +x_208 = lean_array_get_size(x_206); +x_209 = lean_usize_of_nat(x_208); +lean_dec(x_208); +x_210 = 0; +x_211 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_209, x_210, x_206, x_52); +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); +if (lean_is_exclusive(x_212)) { + lean_ctor_release(x_212, 0); + x_215 = x_212; +} else { + lean_dec_ref(x_212); + x_215 = lean_box(0); +} +if (lean_is_scalar(x_207)) { + x_216 = lean_alloc_ctor(1, 1, 0); +} else { + x_216 = x_207; +} +lean_ctor_set(x_216, 0, x_214); +if (lean_is_scalar(x_215)) { + x_217 = lean_alloc_ctor(1, 1, 0); +} else { + x_217 = x_215; +} +lean_ctor_set(x_217, 0, x_216); +x_164 = x_217; +x_165 = x_213; +goto block_187; +} +block_187: +{ +if (lean_obj_tag(x_37) == 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_164, 0); +lean_inc(x_166); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + x_167 = x_164; +} else { + lean_dec_ref(x_164); + x_167 = lean_box(0); +} +x_168 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_168, 0, x_31); +lean_ctor_set(x_168, 1, x_32); +lean_ctor_set(x_168, 2, x_38); +lean_ctor_set(x_168, 3, x_38); +lean_ctor_set(x_168, 4, x_38); +lean_ctor_set(x_168, 5, x_163); +lean_ctor_set(x_168, 6, x_166); +lean_ctor_set(x_168, 7, x_38); +if (lean_is_scalar(x_167)) { + x_169 = lean_alloc_ctor(1, 1, 0); +} else { + x_169 = x_167; +} +lean_ctor_set(x_169, 0, x_168); +if (lean_is_scalar(x_53)) { + x_170 = lean_alloc_ctor(0, 2, 0); +} else { + x_170 = x_53; +} +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_165); +x_11 = x_170; +goto block_29; +} +else +{ +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; 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_53); +x_171 = lean_ctor_get(x_164, 0); +lean_inc(x_171); +lean_dec(x_164); +x_172 = lean_ctor_get(x_37, 0); +lean_inc(x_172); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_173 = x_37; +} else { + lean_dec_ref(x_37); + x_173 = lean_box(0); +} +x_174 = lean_array_get_size(x_172); +x_175 = lean_usize_of_nat(x_174); +lean_dec(x_174); +x_176 = 0; +x_177 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_175, x_176, x_172, x_165); +x_178 = lean_ctor_get(x_177, 0); +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; +} else { + lean_dec_ref(x_177); + x_180 = lean_box(0); +} +x_181 = lean_ctor_get(x_178, 0); +lean_inc(x_181); +if (lean_is_exclusive(x_178)) { + lean_ctor_release(x_178, 0); + x_182 = x_178; +} else { + lean_dec_ref(x_178); + x_182 = lean_box(0); +} +if (lean_is_scalar(x_173)) { + x_183 = lean_alloc_ctor(1, 1, 0); +} else { + x_183 = x_173; +} +lean_ctor_set(x_183, 0, x_181); +x_184 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_184, 0, x_31); +lean_ctor_set(x_184, 1, x_32); +lean_ctor_set(x_184, 2, x_38); +lean_ctor_set(x_184, 3, x_38); +lean_ctor_set(x_184, 4, x_38); +lean_ctor_set(x_184, 5, x_163); +lean_ctor_set(x_184, 6, x_171); +lean_ctor_set(x_184, 7, x_183); +if (lean_is_scalar(x_182)) { + x_185 = lean_alloc_ctor(1, 1, 0); +} else { + x_185 = x_182; +} +lean_ctor_set(x_185, 0, x_184); +if (lean_is_scalar(x_180)) { + x_186 = lean_alloc_ctor(0, 2, 0); +} else { + x_186 = x_180; +} +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_179); +x_11 = x_186; +goto block_29; +} +} +} +} +} +else +{ +uint8_t x_218; +x_218 = !lean_is_exclusive(x_34); +if (x_218 == 0) +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_219 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_219, 0, x_38); +x_220 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_219, x_35, x_4); +x_221 = lean_ctor_get(x_220, 0); +lean_inc(x_221); +if (lean_obj_tag(x_221) == 0) +{ +uint8_t x_222; +lean_dec(x_34); +lean_dec(x_37); +lean_dec(x_36); +lean_dec(x_32); +lean_dec(x_31); +x_222 = !lean_is_exclusive(x_220); +if (x_222 == 0) +{ +lean_object* x_223; uint8_t x_224; +x_223 = lean_ctor_get(x_220, 0); +lean_dec(x_223); +x_224 = !lean_is_exclusive(x_221); +if (x_224 == 0) +{ +x_11 = x_220; +goto block_29; +} +else +{ +lean_object* x_225; lean_object* x_226; +x_225 = lean_ctor_get(x_221, 0); +lean_inc(x_225); +lean_dec(x_221); +x_226 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_220, 0, x_226); +x_11 = x_220; +goto block_29; +} +} +else +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_227 = lean_ctor_get(x_220, 1); +lean_inc(x_227); +lean_dec(x_220); +x_228 = lean_ctor_get(x_221, 0); +lean_inc(x_228); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + x_229 = x_221; +} else { + lean_dec_ref(x_221); + x_229 = lean_box(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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_227); +x_11 = x_231; +goto block_29; +} +} +else +{ +lean_object* x_232; lean_object* x_233; uint8_t x_234; +x_232 = lean_ctor_get(x_220, 1); +lean_inc(x_232); +if (lean_is_exclusive(x_220)) { + lean_ctor_release(x_220, 0); + lean_ctor_release(x_220, 1); + x_233 = x_220; +} else { + lean_dec_ref(x_220); + x_233 = lean_box(0); +} +x_234 = !lean_is_exclusive(x_221); +if (x_234 == 0) +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_235 = lean_ctor_get(x_221, 0); +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_233); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_283; lean_object* x_284; +x_283 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_283, 0, x_31); +lean_ctor_set(x_283, 1, x_32); +lean_ctor_set(x_283, 2, x_38); +lean_ctor_set(x_283, 3, x_38); +lean_ctor_set(x_283, 4, x_34); +lean_ctor_set(x_283, 5, x_235); +lean_ctor_set(x_283, 6, x_38); +lean_ctor_set(x_283, 7, x_38); +lean_ctor_set(x_221, 0, x_283); +x_284 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_284, 0, x_221); +lean_ctor_set(x_284, 1, x_232); +x_11 = x_284; +goto block_29; +} +else +{ +uint8_t x_285; +lean_free_object(x_221); +x_285 = !lean_is_exclusive(x_37); +if (x_285 == 0) +{ +lean_object* x_286; lean_object* x_287; size_t x_288; size_t x_289; lean_object* x_290; uint8_t x_291; +x_286 = lean_ctor_get(x_37, 0); +x_287 = lean_array_get_size(x_286); +x_288 = lean_usize_of_nat(x_287); +lean_dec(x_287); +x_289 = 0; +x_290 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_288, x_289, x_286, x_232); +x_291 = !lean_is_exclusive(x_290); +if (x_291 == 0) +{ +lean_object* x_292; uint8_t x_293; +x_292 = lean_ctor_get(x_290, 0); +x_293 = !lean_is_exclusive(x_292); +if (x_293 == 0) +{ +lean_object* x_294; lean_object* x_295; +x_294 = lean_ctor_get(x_292, 0); +lean_ctor_set(x_37, 0, x_294); +x_295 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_295, 0, x_31); +lean_ctor_set(x_295, 1, x_32); +lean_ctor_set(x_295, 2, x_38); +lean_ctor_set(x_295, 3, x_38); +lean_ctor_set(x_295, 4, x_34); +lean_ctor_set(x_295, 5, x_235); +lean_ctor_set(x_295, 6, x_38); +lean_ctor_set(x_295, 7, x_37); +lean_ctor_set(x_292, 0, x_295); +x_11 = x_290; +goto block_29; +} +else +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; +x_296 = lean_ctor_get(x_292, 0); +lean_inc(x_296); +lean_dec(x_292); +lean_ctor_set(x_37, 0, x_296); +x_297 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_297, 0, x_31); +lean_ctor_set(x_297, 1, x_32); +lean_ctor_set(x_297, 2, x_38); +lean_ctor_set(x_297, 3, x_38); +lean_ctor_set(x_297, 4, x_34); +lean_ctor_set(x_297, 5, x_235); +lean_ctor_set(x_297, 6, x_38); +lean_ctor_set(x_297, 7, x_37); +x_298 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_298, 0, x_297); +lean_ctor_set(x_290, 0, x_298); +x_11 = x_290; +goto block_29; +} +} +else +{ +lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; +x_299 = lean_ctor_get(x_290, 0); +x_300 = lean_ctor_get(x_290, 1); +lean_inc(x_300); +lean_inc(x_299); +lean_dec(x_290); +x_301 = lean_ctor_get(x_299, 0); +lean_inc(x_301); +if (lean_is_exclusive(x_299)) { + lean_ctor_release(x_299, 0); + x_302 = x_299; +} else { + lean_dec_ref(x_299); + x_302 = lean_box(0); +} +lean_ctor_set(x_37, 0, x_301); +x_303 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_303, 0, x_31); +lean_ctor_set(x_303, 1, x_32); +lean_ctor_set(x_303, 2, x_38); +lean_ctor_set(x_303, 3, x_38); +lean_ctor_set(x_303, 4, x_34); +lean_ctor_set(x_303, 5, x_235); +lean_ctor_set(x_303, 6, x_38); +lean_ctor_set(x_303, 7, x_37); +if (lean_is_scalar(x_302)) { + x_304 = lean_alloc_ctor(1, 1, 0); +} else { + x_304 = x_302; +} +lean_ctor_set(x_304, 0, x_303); +x_305 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_305, 0, x_304); +lean_ctor_set(x_305, 1, x_300); +x_11 = x_305; +goto block_29; +} +} +else +{ +lean_object* x_306; lean_object* x_307; size_t x_308; size_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; +x_306 = lean_ctor_get(x_37, 0); +lean_inc(x_306); +lean_dec(x_37); +x_307 = lean_array_get_size(x_306); +x_308 = lean_usize_of_nat(x_307); +lean_dec(x_307); +x_309 = 0; +x_310 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_308, x_309, x_306, x_232); +x_311 = lean_ctor_get(x_310, 0); +lean_inc(x_311); +x_312 = lean_ctor_get(x_310, 1); +lean_inc(x_312); +if (lean_is_exclusive(x_310)) { + lean_ctor_release(x_310, 0); + lean_ctor_release(x_310, 1); + x_313 = x_310; +} else { + lean_dec_ref(x_310); + x_313 = lean_box(0); +} +x_314 = lean_ctor_get(x_311, 0); +lean_inc(x_314); +if (lean_is_exclusive(x_311)) { + lean_ctor_release(x_311, 0); + x_315 = x_311; +} else { + lean_dec_ref(x_311); + x_315 = lean_box(0); +} +x_316 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_316, 0, x_314); +x_317 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_317, 0, x_31); +lean_ctor_set(x_317, 1, x_32); +lean_ctor_set(x_317, 2, x_38); +lean_ctor_set(x_317, 3, x_38); +lean_ctor_set(x_317, 4, x_34); +lean_ctor_set(x_317, 5, x_235); +lean_ctor_set(x_317, 6, x_38); +lean_ctor_set(x_317, 7, x_316); +if (lean_is_scalar(x_315)) { + x_318 = lean_alloc_ctor(1, 1, 0); +} else { + x_318 = x_315; +} +lean_ctor_set(x_318, 0, x_317); +if (lean_is_scalar(x_313)) { + x_319 = lean_alloc_ctor(0, 2, 0); +} else { + x_319 = x_313; +} +lean_ctor_set(x_319, 0, x_318); +lean_ctor_set(x_319, 1, x_312); +x_11 = x_319; +goto block_29; +} +} +} +else +{ +uint8_t x_320; +lean_free_object(x_221); +x_320 = !lean_is_exclusive(x_36); +if (x_320 == 0) +{ +lean_object* x_321; lean_object* x_322; size_t x_323; size_t x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; uint8_t x_328; +x_321 = lean_ctor_get(x_36, 0); +x_322 = lean_array_get_size(x_321); +x_323 = lean_usize_of_nat(x_322); +lean_dec(x_322); +x_324 = 0; +x_325 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_323, x_324, x_321, x_232); +x_326 = lean_ctor_get(x_325, 0); +lean_inc(x_326); +x_327 = lean_ctor_get(x_325, 1); +lean_inc(x_327); +lean_dec(x_325); +x_328 = !lean_is_exclusive(x_326); +if (x_328 == 0) +{ +lean_object* x_329; +x_329 = lean_ctor_get(x_326, 0); +lean_ctor_set(x_36, 0, x_329); +lean_ctor_set(x_326, 0, x_36); +x_236 = x_326; +x_237 = x_327; +goto block_282; +} +else +{ +lean_object* x_330; lean_object* x_331; +x_330 = lean_ctor_get(x_326, 0); +lean_inc(x_330); +lean_dec(x_326); +lean_ctor_set(x_36, 0, x_330); +x_331 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_331, 0, x_36); +x_236 = x_331; +x_237 = x_327; +goto block_282; +} +} +else +{ +lean_object* x_332; lean_object* x_333; size_t x_334; size_t 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_332 = lean_ctor_get(x_36, 0); +lean_inc(x_332); +lean_dec(x_36); +x_333 = lean_array_get_size(x_332); +x_334 = lean_usize_of_nat(x_333); +lean_dec(x_333); +x_335 = 0; +x_336 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_334, x_335, x_332, x_232); +x_337 = lean_ctor_get(x_336, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_336, 1); +lean_inc(x_338); +lean_dec(x_336); +x_339 = lean_ctor_get(x_337, 0); +lean_inc(x_339); +if (lean_is_exclusive(x_337)) { + lean_ctor_release(x_337, 0); + x_340 = x_337; +} else { + lean_dec_ref(x_337); + x_340 = lean_box(0); +} +x_341 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_341, 0, x_339); +if (lean_is_scalar(x_340)) { + x_342 = lean_alloc_ctor(1, 1, 0); +} else { + x_342 = x_340; +} +lean_ctor_set(x_342, 0, x_341); +x_236 = x_342; +x_237 = x_338; +goto block_282; +} +} +block_282: +{ +if (lean_obj_tag(x_37) == 0) +{ +uint8_t x_238; +x_238 = !lean_is_exclusive(x_236); +if (x_238 == 0) +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; +x_239 = lean_ctor_get(x_236, 0); +x_240 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_240, 0, x_31); +lean_ctor_set(x_240, 1, x_32); +lean_ctor_set(x_240, 2, x_38); +lean_ctor_set(x_240, 3, x_38); +lean_ctor_set(x_240, 4, x_34); +lean_ctor_set(x_240, 5, x_235); +lean_ctor_set(x_240, 6, x_239); +lean_ctor_set(x_240, 7, x_38); +lean_ctor_set(x_236, 0, x_240); +if (lean_is_scalar(x_233)) { + x_241 = lean_alloc_ctor(0, 2, 0); +} else { + x_241 = x_233; +} +lean_ctor_set(x_241, 0, x_236); +lean_ctor_set(x_241, 1, x_237); +x_11 = x_241; +goto block_29; +} +else +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +x_242 = lean_ctor_get(x_236, 0); +lean_inc(x_242); +lean_dec(x_236); +x_243 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_243, 0, x_31); +lean_ctor_set(x_243, 1, x_32); +lean_ctor_set(x_243, 2, x_38); +lean_ctor_set(x_243, 3, x_38); +lean_ctor_set(x_243, 4, x_34); +lean_ctor_set(x_243, 5, x_235); +lean_ctor_set(x_243, 6, x_242); +lean_ctor_set(x_243, 7, x_38); +x_244 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_244, 0, x_243); +if (lean_is_scalar(x_233)) { + x_245 = lean_alloc_ctor(0, 2, 0); +} else { + x_245 = x_233; +} +lean_ctor_set(x_245, 0, x_244); +lean_ctor_set(x_245, 1, x_237); +x_11 = x_245; +goto block_29; +} +} +else +{ +lean_object* x_246; uint8_t x_247; +lean_dec(x_233); +x_246 = lean_ctor_get(x_236, 0); +lean_inc(x_246); +lean_dec(x_236); +x_247 = !lean_is_exclusive(x_37); +if (x_247 == 0) +{ +lean_object* x_248; lean_object* x_249; size_t x_250; size_t x_251; lean_object* x_252; uint8_t x_253; +x_248 = lean_ctor_get(x_37, 0); +x_249 = lean_array_get_size(x_248); +x_250 = lean_usize_of_nat(x_249); +lean_dec(x_249); +x_251 = 0; +x_252 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_250, x_251, x_248, x_237); +x_253 = !lean_is_exclusive(x_252); +if (x_253 == 0) +{ +lean_object* x_254; uint8_t x_255; +x_254 = lean_ctor_get(x_252, 0); +x_255 = !lean_is_exclusive(x_254); +if (x_255 == 0) +{ +lean_object* x_256; lean_object* x_257; +x_256 = lean_ctor_get(x_254, 0); +lean_ctor_set(x_37, 0, x_256); +x_257 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_257, 0, x_31); +lean_ctor_set(x_257, 1, x_32); +lean_ctor_set(x_257, 2, x_38); +lean_ctor_set(x_257, 3, x_38); +lean_ctor_set(x_257, 4, x_34); +lean_ctor_set(x_257, 5, x_235); +lean_ctor_set(x_257, 6, x_246); +lean_ctor_set(x_257, 7, x_37); +lean_ctor_set(x_254, 0, x_257); +x_11 = x_252; +goto block_29; +} +else +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_258 = lean_ctor_get(x_254, 0); +lean_inc(x_258); +lean_dec(x_254); +lean_ctor_set(x_37, 0, x_258); +x_259 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_259, 0, x_31); +lean_ctor_set(x_259, 1, x_32); +lean_ctor_set(x_259, 2, x_38); +lean_ctor_set(x_259, 3, x_38); +lean_ctor_set(x_259, 4, x_34); +lean_ctor_set(x_259, 5, x_235); +lean_ctor_set(x_259, 6, x_246); +lean_ctor_set(x_259, 7, x_37); +x_260 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_252, 0, x_260); +x_11 = x_252; +goto block_29; +} +} +else +{ +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; +x_261 = lean_ctor_get(x_252, 0); +x_262 = lean_ctor_get(x_252, 1); +lean_inc(x_262); +lean_inc(x_261); +lean_dec(x_252); +x_263 = lean_ctor_get(x_261, 0); +lean_inc(x_263); +if (lean_is_exclusive(x_261)) { + lean_ctor_release(x_261, 0); + x_264 = x_261; +} else { + lean_dec_ref(x_261); + x_264 = lean_box(0); +} +lean_ctor_set(x_37, 0, x_263); +x_265 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_265, 0, x_31); +lean_ctor_set(x_265, 1, x_32); +lean_ctor_set(x_265, 2, x_38); +lean_ctor_set(x_265, 3, x_38); +lean_ctor_set(x_265, 4, x_34); +lean_ctor_set(x_265, 5, x_235); +lean_ctor_set(x_265, 6, x_246); +lean_ctor_set(x_265, 7, x_37); +if (lean_is_scalar(x_264)) { + x_266 = lean_alloc_ctor(1, 1, 0); +} else { + x_266 = x_264; +} +lean_ctor_set(x_266, 0, x_265); +x_267 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_262); +x_11 = x_267; +goto block_29; +} +} +else +{ +lean_object* x_268; lean_object* x_269; size_t x_270; size_t 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; +x_268 = lean_ctor_get(x_37, 0); +lean_inc(x_268); +lean_dec(x_37); +x_269 = lean_array_get_size(x_268); +x_270 = lean_usize_of_nat(x_269); +lean_dec(x_269); +x_271 = 0; +x_272 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_270, x_271, x_268, x_237); +x_273 = lean_ctor_get(x_272, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_272, 1); +lean_inc(x_274); +if (lean_is_exclusive(x_272)) { + lean_ctor_release(x_272, 0); + lean_ctor_release(x_272, 1); + x_275 = x_272; +} else { + lean_dec_ref(x_272); + x_275 = lean_box(0); +} +x_276 = lean_ctor_get(x_273, 0); +lean_inc(x_276); +if (lean_is_exclusive(x_273)) { + lean_ctor_release(x_273, 0); + x_277 = x_273; +} else { + lean_dec_ref(x_273); + x_277 = lean_box(0); +} +x_278 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_278, 0, x_276); +x_279 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_279, 0, x_31); +lean_ctor_set(x_279, 1, x_32); +lean_ctor_set(x_279, 2, x_38); +lean_ctor_set(x_279, 3, x_38); +lean_ctor_set(x_279, 4, x_34); +lean_ctor_set(x_279, 5, x_235); +lean_ctor_set(x_279, 6, x_246); +lean_ctor_set(x_279, 7, x_278); +if (lean_is_scalar(x_277)) { + x_280 = lean_alloc_ctor(1, 1, 0); +} else { + x_280 = x_277; +} +lean_ctor_set(x_280, 0, x_279); +if (lean_is_scalar(x_275)) { + x_281 = lean_alloc_ctor(0, 2, 0); +} else { + x_281 = x_275; +} +lean_ctor_set(x_281, 0, x_280); +lean_ctor_set(x_281, 1, x_274); +x_11 = x_281; +goto block_29; +} +} +} +} +else +{ +lean_object* x_343; lean_object* x_344; lean_object* x_345; +x_343 = lean_ctor_get(x_221, 0); +lean_inc(x_343); +lean_dec(x_221); +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_233); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_368; lean_object* x_369; lean_object* x_370; +x_368 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_368, 0, x_31); +lean_ctor_set(x_368, 1, x_32); +lean_ctor_set(x_368, 2, x_38); +lean_ctor_set(x_368, 3, x_38); +lean_ctor_set(x_368, 4, x_34); +lean_ctor_set(x_368, 5, x_343); +lean_ctor_set(x_368, 6, x_38); +lean_ctor_set(x_368, 7, x_38); +x_369 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_369, 0, x_368); +x_370 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_370, 0, x_369); +lean_ctor_set(x_370, 1, x_232); +x_11 = x_370; +goto block_29; +} +else +{ +lean_object* x_371; 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; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; +x_371 = lean_ctor_get(x_37, 0); +lean_inc(x_371); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_372 = x_37; +} else { + lean_dec_ref(x_37); + x_372 = lean_box(0); +} +x_373 = lean_array_get_size(x_371); +x_374 = lean_usize_of_nat(x_373); +lean_dec(x_373); +x_375 = 0; +x_376 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_374, x_375, x_371, x_232); +x_377 = lean_ctor_get(x_376, 0); +lean_inc(x_377); +x_378 = lean_ctor_get(x_376, 1); +lean_inc(x_378); +if (lean_is_exclusive(x_376)) { + lean_ctor_release(x_376, 0); + lean_ctor_release(x_376, 1); + x_379 = x_376; +} else { + lean_dec_ref(x_376); + x_379 = lean_box(0); +} +x_380 = lean_ctor_get(x_377, 0); +lean_inc(x_380); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + x_381 = x_377; +} else { + lean_dec_ref(x_377); + x_381 = lean_box(0); +} +if (lean_is_scalar(x_372)) { + x_382 = lean_alloc_ctor(1, 1, 0); +} else { + x_382 = x_372; +} +lean_ctor_set(x_382, 0, x_380); +x_383 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_383, 0, x_31); +lean_ctor_set(x_383, 1, x_32); +lean_ctor_set(x_383, 2, x_38); +lean_ctor_set(x_383, 3, x_38); +lean_ctor_set(x_383, 4, x_34); +lean_ctor_set(x_383, 5, x_343); +lean_ctor_set(x_383, 6, x_38); +lean_ctor_set(x_383, 7, x_382); +if (lean_is_scalar(x_381)) { + x_384 = lean_alloc_ctor(1, 1, 0); +} else { + x_384 = x_381; +} +lean_ctor_set(x_384, 0, x_383); +if (lean_is_scalar(x_379)) { + x_385 = lean_alloc_ctor(0, 2, 0); +} else { + x_385 = x_379; +} +lean_ctor_set(x_385, 0, x_384); +lean_ctor_set(x_385, 1, x_378); +x_11 = x_385; +goto block_29; +} +} +else +{ +lean_object* x_386; lean_object* x_387; lean_object* x_388; size_t x_389; size_t x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; +x_386 = lean_ctor_get(x_36, 0); +lean_inc(x_386); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + x_387 = x_36; +} else { + lean_dec_ref(x_36); + x_387 = lean_box(0); +} +x_388 = lean_array_get_size(x_386); +x_389 = lean_usize_of_nat(x_388); +lean_dec(x_388); +x_390 = 0; +x_391 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_389, x_390, x_386, x_232); +x_392 = lean_ctor_get(x_391, 0); +lean_inc(x_392); +x_393 = lean_ctor_get(x_391, 1); +lean_inc(x_393); +lean_dec(x_391); +x_394 = lean_ctor_get(x_392, 0); +lean_inc(x_394); +if (lean_is_exclusive(x_392)) { + lean_ctor_release(x_392, 0); + x_395 = x_392; +} else { + lean_dec_ref(x_392); + x_395 = lean_box(0); +} +if (lean_is_scalar(x_387)) { + x_396 = lean_alloc_ctor(1, 1, 0); +} else { + x_396 = x_387; +} +lean_ctor_set(x_396, 0, x_394); +if (lean_is_scalar(x_395)) { + x_397 = lean_alloc_ctor(1, 1, 0); +} else { + x_397 = x_395; +} +lean_ctor_set(x_397, 0, x_396); +x_344 = x_397; +x_345 = x_393; +goto block_367; +} +block_367: +{ +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; +x_346 = lean_ctor_get(x_344, 0); +lean_inc(x_346); +if (lean_is_exclusive(x_344)) { + lean_ctor_release(x_344, 0); + x_347 = x_344; +} else { + lean_dec_ref(x_344); + x_347 = lean_box(0); +} +x_348 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_348, 0, x_31); +lean_ctor_set(x_348, 1, x_32); +lean_ctor_set(x_348, 2, x_38); +lean_ctor_set(x_348, 3, x_38); +lean_ctor_set(x_348, 4, x_34); +lean_ctor_set(x_348, 5, x_343); +lean_ctor_set(x_348, 6, x_346); +lean_ctor_set(x_348, 7, x_38); +if (lean_is_scalar(x_347)) { + x_349 = lean_alloc_ctor(1, 1, 0); +} else { + x_349 = x_347; +} +lean_ctor_set(x_349, 0, x_348); +if (lean_is_scalar(x_233)) { + x_350 = lean_alloc_ctor(0, 2, 0); +} else { + x_350 = x_233; +} +lean_ctor_set(x_350, 0, x_349); +lean_ctor_set(x_350, 1, x_345); +x_11 = x_350; +goto block_29; +} +else +{ +lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; size_t x_355; size_t x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; +lean_dec(x_233); +x_351 = lean_ctor_get(x_344, 0); +lean_inc(x_351); +lean_dec(x_344); +x_352 = lean_ctor_get(x_37, 0); +lean_inc(x_352); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_353 = x_37; +} else { + lean_dec_ref(x_37); + x_353 = lean_box(0); +} +x_354 = lean_array_get_size(x_352); +x_355 = lean_usize_of_nat(x_354); +lean_dec(x_354); +x_356 = 0; +x_357 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_355, x_356, x_352, x_345); +x_358 = lean_ctor_get(x_357, 0); +lean_inc(x_358); +x_359 = lean_ctor_get(x_357, 1); +lean_inc(x_359); +if (lean_is_exclusive(x_357)) { + lean_ctor_release(x_357, 0); + lean_ctor_release(x_357, 1); + x_360 = x_357; +} else { + lean_dec_ref(x_357); + x_360 = lean_box(0); +} +x_361 = lean_ctor_get(x_358, 0); +lean_inc(x_361); +if (lean_is_exclusive(x_358)) { + lean_ctor_release(x_358, 0); + x_362 = x_358; +} else { + lean_dec_ref(x_358); + x_362 = lean_box(0); +} +if (lean_is_scalar(x_353)) { + x_363 = lean_alloc_ctor(1, 1, 0); +} else { + x_363 = x_353; +} +lean_ctor_set(x_363, 0, x_361); +x_364 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_364, 0, x_31); +lean_ctor_set(x_364, 1, x_32); +lean_ctor_set(x_364, 2, x_38); +lean_ctor_set(x_364, 3, x_38); +lean_ctor_set(x_364, 4, x_34); +lean_ctor_set(x_364, 5, x_343); +lean_ctor_set(x_364, 6, x_351); +lean_ctor_set(x_364, 7, x_363); +if (lean_is_scalar(x_362)) { + x_365 = lean_alloc_ctor(1, 1, 0); +} else { + x_365 = x_362; +} +lean_ctor_set(x_365, 0, x_364); +if (lean_is_scalar(x_360)) { + x_366 = lean_alloc_ctor(0, 2, 0); +} else { + x_366 = x_360; +} +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_359); +x_11 = x_366; +goto block_29; +} +} +} +} +} +else +{ +lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; +x_398 = lean_ctor_get(x_34, 0); +lean_inc(x_398); +lean_dec(x_34); +x_399 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_399, 0, x_398); +x_400 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_400, 0, x_38); +x_401 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_400, x_35, x_4); +x_402 = lean_ctor_get(x_401, 0); +lean_inc(x_402); +if (lean_obj_tag(x_402) == 0) +{ +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_dec(x_399); +lean_dec(x_37); +lean_dec(x_36); +lean_dec(x_32); +lean_dec(x_31); +x_403 = lean_ctor_get(x_401, 1); +lean_inc(x_403); +if (lean_is_exclusive(x_401)) { + lean_ctor_release(x_401, 0); + lean_ctor_release(x_401, 1); + x_404 = x_401; +} else { + lean_dec_ref(x_401); + x_404 = lean_box(0); +} +x_405 = lean_ctor_get(x_402, 0); +lean_inc(x_405); +if (lean_is_exclusive(x_402)) { + lean_ctor_release(x_402, 0); + x_406 = x_402; +} else { + lean_dec_ref(x_402); + x_406 = lean_box(0); +} +if (lean_is_scalar(x_406)) { + x_407 = lean_alloc_ctor(0, 1, 0); +} else { + x_407 = x_406; +} +lean_ctor_set(x_407, 0, x_405); +if (lean_is_scalar(x_404)) { + x_408 = lean_alloc_ctor(0, 2, 0); +} else { + x_408 = x_404; +} +lean_ctor_set(x_408, 0, x_407); +lean_ctor_set(x_408, 1, x_403); +x_11 = x_408; +goto block_29; +} +else +{ +lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; +x_409 = lean_ctor_get(x_401, 1); +lean_inc(x_409); +if (lean_is_exclusive(x_401)) { + lean_ctor_release(x_401, 0); + lean_ctor_release(x_401, 1); + x_410 = x_401; +} else { + lean_dec_ref(x_401); + x_410 = lean_box(0); +} +x_411 = lean_ctor_get(x_402, 0); +lean_inc(x_411); +if (lean_is_exclusive(x_402)) { + lean_ctor_release(x_402, 0); + x_412 = x_402; +} else { + lean_dec_ref(x_402); + x_412 = lean_box(0); +} +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_410); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_437; lean_object* x_438; lean_object* x_439; +x_437 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_437, 0, x_31); +lean_ctor_set(x_437, 1, x_32); +lean_ctor_set(x_437, 2, x_38); +lean_ctor_set(x_437, 3, x_38); +lean_ctor_set(x_437, 4, x_399); +lean_ctor_set(x_437, 5, x_411); +lean_ctor_set(x_437, 6, x_38); +lean_ctor_set(x_437, 7, x_38); +if (lean_is_scalar(x_412)) { + x_438 = lean_alloc_ctor(1, 1, 0); +} else { + x_438 = x_412; +} +lean_ctor_set(x_438, 0, x_437); +x_439 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_439, 0, x_438); +lean_ctor_set(x_439, 1, x_409); +x_11 = x_439; +goto block_29; +} +else +{ +lean_object* x_440; lean_object* x_441; lean_object* x_442; size_t x_443; size_t 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_dec(x_412); +x_440 = lean_ctor_get(x_37, 0); +lean_inc(x_440); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_441 = x_37; +} else { + lean_dec_ref(x_37); + x_441 = lean_box(0); +} +x_442 = lean_array_get_size(x_440); +x_443 = lean_usize_of_nat(x_442); +lean_dec(x_442); +x_444 = 0; +x_445 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_443, x_444, x_440, x_409); +x_446 = lean_ctor_get(x_445, 0); +lean_inc(x_446); +x_447 = lean_ctor_get(x_445, 1); +lean_inc(x_447); +if (lean_is_exclusive(x_445)) { + lean_ctor_release(x_445, 0); + lean_ctor_release(x_445, 1); + x_448 = x_445; +} else { + lean_dec_ref(x_445); + x_448 = lean_box(0); +} +x_449 = lean_ctor_get(x_446, 0); +lean_inc(x_449); +if (lean_is_exclusive(x_446)) { + lean_ctor_release(x_446, 0); + x_450 = x_446; +} else { + lean_dec_ref(x_446); + x_450 = lean_box(0); +} +if (lean_is_scalar(x_441)) { + x_451 = lean_alloc_ctor(1, 1, 0); +} else { + x_451 = x_441; +} +lean_ctor_set(x_451, 0, x_449); +x_452 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_452, 0, x_31); +lean_ctor_set(x_452, 1, x_32); +lean_ctor_set(x_452, 2, x_38); +lean_ctor_set(x_452, 3, x_38); +lean_ctor_set(x_452, 4, x_399); +lean_ctor_set(x_452, 5, x_411); +lean_ctor_set(x_452, 6, x_38); +lean_ctor_set(x_452, 7, x_451); +if (lean_is_scalar(x_450)) { + x_453 = lean_alloc_ctor(1, 1, 0); +} else { + x_453 = x_450; +} +lean_ctor_set(x_453, 0, x_452); +if (lean_is_scalar(x_448)) { + x_454 = lean_alloc_ctor(0, 2, 0); +} else { + x_454 = x_448; +} +lean_ctor_set(x_454, 0, x_453); +lean_ctor_set(x_454, 1, x_447); +x_11 = x_454; +goto block_29; +} +} +else +{ +lean_object* x_455; lean_object* x_456; lean_object* x_457; size_t x_458; size_t 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_dec(x_412); +x_455 = lean_ctor_get(x_36, 0); +lean_inc(x_455); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + x_456 = x_36; +} else { + lean_dec_ref(x_36); + x_456 = lean_box(0); +} +x_457 = lean_array_get_size(x_455); +x_458 = lean_usize_of_nat(x_457); +lean_dec(x_457); +x_459 = 0; +x_460 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_458, x_459, x_455, x_409); +x_461 = lean_ctor_get(x_460, 0); +lean_inc(x_461); +x_462 = lean_ctor_get(x_460, 1); +lean_inc(x_462); +lean_dec(x_460); +x_463 = lean_ctor_get(x_461, 0); +lean_inc(x_463); +if (lean_is_exclusive(x_461)) { + lean_ctor_release(x_461, 0); + x_464 = x_461; +} else { + lean_dec_ref(x_461); + x_464 = lean_box(0); +} +if (lean_is_scalar(x_456)) { + x_465 = lean_alloc_ctor(1, 1, 0); +} else { + x_465 = x_456; +} +lean_ctor_set(x_465, 0, x_463); +if (lean_is_scalar(x_464)) { + x_466 = lean_alloc_ctor(1, 1, 0); +} else { + x_466 = x_464; +} +lean_ctor_set(x_466, 0, x_465); +x_413 = x_466; +x_414 = x_462; +goto block_436; +} +block_436: +{ +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; +x_415 = lean_ctor_get(x_413, 0); +lean_inc(x_415); +if (lean_is_exclusive(x_413)) { + lean_ctor_release(x_413, 0); + x_416 = x_413; +} else { + lean_dec_ref(x_413); + x_416 = lean_box(0); +} +x_417 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_417, 0, x_31); +lean_ctor_set(x_417, 1, x_32); +lean_ctor_set(x_417, 2, x_38); +lean_ctor_set(x_417, 3, x_38); +lean_ctor_set(x_417, 4, x_399); +lean_ctor_set(x_417, 5, x_411); +lean_ctor_set(x_417, 6, x_415); +lean_ctor_set(x_417, 7, x_38); +if (lean_is_scalar(x_416)) { + x_418 = lean_alloc_ctor(1, 1, 0); +} else { + x_418 = x_416; +} +lean_ctor_set(x_418, 0, x_417); +if (lean_is_scalar(x_410)) { + x_419 = lean_alloc_ctor(0, 2, 0); +} else { + x_419 = x_410; +} +lean_ctor_set(x_419, 0, x_418); +lean_ctor_set(x_419, 1, x_414); +x_11 = x_419; +goto block_29; +} +else +{ +lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; size_t x_424; size_t 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_dec(x_410); +x_420 = lean_ctor_get(x_413, 0); +lean_inc(x_420); +lean_dec(x_413); +x_421 = lean_ctor_get(x_37, 0); +lean_inc(x_421); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_422 = x_37; +} else { + lean_dec_ref(x_37); + x_422 = lean_box(0); +} +x_423 = lean_array_get_size(x_421); +x_424 = lean_usize_of_nat(x_423); +lean_dec(x_423); +x_425 = 0; +x_426 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_424, x_425, x_421, x_414); +x_427 = lean_ctor_get(x_426, 0); +lean_inc(x_427); +x_428 = lean_ctor_get(x_426, 1); +lean_inc(x_428); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + x_429 = x_426; +} else { + lean_dec_ref(x_426); + x_429 = lean_box(0); +} +x_430 = lean_ctor_get(x_427, 0); +lean_inc(x_430); +if (lean_is_exclusive(x_427)) { + lean_ctor_release(x_427, 0); + x_431 = x_427; +} else { + lean_dec_ref(x_427); + x_431 = lean_box(0); +} +if (lean_is_scalar(x_422)) { + x_432 = lean_alloc_ctor(1, 1, 0); +} else { + x_432 = x_422; +} +lean_ctor_set(x_432, 0, x_430); +x_433 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_433, 0, x_31); +lean_ctor_set(x_433, 1, x_32); +lean_ctor_set(x_433, 2, x_38); +lean_ctor_set(x_433, 3, x_38); +lean_ctor_set(x_433, 4, x_399); +lean_ctor_set(x_433, 5, x_411); +lean_ctor_set(x_433, 6, x_420); +lean_ctor_set(x_433, 7, x_432); +if (lean_is_scalar(x_431)) { + x_434 = lean_alloc_ctor(1, 1, 0); +} else { + x_434 = x_431; +} +lean_ctor_set(x_434, 0, x_433); +if (lean_is_scalar(x_429)) { + x_435 = lean_alloc_ctor(0, 2, 0); +} else { + x_435 = x_429; +} +lean_ctor_set(x_435, 0, x_434); +lean_ctor_set(x_435, 1, x_428); +x_11 = x_435; +goto block_29; +} +} +} +} +} +} +else +{ +uint8_t x_467; +x_467 = !lean_is_exclusive(x_33); +if (x_467 == 0) +{ +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_468; lean_object* x_469; lean_object* x_470; +x_468 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_468, 0, x_38); +x_469 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_468, x_35, x_4); +x_470 = lean_ctor_get(x_469, 0); +lean_inc(x_470); +if (lean_obj_tag(x_470) == 0) +{ +uint8_t x_471; +lean_dec(x_33); +lean_dec(x_37); +lean_dec(x_36); +lean_dec(x_32); +lean_dec(x_31); +x_471 = !lean_is_exclusive(x_469); +if (x_471 == 0) +{ +lean_object* x_472; uint8_t x_473; +x_472 = lean_ctor_get(x_469, 0); +lean_dec(x_472); +x_473 = !lean_is_exclusive(x_470); +if (x_473 == 0) +{ +x_11 = x_469; +goto block_29; +} +else +{ +lean_object* x_474; lean_object* x_475; +x_474 = lean_ctor_get(x_470, 0); +lean_inc(x_474); +lean_dec(x_470); +x_475 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_475, 0, x_474); +lean_ctor_set(x_469, 0, x_475); +x_11 = x_469; +goto block_29; +} +} +else +{ +lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; +x_476 = lean_ctor_get(x_469, 1); +lean_inc(x_476); +lean_dec(x_469); +x_477 = lean_ctor_get(x_470, 0); +lean_inc(x_477); +if (lean_is_exclusive(x_470)) { + lean_ctor_release(x_470, 0); + x_478 = x_470; +} else { + lean_dec_ref(x_470); + x_478 = lean_box(0); +} +if (lean_is_scalar(x_478)) { + x_479 = lean_alloc_ctor(0, 1, 0); +} else { + x_479 = x_478; +} +lean_ctor_set(x_479, 0, x_477); +x_480 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_480, 0, x_479); +lean_ctor_set(x_480, 1, x_476); +x_11 = x_480; +goto block_29; +} +} +else +{ +lean_object* x_481; lean_object* x_482; uint8_t x_483; +x_481 = lean_ctor_get(x_469, 1); +lean_inc(x_481); +if (lean_is_exclusive(x_469)) { + lean_ctor_release(x_469, 0); + lean_ctor_release(x_469, 1); + x_482 = x_469; +} else { + lean_dec_ref(x_469); + x_482 = lean_box(0); +} +x_483 = !lean_is_exclusive(x_470); +if (x_483 == 0) +{ +lean_object* x_484; lean_object* x_485; lean_object* x_486; +x_484 = lean_ctor_get(x_470, 0); +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_482); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_532; lean_object* x_533; +x_532 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_532, 0, x_31); +lean_ctor_set(x_532, 1, x_32); +lean_ctor_set(x_532, 2, x_38); +lean_ctor_set(x_532, 3, x_33); +lean_ctor_set(x_532, 4, x_38); +lean_ctor_set(x_532, 5, x_484); +lean_ctor_set(x_532, 6, x_38); +lean_ctor_set(x_532, 7, x_38); +lean_ctor_set(x_470, 0, x_532); +x_533 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_533, 0, x_470); +lean_ctor_set(x_533, 1, x_481); +x_11 = x_533; +goto block_29; +} +else +{ +uint8_t x_534; +lean_free_object(x_470); +x_534 = !lean_is_exclusive(x_37); +if (x_534 == 0) +{ +lean_object* x_535; lean_object* x_536; size_t x_537; size_t x_538; lean_object* x_539; uint8_t x_540; +x_535 = lean_ctor_get(x_37, 0); +x_536 = lean_array_get_size(x_535); +x_537 = lean_usize_of_nat(x_536); +lean_dec(x_536); +x_538 = 0; +x_539 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_537, x_538, x_535, x_481); +x_540 = !lean_is_exclusive(x_539); +if (x_540 == 0) +{ +lean_object* x_541; uint8_t x_542; +x_541 = lean_ctor_get(x_539, 0); +x_542 = !lean_is_exclusive(x_541); +if (x_542 == 0) +{ +lean_object* x_543; lean_object* x_544; +x_543 = lean_ctor_get(x_541, 0); +lean_ctor_set(x_37, 0, x_543); +x_544 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_544, 0, x_31); +lean_ctor_set(x_544, 1, x_32); +lean_ctor_set(x_544, 2, x_38); +lean_ctor_set(x_544, 3, x_33); +lean_ctor_set(x_544, 4, x_38); +lean_ctor_set(x_544, 5, x_484); +lean_ctor_set(x_544, 6, x_38); +lean_ctor_set(x_544, 7, x_37); +lean_ctor_set(x_541, 0, x_544); +x_11 = x_539; +goto block_29; +} +else +{ +lean_object* x_545; lean_object* x_546; lean_object* x_547; +x_545 = lean_ctor_get(x_541, 0); +lean_inc(x_545); +lean_dec(x_541); +lean_ctor_set(x_37, 0, x_545); +x_546 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_546, 0, x_31); +lean_ctor_set(x_546, 1, x_32); +lean_ctor_set(x_546, 2, x_38); +lean_ctor_set(x_546, 3, x_33); +lean_ctor_set(x_546, 4, x_38); +lean_ctor_set(x_546, 5, x_484); +lean_ctor_set(x_546, 6, x_38); +lean_ctor_set(x_546, 7, x_37); +x_547 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_547, 0, x_546); +lean_ctor_set(x_539, 0, x_547); +x_11 = x_539; +goto block_29; +} +} +else +{ +lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; +x_548 = lean_ctor_get(x_539, 0); +x_549 = lean_ctor_get(x_539, 1); +lean_inc(x_549); +lean_inc(x_548); +lean_dec(x_539); +x_550 = lean_ctor_get(x_548, 0); +lean_inc(x_550); +if (lean_is_exclusive(x_548)) { + lean_ctor_release(x_548, 0); + x_551 = x_548; +} else { + lean_dec_ref(x_548); + x_551 = lean_box(0); +} +lean_ctor_set(x_37, 0, x_550); +x_552 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_552, 0, x_31); +lean_ctor_set(x_552, 1, x_32); +lean_ctor_set(x_552, 2, x_38); +lean_ctor_set(x_552, 3, x_33); +lean_ctor_set(x_552, 4, x_38); +lean_ctor_set(x_552, 5, x_484); +lean_ctor_set(x_552, 6, x_38); +lean_ctor_set(x_552, 7, x_37); +if (lean_is_scalar(x_551)) { + x_553 = lean_alloc_ctor(1, 1, 0); +} else { + x_553 = x_551; +} +lean_ctor_set(x_553, 0, x_552); +x_554 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_554, 0, x_553); +lean_ctor_set(x_554, 1, x_549); +x_11 = x_554; +goto block_29; +} +} +else +{ +lean_object* x_555; lean_object* x_556; size_t 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; +x_555 = lean_ctor_get(x_37, 0); +lean_inc(x_555); +lean_dec(x_37); +x_556 = lean_array_get_size(x_555); +x_557 = lean_usize_of_nat(x_556); +lean_dec(x_556); +x_558 = 0; +x_559 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_557, x_558, x_555, x_481); +x_560 = lean_ctor_get(x_559, 0); +lean_inc(x_560); +x_561 = lean_ctor_get(x_559, 1); +lean_inc(x_561); +if (lean_is_exclusive(x_559)) { + lean_ctor_release(x_559, 0); + lean_ctor_release(x_559, 1); + x_562 = x_559; +} else { + lean_dec_ref(x_559); + x_562 = lean_box(0); +} +x_563 = lean_ctor_get(x_560, 0); +lean_inc(x_563); +if (lean_is_exclusive(x_560)) { + lean_ctor_release(x_560, 0); + x_564 = x_560; +} else { + lean_dec_ref(x_560); + x_564 = lean_box(0); +} +x_565 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_565, 0, x_563); +x_566 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_566, 0, x_31); +lean_ctor_set(x_566, 1, x_32); +lean_ctor_set(x_566, 2, x_38); +lean_ctor_set(x_566, 3, x_33); +lean_ctor_set(x_566, 4, x_38); +lean_ctor_set(x_566, 5, x_484); +lean_ctor_set(x_566, 6, x_38); +lean_ctor_set(x_566, 7, x_565); +if (lean_is_scalar(x_564)) { + x_567 = lean_alloc_ctor(1, 1, 0); +} else { + x_567 = x_564; +} +lean_ctor_set(x_567, 0, x_566); +if (lean_is_scalar(x_562)) { + x_568 = lean_alloc_ctor(0, 2, 0); +} else { + x_568 = x_562; +} +lean_ctor_set(x_568, 0, x_567); +lean_ctor_set(x_568, 1, x_561); +x_11 = x_568; +goto block_29; +} +} +} +else +{ +uint8_t x_569; +lean_free_object(x_470); +x_569 = !lean_is_exclusive(x_36); +if (x_569 == 0) +{ +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; uint8_t x_577; +x_570 = lean_ctor_get(x_36, 0); +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_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_572, x_573, x_570, x_481); +x_575 = lean_ctor_get(x_574, 0); +lean_inc(x_575); +x_576 = lean_ctor_get(x_574, 1); +lean_inc(x_576); +lean_dec(x_574); +x_577 = !lean_is_exclusive(x_575); +if (x_577 == 0) +{ +lean_object* x_578; +x_578 = lean_ctor_get(x_575, 0); +lean_ctor_set(x_36, 0, x_578); +lean_ctor_set(x_575, 0, x_36); +x_485 = x_575; +x_486 = x_576; +goto block_531; +} +else +{ +lean_object* x_579; lean_object* x_580; +x_579 = lean_ctor_get(x_575, 0); +lean_inc(x_579); +lean_dec(x_575); +lean_ctor_set(x_36, 0, x_579); +x_580 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_580, 0, x_36); +x_485 = x_580; +x_486 = x_576; +goto block_531; +} +} +else +{ +lean_object* x_581; lean_object* x_582; size_t x_583; size_t 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; +x_581 = lean_ctor_get(x_36, 0); +lean_inc(x_581); +lean_dec(x_36); +x_582 = lean_array_get_size(x_581); +x_583 = lean_usize_of_nat(x_582); +lean_dec(x_582); +x_584 = 0; +x_585 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_583, x_584, x_581, x_481); +x_586 = lean_ctor_get(x_585, 0); +lean_inc(x_586); +x_587 = lean_ctor_get(x_585, 1); +lean_inc(x_587); +lean_dec(x_585); +x_588 = lean_ctor_get(x_586, 0); +lean_inc(x_588); +if (lean_is_exclusive(x_586)) { + lean_ctor_release(x_586, 0); + x_589 = x_586; +} else { + lean_dec_ref(x_586); + x_589 = lean_box(0); +} +x_590 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_590, 0, x_588); +if (lean_is_scalar(x_589)) { + x_591 = lean_alloc_ctor(1, 1, 0); +} else { + x_591 = x_589; +} +lean_ctor_set(x_591, 0, x_590); +x_485 = x_591; +x_486 = x_587; +goto block_531; +} +} +block_531: +{ +if (lean_obj_tag(x_37) == 0) +{ +uint8_t x_487; +x_487 = !lean_is_exclusive(x_485); +if (x_487 == 0) +{ +lean_object* x_488; lean_object* x_489; lean_object* x_490; +x_488 = lean_ctor_get(x_485, 0); +x_489 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_489, 0, x_31); +lean_ctor_set(x_489, 1, x_32); +lean_ctor_set(x_489, 2, x_38); +lean_ctor_set(x_489, 3, x_33); +lean_ctor_set(x_489, 4, x_38); +lean_ctor_set(x_489, 5, x_484); +lean_ctor_set(x_489, 6, x_488); +lean_ctor_set(x_489, 7, x_38); +lean_ctor_set(x_485, 0, x_489); +if (lean_is_scalar(x_482)) { + x_490 = lean_alloc_ctor(0, 2, 0); +} else { + x_490 = x_482; +} +lean_ctor_set(x_490, 0, x_485); +lean_ctor_set(x_490, 1, x_486); +x_11 = x_490; +goto block_29; +} +else +{ +lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; +x_491 = lean_ctor_get(x_485, 0); +lean_inc(x_491); +lean_dec(x_485); +x_492 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_492, 0, x_31); +lean_ctor_set(x_492, 1, x_32); +lean_ctor_set(x_492, 2, x_38); +lean_ctor_set(x_492, 3, x_33); +lean_ctor_set(x_492, 4, x_38); +lean_ctor_set(x_492, 5, x_484); +lean_ctor_set(x_492, 6, x_491); +lean_ctor_set(x_492, 7, x_38); +x_493 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_493, 0, x_492); +if (lean_is_scalar(x_482)) { + x_494 = lean_alloc_ctor(0, 2, 0); +} else { + x_494 = x_482; +} +lean_ctor_set(x_494, 0, x_493); +lean_ctor_set(x_494, 1, x_486); +x_11 = x_494; +goto block_29; +} +} +else +{ +lean_object* x_495; uint8_t x_496; +lean_dec(x_482); +x_495 = lean_ctor_get(x_485, 0); +lean_inc(x_495); +lean_dec(x_485); +x_496 = !lean_is_exclusive(x_37); +if (x_496 == 0) +{ +lean_object* x_497; lean_object* x_498; size_t x_499; size_t x_500; lean_object* x_501; uint8_t x_502; +x_497 = lean_ctor_get(x_37, 0); +x_498 = lean_array_get_size(x_497); +x_499 = lean_usize_of_nat(x_498); +lean_dec(x_498); +x_500 = 0; +x_501 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_499, x_500, x_497, x_486); +x_502 = !lean_is_exclusive(x_501); +if (x_502 == 0) +{ +lean_object* x_503; uint8_t x_504; +x_503 = lean_ctor_get(x_501, 0); +x_504 = !lean_is_exclusive(x_503); +if (x_504 == 0) +{ +lean_object* x_505; lean_object* x_506; +x_505 = lean_ctor_get(x_503, 0); +lean_ctor_set(x_37, 0, x_505); +x_506 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_506, 0, x_31); +lean_ctor_set(x_506, 1, x_32); +lean_ctor_set(x_506, 2, x_38); +lean_ctor_set(x_506, 3, x_33); +lean_ctor_set(x_506, 4, x_38); +lean_ctor_set(x_506, 5, x_484); +lean_ctor_set(x_506, 6, x_495); +lean_ctor_set(x_506, 7, x_37); +lean_ctor_set(x_503, 0, x_506); +x_11 = x_501; +goto block_29; +} +else +{ +lean_object* x_507; lean_object* x_508; lean_object* x_509; +x_507 = lean_ctor_get(x_503, 0); +lean_inc(x_507); +lean_dec(x_503); +lean_ctor_set(x_37, 0, x_507); +x_508 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_508, 0, x_31); +lean_ctor_set(x_508, 1, x_32); +lean_ctor_set(x_508, 2, x_38); +lean_ctor_set(x_508, 3, x_33); +lean_ctor_set(x_508, 4, x_38); +lean_ctor_set(x_508, 5, x_484); +lean_ctor_set(x_508, 6, x_495); +lean_ctor_set(x_508, 7, x_37); +x_509 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_509, 0, x_508); +lean_ctor_set(x_501, 0, x_509); +x_11 = x_501; +goto block_29; +} +} +else +{ +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; +x_510 = lean_ctor_get(x_501, 0); +x_511 = lean_ctor_get(x_501, 1); +lean_inc(x_511); +lean_inc(x_510); +lean_dec(x_501); +x_512 = lean_ctor_get(x_510, 0); +lean_inc(x_512); +if (lean_is_exclusive(x_510)) { + lean_ctor_release(x_510, 0); + x_513 = x_510; +} else { + lean_dec_ref(x_510); + x_513 = lean_box(0); +} +lean_ctor_set(x_37, 0, x_512); +x_514 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_514, 0, x_31); +lean_ctor_set(x_514, 1, x_32); +lean_ctor_set(x_514, 2, x_38); +lean_ctor_set(x_514, 3, x_33); +lean_ctor_set(x_514, 4, x_38); +lean_ctor_set(x_514, 5, x_484); +lean_ctor_set(x_514, 6, x_495); +lean_ctor_set(x_514, 7, x_37); +if (lean_is_scalar(x_513)) { + x_515 = lean_alloc_ctor(1, 1, 0); +} else { + x_515 = x_513; +} +lean_ctor_set(x_515, 0, x_514); +x_516 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_516, 0, x_515); +lean_ctor_set(x_516, 1, x_511); +x_11 = x_516; +goto block_29; +} +} +else +{ +lean_object* x_517; lean_object* x_518; size_t x_519; size_t 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; +x_517 = lean_ctor_get(x_37, 0); +lean_inc(x_517); +lean_dec(x_37); +x_518 = lean_array_get_size(x_517); +x_519 = lean_usize_of_nat(x_518); +lean_dec(x_518); +x_520 = 0; +x_521 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_519, x_520, x_517, x_486); +x_522 = lean_ctor_get(x_521, 0); +lean_inc(x_522); +x_523 = lean_ctor_get(x_521, 1); +lean_inc(x_523); +if (lean_is_exclusive(x_521)) { + lean_ctor_release(x_521, 0); + lean_ctor_release(x_521, 1); + x_524 = x_521; +} else { + lean_dec_ref(x_521); + x_524 = lean_box(0); +} +x_525 = lean_ctor_get(x_522, 0); +lean_inc(x_525); +if (lean_is_exclusive(x_522)) { + lean_ctor_release(x_522, 0); + x_526 = x_522; +} else { + lean_dec_ref(x_522); + x_526 = lean_box(0); +} +x_527 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_527, 0, x_525); +x_528 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_528, 0, x_31); +lean_ctor_set(x_528, 1, x_32); +lean_ctor_set(x_528, 2, x_38); +lean_ctor_set(x_528, 3, x_33); +lean_ctor_set(x_528, 4, x_38); +lean_ctor_set(x_528, 5, x_484); +lean_ctor_set(x_528, 6, x_495); +lean_ctor_set(x_528, 7, x_527); +if (lean_is_scalar(x_526)) { + x_529 = lean_alloc_ctor(1, 1, 0); +} else { + x_529 = x_526; +} +lean_ctor_set(x_529, 0, x_528); +if (lean_is_scalar(x_524)) { + x_530 = lean_alloc_ctor(0, 2, 0); +} else { + x_530 = x_524; +} +lean_ctor_set(x_530, 0, x_529); +lean_ctor_set(x_530, 1, x_523); +x_11 = x_530; +goto block_29; +} +} +} +} +else +{ +lean_object* x_592; lean_object* x_593; lean_object* x_594; +x_592 = lean_ctor_get(x_470, 0); +lean_inc(x_592); +lean_dec(x_470); +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_482); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_617; lean_object* x_618; lean_object* x_619; +x_617 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_617, 0, x_31); +lean_ctor_set(x_617, 1, x_32); +lean_ctor_set(x_617, 2, x_38); +lean_ctor_set(x_617, 3, x_33); +lean_ctor_set(x_617, 4, x_38); +lean_ctor_set(x_617, 5, x_592); +lean_ctor_set(x_617, 6, x_38); +lean_ctor_set(x_617, 7, x_38); +x_618 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_618, 0, x_617); +x_619 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_619, 0, x_618); +lean_ctor_set(x_619, 1, x_481); +x_11 = x_619; +goto block_29; +} +else +{ +lean_object* x_620; lean_object* x_621; lean_object* x_622; size_t x_623; size_t 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; +x_620 = lean_ctor_get(x_37, 0); +lean_inc(x_620); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_621 = x_37; +} else { + lean_dec_ref(x_37); + x_621 = lean_box(0); +} +x_622 = lean_array_get_size(x_620); +x_623 = lean_usize_of_nat(x_622); +lean_dec(x_622); +x_624 = 0; +x_625 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_623, x_624, x_620, x_481); +x_626 = lean_ctor_get(x_625, 0); +lean_inc(x_626); +x_627 = lean_ctor_get(x_625, 1); +lean_inc(x_627); +if (lean_is_exclusive(x_625)) { + lean_ctor_release(x_625, 0); + lean_ctor_release(x_625, 1); + x_628 = x_625; +} else { + lean_dec_ref(x_625); + x_628 = lean_box(0); +} +x_629 = lean_ctor_get(x_626, 0); +lean_inc(x_629); +if (lean_is_exclusive(x_626)) { + lean_ctor_release(x_626, 0); + x_630 = x_626; +} else { + lean_dec_ref(x_626); + x_630 = lean_box(0); +} +if (lean_is_scalar(x_621)) { + x_631 = lean_alloc_ctor(1, 1, 0); +} else { + x_631 = x_621; +} +lean_ctor_set(x_631, 0, x_629); +x_632 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_632, 0, x_31); +lean_ctor_set(x_632, 1, x_32); +lean_ctor_set(x_632, 2, x_38); +lean_ctor_set(x_632, 3, x_33); +lean_ctor_set(x_632, 4, x_38); +lean_ctor_set(x_632, 5, x_592); +lean_ctor_set(x_632, 6, x_38); +lean_ctor_set(x_632, 7, x_631); +if (lean_is_scalar(x_630)) { + x_633 = lean_alloc_ctor(1, 1, 0); +} else { + x_633 = x_630; +} +lean_ctor_set(x_633, 0, x_632); +if (lean_is_scalar(x_628)) { + x_634 = lean_alloc_ctor(0, 2, 0); +} else { + x_634 = x_628; +} +lean_ctor_set(x_634, 0, x_633); +lean_ctor_set(x_634, 1, x_627); +x_11 = x_634; +goto block_29; +} +} +else +{ +lean_object* x_635; lean_object* x_636; lean_object* x_637; size_t x_638; size_t 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; +x_635 = lean_ctor_get(x_36, 0); +lean_inc(x_635); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + x_636 = x_36; +} else { + lean_dec_ref(x_36); + x_636 = lean_box(0); +} +x_637 = lean_array_get_size(x_635); +x_638 = lean_usize_of_nat(x_637); +lean_dec(x_637); +x_639 = 0; +x_640 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_638, x_639, x_635, x_481); +x_641 = lean_ctor_get(x_640, 0); +lean_inc(x_641); +x_642 = lean_ctor_get(x_640, 1); +lean_inc(x_642); +lean_dec(x_640); +x_643 = lean_ctor_get(x_641, 0); +lean_inc(x_643); +if (lean_is_exclusive(x_641)) { + lean_ctor_release(x_641, 0); + x_644 = x_641; +} else { + lean_dec_ref(x_641); + x_644 = lean_box(0); +} +if (lean_is_scalar(x_636)) { + x_645 = lean_alloc_ctor(1, 1, 0); +} else { + x_645 = x_636; +} +lean_ctor_set(x_645, 0, x_643); +if (lean_is_scalar(x_644)) { + x_646 = lean_alloc_ctor(1, 1, 0); +} else { + x_646 = x_644; +} +lean_ctor_set(x_646, 0, x_645); +x_593 = x_646; +x_594 = x_642; +goto block_616; +} +block_616: +{ +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; +x_595 = lean_ctor_get(x_593, 0); +lean_inc(x_595); +if (lean_is_exclusive(x_593)) { + lean_ctor_release(x_593, 0); + x_596 = x_593; +} else { + lean_dec_ref(x_593); + x_596 = lean_box(0); +} +x_597 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_597, 0, x_31); +lean_ctor_set(x_597, 1, x_32); +lean_ctor_set(x_597, 2, x_38); +lean_ctor_set(x_597, 3, x_33); +lean_ctor_set(x_597, 4, x_38); +lean_ctor_set(x_597, 5, x_592); +lean_ctor_set(x_597, 6, x_595); +lean_ctor_set(x_597, 7, x_38); +if (lean_is_scalar(x_596)) { + x_598 = lean_alloc_ctor(1, 1, 0); +} else { + x_598 = x_596; +} +lean_ctor_set(x_598, 0, x_597); +if (lean_is_scalar(x_482)) { + x_599 = lean_alloc_ctor(0, 2, 0); +} else { + x_599 = x_482; +} +lean_ctor_set(x_599, 0, x_598); +lean_ctor_set(x_599, 1, x_594); +x_11 = x_599; +goto block_29; +} +else +{ +lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; size_t x_604; size_t 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_dec(x_482); +x_600 = lean_ctor_get(x_593, 0); +lean_inc(x_600); +lean_dec(x_593); +x_601 = lean_ctor_get(x_37, 0); +lean_inc(x_601); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_602 = x_37; +} else { + lean_dec_ref(x_37); + x_602 = lean_box(0); +} +x_603 = lean_array_get_size(x_601); +x_604 = lean_usize_of_nat(x_603); +lean_dec(x_603); +x_605 = 0; +x_606 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_604, x_605, x_601, x_594); +x_607 = lean_ctor_get(x_606, 0); +lean_inc(x_607); +x_608 = lean_ctor_get(x_606, 1); +lean_inc(x_608); +if (lean_is_exclusive(x_606)) { + lean_ctor_release(x_606, 0); + lean_ctor_release(x_606, 1); + x_609 = x_606; +} else { + lean_dec_ref(x_606); + x_609 = lean_box(0); +} +x_610 = lean_ctor_get(x_607, 0); +lean_inc(x_610); +if (lean_is_exclusive(x_607)) { + lean_ctor_release(x_607, 0); + x_611 = x_607; +} else { + lean_dec_ref(x_607); + x_611 = lean_box(0); +} +if (lean_is_scalar(x_602)) { + x_612 = lean_alloc_ctor(1, 1, 0); +} else { + x_612 = x_602; +} +lean_ctor_set(x_612, 0, x_610); +x_613 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_613, 0, x_31); +lean_ctor_set(x_613, 1, x_32); +lean_ctor_set(x_613, 2, x_38); +lean_ctor_set(x_613, 3, x_33); +lean_ctor_set(x_613, 4, x_38); +lean_ctor_set(x_613, 5, x_592); +lean_ctor_set(x_613, 6, x_600); +lean_ctor_set(x_613, 7, x_612); +if (lean_is_scalar(x_611)) { + x_614 = lean_alloc_ctor(1, 1, 0); +} else { + x_614 = x_611; +} +lean_ctor_set(x_614, 0, x_613); +if (lean_is_scalar(x_609)) { + x_615 = lean_alloc_ctor(0, 2, 0); +} else { + x_615 = x_609; +} +lean_ctor_set(x_615, 0, x_614); +lean_ctor_set(x_615, 1, x_608); +x_11 = x_615; +goto block_29; +} +} +} +} +} +else +{ +uint8_t x_647; +x_647 = !lean_is_exclusive(x_34); +if (x_647 == 0) +{ +lean_object* x_648; lean_object* x_649; lean_object* x_650; +x_648 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_648, 0, x_38); +x_649 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_648, x_35, x_4); +x_650 = lean_ctor_get(x_649, 0); +lean_inc(x_650); +if (lean_obj_tag(x_650) == 0) +{ +uint8_t x_651; +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_37); +lean_dec(x_36); +lean_dec(x_32); +lean_dec(x_31); +x_651 = !lean_is_exclusive(x_649); +if (x_651 == 0) +{ +lean_object* x_652; uint8_t x_653; +x_652 = lean_ctor_get(x_649, 0); +lean_dec(x_652); +x_653 = !lean_is_exclusive(x_650); +if (x_653 == 0) +{ +x_11 = x_649; +goto block_29; +} +else +{ +lean_object* x_654; lean_object* x_655; +x_654 = lean_ctor_get(x_650, 0); +lean_inc(x_654); +lean_dec(x_650); +x_655 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_655, 0, x_654); +lean_ctor_set(x_649, 0, x_655); +x_11 = x_649; +goto block_29; +} +} +else +{ +lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; +x_656 = lean_ctor_get(x_649, 1); +lean_inc(x_656); +lean_dec(x_649); +x_657 = lean_ctor_get(x_650, 0); +lean_inc(x_657); +if (lean_is_exclusive(x_650)) { + lean_ctor_release(x_650, 0); + x_658 = x_650; +} else { + lean_dec_ref(x_650); + x_658 = lean_box(0); +} +if (lean_is_scalar(x_658)) { + x_659 = lean_alloc_ctor(0, 1, 0); +} else { + x_659 = x_658; +} +lean_ctor_set(x_659, 0, x_657); +x_660 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_660, 0, x_659); +lean_ctor_set(x_660, 1, x_656); +x_11 = x_660; +goto block_29; +} +} +else +{ +lean_object* x_661; lean_object* x_662; uint8_t x_663; +x_661 = lean_ctor_get(x_649, 1); +lean_inc(x_661); +if (lean_is_exclusive(x_649)) { + lean_ctor_release(x_649, 0); + lean_ctor_release(x_649, 1); + x_662 = x_649; +} else { + lean_dec_ref(x_649); + x_662 = lean_box(0); +} +x_663 = !lean_is_exclusive(x_650); +if (x_663 == 0) +{ +lean_object* x_664; lean_object* x_665; lean_object* x_666; +x_664 = lean_ctor_get(x_650, 0); +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_662); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_712; lean_object* x_713; +x_712 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_712, 0, x_31); +lean_ctor_set(x_712, 1, x_32); +lean_ctor_set(x_712, 2, x_38); +lean_ctor_set(x_712, 3, x_33); +lean_ctor_set(x_712, 4, x_34); +lean_ctor_set(x_712, 5, x_664); +lean_ctor_set(x_712, 6, x_38); +lean_ctor_set(x_712, 7, x_38); +lean_ctor_set(x_650, 0, x_712); +x_713 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_713, 0, x_650); +lean_ctor_set(x_713, 1, x_661); +x_11 = x_713; +goto block_29; +} +else +{ +uint8_t x_714; +lean_free_object(x_650); +x_714 = !lean_is_exclusive(x_37); +if (x_714 == 0) +{ +lean_object* x_715; lean_object* x_716; size_t x_717; size_t x_718; lean_object* x_719; uint8_t x_720; +x_715 = lean_ctor_get(x_37, 0); +x_716 = lean_array_get_size(x_715); +x_717 = lean_usize_of_nat(x_716); +lean_dec(x_716); +x_718 = 0; +x_719 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_717, x_718, x_715, x_661); +x_720 = !lean_is_exclusive(x_719); +if (x_720 == 0) +{ +lean_object* x_721; uint8_t x_722; +x_721 = lean_ctor_get(x_719, 0); +x_722 = !lean_is_exclusive(x_721); +if (x_722 == 0) +{ +lean_object* x_723; lean_object* x_724; +x_723 = lean_ctor_get(x_721, 0); +lean_ctor_set(x_37, 0, x_723); +x_724 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_724, 0, x_31); +lean_ctor_set(x_724, 1, x_32); +lean_ctor_set(x_724, 2, x_38); +lean_ctor_set(x_724, 3, x_33); +lean_ctor_set(x_724, 4, x_34); +lean_ctor_set(x_724, 5, x_664); +lean_ctor_set(x_724, 6, x_38); +lean_ctor_set(x_724, 7, x_37); +lean_ctor_set(x_721, 0, x_724); +x_11 = x_719; +goto block_29; +} +else +{ +lean_object* x_725; lean_object* x_726; lean_object* x_727; +x_725 = lean_ctor_get(x_721, 0); +lean_inc(x_725); +lean_dec(x_721); +lean_ctor_set(x_37, 0, x_725); +x_726 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_726, 0, x_31); +lean_ctor_set(x_726, 1, x_32); +lean_ctor_set(x_726, 2, x_38); +lean_ctor_set(x_726, 3, x_33); +lean_ctor_set(x_726, 4, x_34); +lean_ctor_set(x_726, 5, x_664); +lean_ctor_set(x_726, 6, x_38); +lean_ctor_set(x_726, 7, x_37); +x_727 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_727, 0, x_726); +lean_ctor_set(x_719, 0, x_727); +x_11 = x_719; +goto block_29; +} +} +else +{ +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; +x_728 = lean_ctor_get(x_719, 0); +x_729 = lean_ctor_get(x_719, 1); +lean_inc(x_729); +lean_inc(x_728); +lean_dec(x_719); +x_730 = lean_ctor_get(x_728, 0); +lean_inc(x_730); +if (lean_is_exclusive(x_728)) { + lean_ctor_release(x_728, 0); + x_731 = x_728; +} else { + lean_dec_ref(x_728); + x_731 = lean_box(0); +} +lean_ctor_set(x_37, 0, x_730); +x_732 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_732, 0, x_31); +lean_ctor_set(x_732, 1, x_32); +lean_ctor_set(x_732, 2, x_38); +lean_ctor_set(x_732, 3, x_33); +lean_ctor_set(x_732, 4, x_34); +lean_ctor_set(x_732, 5, x_664); +lean_ctor_set(x_732, 6, x_38); +lean_ctor_set(x_732, 7, x_37); +if (lean_is_scalar(x_731)) { + x_733 = lean_alloc_ctor(1, 1, 0); +} else { + x_733 = x_731; +} +lean_ctor_set(x_733, 0, x_732); +x_734 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_734, 0, x_733); +lean_ctor_set(x_734, 1, x_729); +x_11 = x_734; +goto block_29; +} +} +else +{ +lean_object* x_735; lean_object* x_736; size_t x_737; size_t 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; +x_735 = lean_ctor_get(x_37, 0); +lean_inc(x_735); +lean_dec(x_37); +x_736 = lean_array_get_size(x_735); +x_737 = lean_usize_of_nat(x_736); +lean_dec(x_736); +x_738 = 0; +x_739 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_737, x_738, x_735, x_661); +x_740 = lean_ctor_get(x_739, 0); +lean_inc(x_740); +x_741 = lean_ctor_get(x_739, 1); +lean_inc(x_741); +if (lean_is_exclusive(x_739)) { + lean_ctor_release(x_739, 0); + lean_ctor_release(x_739, 1); + x_742 = x_739; +} else { + lean_dec_ref(x_739); + x_742 = lean_box(0); +} +x_743 = lean_ctor_get(x_740, 0); +lean_inc(x_743); +if (lean_is_exclusive(x_740)) { + lean_ctor_release(x_740, 0); + x_744 = x_740; +} else { + lean_dec_ref(x_740); + x_744 = lean_box(0); +} +x_745 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_745, 0, x_743); +x_746 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_746, 0, x_31); +lean_ctor_set(x_746, 1, x_32); +lean_ctor_set(x_746, 2, x_38); +lean_ctor_set(x_746, 3, x_33); +lean_ctor_set(x_746, 4, x_34); +lean_ctor_set(x_746, 5, x_664); +lean_ctor_set(x_746, 6, x_38); +lean_ctor_set(x_746, 7, x_745); +if (lean_is_scalar(x_744)) { + x_747 = lean_alloc_ctor(1, 1, 0); +} else { + x_747 = x_744; +} +lean_ctor_set(x_747, 0, x_746); +if (lean_is_scalar(x_742)) { + x_748 = lean_alloc_ctor(0, 2, 0); +} else { + x_748 = x_742; +} +lean_ctor_set(x_748, 0, x_747); +lean_ctor_set(x_748, 1, x_741); +x_11 = x_748; +goto block_29; +} +} +} +else +{ +uint8_t x_749; +lean_free_object(x_650); +x_749 = !lean_is_exclusive(x_36); +if (x_749 == 0) +{ +lean_object* x_750; lean_object* x_751; size_t x_752; size_t x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; uint8_t x_757; +x_750 = lean_ctor_get(x_36, 0); +x_751 = lean_array_get_size(x_750); +x_752 = lean_usize_of_nat(x_751); +lean_dec(x_751); +x_753 = 0; +x_754 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_752, x_753, x_750, x_661); +x_755 = lean_ctor_get(x_754, 0); +lean_inc(x_755); +x_756 = lean_ctor_get(x_754, 1); +lean_inc(x_756); +lean_dec(x_754); +x_757 = !lean_is_exclusive(x_755); +if (x_757 == 0) +{ +lean_object* x_758; +x_758 = lean_ctor_get(x_755, 0); +lean_ctor_set(x_36, 0, x_758); +lean_ctor_set(x_755, 0, x_36); +x_665 = x_755; +x_666 = x_756; +goto block_711; +} +else +{ +lean_object* x_759; lean_object* x_760; +x_759 = lean_ctor_get(x_755, 0); +lean_inc(x_759); +lean_dec(x_755); +lean_ctor_set(x_36, 0, x_759); +x_760 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_760, 0, x_36); +x_665 = x_760; +x_666 = x_756; +goto block_711; +} +} +else +{ +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; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; +x_761 = lean_ctor_get(x_36, 0); +lean_inc(x_761); +lean_dec(x_36); +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_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_763, x_764, x_761, x_661); +x_766 = lean_ctor_get(x_765, 0); +lean_inc(x_766); +x_767 = lean_ctor_get(x_765, 1); +lean_inc(x_767); +lean_dec(x_765); +x_768 = lean_ctor_get(x_766, 0); +lean_inc(x_768); +if (lean_is_exclusive(x_766)) { + lean_ctor_release(x_766, 0); + x_769 = x_766; +} else { + lean_dec_ref(x_766); + x_769 = lean_box(0); +} +x_770 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_770, 0, x_768); +if (lean_is_scalar(x_769)) { + x_771 = lean_alloc_ctor(1, 1, 0); +} else { + x_771 = x_769; +} +lean_ctor_set(x_771, 0, x_770); +x_665 = x_771; +x_666 = x_767; +goto block_711; +} +} +block_711: +{ +if (lean_obj_tag(x_37) == 0) +{ +uint8_t x_667; +x_667 = !lean_is_exclusive(x_665); +if (x_667 == 0) +{ +lean_object* x_668; lean_object* x_669; lean_object* x_670; +x_668 = lean_ctor_get(x_665, 0); +x_669 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_669, 0, x_31); +lean_ctor_set(x_669, 1, x_32); +lean_ctor_set(x_669, 2, x_38); +lean_ctor_set(x_669, 3, x_33); +lean_ctor_set(x_669, 4, x_34); +lean_ctor_set(x_669, 5, x_664); +lean_ctor_set(x_669, 6, x_668); +lean_ctor_set(x_669, 7, x_38); +lean_ctor_set(x_665, 0, x_669); +if (lean_is_scalar(x_662)) { + x_670 = lean_alloc_ctor(0, 2, 0); +} else { + x_670 = x_662; +} +lean_ctor_set(x_670, 0, x_665); +lean_ctor_set(x_670, 1, x_666); +x_11 = x_670; +goto block_29; +} +else +{ +lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; +x_671 = lean_ctor_get(x_665, 0); +lean_inc(x_671); +lean_dec(x_665); +x_672 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_672, 0, x_31); +lean_ctor_set(x_672, 1, x_32); +lean_ctor_set(x_672, 2, x_38); +lean_ctor_set(x_672, 3, x_33); +lean_ctor_set(x_672, 4, x_34); +lean_ctor_set(x_672, 5, x_664); +lean_ctor_set(x_672, 6, x_671); +lean_ctor_set(x_672, 7, x_38); +x_673 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_673, 0, x_672); +if (lean_is_scalar(x_662)) { + x_674 = lean_alloc_ctor(0, 2, 0); +} else { + x_674 = x_662; +} +lean_ctor_set(x_674, 0, x_673); +lean_ctor_set(x_674, 1, x_666); +x_11 = x_674; +goto block_29; +} +} +else +{ +lean_object* x_675; uint8_t x_676; +lean_dec(x_662); +x_675 = lean_ctor_get(x_665, 0); +lean_inc(x_675); +lean_dec(x_665); +x_676 = !lean_is_exclusive(x_37); +if (x_676 == 0) +{ +lean_object* x_677; lean_object* x_678; size_t x_679; size_t x_680; lean_object* x_681; uint8_t x_682; +x_677 = lean_ctor_get(x_37, 0); +x_678 = lean_array_get_size(x_677); +x_679 = lean_usize_of_nat(x_678); +lean_dec(x_678); +x_680 = 0; +x_681 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_679, x_680, x_677, x_666); +x_682 = !lean_is_exclusive(x_681); +if (x_682 == 0) +{ +lean_object* x_683; uint8_t x_684; +x_683 = lean_ctor_get(x_681, 0); +x_684 = !lean_is_exclusive(x_683); +if (x_684 == 0) +{ +lean_object* x_685; lean_object* x_686; +x_685 = lean_ctor_get(x_683, 0); +lean_ctor_set(x_37, 0, x_685); +x_686 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_686, 0, x_31); +lean_ctor_set(x_686, 1, x_32); +lean_ctor_set(x_686, 2, x_38); +lean_ctor_set(x_686, 3, x_33); +lean_ctor_set(x_686, 4, x_34); +lean_ctor_set(x_686, 5, x_664); +lean_ctor_set(x_686, 6, x_675); +lean_ctor_set(x_686, 7, x_37); +lean_ctor_set(x_683, 0, x_686); +x_11 = x_681; +goto block_29; +} +else +{ +lean_object* x_687; lean_object* x_688; lean_object* x_689; +x_687 = lean_ctor_get(x_683, 0); +lean_inc(x_687); +lean_dec(x_683); +lean_ctor_set(x_37, 0, x_687); +x_688 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_688, 0, x_31); +lean_ctor_set(x_688, 1, x_32); +lean_ctor_set(x_688, 2, x_38); +lean_ctor_set(x_688, 3, x_33); +lean_ctor_set(x_688, 4, x_34); +lean_ctor_set(x_688, 5, x_664); +lean_ctor_set(x_688, 6, x_675); +lean_ctor_set(x_688, 7, x_37); +x_689 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_689, 0, x_688); +lean_ctor_set(x_681, 0, x_689); +x_11 = x_681; +goto block_29; +} +} +else +{ +lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; +x_690 = lean_ctor_get(x_681, 0); +x_691 = lean_ctor_get(x_681, 1); +lean_inc(x_691); +lean_inc(x_690); +lean_dec(x_681); +x_692 = lean_ctor_get(x_690, 0); +lean_inc(x_692); +if (lean_is_exclusive(x_690)) { + lean_ctor_release(x_690, 0); + x_693 = x_690; +} else { + lean_dec_ref(x_690); + x_693 = lean_box(0); +} +lean_ctor_set(x_37, 0, x_692); +x_694 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_694, 0, x_31); +lean_ctor_set(x_694, 1, x_32); +lean_ctor_set(x_694, 2, x_38); +lean_ctor_set(x_694, 3, x_33); +lean_ctor_set(x_694, 4, x_34); +lean_ctor_set(x_694, 5, x_664); +lean_ctor_set(x_694, 6, x_675); +lean_ctor_set(x_694, 7, x_37); +if (lean_is_scalar(x_693)) { + x_695 = lean_alloc_ctor(1, 1, 0); +} else { + x_695 = x_693; +} +lean_ctor_set(x_695, 0, x_694); +x_696 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_696, 0, x_695); +lean_ctor_set(x_696, 1, x_691); +x_11 = x_696; +goto block_29; +} +} +else +{ +lean_object* x_697; lean_object* x_698; size_t x_699; size_t x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; +x_697 = lean_ctor_get(x_37, 0); +lean_inc(x_697); +lean_dec(x_37); +x_698 = lean_array_get_size(x_697); +x_699 = lean_usize_of_nat(x_698); +lean_dec(x_698); +x_700 = 0; +x_701 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_699, x_700, x_697, x_666); +x_702 = lean_ctor_get(x_701, 0); +lean_inc(x_702); +x_703 = lean_ctor_get(x_701, 1); +lean_inc(x_703); +if (lean_is_exclusive(x_701)) { + lean_ctor_release(x_701, 0); + lean_ctor_release(x_701, 1); + x_704 = x_701; +} else { + lean_dec_ref(x_701); + x_704 = lean_box(0); +} +x_705 = lean_ctor_get(x_702, 0); +lean_inc(x_705); +if (lean_is_exclusive(x_702)) { + lean_ctor_release(x_702, 0); + x_706 = x_702; +} else { + lean_dec_ref(x_702); + x_706 = lean_box(0); +} +x_707 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_707, 0, x_705); +x_708 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_708, 0, x_31); +lean_ctor_set(x_708, 1, x_32); +lean_ctor_set(x_708, 2, x_38); +lean_ctor_set(x_708, 3, x_33); +lean_ctor_set(x_708, 4, x_34); +lean_ctor_set(x_708, 5, x_664); +lean_ctor_set(x_708, 6, x_675); +lean_ctor_set(x_708, 7, x_707); +if (lean_is_scalar(x_706)) { + x_709 = lean_alloc_ctor(1, 1, 0); +} else { + x_709 = x_706; +} +lean_ctor_set(x_709, 0, x_708); +if (lean_is_scalar(x_704)) { + x_710 = lean_alloc_ctor(0, 2, 0); +} else { + x_710 = x_704; +} +lean_ctor_set(x_710, 0, x_709); +lean_ctor_set(x_710, 1, x_703); +x_11 = x_710; +goto block_29; +} +} +} +} +else +{ +lean_object* x_772; lean_object* x_773; lean_object* x_774; +x_772 = lean_ctor_get(x_650, 0); +lean_inc(x_772); +lean_dec(x_650); +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_662); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_797; lean_object* x_798; lean_object* x_799; +x_797 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_797, 0, x_31); +lean_ctor_set(x_797, 1, x_32); +lean_ctor_set(x_797, 2, x_38); +lean_ctor_set(x_797, 3, x_33); +lean_ctor_set(x_797, 4, x_34); +lean_ctor_set(x_797, 5, x_772); +lean_ctor_set(x_797, 6, x_38); +lean_ctor_set(x_797, 7, x_38); +x_798 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_798, 0, x_797); +x_799 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_799, 0, x_798); +lean_ctor_set(x_799, 1, x_661); +x_11 = x_799; +goto block_29; +} +else +{ +lean_object* x_800; lean_object* x_801; lean_object* x_802; size_t x_803; size_t 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; +x_800 = lean_ctor_get(x_37, 0); +lean_inc(x_800); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_801 = x_37; +} else { + lean_dec_ref(x_37); + x_801 = lean_box(0); +} +x_802 = lean_array_get_size(x_800); +x_803 = lean_usize_of_nat(x_802); +lean_dec(x_802); +x_804 = 0; +x_805 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_803, x_804, x_800, x_661); +x_806 = lean_ctor_get(x_805, 0); +lean_inc(x_806); +x_807 = lean_ctor_get(x_805, 1); +lean_inc(x_807); +if (lean_is_exclusive(x_805)) { + lean_ctor_release(x_805, 0); + lean_ctor_release(x_805, 1); + x_808 = x_805; +} else { + lean_dec_ref(x_805); + x_808 = lean_box(0); +} +x_809 = lean_ctor_get(x_806, 0); +lean_inc(x_809); +if (lean_is_exclusive(x_806)) { + lean_ctor_release(x_806, 0); + x_810 = x_806; +} else { + lean_dec_ref(x_806); + x_810 = lean_box(0); +} +if (lean_is_scalar(x_801)) { + x_811 = lean_alloc_ctor(1, 1, 0); +} else { + x_811 = x_801; +} +lean_ctor_set(x_811, 0, x_809); +x_812 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_812, 0, x_31); +lean_ctor_set(x_812, 1, x_32); +lean_ctor_set(x_812, 2, x_38); +lean_ctor_set(x_812, 3, x_33); +lean_ctor_set(x_812, 4, x_34); +lean_ctor_set(x_812, 5, x_772); +lean_ctor_set(x_812, 6, x_38); +lean_ctor_set(x_812, 7, x_811); +if (lean_is_scalar(x_810)) { + x_813 = lean_alloc_ctor(1, 1, 0); +} else { + x_813 = x_810; +} +lean_ctor_set(x_813, 0, x_812); +if (lean_is_scalar(x_808)) { + x_814 = lean_alloc_ctor(0, 2, 0); +} else { + x_814 = x_808; +} +lean_ctor_set(x_814, 0, x_813); +lean_ctor_set(x_814, 1, x_807); +x_11 = x_814; +goto block_29; +} +} +else +{ +lean_object* x_815; lean_object* x_816; lean_object* x_817; size_t x_818; size_t 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; +x_815 = lean_ctor_get(x_36, 0); +lean_inc(x_815); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + x_816 = x_36; +} else { + lean_dec_ref(x_36); + x_816 = lean_box(0); +} +x_817 = lean_array_get_size(x_815); +x_818 = lean_usize_of_nat(x_817); +lean_dec(x_817); +x_819 = 0; +x_820 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_818, x_819, x_815, x_661); +x_821 = lean_ctor_get(x_820, 0); +lean_inc(x_821); +x_822 = lean_ctor_get(x_820, 1); +lean_inc(x_822); +lean_dec(x_820); +x_823 = lean_ctor_get(x_821, 0); +lean_inc(x_823); +if (lean_is_exclusive(x_821)) { + lean_ctor_release(x_821, 0); + x_824 = x_821; +} else { + lean_dec_ref(x_821); + x_824 = lean_box(0); +} +if (lean_is_scalar(x_816)) { + x_825 = lean_alloc_ctor(1, 1, 0); +} else { + x_825 = x_816; +} +lean_ctor_set(x_825, 0, x_823); +if (lean_is_scalar(x_824)) { + x_826 = lean_alloc_ctor(1, 1, 0); +} else { + x_826 = x_824; +} +lean_ctor_set(x_826, 0, x_825); +x_773 = x_826; +x_774 = x_822; +goto block_796; +} +block_796: +{ +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; +x_775 = lean_ctor_get(x_773, 0); +lean_inc(x_775); +if (lean_is_exclusive(x_773)) { + lean_ctor_release(x_773, 0); + x_776 = x_773; +} else { + lean_dec_ref(x_773); + x_776 = lean_box(0); +} +x_777 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_777, 0, x_31); +lean_ctor_set(x_777, 1, x_32); +lean_ctor_set(x_777, 2, x_38); +lean_ctor_set(x_777, 3, x_33); +lean_ctor_set(x_777, 4, x_34); +lean_ctor_set(x_777, 5, x_772); +lean_ctor_set(x_777, 6, x_775); +lean_ctor_set(x_777, 7, x_38); +if (lean_is_scalar(x_776)) { + x_778 = lean_alloc_ctor(1, 1, 0); +} else { + x_778 = x_776; +} +lean_ctor_set(x_778, 0, x_777); +if (lean_is_scalar(x_662)) { + x_779 = lean_alloc_ctor(0, 2, 0); +} else { + x_779 = x_662; +} +lean_ctor_set(x_779, 0, x_778); +lean_ctor_set(x_779, 1, x_774); +x_11 = x_779; +goto block_29; +} +else +{ +lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; size_t x_784; size_t 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_dec(x_662); +x_780 = lean_ctor_get(x_773, 0); +lean_inc(x_780); +lean_dec(x_773); +x_781 = lean_ctor_get(x_37, 0); +lean_inc(x_781); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_782 = x_37; +} else { + lean_dec_ref(x_37); + x_782 = lean_box(0); +} +x_783 = lean_array_get_size(x_781); +x_784 = lean_usize_of_nat(x_783); +lean_dec(x_783); +x_785 = 0; +x_786 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_784, x_785, x_781, x_774); +x_787 = lean_ctor_get(x_786, 0); +lean_inc(x_787); +x_788 = lean_ctor_get(x_786, 1); +lean_inc(x_788); +if (lean_is_exclusive(x_786)) { + lean_ctor_release(x_786, 0); + lean_ctor_release(x_786, 1); + x_789 = x_786; +} else { + lean_dec_ref(x_786); + x_789 = lean_box(0); +} +x_790 = lean_ctor_get(x_787, 0); +lean_inc(x_790); +if (lean_is_exclusive(x_787)) { + lean_ctor_release(x_787, 0); + x_791 = x_787; +} else { + lean_dec_ref(x_787); + x_791 = lean_box(0); +} +if (lean_is_scalar(x_782)) { + x_792 = lean_alloc_ctor(1, 1, 0); +} else { + x_792 = x_782; +} +lean_ctor_set(x_792, 0, x_790); +x_793 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_793, 0, x_31); +lean_ctor_set(x_793, 1, x_32); +lean_ctor_set(x_793, 2, x_38); +lean_ctor_set(x_793, 3, x_33); +lean_ctor_set(x_793, 4, x_34); +lean_ctor_set(x_793, 5, x_772); +lean_ctor_set(x_793, 6, x_780); +lean_ctor_set(x_793, 7, x_792); +if (lean_is_scalar(x_791)) { + x_794 = lean_alloc_ctor(1, 1, 0); +} else { + x_794 = x_791; +} +lean_ctor_set(x_794, 0, x_793); +if (lean_is_scalar(x_789)) { + x_795 = lean_alloc_ctor(0, 2, 0); +} else { + x_795 = x_789; +} +lean_ctor_set(x_795, 0, x_794); +lean_ctor_set(x_795, 1, x_788); +x_11 = x_795; +goto block_29; +} +} +} +} +} +else +{ +lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; +x_827 = lean_ctor_get(x_34, 0); +lean_inc(x_827); +lean_dec(x_34); +x_828 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_828, 0, x_827); +x_829 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_829, 0, x_38); +x_830 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_829, x_35, x_4); +x_831 = lean_ctor_get(x_830, 0); +lean_inc(x_831); +if (lean_obj_tag(x_831) == 0) +{ +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_dec(x_828); +lean_dec(x_33); +lean_dec(x_37); +lean_dec(x_36); +lean_dec(x_32); +lean_dec(x_31); +x_832 = lean_ctor_get(x_830, 1); +lean_inc(x_832); +if (lean_is_exclusive(x_830)) { + lean_ctor_release(x_830, 0); + lean_ctor_release(x_830, 1); + x_833 = x_830; +} else { + lean_dec_ref(x_830); + x_833 = lean_box(0); +} +x_834 = lean_ctor_get(x_831, 0); +lean_inc(x_834); +if (lean_is_exclusive(x_831)) { + lean_ctor_release(x_831, 0); + x_835 = x_831; +} else { + lean_dec_ref(x_831); + x_835 = lean_box(0); +} +if (lean_is_scalar(x_835)) { + x_836 = lean_alloc_ctor(0, 1, 0); +} else { + x_836 = x_835; +} +lean_ctor_set(x_836, 0, x_834); +if (lean_is_scalar(x_833)) { + x_837 = lean_alloc_ctor(0, 2, 0); +} else { + x_837 = x_833; +} +lean_ctor_set(x_837, 0, x_836); +lean_ctor_set(x_837, 1, x_832); +x_11 = x_837; +goto block_29; +} +else +{ +lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; +x_838 = lean_ctor_get(x_830, 1); +lean_inc(x_838); +if (lean_is_exclusive(x_830)) { + lean_ctor_release(x_830, 0); + lean_ctor_release(x_830, 1); + x_839 = x_830; +} else { + lean_dec_ref(x_830); + x_839 = lean_box(0); +} +x_840 = lean_ctor_get(x_831, 0); +lean_inc(x_840); +if (lean_is_exclusive(x_831)) { + lean_ctor_release(x_831, 0); + x_841 = x_831; +} else { + lean_dec_ref(x_831); + x_841 = lean_box(0); +} +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_839); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_866; lean_object* x_867; lean_object* x_868; +x_866 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_866, 0, x_31); +lean_ctor_set(x_866, 1, x_32); +lean_ctor_set(x_866, 2, x_38); +lean_ctor_set(x_866, 3, x_33); +lean_ctor_set(x_866, 4, x_828); +lean_ctor_set(x_866, 5, x_840); +lean_ctor_set(x_866, 6, x_38); +lean_ctor_set(x_866, 7, x_38); +if (lean_is_scalar(x_841)) { + x_867 = lean_alloc_ctor(1, 1, 0); +} else { + x_867 = x_841; +} +lean_ctor_set(x_867, 0, x_866); +x_868 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_868, 0, x_867); +lean_ctor_set(x_868, 1, x_838); +x_11 = x_868; +goto block_29; +} +else +{ +lean_object* x_869; lean_object* x_870; lean_object* x_871; size_t x_872; size_t 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_dec(x_841); +x_869 = lean_ctor_get(x_37, 0); +lean_inc(x_869); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_870 = x_37; +} else { + lean_dec_ref(x_37); + x_870 = lean_box(0); +} +x_871 = lean_array_get_size(x_869); +x_872 = lean_usize_of_nat(x_871); +lean_dec(x_871); +x_873 = 0; +x_874 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_872, x_873, x_869, x_838); +x_875 = lean_ctor_get(x_874, 0); +lean_inc(x_875); +x_876 = lean_ctor_get(x_874, 1); +lean_inc(x_876); +if (lean_is_exclusive(x_874)) { + lean_ctor_release(x_874, 0); + lean_ctor_release(x_874, 1); + x_877 = x_874; +} else { + lean_dec_ref(x_874); + x_877 = lean_box(0); +} +x_878 = lean_ctor_get(x_875, 0); +lean_inc(x_878); +if (lean_is_exclusive(x_875)) { + lean_ctor_release(x_875, 0); + x_879 = x_875; +} else { + lean_dec_ref(x_875); + x_879 = lean_box(0); +} +if (lean_is_scalar(x_870)) { + x_880 = lean_alloc_ctor(1, 1, 0); +} else { + x_880 = x_870; +} +lean_ctor_set(x_880, 0, x_878); +x_881 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_881, 0, x_31); +lean_ctor_set(x_881, 1, x_32); +lean_ctor_set(x_881, 2, x_38); +lean_ctor_set(x_881, 3, x_33); +lean_ctor_set(x_881, 4, x_828); +lean_ctor_set(x_881, 5, x_840); +lean_ctor_set(x_881, 6, x_38); +lean_ctor_set(x_881, 7, x_880); +if (lean_is_scalar(x_879)) { + x_882 = lean_alloc_ctor(1, 1, 0); +} else { + x_882 = x_879; +} +lean_ctor_set(x_882, 0, x_881); +if (lean_is_scalar(x_877)) { + x_883 = lean_alloc_ctor(0, 2, 0); +} else { + x_883 = x_877; +} +lean_ctor_set(x_883, 0, x_882); +lean_ctor_set(x_883, 1, x_876); +x_11 = x_883; +goto block_29; +} +} +else +{ +lean_object* x_884; lean_object* x_885; lean_object* x_886; size_t x_887; size_t 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_dec(x_841); +x_884 = lean_ctor_get(x_36, 0); +lean_inc(x_884); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + x_885 = x_36; +} else { + lean_dec_ref(x_36); + x_885 = lean_box(0); +} +x_886 = lean_array_get_size(x_884); +x_887 = lean_usize_of_nat(x_886); +lean_dec(x_886); +x_888 = 0; +x_889 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_887, x_888, x_884, x_838); +x_890 = lean_ctor_get(x_889, 0); +lean_inc(x_890); +x_891 = lean_ctor_get(x_889, 1); +lean_inc(x_891); +lean_dec(x_889); +x_892 = lean_ctor_get(x_890, 0); +lean_inc(x_892); +if (lean_is_exclusive(x_890)) { + lean_ctor_release(x_890, 0); + x_893 = x_890; +} else { + lean_dec_ref(x_890); + x_893 = lean_box(0); +} +if (lean_is_scalar(x_885)) { + x_894 = lean_alloc_ctor(1, 1, 0); +} else { + x_894 = x_885; +} +lean_ctor_set(x_894, 0, x_892); +if (lean_is_scalar(x_893)) { + x_895 = lean_alloc_ctor(1, 1, 0); +} else { + x_895 = x_893; +} +lean_ctor_set(x_895, 0, x_894); +x_842 = x_895; +x_843 = x_891; +goto block_865; +} +block_865: +{ +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; +x_844 = lean_ctor_get(x_842, 0); +lean_inc(x_844); +if (lean_is_exclusive(x_842)) { + lean_ctor_release(x_842, 0); + x_845 = x_842; +} else { + lean_dec_ref(x_842); + x_845 = lean_box(0); +} +x_846 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_846, 0, x_31); +lean_ctor_set(x_846, 1, x_32); +lean_ctor_set(x_846, 2, x_38); +lean_ctor_set(x_846, 3, x_33); +lean_ctor_set(x_846, 4, x_828); +lean_ctor_set(x_846, 5, x_840); +lean_ctor_set(x_846, 6, x_844); +lean_ctor_set(x_846, 7, x_38); +if (lean_is_scalar(x_845)) { + x_847 = lean_alloc_ctor(1, 1, 0); +} else { + x_847 = x_845; +} +lean_ctor_set(x_847, 0, x_846); +if (lean_is_scalar(x_839)) { + x_848 = lean_alloc_ctor(0, 2, 0); +} else { + x_848 = x_839; +} +lean_ctor_set(x_848, 0, x_847); +lean_ctor_set(x_848, 1, x_843); +x_11 = x_848; +goto block_29; +} +else +{ +lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; size_t x_853; size_t x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; +lean_dec(x_839); +x_849 = lean_ctor_get(x_842, 0); +lean_inc(x_849); +lean_dec(x_842); +x_850 = lean_ctor_get(x_37, 0); +lean_inc(x_850); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_851 = x_37; +} else { + lean_dec_ref(x_37); + x_851 = lean_box(0); +} +x_852 = lean_array_get_size(x_850); +x_853 = lean_usize_of_nat(x_852); +lean_dec(x_852); +x_854 = 0; +x_855 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_853, x_854, x_850, x_843); +x_856 = lean_ctor_get(x_855, 0); +lean_inc(x_856); +x_857 = lean_ctor_get(x_855, 1); +lean_inc(x_857); +if (lean_is_exclusive(x_855)) { + lean_ctor_release(x_855, 0); + lean_ctor_release(x_855, 1); + x_858 = x_855; +} else { + lean_dec_ref(x_855); + x_858 = lean_box(0); +} +x_859 = lean_ctor_get(x_856, 0); +lean_inc(x_859); +if (lean_is_exclusive(x_856)) { + lean_ctor_release(x_856, 0); + x_860 = x_856; +} else { + lean_dec_ref(x_856); + x_860 = lean_box(0); +} +if (lean_is_scalar(x_851)) { + x_861 = lean_alloc_ctor(1, 1, 0); +} else { + x_861 = x_851; +} +lean_ctor_set(x_861, 0, x_859); +x_862 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_862, 0, x_31); +lean_ctor_set(x_862, 1, x_32); +lean_ctor_set(x_862, 2, x_38); +lean_ctor_set(x_862, 3, x_33); +lean_ctor_set(x_862, 4, x_828); +lean_ctor_set(x_862, 5, x_840); +lean_ctor_set(x_862, 6, x_849); +lean_ctor_set(x_862, 7, x_861); +if (lean_is_scalar(x_860)) { + x_863 = lean_alloc_ctor(1, 1, 0); +} else { + x_863 = x_860; +} +lean_ctor_set(x_863, 0, x_862); +if (lean_is_scalar(x_858)) { + x_864 = lean_alloc_ctor(0, 2, 0); +} else { + x_864 = x_858; +} +lean_ctor_set(x_864, 0, x_863); +lean_ctor_set(x_864, 1, x_857); +x_11 = x_864; +goto block_29; +} +} +} +} +} +} +else +{ +lean_object* x_896; lean_object* x_897; +x_896 = lean_ctor_get(x_33, 0); +lean_inc(x_896); +lean_dec(x_33); +x_897 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_897, 0, x_896); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_898; lean_object* x_899; lean_object* x_900; +x_898 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_898, 0, x_38); +x_899 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_898, x_35, x_4); +x_900 = lean_ctor_get(x_899, 0); +lean_inc(x_900); +if (lean_obj_tag(x_900) == 0) +{ +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_dec(x_897); +lean_dec(x_37); +lean_dec(x_36); +lean_dec(x_32); +lean_dec(x_31); +x_901 = lean_ctor_get(x_899, 1); +lean_inc(x_901); +if (lean_is_exclusive(x_899)) { + lean_ctor_release(x_899, 0); + lean_ctor_release(x_899, 1); + x_902 = x_899; +} else { + lean_dec_ref(x_899); + x_902 = lean_box(0); +} +x_903 = lean_ctor_get(x_900, 0); +lean_inc(x_903); +if (lean_is_exclusive(x_900)) { + lean_ctor_release(x_900, 0); + x_904 = x_900; +} else { + lean_dec_ref(x_900); + x_904 = lean_box(0); +} +if (lean_is_scalar(x_904)) { + x_905 = lean_alloc_ctor(0, 1, 0); +} else { + x_905 = x_904; +} +lean_ctor_set(x_905, 0, x_903); +if (lean_is_scalar(x_902)) { + x_906 = lean_alloc_ctor(0, 2, 0); +} else { + x_906 = x_902; +} +lean_ctor_set(x_906, 0, x_905); +lean_ctor_set(x_906, 1, x_901); +x_11 = x_906; +goto block_29; +} +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; +x_907 = lean_ctor_get(x_899, 1); +lean_inc(x_907); +if (lean_is_exclusive(x_899)) { + lean_ctor_release(x_899, 0); + lean_ctor_release(x_899, 1); + x_908 = x_899; +} else { + lean_dec_ref(x_899); + x_908 = lean_box(0); +} +x_909 = lean_ctor_get(x_900, 0); +lean_inc(x_909); +if (lean_is_exclusive(x_900)) { + lean_ctor_release(x_900, 0); + x_910 = x_900; +} else { + lean_dec_ref(x_900); + x_910 = lean_box(0); +} +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_908); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_935; lean_object* x_936; lean_object* x_937; +x_935 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_935, 0, x_31); +lean_ctor_set(x_935, 1, x_32); +lean_ctor_set(x_935, 2, x_38); +lean_ctor_set(x_935, 3, x_897); +lean_ctor_set(x_935, 4, x_38); +lean_ctor_set(x_935, 5, x_909); +lean_ctor_set(x_935, 6, x_38); +lean_ctor_set(x_935, 7, x_38); +if (lean_is_scalar(x_910)) { + x_936 = lean_alloc_ctor(1, 1, 0); +} else { + x_936 = x_910; +} +lean_ctor_set(x_936, 0, x_935); +x_937 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_937, 0, x_936); +lean_ctor_set(x_937, 1, x_907); +x_11 = x_937; +goto block_29; +} +else +{ +lean_object* x_938; lean_object* x_939; lean_object* x_940; size_t x_941; size_t 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_dec(x_910); +x_938 = lean_ctor_get(x_37, 0); +lean_inc(x_938); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_939 = x_37; +} else { + lean_dec_ref(x_37); + x_939 = lean_box(0); +} +x_940 = lean_array_get_size(x_938); +x_941 = lean_usize_of_nat(x_940); +lean_dec(x_940); +x_942 = 0; +x_943 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_941, x_942, x_938, x_907); +x_944 = lean_ctor_get(x_943, 0); +lean_inc(x_944); +x_945 = lean_ctor_get(x_943, 1); +lean_inc(x_945); +if (lean_is_exclusive(x_943)) { + lean_ctor_release(x_943, 0); + lean_ctor_release(x_943, 1); + x_946 = x_943; +} else { + lean_dec_ref(x_943); + x_946 = lean_box(0); +} +x_947 = lean_ctor_get(x_944, 0); +lean_inc(x_947); +if (lean_is_exclusive(x_944)) { + lean_ctor_release(x_944, 0); + x_948 = x_944; +} else { + lean_dec_ref(x_944); + x_948 = lean_box(0); +} +if (lean_is_scalar(x_939)) { + x_949 = lean_alloc_ctor(1, 1, 0); +} else { + x_949 = x_939; +} +lean_ctor_set(x_949, 0, x_947); +x_950 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_950, 0, x_31); +lean_ctor_set(x_950, 1, x_32); +lean_ctor_set(x_950, 2, x_38); +lean_ctor_set(x_950, 3, x_897); +lean_ctor_set(x_950, 4, x_38); +lean_ctor_set(x_950, 5, x_909); +lean_ctor_set(x_950, 6, x_38); +lean_ctor_set(x_950, 7, x_949); +if (lean_is_scalar(x_948)) { + x_951 = lean_alloc_ctor(1, 1, 0); +} else { + x_951 = x_948; +} +lean_ctor_set(x_951, 0, x_950); +if (lean_is_scalar(x_946)) { + x_952 = lean_alloc_ctor(0, 2, 0); +} else { + x_952 = x_946; +} +lean_ctor_set(x_952, 0, x_951); +lean_ctor_set(x_952, 1, x_945); +x_11 = x_952; +goto block_29; +} +} +else +{ +lean_object* x_953; lean_object* x_954; lean_object* x_955; size_t x_956; size_t 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_dec(x_910); +x_953 = lean_ctor_get(x_36, 0); +lean_inc(x_953); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + x_954 = x_36; +} else { + lean_dec_ref(x_36); + x_954 = lean_box(0); +} +x_955 = lean_array_get_size(x_953); +x_956 = lean_usize_of_nat(x_955); +lean_dec(x_955); +x_957 = 0; +x_958 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_956, x_957, x_953, x_907); +x_959 = lean_ctor_get(x_958, 0); +lean_inc(x_959); +x_960 = lean_ctor_get(x_958, 1); +lean_inc(x_960); +lean_dec(x_958); +x_961 = lean_ctor_get(x_959, 0); +lean_inc(x_961); +if (lean_is_exclusive(x_959)) { + lean_ctor_release(x_959, 0); + x_962 = x_959; +} else { + lean_dec_ref(x_959); + x_962 = lean_box(0); +} +if (lean_is_scalar(x_954)) { + x_963 = lean_alloc_ctor(1, 1, 0); +} else { + x_963 = x_954; +} +lean_ctor_set(x_963, 0, x_961); +if (lean_is_scalar(x_962)) { + x_964 = lean_alloc_ctor(1, 1, 0); +} else { + x_964 = x_962; +} +lean_ctor_set(x_964, 0, x_963); +x_911 = x_964; +x_912 = x_960; +goto block_934; +} +block_934: +{ +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; +x_913 = lean_ctor_get(x_911, 0); +lean_inc(x_913); +if (lean_is_exclusive(x_911)) { + lean_ctor_release(x_911, 0); + x_914 = x_911; +} else { + lean_dec_ref(x_911); + x_914 = lean_box(0); +} +x_915 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_915, 0, x_31); +lean_ctor_set(x_915, 1, x_32); +lean_ctor_set(x_915, 2, x_38); +lean_ctor_set(x_915, 3, x_897); +lean_ctor_set(x_915, 4, x_38); +lean_ctor_set(x_915, 5, x_909); +lean_ctor_set(x_915, 6, x_913); +lean_ctor_set(x_915, 7, x_38); +if (lean_is_scalar(x_914)) { + x_916 = lean_alloc_ctor(1, 1, 0); +} else { + x_916 = x_914; +} +lean_ctor_set(x_916, 0, x_915); +if (lean_is_scalar(x_908)) { + x_917 = lean_alloc_ctor(0, 2, 0); +} else { + x_917 = x_908; +} +lean_ctor_set(x_917, 0, x_916); +lean_ctor_set(x_917, 1, x_912); +x_11 = x_917; +goto block_29; +} +else +{ +lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; size_t x_922; size_t 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_dec(x_908); +x_918 = lean_ctor_get(x_911, 0); +lean_inc(x_918); +lean_dec(x_911); +x_919 = lean_ctor_get(x_37, 0); +lean_inc(x_919); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_920 = x_37; +} else { + lean_dec_ref(x_37); + x_920 = lean_box(0); +} +x_921 = lean_array_get_size(x_919); +x_922 = lean_usize_of_nat(x_921); +lean_dec(x_921); +x_923 = 0; +x_924 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_922, x_923, x_919, x_912); +x_925 = lean_ctor_get(x_924, 0); +lean_inc(x_925); +x_926 = lean_ctor_get(x_924, 1); +lean_inc(x_926); +if (lean_is_exclusive(x_924)) { + lean_ctor_release(x_924, 0); + lean_ctor_release(x_924, 1); + x_927 = x_924; +} else { + lean_dec_ref(x_924); + x_927 = lean_box(0); +} +x_928 = lean_ctor_get(x_925, 0); +lean_inc(x_928); +if (lean_is_exclusive(x_925)) { + lean_ctor_release(x_925, 0); + x_929 = x_925; +} else { + lean_dec_ref(x_925); + x_929 = lean_box(0); +} +if (lean_is_scalar(x_920)) { + x_930 = lean_alloc_ctor(1, 1, 0); +} else { + x_930 = x_920; +} +lean_ctor_set(x_930, 0, x_928); +x_931 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_931, 0, x_31); +lean_ctor_set(x_931, 1, x_32); +lean_ctor_set(x_931, 2, x_38); +lean_ctor_set(x_931, 3, x_897); +lean_ctor_set(x_931, 4, x_38); +lean_ctor_set(x_931, 5, x_909); +lean_ctor_set(x_931, 6, x_918); +lean_ctor_set(x_931, 7, x_930); +if (lean_is_scalar(x_929)) { + x_932 = lean_alloc_ctor(1, 1, 0); +} else { + x_932 = x_929; +} +lean_ctor_set(x_932, 0, x_931); +if (lean_is_scalar(x_927)) { + x_933 = lean_alloc_ctor(0, 2, 0); +} else { + x_933 = x_927; +} +lean_ctor_set(x_933, 0, x_932); +lean_ctor_set(x_933, 1, x_926); +x_11 = x_933; +goto block_29; +} +} +} +} +else +{ +lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; +x_965 = lean_ctor_get(x_34, 0); +lean_inc(x_965); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + x_966 = x_34; +} else { + lean_dec_ref(x_34); + x_966 = lean_box(0); +} +if (lean_is_scalar(x_966)) { + x_967 = lean_alloc_ctor(1, 1, 0); +} else { + x_967 = x_966; +} +lean_ctor_set(x_967, 0, x_965); +x_968 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_968, 0, x_38); +x_969 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_968, x_35, x_4); +x_970 = lean_ctor_get(x_969, 0); +lean_inc(x_970); +if (lean_obj_tag(x_970) == 0) +{ +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_dec(x_967); +lean_dec(x_897); +lean_dec(x_37); +lean_dec(x_36); +lean_dec(x_32); +lean_dec(x_31); +x_971 = lean_ctor_get(x_969, 1); +lean_inc(x_971); +if (lean_is_exclusive(x_969)) { + lean_ctor_release(x_969, 0); + lean_ctor_release(x_969, 1); + x_972 = x_969; +} else { + lean_dec_ref(x_969); + x_972 = lean_box(0); +} +x_973 = lean_ctor_get(x_970, 0); +lean_inc(x_973); +if (lean_is_exclusive(x_970)) { + lean_ctor_release(x_970, 0); + x_974 = x_970; +} else { + lean_dec_ref(x_970); + x_974 = lean_box(0); +} +if (lean_is_scalar(x_974)) { + x_975 = lean_alloc_ctor(0, 1, 0); +} else { + x_975 = x_974; +} +lean_ctor_set(x_975, 0, x_973); +if (lean_is_scalar(x_972)) { + x_976 = lean_alloc_ctor(0, 2, 0); +} else { + x_976 = x_972; +} +lean_ctor_set(x_976, 0, x_975); +lean_ctor_set(x_976, 1, x_971); +x_11 = x_976; +goto block_29; +} +else +{ +lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; +x_977 = lean_ctor_get(x_969, 1); +lean_inc(x_977); +if (lean_is_exclusive(x_969)) { + lean_ctor_release(x_969, 0); + lean_ctor_release(x_969, 1); + x_978 = x_969; +} else { + lean_dec_ref(x_969); + x_978 = lean_box(0); +} +x_979 = lean_ctor_get(x_970, 0); +lean_inc(x_979); +if (lean_is_exclusive(x_970)) { + lean_ctor_release(x_970, 0); + x_980 = x_970; +} else { + lean_dec_ref(x_970); + x_980 = lean_box(0); +} +if (lean_obj_tag(x_36) == 0) +{ +lean_dec(x_978); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; +x_1005 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1005, 0, x_31); +lean_ctor_set(x_1005, 1, x_32); +lean_ctor_set(x_1005, 2, x_38); +lean_ctor_set(x_1005, 3, x_897); +lean_ctor_set(x_1005, 4, x_967); +lean_ctor_set(x_1005, 5, x_979); +lean_ctor_set(x_1005, 6, x_38); +lean_ctor_set(x_1005, 7, x_38); +if (lean_is_scalar(x_980)) { + x_1006 = lean_alloc_ctor(1, 1, 0); +} else { + x_1006 = x_980; +} +lean_ctor_set(x_1006, 0, x_1005); +x_1007 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1007, 0, x_1006); +lean_ctor_set(x_1007, 1, x_977); +x_11 = x_1007; +goto block_29; +} +else +{ +lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; size_t x_1011; size_t 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_dec(x_980); +x_1008 = lean_ctor_get(x_37, 0); +lean_inc(x_1008); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_1009 = x_37; +} else { + lean_dec_ref(x_37); + x_1009 = lean_box(0); +} +x_1010 = lean_array_get_size(x_1008); +x_1011 = lean_usize_of_nat(x_1010); +lean_dec(x_1010); +x_1012 = 0; +x_1013 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1011, x_1012, x_1008, x_977); +x_1014 = lean_ctor_get(x_1013, 0); +lean_inc(x_1014); +x_1015 = lean_ctor_get(x_1013, 1); +lean_inc(x_1015); +if (lean_is_exclusive(x_1013)) { + lean_ctor_release(x_1013, 0); + lean_ctor_release(x_1013, 1); + x_1016 = x_1013; +} else { + lean_dec_ref(x_1013); + x_1016 = lean_box(0); +} +x_1017 = lean_ctor_get(x_1014, 0); +lean_inc(x_1017); +if (lean_is_exclusive(x_1014)) { + lean_ctor_release(x_1014, 0); + x_1018 = x_1014; +} else { + lean_dec_ref(x_1014); + x_1018 = lean_box(0); +} +if (lean_is_scalar(x_1009)) { + x_1019 = lean_alloc_ctor(1, 1, 0); +} else { + x_1019 = x_1009; +} +lean_ctor_set(x_1019, 0, x_1017); +x_1020 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1020, 0, x_31); +lean_ctor_set(x_1020, 1, x_32); +lean_ctor_set(x_1020, 2, x_38); +lean_ctor_set(x_1020, 3, x_897); +lean_ctor_set(x_1020, 4, x_967); +lean_ctor_set(x_1020, 5, x_979); +lean_ctor_set(x_1020, 6, x_38); +lean_ctor_set(x_1020, 7, x_1019); +if (lean_is_scalar(x_1018)) { + x_1021 = lean_alloc_ctor(1, 1, 0); +} else { + x_1021 = x_1018; +} +lean_ctor_set(x_1021, 0, x_1020); +if (lean_is_scalar(x_1016)) { + x_1022 = lean_alloc_ctor(0, 2, 0); +} else { + x_1022 = x_1016; +} +lean_ctor_set(x_1022, 0, x_1021); +lean_ctor_set(x_1022, 1, x_1015); +x_11 = x_1022; +goto block_29; +} +} +else +{ +lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; size_t x_1026; size_t 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_dec(x_980); +x_1023 = lean_ctor_get(x_36, 0); +lean_inc(x_1023); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + x_1024 = x_36; +} else { + lean_dec_ref(x_36); + x_1024 = lean_box(0); +} +x_1025 = lean_array_get_size(x_1023); +x_1026 = lean_usize_of_nat(x_1025); +lean_dec(x_1025); +x_1027 = 0; +x_1028 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1026, x_1027, x_1023, x_977); +x_1029 = lean_ctor_get(x_1028, 0); +lean_inc(x_1029); +x_1030 = lean_ctor_get(x_1028, 1); +lean_inc(x_1030); +lean_dec(x_1028); +x_1031 = lean_ctor_get(x_1029, 0); +lean_inc(x_1031); +if (lean_is_exclusive(x_1029)) { + lean_ctor_release(x_1029, 0); + x_1032 = x_1029; +} else { + lean_dec_ref(x_1029); + x_1032 = lean_box(0); +} +if (lean_is_scalar(x_1024)) { + x_1033 = lean_alloc_ctor(1, 1, 0); +} else { + x_1033 = x_1024; +} +lean_ctor_set(x_1033, 0, x_1031); +if (lean_is_scalar(x_1032)) { + x_1034 = lean_alloc_ctor(1, 1, 0); +} else { + x_1034 = x_1032; +} +lean_ctor_set(x_1034, 0, x_1033); +x_981 = x_1034; +x_982 = x_1030; +goto block_1004; +} +block_1004: +{ +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; +x_983 = lean_ctor_get(x_981, 0); +lean_inc(x_983); +if (lean_is_exclusive(x_981)) { + lean_ctor_release(x_981, 0); + x_984 = x_981; +} else { + lean_dec_ref(x_981); + x_984 = lean_box(0); +} +x_985 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_985, 0, x_31); +lean_ctor_set(x_985, 1, x_32); +lean_ctor_set(x_985, 2, x_38); +lean_ctor_set(x_985, 3, x_897); +lean_ctor_set(x_985, 4, x_967); +lean_ctor_set(x_985, 5, x_979); +lean_ctor_set(x_985, 6, x_983); +lean_ctor_set(x_985, 7, x_38); +if (lean_is_scalar(x_984)) { + x_986 = lean_alloc_ctor(1, 1, 0); +} else { + x_986 = x_984; +} +lean_ctor_set(x_986, 0, x_985); +if (lean_is_scalar(x_978)) { + x_987 = lean_alloc_ctor(0, 2, 0); +} else { + x_987 = x_978; +} +lean_ctor_set(x_987, 0, x_986); +lean_ctor_set(x_987, 1, x_982); +x_11 = x_987; +goto block_29; +} +else +{ +lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; size_t x_992; size_t 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_dec(x_978); +x_988 = lean_ctor_get(x_981, 0); +lean_inc(x_988); +lean_dec(x_981); +x_989 = lean_ctor_get(x_37, 0); +lean_inc(x_989); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + x_990 = x_37; +} else { + lean_dec_ref(x_37); + x_990 = lean_box(0); +} +x_991 = lean_array_get_size(x_989); +x_992 = lean_usize_of_nat(x_991); +lean_dec(x_991); +x_993 = 0; +x_994 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_992, x_993, x_989, x_982); +x_995 = lean_ctor_get(x_994, 0); +lean_inc(x_995); +x_996 = lean_ctor_get(x_994, 1); +lean_inc(x_996); +if (lean_is_exclusive(x_994)) { + lean_ctor_release(x_994, 0); + lean_ctor_release(x_994, 1); + x_997 = x_994; +} else { + lean_dec_ref(x_994); + x_997 = lean_box(0); +} +x_998 = lean_ctor_get(x_995, 0); +lean_inc(x_998); +if (lean_is_exclusive(x_995)) { + lean_ctor_release(x_995, 0); + x_999 = x_995; +} else { + lean_dec_ref(x_995); + x_999 = lean_box(0); +} +if (lean_is_scalar(x_990)) { + x_1000 = lean_alloc_ctor(1, 1, 0); +} else { + x_1000 = x_990; +} +lean_ctor_set(x_1000, 0, x_998); +x_1001 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1001, 0, x_31); +lean_ctor_set(x_1001, 1, x_32); +lean_ctor_set(x_1001, 2, x_38); +lean_ctor_set(x_1001, 3, x_897); +lean_ctor_set(x_1001, 4, x_967); +lean_ctor_set(x_1001, 5, x_979); +lean_ctor_set(x_1001, 6, x_988); +lean_ctor_set(x_1001, 7, x_1000); +if (lean_is_scalar(x_999)) { + x_1002 = lean_alloc_ctor(1, 1, 0); +} else { + x_1002 = x_999; +} +lean_ctor_set(x_1002, 0, x_1001); +if (lean_is_scalar(x_997)) { + x_1003 = lean_alloc_ctor(0, 2, 0); +} else { + x_1003 = x_997; +} +lean_ctor_set(x_1003, 0, x_1002); +lean_ctor_set(x_1003, 1, x_996); +x_11 = x_1003; +goto block_29; +} +} +} +} +} +} +} +else +{ +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; uint8_t x_1042; +x_1035 = lean_ctor_get(x_8, 0); +lean_inc(x_1035); +x_1036 = lean_ctor_get(x_8, 1); +lean_inc(x_1036); +x_1037 = lean_ctor_get(x_8, 3); +lean_inc(x_1037); +x_1038 = lean_ctor_get(x_8, 4); +lean_inc(x_1038); +x_1039 = lean_ctor_get(x_8, 5); +lean_inc(x_1039); +x_1040 = lean_ctor_get(x_8, 6); +lean_inc(x_1040); +x_1041 = lean_ctor_get(x_8, 7); +lean_inc(x_1041); +lean_dec(x_8); +x_1042 = !lean_is_exclusive(x_30); +if (x_1042 == 0) +{ +if (lean_obj_tag(x_1037) == 0) +{ +lean_object* x_1043; +x_1043 = lean_box(0); +if (lean_obj_tag(x_1038) == 0) +{ +lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; +x_1044 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_1044, 0, x_1043); +x_1045 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_1044, x_1039, x_4); +x_1046 = lean_ctor_get(x_1045, 0); +lean_inc(x_1046); +if (lean_obj_tag(x_1046) == 0) +{ +uint8_t x_1047; +lean_dec(x_30); +lean_dec(x_1041); +lean_dec(x_1040); +lean_dec(x_1036); +lean_dec(x_1035); +x_1047 = !lean_is_exclusive(x_1045); +if (x_1047 == 0) +{ +lean_object* x_1048; uint8_t x_1049; +x_1048 = lean_ctor_get(x_1045, 0); +lean_dec(x_1048); +x_1049 = !lean_is_exclusive(x_1046); +if (x_1049 == 0) +{ +x_11 = x_1045; +goto block_29; +} +else +{ +lean_object* x_1050; lean_object* x_1051; +x_1050 = lean_ctor_get(x_1046, 0); +lean_inc(x_1050); +lean_dec(x_1046); +x_1051 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1051, 0, x_1050); +lean_ctor_set(x_1045, 0, x_1051); +x_11 = x_1045; +goto block_29; +} +} +else +{ +lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; +x_1052 = lean_ctor_get(x_1045, 1); +lean_inc(x_1052); +lean_dec(x_1045); +x_1053 = lean_ctor_get(x_1046, 0); +lean_inc(x_1053); +if (lean_is_exclusive(x_1046)) { + lean_ctor_release(x_1046, 0); + x_1054 = x_1046; +} else { + lean_dec_ref(x_1046); + x_1054 = lean_box(0); +} +if (lean_is_scalar(x_1054)) { + x_1055 = lean_alloc_ctor(0, 1, 0); +} else { + x_1055 = x_1054; +} +lean_ctor_set(x_1055, 0, x_1053); +x_1056 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1056, 0, x_1055); +lean_ctor_set(x_1056, 1, x_1052); +x_11 = x_1056; +goto block_29; +} +} +else +{ +lean_object* x_1057; lean_object* x_1058; uint8_t x_1059; +x_1057 = lean_ctor_get(x_1045, 1); +lean_inc(x_1057); +if (lean_is_exclusive(x_1045)) { + lean_ctor_release(x_1045, 0); + lean_ctor_release(x_1045, 1); + x_1058 = x_1045; +} else { + lean_dec_ref(x_1045); + x_1058 = lean_box(0); +} +x_1059 = !lean_is_exclusive(x_1046); +if (x_1059 == 0) +{ +lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; +x_1060 = lean_ctor_get(x_1046, 0); +if (lean_obj_tag(x_1040) == 0) +{ +lean_dec(x_1058); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1108; lean_object* x_1109; +x_1108 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1108, 0, x_1035); +lean_ctor_set(x_1108, 1, x_1036); +lean_ctor_set(x_1108, 2, x_30); +lean_ctor_set(x_1108, 3, x_1043); +lean_ctor_set(x_1108, 4, x_1043); +lean_ctor_set(x_1108, 5, x_1060); +lean_ctor_set(x_1108, 6, x_1043); +lean_ctor_set(x_1108, 7, x_1043); +lean_ctor_set(x_1046, 0, x_1108); +x_1109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1109, 0, x_1046); +lean_ctor_set(x_1109, 1, x_1057); +x_11 = x_1109; +goto block_29; +} +else +{ +uint8_t x_1110; +lean_free_object(x_1046); +x_1110 = !lean_is_exclusive(x_1041); +if (x_1110 == 0) +{ +lean_object* x_1111; lean_object* x_1112; size_t x_1113; size_t x_1114; lean_object* x_1115; uint8_t x_1116; +x_1111 = lean_ctor_get(x_1041, 0); +x_1112 = lean_array_get_size(x_1111); +x_1113 = lean_usize_of_nat(x_1112); +lean_dec(x_1112); +x_1114 = 0; +x_1115 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1113, x_1114, x_1111, x_1057); +x_1116 = !lean_is_exclusive(x_1115); +if (x_1116 == 0) +{ +lean_object* x_1117; uint8_t x_1118; +x_1117 = lean_ctor_get(x_1115, 0); +x_1118 = !lean_is_exclusive(x_1117); +if (x_1118 == 0) +{ +lean_object* x_1119; lean_object* x_1120; +x_1119 = lean_ctor_get(x_1117, 0); +lean_ctor_set(x_1041, 0, x_1119); +x_1120 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1120, 0, x_1035); +lean_ctor_set(x_1120, 1, x_1036); +lean_ctor_set(x_1120, 2, x_30); +lean_ctor_set(x_1120, 3, x_1043); +lean_ctor_set(x_1120, 4, x_1043); +lean_ctor_set(x_1120, 5, x_1060); +lean_ctor_set(x_1120, 6, x_1043); +lean_ctor_set(x_1120, 7, x_1041); +lean_ctor_set(x_1117, 0, x_1120); +x_11 = x_1115; +goto block_29; +} +else +{ +lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; +x_1121 = lean_ctor_get(x_1117, 0); +lean_inc(x_1121); +lean_dec(x_1117); +lean_ctor_set(x_1041, 0, x_1121); +x_1122 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1122, 0, x_1035); +lean_ctor_set(x_1122, 1, x_1036); +lean_ctor_set(x_1122, 2, x_30); +lean_ctor_set(x_1122, 3, x_1043); +lean_ctor_set(x_1122, 4, x_1043); +lean_ctor_set(x_1122, 5, x_1060); +lean_ctor_set(x_1122, 6, x_1043); +lean_ctor_set(x_1122, 7, x_1041); +x_1123 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1123, 0, x_1122); +lean_ctor_set(x_1115, 0, x_1123); +x_11 = x_1115; +goto block_29; +} +} +else +{ +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; +x_1124 = lean_ctor_get(x_1115, 0); +x_1125 = lean_ctor_get(x_1115, 1); +lean_inc(x_1125); +lean_inc(x_1124); +lean_dec(x_1115); +x_1126 = lean_ctor_get(x_1124, 0); +lean_inc(x_1126); +if (lean_is_exclusive(x_1124)) { + lean_ctor_release(x_1124, 0); + x_1127 = x_1124; +} else { + lean_dec_ref(x_1124); + x_1127 = lean_box(0); +} +lean_ctor_set(x_1041, 0, x_1126); +x_1128 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1128, 0, x_1035); +lean_ctor_set(x_1128, 1, x_1036); +lean_ctor_set(x_1128, 2, x_30); +lean_ctor_set(x_1128, 3, x_1043); +lean_ctor_set(x_1128, 4, x_1043); +lean_ctor_set(x_1128, 5, x_1060); +lean_ctor_set(x_1128, 6, x_1043); +lean_ctor_set(x_1128, 7, x_1041); +if (lean_is_scalar(x_1127)) { + x_1129 = lean_alloc_ctor(1, 1, 0); +} else { + x_1129 = x_1127; +} +lean_ctor_set(x_1129, 0, x_1128); +x_1130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1130, 0, x_1129); +lean_ctor_set(x_1130, 1, x_1125); +x_11 = x_1130; +goto block_29; +} +} +else +{ +lean_object* x_1131; lean_object* x_1132; size_t x_1133; size_t 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; +x_1131 = lean_ctor_get(x_1041, 0); +lean_inc(x_1131); +lean_dec(x_1041); +x_1132 = lean_array_get_size(x_1131); +x_1133 = lean_usize_of_nat(x_1132); +lean_dec(x_1132); +x_1134 = 0; +x_1135 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1133, x_1134, x_1131, x_1057); +x_1136 = lean_ctor_get(x_1135, 0); +lean_inc(x_1136); +x_1137 = lean_ctor_get(x_1135, 1); +lean_inc(x_1137); +if (lean_is_exclusive(x_1135)) { + lean_ctor_release(x_1135, 0); + lean_ctor_release(x_1135, 1); + x_1138 = x_1135; +} else { + lean_dec_ref(x_1135); + x_1138 = lean_box(0); +} +x_1139 = lean_ctor_get(x_1136, 0); +lean_inc(x_1139); +if (lean_is_exclusive(x_1136)) { + lean_ctor_release(x_1136, 0); + x_1140 = x_1136; +} else { + lean_dec_ref(x_1136); + x_1140 = lean_box(0); +} +x_1141 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1141, 0, x_1139); +x_1142 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1142, 0, x_1035); +lean_ctor_set(x_1142, 1, x_1036); +lean_ctor_set(x_1142, 2, x_30); +lean_ctor_set(x_1142, 3, x_1043); +lean_ctor_set(x_1142, 4, x_1043); +lean_ctor_set(x_1142, 5, x_1060); +lean_ctor_set(x_1142, 6, x_1043); +lean_ctor_set(x_1142, 7, x_1141); +if (lean_is_scalar(x_1140)) { + x_1143 = lean_alloc_ctor(1, 1, 0); +} else { + x_1143 = x_1140; +} +lean_ctor_set(x_1143, 0, x_1142); +if (lean_is_scalar(x_1138)) { + x_1144 = lean_alloc_ctor(0, 2, 0); +} else { + x_1144 = x_1138; +} +lean_ctor_set(x_1144, 0, x_1143); +lean_ctor_set(x_1144, 1, x_1137); +x_11 = x_1144; +goto block_29; +} +} +} +else +{ +uint8_t x_1145; +lean_free_object(x_1046); +x_1145 = !lean_is_exclusive(x_1040); +if (x_1145 == 0) +{ +lean_object* x_1146; lean_object* x_1147; size_t x_1148; size_t x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; uint8_t x_1153; +x_1146 = lean_ctor_get(x_1040, 0); +x_1147 = lean_array_get_size(x_1146); +x_1148 = lean_usize_of_nat(x_1147); +lean_dec(x_1147); +x_1149 = 0; +x_1150 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1148, x_1149, x_1146, x_1057); +x_1151 = lean_ctor_get(x_1150, 0); +lean_inc(x_1151); +x_1152 = lean_ctor_get(x_1150, 1); +lean_inc(x_1152); +lean_dec(x_1150); +x_1153 = !lean_is_exclusive(x_1151); +if (x_1153 == 0) +{ +lean_object* x_1154; +x_1154 = lean_ctor_get(x_1151, 0); +lean_ctor_set(x_1040, 0, x_1154); +lean_ctor_set(x_1151, 0, x_1040); +x_1061 = x_1151; +x_1062 = x_1152; +goto block_1107; +} +else +{ +lean_object* x_1155; lean_object* x_1156; +x_1155 = lean_ctor_get(x_1151, 0); +lean_inc(x_1155); +lean_dec(x_1151); +lean_ctor_set(x_1040, 0, x_1155); +x_1156 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1156, 0, x_1040); +x_1061 = x_1156; +x_1062 = x_1152; +goto block_1107; +} +} +else +{ +lean_object* x_1157; lean_object* x_1158; size_t x_1159; size_t x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; +x_1157 = lean_ctor_get(x_1040, 0); +lean_inc(x_1157); +lean_dec(x_1040); +x_1158 = lean_array_get_size(x_1157); +x_1159 = lean_usize_of_nat(x_1158); +lean_dec(x_1158); +x_1160 = 0; +x_1161 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1159, x_1160, x_1157, x_1057); +x_1162 = lean_ctor_get(x_1161, 0); +lean_inc(x_1162); +x_1163 = lean_ctor_get(x_1161, 1); +lean_inc(x_1163); +lean_dec(x_1161); +x_1164 = lean_ctor_get(x_1162, 0); +lean_inc(x_1164); +if (lean_is_exclusive(x_1162)) { + lean_ctor_release(x_1162, 0); + x_1165 = x_1162; +} else { + lean_dec_ref(x_1162); + x_1165 = lean_box(0); +} +x_1166 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1166, 0, x_1164); +if (lean_is_scalar(x_1165)) { + x_1167 = lean_alloc_ctor(1, 1, 0); +} else { + x_1167 = x_1165; +} +lean_ctor_set(x_1167, 0, x_1166); +x_1061 = x_1167; +x_1062 = x_1163; +goto block_1107; +} +} +block_1107: +{ +if (lean_obj_tag(x_1041) == 0) +{ +uint8_t x_1063; +x_1063 = !lean_is_exclusive(x_1061); +if (x_1063 == 0) +{ +lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; +x_1064 = lean_ctor_get(x_1061, 0); +x_1065 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1065, 0, x_1035); +lean_ctor_set(x_1065, 1, x_1036); +lean_ctor_set(x_1065, 2, x_30); +lean_ctor_set(x_1065, 3, x_1043); +lean_ctor_set(x_1065, 4, x_1043); +lean_ctor_set(x_1065, 5, x_1060); +lean_ctor_set(x_1065, 6, x_1064); +lean_ctor_set(x_1065, 7, x_1043); +lean_ctor_set(x_1061, 0, x_1065); +if (lean_is_scalar(x_1058)) { + x_1066 = lean_alloc_ctor(0, 2, 0); +} else { + x_1066 = x_1058; +} +lean_ctor_set(x_1066, 0, x_1061); +lean_ctor_set(x_1066, 1, x_1062); +x_11 = x_1066; +goto block_29; +} +else +{ +lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; +x_1067 = lean_ctor_get(x_1061, 0); +lean_inc(x_1067); +lean_dec(x_1061); +x_1068 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1068, 0, x_1035); +lean_ctor_set(x_1068, 1, x_1036); +lean_ctor_set(x_1068, 2, x_30); +lean_ctor_set(x_1068, 3, x_1043); +lean_ctor_set(x_1068, 4, x_1043); +lean_ctor_set(x_1068, 5, x_1060); +lean_ctor_set(x_1068, 6, x_1067); +lean_ctor_set(x_1068, 7, x_1043); +x_1069 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1069, 0, x_1068); +if (lean_is_scalar(x_1058)) { + x_1070 = lean_alloc_ctor(0, 2, 0); +} else { + x_1070 = x_1058; +} +lean_ctor_set(x_1070, 0, x_1069); +lean_ctor_set(x_1070, 1, x_1062); +x_11 = x_1070; +goto block_29; +} +} +else +{ +lean_object* x_1071; uint8_t x_1072; +lean_dec(x_1058); +x_1071 = lean_ctor_get(x_1061, 0); +lean_inc(x_1071); +lean_dec(x_1061); +x_1072 = !lean_is_exclusive(x_1041); +if (x_1072 == 0) +{ +lean_object* x_1073; lean_object* x_1074; size_t x_1075; size_t x_1076; lean_object* x_1077; uint8_t x_1078; +x_1073 = lean_ctor_get(x_1041, 0); +x_1074 = lean_array_get_size(x_1073); +x_1075 = lean_usize_of_nat(x_1074); +lean_dec(x_1074); +x_1076 = 0; +x_1077 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1075, x_1076, x_1073, x_1062); +x_1078 = !lean_is_exclusive(x_1077); +if (x_1078 == 0) +{ +lean_object* x_1079; uint8_t x_1080; +x_1079 = lean_ctor_get(x_1077, 0); +x_1080 = !lean_is_exclusive(x_1079); +if (x_1080 == 0) +{ +lean_object* x_1081; lean_object* x_1082; +x_1081 = lean_ctor_get(x_1079, 0); +lean_ctor_set(x_1041, 0, x_1081); +x_1082 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1082, 0, x_1035); +lean_ctor_set(x_1082, 1, x_1036); +lean_ctor_set(x_1082, 2, x_30); +lean_ctor_set(x_1082, 3, x_1043); +lean_ctor_set(x_1082, 4, x_1043); +lean_ctor_set(x_1082, 5, x_1060); +lean_ctor_set(x_1082, 6, x_1071); +lean_ctor_set(x_1082, 7, x_1041); +lean_ctor_set(x_1079, 0, x_1082); +x_11 = x_1077; +goto block_29; +} +else +{ +lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; +x_1083 = lean_ctor_get(x_1079, 0); +lean_inc(x_1083); +lean_dec(x_1079); +lean_ctor_set(x_1041, 0, x_1083); +x_1084 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1084, 0, x_1035); +lean_ctor_set(x_1084, 1, x_1036); +lean_ctor_set(x_1084, 2, x_30); +lean_ctor_set(x_1084, 3, x_1043); +lean_ctor_set(x_1084, 4, x_1043); +lean_ctor_set(x_1084, 5, x_1060); +lean_ctor_set(x_1084, 6, x_1071); +lean_ctor_set(x_1084, 7, x_1041); +x_1085 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1085, 0, x_1084); +lean_ctor_set(x_1077, 0, x_1085); +x_11 = x_1077; +goto block_29; +} +} +else +{ +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; +x_1086 = lean_ctor_get(x_1077, 0); +x_1087 = lean_ctor_get(x_1077, 1); +lean_inc(x_1087); +lean_inc(x_1086); +lean_dec(x_1077); +x_1088 = lean_ctor_get(x_1086, 0); +lean_inc(x_1088); +if (lean_is_exclusive(x_1086)) { + lean_ctor_release(x_1086, 0); + x_1089 = x_1086; +} else { + lean_dec_ref(x_1086); + x_1089 = lean_box(0); +} +lean_ctor_set(x_1041, 0, x_1088); +x_1090 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1090, 0, x_1035); +lean_ctor_set(x_1090, 1, x_1036); +lean_ctor_set(x_1090, 2, x_30); +lean_ctor_set(x_1090, 3, x_1043); +lean_ctor_set(x_1090, 4, x_1043); +lean_ctor_set(x_1090, 5, x_1060); +lean_ctor_set(x_1090, 6, x_1071); +lean_ctor_set(x_1090, 7, x_1041); +if (lean_is_scalar(x_1089)) { + x_1091 = lean_alloc_ctor(1, 1, 0); +} else { + x_1091 = x_1089; +} +lean_ctor_set(x_1091, 0, x_1090); +x_1092 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1092, 0, x_1091); +lean_ctor_set(x_1092, 1, x_1087); +x_11 = x_1092; +goto block_29; +} +} +else +{ +lean_object* x_1093; lean_object* x_1094; size_t x_1095; size_t 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; +x_1093 = lean_ctor_get(x_1041, 0); +lean_inc(x_1093); +lean_dec(x_1041); +x_1094 = lean_array_get_size(x_1093); +x_1095 = lean_usize_of_nat(x_1094); +lean_dec(x_1094); +x_1096 = 0; +x_1097 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1095, x_1096, x_1093, x_1062); +x_1098 = lean_ctor_get(x_1097, 0); +lean_inc(x_1098); +x_1099 = lean_ctor_get(x_1097, 1); +lean_inc(x_1099); +if (lean_is_exclusive(x_1097)) { + lean_ctor_release(x_1097, 0); + lean_ctor_release(x_1097, 1); + x_1100 = x_1097; +} else { + lean_dec_ref(x_1097); + x_1100 = lean_box(0); +} +x_1101 = lean_ctor_get(x_1098, 0); +lean_inc(x_1101); +if (lean_is_exclusive(x_1098)) { + lean_ctor_release(x_1098, 0); + x_1102 = x_1098; +} else { + lean_dec_ref(x_1098); + x_1102 = lean_box(0); +} +x_1103 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1103, 0, x_1101); +x_1104 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1104, 0, x_1035); +lean_ctor_set(x_1104, 1, x_1036); +lean_ctor_set(x_1104, 2, x_30); +lean_ctor_set(x_1104, 3, x_1043); +lean_ctor_set(x_1104, 4, x_1043); +lean_ctor_set(x_1104, 5, x_1060); +lean_ctor_set(x_1104, 6, x_1071); +lean_ctor_set(x_1104, 7, x_1103); +if (lean_is_scalar(x_1102)) { + x_1105 = lean_alloc_ctor(1, 1, 0); +} else { + x_1105 = x_1102; +} +lean_ctor_set(x_1105, 0, x_1104); +if (lean_is_scalar(x_1100)) { + x_1106 = lean_alloc_ctor(0, 2, 0); +} else { + x_1106 = x_1100; +} +lean_ctor_set(x_1106, 0, x_1105); +lean_ctor_set(x_1106, 1, x_1099); +x_11 = x_1106; +goto block_29; +} +} +} +} +else +{ +lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; +x_1168 = lean_ctor_get(x_1046, 0); +lean_inc(x_1168); +lean_dec(x_1046); +if (lean_obj_tag(x_1040) == 0) +{ +lean_dec(x_1058); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; +x_1193 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1193, 0, x_1035); +lean_ctor_set(x_1193, 1, x_1036); +lean_ctor_set(x_1193, 2, x_30); +lean_ctor_set(x_1193, 3, x_1043); +lean_ctor_set(x_1193, 4, x_1043); +lean_ctor_set(x_1193, 5, x_1168); +lean_ctor_set(x_1193, 6, x_1043); +lean_ctor_set(x_1193, 7, x_1043); +x_1194 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1194, 0, x_1193); +x_1195 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1195, 0, x_1194); +lean_ctor_set(x_1195, 1, x_1057); +x_11 = x_1195; +goto block_29; +} +else +{ +lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; size_t x_1199; size_t 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; +x_1196 = lean_ctor_get(x_1041, 0); +lean_inc(x_1196); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1197 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1197 = lean_box(0); +} +x_1198 = lean_array_get_size(x_1196); +x_1199 = lean_usize_of_nat(x_1198); +lean_dec(x_1198); +x_1200 = 0; +x_1201 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1199, x_1200, x_1196, x_1057); +x_1202 = lean_ctor_get(x_1201, 0); +lean_inc(x_1202); +x_1203 = lean_ctor_get(x_1201, 1); +lean_inc(x_1203); +if (lean_is_exclusive(x_1201)) { + lean_ctor_release(x_1201, 0); + lean_ctor_release(x_1201, 1); + x_1204 = x_1201; +} else { + lean_dec_ref(x_1201); + x_1204 = lean_box(0); +} +x_1205 = lean_ctor_get(x_1202, 0); +lean_inc(x_1205); +if (lean_is_exclusive(x_1202)) { + lean_ctor_release(x_1202, 0); + x_1206 = x_1202; +} else { + lean_dec_ref(x_1202); + x_1206 = lean_box(0); +} +if (lean_is_scalar(x_1197)) { + x_1207 = lean_alloc_ctor(1, 1, 0); +} else { + x_1207 = x_1197; +} +lean_ctor_set(x_1207, 0, x_1205); +x_1208 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1208, 0, x_1035); +lean_ctor_set(x_1208, 1, x_1036); +lean_ctor_set(x_1208, 2, x_30); +lean_ctor_set(x_1208, 3, x_1043); +lean_ctor_set(x_1208, 4, x_1043); +lean_ctor_set(x_1208, 5, x_1168); +lean_ctor_set(x_1208, 6, x_1043); +lean_ctor_set(x_1208, 7, x_1207); +if (lean_is_scalar(x_1206)) { + x_1209 = lean_alloc_ctor(1, 1, 0); +} else { + x_1209 = x_1206; +} +lean_ctor_set(x_1209, 0, x_1208); +if (lean_is_scalar(x_1204)) { + x_1210 = lean_alloc_ctor(0, 2, 0); +} else { + x_1210 = x_1204; +} +lean_ctor_set(x_1210, 0, x_1209); +lean_ctor_set(x_1210, 1, x_1203); +x_11 = x_1210; +goto block_29; +} +} +else +{ +lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; size_t x_1214; size_t x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; +x_1211 = lean_ctor_get(x_1040, 0); +lean_inc(x_1211); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + x_1212 = x_1040; +} else { + lean_dec_ref(x_1040); + x_1212 = lean_box(0); +} +x_1213 = lean_array_get_size(x_1211); +x_1214 = lean_usize_of_nat(x_1213); +lean_dec(x_1213); +x_1215 = 0; +x_1216 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1214, x_1215, x_1211, x_1057); +x_1217 = lean_ctor_get(x_1216, 0); +lean_inc(x_1217); +x_1218 = lean_ctor_get(x_1216, 1); +lean_inc(x_1218); +lean_dec(x_1216); +x_1219 = lean_ctor_get(x_1217, 0); +lean_inc(x_1219); +if (lean_is_exclusive(x_1217)) { + lean_ctor_release(x_1217, 0); + x_1220 = x_1217; +} else { + lean_dec_ref(x_1217); + x_1220 = lean_box(0); +} +if (lean_is_scalar(x_1212)) { + x_1221 = lean_alloc_ctor(1, 1, 0); +} else { + x_1221 = x_1212; +} +lean_ctor_set(x_1221, 0, x_1219); +if (lean_is_scalar(x_1220)) { + x_1222 = lean_alloc_ctor(1, 1, 0); +} else { + x_1222 = x_1220; +} +lean_ctor_set(x_1222, 0, x_1221); +x_1169 = x_1222; +x_1170 = x_1218; +goto block_1192; +} +block_1192: +{ +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; +x_1171 = lean_ctor_get(x_1169, 0); +lean_inc(x_1171); +if (lean_is_exclusive(x_1169)) { + lean_ctor_release(x_1169, 0); + x_1172 = x_1169; +} else { + lean_dec_ref(x_1169); + x_1172 = lean_box(0); +} +x_1173 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1173, 0, x_1035); +lean_ctor_set(x_1173, 1, x_1036); +lean_ctor_set(x_1173, 2, x_30); +lean_ctor_set(x_1173, 3, x_1043); +lean_ctor_set(x_1173, 4, x_1043); +lean_ctor_set(x_1173, 5, x_1168); +lean_ctor_set(x_1173, 6, x_1171); +lean_ctor_set(x_1173, 7, x_1043); +if (lean_is_scalar(x_1172)) { + x_1174 = lean_alloc_ctor(1, 1, 0); +} else { + x_1174 = x_1172; +} +lean_ctor_set(x_1174, 0, x_1173); +if (lean_is_scalar(x_1058)) { + x_1175 = lean_alloc_ctor(0, 2, 0); +} else { + x_1175 = x_1058; +} +lean_ctor_set(x_1175, 0, x_1174); +lean_ctor_set(x_1175, 1, x_1170); +x_11 = x_1175; +goto block_29; +} +else +{ +lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; size_t x_1180; size_t 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_dec(x_1058); +x_1176 = lean_ctor_get(x_1169, 0); +lean_inc(x_1176); +lean_dec(x_1169); +x_1177 = lean_ctor_get(x_1041, 0); +lean_inc(x_1177); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1178 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1178 = lean_box(0); +} +x_1179 = lean_array_get_size(x_1177); +x_1180 = lean_usize_of_nat(x_1179); +lean_dec(x_1179); +x_1181 = 0; +x_1182 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1180, x_1181, x_1177, x_1170); +x_1183 = lean_ctor_get(x_1182, 0); +lean_inc(x_1183); +x_1184 = lean_ctor_get(x_1182, 1); +lean_inc(x_1184); +if (lean_is_exclusive(x_1182)) { + lean_ctor_release(x_1182, 0); + lean_ctor_release(x_1182, 1); + x_1185 = x_1182; +} else { + lean_dec_ref(x_1182); + x_1185 = lean_box(0); +} +x_1186 = lean_ctor_get(x_1183, 0); +lean_inc(x_1186); +if (lean_is_exclusive(x_1183)) { + lean_ctor_release(x_1183, 0); + x_1187 = x_1183; +} else { + lean_dec_ref(x_1183); + x_1187 = lean_box(0); +} +if (lean_is_scalar(x_1178)) { + x_1188 = lean_alloc_ctor(1, 1, 0); +} else { + x_1188 = x_1178; +} +lean_ctor_set(x_1188, 0, x_1186); +x_1189 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1189, 0, x_1035); +lean_ctor_set(x_1189, 1, x_1036); +lean_ctor_set(x_1189, 2, x_30); +lean_ctor_set(x_1189, 3, x_1043); +lean_ctor_set(x_1189, 4, x_1043); +lean_ctor_set(x_1189, 5, x_1168); +lean_ctor_set(x_1189, 6, x_1176); +lean_ctor_set(x_1189, 7, x_1188); +if (lean_is_scalar(x_1187)) { + x_1190 = lean_alloc_ctor(1, 1, 0); +} else { + x_1190 = x_1187; +} +lean_ctor_set(x_1190, 0, x_1189); +if (lean_is_scalar(x_1185)) { + x_1191 = lean_alloc_ctor(0, 2, 0); +} else { + x_1191 = x_1185; +} +lean_ctor_set(x_1191, 0, x_1190); +lean_ctor_set(x_1191, 1, x_1184); +x_11 = x_1191; +goto block_29; +} +} +} +} +} +else +{ +uint8_t x_1223; +x_1223 = !lean_is_exclusive(x_1038); +if (x_1223 == 0) +{ +lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; +x_1224 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_1224, 0, x_1043); +x_1225 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_1224, x_1039, x_4); +x_1226 = lean_ctor_get(x_1225, 0); +lean_inc(x_1226); +if (lean_obj_tag(x_1226) == 0) +{ +uint8_t x_1227; +lean_dec(x_1038); +lean_dec(x_30); +lean_dec(x_1041); +lean_dec(x_1040); +lean_dec(x_1036); +lean_dec(x_1035); +x_1227 = !lean_is_exclusive(x_1225); +if (x_1227 == 0) +{ +lean_object* x_1228; uint8_t x_1229; +x_1228 = lean_ctor_get(x_1225, 0); +lean_dec(x_1228); +x_1229 = !lean_is_exclusive(x_1226); +if (x_1229 == 0) +{ +x_11 = x_1225; +goto block_29; +} +else +{ +lean_object* x_1230; lean_object* x_1231; +x_1230 = lean_ctor_get(x_1226, 0); +lean_inc(x_1230); +lean_dec(x_1226); +x_1231 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1231, 0, x_1230); +lean_ctor_set(x_1225, 0, x_1231); +x_11 = x_1225; +goto block_29; +} +} +else +{ +lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; +x_1232 = lean_ctor_get(x_1225, 1); +lean_inc(x_1232); +lean_dec(x_1225); +x_1233 = lean_ctor_get(x_1226, 0); +lean_inc(x_1233); +if (lean_is_exclusive(x_1226)) { + lean_ctor_release(x_1226, 0); + x_1234 = x_1226; +} else { + lean_dec_ref(x_1226); + x_1234 = lean_box(0); +} +if (lean_is_scalar(x_1234)) { + x_1235 = lean_alloc_ctor(0, 1, 0); +} else { + x_1235 = x_1234; +} +lean_ctor_set(x_1235, 0, x_1233); +x_1236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1236, 0, x_1235); +lean_ctor_set(x_1236, 1, x_1232); +x_11 = x_1236; +goto block_29; +} +} +else +{ +lean_object* x_1237; lean_object* x_1238; uint8_t x_1239; +x_1237 = lean_ctor_get(x_1225, 1); +lean_inc(x_1237); +if (lean_is_exclusive(x_1225)) { + lean_ctor_release(x_1225, 0); + lean_ctor_release(x_1225, 1); + x_1238 = x_1225; +} else { + lean_dec_ref(x_1225); + x_1238 = lean_box(0); +} +x_1239 = !lean_is_exclusive(x_1226); +if (x_1239 == 0) +{ +lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; +x_1240 = lean_ctor_get(x_1226, 0); +if (lean_obj_tag(x_1040) == 0) +{ +lean_dec(x_1238); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1288; lean_object* x_1289; +x_1288 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1288, 0, x_1035); +lean_ctor_set(x_1288, 1, x_1036); +lean_ctor_set(x_1288, 2, x_30); +lean_ctor_set(x_1288, 3, x_1043); +lean_ctor_set(x_1288, 4, x_1038); +lean_ctor_set(x_1288, 5, x_1240); +lean_ctor_set(x_1288, 6, x_1043); +lean_ctor_set(x_1288, 7, x_1043); +lean_ctor_set(x_1226, 0, x_1288); +x_1289 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1289, 0, x_1226); +lean_ctor_set(x_1289, 1, x_1237); +x_11 = x_1289; +goto block_29; +} +else +{ +uint8_t x_1290; +lean_free_object(x_1226); +x_1290 = !lean_is_exclusive(x_1041); +if (x_1290 == 0) +{ +lean_object* x_1291; lean_object* x_1292; size_t x_1293; size_t x_1294; lean_object* x_1295; uint8_t x_1296; +x_1291 = lean_ctor_get(x_1041, 0); +x_1292 = lean_array_get_size(x_1291); +x_1293 = lean_usize_of_nat(x_1292); +lean_dec(x_1292); +x_1294 = 0; +x_1295 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1293, x_1294, x_1291, x_1237); +x_1296 = !lean_is_exclusive(x_1295); +if (x_1296 == 0) +{ +lean_object* x_1297; uint8_t x_1298; +x_1297 = lean_ctor_get(x_1295, 0); +x_1298 = !lean_is_exclusive(x_1297); +if (x_1298 == 0) +{ +lean_object* x_1299; lean_object* x_1300; +x_1299 = lean_ctor_get(x_1297, 0); +lean_ctor_set(x_1041, 0, x_1299); +x_1300 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1300, 0, x_1035); +lean_ctor_set(x_1300, 1, x_1036); +lean_ctor_set(x_1300, 2, x_30); +lean_ctor_set(x_1300, 3, x_1043); +lean_ctor_set(x_1300, 4, x_1038); +lean_ctor_set(x_1300, 5, x_1240); +lean_ctor_set(x_1300, 6, x_1043); +lean_ctor_set(x_1300, 7, x_1041); +lean_ctor_set(x_1297, 0, x_1300); +x_11 = x_1295; +goto block_29; +} +else +{ +lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; +x_1301 = lean_ctor_get(x_1297, 0); +lean_inc(x_1301); +lean_dec(x_1297); +lean_ctor_set(x_1041, 0, x_1301); +x_1302 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1302, 0, x_1035); +lean_ctor_set(x_1302, 1, x_1036); +lean_ctor_set(x_1302, 2, x_30); +lean_ctor_set(x_1302, 3, x_1043); +lean_ctor_set(x_1302, 4, x_1038); +lean_ctor_set(x_1302, 5, x_1240); +lean_ctor_set(x_1302, 6, x_1043); +lean_ctor_set(x_1302, 7, x_1041); +x_1303 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1303, 0, x_1302); +lean_ctor_set(x_1295, 0, x_1303); +x_11 = x_1295; +goto block_29; +} +} +else +{ +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; +x_1304 = lean_ctor_get(x_1295, 0); +x_1305 = lean_ctor_get(x_1295, 1); +lean_inc(x_1305); +lean_inc(x_1304); +lean_dec(x_1295); +x_1306 = lean_ctor_get(x_1304, 0); +lean_inc(x_1306); +if (lean_is_exclusive(x_1304)) { + lean_ctor_release(x_1304, 0); + x_1307 = x_1304; +} else { + lean_dec_ref(x_1304); + x_1307 = lean_box(0); +} +lean_ctor_set(x_1041, 0, x_1306); +x_1308 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1308, 0, x_1035); +lean_ctor_set(x_1308, 1, x_1036); +lean_ctor_set(x_1308, 2, x_30); +lean_ctor_set(x_1308, 3, x_1043); +lean_ctor_set(x_1308, 4, x_1038); +lean_ctor_set(x_1308, 5, x_1240); +lean_ctor_set(x_1308, 6, x_1043); +lean_ctor_set(x_1308, 7, x_1041); +if (lean_is_scalar(x_1307)) { + x_1309 = lean_alloc_ctor(1, 1, 0); +} else { + x_1309 = x_1307; +} +lean_ctor_set(x_1309, 0, x_1308); +x_1310 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1310, 0, x_1309); +lean_ctor_set(x_1310, 1, x_1305); +x_11 = x_1310; +goto block_29; +} +} +else +{ +lean_object* x_1311; lean_object* x_1312; size_t x_1313; size_t 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; +x_1311 = lean_ctor_get(x_1041, 0); +lean_inc(x_1311); +lean_dec(x_1041); +x_1312 = lean_array_get_size(x_1311); +x_1313 = lean_usize_of_nat(x_1312); +lean_dec(x_1312); +x_1314 = 0; +x_1315 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1313, x_1314, x_1311, x_1237); +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 = lean_ctor_get(x_1316, 0); +lean_inc(x_1319); +if (lean_is_exclusive(x_1316)) { + lean_ctor_release(x_1316, 0); + x_1320 = x_1316; +} else { + lean_dec_ref(x_1316); + x_1320 = lean_box(0); +} +x_1321 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1321, 0, x_1319); +x_1322 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1322, 0, x_1035); +lean_ctor_set(x_1322, 1, x_1036); +lean_ctor_set(x_1322, 2, x_30); +lean_ctor_set(x_1322, 3, x_1043); +lean_ctor_set(x_1322, 4, x_1038); +lean_ctor_set(x_1322, 5, x_1240); +lean_ctor_set(x_1322, 6, x_1043); +lean_ctor_set(x_1322, 7, x_1321); +if (lean_is_scalar(x_1320)) { + x_1323 = lean_alloc_ctor(1, 1, 0); +} else { + x_1323 = x_1320; +} +lean_ctor_set(x_1323, 0, x_1322); +if (lean_is_scalar(x_1318)) { + x_1324 = lean_alloc_ctor(0, 2, 0); +} else { + x_1324 = x_1318; +} +lean_ctor_set(x_1324, 0, x_1323); +lean_ctor_set(x_1324, 1, x_1317); +x_11 = x_1324; +goto block_29; +} +} +} +else +{ +uint8_t x_1325; +lean_free_object(x_1226); +x_1325 = !lean_is_exclusive(x_1040); +if (x_1325 == 0) +{ +lean_object* x_1326; lean_object* x_1327; size_t x_1328; size_t x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; uint8_t x_1333; +x_1326 = lean_ctor_get(x_1040, 0); +x_1327 = lean_array_get_size(x_1326); +x_1328 = lean_usize_of_nat(x_1327); +lean_dec(x_1327); +x_1329 = 0; +x_1330 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1328, x_1329, x_1326, x_1237); +x_1331 = lean_ctor_get(x_1330, 0); +lean_inc(x_1331); +x_1332 = lean_ctor_get(x_1330, 1); +lean_inc(x_1332); +lean_dec(x_1330); +x_1333 = !lean_is_exclusive(x_1331); +if (x_1333 == 0) +{ +lean_object* x_1334; +x_1334 = lean_ctor_get(x_1331, 0); +lean_ctor_set(x_1040, 0, x_1334); +lean_ctor_set(x_1331, 0, x_1040); +x_1241 = x_1331; +x_1242 = x_1332; +goto block_1287; +} +else +{ +lean_object* x_1335; lean_object* x_1336; +x_1335 = lean_ctor_get(x_1331, 0); +lean_inc(x_1335); +lean_dec(x_1331); +lean_ctor_set(x_1040, 0, x_1335); +x_1336 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1336, 0, x_1040); +x_1241 = x_1336; +x_1242 = x_1332; +goto block_1287; +} +} +else +{ +lean_object* x_1337; lean_object* x_1338; size_t x_1339; size_t 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; +x_1337 = lean_ctor_get(x_1040, 0); +lean_inc(x_1337); +lean_dec(x_1040); +x_1338 = lean_array_get_size(x_1337); +x_1339 = lean_usize_of_nat(x_1338); +lean_dec(x_1338); +x_1340 = 0; +x_1341 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1339, x_1340, x_1337, x_1237); +x_1342 = lean_ctor_get(x_1341, 0); +lean_inc(x_1342); +x_1343 = lean_ctor_get(x_1341, 1); +lean_inc(x_1343); +lean_dec(x_1341); +x_1344 = lean_ctor_get(x_1342, 0); +lean_inc(x_1344); +if (lean_is_exclusive(x_1342)) { + lean_ctor_release(x_1342, 0); + x_1345 = x_1342; +} else { + lean_dec_ref(x_1342); + x_1345 = lean_box(0); +} +x_1346 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1346, 0, x_1344); +if (lean_is_scalar(x_1345)) { + x_1347 = lean_alloc_ctor(1, 1, 0); +} else { + x_1347 = x_1345; +} +lean_ctor_set(x_1347, 0, x_1346); +x_1241 = x_1347; +x_1242 = x_1343; +goto block_1287; +} +} +block_1287: +{ +if (lean_obj_tag(x_1041) == 0) +{ +uint8_t x_1243; +x_1243 = !lean_is_exclusive(x_1241); +if (x_1243 == 0) +{ +lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; +x_1244 = lean_ctor_get(x_1241, 0); +x_1245 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1245, 0, x_1035); +lean_ctor_set(x_1245, 1, x_1036); +lean_ctor_set(x_1245, 2, x_30); +lean_ctor_set(x_1245, 3, x_1043); +lean_ctor_set(x_1245, 4, x_1038); +lean_ctor_set(x_1245, 5, x_1240); +lean_ctor_set(x_1245, 6, x_1244); +lean_ctor_set(x_1245, 7, x_1043); +lean_ctor_set(x_1241, 0, x_1245); +if (lean_is_scalar(x_1238)) { + x_1246 = lean_alloc_ctor(0, 2, 0); +} else { + x_1246 = x_1238; +} +lean_ctor_set(x_1246, 0, x_1241); +lean_ctor_set(x_1246, 1, x_1242); +x_11 = x_1246; +goto block_29; +} +else +{ +lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; +x_1247 = lean_ctor_get(x_1241, 0); +lean_inc(x_1247); +lean_dec(x_1241); +x_1248 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1248, 0, x_1035); +lean_ctor_set(x_1248, 1, x_1036); +lean_ctor_set(x_1248, 2, x_30); +lean_ctor_set(x_1248, 3, x_1043); +lean_ctor_set(x_1248, 4, x_1038); +lean_ctor_set(x_1248, 5, x_1240); +lean_ctor_set(x_1248, 6, x_1247); +lean_ctor_set(x_1248, 7, x_1043); +x_1249 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1249, 0, x_1248); +if (lean_is_scalar(x_1238)) { + x_1250 = lean_alloc_ctor(0, 2, 0); +} else { + x_1250 = x_1238; +} +lean_ctor_set(x_1250, 0, x_1249); +lean_ctor_set(x_1250, 1, x_1242); +x_11 = x_1250; +goto block_29; +} +} +else +{ +lean_object* x_1251; uint8_t x_1252; +lean_dec(x_1238); +x_1251 = lean_ctor_get(x_1241, 0); +lean_inc(x_1251); +lean_dec(x_1241); +x_1252 = !lean_is_exclusive(x_1041); +if (x_1252 == 0) +{ +lean_object* x_1253; lean_object* x_1254; size_t x_1255; size_t x_1256; lean_object* x_1257; uint8_t x_1258; +x_1253 = lean_ctor_get(x_1041, 0); +x_1254 = lean_array_get_size(x_1253); +x_1255 = lean_usize_of_nat(x_1254); +lean_dec(x_1254); +x_1256 = 0; +x_1257 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1255, x_1256, x_1253, x_1242); +x_1258 = !lean_is_exclusive(x_1257); +if (x_1258 == 0) +{ +lean_object* x_1259; uint8_t x_1260; +x_1259 = lean_ctor_get(x_1257, 0); +x_1260 = !lean_is_exclusive(x_1259); +if (x_1260 == 0) +{ +lean_object* x_1261; lean_object* x_1262; +x_1261 = lean_ctor_get(x_1259, 0); +lean_ctor_set(x_1041, 0, x_1261); +x_1262 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1262, 0, x_1035); +lean_ctor_set(x_1262, 1, x_1036); +lean_ctor_set(x_1262, 2, x_30); +lean_ctor_set(x_1262, 3, x_1043); +lean_ctor_set(x_1262, 4, x_1038); +lean_ctor_set(x_1262, 5, x_1240); +lean_ctor_set(x_1262, 6, x_1251); +lean_ctor_set(x_1262, 7, x_1041); +lean_ctor_set(x_1259, 0, x_1262); +x_11 = x_1257; +goto block_29; +} +else +{ +lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; +x_1263 = lean_ctor_get(x_1259, 0); +lean_inc(x_1263); +lean_dec(x_1259); +lean_ctor_set(x_1041, 0, x_1263); +x_1264 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1264, 0, x_1035); +lean_ctor_set(x_1264, 1, x_1036); +lean_ctor_set(x_1264, 2, x_30); +lean_ctor_set(x_1264, 3, x_1043); +lean_ctor_set(x_1264, 4, x_1038); +lean_ctor_set(x_1264, 5, x_1240); +lean_ctor_set(x_1264, 6, x_1251); +lean_ctor_set(x_1264, 7, x_1041); +x_1265 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1265, 0, x_1264); +lean_ctor_set(x_1257, 0, x_1265); +x_11 = x_1257; +goto block_29; +} +} +else +{ +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; +x_1266 = lean_ctor_get(x_1257, 0); +x_1267 = lean_ctor_get(x_1257, 1); +lean_inc(x_1267); +lean_inc(x_1266); +lean_dec(x_1257); +x_1268 = lean_ctor_get(x_1266, 0); +lean_inc(x_1268); +if (lean_is_exclusive(x_1266)) { + lean_ctor_release(x_1266, 0); + x_1269 = x_1266; +} else { + lean_dec_ref(x_1266); + x_1269 = lean_box(0); +} +lean_ctor_set(x_1041, 0, x_1268); +x_1270 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1270, 0, x_1035); +lean_ctor_set(x_1270, 1, x_1036); +lean_ctor_set(x_1270, 2, x_30); +lean_ctor_set(x_1270, 3, x_1043); +lean_ctor_set(x_1270, 4, x_1038); +lean_ctor_set(x_1270, 5, x_1240); +lean_ctor_set(x_1270, 6, x_1251); +lean_ctor_set(x_1270, 7, x_1041); +if (lean_is_scalar(x_1269)) { + x_1271 = lean_alloc_ctor(1, 1, 0); +} else { + x_1271 = x_1269; +} +lean_ctor_set(x_1271, 0, x_1270); +x_1272 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1272, 0, x_1271); +lean_ctor_set(x_1272, 1, x_1267); +x_11 = x_1272; +goto block_29; +} +} +else +{ +lean_object* x_1273; lean_object* x_1274; size_t x_1275; size_t 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; +x_1273 = lean_ctor_get(x_1041, 0); +lean_inc(x_1273); +lean_dec(x_1041); +x_1274 = lean_array_get_size(x_1273); +x_1275 = lean_usize_of_nat(x_1274); +lean_dec(x_1274); +x_1276 = 0; +x_1277 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1275, x_1276, x_1273, x_1242); +x_1278 = lean_ctor_get(x_1277, 0); +lean_inc(x_1278); +x_1279 = lean_ctor_get(x_1277, 1); +lean_inc(x_1279); +if (lean_is_exclusive(x_1277)) { + lean_ctor_release(x_1277, 0); + lean_ctor_release(x_1277, 1); + x_1280 = x_1277; +} else { + lean_dec_ref(x_1277); + x_1280 = lean_box(0); +} +x_1281 = lean_ctor_get(x_1278, 0); +lean_inc(x_1281); +if (lean_is_exclusive(x_1278)) { + lean_ctor_release(x_1278, 0); + x_1282 = x_1278; +} else { + lean_dec_ref(x_1278); + x_1282 = lean_box(0); +} +x_1283 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1283, 0, x_1281); +x_1284 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1284, 0, x_1035); +lean_ctor_set(x_1284, 1, x_1036); +lean_ctor_set(x_1284, 2, x_30); +lean_ctor_set(x_1284, 3, x_1043); +lean_ctor_set(x_1284, 4, x_1038); +lean_ctor_set(x_1284, 5, x_1240); +lean_ctor_set(x_1284, 6, x_1251); +lean_ctor_set(x_1284, 7, x_1283); +if (lean_is_scalar(x_1282)) { + x_1285 = lean_alloc_ctor(1, 1, 0); +} else { + x_1285 = x_1282; +} +lean_ctor_set(x_1285, 0, x_1284); +if (lean_is_scalar(x_1280)) { + x_1286 = lean_alloc_ctor(0, 2, 0); +} else { + x_1286 = x_1280; +} +lean_ctor_set(x_1286, 0, x_1285); +lean_ctor_set(x_1286, 1, x_1279); +x_11 = x_1286; +goto block_29; +} +} +} +} +else +{ +lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; +x_1348 = lean_ctor_get(x_1226, 0); +lean_inc(x_1348); +lean_dec(x_1226); +if (lean_obj_tag(x_1040) == 0) +{ +lean_dec(x_1238); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; +x_1373 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1373, 0, x_1035); +lean_ctor_set(x_1373, 1, x_1036); +lean_ctor_set(x_1373, 2, x_30); +lean_ctor_set(x_1373, 3, x_1043); +lean_ctor_set(x_1373, 4, x_1038); +lean_ctor_set(x_1373, 5, x_1348); +lean_ctor_set(x_1373, 6, x_1043); +lean_ctor_set(x_1373, 7, x_1043); +x_1374 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1374, 0, x_1373); +x_1375 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1375, 0, x_1374); +lean_ctor_set(x_1375, 1, x_1237); +x_11 = x_1375; +goto block_29; +} +else +{ +lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; size_t x_1379; size_t 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; +x_1376 = lean_ctor_get(x_1041, 0); +lean_inc(x_1376); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1377 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1377 = lean_box(0); +} +x_1378 = lean_array_get_size(x_1376); +x_1379 = lean_usize_of_nat(x_1378); +lean_dec(x_1378); +x_1380 = 0; +x_1381 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1379, x_1380, x_1376, x_1237); +x_1382 = lean_ctor_get(x_1381, 0); +lean_inc(x_1382); +x_1383 = lean_ctor_get(x_1381, 1); +lean_inc(x_1383); +if (lean_is_exclusive(x_1381)) { + lean_ctor_release(x_1381, 0); + lean_ctor_release(x_1381, 1); + x_1384 = x_1381; +} else { + lean_dec_ref(x_1381); + x_1384 = lean_box(0); +} +x_1385 = lean_ctor_get(x_1382, 0); +lean_inc(x_1385); +if (lean_is_exclusive(x_1382)) { + lean_ctor_release(x_1382, 0); + x_1386 = x_1382; +} else { + lean_dec_ref(x_1382); + x_1386 = lean_box(0); +} +if (lean_is_scalar(x_1377)) { + x_1387 = lean_alloc_ctor(1, 1, 0); +} else { + x_1387 = x_1377; +} +lean_ctor_set(x_1387, 0, x_1385); +x_1388 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1388, 0, x_1035); +lean_ctor_set(x_1388, 1, x_1036); +lean_ctor_set(x_1388, 2, x_30); +lean_ctor_set(x_1388, 3, x_1043); +lean_ctor_set(x_1388, 4, x_1038); +lean_ctor_set(x_1388, 5, x_1348); +lean_ctor_set(x_1388, 6, x_1043); +lean_ctor_set(x_1388, 7, x_1387); +if (lean_is_scalar(x_1386)) { + x_1389 = lean_alloc_ctor(1, 1, 0); +} else { + x_1389 = x_1386; +} +lean_ctor_set(x_1389, 0, x_1388); +if (lean_is_scalar(x_1384)) { + x_1390 = lean_alloc_ctor(0, 2, 0); +} else { + x_1390 = x_1384; +} +lean_ctor_set(x_1390, 0, x_1389); +lean_ctor_set(x_1390, 1, x_1383); +x_11 = x_1390; +goto block_29; +} +} +else +{ +lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; size_t x_1394; size_t 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; +x_1391 = lean_ctor_get(x_1040, 0); +lean_inc(x_1391); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + x_1392 = x_1040; +} else { + lean_dec_ref(x_1040); + x_1392 = lean_box(0); +} +x_1393 = lean_array_get_size(x_1391); +x_1394 = lean_usize_of_nat(x_1393); +lean_dec(x_1393); +x_1395 = 0; +x_1396 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1394, x_1395, x_1391, x_1237); +x_1397 = lean_ctor_get(x_1396, 0); +lean_inc(x_1397); +x_1398 = lean_ctor_get(x_1396, 1); +lean_inc(x_1398); +lean_dec(x_1396); +x_1399 = lean_ctor_get(x_1397, 0); +lean_inc(x_1399); +if (lean_is_exclusive(x_1397)) { + lean_ctor_release(x_1397, 0); + x_1400 = x_1397; +} else { + lean_dec_ref(x_1397); + x_1400 = lean_box(0); +} +if (lean_is_scalar(x_1392)) { + x_1401 = lean_alloc_ctor(1, 1, 0); +} else { + x_1401 = x_1392; +} +lean_ctor_set(x_1401, 0, x_1399); +if (lean_is_scalar(x_1400)) { + x_1402 = lean_alloc_ctor(1, 1, 0); +} else { + x_1402 = x_1400; +} +lean_ctor_set(x_1402, 0, x_1401); +x_1349 = x_1402; +x_1350 = x_1398; +goto block_1372; +} +block_1372: +{ +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; +x_1351 = lean_ctor_get(x_1349, 0); +lean_inc(x_1351); +if (lean_is_exclusive(x_1349)) { + lean_ctor_release(x_1349, 0); + x_1352 = x_1349; +} else { + lean_dec_ref(x_1349); + x_1352 = lean_box(0); +} +x_1353 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1353, 0, x_1035); +lean_ctor_set(x_1353, 1, x_1036); +lean_ctor_set(x_1353, 2, x_30); +lean_ctor_set(x_1353, 3, x_1043); +lean_ctor_set(x_1353, 4, x_1038); +lean_ctor_set(x_1353, 5, x_1348); +lean_ctor_set(x_1353, 6, x_1351); +lean_ctor_set(x_1353, 7, x_1043); +if (lean_is_scalar(x_1352)) { + x_1354 = lean_alloc_ctor(1, 1, 0); +} else { + x_1354 = x_1352; +} +lean_ctor_set(x_1354, 0, x_1353); +if (lean_is_scalar(x_1238)) { + x_1355 = lean_alloc_ctor(0, 2, 0); +} else { + x_1355 = x_1238; +} +lean_ctor_set(x_1355, 0, x_1354); +lean_ctor_set(x_1355, 1, x_1350); +x_11 = x_1355; +goto block_29; +} +else +{ +lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; size_t x_1360; size_t x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; +lean_dec(x_1238); +x_1356 = lean_ctor_get(x_1349, 0); +lean_inc(x_1356); +lean_dec(x_1349); +x_1357 = lean_ctor_get(x_1041, 0); +lean_inc(x_1357); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1358 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1358 = lean_box(0); +} +x_1359 = lean_array_get_size(x_1357); +x_1360 = lean_usize_of_nat(x_1359); +lean_dec(x_1359); +x_1361 = 0; +x_1362 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1360, x_1361, x_1357, x_1350); +x_1363 = lean_ctor_get(x_1362, 0); +lean_inc(x_1363); +x_1364 = lean_ctor_get(x_1362, 1); +lean_inc(x_1364); +if (lean_is_exclusive(x_1362)) { + lean_ctor_release(x_1362, 0); + lean_ctor_release(x_1362, 1); + x_1365 = x_1362; +} else { + lean_dec_ref(x_1362); + x_1365 = lean_box(0); +} +x_1366 = lean_ctor_get(x_1363, 0); +lean_inc(x_1366); +if (lean_is_exclusive(x_1363)) { + lean_ctor_release(x_1363, 0); + x_1367 = x_1363; +} else { + lean_dec_ref(x_1363); + x_1367 = lean_box(0); +} +if (lean_is_scalar(x_1358)) { + x_1368 = lean_alloc_ctor(1, 1, 0); +} else { + x_1368 = x_1358; +} +lean_ctor_set(x_1368, 0, x_1366); +x_1369 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1369, 0, x_1035); +lean_ctor_set(x_1369, 1, x_1036); +lean_ctor_set(x_1369, 2, x_30); +lean_ctor_set(x_1369, 3, x_1043); +lean_ctor_set(x_1369, 4, x_1038); +lean_ctor_set(x_1369, 5, x_1348); +lean_ctor_set(x_1369, 6, x_1356); +lean_ctor_set(x_1369, 7, x_1368); +if (lean_is_scalar(x_1367)) { + x_1370 = lean_alloc_ctor(1, 1, 0); +} else { + x_1370 = x_1367; +} +lean_ctor_set(x_1370, 0, x_1369); +if (lean_is_scalar(x_1365)) { + x_1371 = lean_alloc_ctor(0, 2, 0); +} else { + x_1371 = x_1365; +} +lean_ctor_set(x_1371, 0, x_1370); +lean_ctor_set(x_1371, 1, x_1364); +x_11 = x_1371; +goto block_29; +} +} +} +} +} +else +{ +lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; +x_1403 = lean_ctor_get(x_1038, 0); +lean_inc(x_1403); +lean_dec(x_1038); +x_1404 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1404, 0, x_1403); +x_1405 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_1405, 0, x_1043); +x_1406 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_1405, x_1039, x_4); +x_1407 = lean_ctor_get(x_1406, 0); +lean_inc(x_1407); +if (lean_obj_tag(x_1407) == 0) +{ +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_dec(x_1404); +lean_dec(x_30); +lean_dec(x_1041); +lean_dec(x_1040); +lean_dec(x_1036); +lean_dec(x_1035); +x_1408 = lean_ctor_get(x_1406, 1); +lean_inc(x_1408); +if (lean_is_exclusive(x_1406)) { + lean_ctor_release(x_1406, 0); + lean_ctor_release(x_1406, 1); + x_1409 = x_1406; +} else { + lean_dec_ref(x_1406); + x_1409 = lean_box(0); +} +x_1410 = lean_ctor_get(x_1407, 0); +lean_inc(x_1410); +if (lean_is_exclusive(x_1407)) { + lean_ctor_release(x_1407, 0); + x_1411 = x_1407; +} else { + lean_dec_ref(x_1407); + x_1411 = lean_box(0); +} +if (lean_is_scalar(x_1411)) { + x_1412 = lean_alloc_ctor(0, 1, 0); +} else { + x_1412 = x_1411; +} +lean_ctor_set(x_1412, 0, x_1410); +if (lean_is_scalar(x_1409)) { + x_1413 = lean_alloc_ctor(0, 2, 0); +} else { + x_1413 = x_1409; +} +lean_ctor_set(x_1413, 0, x_1412); +lean_ctor_set(x_1413, 1, x_1408); +x_11 = x_1413; +goto block_29; +} +else +{ +lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; +x_1414 = lean_ctor_get(x_1406, 1); +lean_inc(x_1414); +if (lean_is_exclusive(x_1406)) { + lean_ctor_release(x_1406, 0); + lean_ctor_release(x_1406, 1); + x_1415 = x_1406; +} else { + lean_dec_ref(x_1406); + x_1415 = lean_box(0); +} +x_1416 = lean_ctor_get(x_1407, 0); +lean_inc(x_1416); +if (lean_is_exclusive(x_1407)) { + lean_ctor_release(x_1407, 0); + x_1417 = x_1407; +} else { + lean_dec_ref(x_1407); + x_1417 = lean_box(0); +} +if (lean_obj_tag(x_1040) == 0) +{ +lean_dec(x_1415); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; +x_1442 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1442, 0, x_1035); +lean_ctor_set(x_1442, 1, x_1036); +lean_ctor_set(x_1442, 2, x_30); +lean_ctor_set(x_1442, 3, x_1043); +lean_ctor_set(x_1442, 4, x_1404); +lean_ctor_set(x_1442, 5, x_1416); +lean_ctor_set(x_1442, 6, x_1043); +lean_ctor_set(x_1442, 7, x_1043); +if (lean_is_scalar(x_1417)) { + x_1443 = lean_alloc_ctor(1, 1, 0); +} else { + x_1443 = x_1417; +} +lean_ctor_set(x_1443, 0, x_1442); +x_1444 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1444, 0, x_1443); +lean_ctor_set(x_1444, 1, x_1414); +x_11 = x_1444; +goto block_29; +} +else +{ +lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; size_t x_1448; size_t 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_dec(x_1417); +x_1445 = lean_ctor_get(x_1041, 0); +lean_inc(x_1445); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1446 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1446 = lean_box(0); +} +x_1447 = lean_array_get_size(x_1445); +x_1448 = lean_usize_of_nat(x_1447); +lean_dec(x_1447); +x_1449 = 0; +x_1450 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1448, x_1449, x_1445, x_1414); +x_1451 = lean_ctor_get(x_1450, 0); +lean_inc(x_1451); +x_1452 = lean_ctor_get(x_1450, 1); +lean_inc(x_1452); +if (lean_is_exclusive(x_1450)) { + lean_ctor_release(x_1450, 0); + lean_ctor_release(x_1450, 1); + x_1453 = x_1450; +} else { + lean_dec_ref(x_1450); + x_1453 = lean_box(0); +} +x_1454 = lean_ctor_get(x_1451, 0); +lean_inc(x_1454); +if (lean_is_exclusive(x_1451)) { + lean_ctor_release(x_1451, 0); + x_1455 = x_1451; +} else { + lean_dec_ref(x_1451); + x_1455 = lean_box(0); +} +if (lean_is_scalar(x_1446)) { + x_1456 = lean_alloc_ctor(1, 1, 0); +} else { + x_1456 = x_1446; +} +lean_ctor_set(x_1456, 0, x_1454); +x_1457 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1457, 0, x_1035); +lean_ctor_set(x_1457, 1, x_1036); +lean_ctor_set(x_1457, 2, x_30); +lean_ctor_set(x_1457, 3, x_1043); +lean_ctor_set(x_1457, 4, x_1404); +lean_ctor_set(x_1457, 5, x_1416); +lean_ctor_set(x_1457, 6, x_1043); +lean_ctor_set(x_1457, 7, x_1456); +if (lean_is_scalar(x_1455)) { + x_1458 = lean_alloc_ctor(1, 1, 0); +} else { + x_1458 = x_1455; +} +lean_ctor_set(x_1458, 0, x_1457); +if (lean_is_scalar(x_1453)) { + x_1459 = lean_alloc_ctor(0, 2, 0); +} else { + x_1459 = x_1453; +} +lean_ctor_set(x_1459, 0, x_1458); +lean_ctor_set(x_1459, 1, x_1452); +x_11 = x_1459; +goto block_29; +} +} +else +{ +lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; size_t x_1463; size_t 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_dec(x_1417); +x_1460 = lean_ctor_get(x_1040, 0); +lean_inc(x_1460); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + x_1461 = x_1040; +} else { + lean_dec_ref(x_1040); + x_1461 = lean_box(0); +} +x_1462 = lean_array_get_size(x_1460); +x_1463 = lean_usize_of_nat(x_1462); +lean_dec(x_1462); +x_1464 = 0; +x_1465 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1463, x_1464, x_1460, x_1414); +x_1466 = lean_ctor_get(x_1465, 0); +lean_inc(x_1466); +x_1467 = lean_ctor_get(x_1465, 1); +lean_inc(x_1467); +lean_dec(x_1465); +x_1468 = lean_ctor_get(x_1466, 0); +lean_inc(x_1468); +if (lean_is_exclusive(x_1466)) { + lean_ctor_release(x_1466, 0); + x_1469 = x_1466; +} else { + lean_dec_ref(x_1466); + x_1469 = lean_box(0); +} +if (lean_is_scalar(x_1461)) { + x_1470 = lean_alloc_ctor(1, 1, 0); +} else { + x_1470 = x_1461; +} +lean_ctor_set(x_1470, 0, x_1468); +if (lean_is_scalar(x_1469)) { + x_1471 = lean_alloc_ctor(1, 1, 0); +} else { + x_1471 = x_1469; +} +lean_ctor_set(x_1471, 0, x_1470); +x_1418 = x_1471; +x_1419 = x_1467; +goto block_1441; +} +block_1441: +{ +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; +x_1420 = lean_ctor_get(x_1418, 0); +lean_inc(x_1420); +if (lean_is_exclusive(x_1418)) { + lean_ctor_release(x_1418, 0); + x_1421 = x_1418; +} else { + lean_dec_ref(x_1418); + x_1421 = lean_box(0); +} +x_1422 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1422, 0, x_1035); +lean_ctor_set(x_1422, 1, x_1036); +lean_ctor_set(x_1422, 2, x_30); +lean_ctor_set(x_1422, 3, x_1043); +lean_ctor_set(x_1422, 4, x_1404); +lean_ctor_set(x_1422, 5, x_1416); +lean_ctor_set(x_1422, 6, x_1420); +lean_ctor_set(x_1422, 7, x_1043); +if (lean_is_scalar(x_1421)) { + x_1423 = lean_alloc_ctor(1, 1, 0); +} else { + x_1423 = x_1421; +} +lean_ctor_set(x_1423, 0, x_1422); +if (lean_is_scalar(x_1415)) { + x_1424 = lean_alloc_ctor(0, 2, 0); +} else { + x_1424 = x_1415; +} +lean_ctor_set(x_1424, 0, x_1423); +lean_ctor_set(x_1424, 1, x_1419); +x_11 = x_1424; +goto block_29; +} +else +{ +lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; size_t x_1429; size_t x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; +lean_dec(x_1415); +x_1425 = lean_ctor_get(x_1418, 0); +lean_inc(x_1425); +lean_dec(x_1418); +x_1426 = lean_ctor_get(x_1041, 0); +lean_inc(x_1426); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1427 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1427 = lean_box(0); +} +x_1428 = lean_array_get_size(x_1426); +x_1429 = lean_usize_of_nat(x_1428); +lean_dec(x_1428); +x_1430 = 0; +x_1431 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1429, x_1430, x_1426, x_1419); +x_1432 = lean_ctor_get(x_1431, 0); +lean_inc(x_1432); +x_1433 = lean_ctor_get(x_1431, 1); +lean_inc(x_1433); +if (lean_is_exclusive(x_1431)) { + lean_ctor_release(x_1431, 0); + lean_ctor_release(x_1431, 1); + x_1434 = x_1431; +} else { + lean_dec_ref(x_1431); + x_1434 = lean_box(0); +} +x_1435 = lean_ctor_get(x_1432, 0); +lean_inc(x_1435); +if (lean_is_exclusive(x_1432)) { + lean_ctor_release(x_1432, 0); + x_1436 = x_1432; +} else { + lean_dec_ref(x_1432); + x_1436 = lean_box(0); +} +if (lean_is_scalar(x_1427)) { + x_1437 = lean_alloc_ctor(1, 1, 0); +} else { + x_1437 = x_1427; +} +lean_ctor_set(x_1437, 0, x_1435); +x_1438 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1438, 0, x_1035); +lean_ctor_set(x_1438, 1, x_1036); +lean_ctor_set(x_1438, 2, x_30); +lean_ctor_set(x_1438, 3, x_1043); +lean_ctor_set(x_1438, 4, x_1404); +lean_ctor_set(x_1438, 5, x_1416); +lean_ctor_set(x_1438, 6, x_1425); +lean_ctor_set(x_1438, 7, x_1437); +if (lean_is_scalar(x_1436)) { + x_1439 = lean_alloc_ctor(1, 1, 0); +} else { + x_1439 = x_1436; +} +lean_ctor_set(x_1439, 0, x_1438); +if (lean_is_scalar(x_1434)) { + x_1440 = lean_alloc_ctor(0, 2, 0); +} else { + x_1440 = x_1434; +} +lean_ctor_set(x_1440, 0, x_1439); +lean_ctor_set(x_1440, 1, x_1433); +x_11 = x_1440; +goto block_29; +} +} +} +} +} +} +else +{ +uint8_t x_1472; +x_1472 = !lean_is_exclusive(x_1037); +if (x_1472 == 0) +{ +if (lean_obj_tag(x_1038) == 0) +{ +lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; +x_1473 = lean_box(0); +x_1474 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_1474, 0, x_1473); +x_1475 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_1474, x_1039, x_4); +x_1476 = lean_ctor_get(x_1475, 0); +lean_inc(x_1476); +if (lean_obj_tag(x_1476) == 0) +{ +uint8_t x_1477; +lean_dec(x_1037); +lean_dec(x_30); +lean_dec(x_1041); +lean_dec(x_1040); +lean_dec(x_1036); +lean_dec(x_1035); +x_1477 = !lean_is_exclusive(x_1475); +if (x_1477 == 0) +{ +lean_object* x_1478; uint8_t x_1479; +x_1478 = lean_ctor_get(x_1475, 0); +lean_dec(x_1478); +x_1479 = !lean_is_exclusive(x_1476); +if (x_1479 == 0) +{ +x_11 = x_1475; +goto block_29; +} +else +{ +lean_object* x_1480; lean_object* x_1481; +x_1480 = lean_ctor_get(x_1476, 0); +lean_inc(x_1480); +lean_dec(x_1476); +x_1481 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1481, 0, x_1480); +lean_ctor_set(x_1475, 0, x_1481); +x_11 = x_1475; +goto block_29; +} +} +else +{ +lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; +x_1482 = lean_ctor_get(x_1475, 1); +lean_inc(x_1482); +lean_dec(x_1475); +x_1483 = lean_ctor_get(x_1476, 0); +lean_inc(x_1483); +if (lean_is_exclusive(x_1476)) { + lean_ctor_release(x_1476, 0); + x_1484 = x_1476; +} else { + lean_dec_ref(x_1476); + x_1484 = lean_box(0); +} +if (lean_is_scalar(x_1484)) { + x_1485 = lean_alloc_ctor(0, 1, 0); +} else { + x_1485 = x_1484; +} +lean_ctor_set(x_1485, 0, x_1483); +x_1486 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1486, 0, x_1485); +lean_ctor_set(x_1486, 1, x_1482); +x_11 = x_1486; +goto block_29; +} +} +else +{ +lean_object* x_1487; lean_object* x_1488; uint8_t x_1489; +x_1487 = lean_ctor_get(x_1475, 1); +lean_inc(x_1487); +if (lean_is_exclusive(x_1475)) { + lean_ctor_release(x_1475, 0); + lean_ctor_release(x_1475, 1); + x_1488 = x_1475; +} else { + lean_dec_ref(x_1475); + x_1488 = lean_box(0); +} +x_1489 = !lean_is_exclusive(x_1476); +if (x_1489 == 0) +{ +lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; +x_1490 = lean_ctor_get(x_1476, 0); +if (lean_obj_tag(x_1040) == 0) +{ +lean_dec(x_1488); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1538; lean_object* x_1539; +x_1538 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1538, 0, x_1035); +lean_ctor_set(x_1538, 1, x_1036); +lean_ctor_set(x_1538, 2, x_30); +lean_ctor_set(x_1538, 3, x_1037); +lean_ctor_set(x_1538, 4, x_1473); +lean_ctor_set(x_1538, 5, x_1490); +lean_ctor_set(x_1538, 6, x_1473); +lean_ctor_set(x_1538, 7, x_1473); +lean_ctor_set(x_1476, 0, x_1538); +x_1539 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1539, 0, x_1476); +lean_ctor_set(x_1539, 1, x_1487); +x_11 = x_1539; +goto block_29; +} +else +{ +uint8_t x_1540; +lean_free_object(x_1476); +x_1540 = !lean_is_exclusive(x_1041); +if (x_1540 == 0) +{ +lean_object* x_1541; lean_object* x_1542; size_t x_1543; size_t x_1544; lean_object* x_1545; uint8_t x_1546; +x_1541 = lean_ctor_get(x_1041, 0); +x_1542 = lean_array_get_size(x_1541); +x_1543 = lean_usize_of_nat(x_1542); +lean_dec(x_1542); +x_1544 = 0; +x_1545 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1543, x_1544, x_1541, x_1487); +x_1546 = !lean_is_exclusive(x_1545); +if (x_1546 == 0) +{ +lean_object* x_1547; uint8_t x_1548; +x_1547 = lean_ctor_get(x_1545, 0); +x_1548 = !lean_is_exclusive(x_1547); +if (x_1548 == 0) +{ +lean_object* x_1549; lean_object* x_1550; +x_1549 = lean_ctor_get(x_1547, 0); +lean_ctor_set(x_1041, 0, x_1549); +x_1550 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1550, 0, x_1035); +lean_ctor_set(x_1550, 1, x_1036); +lean_ctor_set(x_1550, 2, x_30); +lean_ctor_set(x_1550, 3, x_1037); +lean_ctor_set(x_1550, 4, x_1473); +lean_ctor_set(x_1550, 5, x_1490); +lean_ctor_set(x_1550, 6, x_1473); +lean_ctor_set(x_1550, 7, x_1041); +lean_ctor_set(x_1547, 0, x_1550); +x_11 = x_1545; +goto block_29; +} +else +{ +lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; +x_1551 = lean_ctor_get(x_1547, 0); +lean_inc(x_1551); +lean_dec(x_1547); +lean_ctor_set(x_1041, 0, x_1551); +x_1552 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1552, 0, x_1035); +lean_ctor_set(x_1552, 1, x_1036); +lean_ctor_set(x_1552, 2, x_30); +lean_ctor_set(x_1552, 3, x_1037); +lean_ctor_set(x_1552, 4, x_1473); +lean_ctor_set(x_1552, 5, x_1490); +lean_ctor_set(x_1552, 6, x_1473); +lean_ctor_set(x_1552, 7, x_1041); +x_1553 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1553, 0, x_1552); +lean_ctor_set(x_1545, 0, x_1553); +x_11 = x_1545; +goto block_29; +} +} +else +{ +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; +x_1554 = lean_ctor_get(x_1545, 0); +x_1555 = lean_ctor_get(x_1545, 1); +lean_inc(x_1555); +lean_inc(x_1554); +lean_dec(x_1545); +x_1556 = lean_ctor_get(x_1554, 0); +lean_inc(x_1556); +if (lean_is_exclusive(x_1554)) { + lean_ctor_release(x_1554, 0); + x_1557 = x_1554; +} else { + lean_dec_ref(x_1554); + x_1557 = lean_box(0); +} +lean_ctor_set(x_1041, 0, x_1556); +x_1558 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1558, 0, x_1035); +lean_ctor_set(x_1558, 1, x_1036); +lean_ctor_set(x_1558, 2, x_30); +lean_ctor_set(x_1558, 3, x_1037); +lean_ctor_set(x_1558, 4, x_1473); +lean_ctor_set(x_1558, 5, x_1490); +lean_ctor_set(x_1558, 6, x_1473); +lean_ctor_set(x_1558, 7, x_1041); +if (lean_is_scalar(x_1557)) { + x_1559 = lean_alloc_ctor(1, 1, 0); +} else { + x_1559 = x_1557; +} +lean_ctor_set(x_1559, 0, x_1558); +x_1560 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1560, 0, x_1559); +lean_ctor_set(x_1560, 1, x_1555); +x_11 = x_1560; +goto block_29; +} +} +else +{ +lean_object* x_1561; lean_object* x_1562; size_t x_1563; size_t 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; +x_1561 = lean_ctor_get(x_1041, 0); +lean_inc(x_1561); +lean_dec(x_1041); +x_1562 = lean_array_get_size(x_1561); +x_1563 = lean_usize_of_nat(x_1562); +lean_dec(x_1562); +x_1564 = 0; +x_1565 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1563, x_1564, x_1561, x_1487); +x_1566 = lean_ctor_get(x_1565, 0); +lean_inc(x_1566); +x_1567 = lean_ctor_get(x_1565, 1); +lean_inc(x_1567); +if (lean_is_exclusive(x_1565)) { + lean_ctor_release(x_1565, 0); + lean_ctor_release(x_1565, 1); + x_1568 = x_1565; +} else { + lean_dec_ref(x_1565); + x_1568 = lean_box(0); +} +x_1569 = lean_ctor_get(x_1566, 0); +lean_inc(x_1569); +if (lean_is_exclusive(x_1566)) { + lean_ctor_release(x_1566, 0); + x_1570 = x_1566; +} else { + lean_dec_ref(x_1566); + x_1570 = lean_box(0); +} +x_1571 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1571, 0, x_1569); +x_1572 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1572, 0, x_1035); +lean_ctor_set(x_1572, 1, x_1036); +lean_ctor_set(x_1572, 2, x_30); +lean_ctor_set(x_1572, 3, x_1037); +lean_ctor_set(x_1572, 4, x_1473); +lean_ctor_set(x_1572, 5, x_1490); +lean_ctor_set(x_1572, 6, x_1473); +lean_ctor_set(x_1572, 7, x_1571); +if (lean_is_scalar(x_1570)) { + x_1573 = lean_alloc_ctor(1, 1, 0); +} else { + x_1573 = x_1570; +} +lean_ctor_set(x_1573, 0, x_1572); +if (lean_is_scalar(x_1568)) { + x_1574 = lean_alloc_ctor(0, 2, 0); +} else { + x_1574 = x_1568; +} +lean_ctor_set(x_1574, 0, x_1573); +lean_ctor_set(x_1574, 1, x_1567); +x_11 = x_1574; +goto block_29; +} +} +} +else +{ +uint8_t x_1575; +lean_free_object(x_1476); +x_1575 = !lean_is_exclusive(x_1040); +if (x_1575 == 0) +{ +lean_object* x_1576; lean_object* x_1577; size_t x_1578; size_t x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; uint8_t x_1583; +x_1576 = lean_ctor_get(x_1040, 0); +x_1577 = lean_array_get_size(x_1576); +x_1578 = lean_usize_of_nat(x_1577); +lean_dec(x_1577); +x_1579 = 0; +x_1580 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1578, x_1579, x_1576, x_1487); +x_1581 = lean_ctor_get(x_1580, 0); +lean_inc(x_1581); +x_1582 = lean_ctor_get(x_1580, 1); +lean_inc(x_1582); +lean_dec(x_1580); +x_1583 = !lean_is_exclusive(x_1581); +if (x_1583 == 0) +{ +lean_object* x_1584; +x_1584 = lean_ctor_get(x_1581, 0); +lean_ctor_set(x_1040, 0, x_1584); +lean_ctor_set(x_1581, 0, x_1040); +x_1491 = x_1581; +x_1492 = x_1582; +goto block_1537; +} +else +{ +lean_object* x_1585; lean_object* x_1586; +x_1585 = lean_ctor_get(x_1581, 0); +lean_inc(x_1585); +lean_dec(x_1581); +lean_ctor_set(x_1040, 0, x_1585); +x_1586 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1586, 0, x_1040); +x_1491 = x_1586; +x_1492 = x_1582; +goto block_1537; +} +} +else +{ +lean_object* x_1587; lean_object* x_1588; size_t x_1589; size_t 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; +x_1587 = lean_ctor_get(x_1040, 0); +lean_inc(x_1587); +lean_dec(x_1040); +x_1588 = lean_array_get_size(x_1587); +x_1589 = lean_usize_of_nat(x_1588); +lean_dec(x_1588); +x_1590 = 0; +x_1591 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1589, x_1590, x_1587, x_1487); +x_1592 = lean_ctor_get(x_1591, 0); +lean_inc(x_1592); +x_1593 = lean_ctor_get(x_1591, 1); +lean_inc(x_1593); +lean_dec(x_1591); +x_1594 = lean_ctor_get(x_1592, 0); +lean_inc(x_1594); +if (lean_is_exclusive(x_1592)) { + lean_ctor_release(x_1592, 0); + x_1595 = x_1592; +} else { + lean_dec_ref(x_1592); + x_1595 = lean_box(0); +} +x_1596 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1596, 0, x_1594); +if (lean_is_scalar(x_1595)) { + x_1597 = lean_alloc_ctor(1, 1, 0); +} else { + x_1597 = x_1595; +} +lean_ctor_set(x_1597, 0, x_1596); +x_1491 = x_1597; +x_1492 = x_1593; +goto block_1537; +} +} +block_1537: +{ +if (lean_obj_tag(x_1041) == 0) +{ +uint8_t x_1493; +x_1493 = !lean_is_exclusive(x_1491); +if (x_1493 == 0) +{ +lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; +x_1494 = lean_ctor_get(x_1491, 0); +x_1495 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1495, 0, x_1035); +lean_ctor_set(x_1495, 1, x_1036); +lean_ctor_set(x_1495, 2, x_30); +lean_ctor_set(x_1495, 3, x_1037); +lean_ctor_set(x_1495, 4, x_1473); +lean_ctor_set(x_1495, 5, x_1490); +lean_ctor_set(x_1495, 6, x_1494); +lean_ctor_set(x_1495, 7, x_1473); +lean_ctor_set(x_1491, 0, x_1495); +if (lean_is_scalar(x_1488)) { + x_1496 = lean_alloc_ctor(0, 2, 0); +} else { + x_1496 = x_1488; +} +lean_ctor_set(x_1496, 0, x_1491); +lean_ctor_set(x_1496, 1, x_1492); +x_11 = x_1496; +goto block_29; +} +else +{ +lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; +x_1497 = lean_ctor_get(x_1491, 0); +lean_inc(x_1497); +lean_dec(x_1491); +x_1498 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1498, 0, x_1035); +lean_ctor_set(x_1498, 1, x_1036); +lean_ctor_set(x_1498, 2, x_30); +lean_ctor_set(x_1498, 3, x_1037); +lean_ctor_set(x_1498, 4, x_1473); +lean_ctor_set(x_1498, 5, x_1490); +lean_ctor_set(x_1498, 6, x_1497); +lean_ctor_set(x_1498, 7, x_1473); +x_1499 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1499, 0, x_1498); +if (lean_is_scalar(x_1488)) { + x_1500 = lean_alloc_ctor(0, 2, 0); +} else { + x_1500 = x_1488; +} +lean_ctor_set(x_1500, 0, x_1499); +lean_ctor_set(x_1500, 1, x_1492); +x_11 = x_1500; +goto block_29; +} +} +else +{ +lean_object* x_1501; uint8_t x_1502; +lean_dec(x_1488); +x_1501 = lean_ctor_get(x_1491, 0); +lean_inc(x_1501); +lean_dec(x_1491); +x_1502 = !lean_is_exclusive(x_1041); +if (x_1502 == 0) +{ +lean_object* x_1503; lean_object* x_1504; size_t x_1505; size_t x_1506; lean_object* x_1507; uint8_t x_1508; +x_1503 = lean_ctor_get(x_1041, 0); +x_1504 = lean_array_get_size(x_1503); +x_1505 = lean_usize_of_nat(x_1504); +lean_dec(x_1504); +x_1506 = 0; +x_1507 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1505, x_1506, x_1503, x_1492); +x_1508 = !lean_is_exclusive(x_1507); +if (x_1508 == 0) +{ +lean_object* x_1509; uint8_t x_1510; +x_1509 = lean_ctor_get(x_1507, 0); +x_1510 = !lean_is_exclusive(x_1509); +if (x_1510 == 0) +{ +lean_object* x_1511; lean_object* x_1512; +x_1511 = lean_ctor_get(x_1509, 0); +lean_ctor_set(x_1041, 0, x_1511); +x_1512 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1512, 0, x_1035); +lean_ctor_set(x_1512, 1, x_1036); +lean_ctor_set(x_1512, 2, x_30); +lean_ctor_set(x_1512, 3, x_1037); +lean_ctor_set(x_1512, 4, x_1473); +lean_ctor_set(x_1512, 5, x_1490); +lean_ctor_set(x_1512, 6, x_1501); +lean_ctor_set(x_1512, 7, x_1041); +lean_ctor_set(x_1509, 0, x_1512); +x_11 = x_1507; +goto block_29; +} +else +{ +lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; +x_1513 = lean_ctor_get(x_1509, 0); +lean_inc(x_1513); +lean_dec(x_1509); +lean_ctor_set(x_1041, 0, x_1513); +x_1514 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1514, 0, x_1035); +lean_ctor_set(x_1514, 1, x_1036); +lean_ctor_set(x_1514, 2, x_30); +lean_ctor_set(x_1514, 3, x_1037); +lean_ctor_set(x_1514, 4, x_1473); +lean_ctor_set(x_1514, 5, x_1490); +lean_ctor_set(x_1514, 6, x_1501); +lean_ctor_set(x_1514, 7, x_1041); +x_1515 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1515, 0, x_1514); +lean_ctor_set(x_1507, 0, x_1515); +x_11 = x_1507; +goto block_29; +} +} +else +{ +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; +x_1516 = lean_ctor_get(x_1507, 0); +x_1517 = lean_ctor_get(x_1507, 1); +lean_inc(x_1517); +lean_inc(x_1516); +lean_dec(x_1507); +x_1518 = lean_ctor_get(x_1516, 0); +lean_inc(x_1518); +if (lean_is_exclusive(x_1516)) { + lean_ctor_release(x_1516, 0); + x_1519 = x_1516; +} else { + lean_dec_ref(x_1516); + x_1519 = lean_box(0); +} +lean_ctor_set(x_1041, 0, x_1518); +x_1520 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1520, 0, x_1035); +lean_ctor_set(x_1520, 1, x_1036); +lean_ctor_set(x_1520, 2, x_30); +lean_ctor_set(x_1520, 3, x_1037); +lean_ctor_set(x_1520, 4, x_1473); +lean_ctor_set(x_1520, 5, x_1490); +lean_ctor_set(x_1520, 6, x_1501); +lean_ctor_set(x_1520, 7, x_1041); +if (lean_is_scalar(x_1519)) { + x_1521 = lean_alloc_ctor(1, 1, 0); +} else { + x_1521 = x_1519; +} +lean_ctor_set(x_1521, 0, x_1520); +x_1522 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1522, 0, x_1521); +lean_ctor_set(x_1522, 1, x_1517); +x_11 = x_1522; +goto block_29; +} +} +else +{ +lean_object* x_1523; lean_object* x_1524; size_t x_1525; size_t 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; +x_1523 = lean_ctor_get(x_1041, 0); +lean_inc(x_1523); +lean_dec(x_1041); +x_1524 = lean_array_get_size(x_1523); +x_1525 = lean_usize_of_nat(x_1524); +lean_dec(x_1524); +x_1526 = 0; +x_1527 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1525, x_1526, x_1523, x_1492); +x_1528 = lean_ctor_get(x_1527, 0); +lean_inc(x_1528); +x_1529 = lean_ctor_get(x_1527, 1); +lean_inc(x_1529); +if (lean_is_exclusive(x_1527)) { + lean_ctor_release(x_1527, 0); + lean_ctor_release(x_1527, 1); + x_1530 = x_1527; +} else { + lean_dec_ref(x_1527); + x_1530 = lean_box(0); +} +x_1531 = lean_ctor_get(x_1528, 0); +lean_inc(x_1531); +if (lean_is_exclusive(x_1528)) { + lean_ctor_release(x_1528, 0); + x_1532 = x_1528; +} else { + lean_dec_ref(x_1528); + x_1532 = lean_box(0); +} +x_1533 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1533, 0, x_1531); +x_1534 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1534, 0, x_1035); +lean_ctor_set(x_1534, 1, x_1036); +lean_ctor_set(x_1534, 2, x_30); +lean_ctor_set(x_1534, 3, x_1037); +lean_ctor_set(x_1534, 4, x_1473); +lean_ctor_set(x_1534, 5, x_1490); +lean_ctor_set(x_1534, 6, x_1501); +lean_ctor_set(x_1534, 7, x_1533); +if (lean_is_scalar(x_1532)) { + x_1535 = lean_alloc_ctor(1, 1, 0); +} else { + x_1535 = x_1532; +} +lean_ctor_set(x_1535, 0, x_1534); +if (lean_is_scalar(x_1530)) { + x_1536 = lean_alloc_ctor(0, 2, 0); +} else { + x_1536 = x_1530; +} +lean_ctor_set(x_1536, 0, x_1535); +lean_ctor_set(x_1536, 1, x_1529); +x_11 = x_1536; +goto block_29; +} +} +} +} +else +{ +lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; +x_1598 = lean_ctor_get(x_1476, 0); +lean_inc(x_1598); +lean_dec(x_1476); +if (lean_obj_tag(x_1040) == 0) +{ +lean_dec(x_1488); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; +x_1623 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1623, 0, x_1035); +lean_ctor_set(x_1623, 1, x_1036); +lean_ctor_set(x_1623, 2, x_30); +lean_ctor_set(x_1623, 3, x_1037); +lean_ctor_set(x_1623, 4, x_1473); +lean_ctor_set(x_1623, 5, x_1598); +lean_ctor_set(x_1623, 6, x_1473); +lean_ctor_set(x_1623, 7, x_1473); +x_1624 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1624, 0, x_1623); +x_1625 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1625, 0, x_1624); +lean_ctor_set(x_1625, 1, x_1487); +x_11 = x_1625; +goto block_29; +} +else +{ +lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; size_t x_1629; size_t 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; +x_1626 = lean_ctor_get(x_1041, 0); +lean_inc(x_1626); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1627 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1627 = lean_box(0); +} +x_1628 = lean_array_get_size(x_1626); +x_1629 = lean_usize_of_nat(x_1628); +lean_dec(x_1628); +x_1630 = 0; +x_1631 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1629, x_1630, x_1626, x_1487); +x_1632 = lean_ctor_get(x_1631, 0); +lean_inc(x_1632); +x_1633 = lean_ctor_get(x_1631, 1); +lean_inc(x_1633); +if (lean_is_exclusive(x_1631)) { + lean_ctor_release(x_1631, 0); + lean_ctor_release(x_1631, 1); + x_1634 = x_1631; +} else { + lean_dec_ref(x_1631); + x_1634 = lean_box(0); +} +x_1635 = lean_ctor_get(x_1632, 0); +lean_inc(x_1635); +if (lean_is_exclusive(x_1632)) { + lean_ctor_release(x_1632, 0); + x_1636 = x_1632; +} else { + lean_dec_ref(x_1632); + x_1636 = lean_box(0); +} +if (lean_is_scalar(x_1627)) { + x_1637 = lean_alloc_ctor(1, 1, 0); +} else { + x_1637 = x_1627; +} +lean_ctor_set(x_1637, 0, x_1635); +x_1638 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1638, 0, x_1035); +lean_ctor_set(x_1638, 1, x_1036); +lean_ctor_set(x_1638, 2, x_30); +lean_ctor_set(x_1638, 3, x_1037); +lean_ctor_set(x_1638, 4, x_1473); +lean_ctor_set(x_1638, 5, x_1598); +lean_ctor_set(x_1638, 6, x_1473); +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); +if (lean_is_scalar(x_1634)) { + x_1640 = lean_alloc_ctor(0, 2, 0); +} else { + x_1640 = x_1634; +} +lean_ctor_set(x_1640, 0, x_1639); +lean_ctor_set(x_1640, 1, x_1633); +x_11 = x_1640; +goto block_29; +} +} +else +{ +lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; size_t x_1644; size_t 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; +x_1641 = lean_ctor_get(x_1040, 0); +lean_inc(x_1641); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + x_1642 = x_1040; +} else { + lean_dec_ref(x_1040); + x_1642 = lean_box(0); +} +x_1643 = lean_array_get_size(x_1641); +x_1644 = lean_usize_of_nat(x_1643); +lean_dec(x_1643); +x_1645 = 0; +x_1646 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1644, x_1645, x_1641, x_1487); +x_1647 = lean_ctor_get(x_1646, 0); +lean_inc(x_1647); +x_1648 = lean_ctor_get(x_1646, 1); +lean_inc(x_1648); +lean_dec(x_1646); +x_1649 = lean_ctor_get(x_1647, 0); +lean_inc(x_1649); +if (lean_is_exclusive(x_1647)) { + lean_ctor_release(x_1647, 0); + x_1650 = x_1647; +} else { + lean_dec_ref(x_1647); + x_1650 = lean_box(0); +} +if (lean_is_scalar(x_1642)) { + x_1651 = lean_alloc_ctor(1, 1, 0); +} else { + x_1651 = x_1642; +} +lean_ctor_set(x_1651, 0, x_1649); +if (lean_is_scalar(x_1650)) { + x_1652 = lean_alloc_ctor(1, 1, 0); +} else { + x_1652 = x_1650; +} +lean_ctor_set(x_1652, 0, x_1651); +x_1599 = x_1652; +x_1600 = x_1648; +goto block_1622; +} +block_1622: +{ +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; +x_1601 = lean_ctor_get(x_1599, 0); +lean_inc(x_1601); +if (lean_is_exclusive(x_1599)) { + lean_ctor_release(x_1599, 0); + x_1602 = x_1599; +} else { + lean_dec_ref(x_1599); + x_1602 = lean_box(0); +} +x_1603 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1603, 0, x_1035); +lean_ctor_set(x_1603, 1, x_1036); +lean_ctor_set(x_1603, 2, x_30); +lean_ctor_set(x_1603, 3, x_1037); +lean_ctor_set(x_1603, 4, x_1473); +lean_ctor_set(x_1603, 5, x_1598); +lean_ctor_set(x_1603, 6, x_1601); +lean_ctor_set(x_1603, 7, x_1473); +if (lean_is_scalar(x_1602)) { + x_1604 = lean_alloc_ctor(1, 1, 0); +} else { + x_1604 = x_1602; +} +lean_ctor_set(x_1604, 0, x_1603); +if (lean_is_scalar(x_1488)) { + x_1605 = lean_alloc_ctor(0, 2, 0); +} else { + x_1605 = x_1488; +} +lean_ctor_set(x_1605, 0, x_1604); +lean_ctor_set(x_1605, 1, x_1600); +x_11 = x_1605; +goto block_29; +} +else +{ +lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; size_t x_1610; size_t 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_dec(x_1488); +x_1606 = lean_ctor_get(x_1599, 0); +lean_inc(x_1606); +lean_dec(x_1599); +x_1607 = lean_ctor_get(x_1041, 0); +lean_inc(x_1607); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1608 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1608 = lean_box(0); +} +x_1609 = lean_array_get_size(x_1607); +x_1610 = lean_usize_of_nat(x_1609); +lean_dec(x_1609); +x_1611 = 0; +x_1612 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1610, x_1611, x_1607, x_1600); +x_1613 = lean_ctor_get(x_1612, 0); +lean_inc(x_1613); +x_1614 = lean_ctor_get(x_1612, 1); +lean_inc(x_1614); +if (lean_is_exclusive(x_1612)) { + lean_ctor_release(x_1612, 0); + lean_ctor_release(x_1612, 1); + x_1615 = x_1612; +} else { + lean_dec_ref(x_1612); + x_1615 = lean_box(0); +} +x_1616 = lean_ctor_get(x_1613, 0); +lean_inc(x_1616); +if (lean_is_exclusive(x_1613)) { + lean_ctor_release(x_1613, 0); + x_1617 = x_1613; +} else { + lean_dec_ref(x_1613); + x_1617 = lean_box(0); +} +if (lean_is_scalar(x_1608)) { + x_1618 = lean_alloc_ctor(1, 1, 0); +} else { + x_1618 = x_1608; +} +lean_ctor_set(x_1618, 0, x_1616); +x_1619 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1619, 0, x_1035); +lean_ctor_set(x_1619, 1, x_1036); +lean_ctor_set(x_1619, 2, x_30); +lean_ctor_set(x_1619, 3, x_1037); +lean_ctor_set(x_1619, 4, x_1473); +lean_ctor_set(x_1619, 5, x_1598); +lean_ctor_set(x_1619, 6, x_1606); +lean_ctor_set(x_1619, 7, x_1618); +if (lean_is_scalar(x_1617)) { + x_1620 = lean_alloc_ctor(1, 1, 0); +} else { + x_1620 = x_1617; +} +lean_ctor_set(x_1620, 0, x_1619); +if (lean_is_scalar(x_1615)) { + x_1621 = lean_alloc_ctor(0, 2, 0); +} else { + x_1621 = x_1615; +} +lean_ctor_set(x_1621, 0, x_1620); +lean_ctor_set(x_1621, 1, x_1614); +x_11 = x_1621; +goto block_29; +} +} +} +} +} +else +{ +uint8_t x_1653; +x_1653 = !lean_is_exclusive(x_1038); +if (x_1653 == 0) +{ +lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; +x_1654 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__3; +x_1655 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_1654, x_1039, x_4); +x_1656 = lean_ctor_get(x_1655, 0); +lean_inc(x_1656); +if (lean_obj_tag(x_1656) == 0) +{ +uint8_t x_1657; +lean_dec(x_1038); +lean_dec(x_1037); +lean_dec(x_30); +lean_dec(x_1041); +lean_dec(x_1040); +lean_dec(x_1036); +lean_dec(x_1035); +x_1657 = !lean_is_exclusive(x_1655); +if (x_1657 == 0) +{ +lean_object* x_1658; uint8_t x_1659; +x_1658 = lean_ctor_get(x_1655, 0); +lean_dec(x_1658); +x_1659 = !lean_is_exclusive(x_1656); +if (x_1659 == 0) +{ +x_11 = x_1655; +goto block_29; +} +else +{ +lean_object* x_1660; lean_object* x_1661; +x_1660 = lean_ctor_get(x_1656, 0); +lean_inc(x_1660); +lean_dec(x_1656); +x_1661 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1661, 0, x_1660); +lean_ctor_set(x_1655, 0, x_1661); +x_11 = x_1655; +goto block_29; +} +} +else +{ +lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; +x_1662 = lean_ctor_get(x_1655, 1); +lean_inc(x_1662); +lean_dec(x_1655); +x_1663 = lean_ctor_get(x_1656, 0); +lean_inc(x_1663); +if (lean_is_exclusive(x_1656)) { + lean_ctor_release(x_1656, 0); + x_1664 = x_1656; +} else { + lean_dec_ref(x_1656); + x_1664 = lean_box(0); +} +if (lean_is_scalar(x_1664)) { + x_1665 = lean_alloc_ctor(0, 1, 0); +} else { + x_1665 = x_1664; +} +lean_ctor_set(x_1665, 0, x_1663); +x_1666 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1666, 0, x_1665); +lean_ctor_set(x_1666, 1, x_1662); +x_11 = x_1666; +goto block_29; +} +} +else +{ +lean_object* x_1667; lean_object* x_1668; uint8_t x_1669; +x_1667 = lean_ctor_get(x_1655, 1); +lean_inc(x_1667); +if (lean_is_exclusive(x_1655)) { + lean_ctor_release(x_1655, 0); + lean_ctor_release(x_1655, 1); + x_1668 = x_1655; +} else { + lean_dec_ref(x_1655); + x_1668 = lean_box(0); +} +x_1669 = !lean_is_exclusive(x_1656); +if (x_1669 == 0) +{ +lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; +x_1670 = lean_ctor_get(x_1656, 0); +if (lean_obj_tag(x_1040) == 0) +{ +lean_object* x_1720; +lean_dec(x_1668); +x_1720 = lean_box(0); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1721; lean_object* x_1722; +x_1721 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1721, 0, x_1035); +lean_ctor_set(x_1721, 1, x_1036); +lean_ctor_set(x_1721, 2, x_30); +lean_ctor_set(x_1721, 3, x_1037); +lean_ctor_set(x_1721, 4, x_1038); +lean_ctor_set(x_1721, 5, x_1670); +lean_ctor_set(x_1721, 6, x_1720); +lean_ctor_set(x_1721, 7, x_1720); +lean_ctor_set(x_1656, 0, x_1721); +x_1722 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1722, 0, x_1656); +lean_ctor_set(x_1722, 1, x_1667); +x_11 = x_1722; +goto block_29; +} +else +{ +uint8_t x_1723; +lean_free_object(x_1656); +x_1723 = !lean_is_exclusive(x_1041); +if (x_1723 == 0) +{ +lean_object* x_1724; lean_object* x_1725; size_t x_1726; size_t x_1727; lean_object* x_1728; uint8_t x_1729; +x_1724 = lean_ctor_get(x_1041, 0); +x_1725 = lean_array_get_size(x_1724); +x_1726 = lean_usize_of_nat(x_1725); +lean_dec(x_1725); +x_1727 = 0; +x_1728 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1726, x_1727, x_1724, x_1667); +x_1729 = !lean_is_exclusive(x_1728); +if (x_1729 == 0) +{ +lean_object* x_1730; uint8_t x_1731; +x_1730 = lean_ctor_get(x_1728, 0); +x_1731 = !lean_is_exclusive(x_1730); +if (x_1731 == 0) +{ +lean_object* x_1732; lean_object* x_1733; +x_1732 = lean_ctor_get(x_1730, 0); +lean_ctor_set(x_1041, 0, x_1732); +x_1733 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1733, 0, x_1035); +lean_ctor_set(x_1733, 1, x_1036); +lean_ctor_set(x_1733, 2, x_30); +lean_ctor_set(x_1733, 3, x_1037); +lean_ctor_set(x_1733, 4, x_1038); +lean_ctor_set(x_1733, 5, x_1670); +lean_ctor_set(x_1733, 6, x_1720); +lean_ctor_set(x_1733, 7, x_1041); +lean_ctor_set(x_1730, 0, x_1733); +x_11 = x_1728; +goto block_29; +} +else +{ +lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; +x_1734 = lean_ctor_get(x_1730, 0); +lean_inc(x_1734); +lean_dec(x_1730); +lean_ctor_set(x_1041, 0, x_1734); +x_1735 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1735, 0, x_1035); +lean_ctor_set(x_1735, 1, x_1036); +lean_ctor_set(x_1735, 2, x_30); +lean_ctor_set(x_1735, 3, x_1037); +lean_ctor_set(x_1735, 4, x_1038); +lean_ctor_set(x_1735, 5, x_1670); +lean_ctor_set(x_1735, 6, x_1720); +lean_ctor_set(x_1735, 7, x_1041); +x_1736 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1736, 0, x_1735); +lean_ctor_set(x_1728, 0, x_1736); +x_11 = x_1728; +goto block_29; +} +} +else +{ +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; +x_1737 = lean_ctor_get(x_1728, 0); +x_1738 = lean_ctor_get(x_1728, 1); +lean_inc(x_1738); +lean_inc(x_1737); +lean_dec(x_1728); +x_1739 = lean_ctor_get(x_1737, 0); +lean_inc(x_1739); +if (lean_is_exclusive(x_1737)) { + lean_ctor_release(x_1737, 0); + x_1740 = x_1737; +} else { + lean_dec_ref(x_1737); + x_1740 = lean_box(0); +} +lean_ctor_set(x_1041, 0, x_1739); +x_1741 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1741, 0, x_1035); +lean_ctor_set(x_1741, 1, x_1036); +lean_ctor_set(x_1741, 2, x_30); +lean_ctor_set(x_1741, 3, x_1037); +lean_ctor_set(x_1741, 4, x_1038); +lean_ctor_set(x_1741, 5, x_1670); +lean_ctor_set(x_1741, 6, x_1720); +lean_ctor_set(x_1741, 7, x_1041); +if (lean_is_scalar(x_1740)) { + x_1742 = lean_alloc_ctor(1, 1, 0); +} else { + x_1742 = x_1740; +} +lean_ctor_set(x_1742, 0, x_1741); +x_1743 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1743, 0, x_1742); +lean_ctor_set(x_1743, 1, x_1738); +x_11 = x_1743; +goto block_29; +} +} +else +{ +lean_object* x_1744; lean_object* x_1745; size_t x_1746; size_t 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; +x_1744 = lean_ctor_get(x_1041, 0); +lean_inc(x_1744); +lean_dec(x_1041); +x_1745 = lean_array_get_size(x_1744); +x_1746 = lean_usize_of_nat(x_1745); +lean_dec(x_1745); +x_1747 = 0; +x_1748 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1746, x_1747, x_1744, x_1667); +x_1749 = lean_ctor_get(x_1748, 0); +lean_inc(x_1749); +x_1750 = lean_ctor_get(x_1748, 1); +lean_inc(x_1750); +if (lean_is_exclusive(x_1748)) { + lean_ctor_release(x_1748, 0); + lean_ctor_release(x_1748, 1); + x_1751 = x_1748; +} else { + lean_dec_ref(x_1748); + x_1751 = lean_box(0); +} +x_1752 = lean_ctor_get(x_1749, 0); +lean_inc(x_1752); +if (lean_is_exclusive(x_1749)) { + lean_ctor_release(x_1749, 0); + x_1753 = x_1749; +} else { + lean_dec_ref(x_1749); + x_1753 = lean_box(0); +} +x_1754 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1754, 0, x_1752); +x_1755 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1755, 0, x_1035); +lean_ctor_set(x_1755, 1, x_1036); +lean_ctor_set(x_1755, 2, x_30); +lean_ctor_set(x_1755, 3, x_1037); +lean_ctor_set(x_1755, 4, x_1038); +lean_ctor_set(x_1755, 5, x_1670); +lean_ctor_set(x_1755, 6, x_1720); +lean_ctor_set(x_1755, 7, x_1754); +if (lean_is_scalar(x_1753)) { + x_1756 = lean_alloc_ctor(1, 1, 0); +} else { + x_1756 = x_1753; +} +lean_ctor_set(x_1756, 0, x_1755); +if (lean_is_scalar(x_1751)) { + x_1757 = lean_alloc_ctor(0, 2, 0); +} else { + x_1757 = x_1751; +} +lean_ctor_set(x_1757, 0, x_1756); +lean_ctor_set(x_1757, 1, x_1750); +x_11 = x_1757; +goto block_29; +} +} +} +else +{ +uint8_t x_1758; +lean_free_object(x_1656); +x_1758 = !lean_is_exclusive(x_1040); +if (x_1758 == 0) +{ +lean_object* x_1759; lean_object* x_1760; size_t x_1761; size_t x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; uint8_t x_1766; +x_1759 = lean_ctor_get(x_1040, 0); +x_1760 = lean_array_get_size(x_1759); +x_1761 = lean_usize_of_nat(x_1760); +lean_dec(x_1760); +x_1762 = 0; +x_1763 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1761, x_1762, x_1759, x_1667); +x_1764 = lean_ctor_get(x_1763, 0); +lean_inc(x_1764); +x_1765 = lean_ctor_get(x_1763, 1); +lean_inc(x_1765); +lean_dec(x_1763); +x_1766 = !lean_is_exclusive(x_1764); +if (x_1766 == 0) +{ +lean_object* x_1767; +x_1767 = lean_ctor_get(x_1764, 0); +lean_ctor_set(x_1040, 0, x_1767); +lean_ctor_set(x_1764, 0, x_1040); +x_1671 = x_1764; +x_1672 = x_1765; +goto block_1719; +} +else +{ +lean_object* x_1768; lean_object* x_1769; +x_1768 = lean_ctor_get(x_1764, 0); +lean_inc(x_1768); +lean_dec(x_1764); +lean_ctor_set(x_1040, 0, x_1768); +x_1769 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1769, 0, x_1040); +x_1671 = x_1769; +x_1672 = x_1765; +goto block_1719; +} +} +else +{ +lean_object* x_1770; lean_object* x_1771; size_t x_1772; size_t 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; +x_1770 = lean_ctor_get(x_1040, 0); +lean_inc(x_1770); +lean_dec(x_1040); +x_1771 = lean_array_get_size(x_1770); +x_1772 = lean_usize_of_nat(x_1771); +lean_dec(x_1771); +x_1773 = 0; +x_1774 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1772, x_1773, x_1770, x_1667); +x_1775 = lean_ctor_get(x_1774, 0); +lean_inc(x_1775); +x_1776 = lean_ctor_get(x_1774, 1); +lean_inc(x_1776); +lean_dec(x_1774); +x_1777 = lean_ctor_get(x_1775, 0); +lean_inc(x_1777); +if (lean_is_exclusive(x_1775)) { + lean_ctor_release(x_1775, 0); + x_1778 = x_1775; +} else { + lean_dec_ref(x_1775); + x_1778 = lean_box(0); +} +x_1779 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1779, 0, x_1777); +if (lean_is_scalar(x_1778)) { + x_1780 = lean_alloc_ctor(1, 1, 0); +} else { + x_1780 = x_1778; +} +lean_ctor_set(x_1780, 0, x_1779); +x_1671 = x_1780; +x_1672 = x_1776; +goto block_1719; +} +} +block_1719: +{ +if (lean_obj_tag(x_1041) == 0) +{ +uint8_t x_1673; +x_1673 = !lean_is_exclusive(x_1671); +if (x_1673 == 0) +{ +lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; +x_1674 = lean_ctor_get(x_1671, 0); +x_1675 = lean_box(0); +x_1676 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1676, 0, x_1035); +lean_ctor_set(x_1676, 1, x_1036); +lean_ctor_set(x_1676, 2, x_30); +lean_ctor_set(x_1676, 3, x_1037); +lean_ctor_set(x_1676, 4, x_1038); +lean_ctor_set(x_1676, 5, x_1670); +lean_ctor_set(x_1676, 6, x_1674); +lean_ctor_set(x_1676, 7, x_1675); +lean_ctor_set(x_1671, 0, x_1676); +if (lean_is_scalar(x_1668)) { + x_1677 = lean_alloc_ctor(0, 2, 0); +} else { + x_1677 = x_1668; +} +lean_ctor_set(x_1677, 0, x_1671); +lean_ctor_set(x_1677, 1, x_1672); +x_11 = x_1677; +goto block_29; +} +else +{ +lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; +x_1678 = lean_ctor_get(x_1671, 0); +lean_inc(x_1678); +lean_dec(x_1671); +x_1679 = lean_box(0); +x_1680 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1680, 0, x_1035); +lean_ctor_set(x_1680, 1, x_1036); +lean_ctor_set(x_1680, 2, x_30); +lean_ctor_set(x_1680, 3, x_1037); +lean_ctor_set(x_1680, 4, x_1038); +lean_ctor_set(x_1680, 5, x_1670); +lean_ctor_set(x_1680, 6, x_1678); +lean_ctor_set(x_1680, 7, x_1679); +x_1681 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1681, 0, x_1680); +if (lean_is_scalar(x_1668)) { + x_1682 = lean_alloc_ctor(0, 2, 0); +} else { + x_1682 = x_1668; +} +lean_ctor_set(x_1682, 0, x_1681); +lean_ctor_set(x_1682, 1, x_1672); +x_11 = x_1682; +goto block_29; +} +} +else +{ +lean_object* x_1683; uint8_t x_1684; +lean_dec(x_1668); +x_1683 = lean_ctor_get(x_1671, 0); +lean_inc(x_1683); +lean_dec(x_1671); +x_1684 = !lean_is_exclusive(x_1041); +if (x_1684 == 0) +{ +lean_object* x_1685; lean_object* x_1686; size_t x_1687; size_t x_1688; lean_object* x_1689; uint8_t x_1690; +x_1685 = lean_ctor_get(x_1041, 0); +x_1686 = lean_array_get_size(x_1685); +x_1687 = lean_usize_of_nat(x_1686); +lean_dec(x_1686); +x_1688 = 0; +x_1689 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1687, x_1688, x_1685, x_1672); +x_1690 = !lean_is_exclusive(x_1689); +if (x_1690 == 0) +{ +lean_object* x_1691; uint8_t x_1692; +x_1691 = lean_ctor_get(x_1689, 0); +x_1692 = !lean_is_exclusive(x_1691); +if (x_1692 == 0) +{ +lean_object* x_1693; lean_object* x_1694; +x_1693 = lean_ctor_get(x_1691, 0); +lean_ctor_set(x_1041, 0, x_1693); +x_1694 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1694, 0, x_1035); +lean_ctor_set(x_1694, 1, x_1036); +lean_ctor_set(x_1694, 2, x_30); +lean_ctor_set(x_1694, 3, x_1037); +lean_ctor_set(x_1694, 4, x_1038); +lean_ctor_set(x_1694, 5, x_1670); +lean_ctor_set(x_1694, 6, x_1683); +lean_ctor_set(x_1694, 7, x_1041); +lean_ctor_set(x_1691, 0, x_1694); +x_11 = x_1689; +goto block_29; +} +else +{ +lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; +x_1695 = lean_ctor_get(x_1691, 0); +lean_inc(x_1695); +lean_dec(x_1691); +lean_ctor_set(x_1041, 0, x_1695); +x_1696 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1696, 0, x_1035); +lean_ctor_set(x_1696, 1, x_1036); +lean_ctor_set(x_1696, 2, x_30); +lean_ctor_set(x_1696, 3, x_1037); +lean_ctor_set(x_1696, 4, x_1038); +lean_ctor_set(x_1696, 5, x_1670); +lean_ctor_set(x_1696, 6, x_1683); +lean_ctor_set(x_1696, 7, x_1041); +x_1697 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1697, 0, x_1696); +lean_ctor_set(x_1689, 0, x_1697); +x_11 = x_1689; +goto block_29; +} +} +else +{ +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; +x_1698 = lean_ctor_get(x_1689, 0); +x_1699 = lean_ctor_get(x_1689, 1); +lean_inc(x_1699); +lean_inc(x_1698); +lean_dec(x_1689); +x_1700 = lean_ctor_get(x_1698, 0); +lean_inc(x_1700); +if (lean_is_exclusive(x_1698)) { + lean_ctor_release(x_1698, 0); + x_1701 = x_1698; +} else { + lean_dec_ref(x_1698); + x_1701 = lean_box(0); +} +lean_ctor_set(x_1041, 0, x_1700); +x_1702 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1702, 0, x_1035); +lean_ctor_set(x_1702, 1, x_1036); +lean_ctor_set(x_1702, 2, x_30); +lean_ctor_set(x_1702, 3, x_1037); +lean_ctor_set(x_1702, 4, x_1038); +lean_ctor_set(x_1702, 5, x_1670); +lean_ctor_set(x_1702, 6, x_1683); +lean_ctor_set(x_1702, 7, x_1041); +if (lean_is_scalar(x_1701)) { + x_1703 = lean_alloc_ctor(1, 1, 0); +} else { + x_1703 = x_1701; +} +lean_ctor_set(x_1703, 0, x_1702); +x_1704 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1704, 0, x_1703); +lean_ctor_set(x_1704, 1, x_1699); +x_11 = x_1704; +goto block_29; +} +} +else +{ +lean_object* x_1705; lean_object* x_1706; size_t x_1707; size_t 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; +x_1705 = lean_ctor_get(x_1041, 0); +lean_inc(x_1705); +lean_dec(x_1041); +x_1706 = lean_array_get_size(x_1705); +x_1707 = lean_usize_of_nat(x_1706); +lean_dec(x_1706); +x_1708 = 0; +x_1709 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1707, x_1708, x_1705, x_1672); +x_1710 = lean_ctor_get(x_1709, 0); +lean_inc(x_1710); +x_1711 = lean_ctor_get(x_1709, 1); +lean_inc(x_1711); +if (lean_is_exclusive(x_1709)) { + lean_ctor_release(x_1709, 0); + lean_ctor_release(x_1709, 1); + x_1712 = x_1709; +} else { + lean_dec_ref(x_1709); + x_1712 = lean_box(0); +} +x_1713 = lean_ctor_get(x_1710, 0); +lean_inc(x_1713); +if (lean_is_exclusive(x_1710)) { + lean_ctor_release(x_1710, 0); + x_1714 = x_1710; +} else { + lean_dec_ref(x_1710); + x_1714 = lean_box(0); +} +x_1715 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1715, 0, x_1713); +x_1716 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1716, 0, x_1035); +lean_ctor_set(x_1716, 1, x_1036); +lean_ctor_set(x_1716, 2, x_30); +lean_ctor_set(x_1716, 3, x_1037); +lean_ctor_set(x_1716, 4, x_1038); +lean_ctor_set(x_1716, 5, x_1670); +lean_ctor_set(x_1716, 6, x_1683); +lean_ctor_set(x_1716, 7, x_1715); +if (lean_is_scalar(x_1714)) { + x_1717 = lean_alloc_ctor(1, 1, 0); +} else { + x_1717 = x_1714; +} +lean_ctor_set(x_1717, 0, x_1716); +if (lean_is_scalar(x_1712)) { + x_1718 = lean_alloc_ctor(0, 2, 0); +} else { + x_1718 = x_1712; +} +lean_ctor_set(x_1718, 0, x_1717); +lean_ctor_set(x_1718, 1, x_1711); +x_11 = x_1718; +goto block_29; +} +} +} +} +else +{ +lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; +x_1781 = lean_ctor_get(x_1656, 0); +lean_inc(x_1781); +lean_dec(x_1656); +if (lean_obj_tag(x_1040) == 0) +{ +lean_object* x_1807; +lean_dec(x_1668); +x_1807 = lean_box(0); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; +x_1808 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1808, 0, x_1035); +lean_ctor_set(x_1808, 1, x_1036); +lean_ctor_set(x_1808, 2, x_30); +lean_ctor_set(x_1808, 3, x_1037); +lean_ctor_set(x_1808, 4, x_1038); +lean_ctor_set(x_1808, 5, x_1781); +lean_ctor_set(x_1808, 6, x_1807); +lean_ctor_set(x_1808, 7, x_1807); +x_1809 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1809, 0, x_1808); +x_1810 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1810, 0, x_1809); +lean_ctor_set(x_1810, 1, x_1667); +x_11 = x_1810; +goto block_29; +} +else +{ +lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; size_t x_1814; size_t x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; +x_1811 = lean_ctor_get(x_1041, 0); +lean_inc(x_1811); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1812 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1812 = lean_box(0); +} +x_1813 = lean_array_get_size(x_1811); +x_1814 = lean_usize_of_nat(x_1813); +lean_dec(x_1813); +x_1815 = 0; +x_1816 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1814, x_1815, x_1811, x_1667); +x_1817 = lean_ctor_get(x_1816, 0); +lean_inc(x_1817); +x_1818 = lean_ctor_get(x_1816, 1); +lean_inc(x_1818); +if (lean_is_exclusive(x_1816)) { + lean_ctor_release(x_1816, 0); + lean_ctor_release(x_1816, 1); + x_1819 = x_1816; +} else { + lean_dec_ref(x_1816); + x_1819 = lean_box(0); +} +x_1820 = lean_ctor_get(x_1817, 0); +lean_inc(x_1820); +if (lean_is_exclusive(x_1817)) { + lean_ctor_release(x_1817, 0); + x_1821 = x_1817; +} else { + lean_dec_ref(x_1817); + x_1821 = lean_box(0); +} +if (lean_is_scalar(x_1812)) { + x_1822 = lean_alloc_ctor(1, 1, 0); +} else { + x_1822 = x_1812; +} +lean_ctor_set(x_1822, 0, x_1820); +x_1823 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1823, 0, x_1035); +lean_ctor_set(x_1823, 1, x_1036); +lean_ctor_set(x_1823, 2, x_30); +lean_ctor_set(x_1823, 3, x_1037); +lean_ctor_set(x_1823, 4, x_1038); +lean_ctor_set(x_1823, 5, x_1781); +lean_ctor_set(x_1823, 6, x_1807); +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); +if (lean_is_scalar(x_1819)) { + x_1825 = lean_alloc_ctor(0, 2, 0); +} else { + x_1825 = x_1819; +} +lean_ctor_set(x_1825, 0, x_1824); +lean_ctor_set(x_1825, 1, x_1818); +x_11 = x_1825; +goto block_29; +} +} +else +{ +lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; size_t x_1829; size_t 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; +x_1826 = lean_ctor_get(x_1040, 0); +lean_inc(x_1826); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + x_1827 = x_1040; +} else { + lean_dec_ref(x_1040); + x_1827 = lean_box(0); +} +x_1828 = lean_array_get_size(x_1826); +x_1829 = lean_usize_of_nat(x_1828); +lean_dec(x_1828); +x_1830 = 0; +x_1831 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1829, x_1830, x_1826, x_1667); +x_1832 = lean_ctor_get(x_1831, 0); +lean_inc(x_1832); +x_1833 = lean_ctor_get(x_1831, 1); +lean_inc(x_1833); +lean_dec(x_1831); +x_1834 = lean_ctor_get(x_1832, 0); +lean_inc(x_1834); +if (lean_is_exclusive(x_1832)) { + lean_ctor_release(x_1832, 0); + x_1835 = x_1832; +} else { + lean_dec_ref(x_1832); + x_1835 = lean_box(0); +} +if (lean_is_scalar(x_1827)) { + x_1836 = lean_alloc_ctor(1, 1, 0); +} else { + x_1836 = x_1827; +} +lean_ctor_set(x_1836, 0, x_1834); +if (lean_is_scalar(x_1835)) { + x_1837 = lean_alloc_ctor(1, 1, 0); +} else { + x_1837 = x_1835; +} +lean_ctor_set(x_1837, 0, x_1836); +x_1782 = x_1837; +x_1783 = x_1833; +goto block_1806; +} +block_1806: +{ +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; +x_1784 = lean_ctor_get(x_1782, 0); +lean_inc(x_1784); +if (lean_is_exclusive(x_1782)) { + lean_ctor_release(x_1782, 0); + x_1785 = x_1782; +} else { + lean_dec_ref(x_1782); + x_1785 = lean_box(0); +} +x_1786 = lean_box(0); +x_1787 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1787, 0, x_1035); +lean_ctor_set(x_1787, 1, x_1036); +lean_ctor_set(x_1787, 2, x_30); +lean_ctor_set(x_1787, 3, x_1037); +lean_ctor_set(x_1787, 4, x_1038); +lean_ctor_set(x_1787, 5, x_1781); +lean_ctor_set(x_1787, 6, x_1784); +lean_ctor_set(x_1787, 7, x_1786); +if (lean_is_scalar(x_1785)) { + x_1788 = lean_alloc_ctor(1, 1, 0); +} else { + x_1788 = x_1785; +} +lean_ctor_set(x_1788, 0, x_1787); +if (lean_is_scalar(x_1668)) { + x_1789 = lean_alloc_ctor(0, 2, 0); +} else { + x_1789 = x_1668; +} +lean_ctor_set(x_1789, 0, x_1788); +lean_ctor_set(x_1789, 1, x_1783); +x_11 = x_1789; +goto block_29; +} +else +{ +lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; size_t x_1794; size_t 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_dec(x_1668); +x_1790 = lean_ctor_get(x_1782, 0); +lean_inc(x_1790); +lean_dec(x_1782); +x_1791 = lean_ctor_get(x_1041, 0); +lean_inc(x_1791); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1792 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1792 = lean_box(0); +} +x_1793 = lean_array_get_size(x_1791); +x_1794 = lean_usize_of_nat(x_1793); +lean_dec(x_1793); +x_1795 = 0; +x_1796 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1794, x_1795, x_1791, x_1783); +x_1797 = lean_ctor_get(x_1796, 0); +lean_inc(x_1797); +x_1798 = lean_ctor_get(x_1796, 1); +lean_inc(x_1798); +if (lean_is_exclusive(x_1796)) { + lean_ctor_release(x_1796, 0); + lean_ctor_release(x_1796, 1); + x_1799 = x_1796; +} else { + lean_dec_ref(x_1796); + x_1799 = lean_box(0); +} +x_1800 = lean_ctor_get(x_1797, 0); +lean_inc(x_1800); +if (lean_is_exclusive(x_1797)) { + lean_ctor_release(x_1797, 0); + x_1801 = x_1797; +} else { + lean_dec_ref(x_1797); + x_1801 = lean_box(0); +} +if (lean_is_scalar(x_1792)) { + x_1802 = lean_alloc_ctor(1, 1, 0); +} else { + x_1802 = x_1792; +} +lean_ctor_set(x_1802, 0, x_1800); +x_1803 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1803, 0, x_1035); +lean_ctor_set(x_1803, 1, x_1036); +lean_ctor_set(x_1803, 2, x_30); +lean_ctor_set(x_1803, 3, x_1037); +lean_ctor_set(x_1803, 4, x_1038); +lean_ctor_set(x_1803, 5, x_1781); +lean_ctor_set(x_1803, 6, x_1790); +lean_ctor_set(x_1803, 7, x_1802); +if (lean_is_scalar(x_1801)) { + x_1804 = lean_alloc_ctor(1, 1, 0); +} else { + x_1804 = x_1801; +} +lean_ctor_set(x_1804, 0, x_1803); +if (lean_is_scalar(x_1799)) { + x_1805 = lean_alloc_ctor(0, 2, 0); +} else { + x_1805 = x_1799; +} +lean_ctor_set(x_1805, 0, x_1804); +lean_ctor_set(x_1805, 1, x_1798); +x_11 = x_1805; +goto block_29; +} +} +} +} +} +else +{ +lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; +x_1838 = lean_ctor_get(x_1038, 0); +lean_inc(x_1838); +lean_dec(x_1038); +x_1839 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1839, 0, x_1838); +x_1840 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__3; +x_1841 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_1840, x_1039, x_4); +x_1842 = lean_ctor_get(x_1841, 0); +lean_inc(x_1842); +if (lean_obj_tag(x_1842) == 0) +{ +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_dec(x_1839); +lean_dec(x_1037); +lean_dec(x_30); +lean_dec(x_1041); +lean_dec(x_1040); +lean_dec(x_1036); +lean_dec(x_1035); +x_1843 = lean_ctor_get(x_1841, 1); +lean_inc(x_1843); +if (lean_is_exclusive(x_1841)) { + lean_ctor_release(x_1841, 0); + lean_ctor_release(x_1841, 1); + x_1844 = x_1841; +} else { + lean_dec_ref(x_1841); + x_1844 = lean_box(0); +} +x_1845 = lean_ctor_get(x_1842, 0); +lean_inc(x_1845); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + x_1846 = x_1842; +} else { + lean_dec_ref(x_1842); + 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); +if (lean_is_scalar(x_1844)) { + x_1848 = lean_alloc_ctor(0, 2, 0); +} else { + x_1848 = x_1844; +} +lean_ctor_set(x_1848, 0, x_1847); +lean_ctor_set(x_1848, 1, x_1843); +x_11 = x_1848; +goto block_29; +} +else +{ +lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; +x_1849 = lean_ctor_get(x_1841, 1); +lean_inc(x_1849); +if (lean_is_exclusive(x_1841)) { + lean_ctor_release(x_1841, 0); + lean_ctor_release(x_1841, 1); + x_1850 = x_1841; +} else { + lean_dec_ref(x_1841); + x_1850 = lean_box(0); +} +x_1851 = lean_ctor_get(x_1842, 0); +lean_inc(x_1851); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + x_1852 = x_1842; +} else { + lean_dec_ref(x_1842); + x_1852 = lean_box(0); +} +if (lean_obj_tag(x_1040) == 0) +{ +lean_object* x_1878; +lean_dec(x_1850); +x_1878 = lean_box(0); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; +x_1879 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1879, 0, x_1035); +lean_ctor_set(x_1879, 1, x_1036); +lean_ctor_set(x_1879, 2, x_30); +lean_ctor_set(x_1879, 3, x_1037); +lean_ctor_set(x_1879, 4, x_1839); +lean_ctor_set(x_1879, 5, x_1851); +lean_ctor_set(x_1879, 6, x_1878); +lean_ctor_set(x_1879, 7, x_1878); +if (lean_is_scalar(x_1852)) { + x_1880 = lean_alloc_ctor(1, 1, 0); +} else { + x_1880 = x_1852; +} +lean_ctor_set(x_1880, 0, x_1879); +x_1881 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1881, 0, x_1880); +lean_ctor_set(x_1881, 1, x_1849); +x_11 = x_1881; +goto block_29; +} +else +{ +lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; size_t x_1885; size_t x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; +lean_dec(x_1852); +x_1882 = lean_ctor_get(x_1041, 0); +lean_inc(x_1882); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1883 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1883 = lean_box(0); +} +x_1884 = lean_array_get_size(x_1882); +x_1885 = lean_usize_of_nat(x_1884); +lean_dec(x_1884); +x_1886 = 0; +x_1887 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1885, x_1886, x_1882, x_1849); +x_1888 = lean_ctor_get(x_1887, 0); +lean_inc(x_1888); +x_1889 = lean_ctor_get(x_1887, 1); +lean_inc(x_1889); +if (lean_is_exclusive(x_1887)) { + lean_ctor_release(x_1887, 0); + lean_ctor_release(x_1887, 1); + x_1890 = x_1887; +} else { + lean_dec_ref(x_1887); + x_1890 = lean_box(0); +} +x_1891 = lean_ctor_get(x_1888, 0); +lean_inc(x_1891); +if (lean_is_exclusive(x_1888)) { + lean_ctor_release(x_1888, 0); + x_1892 = x_1888; +} else { + lean_dec_ref(x_1888); + x_1892 = lean_box(0); +} +if (lean_is_scalar(x_1883)) { + x_1893 = lean_alloc_ctor(1, 1, 0); +} else { + x_1893 = x_1883; +} +lean_ctor_set(x_1893, 0, x_1891); +x_1894 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1894, 0, x_1035); +lean_ctor_set(x_1894, 1, x_1036); +lean_ctor_set(x_1894, 2, x_30); +lean_ctor_set(x_1894, 3, x_1037); +lean_ctor_set(x_1894, 4, x_1839); +lean_ctor_set(x_1894, 5, x_1851); +lean_ctor_set(x_1894, 6, x_1878); +lean_ctor_set(x_1894, 7, x_1893); +if (lean_is_scalar(x_1892)) { + x_1895 = lean_alloc_ctor(1, 1, 0); +} else { + x_1895 = x_1892; +} +lean_ctor_set(x_1895, 0, x_1894); +if (lean_is_scalar(x_1890)) { + x_1896 = lean_alloc_ctor(0, 2, 0); +} else { + x_1896 = x_1890; +} +lean_ctor_set(x_1896, 0, x_1895); +lean_ctor_set(x_1896, 1, x_1889); +x_11 = x_1896; +goto block_29; +} +} +else +{ +lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; size_t x_1900; size_t 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_1852); +x_1897 = lean_ctor_get(x_1040, 0); +lean_inc(x_1897); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + x_1898 = x_1040; +} else { + lean_dec_ref(x_1040); + x_1898 = lean_box(0); +} +x_1899 = lean_array_get_size(x_1897); +x_1900 = lean_usize_of_nat(x_1899); +lean_dec(x_1899); +x_1901 = 0; +x_1902 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1900, x_1901, x_1897, x_1849); +x_1903 = lean_ctor_get(x_1902, 0); +lean_inc(x_1903); +x_1904 = lean_ctor_get(x_1902, 1); +lean_inc(x_1904); +lean_dec(x_1902); +x_1905 = lean_ctor_get(x_1903, 0); +lean_inc(x_1905); +if (lean_is_exclusive(x_1903)) { + lean_ctor_release(x_1903, 0); + x_1906 = x_1903; +} else { + lean_dec_ref(x_1903); + x_1906 = lean_box(0); +} +if (lean_is_scalar(x_1898)) { + x_1907 = lean_alloc_ctor(1, 1, 0); +} else { + x_1907 = x_1898; +} +lean_ctor_set(x_1907, 0, x_1905); +if (lean_is_scalar(x_1906)) { + x_1908 = lean_alloc_ctor(1, 1, 0); +} else { + x_1908 = x_1906; +} +lean_ctor_set(x_1908, 0, x_1907); +x_1853 = x_1908; +x_1854 = x_1904; +goto block_1877; +} +block_1877: +{ +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; +x_1855 = lean_ctor_get(x_1853, 0); +lean_inc(x_1855); +if (lean_is_exclusive(x_1853)) { + lean_ctor_release(x_1853, 0); + x_1856 = x_1853; +} else { + lean_dec_ref(x_1853); + x_1856 = lean_box(0); +} +x_1857 = lean_box(0); +x_1858 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1858, 0, x_1035); +lean_ctor_set(x_1858, 1, x_1036); +lean_ctor_set(x_1858, 2, x_30); +lean_ctor_set(x_1858, 3, x_1037); +lean_ctor_set(x_1858, 4, x_1839); +lean_ctor_set(x_1858, 5, x_1851); +lean_ctor_set(x_1858, 6, x_1855); +lean_ctor_set(x_1858, 7, x_1857); +if (lean_is_scalar(x_1856)) { + x_1859 = lean_alloc_ctor(1, 1, 0); +} else { + x_1859 = x_1856; +} +lean_ctor_set(x_1859, 0, x_1858); +if (lean_is_scalar(x_1850)) { + x_1860 = lean_alloc_ctor(0, 2, 0); +} else { + x_1860 = x_1850; +} +lean_ctor_set(x_1860, 0, x_1859); +lean_ctor_set(x_1860, 1, x_1854); +x_11 = x_1860; +goto block_29; +} +else +{ +lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; size_t x_1865; size_t 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_dec(x_1850); +x_1861 = lean_ctor_get(x_1853, 0); +lean_inc(x_1861); +lean_dec(x_1853); +x_1862 = lean_ctor_get(x_1041, 0); +lean_inc(x_1862); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1863 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1863 = lean_box(0); +} +x_1864 = lean_array_get_size(x_1862); +x_1865 = lean_usize_of_nat(x_1864); +lean_dec(x_1864); +x_1866 = 0; +x_1867 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1865, x_1866, x_1862, x_1854); +x_1868 = lean_ctor_get(x_1867, 0); +lean_inc(x_1868); +x_1869 = lean_ctor_get(x_1867, 1); +lean_inc(x_1869); +if (lean_is_exclusive(x_1867)) { + lean_ctor_release(x_1867, 0); + lean_ctor_release(x_1867, 1); + x_1870 = x_1867; +} else { + lean_dec_ref(x_1867); + x_1870 = lean_box(0); +} +x_1871 = lean_ctor_get(x_1868, 0); +lean_inc(x_1871); +if (lean_is_exclusive(x_1868)) { + lean_ctor_release(x_1868, 0); + x_1872 = x_1868; +} else { + lean_dec_ref(x_1868); + x_1872 = lean_box(0); +} +if (lean_is_scalar(x_1863)) { + x_1873 = lean_alloc_ctor(1, 1, 0); +} else { + x_1873 = x_1863; +} +lean_ctor_set(x_1873, 0, x_1871); +x_1874 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1874, 0, x_1035); +lean_ctor_set(x_1874, 1, x_1036); +lean_ctor_set(x_1874, 2, x_30); +lean_ctor_set(x_1874, 3, x_1037); +lean_ctor_set(x_1874, 4, x_1839); +lean_ctor_set(x_1874, 5, x_1851); +lean_ctor_set(x_1874, 6, x_1861); +lean_ctor_set(x_1874, 7, x_1873); +if (lean_is_scalar(x_1872)) { + x_1875 = lean_alloc_ctor(1, 1, 0); +} else { + x_1875 = x_1872; +} +lean_ctor_set(x_1875, 0, x_1874); +if (lean_is_scalar(x_1870)) { + x_1876 = lean_alloc_ctor(0, 2, 0); +} else { + x_1876 = x_1870; +} +lean_ctor_set(x_1876, 0, x_1875); +lean_ctor_set(x_1876, 1, x_1869); +x_11 = x_1876; +goto block_29; +} +} +} +} +} +} +else +{ +lean_object* x_1909; lean_object* x_1910; +x_1909 = lean_ctor_get(x_1037, 0); +lean_inc(x_1909); +lean_dec(x_1037); +x_1910 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1910, 0, x_1909); +if (lean_obj_tag(x_1038) == 0) +{ +lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; +x_1911 = lean_box(0); +x_1912 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_1912, 0, x_1911); +x_1913 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_1912, x_1039, x_4); +x_1914 = lean_ctor_get(x_1913, 0); +lean_inc(x_1914); +if (lean_obj_tag(x_1914) == 0) +{ +lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; +lean_dec(x_1910); +lean_dec(x_30); +lean_dec(x_1041); +lean_dec(x_1040); +lean_dec(x_1036); +lean_dec(x_1035); +x_1915 = lean_ctor_get(x_1913, 1); +lean_inc(x_1915); +if (lean_is_exclusive(x_1913)) { + lean_ctor_release(x_1913, 0); + lean_ctor_release(x_1913, 1); + x_1916 = x_1913; +} else { + lean_dec_ref(x_1913); + x_1916 = lean_box(0); +} +x_1917 = lean_ctor_get(x_1914, 0); +lean_inc(x_1917); +if (lean_is_exclusive(x_1914)) { + lean_ctor_release(x_1914, 0); + x_1918 = x_1914; +} else { + lean_dec_ref(x_1914); + 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); +if (lean_is_scalar(x_1916)) { + x_1920 = lean_alloc_ctor(0, 2, 0); +} else { + x_1920 = x_1916; +} +lean_ctor_set(x_1920, 0, x_1919); +lean_ctor_set(x_1920, 1, x_1915); +x_11 = x_1920; +goto block_29; +} +else +{ +lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; +x_1921 = lean_ctor_get(x_1913, 1); +lean_inc(x_1921); +if (lean_is_exclusive(x_1913)) { + lean_ctor_release(x_1913, 0); + lean_ctor_release(x_1913, 1); + x_1922 = x_1913; +} else { + lean_dec_ref(x_1913); + x_1922 = lean_box(0); +} +x_1923 = lean_ctor_get(x_1914, 0); +lean_inc(x_1923); +if (lean_is_exclusive(x_1914)) { + lean_ctor_release(x_1914, 0); + x_1924 = x_1914; +} else { + lean_dec_ref(x_1914); + x_1924 = lean_box(0); +} +if (lean_obj_tag(x_1040) == 0) +{ +lean_dec(x_1922); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; +x_1949 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1949, 0, x_1035); +lean_ctor_set(x_1949, 1, x_1036); +lean_ctor_set(x_1949, 2, x_30); +lean_ctor_set(x_1949, 3, x_1910); +lean_ctor_set(x_1949, 4, x_1911); +lean_ctor_set(x_1949, 5, x_1923); +lean_ctor_set(x_1949, 6, x_1911); +lean_ctor_set(x_1949, 7, x_1911); +if (lean_is_scalar(x_1924)) { + x_1950 = lean_alloc_ctor(1, 1, 0); +} else { + x_1950 = x_1924; +} +lean_ctor_set(x_1950, 0, x_1949); +x_1951 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1951, 0, x_1950); +lean_ctor_set(x_1951, 1, x_1921); +x_11 = x_1951; +goto block_29; +} +else +{ +lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; size_t x_1955; size_t 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_dec(x_1924); +x_1952 = lean_ctor_get(x_1041, 0); +lean_inc(x_1952); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1953 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1953 = lean_box(0); +} +x_1954 = lean_array_get_size(x_1952); +x_1955 = lean_usize_of_nat(x_1954); +lean_dec(x_1954); +x_1956 = 0; +x_1957 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1955, x_1956, x_1952, x_1921); +x_1958 = lean_ctor_get(x_1957, 0); +lean_inc(x_1958); +x_1959 = lean_ctor_get(x_1957, 1); +lean_inc(x_1959); +if (lean_is_exclusive(x_1957)) { + lean_ctor_release(x_1957, 0); + lean_ctor_release(x_1957, 1); + x_1960 = x_1957; +} else { + lean_dec_ref(x_1957); + x_1960 = lean_box(0); +} +x_1961 = lean_ctor_get(x_1958, 0); +lean_inc(x_1961); +if (lean_is_exclusive(x_1958)) { + lean_ctor_release(x_1958, 0); + x_1962 = x_1958; +} else { + lean_dec_ref(x_1958); + x_1962 = lean_box(0); +} +if (lean_is_scalar(x_1953)) { + x_1963 = lean_alloc_ctor(1, 1, 0); +} else { + x_1963 = x_1953; +} +lean_ctor_set(x_1963, 0, x_1961); +x_1964 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1964, 0, x_1035); +lean_ctor_set(x_1964, 1, x_1036); +lean_ctor_set(x_1964, 2, x_30); +lean_ctor_set(x_1964, 3, x_1910); +lean_ctor_set(x_1964, 4, x_1911); +lean_ctor_set(x_1964, 5, x_1923); +lean_ctor_set(x_1964, 6, x_1911); +lean_ctor_set(x_1964, 7, x_1963); +if (lean_is_scalar(x_1962)) { + x_1965 = lean_alloc_ctor(1, 1, 0); +} else { + x_1965 = x_1962; +} +lean_ctor_set(x_1965, 0, x_1964); +if (lean_is_scalar(x_1960)) { + x_1966 = lean_alloc_ctor(0, 2, 0); +} else { + x_1966 = x_1960; +} +lean_ctor_set(x_1966, 0, x_1965); +lean_ctor_set(x_1966, 1, x_1959); +x_11 = x_1966; +goto block_29; +} +} +else +{ +lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; size_t x_1970; size_t 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_dec(x_1924); +x_1967 = lean_ctor_get(x_1040, 0); +lean_inc(x_1967); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + x_1968 = x_1040; +} else { + lean_dec_ref(x_1040); + x_1968 = lean_box(0); +} +x_1969 = lean_array_get_size(x_1967); +x_1970 = lean_usize_of_nat(x_1969); +lean_dec(x_1969); +x_1971 = 0; +x_1972 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_1970, x_1971, x_1967, x_1921); +x_1973 = lean_ctor_get(x_1972, 0); +lean_inc(x_1973); +x_1974 = lean_ctor_get(x_1972, 1); +lean_inc(x_1974); +lean_dec(x_1972); +x_1975 = lean_ctor_get(x_1973, 0); +lean_inc(x_1975); +if (lean_is_exclusive(x_1973)) { + lean_ctor_release(x_1973, 0); + x_1976 = x_1973; +} else { + lean_dec_ref(x_1973); + x_1976 = lean_box(0); +} +if (lean_is_scalar(x_1968)) { + x_1977 = lean_alloc_ctor(1, 1, 0); +} else { + x_1977 = x_1968; +} +lean_ctor_set(x_1977, 0, x_1975); +if (lean_is_scalar(x_1976)) { + x_1978 = lean_alloc_ctor(1, 1, 0); +} else { + x_1978 = x_1976; +} +lean_ctor_set(x_1978, 0, x_1977); +x_1925 = x_1978; +x_1926 = x_1974; +goto block_1948; +} +block_1948: +{ +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; +x_1927 = lean_ctor_get(x_1925, 0); +lean_inc(x_1927); +if (lean_is_exclusive(x_1925)) { + lean_ctor_release(x_1925, 0); + x_1928 = x_1925; +} else { + lean_dec_ref(x_1925); + x_1928 = lean_box(0); +} +x_1929 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1929, 0, x_1035); +lean_ctor_set(x_1929, 1, x_1036); +lean_ctor_set(x_1929, 2, x_30); +lean_ctor_set(x_1929, 3, x_1910); +lean_ctor_set(x_1929, 4, x_1911); +lean_ctor_set(x_1929, 5, x_1923); +lean_ctor_set(x_1929, 6, x_1927); +lean_ctor_set(x_1929, 7, x_1911); +if (lean_is_scalar(x_1928)) { + x_1930 = lean_alloc_ctor(1, 1, 0); +} else { + x_1930 = x_1928; +} +lean_ctor_set(x_1930, 0, x_1929); +if (lean_is_scalar(x_1922)) { + x_1931 = lean_alloc_ctor(0, 2, 0); +} else { + x_1931 = x_1922; +} +lean_ctor_set(x_1931, 0, x_1930); +lean_ctor_set(x_1931, 1, x_1926); +x_11 = x_1931; +goto block_29; +} +else +{ +lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; size_t x_1936; size_t 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_dec(x_1922); +x_1932 = lean_ctor_get(x_1925, 0); +lean_inc(x_1932); +lean_dec(x_1925); +x_1933 = lean_ctor_get(x_1041, 0); +lean_inc(x_1933); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_1934 = x_1041; +} else { + lean_dec_ref(x_1041); + x_1934 = lean_box(0); +} +x_1935 = lean_array_get_size(x_1933); +x_1936 = lean_usize_of_nat(x_1935); +lean_dec(x_1935); +x_1937 = 0; +x_1938 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_1936, x_1937, x_1933, x_1926); +x_1939 = lean_ctor_get(x_1938, 0); +lean_inc(x_1939); +x_1940 = lean_ctor_get(x_1938, 1); +lean_inc(x_1940); +if (lean_is_exclusive(x_1938)) { + lean_ctor_release(x_1938, 0); + lean_ctor_release(x_1938, 1); + x_1941 = x_1938; +} else { + lean_dec_ref(x_1938); + x_1941 = lean_box(0); +} +x_1942 = lean_ctor_get(x_1939, 0); +lean_inc(x_1942); +if (lean_is_exclusive(x_1939)) { + lean_ctor_release(x_1939, 0); + x_1943 = x_1939; +} else { + lean_dec_ref(x_1939); + x_1943 = lean_box(0); +} +if (lean_is_scalar(x_1934)) { + x_1944 = lean_alloc_ctor(1, 1, 0); +} else { + x_1944 = x_1934; +} +lean_ctor_set(x_1944, 0, x_1942); +x_1945 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1945, 0, x_1035); +lean_ctor_set(x_1945, 1, x_1036); +lean_ctor_set(x_1945, 2, x_30); +lean_ctor_set(x_1945, 3, x_1910); +lean_ctor_set(x_1945, 4, x_1911); +lean_ctor_set(x_1945, 5, x_1923); +lean_ctor_set(x_1945, 6, x_1932); +lean_ctor_set(x_1945, 7, x_1944); +if (lean_is_scalar(x_1943)) { + x_1946 = lean_alloc_ctor(1, 1, 0); +} else { + x_1946 = x_1943; +} +lean_ctor_set(x_1946, 0, x_1945); +if (lean_is_scalar(x_1941)) { + x_1947 = lean_alloc_ctor(0, 2, 0); +} else { + x_1947 = x_1941; +} +lean_ctor_set(x_1947, 0, x_1946); +lean_ctor_set(x_1947, 1, x_1940); +x_11 = x_1947; +goto block_29; +} +} +} +} +else +{ +lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; +x_1979 = lean_ctor_get(x_1038, 0); +lean_inc(x_1979); +if (lean_is_exclusive(x_1038)) { + lean_ctor_release(x_1038, 0); + x_1980 = x_1038; +} else { + lean_dec_ref(x_1038); + x_1980 = lean_box(0); +} +if (lean_is_scalar(x_1980)) { + x_1981 = lean_alloc_ctor(1, 1, 0); +} else { + x_1981 = x_1980; +} +lean_ctor_set(x_1981, 0, x_1979); +x_1982 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__3; +x_1983 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_1982, x_1039, x_4); +x_1984 = lean_ctor_get(x_1983, 0); +lean_inc(x_1984); +if (lean_obj_tag(x_1984) == 0) +{ +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_dec(x_1981); +lean_dec(x_1910); +lean_dec(x_30); +lean_dec(x_1041); +lean_dec(x_1040); +lean_dec(x_1036); +lean_dec(x_1035); +x_1985 = lean_ctor_get(x_1983, 1); +lean_inc(x_1985); +if (lean_is_exclusive(x_1983)) { + lean_ctor_release(x_1983, 0); + lean_ctor_release(x_1983, 1); + x_1986 = x_1983; +} else { + lean_dec_ref(x_1983); + x_1986 = lean_box(0); +} +x_1987 = lean_ctor_get(x_1984, 0); +lean_inc(x_1987); +if (lean_is_exclusive(x_1984)) { + lean_ctor_release(x_1984, 0); + x_1988 = x_1984; +} else { + lean_dec_ref(x_1984); + 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); +if (lean_is_scalar(x_1986)) { + x_1990 = lean_alloc_ctor(0, 2, 0); +} else { + x_1990 = x_1986; +} +lean_ctor_set(x_1990, 0, x_1989); +lean_ctor_set(x_1990, 1, x_1985); +x_11 = x_1990; +goto block_29; +} +else +{ +lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; +x_1991 = lean_ctor_get(x_1983, 1); +lean_inc(x_1991); +if (lean_is_exclusive(x_1983)) { + lean_ctor_release(x_1983, 0); + lean_ctor_release(x_1983, 1); + x_1992 = x_1983; +} else { + lean_dec_ref(x_1983); + x_1992 = lean_box(0); +} +x_1993 = lean_ctor_get(x_1984, 0); +lean_inc(x_1993); +if (lean_is_exclusive(x_1984)) { + lean_ctor_release(x_1984, 0); + x_1994 = x_1984; +} else { + lean_dec_ref(x_1984); + x_1994 = lean_box(0); +} +if (lean_obj_tag(x_1040) == 0) +{ +lean_object* x_2020; +lean_dec(x_1992); +x_2020 = lean_box(0); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; +x_2021 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2021, 0, x_1035); +lean_ctor_set(x_2021, 1, x_1036); +lean_ctor_set(x_2021, 2, x_30); +lean_ctor_set(x_2021, 3, x_1910); +lean_ctor_set(x_2021, 4, x_1981); +lean_ctor_set(x_2021, 5, x_1993); +lean_ctor_set(x_2021, 6, x_2020); +lean_ctor_set(x_2021, 7, x_2020); +if (lean_is_scalar(x_1994)) { + x_2022 = lean_alloc_ctor(1, 1, 0); +} else { + x_2022 = x_1994; +} +lean_ctor_set(x_2022, 0, x_2021); +x_2023 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2023, 0, x_2022); +lean_ctor_set(x_2023, 1, x_1991); +x_11 = x_2023; +goto block_29; +} +else +{ +lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; size_t x_2027; size_t 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_dec(x_1994); +x_2024 = lean_ctor_get(x_1041, 0); +lean_inc(x_2024); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_2025 = x_1041; +} else { + lean_dec_ref(x_1041); + x_2025 = lean_box(0); +} +x_2026 = lean_array_get_size(x_2024); +x_2027 = lean_usize_of_nat(x_2026); +lean_dec(x_2026); +x_2028 = 0; +x_2029 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_2027, x_2028, x_2024, x_1991); +x_2030 = lean_ctor_get(x_2029, 0); +lean_inc(x_2030); +x_2031 = lean_ctor_get(x_2029, 1); +lean_inc(x_2031); +if (lean_is_exclusive(x_2029)) { + lean_ctor_release(x_2029, 0); + lean_ctor_release(x_2029, 1); + x_2032 = x_2029; +} else { + lean_dec_ref(x_2029); + x_2032 = lean_box(0); +} +x_2033 = lean_ctor_get(x_2030, 0); +lean_inc(x_2033); +if (lean_is_exclusive(x_2030)) { + lean_ctor_release(x_2030, 0); + x_2034 = x_2030; +} else { + lean_dec_ref(x_2030); + x_2034 = lean_box(0); +} +if (lean_is_scalar(x_2025)) { + x_2035 = lean_alloc_ctor(1, 1, 0); +} else { + x_2035 = x_2025; +} +lean_ctor_set(x_2035, 0, x_2033); +x_2036 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2036, 0, x_1035); +lean_ctor_set(x_2036, 1, x_1036); +lean_ctor_set(x_2036, 2, x_30); +lean_ctor_set(x_2036, 3, x_1910); +lean_ctor_set(x_2036, 4, x_1981); +lean_ctor_set(x_2036, 5, x_1993); +lean_ctor_set(x_2036, 6, x_2020); +lean_ctor_set(x_2036, 7, x_2035); +if (lean_is_scalar(x_2034)) { + x_2037 = lean_alloc_ctor(1, 1, 0); +} else { + x_2037 = x_2034; +} +lean_ctor_set(x_2037, 0, x_2036); +if (lean_is_scalar(x_2032)) { + x_2038 = lean_alloc_ctor(0, 2, 0); +} else { + x_2038 = x_2032; +} +lean_ctor_set(x_2038, 0, x_2037); +lean_ctor_set(x_2038, 1, x_2031); +x_11 = x_2038; +goto block_29; +} +} +else +{ +lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; size_t x_2042; size_t 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_dec(x_1994); +x_2039 = lean_ctor_get(x_1040, 0); +lean_inc(x_2039); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + x_2040 = x_1040; +} else { + lean_dec_ref(x_1040); + x_2040 = lean_box(0); +} +x_2041 = lean_array_get_size(x_2039); +x_2042 = lean_usize_of_nat(x_2041); +lean_dec(x_2041); +x_2043 = 0; +x_2044 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_2042, x_2043, x_2039, x_1991); +x_2045 = lean_ctor_get(x_2044, 0); +lean_inc(x_2045); +x_2046 = lean_ctor_get(x_2044, 1); +lean_inc(x_2046); +lean_dec(x_2044); +x_2047 = lean_ctor_get(x_2045, 0); +lean_inc(x_2047); +if (lean_is_exclusive(x_2045)) { + lean_ctor_release(x_2045, 0); + x_2048 = x_2045; +} else { + lean_dec_ref(x_2045); + x_2048 = lean_box(0); +} +if (lean_is_scalar(x_2040)) { + x_2049 = lean_alloc_ctor(1, 1, 0); +} else { + x_2049 = x_2040; +} +lean_ctor_set(x_2049, 0, x_2047); +if (lean_is_scalar(x_2048)) { + x_2050 = lean_alloc_ctor(1, 1, 0); +} else { + x_2050 = x_2048; +} +lean_ctor_set(x_2050, 0, x_2049); +x_1995 = x_2050; +x_1996 = x_2046; +goto block_2019; +} +block_2019: +{ +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; +x_1997 = lean_ctor_get(x_1995, 0); +lean_inc(x_1997); +if (lean_is_exclusive(x_1995)) { + lean_ctor_release(x_1995, 0); + x_1998 = x_1995; +} else { + lean_dec_ref(x_1995); + x_1998 = lean_box(0); +} +x_1999 = lean_box(0); +x_2000 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2000, 0, x_1035); +lean_ctor_set(x_2000, 1, x_1036); +lean_ctor_set(x_2000, 2, x_30); +lean_ctor_set(x_2000, 3, x_1910); +lean_ctor_set(x_2000, 4, x_1981); +lean_ctor_set(x_2000, 5, x_1993); +lean_ctor_set(x_2000, 6, x_1997); +lean_ctor_set(x_2000, 7, x_1999); +if (lean_is_scalar(x_1998)) { + x_2001 = lean_alloc_ctor(1, 1, 0); +} else { + x_2001 = x_1998; +} +lean_ctor_set(x_2001, 0, x_2000); +if (lean_is_scalar(x_1992)) { + x_2002 = lean_alloc_ctor(0, 2, 0); +} else { + x_2002 = x_1992; +} +lean_ctor_set(x_2002, 0, x_2001); +lean_ctor_set(x_2002, 1, x_1996); +x_11 = x_2002; +goto block_29; +} +else +{ +lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; size_t x_2007; size_t 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_dec(x_1992); +x_2003 = lean_ctor_get(x_1995, 0); +lean_inc(x_2003); +lean_dec(x_1995); +x_2004 = lean_ctor_get(x_1041, 0); +lean_inc(x_2004); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_2005 = x_1041; +} else { + lean_dec_ref(x_1041); + x_2005 = lean_box(0); +} +x_2006 = lean_array_get_size(x_2004); +x_2007 = lean_usize_of_nat(x_2006); +lean_dec(x_2006); +x_2008 = 0; +x_2009 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_2007, x_2008, x_2004, x_1996); +x_2010 = lean_ctor_get(x_2009, 0); +lean_inc(x_2010); +x_2011 = lean_ctor_get(x_2009, 1); +lean_inc(x_2011); +if (lean_is_exclusive(x_2009)) { + lean_ctor_release(x_2009, 0); + lean_ctor_release(x_2009, 1); + x_2012 = x_2009; +} else { + lean_dec_ref(x_2009); + x_2012 = lean_box(0); +} +x_2013 = lean_ctor_get(x_2010, 0); +lean_inc(x_2013); +if (lean_is_exclusive(x_2010)) { + lean_ctor_release(x_2010, 0); + x_2014 = x_2010; +} else { + lean_dec_ref(x_2010); + x_2014 = lean_box(0); +} +if (lean_is_scalar(x_2005)) { + x_2015 = lean_alloc_ctor(1, 1, 0); +} else { + x_2015 = x_2005; +} +lean_ctor_set(x_2015, 0, x_2013); +x_2016 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2016, 0, x_1035); +lean_ctor_set(x_2016, 1, x_1036); +lean_ctor_set(x_2016, 2, x_30); +lean_ctor_set(x_2016, 3, x_1910); +lean_ctor_set(x_2016, 4, x_1981); +lean_ctor_set(x_2016, 5, x_1993); +lean_ctor_set(x_2016, 6, x_2003); +lean_ctor_set(x_2016, 7, x_2015); +if (lean_is_scalar(x_2014)) { + x_2017 = lean_alloc_ctor(1, 1, 0); +} else { + x_2017 = x_2014; +} +lean_ctor_set(x_2017, 0, x_2016); +if (lean_is_scalar(x_2012)) { + x_2018 = lean_alloc_ctor(0, 2, 0); +} else { + x_2018 = x_2012; +} +lean_ctor_set(x_2018, 0, x_2017); +lean_ctor_set(x_2018, 1, x_2011); +x_11 = x_2018; +goto block_29; +} +} +} +} +} +} +} +else +{ +lean_object* x_2051; lean_object* x_2052; +x_2051 = lean_ctor_get(x_30, 0); +lean_inc(x_2051); +lean_dec(x_30); +x_2052 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2052, 0, x_2051); +if (lean_obj_tag(x_1037) == 0) +{ +lean_object* x_2053; +x_2053 = lean_box(0); +if (lean_obj_tag(x_1038) == 0) +{ +lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; +x_2054 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_2054, 0, x_2053); +x_2055 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_2054, x_1039, x_4); +x_2056 = lean_ctor_get(x_2055, 0); +lean_inc(x_2056); +if (lean_obj_tag(x_2056) == 0) +{ +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_dec(x_2052); +lean_dec(x_1041); +lean_dec(x_1040); +lean_dec(x_1036); +lean_dec(x_1035); +x_2057 = lean_ctor_get(x_2055, 1); +lean_inc(x_2057); +if (lean_is_exclusive(x_2055)) { + lean_ctor_release(x_2055, 0); + lean_ctor_release(x_2055, 1); + x_2058 = x_2055; +} else { + lean_dec_ref(x_2055); + x_2058 = lean_box(0); +} +x_2059 = lean_ctor_get(x_2056, 0); +lean_inc(x_2059); +if (lean_is_exclusive(x_2056)) { + lean_ctor_release(x_2056, 0); + x_2060 = x_2056; +} else { + lean_dec_ref(x_2056); + x_2060 = lean_box(0); +} +if (lean_is_scalar(x_2060)) { + x_2061 = lean_alloc_ctor(0, 1, 0); +} else { + x_2061 = x_2060; +} +lean_ctor_set(x_2061, 0, x_2059); +if (lean_is_scalar(x_2058)) { + x_2062 = lean_alloc_ctor(0, 2, 0); +} else { + x_2062 = x_2058; +} +lean_ctor_set(x_2062, 0, x_2061); +lean_ctor_set(x_2062, 1, x_2057); +x_11 = x_2062; +goto block_29; +} +else +{ +lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; +x_2063 = lean_ctor_get(x_2055, 1); +lean_inc(x_2063); +if (lean_is_exclusive(x_2055)) { + lean_ctor_release(x_2055, 0); + lean_ctor_release(x_2055, 1); + x_2064 = x_2055; +} else { + lean_dec_ref(x_2055); + x_2064 = lean_box(0); +} +x_2065 = lean_ctor_get(x_2056, 0); +lean_inc(x_2065); +if (lean_is_exclusive(x_2056)) { + lean_ctor_release(x_2056, 0); + x_2066 = x_2056; +} else { + lean_dec_ref(x_2056); + x_2066 = lean_box(0); +} +if (lean_obj_tag(x_1040) == 0) +{ +lean_dec(x_2064); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; +x_2091 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2091, 0, x_1035); +lean_ctor_set(x_2091, 1, x_1036); +lean_ctor_set(x_2091, 2, x_2052); +lean_ctor_set(x_2091, 3, x_2053); +lean_ctor_set(x_2091, 4, x_2053); +lean_ctor_set(x_2091, 5, x_2065); +lean_ctor_set(x_2091, 6, x_2053); +lean_ctor_set(x_2091, 7, x_2053); +if (lean_is_scalar(x_2066)) { + x_2092 = lean_alloc_ctor(1, 1, 0); +} else { + x_2092 = x_2066; +} +lean_ctor_set(x_2092, 0, x_2091); +x_2093 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2093, 0, x_2092); +lean_ctor_set(x_2093, 1, x_2063); +x_11 = x_2093; +goto block_29; +} +else +{ +lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; size_t x_2097; size_t 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_dec(x_2066); +x_2094 = lean_ctor_get(x_1041, 0); +lean_inc(x_2094); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_2095 = x_1041; +} else { + lean_dec_ref(x_1041); + x_2095 = lean_box(0); +} +x_2096 = lean_array_get_size(x_2094); +x_2097 = lean_usize_of_nat(x_2096); +lean_dec(x_2096); +x_2098 = 0; +x_2099 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_2097, x_2098, x_2094, x_2063); +x_2100 = lean_ctor_get(x_2099, 0); +lean_inc(x_2100); +x_2101 = lean_ctor_get(x_2099, 1); +lean_inc(x_2101); +if (lean_is_exclusive(x_2099)) { + lean_ctor_release(x_2099, 0); + lean_ctor_release(x_2099, 1); + x_2102 = x_2099; +} else { + lean_dec_ref(x_2099); + x_2102 = lean_box(0); +} +x_2103 = lean_ctor_get(x_2100, 0); +lean_inc(x_2103); +if (lean_is_exclusive(x_2100)) { + lean_ctor_release(x_2100, 0); + x_2104 = x_2100; +} else { + lean_dec_ref(x_2100); + x_2104 = lean_box(0); +} +if (lean_is_scalar(x_2095)) { + x_2105 = lean_alloc_ctor(1, 1, 0); +} else { + x_2105 = x_2095; +} +lean_ctor_set(x_2105, 0, x_2103); +x_2106 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2106, 0, x_1035); +lean_ctor_set(x_2106, 1, x_1036); +lean_ctor_set(x_2106, 2, x_2052); +lean_ctor_set(x_2106, 3, x_2053); +lean_ctor_set(x_2106, 4, x_2053); +lean_ctor_set(x_2106, 5, x_2065); +lean_ctor_set(x_2106, 6, x_2053); +lean_ctor_set(x_2106, 7, x_2105); +if (lean_is_scalar(x_2104)) { + x_2107 = lean_alloc_ctor(1, 1, 0); +} else { + x_2107 = x_2104; +} +lean_ctor_set(x_2107, 0, x_2106); +if (lean_is_scalar(x_2102)) { + x_2108 = lean_alloc_ctor(0, 2, 0); +} else { + x_2108 = x_2102; +} +lean_ctor_set(x_2108, 0, x_2107); +lean_ctor_set(x_2108, 1, x_2101); +x_11 = x_2108; +goto block_29; +} +} +else +{ +lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; size_t x_2112; size_t 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_dec(x_2066); +x_2109 = lean_ctor_get(x_1040, 0); +lean_inc(x_2109); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + x_2110 = x_1040; +} else { + lean_dec_ref(x_1040); + x_2110 = lean_box(0); +} +x_2111 = lean_array_get_size(x_2109); +x_2112 = lean_usize_of_nat(x_2111); +lean_dec(x_2111); +x_2113 = 0; +x_2114 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_2112, x_2113, x_2109, x_2063); +x_2115 = lean_ctor_get(x_2114, 0); +lean_inc(x_2115); +x_2116 = lean_ctor_get(x_2114, 1); +lean_inc(x_2116); +lean_dec(x_2114); +x_2117 = lean_ctor_get(x_2115, 0); +lean_inc(x_2117); +if (lean_is_exclusive(x_2115)) { + lean_ctor_release(x_2115, 0); + x_2118 = x_2115; +} else { + lean_dec_ref(x_2115); + x_2118 = lean_box(0); +} +if (lean_is_scalar(x_2110)) { + x_2119 = lean_alloc_ctor(1, 1, 0); +} else { + x_2119 = x_2110; +} +lean_ctor_set(x_2119, 0, x_2117); +if (lean_is_scalar(x_2118)) { + x_2120 = lean_alloc_ctor(1, 1, 0); +} else { + x_2120 = x_2118; +} +lean_ctor_set(x_2120, 0, x_2119); +x_2067 = x_2120; +x_2068 = x_2116; +goto block_2090; +} +block_2090: +{ +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; +x_2069 = lean_ctor_get(x_2067, 0); +lean_inc(x_2069); +if (lean_is_exclusive(x_2067)) { + lean_ctor_release(x_2067, 0); + x_2070 = x_2067; +} else { + lean_dec_ref(x_2067); + x_2070 = lean_box(0); +} +x_2071 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2071, 0, x_1035); +lean_ctor_set(x_2071, 1, x_1036); +lean_ctor_set(x_2071, 2, x_2052); +lean_ctor_set(x_2071, 3, x_2053); +lean_ctor_set(x_2071, 4, x_2053); +lean_ctor_set(x_2071, 5, x_2065); +lean_ctor_set(x_2071, 6, x_2069); +lean_ctor_set(x_2071, 7, x_2053); +if (lean_is_scalar(x_2070)) { + x_2072 = lean_alloc_ctor(1, 1, 0); +} else { + x_2072 = x_2070; +} +lean_ctor_set(x_2072, 0, x_2071); +if (lean_is_scalar(x_2064)) { + x_2073 = lean_alloc_ctor(0, 2, 0); +} else { + x_2073 = x_2064; +} +lean_ctor_set(x_2073, 0, x_2072); +lean_ctor_set(x_2073, 1, x_2068); +x_11 = x_2073; +goto block_29; +} +else +{ +lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; size_t x_2078; size_t 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_dec(x_2064); +x_2074 = lean_ctor_get(x_2067, 0); +lean_inc(x_2074); +lean_dec(x_2067); +x_2075 = lean_ctor_get(x_1041, 0); +lean_inc(x_2075); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_2076 = x_1041; +} else { + lean_dec_ref(x_1041); + x_2076 = lean_box(0); +} +x_2077 = lean_array_get_size(x_2075); +x_2078 = lean_usize_of_nat(x_2077); +lean_dec(x_2077); +x_2079 = 0; +x_2080 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_2078, x_2079, x_2075, x_2068); +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 = lean_ctor_get(x_2081, 0); +lean_inc(x_2084); +if (lean_is_exclusive(x_2081)) { + lean_ctor_release(x_2081, 0); + x_2085 = x_2081; +} else { + lean_dec_ref(x_2081); + x_2085 = lean_box(0); +} +if (lean_is_scalar(x_2076)) { + x_2086 = lean_alloc_ctor(1, 1, 0); +} else { + x_2086 = x_2076; +} +lean_ctor_set(x_2086, 0, x_2084); +x_2087 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2087, 0, x_1035); +lean_ctor_set(x_2087, 1, x_1036); +lean_ctor_set(x_2087, 2, x_2052); +lean_ctor_set(x_2087, 3, x_2053); +lean_ctor_set(x_2087, 4, x_2053); +lean_ctor_set(x_2087, 5, x_2065); +lean_ctor_set(x_2087, 6, x_2074); +lean_ctor_set(x_2087, 7, x_2086); +if (lean_is_scalar(x_2085)) { + x_2088 = lean_alloc_ctor(1, 1, 0); +} else { + x_2088 = x_2085; +} +lean_ctor_set(x_2088, 0, x_2087); +if (lean_is_scalar(x_2083)) { + x_2089 = lean_alloc_ctor(0, 2, 0); +} else { + x_2089 = x_2083; +} +lean_ctor_set(x_2089, 0, x_2088); +lean_ctor_set(x_2089, 1, x_2082); +x_11 = x_2089; +goto block_29; +} +} +} +} +else +{ +lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; +x_2121 = lean_ctor_get(x_1038, 0); +lean_inc(x_2121); +if (lean_is_exclusive(x_1038)) { + lean_ctor_release(x_1038, 0); + x_2122 = x_1038; +} else { + lean_dec_ref(x_1038); + x_2122 = lean_box(0); +} +if (lean_is_scalar(x_2122)) { + x_2123 = lean_alloc_ctor(1, 1, 0); +} else { + x_2123 = x_2122; +} +lean_ctor_set(x_2123, 0, x_2121); +x_2124 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_2124, 0, x_2053); +x_2125 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_2124, x_1039, x_4); +x_2126 = lean_ctor_get(x_2125, 0); +lean_inc(x_2126); +if (lean_obj_tag(x_2126) == 0) +{ +lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; +lean_dec(x_2123); +lean_dec(x_2052); +lean_dec(x_1041); +lean_dec(x_1040); +lean_dec(x_1036); +lean_dec(x_1035); +x_2127 = lean_ctor_get(x_2125, 1); +lean_inc(x_2127); +if (lean_is_exclusive(x_2125)) { + lean_ctor_release(x_2125, 0); + lean_ctor_release(x_2125, 1); + x_2128 = x_2125; +} else { + lean_dec_ref(x_2125); + x_2128 = lean_box(0); +} +x_2129 = lean_ctor_get(x_2126, 0); +lean_inc(x_2129); +if (lean_is_exclusive(x_2126)) { + lean_ctor_release(x_2126, 0); + x_2130 = x_2126; +} else { + lean_dec_ref(x_2126); + x_2130 = lean_box(0); +} +if (lean_is_scalar(x_2130)) { + x_2131 = lean_alloc_ctor(0, 1, 0); +} else { + x_2131 = x_2130; +} +lean_ctor_set(x_2131, 0, x_2129); +if (lean_is_scalar(x_2128)) { + x_2132 = lean_alloc_ctor(0, 2, 0); +} else { + x_2132 = x_2128; +} +lean_ctor_set(x_2132, 0, x_2131); +lean_ctor_set(x_2132, 1, x_2127); +x_11 = x_2132; +goto block_29; +} +else +{ +lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; +x_2133 = lean_ctor_get(x_2125, 1); +lean_inc(x_2133); +if (lean_is_exclusive(x_2125)) { + lean_ctor_release(x_2125, 0); + lean_ctor_release(x_2125, 1); + x_2134 = x_2125; +} else { + lean_dec_ref(x_2125); + x_2134 = lean_box(0); +} +x_2135 = lean_ctor_get(x_2126, 0); +lean_inc(x_2135); +if (lean_is_exclusive(x_2126)) { + lean_ctor_release(x_2126, 0); + x_2136 = x_2126; +} else { + lean_dec_ref(x_2126); + x_2136 = lean_box(0); +} +if (lean_obj_tag(x_1040) == 0) +{ +lean_dec(x_2134); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; +x_2161 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2161, 0, x_1035); +lean_ctor_set(x_2161, 1, x_1036); +lean_ctor_set(x_2161, 2, x_2052); +lean_ctor_set(x_2161, 3, x_2053); +lean_ctor_set(x_2161, 4, x_2123); +lean_ctor_set(x_2161, 5, x_2135); +lean_ctor_set(x_2161, 6, x_2053); +lean_ctor_set(x_2161, 7, x_2053); +if (lean_is_scalar(x_2136)) { + x_2162 = lean_alloc_ctor(1, 1, 0); +} else { + x_2162 = x_2136; +} +lean_ctor_set(x_2162, 0, x_2161); +x_2163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2163, 0, x_2162); +lean_ctor_set(x_2163, 1, x_2133); +x_11 = x_2163; +goto block_29; +} +else +{ +lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; size_t x_2167; size_t x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; +lean_dec(x_2136); +x_2164 = lean_ctor_get(x_1041, 0); +lean_inc(x_2164); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_2165 = x_1041; +} else { + lean_dec_ref(x_1041); + x_2165 = lean_box(0); +} +x_2166 = lean_array_get_size(x_2164); +x_2167 = lean_usize_of_nat(x_2166); +lean_dec(x_2166); +x_2168 = 0; +x_2169 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_2167, x_2168, x_2164, x_2133); +x_2170 = lean_ctor_get(x_2169, 0); +lean_inc(x_2170); +x_2171 = lean_ctor_get(x_2169, 1); +lean_inc(x_2171); +if (lean_is_exclusive(x_2169)) { + lean_ctor_release(x_2169, 0); + lean_ctor_release(x_2169, 1); + x_2172 = x_2169; +} else { + lean_dec_ref(x_2169); + x_2172 = lean_box(0); +} +x_2173 = lean_ctor_get(x_2170, 0); +lean_inc(x_2173); +if (lean_is_exclusive(x_2170)) { + lean_ctor_release(x_2170, 0); + x_2174 = x_2170; +} else { + lean_dec_ref(x_2170); + x_2174 = lean_box(0); +} +if (lean_is_scalar(x_2165)) { + x_2175 = lean_alloc_ctor(1, 1, 0); +} else { + x_2175 = x_2165; +} +lean_ctor_set(x_2175, 0, x_2173); +x_2176 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2176, 0, x_1035); +lean_ctor_set(x_2176, 1, x_1036); +lean_ctor_set(x_2176, 2, x_2052); +lean_ctor_set(x_2176, 3, x_2053); +lean_ctor_set(x_2176, 4, x_2123); +lean_ctor_set(x_2176, 5, x_2135); +lean_ctor_set(x_2176, 6, x_2053); +lean_ctor_set(x_2176, 7, x_2175); +if (lean_is_scalar(x_2174)) { + x_2177 = lean_alloc_ctor(1, 1, 0); +} else { + x_2177 = x_2174; +} +lean_ctor_set(x_2177, 0, x_2176); +if (lean_is_scalar(x_2172)) { + x_2178 = lean_alloc_ctor(0, 2, 0); +} else { + x_2178 = x_2172; +} +lean_ctor_set(x_2178, 0, x_2177); +lean_ctor_set(x_2178, 1, x_2171); +x_11 = x_2178; +goto block_29; +} +} +else +{ +lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; size_t x_2182; size_t 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_dec(x_2136); +x_2179 = lean_ctor_get(x_1040, 0); +lean_inc(x_2179); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + x_2180 = x_1040; +} else { + lean_dec_ref(x_1040); + x_2180 = lean_box(0); +} +x_2181 = lean_array_get_size(x_2179); +x_2182 = lean_usize_of_nat(x_2181); +lean_dec(x_2181); +x_2183 = 0; +x_2184 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_2182, x_2183, x_2179, x_2133); +x_2185 = lean_ctor_get(x_2184, 0); +lean_inc(x_2185); +x_2186 = lean_ctor_get(x_2184, 1); +lean_inc(x_2186); +lean_dec(x_2184); +x_2187 = lean_ctor_get(x_2185, 0); +lean_inc(x_2187); +if (lean_is_exclusive(x_2185)) { + lean_ctor_release(x_2185, 0); + x_2188 = x_2185; +} else { + lean_dec_ref(x_2185); + x_2188 = lean_box(0); +} +if (lean_is_scalar(x_2180)) { + x_2189 = lean_alloc_ctor(1, 1, 0); +} else { + x_2189 = x_2180; +} +lean_ctor_set(x_2189, 0, x_2187); +if (lean_is_scalar(x_2188)) { + x_2190 = lean_alloc_ctor(1, 1, 0); +} else { + x_2190 = x_2188; +} +lean_ctor_set(x_2190, 0, x_2189); +x_2137 = x_2190; +x_2138 = x_2186; +goto block_2160; +} +block_2160: +{ +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; +x_2139 = lean_ctor_get(x_2137, 0); +lean_inc(x_2139); +if (lean_is_exclusive(x_2137)) { + lean_ctor_release(x_2137, 0); + x_2140 = x_2137; +} else { + lean_dec_ref(x_2137); + x_2140 = lean_box(0); +} +x_2141 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2141, 0, x_1035); +lean_ctor_set(x_2141, 1, x_1036); +lean_ctor_set(x_2141, 2, x_2052); +lean_ctor_set(x_2141, 3, x_2053); +lean_ctor_set(x_2141, 4, x_2123); +lean_ctor_set(x_2141, 5, x_2135); +lean_ctor_set(x_2141, 6, x_2139); +lean_ctor_set(x_2141, 7, x_2053); +if (lean_is_scalar(x_2140)) { + x_2142 = lean_alloc_ctor(1, 1, 0); +} else { + x_2142 = x_2140; +} +lean_ctor_set(x_2142, 0, x_2141); +if (lean_is_scalar(x_2134)) { + x_2143 = lean_alloc_ctor(0, 2, 0); +} else { + x_2143 = x_2134; +} +lean_ctor_set(x_2143, 0, x_2142); +lean_ctor_set(x_2143, 1, x_2138); +x_11 = x_2143; +goto block_29; +} +else +{ +lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; size_t x_2148; size_t x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; +lean_dec(x_2134); +x_2144 = lean_ctor_get(x_2137, 0); +lean_inc(x_2144); +lean_dec(x_2137); +x_2145 = lean_ctor_get(x_1041, 0); +lean_inc(x_2145); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_2146 = x_1041; +} else { + lean_dec_ref(x_1041); + x_2146 = lean_box(0); +} +x_2147 = lean_array_get_size(x_2145); +x_2148 = lean_usize_of_nat(x_2147); +lean_dec(x_2147); +x_2149 = 0; +x_2150 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_2148, x_2149, x_2145, x_2138); +x_2151 = lean_ctor_get(x_2150, 0); +lean_inc(x_2151); +x_2152 = lean_ctor_get(x_2150, 1); +lean_inc(x_2152); +if (lean_is_exclusive(x_2150)) { + lean_ctor_release(x_2150, 0); + lean_ctor_release(x_2150, 1); + x_2153 = x_2150; +} else { + lean_dec_ref(x_2150); + x_2153 = lean_box(0); +} +x_2154 = lean_ctor_get(x_2151, 0); +lean_inc(x_2154); +if (lean_is_exclusive(x_2151)) { + lean_ctor_release(x_2151, 0); + x_2155 = x_2151; +} else { + lean_dec_ref(x_2151); + x_2155 = lean_box(0); +} +if (lean_is_scalar(x_2146)) { + x_2156 = lean_alloc_ctor(1, 1, 0); +} else { + x_2156 = x_2146; +} +lean_ctor_set(x_2156, 0, x_2154); +x_2157 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2157, 0, x_1035); +lean_ctor_set(x_2157, 1, x_1036); +lean_ctor_set(x_2157, 2, x_2052); +lean_ctor_set(x_2157, 3, x_2053); +lean_ctor_set(x_2157, 4, x_2123); +lean_ctor_set(x_2157, 5, x_2135); +lean_ctor_set(x_2157, 6, x_2144); +lean_ctor_set(x_2157, 7, x_2156); +if (lean_is_scalar(x_2155)) { + x_2158 = lean_alloc_ctor(1, 1, 0); +} else { + x_2158 = x_2155; +} +lean_ctor_set(x_2158, 0, x_2157); +if (lean_is_scalar(x_2153)) { + x_2159 = lean_alloc_ctor(0, 2, 0); +} else { + x_2159 = x_2153; +} +lean_ctor_set(x_2159, 0, x_2158); +lean_ctor_set(x_2159, 1, x_2152); +x_11 = x_2159; +goto block_29; +} +} +} +} +} +else +{ +lean_object* x_2191; lean_object* x_2192; lean_object* x_2193; +x_2191 = lean_ctor_get(x_1037, 0); +lean_inc(x_2191); +if (lean_is_exclusive(x_1037)) { + lean_ctor_release(x_1037, 0); + x_2192 = x_1037; +} else { + lean_dec_ref(x_1037); + x_2192 = lean_box(0); +} +if (lean_is_scalar(x_2192)) { + x_2193 = lean_alloc_ctor(1, 1, 0); +} else { + x_2193 = x_2192; +} +lean_ctor_set(x_2193, 0, x_2191); +if (lean_obj_tag(x_1038) == 0) +{ +lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; +x_2194 = lean_box(0); +x_2195 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___lambda__1), 3, 1); +lean_closure_set(x_2195, 0, x_2194); +x_2196 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_2195, x_1039, x_4); +x_2197 = lean_ctor_get(x_2196, 0); +lean_inc(x_2197); +if (lean_obj_tag(x_2197) == 0) +{ +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_dec(x_2193); +lean_dec(x_2052); +lean_dec(x_1041); +lean_dec(x_1040); +lean_dec(x_1036); +lean_dec(x_1035); +x_2198 = lean_ctor_get(x_2196, 1); +lean_inc(x_2198); +if (lean_is_exclusive(x_2196)) { + lean_ctor_release(x_2196, 0); + lean_ctor_release(x_2196, 1); + x_2199 = x_2196; +} else { + lean_dec_ref(x_2196); + x_2199 = lean_box(0); +} +x_2200 = lean_ctor_get(x_2197, 0); +lean_inc(x_2200); +if (lean_is_exclusive(x_2197)) { + lean_ctor_release(x_2197, 0); + x_2201 = x_2197; +} else { + lean_dec_ref(x_2197); + x_2201 = lean_box(0); +} +if (lean_is_scalar(x_2201)) { + x_2202 = lean_alloc_ctor(0, 1, 0); +} else { + x_2202 = x_2201; +} +lean_ctor_set(x_2202, 0, x_2200); +if (lean_is_scalar(x_2199)) { + x_2203 = lean_alloc_ctor(0, 2, 0); +} else { + x_2203 = x_2199; +} +lean_ctor_set(x_2203, 0, x_2202); +lean_ctor_set(x_2203, 1, x_2198); +x_11 = x_2203; +goto block_29; +} +else +{ +lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; +x_2204 = lean_ctor_get(x_2196, 1); +lean_inc(x_2204); +if (lean_is_exclusive(x_2196)) { + lean_ctor_release(x_2196, 0); + lean_ctor_release(x_2196, 1); + x_2205 = x_2196; +} else { + lean_dec_ref(x_2196); + x_2205 = lean_box(0); +} +x_2206 = lean_ctor_get(x_2197, 0); +lean_inc(x_2206); +if (lean_is_exclusive(x_2197)) { + lean_ctor_release(x_2197, 0); + x_2207 = x_2197; +} else { + lean_dec_ref(x_2197); + x_2207 = lean_box(0); +} +if (lean_obj_tag(x_1040) == 0) +{ +lean_dec(x_2205); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; +x_2232 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2232, 0, x_1035); +lean_ctor_set(x_2232, 1, x_1036); +lean_ctor_set(x_2232, 2, x_2052); +lean_ctor_set(x_2232, 3, x_2193); +lean_ctor_set(x_2232, 4, x_2194); +lean_ctor_set(x_2232, 5, x_2206); +lean_ctor_set(x_2232, 6, x_2194); +lean_ctor_set(x_2232, 7, x_2194); +if (lean_is_scalar(x_2207)) { + x_2233 = lean_alloc_ctor(1, 1, 0); +} else { + x_2233 = x_2207; +} +lean_ctor_set(x_2233, 0, x_2232); +x_2234 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2234, 0, x_2233); +lean_ctor_set(x_2234, 1, x_2204); +x_11 = x_2234; +goto block_29; +} +else +{ +lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; size_t x_2238; size_t 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_dec(x_2207); +x_2235 = lean_ctor_get(x_1041, 0); +lean_inc(x_2235); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_2236 = x_1041; +} else { + lean_dec_ref(x_1041); + x_2236 = lean_box(0); +} +x_2237 = lean_array_get_size(x_2235); +x_2238 = lean_usize_of_nat(x_2237); +lean_dec(x_2237); +x_2239 = 0; +x_2240 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_2238, x_2239, x_2235, x_2204); +x_2241 = lean_ctor_get(x_2240, 0); +lean_inc(x_2241); +x_2242 = lean_ctor_get(x_2240, 1); +lean_inc(x_2242); +if (lean_is_exclusive(x_2240)) { + lean_ctor_release(x_2240, 0); + lean_ctor_release(x_2240, 1); + x_2243 = x_2240; +} else { + lean_dec_ref(x_2240); + x_2243 = lean_box(0); +} +x_2244 = lean_ctor_get(x_2241, 0); +lean_inc(x_2244); +if (lean_is_exclusive(x_2241)) { + lean_ctor_release(x_2241, 0); + x_2245 = x_2241; +} else { + lean_dec_ref(x_2241); + x_2245 = lean_box(0); +} +if (lean_is_scalar(x_2236)) { + x_2246 = lean_alloc_ctor(1, 1, 0); +} else { + x_2246 = x_2236; +} +lean_ctor_set(x_2246, 0, x_2244); +x_2247 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2247, 0, x_1035); +lean_ctor_set(x_2247, 1, x_1036); +lean_ctor_set(x_2247, 2, x_2052); +lean_ctor_set(x_2247, 3, x_2193); +lean_ctor_set(x_2247, 4, x_2194); +lean_ctor_set(x_2247, 5, x_2206); +lean_ctor_set(x_2247, 6, x_2194); +lean_ctor_set(x_2247, 7, x_2246); +if (lean_is_scalar(x_2245)) { + x_2248 = lean_alloc_ctor(1, 1, 0); +} else { + x_2248 = x_2245; +} +lean_ctor_set(x_2248, 0, x_2247); +if (lean_is_scalar(x_2243)) { + x_2249 = lean_alloc_ctor(0, 2, 0); +} else { + x_2249 = x_2243; +} +lean_ctor_set(x_2249, 0, x_2248); +lean_ctor_set(x_2249, 1, x_2242); +x_11 = x_2249; +goto block_29; +} +} +else +{ +lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; size_t x_2253; size_t 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_dec(x_2207); +x_2250 = lean_ctor_get(x_1040, 0); +lean_inc(x_2250); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + x_2251 = x_1040; +} else { + lean_dec_ref(x_1040); + x_2251 = lean_box(0); +} +x_2252 = lean_array_get_size(x_2250); +x_2253 = lean_usize_of_nat(x_2252); +lean_dec(x_2252); +x_2254 = 0; +x_2255 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_2253, x_2254, x_2250, x_2204); +x_2256 = lean_ctor_get(x_2255, 0); +lean_inc(x_2256); +x_2257 = lean_ctor_get(x_2255, 1); +lean_inc(x_2257); +lean_dec(x_2255); +x_2258 = lean_ctor_get(x_2256, 0); +lean_inc(x_2258); +if (lean_is_exclusive(x_2256)) { + lean_ctor_release(x_2256, 0); + x_2259 = x_2256; +} else { + lean_dec_ref(x_2256); + x_2259 = lean_box(0); +} +if (lean_is_scalar(x_2251)) { + x_2260 = lean_alloc_ctor(1, 1, 0); +} else { + x_2260 = x_2251; +} +lean_ctor_set(x_2260, 0, x_2258); +if (lean_is_scalar(x_2259)) { + x_2261 = lean_alloc_ctor(1, 1, 0); +} else { + x_2261 = x_2259; +} +lean_ctor_set(x_2261, 0, x_2260); +x_2208 = x_2261; +x_2209 = x_2257; +goto block_2231; +} +block_2231: +{ +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; +x_2210 = lean_ctor_get(x_2208, 0); +lean_inc(x_2210); +if (lean_is_exclusive(x_2208)) { + lean_ctor_release(x_2208, 0); + x_2211 = x_2208; +} else { + lean_dec_ref(x_2208); + x_2211 = lean_box(0); +} +x_2212 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2212, 0, x_1035); +lean_ctor_set(x_2212, 1, x_1036); +lean_ctor_set(x_2212, 2, x_2052); +lean_ctor_set(x_2212, 3, x_2193); +lean_ctor_set(x_2212, 4, x_2194); +lean_ctor_set(x_2212, 5, x_2206); +lean_ctor_set(x_2212, 6, x_2210); +lean_ctor_set(x_2212, 7, x_2194); +if (lean_is_scalar(x_2211)) { + x_2213 = lean_alloc_ctor(1, 1, 0); +} else { + x_2213 = x_2211; +} +lean_ctor_set(x_2213, 0, x_2212); +if (lean_is_scalar(x_2205)) { + x_2214 = lean_alloc_ctor(0, 2, 0); +} else { + x_2214 = x_2205; +} +lean_ctor_set(x_2214, 0, x_2213); +lean_ctor_set(x_2214, 1, x_2209); +x_11 = x_2214; +goto block_29; +} +else +{ +lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; size_t x_2219; size_t 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_dec(x_2205); +x_2215 = lean_ctor_get(x_2208, 0); +lean_inc(x_2215); +lean_dec(x_2208); +x_2216 = lean_ctor_get(x_1041, 0); +lean_inc(x_2216); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_2217 = x_1041; +} else { + lean_dec_ref(x_1041); + x_2217 = lean_box(0); +} +x_2218 = lean_array_get_size(x_2216); +x_2219 = lean_usize_of_nat(x_2218); +lean_dec(x_2218); +x_2220 = 0; +x_2221 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_2219, x_2220, x_2216, x_2209); +x_2222 = lean_ctor_get(x_2221, 0); +lean_inc(x_2222); +x_2223 = lean_ctor_get(x_2221, 1); +lean_inc(x_2223); +if (lean_is_exclusive(x_2221)) { + lean_ctor_release(x_2221, 0); + lean_ctor_release(x_2221, 1); + x_2224 = x_2221; +} else { + lean_dec_ref(x_2221); + x_2224 = lean_box(0); +} +x_2225 = lean_ctor_get(x_2222, 0); +lean_inc(x_2225); +if (lean_is_exclusive(x_2222)) { + lean_ctor_release(x_2222, 0); + x_2226 = x_2222; +} else { + lean_dec_ref(x_2222); + x_2226 = lean_box(0); +} +if (lean_is_scalar(x_2217)) { + x_2227 = lean_alloc_ctor(1, 1, 0); +} else { + x_2227 = x_2217; +} +lean_ctor_set(x_2227, 0, x_2225); +x_2228 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2228, 0, x_1035); +lean_ctor_set(x_2228, 1, x_1036); +lean_ctor_set(x_2228, 2, x_2052); +lean_ctor_set(x_2228, 3, x_2193); +lean_ctor_set(x_2228, 4, x_2194); +lean_ctor_set(x_2228, 5, x_2206); +lean_ctor_set(x_2228, 6, x_2215); +lean_ctor_set(x_2228, 7, x_2227); +if (lean_is_scalar(x_2226)) { + x_2229 = lean_alloc_ctor(1, 1, 0); +} else { + x_2229 = x_2226; +} +lean_ctor_set(x_2229, 0, x_2228); +if (lean_is_scalar(x_2224)) { + x_2230 = lean_alloc_ctor(0, 2, 0); +} else { + x_2230 = x_2224; +} +lean_ctor_set(x_2230, 0, x_2229); +lean_ctor_set(x_2230, 1, x_2223); +x_11 = x_2230; +goto block_29; +} +} +} +} +else +{ +lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; +x_2262 = lean_ctor_get(x_1038, 0); +lean_inc(x_2262); +if (lean_is_exclusive(x_1038)) { + lean_ctor_release(x_1038, 0); + x_2263 = x_1038; +} else { + lean_dec_ref(x_1038); + x_2263 = lean_box(0); +} +if (lean_is_scalar(x_2263)) { + x_2264 = lean_alloc_ctor(1, 1, 0); +} else { + x_2264 = x_2263; +} +lean_ctor_set(x_2264, 0, x_2262); +x_2265 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__3; +x_2266 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__31(x_2265, x_1039, x_4); +x_2267 = lean_ctor_get(x_2266, 0); +lean_inc(x_2267); +if (lean_obj_tag(x_2267) == 0) +{ +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_dec(x_2264); +lean_dec(x_2193); +lean_dec(x_2052); +lean_dec(x_1041); +lean_dec(x_1040); +lean_dec(x_1036); +lean_dec(x_1035); +x_2268 = lean_ctor_get(x_2266, 1); +lean_inc(x_2268); +if (lean_is_exclusive(x_2266)) { + lean_ctor_release(x_2266, 0); + lean_ctor_release(x_2266, 1); + x_2269 = x_2266; +} else { + lean_dec_ref(x_2266); + x_2269 = lean_box(0); +} +x_2270 = lean_ctor_get(x_2267, 0); +lean_inc(x_2270); +if (lean_is_exclusive(x_2267)) { + lean_ctor_release(x_2267, 0); + x_2271 = x_2267; +} else { + lean_dec_ref(x_2267); + x_2271 = lean_box(0); +} +if (lean_is_scalar(x_2271)) { + x_2272 = lean_alloc_ctor(0, 1, 0); +} else { + x_2272 = x_2271; +} +lean_ctor_set(x_2272, 0, x_2270); +if (lean_is_scalar(x_2269)) { + x_2273 = lean_alloc_ctor(0, 2, 0); +} else { + x_2273 = x_2269; +} +lean_ctor_set(x_2273, 0, x_2272); +lean_ctor_set(x_2273, 1, x_2268); +x_11 = x_2273; +goto block_29; +} +else +{ +lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; +x_2274 = lean_ctor_get(x_2266, 1); +lean_inc(x_2274); +if (lean_is_exclusive(x_2266)) { + lean_ctor_release(x_2266, 0); + lean_ctor_release(x_2266, 1); + x_2275 = x_2266; +} else { + lean_dec_ref(x_2266); + x_2275 = lean_box(0); +} +x_2276 = lean_ctor_get(x_2267, 0); +lean_inc(x_2276); +if (lean_is_exclusive(x_2267)) { + lean_ctor_release(x_2267, 0); + x_2277 = x_2267; +} else { + lean_dec_ref(x_2267); + x_2277 = lean_box(0); +} +if (lean_obj_tag(x_1040) == 0) +{ +lean_object* x_2303; +lean_dec(x_2275); +x_2303 = lean_box(0); +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; +x_2304 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2304, 0, x_1035); +lean_ctor_set(x_2304, 1, x_1036); +lean_ctor_set(x_2304, 2, x_2052); +lean_ctor_set(x_2304, 3, x_2193); +lean_ctor_set(x_2304, 4, x_2264); +lean_ctor_set(x_2304, 5, x_2276); +lean_ctor_set(x_2304, 6, x_2303); +lean_ctor_set(x_2304, 7, x_2303); +if (lean_is_scalar(x_2277)) { + x_2305 = lean_alloc_ctor(1, 1, 0); +} else { + x_2305 = x_2277; +} +lean_ctor_set(x_2305, 0, x_2304); +x_2306 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2306, 0, x_2305); +lean_ctor_set(x_2306, 1, x_2274); +x_11 = x_2306; +goto block_29; +} +else +{ +lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; size_t x_2310; size_t 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_dec(x_2277); +x_2307 = lean_ctor_get(x_1041, 0); +lean_inc(x_2307); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_2308 = x_1041; +} else { + lean_dec_ref(x_1041); + x_2308 = lean_box(0); +} +x_2309 = lean_array_get_size(x_2307); +x_2310 = lean_usize_of_nat(x_2309); +lean_dec(x_2309); +x_2311 = 0; +x_2312 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_2310, x_2311, x_2307, x_2274); +x_2313 = lean_ctor_get(x_2312, 0); +lean_inc(x_2313); +x_2314 = lean_ctor_get(x_2312, 1); +lean_inc(x_2314); +if (lean_is_exclusive(x_2312)) { + lean_ctor_release(x_2312, 0); + lean_ctor_release(x_2312, 1); + x_2315 = x_2312; +} else { + lean_dec_ref(x_2312); + x_2315 = lean_box(0); +} +x_2316 = lean_ctor_get(x_2313, 0); +lean_inc(x_2316); +if (lean_is_exclusive(x_2313)) { + lean_ctor_release(x_2313, 0); + x_2317 = x_2313; +} else { + lean_dec_ref(x_2313); + x_2317 = lean_box(0); +} +if (lean_is_scalar(x_2308)) { + x_2318 = lean_alloc_ctor(1, 1, 0); +} else { + x_2318 = x_2308; +} +lean_ctor_set(x_2318, 0, x_2316); +x_2319 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2319, 0, x_1035); +lean_ctor_set(x_2319, 1, x_1036); +lean_ctor_set(x_2319, 2, x_2052); +lean_ctor_set(x_2319, 3, x_2193); +lean_ctor_set(x_2319, 4, x_2264); +lean_ctor_set(x_2319, 5, x_2276); +lean_ctor_set(x_2319, 6, x_2303); +lean_ctor_set(x_2319, 7, x_2318); +if (lean_is_scalar(x_2317)) { + x_2320 = lean_alloc_ctor(1, 1, 0); +} else { + x_2320 = x_2317; +} +lean_ctor_set(x_2320, 0, x_2319); +if (lean_is_scalar(x_2315)) { + x_2321 = lean_alloc_ctor(0, 2, 0); +} else { + x_2321 = x_2315; +} +lean_ctor_set(x_2321, 0, x_2320); +lean_ctor_set(x_2321, 1, x_2314); +x_11 = x_2321; +goto block_29; +} +} +else +{ +lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; size_t x_2325; size_t 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_dec(x_2277); +x_2322 = lean_ctor_get(x_1040, 0); +lean_inc(x_2322); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + x_2323 = x_1040; +} else { + lean_dec_ref(x_1040); + x_2323 = lean_box(0); +} +x_2324 = lean_array_get_size(x_2322); +x_2325 = lean_usize_of_nat(x_2324); +lean_dec(x_2324); +x_2326 = 0; +x_2327 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_2325, x_2326, x_2322, x_2274); +x_2328 = lean_ctor_get(x_2327, 0); +lean_inc(x_2328); +x_2329 = lean_ctor_get(x_2327, 1); +lean_inc(x_2329); +lean_dec(x_2327); +x_2330 = lean_ctor_get(x_2328, 0); +lean_inc(x_2330); +if (lean_is_exclusive(x_2328)) { + lean_ctor_release(x_2328, 0); + x_2331 = x_2328; +} else { + lean_dec_ref(x_2328); + x_2331 = lean_box(0); +} +if (lean_is_scalar(x_2323)) { + x_2332 = lean_alloc_ctor(1, 1, 0); +} else { + x_2332 = x_2323; +} +lean_ctor_set(x_2332, 0, x_2330); +if (lean_is_scalar(x_2331)) { + x_2333 = lean_alloc_ctor(1, 1, 0); +} else { + x_2333 = x_2331; +} +lean_ctor_set(x_2333, 0, x_2332); +x_2278 = x_2333; +x_2279 = x_2329; +goto block_2302; +} +block_2302: +{ +if (lean_obj_tag(x_1041) == 0) +{ +lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; +x_2280 = lean_ctor_get(x_2278, 0); +lean_inc(x_2280); +if (lean_is_exclusive(x_2278)) { + lean_ctor_release(x_2278, 0); + x_2281 = x_2278; +} else { + lean_dec_ref(x_2278); + x_2281 = lean_box(0); +} +x_2282 = lean_box(0); +x_2283 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2283, 0, x_1035); +lean_ctor_set(x_2283, 1, x_1036); +lean_ctor_set(x_2283, 2, x_2052); +lean_ctor_set(x_2283, 3, x_2193); +lean_ctor_set(x_2283, 4, x_2264); +lean_ctor_set(x_2283, 5, x_2276); +lean_ctor_set(x_2283, 6, x_2280); +lean_ctor_set(x_2283, 7, x_2282); +if (lean_is_scalar(x_2281)) { + x_2284 = lean_alloc_ctor(1, 1, 0); +} else { + x_2284 = x_2281; +} +lean_ctor_set(x_2284, 0, x_2283); +if (lean_is_scalar(x_2275)) { + x_2285 = lean_alloc_ctor(0, 2, 0); +} else { + x_2285 = x_2275; +} +lean_ctor_set(x_2285, 0, x_2284); +lean_ctor_set(x_2285, 1, x_2279); +x_11 = x_2285; +goto block_29; +} +else +{ +lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; lean_object* x_2289; size_t x_2290; size_t 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_dec(x_2275); +x_2286 = lean_ctor_get(x_2278, 0); +lean_inc(x_2286); +lean_dec(x_2278); +x_2287 = lean_ctor_get(x_1041, 0); +lean_inc(x_2287); +if (lean_is_exclusive(x_1041)) { + lean_ctor_release(x_1041, 0); + x_2288 = x_1041; +} else { + lean_dec_ref(x_1041); + x_2288 = lean_box(0); +} +x_2289 = lean_array_get_size(x_2287); +x_2290 = lean_usize_of_nat(x_2289); +lean_dec(x_2289); +x_2291 = 0; +x_2292 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_2290, x_2291, x_2287, x_2279); +x_2293 = lean_ctor_get(x_2292, 0); +lean_inc(x_2293); +x_2294 = lean_ctor_get(x_2292, 1); +lean_inc(x_2294); +if (lean_is_exclusive(x_2292)) { + lean_ctor_release(x_2292, 0); + lean_ctor_release(x_2292, 1); + x_2295 = x_2292; +} else { + lean_dec_ref(x_2292); + x_2295 = lean_box(0); +} +x_2296 = lean_ctor_get(x_2293, 0); +lean_inc(x_2296); +if (lean_is_exclusive(x_2293)) { + lean_ctor_release(x_2293, 0); + x_2297 = x_2293; +} else { + lean_dec_ref(x_2293); + x_2297 = lean_box(0); +} +if (lean_is_scalar(x_2288)) { + x_2298 = lean_alloc_ctor(1, 1, 0); +} else { + x_2298 = x_2288; +} +lean_ctor_set(x_2298, 0, x_2296); +x_2299 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2299, 0, x_1035); +lean_ctor_set(x_2299, 1, x_1036); +lean_ctor_set(x_2299, 2, x_2052); +lean_ctor_set(x_2299, 3, x_2193); +lean_ctor_set(x_2299, 4, x_2264); +lean_ctor_set(x_2299, 5, x_2276); +lean_ctor_set(x_2299, 6, x_2286); +lean_ctor_set(x_2299, 7, x_2298); +if (lean_is_scalar(x_2297)) { + x_2300 = lean_alloc_ctor(1, 1, 0); +} else { + x_2300 = x_2297; +} +lean_ctor_set(x_2300, 0, x_2299); +if (lean_is_scalar(x_2295)) { + x_2301 = lean_alloc_ctor(0, 2, 0); +} else { + x_2301 = x_2295; +} +lean_ctor_set(x_2301, 0, x_2300); +lean_ctor_set(x_2301, 1, x_2294); +x_11 = x_2301; +goto block_29; +} +} +} +} +} +} +} +block_29: +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +lean_dec(x_10); +x_13 = !lean_is_exclusive(x_11); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_11, 0); +lean_dec(x_14); +x_15 = !lean_is_exclusive(x_12); +if (x_15 == 0) +{ +return x_11; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +lean_dec(x_12); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_11, 0, x_17); +return x_11; +} +} +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_11, 1); +lean_inc(x_18); +lean_dec(x_11); +x_19 = lean_ctor_get(x_12, 0); +lean_inc(x_19); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + x_20 = x_12; +} else { + lean_dec_ref(x_12); + x_20 = lean_box(0); +} +if (lean_is_scalar(x_20)) { + x_21 = lean_alloc_ctor(0, 1, 0); +} else { + x_21 = x_20; +} +lean_ctor_set(x_21, 0, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_18); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_11, 1); +lean_inc(x_23); +lean_dec(x_11); +x_24 = lean_ctor_get(x_12, 0); +lean_inc(x_24); +lean_dec(x_12); +x_25 = 1; +x_26 = lean_usize_add(x_2, x_25); +x_27 = lean_array_uset(x_10, x_2, x_24); +x_2 = x_26; +x_3 = x_27; +x_4 = x_23; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_2); +x_29 = lean_ctor_get(x_3, 0); +lean_inc(x_29); +lean_dec(x_3); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_5); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; +x_31 = lean_ctor_get(x_3, 0); +lean_inc(x_31); +lean_dec(x_3); +x_32 = lean_st_ref_take(x_1, x_5); +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_array_get_size(x_31); +x_36 = lean_usize_of_nat(x_35); +lean_dec(x_35); +x_37 = 0; +lean_inc(x_33); +x_38 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9(x_36, x_37, x_31, x_33); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +lean_dec(x_38); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_st_ref_set(x_1, x_33, x_34); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_6 = x_39; +x_7 = x_42; +goto block_28; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_39, 0); +lean_inc(x_43); +lean_dec(x_39); +x_44 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_st_ref_set(x_1, x_33, x_34); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_6 = x_44; +x_7 = x_46; +goto block_28; +} +} +else +{ +lean_object* x_47; uint8_t x_48; +lean_dec(x_33); +x_47 = lean_ctor_get(x_38, 1); +lean_inc(x_47); +lean_dec(x_38); +x_48 = !lean_is_exclusive(x_39); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_st_ref_set(x_1, x_47, x_34); +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); +x_6 = x_39; +x_7 = x_50; +goto block_28; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_ctor_get(x_39, 0); +lean_inc(x_51); +lean_dec(x_39); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_st_ref_set(x_1, x_47, x_34); +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_6 = x_52; +x_7 = x_54; +goto block_28; +} +} +} +block_28: +{ +if (lean_obj_tag(x_6) == 0) +{ +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; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = 1; +x_10 = l_Lean_Name_toString(x_2, x_9); +x_11 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__1; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__2; +x_14 = lean_string_append(x_12, x_13); +x_15 = lean_string_append(x_14, x_8); +lean_dec(x_8); +x_16 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_17 = lean_string_append(x_15, x_16); +x_18 = 3; +x_19 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_18); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_2); +x_21 = lean_ctor_get(x_6, 0); +lean_inc(x_21); +lean_dec(x_6); +x_22 = lean_array_get_size(x_21); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = 0; +x_25 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__4(x_23, x_24, x_21); +x_26 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_26, 0, 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_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__2(lean_object* x_1, lean_object* x_2, uint64_t 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_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(x_7, x_3); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_9 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__2; +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_6); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +x_12 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__5(x_4); +x_13 = lean_alloc_closure((void*)(l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__6___boxed), 3, 1); +lean_closure_set(x_13, 0, x_12); +lean_inc(x_11); +x_14 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___lambda__1___boxed), 4, 1); +lean_closure_set(x_14, 0, x_11); +x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3___rarg), 4, 2); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_14); +lean_inc(x_5); +x_16 = l_Lean_Server_RequestM_asTask___rarg(x_15, x_5, x_6); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__2), 4, 1); +lean_closure_set(x_19, 0, x_1); +lean_inc(x_5); +x_20 = l_Lean_Server_RequestM_bindTask___rarg(x_17, x_19, x_5, x_18); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__1___boxed), 5, 2); +lean_closure_set(x_23, 0, x_11); +lean_closure_set(x_23, 1, x_2); +x_24 = l_Lean_Server_RequestM_mapTask___rarg(x_21, x_23, x_5, x_22); +return x_24; +} +} } LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____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; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_4 = l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams; -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__2; -x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__9; -x_7 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___elambda__1___boxed), 14, 10); -lean_closure_set(x_7, 0, x_1); -lean_closure_set(x_7, 1, lean_box(0)); -lean_closure_set(x_7, 2, lean_box(0)); -lean_closure_set(x_7, 3, lean_box(0)); -lean_closure_set(x_7, 4, x_3); -lean_closure_set(x_7, 5, x_4); -lean_closure_set(x_7, 6, lean_box(0)); -lean_closure_set(x_7, 7, x_5); -lean_closure_set(x_7, 8, x_6); -lean_closure_set(x_7, 9, x_2); -return x_7; +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__2___boxed), 6, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; } } LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -4417,7 +23868,9 @@ _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; uint8_t x_12; lean_inc(x_1); -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2(x_1, x_2); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__2___boxed), 6, 2); +lean_closure_set(x_5, 0, x_2); +lean_closure_set(x_5, 1, x_1); x_6 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___closed__1; x_7 = lean_st_ref_take(x_6, x_4); x_8 = lean_ctor_get(x_7, 0); @@ -4476,10 +23929,10 @@ else lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_2); lean_dec(x_1); -x_14 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_14 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_15 = lean_string_append(x_14, x_3); lean_dec(x_3); -x_16 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; +x_16 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; x_17 = lean_string_append(x_15, x_16); x_18 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_18, 0, x_17); @@ -4511,10 +23964,10 @@ 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_dec(x_2); lean_dec(x_1); -x_24 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_24 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_25 = lean_string_append(x_24, x_3); lean_dec(x_3); -x_26 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; +x_26 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; x_27 = lean_string_append(x_25, x_26); x_28 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_28, 0, x_27); @@ -4536,7 +23989,7 @@ x_5 = l_Lean_Name_toString(x_1, x_4); x_6 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; +x_8 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6; x_9 = lean_string_append(x_7, x_8); x_10 = lean_io_initializing(x_3); x_11 = lean_ctor_get(x_10, 0); @@ -4554,10 +24007,10 @@ 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; x_14 = lean_ctor_get(x_10, 0); lean_dec(x_14); -x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_15 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_16 = lean_string_append(x_15, x_9); lean_dec(x_9); -x_17 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; +x_17 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -4571,10 +24024,10 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean x_20 = lean_ctor_get(x_10, 1); lean_inc(x_20); lean_dec(x_10); -x_21 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_21 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_22 = lean_string_append(x_21, x_9); lean_dec(x_9); -x_23 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; +x_23 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; x_24 = lean_string_append(x_22, x_23); x_25 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_25, 0, x_24); @@ -4608,7 +24061,7 @@ static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_Wid _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__4; +x_1 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__2; x_2 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -4632,6 +24085,84 @@ x_4 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_L return x_4; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____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; +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_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__4(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__6(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7___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_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_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__7(x_5, x_6, x_3, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8___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_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_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__8(x_5, x_6, x_3, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9___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_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_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__9(x_5, x_6, x_3, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint64_t x_7; lean_object* x_8; +x_7 = lean_unbox_uint64(x_3); +lean_dec(x_3); +x_8 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___lambda__2(x_1, x_2, x_7, x_4, x_5, x_6); +return x_8; +} +} LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -4649,14 +24180,6 @@ x_1 = lean_mk_string_from_bytes("kind", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("info", 4); -return x_1; -} -} LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -4689,7 +24212,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_ctor_get(x_5, 0); lean_inc(x_9); lean_dec(x_5); -x_10 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___closed__2; +x_10 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___closed__1; x_11 = l_Lean_Json_getObjValAs_x3f(x_3, lean_box(0), x_2, x_10); if (lean_obj_tag(x_11) == 0) { @@ -4796,7 +24319,7 @@ x_10 = lean_ctor_get(x_3, 1); lean_inc(x_10); lean_dec(x_3); x_11 = lean_apply_1(x_2, x_10); -x_12 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___closed__2; +x_12 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___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); @@ -4956,65 +24479,195 @@ x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEnco return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_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_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; lean_dec(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_2); -lean_ctor_set(x_6, 1, x_3); -x_7 = lean_apply_2(x_5, lean_box(0), x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); lean_dec(x_1); -x_8 = lean_ctor_get(x_2, 0); +x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__3___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__4___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_4); +x_8 = lean_apply_2(x_6, lean_box(0), x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; 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_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); lean_dec(x_2); lean_inc(x_3); -x_9 = lean_apply_4(x_7, lean_box(0), x_3, x_4, x_8); -x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__1), 3, 2); -lean_closure_set(x_10, 0, x_3); -lean_closure_set(x_10, 1, x_6); -x_11 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_9, x_10); -return x_11; +x_8 = lean_apply_4(x_6, lean_box(0), x_3, x_4, x_7); +lean_inc(x_3); +x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__1), 3, 2); +lean_closure_set(x_9, 0, x_5); +lean_closure_set(x_9, 1, x_3); +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__1___rarg), 5, 4); +lean_closure_set(x_11, 0, x_3); +lean_closure_set(x_11, 1, lean_box(0)); +lean_closure_set(x_11, 2, lean_box(0)); +lean_closure_set(x_11, 3, x_9); +x_12 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_8, x_11); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; uint8_t 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, 1); +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; +x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); lean_dec(x_1); -x_9 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); -x_10 = lean_box(x_9); +x_8 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); +x_9 = lean_box(x_8); lean_inc(x_5); lean_inc(x_4); -x_11 = lean_apply_4(x_8, lean_box(0), x_4, x_5, x_10); -lean_inc(x_7); -x_12 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__2), 6, 5); -lean_closure_set(x_12, 0, x_2); -lean_closure_set(x_12, 1, x_6); -lean_closure_set(x_12, 2, x_4); -lean_closure_set(x_12, 3, x_5); -lean_closure_set(x_12, 4, x_7); -x_13 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_11, x_12); -return x_13; +x_10 = lean_apply_4(x_7, lean_box(0), x_4, x_5, x_9); +lean_inc(x_4); +x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__2), 5, 4); +lean_closure_set(x_11, 0, x_2); +lean_closure_set(x_11, 1, x_6); +lean_closure_set(x_11, 2, x_4); +lean_closure_set(x_11, 3, x_5); +x_12 = lean_ctor_get(x_4, 1); +lean_inc(x_12); +x_13 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__2___rarg), 5, 4); +lean_closure_set(x_13, 0, x_4); +lean_closure_set(x_13, 1, lean_box(0)); +lean_closure_set(x_13, 2, lean_box(0)); +lean_closure_set(x_13, 3, x_11); +x_14 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_10, x_13); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg___lambda__4(uint8_t x_1, lean_object* x_2, lean_object* x_3) { @@ -5055,7 +24708,7 @@ lean_closure_set(x_10, 0, x_9); lean_closure_set(x_10, 1, x_3); x_11 = lean_ctor_get(x_3, 1); lean_inc(x_11); -x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__1___rarg), 5, 4); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__3___rarg), 5, 4); lean_closure_set(x_12, 0, x_3); lean_closure_set(x_12, 1, lean_box(0)); lean_closure_set(x_12, 2, lean_box(0)); @@ -5084,7 +24737,7 @@ lean_closure_set(x_10, 2, x_4); lean_closure_set(x_10, 3, x_5); x_11 = lean_ctor_get(x_4, 1); lean_inc(x_11); -x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__2___rarg), 5, 4); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___spec__4___rarg), 5, 4); lean_closure_set(x_12, 0, x_4); lean_closure_set(x_12, 1, lean_box(0)); lean_closure_set(x_12, 2, lean_box(0)); @@ -5149,58 +24802,529 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__1() { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__6(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3; -x_2 = l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef; -x_3 = l_Lean_Widget_instRpcEncodingGetGoToLocationParamsRpcEncodingPacket___rarg(x_1, lean_box(0), x_2); +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +x_4 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51_(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__6(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; } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__2() { +} +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_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___closed__1; +x_9 = l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__18(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; +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; +} +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_ctor_set(x_18, 0, x_17); +return x_18; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__4(lean_object* x_1) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_instFromJsonGoToKind; -x_2 = l_Lean_Lsp_instFromJsonRpcRef; -x_3 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___boxed), 3, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__3() { -_start: +lean_object* x_2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__5(x_1); +if (lean_obj_tag(x_2) == 0) { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Lsp_instToJsonLocationLink; -x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonArray___rarg), 2, 1); -lean_closure_set(x_2, 0, x_1); +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; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_4 = lean_ctor_get(x_2, 0); +x_5 = l_Lean_Json_compress(x_1); +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2; +x_9 = lean_string_append(x_7, x_8); +x_10 = lean_string_append(x_9, x_4); +lean_dec(x_4); +x_11 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_12 = lean_string_append(x_10, x_11); +x_13 = 0; +x_14 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set_uint8(x_14, sizeof(void*)*1, x_13); +lean_ctor_set(x_2, 0, x_14); return x_2; } +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +lean_dec(x_2); +x_16 = l_Lean_Json_compress(x_1); +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2; +x_20 = lean_string_append(x_18, x_19); +x_21 = lean_string_append(x_20, x_15); +lean_dec(x_15); +x_22 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_23 = lean_string_append(x_21, x_22); +x_24 = 0; +x_25 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_24); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_2); +if (x_27 == 0) +{ +return x_2; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_2, 0); +lean_inc(x_28); +lean_dec(x_2); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +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_3); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__8(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; lean_object* x_7; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_3); +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; +} +else +{ +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_8 = lean_array_uget(x_3, x_2); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_array_uset(x_3, x_2, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_10, x_2, x_8); +x_2 = x_12; +x_3 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____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) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_ref_get(x_1, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_4, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_13 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__6(x_12, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +if (lean_obj_tag(x_14) == 0) +{ +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; uint8_t x_29; lean_object* x_30; +lean_dec(x_10); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +x_16 = 1; +x_17 = l_Lean_Name_toString(x_2, x_16); +x_18 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__1; +x_19 = lean_string_append(x_18, x_17); +lean_dec(x_17); +x_20 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__2; +x_21 = lean_string_append(x_19, x_20); +x_22 = l_Lean_Json_compress(x_3); +x_23 = lean_string_append(x_21, x_22); +lean_dec(x_22); +x_24 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__3; +x_25 = lean_string_append(x_23, x_24); +x_26 = lean_string_append(x_25, x_15); +lean_dec(x_15); +x_27 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_28 = lean_string_append(x_26, x_27); +x_29 = 3; +x_30 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_29); +lean_ctor_set_tag(x_7, 1); +lean_ctor_set(x_7, 0, x_30); +return x_7; +} +else +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; +lean_dec(x_3); +lean_dec(x_2); +x_31 = lean_ctor_get(x_14, 0); +lean_inc(x_31); +lean_dec(x_14); +x_32 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_unbox(x_10); +lean_dec(x_10); +lean_ctor_set_uint8(x_32, sizeof(void*)*1, x_33); +lean_ctor_set(x_7, 0, x_32); +return x_7; +} +} +else +{ +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; +x_34 = lean_ctor_get(x_7, 0); +x_35 = lean_ctor_get(x_7, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_7); +x_36 = lean_ctor_get(x_4, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_4, 1); +lean_inc(x_37); +lean_dec(x_4); +x_38 = lean_unbox_usize(x_37); +lean_dec(x_37); +x_39 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__6(x_38, x_34); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +lean_dec(x_39); +if (lean_obj_tag(x_40) == 0) +{ +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; 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_dec(x_36); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +lean_dec(x_40); +x_42 = 1; +x_43 = l_Lean_Name_toString(x_2, x_42); +x_44 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__1; +x_45 = lean_string_append(x_44, x_43); +lean_dec(x_43); +x_46 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__2; +x_47 = lean_string_append(x_45, x_46); +x_48 = l_Lean_Json_compress(x_3); +x_49 = lean_string_append(x_47, x_48); +lean_dec(x_48); +x_50 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__3; +x_51 = lean_string_append(x_49, x_50); +x_52 = lean_string_append(x_51, x_41); +lean_dec(x_41); +x_53 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; +x_54 = lean_string_append(x_52, x_53); +x_55 = 3; +x_56 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set_uint8(x_56, sizeof(void*)*1, x_55); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_35); +return x_57; +} +else +{ +lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; +lean_dec(x_3); +lean_dec(x_2); +x_58 = lean_ctor_get(x_40, 0); +lean_inc(x_58); +lean_dec(x_40); +x_59 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_59, 0, x_58); +x_60 = lean_unbox(x_36); +lean_dec(x_36); +lean_ctor_set_uint8(x_59, sizeof(void*)*1, x_60); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_35); +return x_61; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_3, 0); +lean_inc(x_16); +lean_dec(x_3); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_5); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_18 = lean_ctor_get(x_3, 0); +lean_inc(x_18); +lean_dec(x_3); +x_19 = lean_st_ref_take(x_1, x_5); +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_array_get_size(x_18); +x_23 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_24 = 0; +x_25 = l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__8(x_23, x_24, x_18, x_20); +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_is_exclusive(x_26); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_st_ref_set(x_1, x_27, x_21); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_6 = x_26; +x_7 = x_30; +goto block_15; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_26, 0); +lean_inc(x_31); +lean_dec(x_26); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_st_ref_set(x_1, x_27, x_21); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_6 = x_32; +x_7 = x_34; +goto block_15; +} +} +block_15: +{ +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; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_array_get_size(x_8); +x_10 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_11 = 0; +x_12 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__13(x_10, x_11, x_8); +x_13 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_7); +return x_14; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__3(lean_object* x_1, lean_object* x_2, uint64_t 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_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(x_7, x_3); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_9 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__2; +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_6); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +lean_inc(x_4); +x_12 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__4(x_4); +x_13 = lean_alloc_closure((void*)(l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__7___boxed), 3, 1); +lean_closure_set(x_13, 0, x_12); +lean_inc(x_1); +lean_inc(x_11); +x_14 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__1___boxed), 6, 3); +lean_closure_set(x_14, 0, x_11); +lean_closure_set(x_14, 1, x_1); +lean_closure_set(x_14, 2, x_4); +x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3___rarg), 4, 2); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_14); +lean_inc(x_5); +x_16 = l_Lean_Server_RequestM_asTask___rarg(x_15, x_5, x_6); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__2), 4, 1); +lean_closure_set(x_19, 0, x_2); +lean_inc(x_5); +x_20 = l_Lean_Server_RequestM_bindTask___rarg(x_17, x_19, x_5, x_18); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__2___boxed), 5, 2); +lean_closure_set(x_23, 0, x_11); +lean_closure_set(x_23, 1, x_1); +x_24 = l_Lean_Server_RequestM_mapTask___rarg(x_21, x_23, x_5, x_22); +return x_24; +} +} } LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_3 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__1; -x_4 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__2; -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__8; -x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__3; -x_7 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___elambda__1___boxed), 14, 10); -lean_closure_set(x_7, 0, x_1); -lean_closure_set(x_7, 1, lean_box(0)); -lean_closure_set(x_7, 2, lean_box(0)); -lean_closure_set(x_7, 3, lean_box(0)); -lean_closure_set(x_7, 4, x_3); -lean_closure_set(x_7, 5, x_4); -lean_closure_set(x_7, 6, lean_box(0)); -lean_closure_set(x_7, 7, x_5); -lean_closure_set(x_7, 8, x_6); -lean_closure_set(x_7, 9, x_2); -return x_7; +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__3___boxed), 6, 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_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -5208,7 +25332,9 @@ _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; uint8_t x_12; lean_inc(x_1); -x_5 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3(x_1, x_2); +x_5 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__3___boxed), 6, 2); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); x_6 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___closed__1; x_7 = lean_st_ref_take(x_6, x_4); x_8 = lean_ctor_get(x_7, 0); @@ -5267,10 +25393,10 @@ else lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_2); lean_dec(x_1); -x_14 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_14 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_15 = lean_string_append(x_14, x_3); lean_dec(x_3); -x_16 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; +x_16 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; x_17 = lean_string_append(x_15, x_16); x_18 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_18, 0, x_17); @@ -5302,10 +25428,10 @@ 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_dec(x_2); lean_dec(x_1); -x_24 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_24 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_25 = lean_string_append(x_24, x_3); lean_dec(x_3); -x_26 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2; +x_26 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; x_27 = lean_string_append(x_25, x_26); x_28 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_28, 0, x_27); @@ -5327,7 +25453,7 @@ x_5 = l_Lean_Name_toString(x_1, x_4); x_6 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); -x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; +x_8 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6; x_9 = lean_string_append(x_7, x_8); x_10 = lean_io_initializing(x_3); x_11 = lean_ctor_get(x_10, 0); @@ -5345,10 +25471,10 @@ 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; x_14 = lean_ctor_get(x_10, 0); lean_dec(x_14); -x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_15 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_16 = lean_string_append(x_15, x_9); lean_dec(x_9); -x_17 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; +x_17 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; x_18 = lean_string_append(x_16, x_17); x_19 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_19, 0, x_18); @@ -5362,10 +25488,10 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean x_20 = lean_ctor_get(x_10, 1); lean_inc(x_20); lean_dec(x_10); -x_21 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1; +x_21 = l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3; x_22 = lean_string_append(x_21, x_9); lean_dec(x_9); -x_23 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3; +x_23 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2; x_24 = lean_string_append(x_22, x_23); x_25 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_25, 0, x_24); @@ -5656,7 +25782,7 @@ x_7 = lean_alloc_closure((void*)(l_Lean_Widget_initFn____x40_Lean_Server_FileWor lean_closure_set(x_7, 0, x_5); lean_closure_set(x_7, 1, x_6); x_8 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____lambda__3___closed__1; -x_9 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__3___rarg), 4, 2); +x_9 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3___rarg), 4, 2); lean_closure_set(x_9, 0, x_8); lean_closure_set(x_9, 1, x_7); x_10 = l_Lean_Server_RequestM_asTask___rarg(x_9, x_2, x_3); @@ -5675,7 +25801,7 @@ static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_Wid _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__4; +x_1 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__2; x_2 = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -5699,6 +25825,78 @@ x_4 = l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_L return x_4; } } +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__6___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__6(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__5___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__5(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_liftExcept___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__7(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__8___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_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_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__8(x_5, x_6, x_3, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____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) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint64_t x_7; lean_object* x_8; +x_7 = lean_unbox_uint64(x_3); +lean_dec(x_3); +x_8 = l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___lambda__3(x_1, x_2, x_7, x_4, x_5, x_6); +return x_8; +} +} LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -5772,74 +25970,106 @@ l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEnco lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____rarg___closed__1); l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____rarg___closed__2 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____rarg___closed__2(); lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_93____rarg___closed__2); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__1(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__1); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__2(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__2); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__3); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__4 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__4(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__4); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__5 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__5(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__5); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__6 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__6(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__6); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__7 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__7(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__7); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__8 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__8(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__8); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__9 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__9(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__9); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__10 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__10(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__10); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__11 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__11(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__11); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__12 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__12(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__12); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__13 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__13(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__13); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__14 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__14(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__14); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__15 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__15(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__15); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__16 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__16(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__16); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__17 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__17(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__17); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__18 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__18(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__18); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__19 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__19(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__19); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__20 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__20(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__20); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__21 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__21(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__21); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__22 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__22(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__22); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__23 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__23(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__23); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__24 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__24(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__24); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__25 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__25(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__25); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__26 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__26(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__26); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__27 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__27(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__27); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__28 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__28(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___closed__28); +l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___closed__1 = _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___closed__1(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___closed__1); +l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___closed__2 = _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___closed__2(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__8___closed__2); +l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__1 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__1(); +lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__1); +l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__2 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__2(); +lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__2); +l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__3 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__3(); +lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__3); +l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__4 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__4(); +lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__6___closed__4); +l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__1 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__1(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__1); +l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__2 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__2(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__2); +l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__3 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__3(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__3); +l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__4 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__4(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__4); +l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__5 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__5(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__5); +l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__6 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__6(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__10___closed__6); +l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__1 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__1(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__1); +l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__2 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__2(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__2); +l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__3 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__3(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__3); +l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__4 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__4(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__9___closed__4); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__1(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__1); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__2 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__2(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__2); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__3 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__3(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__3); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__4 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__4(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__5___closed__4); +l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1 = _init_l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1(); +lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__1); +l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2 = _init_l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2(); +lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__2); +l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3 = _init_l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3(); +lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__16___closed__3); +l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__1 = _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__1(); +lean_mark_persistent(l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__1); +l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__2 = _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__2(); +lean_mark_persistent(l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__2); +l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__3 = _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__3(); +lean_mark_persistent(l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__3); +l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__4 = _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__4(); +lean_mark_persistent(l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__4); +l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__5 = _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__5(); +lean_mark_persistent(l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__5); +l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6 = _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6(); +lean_mark_persistent(l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__21___rarg___closed__6); +l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__1 = _init_l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__1(); +lean_mark_persistent(l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__1); +l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__2 = _init_l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__2(); +lean_mark_persistent(l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__2); +l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__3 = _init_l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__3(); +lean_mark_persistent(l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__3); +l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__4 = _init_l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__4(); +lean_mark_persistent(l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__20___closed__4); +l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__1 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__1(); +lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__1); +l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__2 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__2(); +lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__2); +l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__3 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__3(); +lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__3); +l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__4 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__4(); +lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__22___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__28___closed__1); +l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__1); +l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__2); +l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__3 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__1___closed__3); +l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__1); +l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__2); +l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__3 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__4___closed__3); +l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__1); +l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__2___lambda__5___closed__2); l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___closed__1 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__1___closed__1); l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__1); -l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___lambda__2___closed__2); l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__1 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__1(); lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__1); l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2(); lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__2); -l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3(); -lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____spec__1___closed__3); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__1 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__1(); lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__1); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__2 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__2(); @@ -5850,14 +26080,6 @@ l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____c lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__4); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__5 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__5(); lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__5); -l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__6 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__6(); -lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__6); -l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__7 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__7(); -lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__7); -l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__8 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__8(); -lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__8); -l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__9 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__9(); -lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411____closed__9); res = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_411_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -5869,20 +26091,20 @@ l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEnco lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__1); l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__2 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__2(); lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__2); -l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__3 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__3(); -lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_569____rarg___closed__3); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__1(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__1); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__2(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__2); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__3 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__3(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__3); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__4 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__4(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__4); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__5 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__5(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__5); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__6 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__6(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___closed__6); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__1 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__1(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__1); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__2 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__2(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__2); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__3 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__3(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__3); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__4 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__4(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__4); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__5 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__5(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__5); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__6 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__6(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_689____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__3___closed__6); +l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____spec__2___lambda__2___closed__1); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____closed__1 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____closed__1(); lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____closed__1); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____closed__2 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234____closed__2(); @@ -5892,30 +26114,8 @@ lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRe res = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1234_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__1(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__1); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__2(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__2); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__3 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__3(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__3); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__4 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__4(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__4); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__5 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__5(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__5); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__6 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__6(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__6); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__7 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__7(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__7); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__8 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__8(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__8); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__9 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__9(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__9); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__10 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__10(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__10); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__11 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__11(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__11); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__12 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__12(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__2___closed__12); +l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__3___closed__1 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__3___closed__1(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____spec__3___closed__1); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____closed__1 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____closed__1(); lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____closed__1); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____closed__2 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253____closed__2(); @@ -5925,14 +26125,8 @@ lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRe res = l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1253_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__1(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__1); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__2(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__2); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__3 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__3(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__3); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__4 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__4(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__2___closed__4); +l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__3___closed__1 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__3___closed__1(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____spec__3___closed__1); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____closed__1 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____closed__1(); lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____closed__1); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____closed__2 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1272____closed__2(); @@ -5944,8 +26138,6 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Widget_instInhabitedGetInteractiveDiagnosticsParams = _init_l_Lean_Widget_instInhabitedGetInteractiveDiagnosticsParams(); lean_mark_persistent(l_Lean_Widget_instInhabitedGetInteractiveDiagnosticsParams); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311____spec__1___closed__1(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311____spec__1___closed__1); l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311____closed__1 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311____closed__1(); lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1311____closed__1); l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams___closed__1 = _init_l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams___closed__1(); @@ -5962,24 +26154,20 @@ l_Lean_Widget_getInteractiveDiagnostics___lambda__1___closed__2 = _init_l_Lean_W lean_mark_persistent(l_Lean_Widget_getInteractiveDiagnostics___lambda__1___closed__2); l_Lean_Widget_getInteractiveDiagnostics___closed__1 = _init_l_Lean_Widget_getInteractiveDiagnostics___closed__1(); lean_mark_persistent(l_Lean_Widget_getInteractiveDiagnostics___closed__1); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__1(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__1); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__2(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__2); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__3 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__3(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__3); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__4 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__4(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__4); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__5 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__5(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__5); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__6 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__6(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__6); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__7 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__7(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__7); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__8 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__8(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__8); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__9 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__9(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__2___closed__9); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__1(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__1); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__2 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__2(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__2); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__3 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__3(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__3); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__4 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__4(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__4); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__5 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__5(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__5); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__6 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__6(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__6); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__7 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__7(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____spec__3___closed__7); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____closed__1 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____closed__1(); lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____closed__1); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____closed__2 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1547____closed__2(); @@ -5991,14 +26179,6 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___closed__1 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___closed__1(); lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___closed__1); -l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___closed__2 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___closed__2(); -lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1643____rarg___closed__2); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__1(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__1); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__2(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__2); -l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__3 = _init_l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__3(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____spec__3___closed__3); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____lambda__3___closed__1 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____lambda__3___closed__1(); lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____lambda__3___closed__1); l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____closed__1 = _init_l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1961____closed__1(); diff --git a/stage0/stdlib/Lean/Server/GoTo.c b/stage0/stdlib/Lean/Server/GoTo.c index a666f2b450..422692455c 100644 --- a/stage0/stdlib/Lean/Server/GoTo.c +++ b/stage0/stdlib/Lean/Server/GoTo.c @@ -829,7 +829,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_findModuleOf_x3f___at_Lean_Server_locationLinksFromDecl___spec__1___closed__1; x_2 = l_Lean_findModuleOf_x3f___at_Lean_Server_locationLinksFromDecl___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_findModuleOf_x3f___at_Lean_Server_locationLinksFromDecl___spec__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Server/Rpc/Basic.c b/stage0/stdlib/Lean/Server/Rpc/Basic.c index 931ff1e89c..ba6e7234a6 100644 --- a/stage0/stdlib/Lean/Server/Rpc/Basic.c +++ b/stage0/stdlib/Lean/Server/Rpc/Basic.c @@ -16,6 +16,7 @@ extern "C" { LEAN_EXPORT lean_object* l_Lean_Server_instInhabitedWithRpcRef___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instInhabitedWithRpcRef(lean_object*); size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingArray___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe(lean_object*); @@ -27,17 +28,16 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingArray___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instMonadRpcSession___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__4(lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__4___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instMonadRpcSession___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_instRpcEncoding___closed__3; LEAN_EXPORT lean_object* l_Lean_Server_instMonadRpcSession___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instInhabitedWithRpcRef___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__3(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_Server_instRpcEncodingArray(lean_object*, lean_object*); static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___lambda__3___closed__5; @@ -45,12 +45,12 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncoding LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___lambda__1(lean_object*); static lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__3(lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingArray___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingArray___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncoding(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncoding___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_WithRpcRef_decodeUnsafeAs___spec__3(lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_WithRpcRef_decodeUnsafeAs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); @@ -58,45 +58,49 @@ LEAN_EXPORT lean_object* l_Lean_Server_instMonadRpcSession___rarg___lambda__2(le lean_object* l_Nat_repr(lean_object*); static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncoding___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncoding___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instMonadRpcSession___rarg___lambda__3(lean_object*, lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___lambda__3___closed__7; LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncoding___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_WithRpcRef_decodeUnsafeAs___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instMonadRpcSession___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___closed__1; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_WithRpcRef_decodeUnsafeAs___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___lambda__3___closed__3; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__2(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg(lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instMonadRpcSession(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingArray___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___lambda__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingArray___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT uint8_t l_Lean_Server_RpcEncoding_DerivingParams_withRef___default; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_WithRpcRef_decodeUnsafeAs___spec__1(lean_object*); static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___lambda__3___closed__6; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_WithRpcRef_decodeUnsafeAs___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___lambda__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_instRpcEncoding___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption(lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__4(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncoding___boxed(lean_object*, lean_object*, lean_object*); @@ -194,20 +198,6 @@ return x_5; LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncoding___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; -x_5 = lean_ctor_get(x_2, 0); -lean_inc(x_5); -lean_dec(x_2); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_apply_2(x_6, lean_box(0), x_4); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncoding___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_5 = lean_ctor_get(x_2, 0); lean_inc(x_5); @@ -232,28 +222,19 @@ return x_1; static lean_object* _init_l_Lean_Server_instRpcEncoding___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncoding___lambda__2___boxed), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_instRpcEncoding___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Server_instRpcEncoding___closed__1; -x_2 = l_Lean_Server_instRpcEncoding___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; +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_Server_instRpcEncoding(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Server_instRpcEncoding___closed__3; +x_4 = l_Lean_Server_instRpcEncoding___closed__2; return x_4; } } @@ -266,15 +247,6 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncoding___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Server_instRpcEncoding___lambda__2(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncoding___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -285,66 +257,7 @@ lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__1(lean_object* x_1) { -_start: -{ -lean_object* x_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_Server_instRpcEncodingOption___rarg___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingOption___rarg___lambda__1), 1, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_4); -lean_dec(x_1); -x_6 = lean_ctor_get(x_3, 0); -lean_inc(x_6); -lean_dec(x_3); -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_box(0); -x_9 = lean_apply_2(x_7, lean_box(0), x_8); -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; lean_object* x_17; -x_10 = lean_ctor_get(x_5, 0); -lean_inc(x_10); -lean_dec(x_5); -x_11 = lean_ctor_get(x_3, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_apply_4(x_14, lean_box(0), x_3, x_4, x_10); -x_16 = l_Lean_Server_instRpcEncodingOption___rarg___lambda__2___closed__1; -x_17 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_16, x_15); -return x_17; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -423,7 +336,7 @@ return x_23; } } } -static lean_object* _init_l_Lean_Server_instRpcEncodingOption___rarg___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_instRpcEncodingOption___rarg___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -433,7 +346,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__4(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_Server_instRpcEncodingOption___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_5) == 0) @@ -447,7 +360,45 @@ lean_dec(x_3); x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = l_Lean_Server_instRpcEncodingOption___rarg___lambda__4___closed__1; +x_8 = l_Lean_Server_instRpcEncodingOption___rarg___lambda__2___closed__1; +x_9 = lean_apply_2(x_7, lean_box(0), x_8); +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; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +lean_inc(x_3); +x_12 = lean_apply_4(x_11, lean_box(0), x_3, x_4, x_10); +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +x_14 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingOption___rarg___lambda__1), 2, 1); +lean_closure_set(x_14, 0, x_3); +x_15 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_12, x_14); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingOption___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +lean_dec(x_1); +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +lean_dec(x_3); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = l_Lean_Server_instRpcEncodingOption___rarg___lambda__2___closed__1; x_9 = lean_apply_2(x_7, lean_box(0), x_8); return x_9; } @@ -464,7 +415,7 @@ lean_inc(x_3); x_12 = lean_apply_4(x_11, lean_box(0), x_3, x_4, x_10); x_13 = lean_ctor_get(x_3, 1); lean_inc(x_13); -x_14 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingOption___rarg___lambda__3), 2, 1); +x_14 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingOption___rarg___lambda__1), 2, 1); lean_closure_set(x_14, 0, x_3); x_15 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_12, x_14); return x_15; @@ -478,7 +429,7 @@ lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_inc(x_1); x_2 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingOption___rarg___lambda__2), 5, 1); lean_closure_set(x_2, 0, x_1); -x_3 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingOption___rarg___lambda__4), 5, 1); +x_3 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingOption___rarg___lambda__3), 5, 1); lean_closure_set(x_3, 0, x_1); x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_2); @@ -624,21 +575,149 @@ x_4 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Server_instRpc return x_4; } } +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingArray___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingArray___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingArray___spec__4___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___rarg___lambda__1(size_t 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) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; +x_8 = 1; +x_9 = lean_usize_add(x_1, x_8); +x_10 = lean_array_uset(x_2, x_1, x_7); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___rarg(x_3, x_4, x_5, x_6, x_9, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___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) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_5, x_4); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_6); +x_11 = lean_apply_2(x_9, lean_box(0), x_10); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_12 = lean_array_uget(x_6, x_5); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_uset(x_6, x_5, x_13); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_15 = lean_apply_4(x_3, lean_box(0), x_1, x_2, x_12); +x_16 = lean_box_usize(x_5); +x_17 = lean_box_usize(x_4); +lean_inc(x_1); +x_18 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___rarg___lambda__1___boxed), 7, 6); +lean_closure_set(x_18, 0, x_16); +lean_closure_set(x_18, 1, x_14); +lean_closure_set(x_18, 2, x_1); +lean_closure_set(x_18, 3, x_2); +lean_closure_set(x_18, 4, x_3); +lean_closure_set(x_18, 5, x_17); +x_19 = lean_ctor_get(x_1, 1); +lean_inc(x_19); +x_20 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingArray___spec__4___rarg), 5, 4); +lean_closure_set(x_20, 0, x_1); +lean_closure_set(x_20, 1, lean_box(0)); +lean_closure_set(x_20, 2, lean_box(0)); +lean_closure_set(x_20, 3, x_18); +x_21 = lean_apply_4(x_19, lean_box(0), lean_box(0), x_15, x_20); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___rarg___boxed), 6, 0); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingArray___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; x_6 = lean_ctor_get(x_1, 0); lean_inc(x_6); lean_dec(x_1); -lean_inc(x_3); -x_7 = lean_apply_3(x_6, lean_box(0), x_3, 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___rarg(x_3, x_7, x_9, x_10, x_5); -return x_11; +x_7 = lean_array_get_size(x_5); +x_8 = lean_usize_of_nat(x_7); +lean_dec(x_7); +x_9 = 0; +x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__1___rarg(x_3, x_4, x_6, x_8, x_9, x_5); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingArray___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -652,7 +731,7 @@ x_7 = lean_array_get_size(x_5); x_8 = lean_usize_of_nat(x_7); lean_dec(x_7); x_9 = 0; -x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__1___rarg(x_3, x_4, x_6, x_8, x_9, x_5); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___rarg(x_3, x_4, x_6, x_8, x_9, x_5); return x_10; } } @@ -703,6 +782,30 @@ x_9 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__1___r return x_9; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___rarg___lambda__1(x_8, x_2, x_3, x_4, x_5, x_9, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___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) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodingArray___spec__3___rarg(x_1, x_2, x_3, x_7, x_8, x_6); +return x_9; +} +} LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -819,68 +922,123 @@ x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Server_instRpcEnco return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_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_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; lean_dec(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_2); -lean_ctor_set(x_6, 1, x_3); -x_7 = lean_apply_2(x_5, lean_box(0), x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +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); -lean_inc(x_2); -x_8 = lean_apply_4(x_7, lean_box(0), x_2, x_3, x_4); -x_9 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingProd___rarg___lambda__1), 3, 2); -lean_closure_set(x_9, 0, x_2); -lean_closure_set(x_9, 1, x_6); -x_10 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_8, x_9); -return x_10; +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__3(lean_object* x_1) { _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; -x_7 = lean_ctor_get(x_6, 0); +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__3___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_ctor_get(x_4, 1); -lean_inc(x_9); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); lean_dec(x_1); -lean_inc(x_5); -lean_inc(x_4); -x_11 = lean_apply_4(x_10, lean_box(0), x_4, x_5, x_7); -lean_inc(x_9); -x_12 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingProd___rarg___lambda__2), 6, 5); -lean_closure_set(x_12, 0, x_2); -lean_closure_set(x_12, 1, x_4); -lean_closure_set(x_12, 2, x_5); -lean_closure_set(x_12, 3, x_8); -lean_closure_set(x_12, 4, x_9); -x_13 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_11, x_12); -return x_13; +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__4___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -899,17 +1057,17 @@ x_8 = lean_apply_2(x_6, lean_box(0), x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__5(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_Server_instRpcEncodingProd___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_6 = lean_ctor_get(x_1, 1); +x_6 = lean_ctor_get(x_1, 0); lean_inc(x_6); lean_dec(x_1); lean_inc(x_2); x_7 = lean_apply_4(x_6, lean_box(0), x_2, x_3, x_4); lean_inc(x_2); -x_8 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingProd___rarg___lambda__4), 3, 2); +x_8 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingProd___rarg___lambda__1), 3, 2); lean_closure_set(x_8, 0, x_5); lean_closure_set(x_8, 1, x_2); x_9 = lean_ctor_get(x_2, 1); @@ -923,7 +1081,63 @@ x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_7, x_10); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_7 = lean_ctor_get(x_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_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +lean_inc(x_5); +lean_inc(x_4); +x_10 = lean_apply_4(x_9, lean_box(0), x_4, x_5, x_7); +lean_inc(x_4); +x_11 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingProd___rarg___lambda__2), 5, 4); +lean_closure_set(x_11, 0, x_2); +lean_closure_set(x_11, 1, x_4); +lean_closure_set(x_11, 2, x_5); +lean_closure_set(x_11, 3, x_8); +x_12 = lean_ctor_get(x_4, 1); +lean_inc(x_12); +x_13 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__2___rarg), 5, 4); +lean_closure_set(x_13, 0, x_4); +lean_closure_set(x_13, 1, lean_box(0)); +lean_closure_set(x_13, 2, lean_box(0)); +lean_closure_set(x_13, 3, x_11); +x_14 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_10, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_dec(x_1); +lean_inc(x_2); +x_7 = lean_apply_4(x_6, lean_box(0), x_2, x_3, x_4); +lean_inc(x_2); +x_8 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingProd___rarg___lambda__1), 3, 2); +lean_closure_set(x_8, 0, x_5); +lean_closure_set(x_8, 1, x_2); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +x_10 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__3___rarg), 5, 4); +lean_closure_set(x_10, 0, x_2); +lean_closure_set(x_10, 1, lean_box(0)); +lean_closure_set(x_10, 2, lean_box(0)); +lean_closure_set(x_10, 3, x_8); +x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_7, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_instRpcEncodingProd___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _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; @@ -939,14 +1153,14 @@ lean_inc(x_5); lean_inc(x_4); x_10 = lean_apply_4(x_9, lean_box(0), x_4, x_5, x_7); lean_inc(x_4); -x_11 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingProd___rarg___lambda__5), 5, 4); +x_11 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingProd___rarg___lambda__4), 5, 4); lean_closure_set(x_11, 0, x_2); lean_closure_set(x_11, 1, x_4); lean_closure_set(x_11, 2, x_5); lean_closure_set(x_11, 3, x_8); x_12 = lean_ctor_get(x_4, 1); lean_inc(x_12); -x_13 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__2___rarg), 5, 4); +x_13 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Server_instRpcEncodingProd___spec__4___rarg), 5, 4); lean_closure_set(x_13, 0, x_4); lean_closure_set(x_13, 1, lean_box(0)); lean_closure_set(x_13, 2, lean_box(0)); @@ -964,7 +1178,7 @@ lean_inc(x_1); x_3 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingProd___rarg___lambda__3), 6, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); -x_4 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingProd___rarg___lambda__6), 6, 2); +x_4 = lean_alloc_closure((void*)(l_Lean_Server_instRpcEncodingProd___rarg___lambda__5), 6, 2); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); x_5 = lean_alloc_ctor(0, 2, 0); @@ -1492,12 +1706,8 @@ l_Lean_Server_instRpcEncoding___closed__1 = _init_l_Lean_Server_instRpcEncoding_ lean_mark_persistent(l_Lean_Server_instRpcEncoding___closed__1); l_Lean_Server_instRpcEncoding___closed__2 = _init_l_Lean_Server_instRpcEncoding___closed__2(); lean_mark_persistent(l_Lean_Server_instRpcEncoding___closed__2); -l_Lean_Server_instRpcEncoding___closed__3 = _init_l_Lean_Server_instRpcEncoding___closed__3(); -lean_mark_persistent(l_Lean_Server_instRpcEncoding___closed__3); l_Lean_Server_instRpcEncodingOption___rarg___lambda__2___closed__1 = _init_l_Lean_Server_instRpcEncodingOption___rarg___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Server_instRpcEncodingOption___rarg___lambda__2___closed__1); -l_Lean_Server_instRpcEncodingOption___rarg___lambda__4___closed__1 = _init_l_Lean_Server_instRpcEncodingOption___rarg___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_instRpcEncodingOption___rarg___lambda__4___closed__1); l_Lean_Server_RpcEncoding_DerivingParams_withRef___default = _init_l_Lean_Server_RpcEncoding_DerivingParams_withRef___default(); l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___lambda__3___closed__1 = _init_l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg___lambda__3___closed__1); diff --git a/stage0/stdlib/Lean/Server/Rpc/Deriving.c b/stage0/stdlib/Lean/Server/Rpc/Deriving.c index 0d77b329b9..28d0e1625c 100644 --- a/stage0/stdlib/Lean/Server/Rpc/Deriving.c +++ b/stage0/stdlib/Lean/Server/Rpc/Deriving.c @@ -13,104 +13,70 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__3; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__8; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__42; -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__17; -static lean_object* l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__17; +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9(lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__11; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__69; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__237; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__21(lean_object*, lean_object*, size_t, size_t); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_RpcEncoding_foldWithConstructors___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__20(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__53; -lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsFlattened___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__151; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__4; -lean_object* l_panic___at_Lean_Meta_DiscrTree_insertCore___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__68; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__55; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__4; lean_object* l_Lean_stringToMessageData(lean_object*); -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__27(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__12(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__37; lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__207; -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__18(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__101; -lean_object* lean_nat_div(lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__9; -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__34___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__20; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__238; -lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__228; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsAux___spec__1___rarg___lambda__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__3; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__10; +lean_object* l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___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_Server_RpcEncoding_withFields___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_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__36(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__172; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__211; LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__169; -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_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__19(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_Meta_DiscrTree_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8(size_t, 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_RpcEncoding_deriveStructureInstance___spec__22(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__20; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__6; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Server_RpcEncoding_withFieldsFlattened___rarg___lambda__2(lean_object*, uint8_t, 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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__124; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__2; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__32; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__10; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_decodes___default; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Server_RpcEncoding_withFieldsFlattened___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__1; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__148; -static lean_object* l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__16___closed__1; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__43; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__1; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__22; +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Server_RpcEncoding_withFieldsAux___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__244; -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__46(lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__138; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__1; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__79; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__3; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__29___boxed(lean_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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4___closed__2; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Server_RpcEncoding_withFields___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__109; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__37; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__65; -static lean_object* l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_8944____closed__1; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsFlattened___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFields___spec__2___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); @@ -118,749 +84,531 @@ static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncod LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsFlattened___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__140; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__18; -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__17___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__51; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__15; -LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__206; -uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__4(size_t, size_t, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__15; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_RpcEncoding_foldWithConstructors___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__2; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__204; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__13(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsFlattened___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*); -size_t lean_usize_sub(size_t, size_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsFlattened___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__18; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__156; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__10; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at_Lean_Server_RpcEncoding_withFields___spec__1___rarg___lambda__1(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_RpcEncoding_deriveStructureInstance___spec__20___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__77; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__56; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__102; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__6; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__90; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___closed__2; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfInstance___spec__11(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__3; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__90; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__66; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__39(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__85; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__128; -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__30___boxed(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_RpcEncoding_deriveInductiveInstance___spec__38(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Server_RpcEncoding_withFieldsAux___spec__2___rarg___lambda__2(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__116; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__38___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__231; -static lean_object* l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__192; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6___closed__1; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__71; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__7; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__126; -uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__73; static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__1___closed__2; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__5; -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__20(lean_object*, lean_object*); -lean_object* l_Lean_Meta_DiscrTree_instInhabitedDiscrTree(lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4___boxed(lean_object*, lean_object*, lean_object*); -static size_t l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4___closed__1; +lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF___closed__2; LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__246; -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__19(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__37; lean_object* lean_array_get_size(lean_object*); -lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__240; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__6; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__81; +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__23(lean_object*, lean_object*, size_t, size_t); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__7; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43; lean_object* l_Lean_MessageData_ofList(lean_object*); 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*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__120; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__32; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__10; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__174; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__2; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF___closed__1; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__215; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__98; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__7; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__165; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__5; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__29(lean_object*, lean_object*, size_t, size_t); -lean_object* l_Std_mkHashSetImp___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__6(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -size_t lean_usize_shift_right(size_t, size_t); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__5; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__12; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__212; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_RpcEncoding_foldWithConstructors___spec__1___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_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__81; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__73; lean_object* lean_string_utf8_byte_size(lean_object*); -lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__26(lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__219; -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_instInhabitedCtorState; -lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__136; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsAux___spec__1___rarg(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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__196; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__37___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__75; lean_object* l_Lean_Meta_inferType___boxed(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__58; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__49; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__114; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -lean_object* l_Array_back_x3f___rarg(lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__161; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__127; -lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__88; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__23; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__41; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__79; -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__34; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__25; +lean_object* l_Lean_setEnv___at_Lean_Elab_Term_expandDeclId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__95; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__72; lean_object* l_Array_zip___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__3; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__167; -LEAN_EXPORT uint8_t l_Array_contains___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__12(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__133; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__6; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Server_RpcEncoding_withFieldsFlattened___rarg___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__29(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__241; -size_t lean_uint64_to_usize(uint64_t); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__1; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___closed__1; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__12; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__48; -uint8_t l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__121; -LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__20___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__28; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__1___closed__1; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__22(lean_object*, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__22; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__1; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__3; lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__54; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__2; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__132; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__103; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__137; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__84; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__190; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__10; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__32; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__76; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__108; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__1; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__63; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__20; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__78; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__7; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__242; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__14; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__55; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at_Lean_Server_RpcEncoding_withFields___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Array_contains___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__12___boxed(lean_object*, lean_object*); uint8_t l_instDecidableNot___rarg(uint8_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields(lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__30; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__2; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__208; -lean_object* lean_st_ref_take(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__5(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__5; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__230; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__92; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__42(lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_Core_mkFreshUserName___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___rarg___lambda__2(lean_object*, lean_object*, lean_object*); -lean_object* lean_nat_sub(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__134; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__160; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsFlattened___spec__2___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__28; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__232; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance(lean_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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__243; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__21; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__11; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__10(lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__38; -lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Server_RpcEncoding_withFieldsAux___spec__2___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__1___closed__4; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__214; -LEAN_EXPORT lean_object* l_Lean_Meta_DiscrTree_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__2; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__13; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__29; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__186; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115; lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__234; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__8; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__16; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__52; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__6___boxed__const__1; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3(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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__177; +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__4; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__24; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__202; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__164; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__43(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__36___boxed(lean_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_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__158; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__13; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__106; -lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5(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*); -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__21(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__9; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__78; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__40(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__91; -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__49; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__123; -static lean_object* l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__7; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__9; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__62; -LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__27___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__26(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__2; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__40; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsAux___spec__1(lean_object*); -lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__6; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__54; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__84; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__80; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__22; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__110; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__5; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__5; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8; static lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___rarg___closed__2; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__99; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__4; -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__33___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__36; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__33; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_RpcEncoding_foldWithConstructors___spec__1___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__91; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__154; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8(lean_object*, size_t, size_t, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__28(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1___closed__1; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_RpcEncoding_foldWithConstructors___spec__1___rarg___lambda__3(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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__153; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__6; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFields___spec__2(lean_object*); -static lean_object* l_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___closed__1; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__33; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__7; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__71; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__63; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__6; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___closed__2; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__2; lean_object* l_Lean_Meta_evalExpr_x27___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__62; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__3(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__166; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__16; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1; +lean_object* l_Lean_Syntax_getId(lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Server_RpcEncoding_withFields___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_String_endsWith(lean_object*, lean_object*); -static lean_object* l_Lean_Server_RpcEncoding_instInhabitedCtorState___closed__1; -lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__85; lean_object* l_Array_back___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__77; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__185; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__149; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__117; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__224; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_foldWithConstructors___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__66; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__56; lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__25; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__2; -size_t lean_usize_shift_left(size_t, size_t); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__24; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsFlattened___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__4; lean_object* lean_array_to_list(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__86; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__105; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__4; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__27; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Server_RpcEncoding_withFieldsAux___spec__2(lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__1; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__221; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__181; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__125; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__30(lean_object*, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__42; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35(size_t, size_t, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__4; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__16; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__19; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__51; -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__210; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__15; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__217; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__39; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__65; -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__16(lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Server_RpcEncoding_withFieldsAux___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__225; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__30; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___closed__2; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__10; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__155; lean_object* l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__182; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__200; static lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___rarg___closed__1; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__130; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_reverse___rarg(lean_object*); -uint8_t l_Array_isEmpty___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__37(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_Meta_withLocalDecls_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__47___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__28; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__76; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__176; -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__28(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Server_RpcEncoding_withFieldsAux___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__5; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__18; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__5; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__14; lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__1; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__35; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); -size_t lean_usize_mul(size_t, size_t); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__41___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___boxed(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__6; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__1; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__7; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__36; -LEAN_EXPORT uint8_t l_Lean_Server_RpcEncoding_isOptField(lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at_Lean_Server_RpcEncoding_withFields___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_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__28___rarg___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__171; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__89; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__3; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__30; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__33; +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__157; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__4; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__2; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__2; -lean_object* l_Lean_Elab_Command_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__44(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__2; size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_exprDependsOn___spec__4(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__50; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__34(lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__162; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__3; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor(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_RpcEncoding_deriveInductiveInstance___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__39; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__239; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__89; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__111; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__47; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__48; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__60; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__193; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__31; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___boxed(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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__223; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__15; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*); -lean_object* l_Lean_LocalDecl_fvarId(lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__3; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__191; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsAux___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__7; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__141; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__226; -lean_object* l_Lean_Meta_DiscrTree_mkPath(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__5; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__3; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__3; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__100; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__163; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__3___boxed(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_RpcEncoding_deriveInductiveInstance___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__35; 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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__53; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__3; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17(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_PrettyPrinter_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__142; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9___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_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFields___spec__2___rarg___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_Server_RpcEncoding_withFields___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__5; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__213; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___closed__2; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__1; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__184; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__229; +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11___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_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__119; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at_Lean_Server_RpcEncoding_withFieldsFlattened___spec__1(lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__29; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1(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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__152; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__17; -uint8_t l_Array_contains___at___private_Lean_Meta_Match_Value_0__Lean_Meta_isUIntTypeName___spec__1(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__5; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__2; lean_object* l_Lean_Name_getString_x21(lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__3; uint8_t l_Lean_Expr_isType(lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__44; +lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__19; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__57; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__46; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsFlattened___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -extern lean_object* l_Lean_Meta_DiscrTree_instInhabitedKey; +lean_object* lean_name_append_after(lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__1; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__236; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__6; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__1; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__86; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__178; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Parser_Term_matchAlt(lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__11; lean_object* lean_environment_main_module(lean_object*); -uint8_t lean_expr_eqv(lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__173; -static lean_object* l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3; -uint8_t l_Lean_Expr_isMVar(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__1; +static lean_object* l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_7985____closed__1; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t lean_nat_dec_le(lean_object*, lean_object*); -uint8_t lean_usize_dec_le(size_t, size_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__64; lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__25(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__83; lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); -uint8_t l_Lean_Expr_hasMVar(lean_object*); static lean_object* l_Lean_Server_RpcEncoding_withFields___rarg___closed__1; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__74; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__5(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__74; -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__46___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_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__2; +lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47; static lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__1___closed__3; lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__23___boxed(lean_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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__197; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__64; lean_object* l_Lean_quoteNameMk(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__45___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__23___closed__1; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__235; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__12___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__29; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__144; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_uniqEncArgTypes___default; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__50; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__6; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__4; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at_Lean_Server_RpcEncoding_withFieldsFlattened___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__80; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_RpcEncoding_foldWithConstructors___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__5(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__28___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__41; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__97; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__45(size_t, size_t, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__150; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__46; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__9; -LEAN_EXPORT lean_object* l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__147; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__4; -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__19___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsAux___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_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__18___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Meta_DiscrTree_Key_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__25___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__198; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsFlattened___spec__2(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__8; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4(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*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__8; -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__220; +lean_object* l_Array_ofSubarray___rarg(lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__26; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__195; lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__40___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11___rarg___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__96; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__216; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__72; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__227; -lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__27(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__28___boxed(lean_object*, lean_object*); -uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__12; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_foldWithConstructors(lean_object*); -static size_t l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4___closed__2; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4(lean_object*, size_t, lean_object*); -extern lean_object* l_Lean_instInhabitedName; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_binders___default; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__188; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__168; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__179; -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__15(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___boxed(lean_object**); lean_object* lean_infer_type(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_RpcEncoding_deriveInductiveInstance___spec__44___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__21; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__222; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__170; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__199; -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_isOptField___boxed(lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__7(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__107; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__82; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__38; -lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__87; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__59; -static lean_object* l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__7(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__6; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__209; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__5; +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_ctors___default; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Server_RpcEncoding_withFieldsFlattened___spec__3(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__135; -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__47(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__17(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__203; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__68; -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__33(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__4; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__145; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_RpcEncoding_foldWithConstructors___spec__1___rarg___lambda__4(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_withLocalDecls_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__47___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*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__45; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__31; -lean_object* l_Lean_Meta_DiscrTree_getMatch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__14___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___boxed(lean_object**); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__11; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__104; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__2; 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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__183; +lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__59; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__61; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__82; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__70; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at_Lean_Server_RpcEncoding_withFieldsFlattened___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__41(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__94; -lean_object* l_Lean_indentD(lean_object*); -static lean_object* l_Lean_Server_RpcEncoding_isOptField___closed__1; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__1; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__9; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__69; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_foldWithConstructors___rarg(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_RpcEncoding_deriveInductiveInstance___spec__12(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__36; lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__3; lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__245; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Server_RpcEncoding_withFields___spec__3(lean_object*); lean_object* lean_mk_syntax_ident(lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__233; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4(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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__34; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__34; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__88; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__218; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__180; +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_name_append_before(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__23; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__1; -LEAN_EXPORT lean_object* l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__14; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__2(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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__139; +lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__58; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__26; -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5; -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__201; -lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__38; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__21; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__7; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFields___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__57; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__129; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__4; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__131; -LEAN_EXPORT lean_object* l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__1; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__189; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__67; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__75; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__40; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__175; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__3; -static lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__1; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__7; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__23; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__113; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__31(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_encArgTypes___default; -lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_Elab_registerBuiltinDerivingHandlerWithArgs(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__13; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__27; +LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__10___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*); extern lean_object* l_Lean_levelOne; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__43___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__24; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__143; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__42___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__11; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__26___boxed(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_throwError___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__87; -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_hasFVar(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__12(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_Meta_withLocalDecl___at_Lean_Server_RpcEncoding_withFieldsFlattened___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__27; -static lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__2; +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__2; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__187; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__159; -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__26___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__6; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__45; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__70; -static lean_object* l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_encodes___default; -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__205; -lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__83; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsAux___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__31___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__112; -uint64_t l_Lean_Meta_DiscrTree_Key_hash(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_RpcEncoding_foldWithConstructors___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__19; -static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__12; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__146; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__9; lean_object* l_Lean_Meta_forallTelescopeReducing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__25___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__29___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_DiscrTree_instInhabitedTrie(lean_object*); -static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__194; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__40; static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__67; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__24(lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__25(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_8944_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_7985_(lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__4; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__5; uint8_t l_Lean_isStructure(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__122; -LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__44; -lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsFlattened(lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__9; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*, 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_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsAux___spec__1___rarg___lambda__3___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__1() { _start: { @@ -937,7 +685,7 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("section", 7); +x_1 = lean_mk_string_from_bytes("declaration", 11); return x_1; } } @@ -954,31 +702,26 @@ return x_3; static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11() { _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_object* x_1; +x_1 = lean_mk_string_from_bytes("declModifiers", 13); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(2); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -x_4 = lean_alloc_ctor(1, 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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(2u); +x_1 = lean_unsigned_to_nat(0u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } @@ -986,107 +729,36 @@ return x_2; static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("variable", 8); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Term", 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__6; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__16; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__18() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("implicitBinder", 14); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__18; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__20() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("{", 1); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__21() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("m", 1); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__21; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__23() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__21; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__22; -x_4 = lean_alloc_ctor(0, 3, 0); +x_1 = lean_box(2); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; +x_4 = lean_alloc_ctor(1, 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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__24() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unsafe", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__21; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__15; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -1095,46 +767,128 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(6u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__18; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__19; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__20; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__21; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__23() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes(":", 1); +x_1 = lean_mk_string_from_bytes("def", 3); return x_1; } } +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__23; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("declId", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__27() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("arrow", 5); +x_1 = lean_mk_string_from_bytes("unsafeInst", 10); return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__28() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__27; -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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__27; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__29() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("type", 4); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__27; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__28; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__29; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__27; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -1142,50 +896,53 @@ return x_3; static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Type", 4); -return x_1; +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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__32() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("→", 3); +x_1 = lean_mk_string_from_bytes("optDeclSig", 10); return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__33() { _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_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__32; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__34() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("}", 1); +x_1 = lean_mk_string_from_bytes("Term", 4); return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35() { _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_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__6; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__34; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__36() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("declaration", 11); +x_1 = lean_mk_string_from_bytes("typeSpec", 8); return x_1; } } @@ -1193,7 +950,7 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__36; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -1203,231 +960,244 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("declModifiers", 13); +x_1 = lean_mk_string_from_bytes(":", 1); return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__38; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__40() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("unsafe", 6); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__41() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__40; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__42() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(6u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__42; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__45() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__44; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__46() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__45; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("def", 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__48() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__49() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("declId", 6); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__50() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__49; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__51() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("encodeUnsafe", 12); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__51; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__53() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__51; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__54() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__51; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__55() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("optDeclSig", 10); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__56() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__55; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__57() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("instBinder", 10); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__58() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__57; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__59() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("[", 1); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string_from_bytes("app", 3); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__40() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__41() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("RpcEncoding", 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__42() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__41; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__41; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__42; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__41; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__45() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Server", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__46() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__45; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__46; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__41; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__48() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__49() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__48; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__50() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("paren", 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__51() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__50; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("(", 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__53() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("WithRpcRef", 10); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__54() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__53; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__55() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__53; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__54; +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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__56() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__53; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__57() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__46; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__53; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__58() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__57; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(")", 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61() { +_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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__62() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Monad", 5); +x_1 = lean_mk_string_from_bytes("Lsp.RpcRef", 10); return x_1; } } @@ -1457,11 +1227,9 @@ return x_4; static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__65() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__62; -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("Lsp", 3); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__66() { @@ -1470,61 +1238,58 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__65; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__67() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__66; -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; +x_1 = lean_mk_string_from_bytes("RpcRef", 6); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__68() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("]", 1); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__66; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__67; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__69() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("MonadRpcSession", 15); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__65; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__70() { _start: { -lean_object* x_1; lean_object* x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__69; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__67; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__71() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__69; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__70; -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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__70; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__72() { @@ -1532,35 +1297,37 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__69; -x_3 = l_Lean_Name_str___override(x_1, x_2); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__71; +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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__73() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Server", 6); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__74() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__73; -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("whereStructInst", 15); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__75() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__74; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__69; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__74; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -1568,118 +1335,89 @@ return x_3; static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__76() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__75; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("where", 5); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__77() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__76; -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; +x_1 = lean_mk_string_from_bytes("whereStructField", 16); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__78() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("explicitBinder", 14); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__77; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__79() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__78; -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("letDecl", 7); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__80() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("(", 1); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__79; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__81() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("r", 1); +x_1 = lean_mk_string_from_bytes("letIdDecl", 9); return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__82() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__81; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__83() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__81; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___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); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__84() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__81; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__85() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__83() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("WithRpcRef", 10); +x_1 = lean_mk_string_from_bytes("rpcEncode", 9); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__86() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__84() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__85; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__83; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__87() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__85() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__85; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__83; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__86; +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__84; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1687,13 +1425,35 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__86() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__83; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__87() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__83; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__88() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__85; -x_3 = l_Lean_Name_str___override(x_1, x_2); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__87; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -1701,58 +1461,58 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__74; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__85; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__90() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__89; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__91() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__90; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__88; 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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__92() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__90() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes(")", 1); +x_1 = lean_mk_string_from_bytes(":=", 2); return x_1; } } +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__91() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("WithRpcRef.encodeUnsafe", 23); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__92() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__91; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(5u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__91; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__92; +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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__94() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("typeSpec", 8); +x_1 = lean_mk_string_from_bytes("encodeUnsafe", 12); return x_1; } } @@ -1760,7 +1520,7 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__56; x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__94; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -1769,27 +1529,70 @@ return x_3; static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__96() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lsp.RpcRef", 10); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__57; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__94; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__97() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__96; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__96; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__98() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__97; +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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__99() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__100() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rpcDecode", 9); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__101() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__100; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__102() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__96; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__100; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__97; +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__101; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1797,48 +1600,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__99() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lsp", 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__100() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__99; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__101() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("RpcRef", 6); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__102() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__100; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__101; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__103() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__99; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__100; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -1847,8 +1614,8 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__103; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__101; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__100; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -1881,52 +1648,26 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("declValSimple", 13); +x_1 = lean_mk_string_from_bytes("WithRpcRef.decodeUnsafeAs", 25); return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__108() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__107; -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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__107; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__109() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(":=", 2); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__110() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("WithRpcRef.encodeUnsafe", 23); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__111() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__110; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__112() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__110; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__107; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__111; +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__108; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1934,13 +1675,43 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__110() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("decodeUnsafeAs", 14); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__111() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__56; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__110; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__112() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__57; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__110; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__113() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__88; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__51; -x_3 = l_Lean_Name_str___override(x_1, x_2); +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__112; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -1948,37 +1719,24 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__89; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__51; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__114; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__116() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__113; 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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__117() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115() { +_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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__116() { _start: { lean_object* x_1; lean_object* x_2; @@ -1987,7 +1745,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__118() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__117() { _start: { lean_object* x_1; @@ -1995,17 +1753,17 @@ x_1 = lean_mk_string_from_bytes("attributes", 10); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__119() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__118() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__118; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__117; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__120() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__119() { _start: { lean_object* x_1; @@ -2013,7 +1771,7 @@ x_1 = lean_mk_string_from_bytes("@[", 2); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__121() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__120() { _start: { lean_object* x_1; @@ -2021,17 +1779,17 @@ x_1 = lean_mk_string_from_bytes("attrInstance", 12); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__122() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__121() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__121; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__120; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__123() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__122() { _start: { lean_object* x_1; @@ -2039,33 +1797,33 @@ x_1 = lean_mk_string_from_bytes("attrKind", 8); return x_1; } } +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__123() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__122; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__124() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__123; -x_3 = l_Lean_Name_str___override(x_1, x_2); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_3 = lean_array_push(x_1, x_2); return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__125() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__126() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__124; -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__125; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__123; +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__124; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2073,7 +1831,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__127() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__126() { _start: { lean_object* x_1; @@ -2081,17 +1839,17 @@ x_1 = lean_mk_string_from_bytes("Attr", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__128() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__127() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__6; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__127; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__126; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__129() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__128() { _start: { lean_object* x_1; @@ -2099,17 +1857,17 @@ x_1 = lean_mk_string_from_bytes("simple", 6); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__130() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__129() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__128; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__129; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__127; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__128; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__131() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__130() { _start: { lean_object* x_1; @@ -2117,22 +1875,22 @@ x_1 = lean_mk_string_from_bytes("implementedBy", 13); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__132() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__131() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__131; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__130; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__133() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__132() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__131; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__130; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__132; +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__131; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2140,24 +1898,32 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__134() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__133() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__131; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__130; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__134() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__125; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__135() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__126; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("]", 1); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__136() { @@ -2182,7 +1948,7 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("encode", 6); +x_1 = lean_mk_string_from_bytes("inst", 4); return x_1; } } @@ -2240,28 +2006,31 @@ return x_3; static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__144() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("pure", 4); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__22; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__145() { _start: { -lean_object* x_1; lean_object* x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__144; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__146() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__144; -x_2 = lean_unsigned_to_nat(0u); +x_1 = lean_box(2); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__145; -x_4 = lean_alloc_ctor(0, 3, 0); +x_4 = lean_alloc_ctor(1, 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); @@ -2271,37 +2040,35 @@ return x_4; static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__147() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__144; -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("instance", 8); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__148() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Pure", 4); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__147; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__149() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__148; -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("declValSimple", 13); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__150() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__149; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__144; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__149; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -2309,940 +2076,33 @@ return x_3; static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__151() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__150; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__152() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__151; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__153() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("anonymousCtor", 13); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__154() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__153; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__155() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("⟨", 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__156() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("num", 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__157() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__156; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__158() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("0", 1); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__159() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("⟩", 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__160() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("decodeUnsafe", 12); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__161() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__160; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__162() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__160; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__161; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__163() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__160; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__164() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("ExceptT", 7); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__165() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__164; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__166() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__164; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__165; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__167() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__164; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__168() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__167; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__169() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__168; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__170() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("String", 6); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__171() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__170; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__172() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__170; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__171; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__173() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__170; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__174() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__173; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__175() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__174; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__176() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("paren", 5); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__177() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__176; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__178() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("WithRpcRef.decodeUnsafeAs", 25); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__179() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__178; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__180() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__178; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__179; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__181() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("decodeUnsafeAs", 14); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__182() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__88; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__181; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__183() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__89; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__181; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__184() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__183; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__185() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__184; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__186() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("decode", 6); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__187() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__186; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__188() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__186; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__187; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__189() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__186; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__190() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("throw", 5); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__191() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__190; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__192() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__190; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__191; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__193() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__190; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__194() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("MonadExcept", 11); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__195() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__194; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__196() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__195; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__190; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__197() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__196; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__198() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__197; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__199() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("str", 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__200() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__199; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__201() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("\"unreachable\"", 13); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__202() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__46; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__203() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__202; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__204() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(2); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__203; -x_4 = lean_alloc_ctor(1, 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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__205() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("instance", 8); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__206() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__205; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__207() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("RpcEncoding", 11); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__208() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__207; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__209() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__207; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__208; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__210() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__207; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__211() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__74; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__207; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__212() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__211; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__213() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__212; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__214() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__215() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("structInst", 10); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__216() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__215; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__217() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("structInstField", 15); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__218() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__217; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__219() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("structInstLVal", 14); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__220() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__219; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__221() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("rpcEncode", 9); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__222() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__221; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__223() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__221; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__222; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__224() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__221; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__225() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__211; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__221; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__226() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__225; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__227() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__226; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__228() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("rpcDecode", 9); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__229() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__228; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__230() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__228; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__229; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__231() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__228; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__232() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__211; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__228; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__233() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__232; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__234() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__233; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__235() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("optEllipsis", 11); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__236() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__235; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__237() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(2); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__236; -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__125; -x_4 = lean_alloc_ctor(1, 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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__238() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(8u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__239() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__152() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__238; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__126; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__151; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__125; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__240() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__153() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__204; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__146; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__241() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("end", 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__242() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__241; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__243() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__154() { _start: { lean_object* x_1; @@ -3250,17 +2110,17 @@ x_1 = lean_mk_string_from_bytes("quotedName", 10); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__244() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__155() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__243; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__154; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__245() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__156() { _start: { lean_object* x_1; @@ -3268,7 +2128,7 @@ x_1 = lean_mk_string_from_bytes(".", 1); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__246() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__157() { _start: { lean_object* x_1; @@ -3279,7 +2139,7 @@ return x_1; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance(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_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_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 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_inc(x_1); x_5 = lean_mk_syntax_ident(x_1); x_6 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfInstance___spec__11(x_2, x_3, x_4); @@ -3300,1124 +2160,566 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__9; +x_15 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__15; lean_inc(x_7); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_7); lean_ctor_set(x_16, 1, x_15); -x_17 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; +x_17 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; x_18 = lean_array_push(x_17, x_16); -x_19 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_20 = lean_array_push(x_18, x_19); -x_21 = lean_box(2); -x_22 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__10; -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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; -lean_inc(x_7); -x_25 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_25, 0, x_7); -lean_ctor_set(x_25, 1, x_24); -x_26 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__20; -lean_inc(x_7); -x_27 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_27, 0, x_7); -lean_ctor_set(x_27, 1, x_26); -x_28 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__24; -lean_inc(x_10); -lean_inc(x_13); -x_29 = l_Lean_addMacroScope(x_13, x_28, x_10); -x_30 = lean_box(0); +x_19 = lean_box(2); +x_20 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__16; +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_array_push(x_17, x_21); +x_23 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; +x_24 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +lean_ctor_set(x_24, 2, x_22); +x_25 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__22; +x_26 = lean_array_push(x_25, x_24); +x_27 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_28 = lean_array_push(x_26, x_27); +x_29 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; +x_30 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_30, 0, x_19); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_28); x_31 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__23; lean_inc(x_7); -x_32 = lean_alloc_ctor(3, 4, 0); +x_32 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_32, 0, x_7); 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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -lean_inc(x_32); -x_34 = lean_array_push(x_33, x_32); -x_35 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_36 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_36, 0, x_21); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_36, 2, x_34); -x_37 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26; -lean_inc(x_7); -x_38 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_38, 0, x_7); -lean_ctor_set(x_38, 1, x_37); -x_39 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; -lean_inc(x_7); -x_40 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_40, 0, x_7); -lean_ctor_set(x_40, 1, x_39); -x_41 = lean_array_push(x_17, x_40); -x_42 = lean_array_push(x_41, x_19); -x_43 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__30; -x_44 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_44, 0, x_21); -lean_ctor_set(x_44, 1, x_43); -lean_ctor_set(x_44, 2, x_42); -x_45 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__32; -lean_inc(x_7); -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_7); -lean_ctor_set(x_46, 1, x_45); -x_47 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__33; -lean_inc(x_44); -x_48 = lean_array_push(x_47, x_44); -x_49 = lean_array_push(x_48, x_46); -x_50 = lean_array_push(x_49, x_44); -x_51 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__28; -x_52 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_52, 0, x_21); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_52, 2, x_50); -x_53 = lean_array_push(x_17, x_38); -lean_inc(x_53); -x_54 = lean_array_push(x_53, x_52); -x_55 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_55, 0, x_21); -lean_ctor_set(x_55, 1, x_35); -lean_ctor_set(x_55, 2, x_54); -x_56 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__34; -lean_inc(x_7); -x_57 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_57, 0, x_7); -lean_ctor_set(x_57, 1, x_56); -x_58 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -lean_inc(x_27); -x_59 = lean_array_push(x_58, x_27); -lean_inc(x_36); -x_60 = lean_array_push(x_59, x_36); -x_61 = lean_array_push(x_60, x_55); -lean_inc(x_57); -x_62 = lean_array_push(x_61, x_57); -x_63 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__19; -x_64 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_64, 0, x_21); -lean_ctor_set(x_64, 1, x_63); -lean_ctor_set(x_64, 2, x_62); -x_65 = lean_array_push(x_33, x_64); -x_66 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_66, 0, x_21); -lean_ctor_set(x_66, 1, x_35); -lean_ctor_set(x_66, 2, x_65); -x_67 = lean_array_push(x_17, x_25); -x_68 = lean_array_push(x_67, x_66); -x_69 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__15; -x_70 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_70, 0, x_21); -lean_ctor_set(x_70, 1, x_69); -lean_ctor_set(x_70, 2, x_68); -x_71 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__40; -lean_inc(x_7); -x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_7); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_array_push(x_33, x_72); -x_74 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__41; -x_75 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_75, 0, x_21); -lean_ctor_set(x_75, 1, x_74); -lean_ctor_set(x_75, 2, x_73); -x_76 = lean_array_push(x_33, x_75); -x_77 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_77, 0, x_21); -lean_ctor_set(x_77, 1, x_35); -lean_ctor_set(x_77, 2, x_76); -x_78 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__46; -x_79 = lean_array_push(x_78, x_77); -x_80 = lean_array_push(x_79, x_19); -x_81 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; -x_82 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_82, 0, x_21); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set(x_82, 2, x_80); -x_83 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47; -lean_inc(x_7); -x_84 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_84, 0, x_7); -lean_ctor_set(x_84, 1, x_83); -x_85 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__54; +x_33 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__30; lean_inc(x_10); lean_inc(x_13); -x_86 = l_Lean_addMacroScope(x_13, x_85, x_10); -x_87 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__53; +x_34 = l_Lean_addMacroScope(x_13, x_33, x_10); +x_35 = lean_box(0); +x_36 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__29; lean_inc(x_7); -x_88 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_88, 0, x_7); +x_37 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_37, 0, x_7); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_37, 2, x_34); +lean_ctor_set(x_37, 3, x_35); +x_38 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +lean_inc(x_37); +x_39 = lean_array_push(x_38, x_37); +x_40 = lean_array_push(x_39, x_27); +x_41 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26; +x_42 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_42, 0, x_19); +lean_ctor_set(x_42, 1, x_41); +lean_ctor_set(x_42, 2, x_40); +x_43 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__38; +lean_inc(x_7); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_7); +lean_ctor_set(x_44, 1, x_43); +x_45 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__44; +lean_inc(x_10); +lean_inc(x_13); +x_46 = l_Lean_addMacroScope(x_13, x_45, x_10); +x_47 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43; +x_48 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__49; +lean_inc(x_7); +x_49 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_49, 0, x_7); +lean_ctor_set(x_49, 1, x_47); +lean_ctor_set(x_49, 2, x_46); +lean_ctor_set(x_49, 3, x_48); +x_50 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52; +lean_inc(x_7); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_7); +lean_ctor_set(x_51, 1, x_50); +x_52 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__56; +lean_inc(x_10); +lean_inc(x_13); +x_53 = l_Lean_addMacroScope(x_13, x_52, x_10); +x_54 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__55; +x_55 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__59; +lean_inc(x_7); +x_56 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_56, 0, x_7); +lean_ctor_set(x_56, 1, x_54); +lean_ctor_set(x_56, 2, x_53); +lean_ctor_set(x_56, 3, x_55); +lean_inc(x_5); +x_57 = lean_array_push(x_17, x_5); +x_58 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_58, 0, x_19); +lean_ctor_set(x_58, 1, x_23); +lean_ctor_set(x_58, 2, x_57); +x_59 = lean_array_push(x_38, x_56); +x_60 = lean_array_push(x_59, x_58); +x_61 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__40; +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_19); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set(x_62, 2, x_60); +x_63 = lean_array_push(x_38, x_62); +x_64 = lean_array_push(x_63, x_27); +x_65 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_65, 0, x_19); +lean_ctor_set(x_65, 1, x_23); +lean_ctor_set(x_65, 2, x_64); +x_66 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; +lean_inc(x_7); +x_67 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_67, 0, x_7); +lean_ctor_set(x_67, 1, x_66); +x_68 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; +x_69 = lean_array_push(x_68, x_51); +x_70 = lean_array_push(x_69, x_65); +x_71 = lean_array_push(x_70, x_67); +x_72 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__51; +x_73 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_73, 0, x_19); +lean_ctor_set(x_73, 1, x_72); +lean_ctor_set(x_73, 2, x_71); +x_74 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__68; +lean_inc(x_10); +lean_inc(x_13); +x_75 = l_Lean_addMacroScope(x_13, x_74, x_10); +x_76 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__64; +x_77 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__72; +lean_inc(x_7); +x_78 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_78, 0, x_7); +lean_ctor_set(x_78, 1, x_76); +lean_ctor_set(x_78, 2, x_75); +lean_ctor_set(x_78, 3, x_77); +x_79 = lean_array_push(x_38, x_73); +x_80 = lean_array_push(x_79, x_78); +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_19); +lean_ctor_set(x_81, 1, x_23); +lean_ctor_set(x_81, 2, x_80); +x_82 = lean_array_push(x_38, x_49); +x_83 = lean_array_push(x_82, x_81); +x_84 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_84, 0, x_19); +lean_ctor_set(x_84, 1, x_61); +lean_ctor_set(x_84, 2, x_83); +x_85 = lean_array_push(x_38, x_44); +x_86 = lean_array_push(x_85, x_84); +x_87 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__37; +x_88 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_88, 0, x_19); lean_ctor_set(x_88, 1, x_87); lean_ctor_set(x_88, 2, x_86); -lean_ctor_set(x_88, 3, x_30); lean_inc(x_88); x_89 = lean_array_push(x_17, x_88); -x_90 = lean_array_push(x_89, x_19); -x_91 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__50; -x_92 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_92, 0, x_21); -lean_ctor_set(x_92, 1, x_91); -lean_ctor_set(x_92, 2, x_90); -x_93 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__59; -lean_inc(x_7); -x_94 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_94, 0, x_7); +x_90 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_90, 0, x_19); +lean_ctor_set(x_90, 1, x_23); +lean_ctor_set(x_90, 2, x_89); +x_91 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__73; +x_92 = lean_array_push(x_91, x_90); +x_93 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__33; +x_94 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_94, 0, x_19); lean_ctor_set(x_94, 1, x_93); -x_95 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__65; +lean_ctor_set(x_94, 2, x_92); +x_95 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__76; +lean_inc(x_7); +x_96 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_96, 0, x_7); +lean_ctor_set(x_96, 1, x_95); +x_97 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__86; lean_inc(x_10); lean_inc(x_13); -x_96 = l_Lean_addMacroScope(x_13, x_95, x_10); -x_97 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__64; -x_98 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__67; +x_98 = l_Lean_addMacroScope(x_13, x_97, x_10); +x_99 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__85; +x_100 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__89; lean_inc(x_7); -x_99 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_99, 0, x_7); -lean_ctor_set(x_99, 1, x_97); -lean_ctor_set(x_99, 2, x_96); -lean_ctor_set(x_99, 3, x_98); -x_100 = lean_array_push(x_17, x_99); -lean_inc(x_36); -x_101 = lean_array_push(x_100, x_36); -x_102 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; -x_103 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_103, 0, x_21); +x_101 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_101, 0, x_7); +lean_ctor_set(x_101, 1, x_99); +lean_ctor_set(x_101, 2, x_98); +lean_ctor_set(x_101, 3, x_100); +x_102 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__90; +lean_inc(x_7); +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_7); lean_ctor_set(x_103, 1, x_102); -lean_ctor_set(x_103, 2, x_101); -x_104 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__68; -lean_inc(x_7); -x_105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_105, 0, x_7); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_array_push(x_58, x_94); -x_107 = lean_array_push(x_106, x_19); -lean_inc(x_107); -x_108 = lean_array_push(x_107, x_103); -lean_inc(x_105); -x_109 = lean_array_push(x_108, x_105); -x_110 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__58; -x_111 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_111, 0, x_21); -lean_ctor_set(x_111, 1, x_110); -lean_ctor_set(x_111, 2, x_109); -x_112 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__72; +x_104 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__95; lean_inc(x_10); lean_inc(x_13); -x_113 = l_Lean_addMacroScope(x_13, x_112, x_10); -x_114 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__71; -x_115 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__77; +x_105 = l_Lean_addMacroScope(x_13, x_104, x_10); +x_106 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93; +x_107 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__98; lean_inc(x_7); -x_116 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_116, 0, x_7); -lean_ctor_set(x_116, 1, x_114); -lean_ctor_set(x_116, 2, x_113); -lean_ctor_set(x_116, 3, x_115); -x_117 = lean_array_push(x_17, x_116); -x_118 = lean_array_push(x_117, x_36); -x_119 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_119, 0, x_21); -lean_ctor_set(x_119, 1, x_102); -lean_ctor_set(x_119, 2, x_118); -x_120 = lean_array_push(x_107, x_119); -lean_inc(x_105); -x_121 = lean_array_push(x_120, x_105); -x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_21); -lean_ctor_set(x_122, 1, x_110); -lean_ctor_set(x_122, 2, x_121); -x_123 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__80; -lean_inc(x_7); -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_7); -lean_ctor_set(x_124, 1, x_123); -x_125 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__84; +x_108 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_108, 0, x_7); +lean_ctor_set(x_108, 1, x_106); +lean_ctor_set(x_108, 2, x_105); +lean_ctor_set(x_108, 3, x_107); +lean_inc(x_1); +x_109 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_35, x_1); +x_110 = lean_array_push(x_38, x_108); +x_111 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__99; +x_112 = lean_array_push(x_111, x_101); +x_113 = lean_array_push(x_112, x_27); +x_114 = lean_array_push(x_113, x_27); +lean_inc(x_103); +x_115 = lean_array_push(x_114, x_103); +x_116 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__103; lean_inc(x_10); lean_inc(x_13); -x_126 = l_Lean_addMacroScope(x_13, x_125, x_10); -x_127 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__83; +x_117 = l_Lean_addMacroScope(x_13, x_116, x_10); +x_118 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__102; +x_119 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__106; lean_inc(x_7); -x_128 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_128, 0, x_7); -lean_ctor_set(x_128, 1, x_127); -lean_ctor_set(x_128, 2, x_126); -lean_ctor_set(x_128, 3, x_30); -lean_inc(x_128); -x_129 = lean_array_push(x_33, x_128); -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 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__88; +x_120 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_120, 0, x_7); +lean_ctor_set(x_120, 1, x_118); +lean_ctor_set(x_120, 2, x_117); +lean_ctor_set(x_120, 3, x_119); +x_121 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__111; lean_inc(x_10); lean_inc(x_13); -x_132 = l_Lean_addMacroScope(x_13, x_131, x_10); -x_133 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__87; -x_134 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__91; +x_122 = l_Lean_addMacroScope(x_13, x_121, x_10); +x_123 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__109; +x_124 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__114; lean_inc(x_7); -x_135 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_135, 0, x_7); -lean_ctor_set(x_135, 1, x_133); -lean_ctor_set(x_135, 2, x_132); -lean_ctor_set(x_135, 3, x_134); -lean_inc(x_5); -x_136 = lean_array_push(x_33, x_5); -x_137 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_137, 0, x_21); -lean_ctor_set(x_137, 1, x_35); -lean_ctor_set(x_137, 2, x_136); -x_138 = lean_array_push(x_17, x_135); -x_139 = lean_array_push(x_138, x_137); -x_140 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_140, 0, x_21); -lean_ctor_set(x_140, 1, x_102); -lean_ctor_set(x_140, 2, x_139); -lean_inc(x_140); -lean_inc(x_53); -x_141 = lean_array_push(x_53, x_140); -x_142 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_142, 0, x_21); -lean_ctor_set(x_142, 1, x_35); -lean_ctor_set(x_142, 2, x_141); -x_143 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__92; +x_125 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_125, 0, x_7); +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_38, x_5); +x_127 = lean_array_push(x_38, x_125); +x_128 = lean_array_push(x_111, x_120); +x_129 = lean_array_push(x_128, x_27); +x_130 = lean_array_push(x_129, x_27); +lean_inc(x_103); +x_131 = lean_array_push(x_130, x_103); +x_132 = lean_array_push(x_68, x_96); +x_133 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__116; +x_134 = lean_array_push(x_133, x_32); +x_135 = lean_array_push(x_134, x_42); +x_136 = lean_array_push(x_135, x_94); +x_137 = lean_array_push(x_38, x_30); +x_138 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__119; lean_inc(x_7); -x_144 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_144, 0, x_7); -lean_ctor_set(x_144, 1, x_143); -x_145 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93; -lean_inc(x_124); -x_146 = lean_array_push(x_145, x_124); -x_147 = lean_array_push(x_146, x_130); -lean_inc(x_147); -x_148 = lean_array_push(x_147, x_142); -x_149 = lean_array_push(x_148, x_19); -lean_inc(x_144); -x_150 = lean_array_push(x_149, x_144); -x_151 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__79; -x_152 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_152, 0, x_21); -lean_ctor_set(x_152, 1, x_151); -lean_ctor_set(x_152, 2, x_150); -x_153 = lean_array_push(x_47, x_111); -x_154 = lean_array_push(x_153, x_122); -lean_inc(x_154); -x_155 = lean_array_push(x_154, x_152); -x_156 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_156, 0, x_21); -lean_ctor_set(x_156, 1, x_35); -lean_ctor_set(x_156, 2, x_155); -x_157 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__102; +x_139 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_139, 0, x_7); +lean_ctor_set(x_139, 1, x_138); +x_140 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__133; lean_inc(x_10); lean_inc(x_13); -x_158 = l_Lean_addMacroScope(x_13, x_157, x_10); -x_159 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__98; -x_160 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__106; +x_141 = l_Lean_addMacroScope(x_13, x_140, x_10); +x_142 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__132; lean_inc(x_7); -x_161 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_161, 0, x_7); -lean_ctor_set(x_161, 1, x_159); -lean_ctor_set(x_161, 2, x_158); -lean_ctor_set(x_161, 3, x_160); -lean_inc(x_161); -x_162 = lean_array_push(x_33, x_161); -x_163 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_163, 0, x_21); -lean_ctor_set(x_163, 1, x_35); -lean_ctor_set(x_163, 2, x_162); -lean_inc(x_32); -x_164 = lean_array_push(x_17, x_32); -x_165 = lean_array_push(x_164, x_163); -x_166 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_166, 0, x_21); -lean_ctor_set(x_166, 1, x_102); -lean_ctor_set(x_166, 2, x_165); -lean_inc(x_53); -x_167 = lean_array_push(x_53, x_166); -x_168 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__95; -x_169 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_169, 0, x_21); -lean_ctor_set(x_169, 1, x_168); -lean_ctor_set(x_169, 2, x_167); -lean_inc(x_169); -x_170 = lean_array_push(x_33, x_169); +x_143 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_143, 0, x_7); +lean_ctor_set(x_143, 1, x_142); +lean_ctor_set(x_143, 2, x_141); +lean_ctor_set(x_143, 3, x_35); +x_144 = lean_array_push(x_17, x_37); +x_145 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_145, 0, x_19); +lean_ctor_set(x_145, 1, x_23); +lean_ctor_set(x_145, 2, x_144); +x_146 = lean_array_push(x_38, x_143); +x_147 = lean_array_push(x_146, x_145); +x_148 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__129; +x_149 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_149, 0, x_19); +lean_ctor_set(x_149, 1, x_148); +lean_ctor_set(x_149, 2, x_147); +x_150 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__134; +x_151 = lean_array_push(x_150, x_149); +x_152 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__121; +x_153 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_153, 0, x_19); +lean_ctor_set(x_153, 1, x_152); +lean_ctor_set(x_153, 2, x_151); +x_154 = lean_array_push(x_17, x_153); +x_155 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_155, 0, x_19); +lean_ctor_set(x_155, 1, x_23); +lean_ctor_set(x_155, 2, x_154); +x_156 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__135; +lean_inc(x_7); +x_157 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_157, 0, x_7); +lean_ctor_set(x_157, 1, x_156); +x_158 = lean_array_push(x_68, x_139); +x_159 = lean_array_push(x_158, x_155); +x_160 = lean_array_push(x_159, x_157); +x_161 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__118; +x_162 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_162, 0, x_19); +lean_ctor_set(x_162, 1, x_161); +lean_ctor_set(x_162, 2, x_160); +x_163 = lean_array_push(x_17, x_162); +x_164 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_164, 0, x_19); +lean_ctor_set(x_164, 1, x_23); +lean_ctor_set(x_164, 2, x_163); +x_165 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__19; +x_166 = lean_array_push(x_165, x_164); +x_167 = lean_array_push(x_166, x_27); +x_168 = lean_array_push(x_167, x_27); +x_169 = lean_array_push(x_168, x_27); +x_170 = lean_array_push(x_169, x_27); x_171 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_171, 0, x_21); -lean_ctor_set(x_171, 1, x_35); +lean_ctor_set(x_171, 0, x_19); +lean_ctor_set(x_171, 1, x_29); lean_ctor_set(x_171, 2, x_170); -x_172 = lean_array_push(x_17, x_156); -lean_inc(x_172); -x_173 = lean_array_push(x_172, x_171); -x_174 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__56; -x_175 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_175, 0, x_21); -lean_ctor_set(x_175, 1, x_174); -lean_ctor_set(x_175, 2, x_173); -x_176 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__109; +x_172 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__136; lean_inc(x_7); -x_177 = lean_alloc_ctor(2, 2, 0); +x_173 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_173, 0, x_7); +lean_ctor_set(x_173, 1, x_172); +x_174 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__141; +x_175 = l_Lean_addMacroScope(x_13, x_174, x_10); +x_176 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__140; +lean_inc(x_7); +x_177 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_177, 0, x_7); lean_ctor_set(x_177, 1, x_176); -x_178 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__113; -lean_inc(x_10); -lean_inc(x_13); -x_179 = l_Lean_addMacroScope(x_13, x_178, x_10); -x_180 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__112; -x_181 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__116; -lean_inc(x_7); -x_182 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_182, 0, x_7); -lean_ctor_set(x_182, 1, x_180); -lean_ctor_set(x_182, 2, x_179); -lean_ctor_set(x_182, 3, x_181); -lean_inc(x_1); -x_183 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_30, x_1); -x_184 = lean_array_push(x_17, x_182); +lean_ctor_set(x_177, 2, x_175); +lean_ctor_set(x_177, 3, x_35); lean_inc(x_177); -x_185 = lean_array_push(x_47, x_177); -x_186 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__117; -x_187 = lean_array_push(x_186, x_84); -lean_inc(x_187); -x_188 = lean_array_push(x_187, x_92); -x_189 = lean_array_push(x_188, x_175); -x_190 = lean_array_push(x_17, x_82); -x_191 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__120; -lean_inc(x_7); -x_192 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_192, 0, x_7); -lean_ctor_set(x_192, 1, x_191); -x_193 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__134; -lean_inc(x_10); -lean_inc(x_13); -x_194 = l_Lean_addMacroScope(x_13, x_193, x_10); -x_195 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__133; -lean_inc(x_7); -x_196 = lean_alloc_ctor(3, 4, 0); +x_178 = lean_array_push(x_38, x_177); +x_179 = lean_array_push(x_178, x_27); +x_180 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_180, 0, x_19); +lean_ctor_set(x_180, 1, x_41); +lean_ctor_set(x_180, 2, x_179); +x_181 = lean_array_push(x_91, x_88); +x_182 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__143; +x_183 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_183, 0, x_19); +lean_ctor_set(x_183, 1, x_182); +lean_ctor_set(x_183, 2, x_181); +x_184 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115; +x_185 = lean_array_push(x_184, x_173); +x_186 = lean_array_push(x_185, x_180); +lean_inc(x_183); +x_187 = lean_array_push(x_186, x_183); +x_188 = lean_array_push(x_187, x_27); +x_189 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__137; +x_190 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_190, 0, x_19); +lean_ctor_set(x_190, 1, x_189); +lean_ctor_set(x_190, 2, x_188); +x_191 = lean_array_push(x_38, x_171); +x_192 = lean_array_push(x_191, x_190); +x_193 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__10; +x_194 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_194, 0, x_19); +lean_ctor_set(x_194, 1, x_193); +lean_ctor_set(x_194, 2, x_192); +x_195 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__147; +x_196 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_196, 0, x_7); lean_ctor_set(x_196, 1, x_195); -lean_ctor_set(x_196, 2, x_194); -lean_ctor_set(x_196, 3, x_30); -x_197 = lean_array_push(x_33, x_88); -x_198 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_198, 0, x_21); -lean_ctor_set(x_198, 1, x_35); -lean_ctor_set(x_198, 2, x_197); -x_199 = lean_array_push(x_17, x_196); -lean_inc(x_199); -x_200 = lean_array_push(x_199, x_198); -x_201 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__130; -x_202 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_202, 0, x_21); -lean_ctor_set(x_202, 1, x_201); -lean_ctor_set(x_202, 2, x_200); -x_203 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__135; -x_204 = lean_array_push(x_203, x_202); -x_205 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__122; -x_206 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_206, 0, x_21); -lean_ctor_set(x_206, 1, x_205); -lean_ctor_set(x_206, 2, x_204); -x_207 = lean_array_push(x_33, x_206); -x_208 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_208, 0, x_21); -lean_ctor_set(x_208, 1, x_35); -lean_ctor_set(x_208, 2, x_207); -x_209 = lean_array_push(x_47, x_192); -lean_inc(x_209); -x_210 = lean_array_push(x_209, x_208); -lean_inc(x_105); -x_211 = lean_array_push(x_210, x_105); -x_212 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__119; -x_213 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_213, 0, x_21); -lean_ctor_set(x_213, 1, x_212); -lean_ctor_set(x_213, 2, x_211); -x_214 = lean_array_push(x_33, x_213); -x_215 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_215, 0, x_21); -lean_ctor_set(x_215, 1, x_35); -lean_ctor_set(x_215, 2, x_214); -x_216 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43; -x_217 = lean_array_push(x_216, x_215); -x_218 = lean_array_push(x_217, x_19); -x_219 = lean_array_push(x_218, x_19); -x_220 = lean_array_push(x_219, x_19); -x_221 = lean_array_push(x_220, x_19); +x_197 = lean_array_push(x_68, x_103); +x_198 = lean_array_push(x_197, x_177); +x_199 = lean_array_push(x_198, x_27); +x_200 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__150; +x_201 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_201, 0, x_19); +lean_ctor_set(x_201, 1, x_200); +lean_ctor_set(x_201, 2, x_199); +x_202 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__152; +x_203 = lean_array_push(x_202, x_196); +x_204 = lean_array_push(x_203, x_27); +x_205 = lean_array_push(x_204, x_27); +x_206 = lean_array_push(x_205, x_183); +x_207 = lean_array_push(x_206, x_201); +x_208 = lean_array_push(x_207, x_27); +x_209 = lean_array_push(x_208, x_27); +x_210 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__148; +x_211 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_211, 0, x_19); +lean_ctor_set(x_211, 1, x_210); +lean_ctor_set(x_211, 2, x_209); +x_212 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__153; +x_213 = lean_array_push(x_212, x_211); +x_214 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_214, 0, x_19); +lean_ctor_set(x_214, 1, x_193); +lean_ctor_set(x_214, 2, x_213); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_274; +x_274 = l_Lean_quoteNameMk(x_1); +x_215 = x_274; +goto block_273; +} +else +{ +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_dec(x_1); +x_275 = lean_ctor_get(x_109, 0); +lean_inc(x_275); +lean_dec(x_109); +x_276 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__156; +x_277 = l_String_intercalate(x_276, x_275); +x_278 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__157; +x_279 = lean_string_append(x_278, x_277); +lean_dec(x_277); +x_280 = l_Lean_Syntax_mkNameLit(x_279, x_19); +x_281 = lean_array_push(x_17, x_280); +x_282 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__155; +x_283 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_283, 0, x_19); +lean_ctor_set(x_283, 1, x_282); +lean_ctor_set(x_283, 2, x_281); +x_215 = x_283; +goto block_273; +} +block_273: +{ +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_inc(x_215); +x_216 = lean_array_push(x_17, x_215); +x_217 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_217, 0, x_19); +lean_ctor_set(x_217, 1, x_23); +lean_ctor_set(x_217, 2, x_216); +x_218 = lean_array_push(x_110, x_217); +x_219 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_219, 0, x_19); +lean_ctor_set(x_219, 1, x_61); +lean_ctor_set(x_219, 2, x_218); +x_220 = lean_array_push(x_115, x_219); +x_221 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__82; x_222 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_222, 0, x_21); -lean_ctor_set(x_222, 1, x_81); -lean_ctor_set(x_222, 2, x_221); -x_223 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__136; -lean_inc(x_7); -x_224 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_224, 0, x_7); -lean_ctor_set(x_224, 1, x_223); -x_225 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__141; -lean_inc(x_10); -lean_inc(x_13); -x_226 = l_Lean_addMacroScope(x_13, x_225, x_10); -x_227 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__140; -lean_inc(x_7); -x_228 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_228, 0, x_7); +lean_ctor_set(x_222, 0, x_19); +lean_ctor_set(x_222, 1, x_221); +lean_ctor_set(x_222, 2, x_220); +x_223 = lean_array_push(x_17, x_222); +x_224 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__80; +x_225 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_225, 0, x_19); +lean_ctor_set(x_225, 1, x_224); +lean_ctor_set(x_225, 2, x_223); +x_226 = lean_array_push(x_17, x_225); +x_227 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__78; +x_228 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_228, 0, x_19); lean_ctor_set(x_228, 1, x_227); lean_ctor_set(x_228, 2, x_226); -lean_ctor_set(x_228, 3, x_30); -lean_inc(x_228); -x_229 = lean_array_push(x_17, x_228); -x_230 = lean_array_push(x_229, x_19); -x_231 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_231, 0, x_21); -lean_ctor_set(x_231, 1, x_91); -lean_ctor_set(x_231, 2, x_230); -x_232 = lean_array_push(x_172, x_169); -x_233 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__143; +x_229 = lean_array_push(x_126, x_215); +x_230 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_230, 0, x_19); +lean_ctor_set(x_230, 1, x_23); +lean_ctor_set(x_230, 2, x_229); +x_231 = lean_array_push(x_127, x_230); +x_232 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_232, 0, x_19); +lean_ctor_set(x_232, 1, x_61); +lean_ctor_set(x_232, 2, x_231); +x_233 = lean_array_push(x_131, x_232); x_234 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_234, 0, x_21); -lean_ctor_set(x_234, 1, x_233); -lean_ctor_set(x_234, 2, x_232); -x_235 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__147; -lean_inc(x_10); -lean_inc(x_13); -x_236 = l_Lean_addMacroScope(x_13, x_235, x_10); -x_237 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__146; -x_238 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__152; -lean_inc(x_7); -x_239 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_239, 0, x_7); -lean_ctor_set(x_239, 1, x_237); -lean_ctor_set(x_239, 2, x_236); -lean_ctor_set(x_239, 3, x_238); -x_240 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__155; -lean_inc(x_7); -x_241 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_241, 0, x_7); -lean_ctor_set(x_241, 1, x_240); -x_242 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__158; -lean_inc(x_7); -x_243 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_243, 0, x_7); -lean_ctor_set(x_243, 1, x_242); -x_244 = lean_array_push(x_33, x_243); -x_245 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__157; -x_246 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_246, 0, x_21); -lean_ctor_set(x_246, 1, x_245); -lean_ctor_set(x_246, 2, x_244); -x_247 = lean_array_push(x_33, x_246); -x_248 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_248, 0, x_21); -lean_ctor_set(x_248, 1, x_35); -lean_ctor_set(x_248, 2, x_247); -x_249 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__159; -lean_inc(x_7); -x_250 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_250, 0, x_7); -lean_ctor_set(x_250, 1, x_249); -x_251 = lean_array_push(x_47, x_241); -x_252 = lean_array_push(x_251, x_248); -x_253 = lean_array_push(x_252, x_250); -x_254 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__154; +lean_ctor_set(x_234, 0, x_19); +lean_ctor_set(x_234, 1, x_221); +lean_ctor_set(x_234, 2, x_233); +x_235 = lean_array_push(x_17, x_234); +x_236 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_236, 0, x_19); +lean_ctor_set(x_236, 1, x_224); +lean_ctor_set(x_236, 2, x_235); +x_237 = lean_array_push(x_17, x_236); +x_238 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_238, 0, x_19); +lean_ctor_set(x_238, 1, x_227); +lean_ctor_set(x_238, 2, x_237); +x_239 = lean_array_push(x_184, x_228); +x_240 = lean_array_push(x_239, x_27); +x_241 = lean_array_push(x_240, x_238); +x_242 = lean_array_push(x_241, x_27); +x_243 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_243, 0, x_19); +lean_ctor_set(x_243, 1, x_23); +lean_ctor_set(x_243, 2, x_242); +x_244 = lean_array_push(x_132, x_243); +x_245 = lean_array_push(x_244, x_27); +x_246 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__75; +x_247 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_247, 0, x_19); +lean_ctor_set(x_247, 1, x_246); +lean_ctor_set(x_247, 2, x_245); +x_248 = lean_array_push(x_136, x_247); +x_249 = lean_array_push(x_248, x_27); +x_250 = lean_array_push(x_249, x_27); +x_251 = lean_array_push(x_250, x_27); +x_252 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__24; +x_253 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_253, 0, x_19); +lean_ctor_set(x_253, 1, x_252); +lean_ctor_set(x_253, 2, x_251); +x_254 = lean_array_push(x_137, x_253); x_255 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_255, 0, x_21); -lean_ctor_set(x_255, 1, x_254); -lean_ctor_set(x_255, 2, x_253); -x_256 = lean_array_push(x_33, x_255); -x_257 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_257, 0, x_21); -lean_ctor_set(x_257, 1, x_35); -lean_ctor_set(x_257, 2, x_256); -x_258 = lean_array_push(x_17, x_239); -x_259 = lean_array_push(x_258, x_257); -x_260 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_260, 0, x_21); -lean_ctor_set(x_260, 1, x_102); -lean_ctor_set(x_260, 2, x_259); -lean_inc(x_185); -x_261 = lean_array_push(x_185, x_260); -x_262 = lean_array_push(x_261, x_19); -x_263 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__108; -x_264 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_264, 0, x_21); -lean_ctor_set(x_264, 1, x_263); -lean_ctor_set(x_264, 2, x_262); -x_265 = lean_array_push(x_33, x_264); -x_266 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_266, 0, x_21); -lean_ctor_set(x_266, 1, x_35); -lean_ctor_set(x_266, 2, x_265); -x_267 = lean_array_push(x_58, x_224); -lean_inc(x_267); -x_268 = lean_array_push(x_267, x_231); -x_269 = lean_array_push(x_268, x_234); -x_270 = lean_array_push(x_269, x_266); -x_271 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__137; -x_272 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_272, 0, x_21); +lean_ctor_set(x_255, 0, x_19); +lean_ctor_set(x_255, 1, x_193); +lean_ctor_set(x_255, 2, x_254); +x_256 = lean_array_push(x_68, x_255); +x_257 = lean_array_push(x_256, x_194); +x_258 = lean_array_push(x_257, x_214); +x_259 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_259, 0, x_19); +lean_ctor_set(x_259, 1, x_23); +lean_ctor_set(x_259, 2, x_258); +x_260 = l_Lean_Elab_Command_elabCommand(x_259, x_2, x_3, x_14); +if (lean_obj_tag(x_260) == 0) +{ +uint8_t x_261; +x_261 = !lean_is_exclusive(x_260); +if (x_261 == 0) +{ +lean_object* x_262; uint8_t x_263; lean_object* x_264; +x_262 = lean_ctor_get(x_260, 0); +lean_dec(x_262); +x_263 = 1; +x_264 = lean_box(x_263); +lean_ctor_set(x_260, 0, x_264); +return x_260; +} +else +{ +lean_object* x_265; uint8_t x_266; lean_object* x_267; lean_object* x_268; +x_265 = lean_ctor_get(x_260, 1); +lean_inc(x_265); +lean_dec(x_260); +x_266 = 1; +x_267 = lean_box(x_266); +x_268 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_265); +return x_268; +} +} +else +{ +uint8_t x_269; +x_269 = !lean_is_exclusive(x_260); +if (x_269 == 0) +{ +return x_260; +} +else +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_270 = lean_ctor_get(x_260, 0); +x_271 = lean_ctor_get(x_260, 1); +lean_inc(x_271); +lean_inc(x_270); +lean_dec(x_260); +x_272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_272, 0, x_270); lean_ctor_set(x_272, 1, x_271); -lean_ctor_set(x_272, 2, x_270); -x_273 = lean_array_push(x_17, x_222); -x_274 = lean_array_push(x_273, x_272); -x_275 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__37; -x_276 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_276, 0, x_21); -lean_ctor_set(x_276, 1, x_275); -lean_ctor_set(x_276, 2, x_274); -x_277 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__163; -lean_inc(x_10); -lean_inc(x_13); -x_278 = l_Lean_addMacroScope(x_13, x_277, x_10); -x_279 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__162; -lean_inc(x_7); -x_280 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_280, 0, x_7); -lean_ctor_set(x_280, 1, x_279); -lean_ctor_set(x_280, 2, x_278); -lean_ctor_set(x_280, 3, x_30); -lean_inc(x_280); -x_281 = lean_array_push(x_17, x_280); -x_282 = lean_array_push(x_281, x_19); -x_283 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_283, 0, x_21); -lean_ctor_set(x_283, 1, x_91); -lean_ctor_set(x_283, 2, x_282); -lean_inc(x_161); -lean_inc(x_53); -x_284 = lean_array_push(x_53, x_161); -x_285 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_285, 0, x_21); -lean_ctor_set(x_285, 1, x_35); -lean_ctor_set(x_285, 2, x_284); -x_286 = lean_array_push(x_147, x_285); -x_287 = lean_array_push(x_286, x_19); -lean_inc(x_144); -x_288 = lean_array_push(x_287, x_144); -x_289 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_289, 0, x_21); -lean_ctor_set(x_289, 1, x_151); -lean_ctor_set(x_289, 2, x_288); -x_290 = lean_array_push(x_154, x_289); -x_291 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_291, 0, x_21); -lean_ctor_set(x_291, 1, x_35); -lean_ctor_set(x_291, 2, x_290); -x_292 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__167; -lean_inc(x_10); -lean_inc(x_13); -x_293 = l_Lean_addMacroScope(x_13, x_292, x_10); -x_294 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__166; -x_295 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__169; -lean_inc(x_7); -x_296 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_296, 0, x_7); -lean_ctor_set(x_296, 1, x_294); -lean_ctor_set(x_296, 2, x_293); -lean_ctor_set(x_296, 3, x_295); -x_297 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__173; -lean_inc(x_10); -lean_inc(x_13); -x_298 = l_Lean_addMacroScope(x_13, x_297, x_10); -x_299 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__172; -x_300 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__175; -lean_inc(x_7); -x_301 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_301, 0, x_7); -lean_ctor_set(x_301, 1, x_299); -lean_ctor_set(x_301, 2, x_298); -lean_ctor_set(x_301, 3, x_300); -x_302 = lean_array_push(x_17, x_140); -x_303 = lean_array_push(x_302, x_19); -x_304 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_304, 0, x_21); -lean_ctor_set(x_304, 1, x_35); -lean_ctor_set(x_304, 2, x_303); -x_305 = lean_array_push(x_47, x_124); -x_306 = lean_array_push(x_305, x_304); -x_307 = lean_array_push(x_306, x_144); -x_308 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__177; -x_309 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_309, 0, x_21); -lean_ctor_set(x_309, 1, x_308); -lean_ctor_set(x_309, 2, x_307); -x_310 = lean_array_push(x_47, x_301); -x_311 = lean_array_push(x_310, x_32); -lean_inc(x_309); -x_312 = lean_array_push(x_311, x_309); -x_313 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_313, 0, x_21); -lean_ctor_set(x_313, 1, x_35); -lean_ctor_set(x_313, 2, x_312); -x_314 = lean_array_push(x_17, x_296); -x_315 = lean_array_push(x_314, x_313); -x_316 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_316, 0, x_21); -lean_ctor_set(x_316, 1, x_102); -lean_ctor_set(x_316, 2, x_315); -lean_inc(x_53); -x_317 = lean_array_push(x_53, x_316); -x_318 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_318, 0, x_21); -lean_ctor_set(x_318, 1, x_168); -lean_ctor_set(x_318, 2, x_317); -lean_inc(x_318); -x_319 = lean_array_push(x_33, x_318); -x_320 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_320, 0, x_21); -lean_ctor_set(x_320, 1, x_35); -lean_ctor_set(x_320, 2, x_319); -x_321 = lean_array_push(x_17, x_291); -lean_inc(x_321); -x_322 = lean_array_push(x_321, x_320); -x_323 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_323, 0, x_21); -lean_ctor_set(x_323, 1, x_174); -lean_ctor_set(x_323, 2, x_322); -x_324 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__182; -lean_inc(x_10); -lean_inc(x_13); -x_325 = l_Lean_addMacroScope(x_13, x_324, x_10); -x_326 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__180; -x_327 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__185; -lean_inc(x_7); -x_328 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_328, 0, x_7); -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_47, x_5); -x_330 = lean_array_push(x_17, x_328); -x_331 = lean_array_push(x_187, x_283); -x_332 = lean_array_push(x_331, x_323); -x_333 = lean_array_push(x_33, x_280); -x_334 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_334, 0, x_21); -lean_ctor_set(x_334, 1, x_35); -lean_ctor_set(x_334, 2, x_333); -x_335 = lean_array_push(x_199, x_334); -x_336 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_336, 0, x_21); -lean_ctor_set(x_336, 1, x_201); -lean_ctor_set(x_336, 2, x_335); -x_337 = lean_array_push(x_203, x_336); -x_338 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_338, 0, x_21); -lean_ctor_set(x_338, 1, x_205); -lean_ctor_set(x_338, 2, x_337); -x_339 = lean_array_push(x_33, x_338); -x_340 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_340, 0, x_21); -lean_ctor_set(x_340, 1, x_35); -lean_ctor_set(x_340, 2, x_339); -x_341 = lean_array_push(x_209, x_340); -x_342 = lean_array_push(x_341, x_105); -x_343 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_343, 0, x_21); -lean_ctor_set(x_343, 1, x_212); -lean_ctor_set(x_343, 2, x_342); -x_344 = lean_array_push(x_33, x_343); -x_345 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_345, 0, x_21); -lean_ctor_set(x_345, 1, x_35); -lean_ctor_set(x_345, 2, x_344); -x_346 = lean_array_push(x_216, x_345); -x_347 = lean_array_push(x_346, x_19); -x_348 = lean_array_push(x_347, x_19); -x_349 = lean_array_push(x_348, x_19); -x_350 = lean_array_push(x_349, x_19); -x_351 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_351, 0, x_21); -lean_ctor_set(x_351, 1, x_81); -lean_ctor_set(x_351, 2, x_350); -x_352 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__189; -lean_inc(x_10); -lean_inc(x_13); -x_353 = l_Lean_addMacroScope(x_13, x_352, x_10); -x_354 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__188; -lean_inc(x_7); -x_355 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_355, 0, x_7); -lean_ctor_set(x_355, 1, x_354); -lean_ctor_set(x_355, 2, x_353); -lean_ctor_set(x_355, 3, x_30); -lean_inc(x_355); -x_356 = lean_array_push(x_17, x_355); -x_357 = lean_array_push(x_356, x_19); -x_358 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_358, 0, x_21); -lean_ctor_set(x_358, 1, x_91); -lean_ctor_set(x_358, 2, x_357); -x_359 = lean_array_push(x_321, x_318); -x_360 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_360, 0, x_21); -lean_ctor_set(x_360, 1, x_233); -lean_ctor_set(x_360, 2, x_359); -x_361 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__193; -lean_inc(x_10); -lean_inc(x_13); -x_362 = l_Lean_addMacroScope(x_13, x_361, x_10); -x_363 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__192; -x_364 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__198; -lean_inc(x_7); -x_365 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_365, 0, x_7); -lean_ctor_set(x_365, 1, x_363); -lean_ctor_set(x_365, 2, x_362); -lean_ctor_set(x_365, 3, x_364); -x_366 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__201; -lean_inc(x_7); -x_367 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_367, 0, x_7); -lean_ctor_set(x_367, 1, x_366); -x_368 = lean_array_push(x_33, x_367); -x_369 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__200; -x_370 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_370, 0, x_21); -lean_ctor_set(x_370, 1, x_369); -lean_ctor_set(x_370, 2, x_368); -x_371 = lean_array_push(x_33, x_370); -x_372 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_372, 0, x_21); -lean_ctor_set(x_372, 1, x_35); -lean_ctor_set(x_372, 2, x_371); -x_373 = lean_array_push(x_17, x_365); -x_374 = lean_array_push(x_373, x_372); -x_375 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_375, 0, x_21); -lean_ctor_set(x_375, 1, x_102); -lean_ctor_set(x_375, 2, x_374); -lean_inc(x_185); -x_376 = lean_array_push(x_185, x_375); -x_377 = lean_array_push(x_376, x_19); -x_378 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_378, 0, x_21); -lean_ctor_set(x_378, 1, x_263); -lean_ctor_set(x_378, 2, x_377); -x_379 = lean_array_push(x_33, x_378); -x_380 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_380, 0, x_21); -lean_ctor_set(x_380, 1, x_35); -lean_ctor_set(x_380, 2, x_379); -x_381 = lean_array_push(x_267, x_358); -x_382 = lean_array_push(x_381, x_360); -x_383 = lean_array_push(x_382, x_380); -x_384 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_384, 0, x_21); -lean_ctor_set(x_384, 1, x_271); -lean_ctor_set(x_384, 2, x_383); -x_385 = lean_array_push(x_17, x_351); -x_386 = lean_array_push(x_385, x_384); -x_387 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_387, 0, x_21); -lean_ctor_set(x_387, 1, x_275); -lean_ctor_set(x_387, 2, x_386); -x_388 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__205; -lean_inc(x_7); -x_389 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_389, 0, x_7); -lean_ctor_set(x_389, 1, x_388); -x_390 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__210; -lean_inc(x_10); -lean_inc(x_13); -x_391 = l_Lean_addMacroScope(x_13, x_390, x_10); -x_392 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__209; -x_393 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__213; -lean_inc(x_7); -x_394 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_394, 0, x_7); -lean_ctor_set(x_394, 1, x_392); -lean_ctor_set(x_394, 2, x_391); -lean_ctor_set(x_394, 3, x_393); -x_395 = lean_array_push(x_17, x_309); -x_396 = lean_array_push(x_395, x_161); -x_397 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_397, 0, x_21); -lean_ctor_set(x_397, 1, x_35); -lean_ctor_set(x_397, 2, x_396); -x_398 = lean_array_push(x_17, x_394); -x_399 = lean_array_push(x_398, x_397); -x_400 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_400, 0, x_21); -lean_ctor_set(x_400, 1, x_102); -lean_ctor_set(x_400, 2, x_399); -x_401 = lean_array_push(x_53, x_400); -x_402 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_402, 0, x_21); -lean_ctor_set(x_402, 1, x_168); -lean_ctor_set(x_402, 2, x_401); -x_403 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__214; -x_404 = lean_array_push(x_403, x_402); -x_405 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_405, 0, x_21); -lean_ctor_set(x_405, 1, x_233); -lean_ctor_set(x_405, 2, x_404); -x_406 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__224; -lean_inc(x_10); -lean_inc(x_13); -x_407 = l_Lean_addMacroScope(x_13, x_406, x_10); -x_408 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__223; -x_409 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__227; -lean_inc(x_7); -x_410 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_410, 0, x_7); -lean_ctor_set(x_410, 1, x_408); -lean_ctor_set(x_410, 2, x_407); -lean_ctor_set(x_410, 3, x_409); -x_411 = lean_array_push(x_17, x_410); -x_412 = lean_array_push(x_411, x_19); -x_413 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__220; -x_414 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_414, 0, x_21); -lean_ctor_set(x_414, 1, x_413); -lean_ctor_set(x_414, 2, x_412); -x_415 = lean_array_push(x_47, x_414); -lean_inc(x_177); -x_416 = lean_array_push(x_415, x_177); -x_417 = lean_array_push(x_416, x_228); -x_418 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__218; -x_419 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_419, 0, x_21); -lean_ctor_set(x_419, 1, x_418); -lean_ctor_set(x_419, 2, x_417); -x_420 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__231; -x_421 = l_Lean_addMacroScope(x_13, x_420, x_10); -x_422 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__230; -x_423 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__234; -lean_inc(x_7); -x_424 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_424, 0, x_7); -lean_ctor_set(x_424, 1, x_422); -lean_ctor_set(x_424, 2, x_421); -lean_ctor_set(x_424, 3, x_423); -x_425 = lean_array_push(x_17, x_424); -x_426 = lean_array_push(x_425, x_19); -x_427 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_427, 0, x_21); -lean_ctor_set(x_427, 1, x_413); -lean_ctor_set(x_427, 2, x_426); -x_428 = lean_array_push(x_47, x_427); -x_429 = lean_array_push(x_428, x_177); -x_430 = lean_array_push(x_429, x_355); -x_431 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_431, 0, x_21); -lean_ctor_set(x_431, 1, x_418); -lean_ctor_set(x_431, 2, x_430); -x_432 = lean_array_push(x_47, x_419); -x_433 = lean_array_push(x_432, x_19); -x_434 = lean_array_push(x_433, x_431); -x_435 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_435, 0, x_21); -lean_ctor_set(x_435, 1, x_35); -lean_ctor_set(x_435, 2, x_434); -x_436 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__42; -x_437 = lean_array_push(x_436, x_27); -x_438 = lean_array_push(x_437, x_19); -x_439 = lean_array_push(x_438, x_435); -x_440 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__237; -x_441 = lean_array_push(x_439, x_440); -x_442 = lean_array_push(x_441, x_19); -x_443 = lean_array_push(x_442, x_57); -x_444 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__216; -x_445 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_445, 0, x_21); -lean_ctor_set(x_445, 1, x_444); -lean_ctor_set(x_445, 2, x_443); -lean_inc(x_185); -x_446 = lean_array_push(x_185, x_445); -x_447 = lean_array_push(x_446, x_19); -x_448 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_448, 0, x_21); -lean_ctor_set(x_448, 1, x_263); -lean_ctor_set(x_448, 2, x_447); -x_449 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__239; -x_450 = lean_array_push(x_449, x_389); -x_451 = lean_array_push(x_450, x_19); -x_452 = lean_array_push(x_451, x_19); -x_453 = lean_array_push(x_452, x_405); -x_454 = lean_array_push(x_453, x_448); -x_455 = lean_array_push(x_454, x_19); -x_456 = lean_array_push(x_455, x_19); -x_457 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__206; -x_458 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_458, 0, x_21); -lean_ctor_set(x_458, 1, x_457); -lean_ctor_set(x_458, 2, x_456); -x_459 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__240; -x_460 = lean_array_push(x_459, x_458); -x_461 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_461, 0, x_21); -lean_ctor_set(x_461, 1, x_275); -lean_ctor_set(x_461, 2, x_460); -x_462 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__241; -x_463 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_463, 0, x_7); -lean_ctor_set(x_463, 1, x_462); -x_464 = lean_array_push(x_17, x_463); -x_465 = lean_array_push(x_464, x_19); -x_466 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__242; -x_467 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_467, 0, x_21); -lean_ctor_set(x_467, 1, x_466); -lean_ctor_set(x_467, 2, x_465); -x_468 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__238; -x_469 = lean_array_push(x_468, x_23); -x_470 = lean_array_push(x_469, x_70); -if (lean_obj_tag(x_183) == 0) -{ -lean_object* x_524; -x_524 = l_Lean_quoteNameMk(x_1); -x_471 = x_524; -goto block_523; -} -else -{ -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_dec(x_1); -x_525 = lean_ctor_get(x_183, 0); -lean_inc(x_525); -lean_dec(x_183); -x_526 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__245; -x_527 = l_String_intercalate(x_526, x_525); -x_528 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__246; -x_529 = lean_string_append(x_528, x_527); -lean_dec(x_527); -x_530 = l_Lean_Syntax_mkNameLit(x_529, x_21); -x_531 = lean_array_push(x_33, x_530); -x_532 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__244; -x_533 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_533, 0, x_21); -lean_ctor_set(x_533, 1, x_532); -lean_ctor_set(x_533, 2, x_531); -x_471 = x_533; -goto block_523; -} -block_523: -{ -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_inc(x_471); -x_472 = lean_array_push(x_17, x_471); -lean_inc(x_128); -x_473 = lean_array_push(x_472, x_128); -x_474 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_474, 0, x_21); -lean_ctor_set(x_474, 1, x_35); -lean_ctor_set(x_474, 2, x_473); -x_475 = lean_array_push(x_184, x_474); -x_476 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_476, 0, x_21); -lean_ctor_set(x_476, 1, x_102); -lean_ctor_set(x_476, 2, x_475); -lean_inc(x_185); -x_477 = lean_array_push(x_185, x_476); -x_478 = lean_array_push(x_477, x_19); -x_479 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_479, 0, x_21); -lean_ctor_set(x_479, 1, x_263); -lean_ctor_set(x_479, 2, x_478); -x_480 = lean_array_push(x_189, x_479); -x_481 = lean_array_push(x_480, x_19); -x_482 = lean_array_push(x_481, x_19); -x_483 = lean_array_push(x_482, x_19); -x_484 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__48; -x_485 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_485, 0, x_21); -lean_ctor_set(x_485, 1, x_484); -lean_ctor_set(x_485, 2, x_483); -lean_inc(x_190); -x_486 = lean_array_push(x_190, x_485); -x_487 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_487, 0, x_21); -lean_ctor_set(x_487, 1, x_275); -lean_ctor_set(x_487, 2, x_486); -x_488 = lean_array_push(x_329, x_471); -x_489 = lean_array_push(x_488, x_128); -x_490 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_490, 0, x_21); -lean_ctor_set(x_490, 1, x_35); -lean_ctor_set(x_490, 2, x_489); -x_491 = lean_array_push(x_330, x_490); -x_492 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_492, 0, x_21); -lean_ctor_set(x_492, 1, x_102); -lean_ctor_set(x_492, 2, x_491); -x_493 = lean_array_push(x_185, x_492); -x_494 = lean_array_push(x_493, x_19); -x_495 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_495, 0, x_21); -lean_ctor_set(x_495, 1, x_263); -lean_ctor_set(x_495, 2, x_494); -x_496 = lean_array_push(x_332, x_495); -x_497 = lean_array_push(x_496, x_19); -x_498 = lean_array_push(x_497, x_19); -x_499 = lean_array_push(x_498, x_19); -x_500 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_500, 0, x_21); -lean_ctor_set(x_500, 1, x_484); -lean_ctor_set(x_500, 2, x_499); -x_501 = lean_array_push(x_190, x_500); -x_502 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_502, 0, x_21); -lean_ctor_set(x_502, 1, x_275); -lean_ctor_set(x_502, 2, x_501); -x_503 = lean_array_push(x_470, x_487); -x_504 = lean_array_push(x_503, x_276); -x_505 = lean_array_push(x_504, x_502); -x_506 = lean_array_push(x_505, x_387); -x_507 = lean_array_push(x_506, x_461); -x_508 = lean_array_push(x_507, x_467); -x_509 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_509, 0, x_21); -lean_ctor_set(x_509, 1, x_35); -lean_ctor_set(x_509, 2, x_508); -x_510 = l_Lean_Elab_Command_elabCommand(x_509, x_2, x_3, x_14); -if (lean_obj_tag(x_510) == 0) -{ -uint8_t x_511; -x_511 = !lean_is_exclusive(x_510); -if (x_511 == 0) -{ -lean_object* x_512; uint8_t x_513; lean_object* x_514; -x_512 = lean_ctor_get(x_510, 0); -lean_dec(x_512); -x_513 = 1; -x_514 = lean_box(x_513); -lean_ctor_set(x_510, 0, x_514); -return x_510; -} -else -{ -lean_object* x_515; uint8_t x_516; lean_object* x_517; lean_object* x_518; -x_515 = lean_ctor_get(x_510, 1); -lean_inc(x_515); -lean_dec(x_510); -x_516 = 1; -x_517 = lean_box(x_516); -x_518 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_518, 0, x_517); -lean_ctor_set(x_518, 1, x_515); -return x_518; -} -} -else -{ -uint8_t x_519; -x_519 = !lean_is_exclusive(x_510); -if (x_519 == 0) -{ -return x_510; -} -else -{ -lean_object* x_520; lean_object* x_521; lean_object* x_522; -x_520 = lean_ctor_get(x_510, 0); -x_521 = lean_ctor_get(x_510, 1); -lean_inc(x_521); -lean_inc(x_520); -lean_dec(x_510); -x_522 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_522, 0, x_520); -lean_ctor_set(x_522, 1, x_521); -return x_522; +return x_272; } } } @@ -4872,7 +3174,7 @@ x_9 = lean_array_get_size(x_8); x_10 = lean_usize_of_nat(x_9); lean_dec(x_9); x_11 = 0; -x_12 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; +x_12 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; lean_inc(x_6); x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsAux___spec__1___rarg(x_1, x_3, x_5, x_6, x_8, x_10, x_11, x_12); x_14 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_13, x_4); @@ -5124,7 +3426,7 @@ x_9 = lean_array_get_size(x_8); x_10 = lean_usize_of_nat(x_9); lean_dec(x_9); x_11 = 0; -x_12 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; +x_12 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; lean_inc(x_6); x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFields___spec__2___rarg(x_1, x_3, x_5, x_6, x_8, x_10, x_11, x_12); x_14 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_13, x_4); @@ -5465,7 +3767,7 @@ x_9 = lean_array_get_size(x_8); x_10 = lean_usize_of_nat(x_9); lean_dec(x_9); x_11 = 0; -x_12 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; +x_12 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; lean_inc(x_6); x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_RpcEncoding_withFieldsFlattened___spec__2___rarg(x_1, x_3, x_5, x_6, x_8, x_10, x_11, x_12); x_14 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_13, x_4); @@ -5631,2131 +3933,151 @@ x_10 = l_Lean_Server_RpcEncoding_withFieldsFlattened___rarg(x_1, x_2, x_3, x_4, return x_10; } } -static lean_object* _init_l_Lean_Server_RpcEncoding_isOptField___closed__1() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__1() { _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_levelOne; +x_2 = l_Lean_Expr_sort___override(x_1); +return x_2; } } -LEAN_EXPORT uint8_t l_Lean_Server_RpcEncoding_isOptField(lean_object* x_1) { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__2() { _start: { -uint8_t x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_2 = 1; -x_3 = l_Lean_Name_toString(x_1, x_2); -x_4 = l_Lean_Server_RpcEncoding_isOptField___closed__1; -x_5 = l_String_endsWith(x_3, x_4); -return x_5; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__1; +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_Server_RpcEncoding_isOptField___boxed(lean_object* x_1) { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__3() { _start: { -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Server_RpcEncoding_isOptField(x_1); -x_3 = lean_box(x_2); +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47; +x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__5(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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _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 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4___closed__2() { -_start: -{ -size_t x_1; size_t x_2; size_t x_3; -x_1 = 1; -x_2 = l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4___closed__1; -x_3 = lean_usize_sub(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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; +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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__2; +x_8 = 0; +x_9 = lean_box(0); +lean_inc(x_2); +x_10 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_7, x_8, x_9, x_2, x_3, x_4, x_5, 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 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(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_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Std_PersistentHashMap_find_x3f___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Meta_DiscrTree_Key_hash(x_2); -x_5 = lean_uint64_to_usize(x_4); -x_6 = l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4(x_3, x_5, x_2); -lean_dec(x_2); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8(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_Meta_DiscrTree_Key_hash(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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(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_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_1, 0); +x_13 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__3; +lean_inc(x_11); +x_14 = l_Lean_mkAppB(x_13, x_1, x_11); +x_15 = lean_box(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) +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_16 = l_Lean_Meta_synthInstance(x_14, x_15, x_2, x_3, x_4, x_5, x_12); +if (lean_obj_tag(x_16) == 0) { -uint8_t x_9; +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__1(x_11, x_2, x_3, x_4, x_5, x_17); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); 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; +return x_18; } 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); +uint8_t x_19; +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ return x_16; } -} else { -lean_object* x_17; uint8_t x_18; -x_17 = lean_array_fget(x_5, x_2); -x_18 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Std_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(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_Std_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 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(x_4, x_26); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = l_Std_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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(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_Std_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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(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_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__9(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_Std_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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___closed__1; -x_93 = l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8(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_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__9(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_Std_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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___closed__1; -x_107 = l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8(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_Std_PersistentHashMap_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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; 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_Meta_DiscrTree_Key_hash(x_2); -x_8 = lean_uint64_to_usize(x_7); -x_9 = 1; -x_10 = l_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(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_Meta_DiscrTree_Key_hash(x_2); -x_16 = lean_uint64_to_usize(x_15); -x_17 = 1; -x_18 = l_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(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_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__13(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; uint8_t x_7; -x_6 = lean_array_uget(x_2, x_3); -lean_inc(x_1); -x_7 = l_Lean_Syntax_structEq(x_1, x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = lean_usize_add(x_3, x_8); -x_3 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -lean_dec(x_1); -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -lean_dec(x_1); -x_12 = 0; -return x_12; -} -} -} -LEAN_EXPORT uint8_t l_Array_contains___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__12(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_array_get_size(x_1); -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_nat_dec_lt(x_4, x_3); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_6 = 0; -return x_6; -} -else -{ -uint8_t x_7; -x_7 = lean_nat_dec_le(x_3, x_3); -if (x_7 == 0) -{ -uint8_t x_8; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_8 = 0; -return x_8; -} -else -{ -size_t x_9; size_t x_10; uint8_t x_11; -x_9 = 0; -x_10 = lean_usize_of_nat(x_3); -lean_dec(x_3); -x_11 = l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__13(x_2, x_1, x_9, x_10); -lean_dec(x_1); -return x_11; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -lean_inc(x_2); -lean_inc(x_1); -x_3 = l_Array_contains___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__12(x_1, x_2); -if (x_3 == 0) -{ -lean_object* x_4; -x_4 = lean_array_push(x_1, x_2); -return x_4; -} -else -{ -lean_dec(x_2); -return x_1; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, 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; -x_10 = lean_nat_add(x_8, x_9); -x_11 = lean_unsigned_to_nat(2u); -x_12 = lean_nat_div(x_10, x_11); -lean_dec(x_10); -lean_inc(x_5); -x_13 = lean_array_get(x_5, x_6, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_ctor_get(x_7, 0); -x_16 = l_Lean_Meta_DiscrTree_Key_lt(x_14, x_15); -if (x_16 == 0) -{ -uint8_t x_17; -lean_dec(x_9); -x_17 = l_Lean_Meta_DiscrTree_Key_lt(x_15, x_14); -lean_dec(x_14); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; -lean_dec(x_8); -lean_dec(x_5); -x_18 = lean_array_get_size(x_6); -x_19 = lean_nat_dec_lt(x_12, x_18); -lean_dec(x_18); -if (x_19 == 0) -{ -lean_dec(x_12); -lean_dec(x_4); -lean_dec(x_2); -return x_6; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_20 = lean_array_fget(x_6, x_12); -x_21 = lean_box(0); -x_22 = lean_array_fset(x_6, x_12, x_21); -x_23 = !lean_is_exclusive(x_20); -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 = lean_ctor_get(x_20, 1); -x_25 = lean_ctor_get(x_20, 0); -lean_dec(x_25); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_3, x_26); -x_28 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(x_1, x_2, x_27, x_24); -lean_dec(x_27); -lean_ctor_set(x_20, 1, x_28); -lean_ctor_set(x_20, 0, x_4); -x_29 = lean_array_fset(x_22, x_12, x_20); -lean_dec(x_12); -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_20, 1); -lean_inc(x_30); -lean_dec(x_20); -x_31 = lean_unsigned_to_nat(1u); -x_32 = lean_nat_add(x_3, x_31); -x_33 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(x_1, x_2, x_32, x_30); -lean_dec(x_32); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_4); -lean_ctor_set(x_34, 1, x_33); -x_35 = lean_array_fset(x_22, x_12, x_34); -lean_dec(x_12); -return x_35; -} -} -} -else -{ -x_9 = x_12; -goto _start; -} -} -else -{ -uint8_t x_37; -lean_dec(x_14); -x_37 = lean_nat_dec_eq(x_12, x_8); -if (x_37 == 0) -{ -lean_dec(x_8); -x_8 = x_12; -goto _start; -} -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_dec(x_12); -lean_dec(x_9); -lean_dec(x_5); -x_39 = lean_unsigned_to_nat(1u); -x_40 = lean_nat_add(x_3, x_39); -x_41 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_1, x_2, x_40); -lean_dec(x_40); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_4); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_nat_add(x_8, x_39); -lean_dec(x_8); -x_44 = l_Array_insertAt___rarg(x_6, x_43, x_42); -lean_dec(x_43); -return x_44; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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) { -_start: -{ -uint8_t x_8; -x_8 = l_Array_isEmpty___rarg(x_6); -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_unsigned_to_nat(0u); -lean_inc(x_5); -x_10 = lean_array_get(x_5, x_6, x_9); -x_11 = lean_ctor_get(x_7, 0); -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Meta_DiscrTree_Key_lt(x_11, x_12); -if (x_13 == 0) -{ -uint8_t x_14; -x_14 = l_Lean_Meta_DiscrTree_Key_lt(x_12, x_11); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; uint8_t x_16; -lean_dec(x_5); -x_15 = lean_array_get_size(x_6); -x_16 = lean_nat_dec_lt(x_9, x_15); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_dec(x_4); -lean_dec(x_2); -return x_6; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = lean_array_fget(x_6, x_9); -x_18 = lean_box(0); -x_19 = lean_array_fset(x_6, x_9, x_18); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_17, 1); -x_22 = lean_ctor_get(x_17, 0); -lean_dec(x_22); -x_23 = lean_unsigned_to_nat(1u); -x_24 = lean_nat_add(x_3, x_23); -x_25 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(x_1, x_2, x_24, x_21); -lean_dec(x_24); -lean_ctor_set(x_17, 1, x_25); -lean_ctor_set(x_17, 0, x_4); -x_26 = lean_array_fset(x_19, x_9, x_17); -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; -x_27 = lean_ctor_get(x_17, 1); -lean_inc(x_27); -lean_dec(x_17); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_3, x_28); -x_30 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(x_1, x_2, x_29, x_27); -lean_dec(x_29); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_4); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_array_fset(x_19, x_9, x_31); -return x_32; -} -} -} -else -{ -lean_object* x_33; lean_object* x_34; uint8_t x_35; -lean_inc(x_5); -x_33 = l_Array_back___rarg(x_5, x_6); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Lean_Meta_DiscrTree_Key_lt(x_34, x_11); -if (x_35 == 0) -{ -uint8_t x_36; -x_36 = l_Lean_Meta_DiscrTree_Key_lt(x_11, x_34); -lean_dec(x_34); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -lean_dec(x_5); -x_37 = lean_array_get_size(x_6); -x_38 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_sub(x_37, x_38); -x_40 = lean_nat_dec_lt(x_39, x_37); -lean_dec(x_37); -if (x_40 == 0) -{ -lean_dec(x_39); -lean_dec(x_4); -lean_dec(x_2); -return x_6; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_41 = lean_array_fget(x_6, x_39); -x_42 = lean_box(0); -x_43 = lean_array_fset(x_6, x_39, x_42); -x_44 = !lean_is_exclusive(x_41); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_45 = lean_ctor_get(x_41, 1); -x_46 = lean_ctor_get(x_41, 0); -lean_dec(x_46); -x_47 = lean_nat_add(x_3, x_38); -x_48 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(x_1, x_2, x_47, x_45); -lean_dec(x_47); -lean_ctor_set(x_41, 1, x_48); -lean_ctor_set(x_41, 0, x_4); -x_49 = lean_array_fset(x_43, x_39, x_41); -lean_dec(x_39); -return x_49; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_50 = lean_ctor_get(x_41, 1); -lean_inc(x_50); -lean_dec(x_41); -x_51 = lean_nat_add(x_3, x_38); -x_52 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(x_1, x_2, x_51, x_50); -lean_dec(x_51); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_4); -lean_ctor_set(x_53, 1, x_52); -x_54 = lean_array_fset(x_43, x_39, x_53); -lean_dec(x_39); -return x_54; -} -} -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_55 = lean_array_get_size(x_6); -x_56 = lean_unsigned_to_nat(1u); -x_57 = lean_nat_sub(x_55, x_56); -lean_dec(x_55); -x_58 = l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_57); -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_dec(x_34); -lean_dec(x_5); -x_59 = lean_unsigned_to_nat(1u); -x_60 = lean_nat_add(x_3, x_59); -x_61 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_1, x_2, x_60); -lean_dec(x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_4); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_array_push(x_6, x_62); -return x_63; -} -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_dec(x_12); -lean_dec(x_5); -x_64 = lean_unsigned_to_nat(1u); -x_65 = lean_nat_add(x_3, x_64); -x_66 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_1, x_2, x_65); -lean_dec(x_65); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_4); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_Array_insertAt___rarg(x_6, x_9, x_67); -return x_68; -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_5); -x_69 = lean_unsigned_to_nat(1u); -x_70 = lean_nat_add(x_3, x_69); -x_71 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_1, x_2, x_70); -lean_dec(x_70); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_4); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_array_push(x_6, x_72); -return x_73; -} -} -} -static lean_object* _init_l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Meta_DiscrTree_instInhabitedTrie(lean_box(0)); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_DiscrTree_instInhabitedKey; -x_2 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___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; -} -} -static lean_object* _init_l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -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___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -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_4, 0); -x_7 = lean_ctor_get(x_4, 1); -x_8 = lean_array_get_size(x_1); -x_9 = lean_nat_dec_lt(x_3, x_8); -lean_dec(x_8); -if (x_9 == 0) -{ -lean_object* x_10; -x_10 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11(x_6, x_2); -lean_ctor_set(x_4, 0, x_10); -return x_4; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_11 = lean_array_fget(x_1, x_3); -x_12 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__3; -lean_inc(x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -x_14 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__2; -x_15 = l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__14(x_1, x_2, x_3, x_11, x_14, x_7, x_13); -lean_dec(x_13); -lean_ctor_set(x_4, 1, x_15); -return x_4; -} -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_ctor_get(x_4, 0); -x_17 = lean_ctor_get(x_4, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_4); -x_18 = lean_array_get_size(x_1); -x_19 = lean_nat_dec_lt(x_3, x_18); -lean_dec(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11(x_16, x_2); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_17); -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_array_fget(x_1, x_3); -x_23 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__3; -lean_inc(x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__2; -x_26 = l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__14(x_1, x_2, x_3, x_22, x_25, x_17, x_24); -lean_dec(x_24); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_16); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -} -} -static lean_object* _init_l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__16___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Meta_DiscrTree_instInhabitedDiscrTree(lean_box(0)); -return x_1; -} -} -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__16(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__16___closed__1; -x_3 = lean_panic_fn(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Init.Util", 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("getElem!", 8); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3() { -_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_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___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_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1; -x_2 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(62u); -x_4 = lean_unsigned_to_nat(36u); -x_5 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___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_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Meta.DiscrTree", 19); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Meta.DiscrTree.insertCore", 30); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("invalid key sequence", 20); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5; -x_2 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6; -x_3 = lean_unsigned_to_nat(353u); -x_4 = lean_unsigned_to_nat(23u); -x_5 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___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_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = l_Array_isEmpty___rarg(x_2); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_array_get_size(x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_nat_dec_lt(x_6, x_5); -lean_dec(x_5); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4; -x_9 = l_panic___at_Lean_Meta_DiscrTree_insertCore___spec__1(x_8); -lean_inc(x_9); -lean_inc(x_1); -x_10 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__3(x_1, x_9); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_2, x_3, x_11); -lean_dec(x_2); -x_13 = l_Std_PersistentHashMap_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6(x_1, x_9, x_12); -return x_13; -} -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); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_unsigned_to_nat(1u); -x_16 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(x_2, x_3, x_15, x_14); -lean_dec(x_2); -x_17 = l_Std_PersistentHashMap_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6(x_1, x_9, x_16); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_array_fget(x_2, x_6); -lean_inc(x_18); -lean_inc(x_1); -x_19 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__3(x_1, x_18); -if (lean_obj_tag(x_19) == 0) -{ lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_unsigned_to_nat(1u); -x_21 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_2, x_3, x_20); -lean_dec(x_2); -x_22 = l_Std_PersistentHashMap_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6(x_1, x_18, x_21); +x_20 = lean_ctor_get(x_16, 0); +x_21 = lean_ctor_get(x_16, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_16); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); return x_22; } -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_19, 0); -lean_inc(x_23); -lean_dec(x_19); -x_24 = lean_unsigned_to_nat(1u); -x_25 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(x_2, x_3, x_24, x_23); -lean_dec(x_2); -x_26 = l_Std_PersistentHashMap_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6(x_1, x_18, x_25); -return x_26; } } } -else -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_27 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8; -x_28 = l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__16(x_27); -return x_28; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_DiscrTree_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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; -x_9 = l_Lean_Meta_DiscrTree_mkPath(x_2, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2(x_1, x_11, x_3); -lean_ctor_set(x_9, 0, x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_9); -x_15 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2(x_1, x_13, x_3); -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 -{ -uint8_t x_17; -lean_dec(x_3); -lean_dec(x_1); -x_17 = !lean_is_exclusive(x_9); -if (x_17 == 0) -{ -return x_9; -} -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_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; -} -} -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Option", 6); +x_1 = lean_mk_string_from_bytes("instBinder", 10); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__2; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__1; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__5() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("[", 1); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__4; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__6() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__5; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___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_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, 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; -x_16 = l_Lean_Server_RpcEncoding_isOptField(x_1); -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_dec(x_13); -x_17 = lean_array_push(x_5, x_4); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_2); -lean_ctor_set(x_18, 1, x_7); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_6); -lean_ctor_set(x_19, 1, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_17); -lean_ctor_set(x_20, 1, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_3); -lean_ctor_set(x_21, 1, 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_15); -return x_23; -} -else -{ -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_inc(x_13); -x_24 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_13, x_14, x_15); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_ctor_get(x_13, 10); -lean_inc(x_27); -lean_dec(x_13); -x_28 = lean_st_ref_get(x_14, x_26); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_environment_main_module(x_31); -x_33 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__4; -x_34 = l_Lean_addMacroScope(x_32, x_33, x_27); -x_35 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__3; -x_36 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__6; -x_37 = lean_alloc_ctor(3, 4, 0); -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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -x_39 = lean_array_push(x_38, x_4); -x_40 = lean_box(2); -x_41 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_42 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_42, 2, x_39); -x_43 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_44 = lean_array_push(x_43, x_37); -x_45 = lean_array_push(x_44, x_42); -x_46 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; -x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_40); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set(x_47, 2, x_45); -x_48 = lean_array_push(x_5, x_47); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_2); -lean_ctor_set(x_49, 1, x_7); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_6); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_48); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_3); -lean_ctor_set(x_52, 1, x_51); -x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_28, 0, x_53); -return x_28; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_54 = lean_ctor_get(x_28, 0); -x_55 = lean_ctor_get(x_28, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_28); -x_56 = lean_ctor_get(x_54, 0); -lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_environment_main_module(x_56); -x_58 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__4; -x_59 = l_Lean_addMacroScope(x_57, x_58, x_27); -x_60 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__3; -x_61 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__6; -x_62 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_62, 0, x_25); -lean_ctor_set(x_62, 1, x_60); -lean_ctor_set(x_62, 2, x_59); -lean_ctor_set(x_62, 3, x_61); -x_63 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -x_64 = lean_array_push(x_63, x_4); -x_65 = lean_box(2); -x_66 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_67 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -lean_ctor_set(x_67, 2, x_64); -x_68 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_69 = lean_array_push(x_68, x_62); -x_70 = lean_array_push(x_69, x_67); -x_71 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; -x_72 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_72, 0, x_65); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set(x_72, 2, x_70); -x_73 = lean_array_push(x_5, x_72); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_2); -lean_ctor_set(x_74, 1, x_7); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_6); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_73); -lean_ctor_set(x_76, 1, x_75); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_3); -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_55); -return x_79; -} -} -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__211; -x_2 = lean_mk_syntax_ident(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, 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_dec(x_8); -lean_inc(x_1); -x_16 = lean_mk_syntax_ident(x_1); -x_17 = lean_array_push(x_5, x_16); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_6); -lean_inc(x_4); -x_18 = l_Lean_Meta_DiscrTree_getMatch___rarg(x_4, x_6, x_11, x_12, x_13, x_14, x_15); -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); -x_21 = l_Array_back_x3f___rarg(x_19); -lean_dec(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_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_inc(x_1); -x_22 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_1, x_13, x_14, 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_mk_syntax_ident(x_23); -lean_inc(x_13); -x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_13, x_14, x_24); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_st_ref_get(x_14, x_28); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -x_31 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__80; -lean_inc(x_27); -x_32 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_32, 0, x_27); -lean_ctor_set(x_32, 1, x_31); -x_33 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -lean_inc(x_25); -x_34 = lean_array_push(x_33, x_25); -x_35 = lean_box(2); -x_36 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_37 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 2, x_34); -x_38 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__92; -x_39 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_39, 0, x_27); -lean_ctor_set(x_39, 1, x_38); -x_40 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93; -x_41 = lean_array_push(x_40, x_32); -x_42 = lean_array_push(x_41, x_37); -x_43 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_44 = lean_array_push(x_42, x_43); -x_45 = lean_array_push(x_44, x_43); -x_46 = lean_array_push(x_45, x_39); -x_47 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__79; -x_48 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_48, 0, x_35); -lean_ctor_set(x_48, 1, x_47); -lean_ctor_set(x_48, 2, x_46); -x_49 = lean_array_push(x_2, x_48); -x_50 = lean_box(0); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_6); -x_51 = l_Lean_PrettyPrinter_delab(x_6, x_50, x_11, x_12, x_13, x_14, x_30); -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; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_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_13); -x_54 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_13, x_14, x_53); -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_14, x_56); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__59; -lean_inc(x_55); -x_60 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_60, 0, x_55); -lean_ctor_set(x_60, 1, x_59); -x_61 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_62 = lean_array_push(x_61, x_52); -lean_inc(x_25); -x_63 = lean_array_push(x_62, x_25); -x_64 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_64, 0, x_35); -lean_ctor_set(x_64, 1, x_36); -lean_ctor_set(x_64, 2, x_63); -x_65 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__2; -x_66 = lean_array_push(x_65, x_64); -x_67 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; -x_68 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_68, 0, x_35); -lean_ctor_set(x_68, 1, x_67); -lean_ctor_set(x_68, 2, x_66); -x_69 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__68; -x_70 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_70, 0, x_55); -lean_ctor_set(x_70, 1, x_69); -x_71 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_72 = lean_array_push(x_71, x_60); -x_73 = lean_array_push(x_72, x_43); -x_74 = lean_array_push(x_73, x_68); -x_75 = lean_array_push(x_74, x_70); -x_76 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__58; -x_77 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_77, 0, x_35); -lean_ctor_set(x_77, 1, x_76); -lean_ctor_set(x_77, 2, x_75); -x_78 = lean_array_push(x_49, x_77); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_25); -x_79 = l_Lean_Meta_DiscrTree_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1(x_4, x_6, x_25, x_11, x_12, x_13, x_14, x_58); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -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); -lean_inc(x_25); -x_82 = lean_array_push(x_7, x_25); -x_83 = lean_box(0); -x_84 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1(x_1, x_17, x_78, x_25, x_3, x_80, x_82, x_83, x_9, x_10, x_11, x_12, x_13, x_14, x_81); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -return x_84; -} -else -{ -uint8_t x_85; -lean_dec(x_78); -lean_dec(x_25); -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_1); -x_85 = !lean_is_exclusive(x_79); -if (x_85 == 0) -{ -return x_79; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_79, 0); -x_87 = lean_ctor_get(x_79, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_79); -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_49); -lean_dec(x_25); -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_89 = !lean_is_exclusive(x_51); -if (x_89 == 0) -{ -return x_51; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_51, 0); -x_91 = lean_ctor_get(x_51, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_51); -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_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_6); -x_93 = lean_ctor_get(x_21, 0); -lean_inc(x_93); -lean_dec(x_21); -x_94 = lean_box(0); -x_95 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1(x_1, x_17, x_2, x_93, x_3, x_4, x_7, x_94, x_9, x_10, x_11, x_12, x_13, x_14, x_20); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_11); -return x_95; -} -} -else -{ -uint8_t x_96; -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -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_96 = !lean_is_exclusive(x_18); -if (x_96 == 0) -{ -return x_18; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_18, 0); -x_98 = lean_ctor_get(x_18, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_18); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___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) { -_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; -x_16 = lean_unsigned_to_nat(0u); -x_17 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_7, x_16); -x_18 = lean_nat_sub(x_17, x_16); -lean_dec(x_17); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_sub(x_18, x_19); -lean_dec(x_18); -x_21 = l_Lean_Expr_getRevArg_x21(x_7, x_20); -x_22 = lean_box(0); -x_23 = lean_apply_14(x_1, x_2, x_3, x_4, x_5, x_21, x_6, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_23; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("optional field '", 16); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("' has type", 10); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("", 0); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("\nbut is expected to have type", 29); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Option _", 8); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___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_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___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_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__11; -x_2 = l_Lean_indentD(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17(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_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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; @@ -7767,8 +4089,6 @@ 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); @@ -7776,7 +4096,7 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_object* x_14; lean_object* x_15; 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_array_uget(x_1, x_3); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); @@ -7793,295 +4113,245 @@ 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_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -lean_inc(x_15); -x_25 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___boxed), 15, 1); -lean_closure_set(x_25, 0, x_15); -lean_inc(x_15); -x_26 = l_Lean_Server_RpcEncoding_isOptField(x_15); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_25); -x_27 = lean_box(0); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_28 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2(x_15, x_17, x_19, x_21, x_23, x_16, x_24, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_inc(x_16); +x_21 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor(x_16, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_box(0); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_25 = l_Lean_PrettyPrinter_delab(x_22, x_24, x_7, x_8, x_9, x_10, x_23); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_28 = l_Lean_PrettyPrinter_delab(x_16, x_24, x_7, x_8, x_9, x_10, x_27); if (lean_obj_tag(x_28) == 0) { -lean_object* x_29; +lean_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; size_t x_73; size_t x_74; x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) -{ -uint8_t x_30; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_30 = !lean_is_exclusive(x_28); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_28, 0); -lean_dec(x_31); -x_32 = lean_ctor_get(x_29, 0); -lean_inc(x_32); -lean_dec(x_29); -lean_ctor_set(x_28, 0, x_32); -return x_28; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_28, 1); -lean_inc(x_33); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); lean_dec(x_28); -x_34 = lean_ctor_get(x_29, 0); -lean_inc(x_34); -lean_dec(x_29); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; size_t x_38; size_t x_39; -x_36 = lean_ctor_get(x_28, 1); +x_31 = lean_mk_syntax_ident(x_15); +x_32 = lean_array_push(x_20, x_31); +lean_inc(x_26); +x_33 = lean_array_push(x_19, x_26); +lean_inc(x_9); +x_34 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, x_30); +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_28); -x_37 = lean_ctor_get(x_29, 0); +lean_dec(x_34); +x_37 = lean_ctor_get(x_9, 10); lean_inc(x_37); -lean_dec(x_29); -x_38 = 1; -x_39 = lean_usize_add(x_3, x_38); -x_3 = x_39; -x_4 = x_37; -x_11 = x_36; +x_38 = lean_st_ref_get(x_10, x_36); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_environment_main_module(x_41); +x_43 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__3; +lean_inc(x_35); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_35); +lean_ctor_set(x_44, 1, x_43); +x_45 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__44; +x_46 = l_Lean_addMacroScope(x_42, x_45, x_37); +x_47 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43; +x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__5; +lean_inc(x_35); +x_49 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_49, 0, x_35); +lean_ctor_set(x_49, 1, x_47); +lean_ctor_set(x_49, 2, x_46); +lean_ctor_set(x_49, 3, x_48); +x_50 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_51 = lean_array_push(x_50, x_29); +x_52 = lean_array_push(x_51, x_26); +x_53 = lean_box(2); +x_54 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; +x_55 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_52); +x_56 = lean_array_push(x_50, x_49); +x_57 = lean_array_push(x_56, x_55); +x_58 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__40; +x_59 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_59, 0, x_53); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_57); +x_60 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__135; +x_61 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_61, 0, x_35); +lean_ctor_set(x_61, 1, x_60); +x_62 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115; +x_63 = lean_array_push(x_62, x_44); +x_64 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_65 = lean_array_push(x_63, x_64); +x_66 = lean_array_push(x_65, x_59); +x_67 = lean_array_push(x_66, x_61); +x_68 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__2; +x_69 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_69, 0, x_53); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_69, 2, x_67); +x_70 = lean_array_push(x_17, x_69); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_33); +lean_ctor_set(x_71, 1, x_32); +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 = 1; +x_74 = lean_usize_add(x_3, x_73); +x_3 = x_74; +x_4 = x_72; +x_11 = x_40; goto _start; } -} else { -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); -x_41 = !lean_is_exclusive(x_28); -if (x_41 == 0) -{ -return x_28; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_28, 0); -x_43 = lean_ctor_get(x_28, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_28); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -else -{ -lean_object* x_45; uint8_t x_46; -x_45 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__4; -x_46 = l_Lean_Expr_isAppOf(x_16, x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_21); +uint8_t x_76; +lean_dec(x_26); +lean_dec(x_20); lean_dec(x_19); lean_dec(x_17); -x_47 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_47, 0, x_15); -x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__2; -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__4; -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_alloc_ctor(2, 1, 0); -lean_ctor_set(x_52, 0, x_16); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__6; -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = l_Lean_indentD(x_55); -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_51); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__8; -x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__12; -x_61 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_53); -x_63 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_62, 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); -x_64 = !lean_is_exclusive(x_63); -if (x_64 == 0) -{ -return x_63; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_63, 0); -x_66 = lean_ctor_get(x_63, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_63); -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_dec(x_15); -x_68 = lean_box(0); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_69 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__3(x_25, x_17, x_19, x_21, x_23, x_24, x_16, x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -if (lean_obj_tag(x_70) == 0) -{ -uint8_t x_71; 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_71 = !lean_is_exclusive(x_69); -if (x_71 == 0) +x_76 = !lean_is_exclusive(x_28); +if (x_76 == 0) { -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_69, 0); -lean_dec(x_72); -x_73 = lean_ctor_get(x_70, 0); -lean_inc(x_73); -lean_dec(x_70); -lean_ctor_set(x_69, 0, x_73); -return x_69; +return x_28; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_69, 1); -lean_inc(x_74); -lean_dec(x_69); -x_75 = lean_ctor_get(x_70, 0); -lean_inc(x_75); -lean_dec(x_70); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -return x_76; -} -} -else -{ -lean_object* x_77; lean_object* x_78; size_t x_79; size_t x_80; -x_77 = lean_ctor_get(x_69, 1); -lean_inc(x_77); -lean_dec(x_69); -x_78 = lean_ctor_get(x_70, 0); +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_28, 0); +x_78 = lean_ctor_get(x_28, 1); lean_inc(x_78); -lean_dec(x_70); -x_79 = 1; -x_80 = lean_usize_add(x_3, x_79); -x_3 = x_80; -x_4 = x_78; -x_11 = x_77; -goto _start; +lean_inc(x_77); +lean_dec(x_28); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} } } else { -uint8_t x_82; +uint8_t x_80; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); 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_82 = !lean_is_exclusive(x_69); -if (x_82 == 0) +x_80 = !lean_is_exclusive(x_25); +if (x_80 == 0) { -return x_69; +return x_25; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_69, 0); -x_84 = lean_ctor_get(x_69, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_69); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_25, 0); +x_82 = lean_ctor_get(x_25, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_25); +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_dec(x_20); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_84 = !lean_is_exclusive(x_21); +if (x_84 == 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_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; } } } } } +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("structInstLVal", 14); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3() { _start: { lean_object* x_1; @@ -8089,7 +4359,7 @@ x_1 = lean_mk_string_from_bytes("liftMethod", 10); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4() { _start: { lean_object* x_1; @@ -8097,7 +4367,7 @@ x_1 = lean_mk_string_from_bytes("←", 3); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__3() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5() { _start: { lean_object* x_1; @@ -8105,7 +4375,7 @@ x_1 = lean_mk_string_from_bytes("proj", 4); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__4() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6() { _start: { lean_object* x_1; @@ -8113,22 +4383,22 @@ x_1 = lean_mk_string_from_bytes("a", 1); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__5() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__4; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__6() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__4; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__5; +x_3 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__7; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -8136,17 +4406,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__7() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__4; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18(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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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; @@ -8190,59 +4460,59 @@ x_26 = lean_environment_main_module(x_25); x_27 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__5; lean_inc(x_1); x_28 = l_Lean_Name_str___override(x_1, x_27); -x_29 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__16; +x_29 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__34; x_30 = l_Lean_Name_str___override(x_28, x_29); -x_31 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__217; +x_31 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1; lean_inc(x_30); x_32 = l_Lean_Name_str___override(x_30, x_31); -x_33 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__219; +x_33 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2; lean_inc(x_30); x_34 = l_Lean_Name_str___override(x_30, x_33); -x_35 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; +x_35 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; lean_inc(x_15); x_36 = lean_array_push(x_35, x_15); -x_37 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; +x_37 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; x_38 = lean_array_push(x_36, x_37); x_39 = lean_box(2); x_40 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_34); lean_ctor_set(x_40, 2, x_38); -x_41 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__109; +x_41 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__90; 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_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__1; +x_43 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3; lean_inc(x_30); x_44 = l_Lean_Name_str___override(x_30, x_43); -x_45 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__2; +x_45 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4; lean_inc(x_19); x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_19); lean_ctor_set(x_46, 1, x_45); -x_47 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; +x_47 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; lean_inc(x_30); x_48 = l_Lean_Name_str___override(x_30, x_47); lean_inc(x_2); x_49 = lean_mk_syntax_ident(x_2); -x_50 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__3; +x_50 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5; x_51 = l_Lean_Name_str___override(x_30, x_50); -x_52 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__7; +x_52 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__9; x_53 = l_Lean_addMacroScope(x_26, x_52, x_21); x_54 = lean_box(0); -x_55 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__6; +x_55 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8; lean_inc(x_19); x_56 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_56, 0, x_19); lean_ctor_set(x_56, 1, x_55); lean_ctor_set(x_56, 2, x_53); lean_ctor_set(x_56, 3, x_54); -x_57 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__245; +x_57 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__156; x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_19); lean_ctor_set(x_58, 1, x_57); -x_59 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__33; +x_59 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; x_60 = lean_array_push(x_59, x_56); x_61 = lean_array_push(x_60, x_58); x_62 = lean_array_push(x_61, x_15); @@ -8250,7 +4520,7 @@ x_63 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_63, 0, x_39); lean_ctor_set(x_63, 1, x_51); lean_ctor_set(x_63, 2, x_62); -x_64 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; +x_64 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; x_65 = lean_array_push(x_64, x_63); x_66 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; x_67 = lean_alloc_ctor(1, 3, 0); @@ -8286,7 +4556,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__19(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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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; @@ -8330,59 +4600,59 @@ x_26 = lean_environment_main_module(x_25); x_27 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__5; lean_inc(x_1); x_28 = l_Lean_Name_str___override(x_1, x_27); -x_29 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__16; +x_29 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__34; x_30 = l_Lean_Name_str___override(x_28, x_29); -x_31 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__217; +x_31 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1; lean_inc(x_30); x_32 = l_Lean_Name_str___override(x_30, x_31); -x_33 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__219; +x_33 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2; lean_inc(x_30); x_34 = l_Lean_Name_str___override(x_30, x_33); -x_35 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; +x_35 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; lean_inc(x_15); x_36 = lean_array_push(x_35, x_15); -x_37 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; +x_37 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; x_38 = lean_array_push(x_36, x_37); x_39 = lean_box(2); x_40 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_34); lean_ctor_set(x_40, 2, x_38); -x_41 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__109; +x_41 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__90; 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_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__1; +x_43 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3; lean_inc(x_30); x_44 = l_Lean_Name_str___override(x_30, x_43); -x_45 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__2; +x_45 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4; lean_inc(x_19); x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_19); lean_ctor_set(x_46, 1, x_45); -x_47 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; +x_47 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; lean_inc(x_30); x_48 = l_Lean_Name_str___override(x_30, x_47); lean_inc(x_2); x_49 = lean_mk_syntax_ident(x_2); -x_50 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__3; +x_50 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5; x_51 = l_Lean_Name_str___override(x_30, x_50); -x_52 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__7; +x_52 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__9; x_53 = l_Lean_addMacroScope(x_26, x_52, x_21); x_54 = lean_box(0); -x_55 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__6; +x_55 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8; lean_inc(x_19); x_56 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_56, 0, x_19); lean_ctor_set(x_56, 1, x_55); lean_ctor_set(x_56, 2, x_53); lean_ctor_set(x_56, 3, x_54); -x_57 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__245; +x_57 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__156; x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_19); lean_ctor_set(x_58, 1, x_57); -x_59 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__33; +x_59 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; x_60 = lean_array_push(x_59, x_56); x_61 = lean_array_push(x_60, x_58); x_62 = lean_array_push(x_61, x_15); @@ -8390,7 +4660,7 @@ x_63 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_63, 0, x_39); lean_ctor_set(x_63, 1, x_51); lean_ctor_set(x_63, 2, x_62); -x_64 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; +x_64 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; x_65 = lean_array_push(x_64, x_63); x_66 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; x_67 = lean_alloc_ctor(1, 3, 0); @@ -8426,7 +4696,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__20(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -8494,7 +4764,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__21(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -8518,31 +4788,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__22(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; size_t x_9; size_t x_10; lean_object* x_11; -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 = 1; -x_10 = lean_usize_add(x_3, x_9); -x_11 = lean_array_uset(x_8, x_3, x_6); -x_3 = x_10; -x_4 = x_11; -goto _start; -} -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__23___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6___closed__1() { _start: { lean_object* x_1; @@ -8550,7 +4796,7 @@ x_1 = lean_mk_string_from_bytes("structExplicitBinder", 20); return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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, size_t x_10, size_t x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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, size_t x_10, size_t x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -8581,10 +4827,10 @@ lean_inc(x_19); x_20 = lean_ctor_get(x_14, 1); lean_inc(x_20); lean_dec(x_14); -x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__23___closed__1; +x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6___closed__1; lean_inc(x_5); x_22 = l_Lean_Name_str___override(x_5, x_21); -x_23 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__80; +x_23 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52; lean_inc(x_3); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_3); @@ -8597,13 +4843,13 @@ x_27 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_4); lean_ctor_set(x_27, 2, x_25); -x_28 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__55; +x_28 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__32; lean_inc(x_5); x_29 = l_Lean_Name_str___override(x_5, x_28); -x_30 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__94; +x_30 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__36; lean_inc(x_1); x_31 = l_Lean_Name_str___override(x_1, x_30); -x_32 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26; +x_32 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__38; lean_inc(x_3); x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_3); @@ -8630,7 +4876,7 @@ x_41 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_41, 0, x_26); lean_ctor_set(x_41, 1, x_29); lean_ctor_set(x_41, 2, x_40); -x_42 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__92; +x_42 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; lean_inc(x_3); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_3); @@ -8655,31 +4901,31 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__24(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { _start: { -uint8_t x_6; -x_6 = lean_usize_dec_lt(x_4, x_3); -if (x_6 == 0) +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_5, x_4); +if (x_7 == 0) { -return x_5; +return x_6; } else { -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_7 = lean_array_uget(x_5, x_4); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_array_uset(x_5, x_4, x_8); -x_10 = 1; -x_11 = lean_usize_add(x_4, x_10); -x_12 = lean_array_uset(x_9, x_4, x_7); -x_4 = x_11; +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_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 = 1; +x_12 = lean_usize_add(x_5, x_11); +x_13 = lean_array_uset(x_10, x_5, x_8); x_5 = x_12; +x_6 = x_13; goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__25(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -8703,31 +4949,31 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__26(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { _start: { -uint8_t x_6; -x_6 = lean_usize_dec_lt(x_4, x_3); -if (x_6 == 0) +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_5, x_4); +if (x_7 == 0) { -return x_5; +return x_6; } else { -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_7 = lean_array_uget(x_5, x_4); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_array_uset(x_5, x_4, x_8); -x_10 = 1; -x_11 = lean_usize_add(x_4, x_10); -x_12 = lean_array_uset(x_9, x_4, x_7); -x_4 = x_11; +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_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 = 1; +x_12 = lean_usize_add(x_5, x_11); +x_13 = lean_array_uset(x_10, x_5, x_8); x_5 = x_12; +x_6 = x_13; goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__29(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_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__12(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* 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; @@ -8850,7 +5096,7 @@ return x_34; } } } -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__28___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_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11___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) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; @@ -8860,12 +5106,12 @@ x_13 = lean_array_get_size(x_12); x_14 = lean_usize_of_nat(x_13); lean_dec(x_13); x_15 = 0; -x_16 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; +x_16 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_17 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__29(x_3, x_12, x_14, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_17 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__12(x_3, x_12, x_14, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_12); if (lean_obj_tag(x_17) == 0) { @@ -8909,7 +5155,7 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__28___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) { +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11___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_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; @@ -8925,7 +5171,7 @@ lean_inc(x_16); lean_dec(x_12); x_17 = l_Lean_Expr_const___override(x_16, x_15); x_18 = l_Lean_mkAppN(x_17, x_2); -x_19 = lean_alloc_closure((void*)(l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__28___rarg___lambda__1), 10, 2); +x_19 = lean_alloc_closure((void*)(l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11___rarg___lambda__1), 10, 2); lean_closure_set(x_19, 0, x_4); lean_closure_set(x_19, 1, x_3); x_20 = l_Lean_Server_RpcEncoding_withFieldsAux___rarg___closed__2; @@ -8934,15 +5180,15 @@ x_22 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__3___rar return x_22; } } -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__28(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__28___rarg), 11, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11___rarg), 11, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__27___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_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___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; @@ -8959,96 +5205,42 @@ lean_inc(x_1); x_15 = lean_alloc_closure((void*)(l_Lean_Server_RpcEncoding_withFields___rarg___lambda__2___boxed), 3, 2); lean_closure_set(x_15, 0, x_1); lean_closure_set(x_15, 1, x_14); -x_16 = l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__28___rarg(x_1, x_2, x_3, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_16 = l_Lean_Server_RpcEncoding_withFieldsAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__11___rarg(x_1, x_2, x_3, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_13); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__27(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_withFields___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_RpcEncoding_withFields___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__27___rarg), 10, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_RpcEncoding_withFields___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___rarg), 10, 0); return x_2; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__1() { _start: { -lean_object* x_1; -x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__2() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__1; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; 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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__5() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__3; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__4; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___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; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__5; -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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___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; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__8() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__3() { _start: { lean_object* x_1; @@ -9056,25 +5248,69 @@ x_1 = lean_mk_string_from_bytes("term", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__9() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__8; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("explicit", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("@", 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_root_", 6); +return x_1; +} +} static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___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); +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } @@ -9082,33 +5318,33 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("explicit", 8); +x_1 = lean_mk_string_from_bytes("instRpcEncoding", 15); return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__12() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__11; -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("in", 2); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__13() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("@", 1); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__12; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__14() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("RpcEncodingPacket", 17); +x_1 = lean_mk_string_from_bytes("variable", 8); return x_1; } } @@ -9116,7 +5352,7 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__14; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -9128,7 +5364,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9140,7 +5376,7 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__42; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__18; x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -9201,7 +5437,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__22; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -9250,29 +5486,62 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("where", 5); +x_1 = lean_mk_string_from_bytes("RpcEncodingPacket", 17); return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__29() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__28; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__28; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__29; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__28; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__32() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_from_bytes("structFields", 12); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__30() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__29; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__32; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__31() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__34() { _start: { lean_object* x_1; @@ -9280,37 +5549,11 @@ x_1 = lean_mk_string_from_bytes("optDeriving", 11); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__31; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__33() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("deriving", 8); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__34() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("group", 5); -return x_1; -} -} static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__34; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -9320,57 +5563,53 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("FromJson", 8); +x_1 = lean_mk_string_from_bytes("deriving", 8); return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__37() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__36; -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("group", 5); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__38() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__37; -x_2 = lean_mk_syntax_ident(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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__37; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__39() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__38; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("FromJson", 8); +return x_1; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__40() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__39; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; -x_3 = lean_array_push(x_1, x_2); -return x_3; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(2); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__35; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__39; +x_2 = lean_unsigned_to_nat(0u); x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__40; -x_4 = lean_alloc_ctor(1, 3, 0); +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); @@ -9380,12 +5619,56 @@ return x_4; static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__42() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__39; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__43() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__39; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__43; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__45() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__44; +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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__46() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_from_bytes(",", 1); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__43() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__47() { _start: { lean_object* x_1; @@ -9393,76 +5676,36 @@ x_1 = lean_mk_string_from_bytes("ToJson", 6); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__43; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__45() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__44; -x_2 = lean_mk_syntax_ident(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__46() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__45; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__47() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__46; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__48() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__47; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__49() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(2); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__35; -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__47; -x_4 = lean_alloc_ctor(1, 3, 0); +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__47; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__48; +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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__49() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__33; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__41; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__50() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__23; -x_3 = lean_array_push(x_1, x_2); +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__47; +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } @@ -9470,33 +5713,33 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; -x_3 = lean_array_push(x_1, x_2); +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__47; +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__52() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(2); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__124; -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__51; -x_4 = lean_alloc_ctor(1, 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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__51; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__53() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__1; -x_3 = lean_array_push(x_1, x_2); +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__52; +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; } } @@ -9504,8 +5747,8 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__23; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -9513,144 +5756,20 @@ return x_3; static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__55() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("whereStructInst", 15); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__56() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__55; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__57() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("whereStructField", 16); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__58() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__57; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__59() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("letDecl", 7); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__60() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__59; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__61() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("letIdDecl", 9); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__62() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__61; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__63() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__225; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__64() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__63; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__65() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("termReturn", 10); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__66() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__65; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__67() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("return", 6); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__68() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(2); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__42; -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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__69() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__236; -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__51; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__123; +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__55; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9658,1039 +5777,1809 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__70() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__232; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__127; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__147; +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__58() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__56; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__59() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__60() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__59; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__61() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__33; +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__60; +x_4 = lean_alloc_ctor(1, 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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__62() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("show", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__63() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__62; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__64() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ellipsis", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__65() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__64; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__66() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("..", 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__67() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("fromTerm", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__68() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__67; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__69() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("from", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__70() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("structInst", 10); +return x_1; +} +} static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__71() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__70; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__72() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("{", 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__73() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__238; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__52; -x_3 = lean_array_push(x_1, x_2); +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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) { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__74() { _start: { -lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_array_get_size(x_1); -x_13 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_14 = 0; -x_15 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__7; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__75() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__87; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__76() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__75; +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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__77() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("fun", 3); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__78() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__77; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__79() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("basicFun", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__80() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__79; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__81() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("=>", 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__82() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("termReturn", 10); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__83() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__82; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__84() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("return", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__85() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(2); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__46; +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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__86() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("optEllipsis", 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__87() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__86; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__88() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(2); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__87; +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__55; +x_4 = lean_alloc_ctor(1, 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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__89() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("}", 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__90() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__104; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__91() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__90; +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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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) { +_start: +{ +lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__2; +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); -lean_inc(x_6); -lean_inc(x_5); -x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17(x_1, x_13, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_16) == 0) +x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1(x_1, x_16, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 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; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; size_t x_38; lean_object* x_39; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -x_20 = lean_ctor_get(x_19, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; size_t x_37; lean_object* x_38; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_ctor_get(x_16, 1); +x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); -lean_dec(x_16); -x_22 = lean_ctor_get(x_17, 0); -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_ctor_get(x_20, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); lean_dec(x_20); -x_26 = lean_array_get_size(x_24); -x_27 = lean_usize_of_nat(x_26); -lean_dec(x_26); -x_28 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; -x_29 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__225; -lean_inc(x_9); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_21, 1); lean_inc(x_24); -x_30 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18(x_28, x_29, x_27, x_14, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -x_31 = lean_ctor_get(x_30, 0); +lean_dec(x_21); +x_25 = lean_array_get_size(x_24); +x_26 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_27 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; +x_28 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__87; +lean_inc(x_12); +lean_inc(x_24); +x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2(x_27, x_28, x_26, x_17, x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_22); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__232; -lean_inc(x_9); +lean_dec(x_29); +x_32 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__104; +lean_inc(x_12); lean_inc(x_24); -x_34 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__19(x_28, x_33, x_27, x_14, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_32); -x_35 = lean_ctor_get(x_34, 0); +x_33 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__3(x_27, x_32, x_26, x_17, x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_31); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_array_get_size(x_2); -x_38 = lean_usize_of_nat(x_37); -lean_dec(x_37); -x_39 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__20(x_38, x_14, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_36); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -if (lean_obj_tag(x_39) == 0) +lean_dec(x_33); +x_36 = lean_array_get_size(x_2); +x_37 = lean_usize_of_nat(x_36); +lean_dec(x_36); +x_38 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4(x_37, x_17, x_2, x_8, x_9, x_10, x_11, x_12, x_13, x_35); +lean_dec(x_11); +if (lean_obj_tag(x_38) == 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; size_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; size_t 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; -x_40 = lean_ctor_get(x_39, 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; 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; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_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_inc(x_41); -lean_dec(x_39); -lean_inc(x_9); -x_42 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, x_41); -x_43 = lean_ctor_get(x_42, 0); +lean_dec(x_38); +lean_inc(x_12); +x_41 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_12, x_13, 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); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_st_ref_get(x_10, x_44); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = lean_box(0); -x_48 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__13; -x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_43); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_ctor_get(x_3, 0); -lean_inc(x_50); +lean_dec(x_41); +x_44 = lean_st_ref_get(x_13, x_43); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_46 = lean_box(0); +x_47 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__8; +x_48 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_48, 0, x_42); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_ctor_get(x_3, 0); +lean_inc(x_49); lean_dec(x_3); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -lean_dec(x_50); -x_52 = lean_mk_syntax_ident(x_51); -x_53 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_54 = lean_array_push(x_53, x_49); -x_55 = lean_array_push(x_54, x_52); -x_56 = lean_box(2); -x_57 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__12; -x_58 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_58, 2, x_55); -x_59 = lean_array_get_size(x_40); -x_60 = lean_usize_of_nat(x_59); -lean_dec(x_59); -x_61 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__10; -x_62 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__21(x_61, x_60, x_14, x_40); -x_63 = l_Lean_Syntax_mkApp(x_58, x_62); -x_64 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__15; -x_65 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_64, x_9, x_10, x_46); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_mk_syntax_ident(x_66); -x_69 = lean_array_get_size(x_25); -x_70 = lean_usize_of_nat(x_69); -lean_dec(x_69); -x_71 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__22(x_61, x_70, x_14, x_25); -lean_inc(x_68); -x_72 = l_Lean_Syntax_mkApp(x_68, x_71); -lean_inc(x_9); -x_73 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(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); -lean_inc(x_75); -lean_dec(x_73); -x_76 = lean_ctor_get(x_9, 10); -lean_inc(x_76); -lean_dec(x_9); -x_77 = lean_st_ref_get(x_10, x_75); -lean_dec(x_10); -x_78 = !lean_is_exclusive(x_77); -if (x_78 == 0) +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +lean_dec(x_49); +lean_inc(x_50); +x_51 = lean_mk_syntax_ident(x_50); +x_52 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_53 = lean_array_push(x_52, x_48); +x_54 = lean_array_push(x_53, x_51); +x_55 = lean_box(2); +x_56 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__7; +x_57 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_57, 2, x_54); +x_58 = lean_array_get_size(x_39); +x_59 = lean_usize_of_nat(x_58); +lean_dec(x_58); +x_60 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__5; +x_61 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__5(x_60, x_59, x_17, x_39); +x_62 = l_Lean_Syntax_mkApp(x_57, x_61); +x_63 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__11; +x_64 = lean_name_append_before(x_50, x_63); +x_65 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__10; +x_66 = l_Lean_Name_append(x_65, x_64); +x_67 = lean_mk_syntax_ident(x_66); +lean_inc(x_12); +x_68 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_12, x_13, x_45); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_ctor_get(x_12, 10); +lean_inc(x_71); +lean_dec(x_12); +x_72 = lean_st_ref_get(x_13, x_70); +lean_dec(x_13); +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 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; 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; size_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; 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; size_t x_189; lean_object* x_190; lean_object* x_191; size_t 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; size_t x_236; lean_object* x_237; lean_object* x_238; size_t 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; -x_79 = lean_ctor_get(x_77, 0); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -lean_dec(x_79); -x_81 = lean_environment_main_module(x_80); -x_82 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; -lean_inc(x_74); -x_83 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_83, 0, x_74); -lean_ctor_set(x_83, 1, x_82); -x_84 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -x_85 = l_Array_append___rarg(x_84, x_22); -x_86 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_87 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_87, 0, x_56); -lean_ctor_set(x_87, 1, x_86); -lean_ctor_set(x_87, 2, x_85); -x_88 = lean_array_push(x_53, x_83); -x_89 = lean_array_push(x_88, x_87); -x_90 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__15; -x_91 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_91, 0, x_56); -lean_ctor_set(x_91, 1, x_90); -lean_ctor_set(x_91, 2, x_89); -x_92 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__24; -lean_inc(x_74); -x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_74); -lean_ctor_set(x_93, 1, x_92); -x_94 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -x_95 = lean_array_push(x_94, x_93); -x_96 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__27; -x_97 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_97, 0, x_56); -lean_ctor_set(x_97, 1, x_96); -lean_ctor_set(x_97, 2, x_95); -x_98 = lean_array_push(x_53, x_68); -x_99 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; -x_100 = lean_array_push(x_98, x_99); -x_101 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__50; -x_102 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_102, 0, x_56); -lean_ctor_set(x_102, 1, x_101); -lean_ctor_set(x_102, 2, x_100); -x_103 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__28; -lean_inc(x_74); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_74); -lean_ctor_set(x_104, 1, x_103); -x_105 = l_Array_zip___rarg(x_24, x_23); +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; size_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; 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; size_t x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; size_t 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; size_t x_330; lean_object* x_331; lean_object* x_332; size_t 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; +x_74 = lean_ctor_get(x_72, 0); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +lean_dec(x_74); +x_76 = lean_environment_main_module(x_75); +x_77 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__14; +lean_inc(x_69); +x_78 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_78, 0, x_69); +lean_ctor_set(x_78, 1, x_77); +x_79 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; +lean_inc(x_4); +x_80 = l_Array_append___rarg(x_79, x_4); +x_81 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; +x_82 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_82, 0, x_55); +lean_ctor_set(x_82, 1, x_81); +lean_ctor_set(x_82, 2, x_80); +x_83 = lean_array_push(x_52, x_78); +lean_inc(x_83); +x_84 = lean_array_push(x_83, x_82); +x_85 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__15; +x_86 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_86, 0, x_55); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_86, 2, x_84); +x_87 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__12; +lean_inc(x_69); +x_88 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_88, 0, x_69); +lean_ctor_set(x_88, 1, x_87); +x_89 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__24; +lean_inc(x_69); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_69); +lean_ctor_set(x_90, 1, x_89); +x_91 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; +x_92 = lean_array_push(x_91, x_90); +x_93 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__27; +x_94 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_94, 0, x_55); +lean_ctor_set(x_94, 1, x_93); +lean_ctor_set(x_94, 2, x_92); +x_95 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__31; +lean_inc(x_71); +lean_inc(x_76); +x_96 = l_Lean_addMacroScope(x_76, x_95, x_71); +x_97 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__30; +lean_inc(x_69); +x_98 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_98, 0, x_69); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_96); +lean_ctor_set(x_98, 3, x_46); +x_99 = lean_array_push(x_52, x_98); +x_100 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; +lean_inc(x_99); +x_101 = lean_array_push(x_99, x_100); +x_102 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26; +x_103 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_103, 0, x_55); +lean_ctor_set(x_103, 1, x_102); +lean_ctor_set(x_103, 2, x_101); +x_104 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__76; +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 = l_Array_zip___rarg(x_24, x_23); lean_dec(x_23); lean_dec(x_24); -x_106 = lean_array_get_size(x_105); -x_107 = lean_usize_of_nat(x_106); -lean_dec(x_106); -x_108 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_109 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_110 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__42; -x_111 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__23; -lean_inc(x_74); -x_112 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__23(x_108, x_53, x_74, x_86, x_109, x_99, x_110, x_111, x_94, x_107, x_14, x_105); -x_113 = l_Array_append___rarg(x_84, x_112); -x_114 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_114, 0, x_56); -lean_ctor_set(x_114, 1, x_86); -lean_ctor_set(x_114, 2, x_113); -x_115 = lean_array_push(x_94, x_114); -x_116 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__30; -x_117 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_117, 0, x_56); -lean_ctor_set(x_117, 1, x_116); -lean_ctor_set(x_117, 2, x_115); -x_118 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__33; -x_119 = lean_array_push(x_118, x_104); -lean_inc(x_119); -x_120 = lean_array_push(x_119, x_99); -x_121 = lean_array_push(x_120, x_117); -x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_56); -lean_ctor_set(x_122, 1, x_86); -lean_ctor_set(x_122, 2, x_121); -x_123 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__33; -lean_inc(x_74); -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_74); -lean_ctor_set(x_124, 1, x_123); -x_125 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__42; -lean_inc(x_74); -x_126 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_126, 0, x_74); -lean_ctor_set(x_126, 1, x_125); -x_127 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__49; -x_128 = lean_array_push(x_127, x_126); -x_129 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__48; -x_130 = lean_array_push(x_128, x_129); -x_131 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_131, 0, x_56); -lean_ctor_set(x_131, 1, x_86); -lean_ctor_set(x_131, 2, x_130); -x_132 = lean_array_push(x_53, x_124); -x_133 = lean_array_push(x_132, x_131); +x_107 = lean_array_get_size(x_106); +x_108 = lean_usize_of_nat(x_107); +lean_dec(x_107); +x_109 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_110 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_111 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__18; +x_112 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__23; +lean_inc(x_69); +x_113 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6(x_109, x_52, x_69, x_81, x_110, x_100, x_111, x_112, x_91, x_108, x_17, x_106); +x_114 = l_Array_append___rarg(x_79, x_113); +x_115 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_115, 0, x_55); +lean_ctor_set(x_115, 1, x_81); +lean_ctor_set(x_115, 2, x_114); +x_116 = lean_array_push(x_91, x_115); +x_117 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__33; +x_118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_118, 0, x_55); +lean_ctor_set(x_118, 1, x_117); +lean_ctor_set(x_118, 2, x_116); +x_119 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; +x_120 = lean_array_push(x_119, x_105); +x_121 = lean_array_push(x_120, x_100); +x_122 = lean_array_push(x_121, x_118); +x_123 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_123, 0, x_55); +lean_ctor_set(x_123, 1, x_81); +lean_ctor_set(x_123, 2, x_122); +x_124 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__36; +lean_inc(x_69); +x_125 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_125, 0, x_69); +lean_ctor_set(x_125, 1, x_124); +x_126 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__42; +lean_inc(x_71); +lean_inc(x_76); +x_127 = l_Lean_addMacroScope(x_76, x_126, x_71); +x_128 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__41; +x_129 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__45; +lean_inc(x_69); +x_130 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_130, 0, x_69); +lean_ctor_set(x_130, 1, x_128); +lean_ctor_set(x_130, 2, x_127); +lean_ctor_set(x_130, 3, x_129); +x_131 = lean_array_push(x_52, x_130); +x_132 = lean_array_push(x_131, x_100); +x_133 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__38; x_134 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_134, 0, x_56); -lean_ctor_set(x_134, 1, x_86); -lean_ctor_set(x_134, 2, x_133); -x_135 = lean_array_push(x_94, x_134); -x_136 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__32; -x_137 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_137, 0, x_56); -lean_ctor_set(x_137, 1, x_136); -lean_ctor_set(x_137, 2, x_135); -x_138 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__117; -x_139 = lean_array_push(x_138, x_97); -x_140 = lean_array_push(x_139, x_102); -x_141 = lean_array_push(x_140, x_99); -x_142 = lean_array_push(x_141, x_99); -x_143 = lean_array_push(x_142, x_99); -x_144 = lean_array_push(x_143, x_122); -x_145 = lean_array_push(x_144, x_137); -x_146 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__25; -x_147 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_147, 0, x_56); -lean_ctor_set(x_147, 1, x_146); -lean_ctor_set(x_147, 2, x_145); -x_148 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__50; -x_149 = lean_array_push(x_148, x_147); -x_150 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__37; +lean_ctor_set(x_134, 0, x_55); +lean_ctor_set(x_134, 1, x_133); +lean_ctor_set(x_134, 2, x_132); +x_135 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__46; +lean_inc(x_69); +x_136 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_136, 0, x_69); +lean_ctor_set(x_136, 1, x_135); +x_137 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__50; +lean_inc(x_71); +lean_inc(x_76); +x_138 = l_Lean_addMacroScope(x_76, x_137, x_71); +x_139 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__49; +x_140 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__53; +lean_inc(x_69); +x_141 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_141, 0, x_69); +lean_ctor_set(x_141, 1, x_139); +lean_ctor_set(x_141, 2, x_138); +lean_ctor_set(x_141, 3, x_140); +x_142 = lean_array_push(x_52, x_141); +x_143 = lean_array_push(x_142, x_100); +x_144 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_144, 0, x_55); +lean_ctor_set(x_144, 1, x_133); +lean_ctor_set(x_144, 2, x_143); +x_145 = lean_array_push(x_119, x_134); +x_146 = lean_array_push(x_145, x_136); +x_147 = lean_array_push(x_146, x_144); +x_148 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_148, 0, x_55); +lean_ctor_set(x_148, 1, x_81); +lean_ctor_set(x_148, 2, x_147); +x_149 = lean_array_push(x_52, x_125); +x_150 = lean_array_push(x_149, x_148); x_151 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_151, 0, x_56); -lean_ctor_set(x_151, 1, x_150); -lean_ctor_set(x_151, 2, x_149); -x_152 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__205; -lean_inc(x_74); -x_153 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_153, 0, x_74); -lean_ctor_set(x_153, 1, x_152); -x_154 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26; -lean_inc(x_74); -x_155 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_155, 0, x_74); -lean_ctor_set(x_155, 1, x_154); -x_156 = lean_array_push(x_53, x_63); -x_157 = lean_array_push(x_156, x_72); -x_158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_158, 0, x_56); -lean_ctor_set(x_158, 1, x_86); -lean_ctor_set(x_158, 2, x_157); -x_159 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__53; -x_160 = lean_array_push(x_159, x_158); -x_161 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; -x_162 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_162, 0, x_56); -lean_ctor_set(x_162, 1, x_161); -lean_ctor_set(x_162, 2, x_160); -x_163 = lean_array_push(x_53, x_155); -x_164 = lean_array_push(x_163, x_162); -x_165 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__95; -x_166 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_166, 0, x_56); -lean_ctor_set(x_166, 1, x_165); -lean_ctor_set(x_166, 2, x_164); -x_167 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__54; -x_168 = lean_array_push(x_167, x_166); -x_169 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__143; -x_170 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_170, 0, x_56); -lean_ctor_set(x_170, 1, x_169); -lean_ctor_set(x_170, 2, x_168); -x_171 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__224; -lean_inc(x_76); -lean_inc(x_81); -x_172 = l_Lean_addMacroScope(x_81, x_171, x_76); -x_173 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__223; -x_174 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__64; -lean_inc(x_74); -x_175 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_175, 0, x_74); -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_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__7; -lean_inc(x_76); -lean_inc(x_81); -x_177 = l_Lean_addMacroScope(x_81, x_176, x_76); -x_178 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__6; -lean_inc(x_74); -x_179 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_179, 0, x_74); -lean_ctor_set(x_179, 1, x_178); -lean_ctor_set(x_179, 2, x_177); -lean_ctor_set(x_179, 3, x_47); -x_180 = lean_array_push(x_94, x_179); -x_181 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_181, 0, x_56); -lean_ctor_set(x_181, 1, x_86); -lean_ctor_set(x_181, 2, x_180); -x_182 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__109; -lean_inc(x_74); +lean_ctor_set(x_151, 0, x_55); +lean_ctor_set(x_151, 1, x_81); +lean_ctor_set(x_151, 2, x_150); +x_152 = lean_array_push(x_91, x_151); +x_153 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__35; +x_154 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_154, 0, x_55); +lean_ctor_set(x_154, 1, x_153); +lean_ctor_set(x_154, 2, x_152); +x_155 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__116; +x_156 = lean_array_push(x_155, x_94); +x_157 = lean_array_push(x_156, x_103); +x_158 = lean_array_push(x_157, x_100); +x_159 = lean_array_push(x_158, x_100); +x_160 = lean_array_push(x_159, x_100); +x_161 = lean_array_push(x_160, x_123); +x_162 = lean_array_push(x_161, x_154); +x_163 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__25; +x_164 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_164, 0, x_55); +lean_ctor_set(x_164, 1, x_163); +lean_ctor_set(x_164, 2, x_162); +x_165 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__54; +x_166 = lean_array_push(x_165, x_164); +x_167 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__10; +x_168 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_168, 0, x_55); +lean_ctor_set(x_168, 1, x_167); +lean_ctor_set(x_168, 2, x_166); +x_169 = lean_array_push(x_119, x_86); +lean_inc(x_88); +x_170 = lean_array_push(x_169, x_88); +x_171 = lean_array_push(x_170, x_168); +x_172 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__13; +x_173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_173, 0, x_55); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set(x_173, 2, x_171); +x_174 = l_Array_append___rarg(x_5, x_4); +x_175 = l_Array_append___rarg(x_174, x_6); +x_176 = l_Array_append___rarg(x_79, x_175); +x_177 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_177, 0, x_55); +lean_ctor_set(x_177, 1, x_81); +lean_ctor_set(x_177, 2, x_176); +x_178 = lean_array_push(x_83, x_177); +x_179 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_179, 0, x_55); +lean_ctor_set(x_179, 1, x_85); +lean_ctor_set(x_179, 2, x_178); +x_180 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__119; +lean_inc(x_69); +x_181 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_181, 0, x_69); +lean_ctor_set(x_181, 1, x_180); +x_182 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__147; +lean_inc(x_69); x_183 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_183, 0, x_74); +lean_ctor_set(x_183, 0, x_69); lean_ctor_set(x_183, 1, x_182); -x_184 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__67; -lean_inc(x_74); -x_185 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_185, 0, x_74); -lean_ctor_set(x_185, 1, x_184); -x_186 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__20; -lean_inc(x_74); -x_187 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_187, 0, x_74); +x_184 = lean_array_push(x_52, x_183); +x_185 = lean_array_push(x_184, x_100); +x_186 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__57; +x_187 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_187, 0, x_55); lean_ctor_set(x_187, 1, x_186); -x_188 = lean_array_get_size(x_31); -x_189 = lean_usize_of_nat(x_188); -lean_dec(x_188); -x_190 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__24(x_47, x_108, x_189, x_14, x_31); -x_191 = lean_array_get_size(x_190); -x_192 = lean_usize_of_nat(x_191); -lean_dec(x_191); -x_193 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__25(x_192, x_14, x_190); -x_194 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__68; -x_195 = l_Lean_mkSepArray(x_193, x_194); -lean_dec(x_193); -x_196 = l_Array_append___rarg(x_84, x_195); -x_197 = lean_array_push(x_196, x_99); -x_198 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_198, 0, x_56); -lean_ctor_set(x_198, 1, x_86); -lean_ctor_set(x_198, 2, x_197); -x_199 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__34; -lean_inc(x_74); -x_200 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_200, 0, x_74); +lean_ctor_set(x_187, 2, x_185); +x_188 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__58; +x_189 = lean_array_push(x_188, x_187); +x_190 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__121; +x_191 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_191, 0, x_55); +lean_ctor_set(x_191, 1, x_190); +lean_ctor_set(x_191, 2, x_189); +x_192 = lean_array_push(x_91, x_191); +x_193 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_193, 0, x_55); +lean_ctor_set(x_193, 1, x_81); +lean_ctor_set(x_193, 2, x_192); +x_194 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__135; +lean_inc(x_69); +x_195 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_195, 0, x_69); +lean_ctor_set(x_195, 1, x_194); +x_196 = lean_array_push(x_119, x_181); +x_197 = lean_array_push(x_196, x_193); +x_198 = lean_array_push(x_197, x_195); +x_199 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__118; +x_200 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_200, 0, x_55); lean_ctor_set(x_200, 1, x_199); -x_201 = lean_array_push(x_110, x_187); -x_202 = lean_array_push(x_201, x_99); -lean_inc(x_202); -x_203 = lean_array_push(x_202, x_198); -x_204 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__69; -x_205 = lean_array_push(x_203, x_204); -x_206 = lean_array_push(x_205, x_99); -lean_inc(x_200); -x_207 = lean_array_push(x_206, x_200); -x_208 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__216; -x_209 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_209, 0, x_56); -lean_ctor_set(x_209, 1, x_208); -lean_ctor_set(x_209, 2, x_207); -x_210 = lean_array_push(x_94, x_209); -x_211 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_211, 0, x_56); -lean_ctor_set(x_211, 1, x_86); -lean_ctor_set(x_211, 2, x_210); -x_212 = lean_array_push(x_53, x_185); -lean_inc(x_212); -x_213 = lean_array_push(x_212, x_211); -x_214 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__66; +lean_ctor_set(x_200, 2, x_198); +x_201 = lean_array_push(x_91, x_200); +x_202 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_202, 0, x_55); +lean_ctor_set(x_202, 1, x_81); +lean_ctor_set(x_202, 2, x_201); +x_203 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__17; +x_204 = lean_array_push(x_203, x_202); +x_205 = lean_array_push(x_204, x_100); +x_206 = lean_array_push(x_205, x_100); +x_207 = lean_array_push(x_206, x_100); +x_208 = lean_array_push(x_207, x_100); +x_209 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; +x_210 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_210, 0, x_55); +lean_ctor_set(x_210, 1, x_209); +lean_ctor_set(x_210, 2, x_208); +x_211 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__23; +lean_inc(x_69); +x_212 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_212, 0, x_69); +lean_ctor_set(x_212, 1, x_211); +x_213 = lean_array_push(x_52, x_67); +x_214 = lean_array_push(x_213, x_100); x_215 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_215, 0, x_56); -lean_ctor_set(x_215, 1, x_214); -lean_ctor_set(x_215, 2, x_213); -x_216 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93; -x_217 = lean_array_push(x_216, x_175); -lean_inc(x_181); -x_218 = lean_array_push(x_217, x_181); -x_219 = lean_array_push(x_218, x_99); -lean_inc(x_183); -x_220 = lean_array_push(x_219, x_183); -x_221 = lean_array_push(x_220, x_215); -x_222 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__62; -x_223 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_223, 0, x_56); -lean_ctor_set(x_223, 1, x_222); -lean_ctor_set(x_223, 2, x_221); -x_224 = lean_array_push(x_94, x_223); -x_225 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__60; -x_226 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_226, 0, x_56); +lean_ctor_set(x_215, 0, x_55); +lean_ctor_set(x_215, 1, x_102); +lean_ctor_set(x_215, 2, x_214); +x_216 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__90; +lean_inc(x_69); +x_217 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_217, 0, x_69); +lean_ctor_set(x_217, 1, x_216); +x_218 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__62; +lean_inc(x_69); +x_219 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_219, 0, x_69); +lean_ctor_set(x_219, 1, x_218); +x_220 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__44; +lean_inc(x_71); +lean_inc(x_76); +x_221 = l_Lean_addMacroScope(x_76, x_220, x_71); +x_222 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43; +x_223 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__5; +lean_inc(x_69); +x_224 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_224, 0, x_69); +lean_ctor_set(x_224, 1, x_222); +lean_ctor_set(x_224, 2, x_221); +lean_ctor_set(x_224, 3, x_223); +x_225 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52; +lean_inc(x_69); +x_226 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_226, 0, x_69); lean_ctor_set(x_226, 1, x_225); -lean_ctor_set(x_226, 2, x_224); -x_227 = lean_array_push(x_94, x_226); -x_228 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__58; -x_229 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_229, 0, x_56); -lean_ctor_set(x_229, 1, x_228); -lean_ctor_set(x_229, 2, x_227); -x_230 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__231; -x_231 = l_Lean_addMacroScope(x_81, x_230, x_76); -x_232 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__230; -x_233 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__71; -x_234 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_234, 0, x_74); -lean_ctor_set(x_234, 1, x_232); -lean_ctor_set(x_234, 2, x_231); -lean_ctor_set(x_234, 3, x_233); -x_235 = lean_array_get_size(x_35); -x_236 = lean_usize_of_nat(x_235); -lean_dec(x_235); -x_237 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__26(x_47, x_108, x_236, x_14, x_35); -x_238 = lean_array_get_size(x_237); -x_239 = lean_usize_of_nat(x_238); -lean_dec(x_238); -x_240 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__25(x_239, x_14, x_237); -x_241 = l_Lean_mkSepArray(x_240, x_194); -lean_dec(x_240); -x_242 = l_Array_append___rarg(x_84, x_241); -x_243 = lean_array_push(x_242, x_99); -x_244 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_244, 0, x_56); -lean_ctor_set(x_244, 1, x_86); -lean_ctor_set(x_244, 2, x_243); -x_245 = lean_array_push(x_202, x_244); -x_246 = lean_array_push(x_245, x_204); -x_247 = lean_array_push(x_246, x_99); -x_248 = lean_array_push(x_247, x_200); +x_227 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__66; +lean_inc(x_69); +x_228 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_228, 0, x_69); +lean_ctor_set(x_228, 1, x_227); +x_229 = lean_array_push(x_91, x_228); +x_230 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__65; +x_231 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_231, 0, x_55); +lean_ctor_set(x_231, 1, x_230); +lean_ctor_set(x_231, 2, x_229); +x_232 = lean_array_push(x_91, x_231); +x_233 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_233, 0, x_55); +lean_ctor_set(x_233, 1, x_81); +lean_ctor_set(x_233, 2, x_232); +x_234 = lean_array_push(x_99, x_233); +x_235 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__40; +x_236 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_236, 0, x_55); +lean_ctor_set(x_236, 1, x_235); +lean_ctor_set(x_236, 2, x_234); +x_237 = lean_array_push(x_52, x_236); +x_238 = lean_array_push(x_237, x_100); +x_239 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_239, 0, x_55); +lean_ctor_set(x_239, 1, x_81); +lean_ctor_set(x_239, 2, x_238); +x_240 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; +lean_inc(x_69); +x_241 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_241, 0, x_69); +lean_ctor_set(x_241, 1, x_240); +x_242 = lean_array_push(x_119, x_226); +x_243 = lean_array_push(x_242, x_239); +x_244 = lean_array_push(x_243, x_241); +x_245 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__51; +x_246 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_246, 0, x_55); +lean_ctor_set(x_246, 1, x_245); +lean_ctor_set(x_246, 2, x_244); +x_247 = lean_array_push(x_52, x_62); +x_248 = lean_array_push(x_247, x_246); x_249 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_249, 0, x_56); -lean_ctor_set(x_249, 1, x_208); +lean_ctor_set(x_249, 0, x_55); +lean_ctor_set(x_249, 1, x_81); lean_ctor_set(x_249, 2, x_248); -x_250 = lean_array_push(x_94, x_249); -x_251 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_251, 0, x_56); -lean_ctor_set(x_251, 1, x_86); -lean_ctor_set(x_251, 2, x_250); -x_252 = lean_array_push(x_212, x_251); -x_253 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_253, 0, x_56); -lean_ctor_set(x_253, 1, x_214); -lean_ctor_set(x_253, 2, x_252); -x_254 = lean_array_push(x_216, x_234); -x_255 = lean_array_push(x_254, x_181); -x_256 = lean_array_push(x_255, x_99); -x_257 = lean_array_push(x_256, x_183); -x_258 = lean_array_push(x_257, x_253); -x_259 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_259, 0, x_56); -lean_ctor_set(x_259, 1, x_222); -lean_ctor_set(x_259, 2, x_258); -x_260 = lean_array_push(x_94, x_259); -x_261 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_261, 0, x_56); -lean_ctor_set(x_261, 1, x_225); -lean_ctor_set(x_261, 2, x_260); -x_262 = lean_array_push(x_94, x_261); -x_263 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_263, 0, x_56); -lean_ctor_set(x_263, 1, x_228); -lean_ctor_set(x_263, 2, x_262); -x_264 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_265 = lean_array_push(x_264, x_229); -x_266 = lean_array_push(x_265, x_99); -x_267 = lean_array_push(x_266, x_263); -x_268 = lean_array_push(x_267, x_99); -x_269 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_269, 0, x_56); -lean_ctor_set(x_269, 1, x_86); -lean_ctor_set(x_269, 2, x_268); -x_270 = lean_array_push(x_119, x_269); -x_271 = lean_array_push(x_270, x_99); -x_272 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__56; +x_250 = lean_array_push(x_52, x_224); +x_251 = lean_array_push(x_250, x_249); +x_252 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_252, 0, x_55); +lean_ctor_set(x_252, 1, x_235); +lean_ctor_set(x_252, 2, x_251); +x_253 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__69; +lean_inc(x_69); +x_254 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_254, 0, x_69); +lean_ctor_set(x_254, 1, x_253); +x_255 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__72; +lean_inc(x_69); +x_256 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_256, 0, x_69); +lean_ctor_set(x_256, 1, x_255); +x_257 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__86; +lean_inc(x_71); +lean_inc(x_76); +x_258 = l_Lean_addMacroScope(x_76, x_257, x_71); +x_259 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__85; +x_260 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__76; +lean_inc(x_69); +x_261 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_261, 0, x_69); +lean_ctor_set(x_261, 1, x_259); +lean_ctor_set(x_261, 2, x_258); +lean_ctor_set(x_261, 3, x_260); +x_262 = lean_array_push(x_52, x_261); +x_263 = lean_array_push(x_262, x_100); +x_264 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__74; +x_265 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_265, 0, x_55); +lean_ctor_set(x_265, 1, x_264); +lean_ctor_set(x_265, 2, x_263); +x_266 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__77; +lean_inc(x_69); +x_267 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_267, 0, x_69); +lean_ctor_set(x_267, 1, x_266); +x_268 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__9; +lean_inc(x_71); +lean_inc(x_76); +x_269 = l_Lean_addMacroScope(x_76, x_268, x_71); +x_270 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8; +lean_inc(x_69); +x_271 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_271, 0, x_69); +lean_ctor_set(x_271, 1, x_270); +lean_ctor_set(x_271, 2, x_269); +lean_ctor_set(x_271, 3, x_46); +x_272 = lean_array_push(x_91, x_271); x_273 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_273, 0, x_56); -lean_ctor_set(x_273, 1, x_272); -lean_ctor_set(x_273, 2, x_271); -x_274 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__72; -x_275 = lean_array_push(x_274, x_153); -x_276 = lean_array_push(x_275, x_99); -x_277 = lean_array_push(x_276, x_99); -x_278 = lean_array_push(x_277, x_170); -x_279 = lean_array_push(x_278, x_273); -x_280 = lean_array_push(x_279, x_99); -x_281 = lean_array_push(x_280, x_99); -x_282 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__206; -x_283 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_283, 0, x_56); -lean_ctor_set(x_283, 1, x_282); -lean_ctor_set(x_283, 2, x_281); -x_284 = lean_array_push(x_148, x_283); -x_285 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_285, 0, x_56); -lean_ctor_set(x_285, 1, x_150); -lean_ctor_set(x_285, 2, x_284); -x_286 = lean_array_push(x_118, x_91); -x_287 = lean_array_push(x_286, x_151); -x_288 = lean_array_push(x_287, x_285); -x_289 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_289, 0, x_56); -lean_ctor_set(x_289, 1, x_86); -lean_ctor_set(x_289, 2, x_288); -lean_ctor_set(x_77, 0, x_289); -return x_77; -} -else -{ -lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_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; size_t 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; size_t x_401; lean_object* x_402; lean_object* x_403; size_t 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; size_t x_448; lean_object* x_449; lean_object* x_450; size_t 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; -x_290 = lean_ctor_get(x_77, 0); -x_291 = lean_ctor_get(x_77, 1); -lean_inc(x_291); -lean_inc(x_290); -lean_dec(x_77); -x_292 = lean_ctor_get(x_290, 0); +lean_ctor_set(x_273, 0, x_55); +lean_ctor_set(x_273, 1, x_81); +lean_ctor_set(x_273, 2, x_272); +x_274 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__81; +lean_inc(x_69); +x_275 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_275, 0, x_69); +lean_ctor_set(x_275, 1, x_274); +x_276 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__84; +lean_inc(x_69); +x_277 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_277, 0, x_69); +lean_ctor_set(x_277, 1, x_276); +x_278 = lean_array_get_size(x_30); +x_279 = lean_usize_of_nat(x_278); +lean_dec(x_278); +x_280 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__73; +x_281 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(x_46, x_109, x_280, x_279, x_17, x_30); +x_282 = lean_array_get_size(x_281); +x_283 = lean_usize_of_nat(x_282); +lean_dec(x_282); +x_284 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8(x_283, x_17, x_281); +x_285 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__85; +x_286 = l_Lean_mkSepArray(x_284, x_285); +lean_dec(x_284); +x_287 = l_Array_append___rarg(x_79, x_286); +x_288 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_288, 0, x_55); +lean_ctor_set(x_288, 1, x_81); +lean_ctor_set(x_288, 2, x_287); +x_289 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__89; +lean_inc(x_69); +x_290 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_290, 0, x_69); +lean_ctor_set(x_290, 1, x_289); +x_291 = lean_array_push(x_111, x_256); +x_292 = lean_array_push(x_291, x_100); lean_inc(x_292); -lean_dec(x_290); -x_293 = lean_environment_main_module(x_292); -x_294 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; -lean_inc(x_74); -x_295 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_295, 0, x_74); -lean_ctor_set(x_295, 1, x_294); -x_296 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -x_297 = l_Array_append___rarg(x_296, x_22); -x_298 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; +x_293 = lean_array_push(x_292, x_288); +x_294 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__88; +x_295 = lean_array_push(x_293, x_294); +x_296 = lean_array_push(x_295, x_100); +lean_inc(x_290); +x_297 = lean_array_push(x_296, x_290); +x_298 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__71; x_299 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_299, 0, x_56); +lean_ctor_set(x_299, 0, x_55); lean_ctor_set(x_299, 1, x_298); lean_ctor_set(x_299, 2, x_297); -x_300 = lean_array_push(x_53, x_295); -x_301 = lean_array_push(x_300, x_299); -x_302 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__15; -x_303 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_303, 0, x_56); -lean_ctor_set(x_303, 1, x_302); -lean_ctor_set(x_303, 2, x_301); -x_304 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__24; -lean_inc(x_74); -x_305 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_305, 0, x_74); +x_300 = lean_array_push(x_91, x_299); +x_301 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_301, 0, x_55); +lean_ctor_set(x_301, 1, x_81); +lean_ctor_set(x_301, 2, x_300); +x_302 = lean_array_push(x_52, x_277); +lean_inc(x_302); +x_303 = lean_array_push(x_302, x_301); +x_304 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__83; +x_305 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_305, 0, x_55); lean_ctor_set(x_305, 1, x_304); -x_306 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -x_307 = lean_array_push(x_306, x_305); -x_308 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__27; -x_309 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_309, 0, x_56); -lean_ctor_set(x_309, 1, x_308); -lean_ctor_set(x_309, 2, x_307); -x_310 = lean_array_push(x_53, x_68); -x_311 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; -x_312 = lean_array_push(x_310, x_311); -x_313 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__50; -x_314 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_314, 0, x_56); -lean_ctor_set(x_314, 1, x_313); -lean_ctor_set(x_314, 2, x_312); -x_315 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__28; -lean_inc(x_74); -x_316 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_316, 0, x_74); +lean_ctor_set(x_305, 2, x_303); +x_306 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115; +x_307 = lean_array_push(x_306, x_273); +x_308 = lean_array_push(x_307, x_100); +x_309 = lean_array_push(x_308, x_275); +lean_inc(x_309); +x_310 = lean_array_push(x_309, x_305); +x_311 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__80; +x_312 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_312, 0, x_55); +lean_ctor_set(x_312, 1, x_311); +lean_ctor_set(x_312, 2, x_310); +x_313 = lean_array_push(x_52, x_267); +lean_inc(x_313); +x_314 = lean_array_push(x_313, x_312); +x_315 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__78; +x_316 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_316, 0, x_55); lean_ctor_set(x_316, 1, x_315); -x_317 = l_Array_zip___rarg(x_24, x_23); -lean_dec(x_23); -lean_dec(x_24); -x_318 = lean_array_get_size(x_317); -x_319 = lean_usize_of_nat(x_318); -lean_dec(x_318); -x_320 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_321 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_322 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__42; -x_323 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__23; -lean_inc(x_74); -x_324 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__23(x_320, x_53, x_74, x_298, x_321, x_311, x_322, x_323, x_306, x_319, x_14, x_317); -x_325 = l_Array_append___rarg(x_296, x_324); -x_326 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_326, 0, x_56); -lean_ctor_set(x_326, 1, x_298); -lean_ctor_set(x_326, 2, x_325); -x_327 = lean_array_push(x_306, x_326); -x_328 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__30; -x_329 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_329, 0, x_56); -lean_ctor_set(x_329, 1, x_328); -lean_ctor_set(x_329, 2, x_327); -x_330 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__33; -x_331 = lean_array_push(x_330, x_316); -lean_inc(x_331); -x_332 = lean_array_push(x_331, x_311); -x_333 = lean_array_push(x_332, x_329); -x_334 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_334, 0, x_56); -lean_ctor_set(x_334, 1, x_298); -lean_ctor_set(x_334, 2, x_333); -x_335 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__33; -lean_inc(x_74); -x_336 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_336, 0, x_74); -lean_ctor_set(x_336, 1, x_335); -x_337 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__42; -lean_inc(x_74); -x_338 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_338, 0, x_74); -lean_ctor_set(x_338, 1, x_337); -x_339 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__49; -x_340 = lean_array_push(x_339, x_338); -x_341 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__48; -x_342 = lean_array_push(x_340, x_341); -x_343 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_343, 0, x_56); -lean_ctor_set(x_343, 1, x_298); -lean_ctor_set(x_343, 2, x_342); -x_344 = lean_array_push(x_53, x_336); -x_345 = lean_array_push(x_344, x_343); +lean_ctor_set(x_316, 2, x_314); +x_317 = lean_array_push(x_119, x_265); +lean_inc(x_217); +x_318 = lean_array_push(x_317, x_217); +x_319 = lean_array_push(x_318, x_316); +x_320 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_320, 0, x_55); +lean_ctor_set(x_320, 1, x_280); +lean_ctor_set(x_320, 2, x_319); +x_321 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__103; +x_322 = l_Lean_addMacroScope(x_76, x_321, x_71); +x_323 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__102; +x_324 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__91; +x_325 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_325, 0, x_69); +lean_ctor_set(x_325, 1, x_323); +lean_ctor_set(x_325, 2, x_322); +lean_ctor_set(x_325, 3, x_324); +x_326 = lean_array_push(x_52, x_325); +x_327 = lean_array_push(x_326, x_100); +x_328 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_328, 0, x_55); +lean_ctor_set(x_328, 1, x_264); +lean_ctor_set(x_328, 2, x_327); +x_329 = lean_array_get_size(x_34); +x_330 = lean_usize_of_nat(x_329); +lean_dec(x_329); +x_331 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__9(x_46, x_109, x_280, x_330, x_17, x_34); +x_332 = lean_array_get_size(x_331); +x_333 = lean_usize_of_nat(x_332); +lean_dec(x_332); +x_334 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8(x_333, x_17, x_331); +x_335 = l_Lean_mkSepArray(x_334, x_285); +lean_dec(x_334); +x_336 = l_Array_append___rarg(x_79, x_335); +x_337 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_337, 0, x_55); +lean_ctor_set(x_337, 1, x_81); +lean_ctor_set(x_337, 2, x_336); +lean_inc(x_292); +x_338 = lean_array_push(x_292, x_337); +x_339 = lean_array_push(x_338, x_294); +x_340 = lean_array_push(x_339, x_100); +lean_inc(x_290); +x_341 = lean_array_push(x_340, x_290); +x_342 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_342, 0, x_55); +lean_ctor_set(x_342, 1, x_298); +lean_ctor_set(x_342, 2, x_341); +x_343 = lean_array_push(x_91, x_342); +x_344 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_344, 0, x_55); +lean_ctor_set(x_344, 1, x_81); +lean_ctor_set(x_344, 2, x_343); +x_345 = lean_array_push(x_302, x_344); x_346 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_346, 0, x_56); -lean_ctor_set(x_346, 1, x_298); +lean_ctor_set(x_346, 0, x_55); +lean_ctor_set(x_346, 1, x_304); lean_ctor_set(x_346, 2, x_345); -x_347 = lean_array_push(x_306, x_346); -x_348 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__32; -x_349 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_349, 0, x_56); -lean_ctor_set(x_349, 1, x_348); -lean_ctor_set(x_349, 2, x_347); -x_350 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__117; -x_351 = lean_array_push(x_350, x_309); -x_352 = lean_array_push(x_351, x_314); -x_353 = lean_array_push(x_352, x_311); -x_354 = lean_array_push(x_353, x_311); -x_355 = lean_array_push(x_354, x_311); -x_356 = lean_array_push(x_355, x_334); -x_357 = lean_array_push(x_356, x_349); -x_358 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__25; +x_347 = lean_array_push(x_309, 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_311); +lean_ctor_set(x_348, 2, x_347); +x_349 = lean_array_push(x_313, x_348); +x_350 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_350, 0, x_55); +lean_ctor_set(x_350, 1, x_315); +lean_ctor_set(x_350, 2, x_349); +x_351 = lean_array_push(x_119, x_328); +lean_inc(x_217); +x_352 = lean_array_push(x_351, x_217); +x_353 = lean_array_push(x_352, x_350); +x_354 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_354, 0, x_55); +lean_ctor_set(x_354, 1, x_280); +lean_ctor_set(x_354, 2, x_353); +x_355 = lean_array_push(x_306, x_320); +x_356 = lean_array_push(x_355, x_100); +x_357 = lean_array_push(x_356, x_354); +x_358 = lean_array_push(x_357, x_100); x_359 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_359, 0, x_56); -lean_ctor_set(x_359, 1, x_358); -lean_ctor_set(x_359, 2, x_357); -x_360 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__50; -x_361 = lean_array_push(x_360, x_359); -x_362 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__37; -x_363 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_363, 0, x_56); -lean_ctor_set(x_363, 1, x_362); -lean_ctor_set(x_363, 2, x_361); -x_364 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__205; -lean_inc(x_74); -x_365 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_365, 0, x_74); -lean_ctor_set(x_365, 1, x_364); -x_366 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26; -lean_inc(x_74); -x_367 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_367, 0, x_74); -lean_ctor_set(x_367, 1, x_366); -x_368 = lean_array_push(x_53, x_63); -x_369 = lean_array_push(x_368, x_72); -x_370 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_370, 0, x_56); -lean_ctor_set(x_370, 1, x_298); -lean_ctor_set(x_370, 2, x_369); -x_371 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__53; -x_372 = lean_array_push(x_371, x_370); -x_373 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; -x_374 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_374, 0, x_56); -lean_ctor_set(x_374, 1, x_373); -lean_ctor_set(x_374, 2, x_372); -x_375 = lean_array_push(x_53, x_367); -x_376 = lean_array_push(x_375, x_374); -x_377 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__95; +lean_ctor_set(x_359, 0, x_55); +lean_ctor_set(x_359, 1, x_81); +lean_ctor_set(x_359, 2, x_358); +x_360 = lean_array_push(x_292, x_359); +x_361 = lean_array_push(x_360, x_294); +x_362 = lean_array_push(x_361, x_100); +x_363 = lean_array_push(x_362, x_290); +x_364 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_364, 0, x_55); +lean_ctor_set(x_364, 1, x_298); +lean_ctor_set(x_364, 2, x_363); +x_365 = lean_array_push(x_52, x_254); +x_366 = lean_array_push(x_365, x_364); +x_367 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__68; +x_368 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_368, 0, x_55); +lean_ctor_set(x_368, 1, x_367); +lean_ctor_set(x_368, 2, x_366); +x_369 = lean_array_push(x_119, x_219); +x_370 = lean_array_push(x_369, x_252); +x_371 = lean_array_push(x_370, x_368); +x_372 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__63; +x_373 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_373, 0, x_55); +lean_ctor_set(x_373, 1, x_372); +lean_ctor_set(x_373, 2, x_371); +x_374 = lean_array_push(x_119, x_217); +x_375 = lean_array_push(x_374, x_373); +x_376 = lean_array_push(x_375, x_100); +x_377 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__150; x_378 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_378, 0, x_56); +lean_ctor_set(x_378, 0, x_55); lean_ctor_set(x_378, 1, x_377); lean_ctor_set(x_378, 2, x_376); -x_379 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__54; -x_380 = lean_array_push(x_379, x_378); -x_381 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__143; -x_382 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_382, 0, x_56); -lean_ctor_set(x_382, 1, x_381); -lean_ctor_set(x_382, 2, x_380); -x_383 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__224; -lean_inc(x_76); -lean_inc(x_293); -x_384 = l_Lean_addMacroScope(x_293, x_383, x_76); -x_385 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__223; -x_386 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__64; -lean_inc(x_74); -x_387 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_387, 0, x_74); -lean_ctor_set(x_387, 1, x_385); -lean_ctor_set(x_387, 2, x_384); -lean_ctor_set(x_387, 3, x_386); -x_388 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__7; -lean_inc(x_76); -lean_inc(x_293); -x_389 = l_Lean_addMacroScope(x_293, x_388, x_76); -x_390 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__6; -lean_inc(x_74); -x_391 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_391, 0, x_74); -lean_ctor_set(x_391, 1, x_390); -lean_ctor_set(x_391, 2, x_389); -lean_ctor_set(x_391, 3, x_47); -x_392 = lean_array_push(x_306, x_391); -x_393 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_393, 0, x_56); -lean_ctor_set(x_393, 1, x_298); -lean_ctor_set(x_393, 2, x_392); -x_394 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__109; -lean_inc(x_74); -x_395 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_395, 0, x_74); -lean_ctor_set(x_395, 1, x_394); -x_396 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__67; -lean_inc(x_74); -x_397 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_397, 0, x_74); -lean_ctor_set(x_397, 1, x_396); -x_398 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__20; -lean_inc(x_74); -x_399 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_399, 0, x_74); -lean_ctor_set(x_399, 1, x_398); -x_400 = lean_array_get_size(x_31); -x_401 = lean_usize_of_nat(x_400); -lean_dec(x_400); -x_402 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__24(x_47, x_320, x_401, x_14, x_31); -x_403 = lean_array_get_size(x_402); -x_404 = lean_usize_of_nat(x_403); -lean_dec(x_403); -x_405 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__25(x_404, x_14, x_402); -x_406 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__68; -x_407 = l_Lean_mkSepArray(x_405, x_406); -lean_dec(x_405); -x_408 = l_Array_append___rarg(x_296, x_407); -x_409 = lean_array_push(x_408, x_311); -x_410 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_410, 0, x_56); -lean_ctor_set(x_410, 1, x_298); -lean_ctor_set(x_410, 2, x_409); -x_411 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__34; -lean_inc(x_74); -x_412 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_412, 0, x_74); +x_379 = lean_array_push(x_155, x_212); +x_380 = lean_array_push(x_379, x_215); +x_381 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__61; +x_382 = lean_array_push(x_380, x_381); +x_383 = lean_array_push(x_382, x_378); +x_384 = lean_array_push(x_383, x_100); +x_385 = lean_array_push(x_384, x_100); +x_386 = lean_array_push(x_385, x_100); +x_387 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__24; +x_388 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_388, 0, x_55); +lean_ctor_set(x_388, 1, x_387); +lean_ctor_set(x_388, 2, x_386); +x_389 = lean_array_push(x_52, x_210); +x_390 = lean_array_push(x_389, x_388); +x_391 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_391, 0, x_55); +lean_ctor_set(x_391, 1, x_167); +lean_ctor_set(x_391, 2, x_390); +x_392 = lean_array_push(x_119, x_179); +x_393 = lean_array_push(x_392, x_88); +x_394 = lean_array_push(x_393, x_391); +x_395 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_395, 0, x_55); +lean_ctor_set(x_395, 1, x_172); +lean_ctor_set(x_395, 2, x_394); +x_396 = lean_array_push(x_52, x_173); +x_397 = lean_array_push(x_396, x_395); +x_398 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_398, 0, x_55); +lean_ctor_set(x_398, 1, x_81); +lean_ctor_set(x_398, 2, x_397); +lean_ctor_set(x_72, 0, x_398); +return x_72; +} +else +{ +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; size_t x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; size_t x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; size_t 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; size_t x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; +x_399 = lean_ctor_get(x_72, 0); +x_400 = lean_ctor_get(x_72, 1); +lean_inc(x_400); +lean_inc(x_399); +lean_dec(x_72); +x_401 = lean_ctor_get(x_399, 0); +lean_inc(x_401); +lean_dec(x_399); +x_402 = lean_environment_main_module(x_401); +x_403 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__14; +lean_inc(x_69); +x_404 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_404, 0, x_69); +lean_ctor_set(x_404, 1, x_403); +x_405 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; +lean_inc(x_4); +x_406 = l_Array_append___rarg(x_405, x_4); +x_407 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; +x_408 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_408, 0, x_55); +lean_ctor_set(x_408, 1, x_407); +lean_ctor_set(x_408, 2, x_406); +x_409 = lean_array_push(x_52, x_404); +lean_inc(x_409); +x_410 = lean_array_push(x_409, x_408); +x_411 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__15; +x_412 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_412, 0, x_55); lean_ctor_set(x_412, 1, x_411); -x_413 = lean_array_push(x_322, x_399); -x_414 = lean_array_push(x_413, x_311); -lean_inc(x_414); -x_415 = lean_array_push(x_414, x_410); -x_416 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__69; -x_417 = lean_array_push(x_415, x_416); -x_418 = lean_array_push(x_417, x_311); -lean_inc(x_412); -x_419 = lean_array_push(x_418, x_412); -x_420 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__216; -x_421 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_421, 0, x_56); -lean_ctor_set(x_421, 1, x_420); -lean_ctor_set(x_421, 2, x_419); -x_422 = lean_array_push(x_306, x_421); -x_423 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_423, 0, x_56); -lean_ctor_set(x_423, 1, x_298); -lean_ctor_set(x_423, 2, x_422); -x_424 = lean_array_push(x_53, x_397); -lean_inc(x_424); -x_425 = lean_array_push(x_424, x_423); -x_426 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__66; -x_427 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_427, 0, x_56); -lean_ctor_set(x_427, 1, x_426); -lean_ctor_set(x_427, 2, x_425); -x_428 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93; -x_429 = lean_array_push(x_428, x_387); -lean_inc(x_393); -x_430 = lean_array_push(x_429, x_393); -x_431 = lean_array_push(x_430, x_311); -lean_inc(x_395); -x_432 = lean_array_push(x_431, x_395); -x_433 = lean_array_push(x_432, x_427); -x_434 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__62; -x_435 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_435, 0, x_56); -lean_ctor_set(x_435, 1, x_434); -lean_ctor_set(x_435, 2, x_433); -x_436 = lean_array_push(x_306, x_435); -x_437 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__60; -x_438 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_438, 0, x_56); -lean_ctor_set(x_438, 1, x_437); -lean_ctor_set(x_438, 2, x_436); -x_439 = lean_array_push(x_306, x_438); -x_440 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__58; +lean_ctor_set(x_412, 2, x_410); +x_413 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__12; +lean_inc(x_69); +x_414 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_414, 0, x_69); +lean_ctor_set(x_414, 1, x_413); +x_415 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__24; +lean_inc(x_69); +x_416 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_416, 0, x_69); +lean_ctor_set(x_416, 1, x_415); +x_417 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; +x_418 = lean_array_push(x_417, x_416); +x_419 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__27; +x_420 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_420, 0, x_55); +lean_ctor_set(x_420, 1, x_419); +lean_ctor_set(x_420, 2, x_418); +x_421 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__31; +lean_inc(x_71); +lean_inc(x_402); +x_422 = l_Lean_addMacroScope(x_402, x_421, x_71); +x_423 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__30; +lean_inc(x_69); +x_424 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_424, 0, x_69); +lean_ctor_set(x_424, 1, x_423); +lean_ctor_set(x_424, 2, x_422); +lean_ctor_set(x_424, 3, x_46); +x_425 = lean_array_push(x_52, x_424); +x_426 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; +lean_inc(x_425); +x_427 = lean_array_push(x_425, x_426); +x_428 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26; +x_429 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_429, 0, x_55); +lean_ctor_set(x_429, 1, x_428); +lean_ctor_set(x_429, 2, x_427); +x_430 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__76; +lean_inc(x_69); +x_431 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_431, 0, x_69); +lean_ctor_set(x_431, 1, x_430); +x_432 = l_Array_zip___rarg(x_24, x_23); +lean_dec(x_23); +lean_dec(x_24); +x_433 = lean_array_get_size(x_432); +x_434 = lean_usize_of_nat(x_433); +lean_dec(x_433); +x_435 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_436 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; +x_437 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__18; +x_438 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__23; +lean_inc(x_69); +x_439 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6(x_435, x_52, x_69, x_407, x_436, x_426, x_437, x_438, x_417, x_434, x_17, x_432); +x_440 = l_Array_append___rarg(x_405, x_439); x_441 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_441, 0, x_56); -lean_ctor_set(x_441, 1, x_440); -lean_ctor_set(x_441, 2, x_439); -x_442 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__231; -x_443 = l_Lean_addMacroScope(x_293, x_442, x_76); -x_444 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__230; -x_445 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__71; -x_446 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_446, 0, x_74); -lean_ctor_set(x_446, 1, x_444); -lean_ctor_set(x_446, 2, x_443); -lean_ctor_set(x_446, 3, x_445); -x_447 = lean_array_get_size(x_35); -x_448 = lean_usize_of_nat(x_447); -lean_dec(x_447); -x_449 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__26(x_47, x_320, x_448, x_14, x_35); -x_450 = lean_array_get_size(x_449); -x_451 = lean_usize_of_nat(x_450); -lean_dec(x_450); -x_452 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__25(x_451, x_14, x_449); -x_453 = l_Lean_mkSepArray(x_452, x_406); -lean_dec(x_452); -x_454 = l_Array_append___rarg(x_296, x_453); -x_455 = lean_array_push(x_454, x_311); -x_456 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_456, 0, x_56); -lean_ctor_set(x_456, 1, x_298); -lean_ctor_set(x_456, 2, x_455); -x_457 = lean_array_push(x_414, x_456); -x_458 = lean_array_push(x_457, x_416); -x_459 = lean_array_push(x_458, x_311); -x_460 = lean_array_push(x_459, x_412); -x_461 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_461, 0, x_56); -lean_ctor_set(x_461, 1, x_420); -lean_ctor_set(x_461, 2, x_460); -x_462 = lean_array_push(x_306, x_461); -x_463 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_463, 0, x_56); -lean_ctor_set(x_463, 1, x_298); -lean_ctor_set(x_463, 2, x_462); -x_464 = lean_array_push(x_424, x_463); -x_465 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_465, 0, x_56); -lean_ctor_set(x_465, 1, x_426); -lean_ctor_set(x_465, 2, x_464); -x_466 = lean_array_push(x_428, x_446); -x_467 = lean_array_push(x_466, x_393); -x_468 = lean_array_push(x_467, x_311); -x_469 = lean_array_push(x_468, x_395); -x_470 = lean_array_push(x_469, x_465); -x_471 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_471, 0, x_56); -lean_ctor_set(x_471, 1, x_434); -lean_ctor_set(x_471, 2, x_470); -x_472 = lean_array_push(x_306, x_471); -x_473 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_473, 0, x_56); -lean_ctor_set(x_473, 1, x_437); -lean_ctor_set(x_473, 2, x_472); -x_474 = lean_array_push(x_306, x_473); -x_475 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_475, 0, x_56); -lean_ctor_set(x_475, 1, x_440); -lean_ctor_set(x_475, 2, x_474); -x_476 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_477 = lean_array_push(x_476, x_441); -x_478 = lean_array_push(x_477, x_311); -x_479 = lean_array_push(x_478, x_475); -x_480 = lean_array_push(x_479, x_311); -x_481 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_481, 0, x_56); -lean_ctor_set(x_481, 1, x_298); -lean_ctor_set(x_481, 2, x_480); -x_482 = lean_array_push(x_331, x_481); -x_483 = lean_array_push(x_482, x_311); -x_484 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__56; -x_485 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_485, 0, x_56); -lean_ctor_set(x_485, 1, x_484); -lean_ctor_set(x_485, 2, x_483); -x_486 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__72; -x_487 = lean_array_push(x_486, x_365); -x_488 = lean_array_push(x_487, x_311); -x_489 = lean_array_push(x_488, x_311); -x_490 = lean_array_push(x_489, x_382); -x_491 = lean_array_push(x_490, x_485); -x_492 = lean_array_push(x_491, x_311); -x_493 = lean_array_push(x_492, x_311); -x_494 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__206; -x_495 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_495, 0, x_56); -lean_ctor_set(x_495, 1, x_494); -lean_ctor_set(x_495, 2, x_493); -x_496 = lean_array_push(x_360, x_495); -x_497 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_497, 0, x_56); -lean_ctor_set(x_497, 1, x_362); -lean_ctor_set(x_497, 2, x_496); -x_498 = lean_array_push(x_330, x_303); -x_499 = lean_array_push(x_498, x_363); -x_500 = lean_array_push(x_499, x_497); -x_501 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_501, 0, x_56); -lean_ctor_set(x_501, 1, x_298); -lean_ctor_set(x_501, 2, x_500); -x_502 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_502, 0, x_501); -lean_ctor_set(x_502, 1, x_291); -return x_502; +lean_ctor_set(x_441, 0, x_55); +lean_ctor_set(x_441, 1, x_407); +lean_ctor_set(x_441, 2, x_440); +x_442 = lean_array_push(x_417, x_441); +x_443 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__33; +x_444 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_444, 0, x_55); +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_RpcEncoding_deriveWithRefInstance___closed__61; +x_446 = lean_array_push(x_445, x_431); +x_447 = lean_array_push(x_446, x_426); +x_448 = lean_array_push(x_447, x_444); +x_449 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_449, 0, x_55); +lean_ctor_set(x_449, 1, x_407); +lean_ctor_set(x_449, 2, x_448); +x_450 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__36; +lean_inc(x_69); +x_451 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_451, 0, x_69); +lean_ctor_set(x_451, 1, x_450); +x_452 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__42; +lean_inc(x_71); +lean_inc(x_402); +x_453 = l_Lean_addMacroScope(x_402, x_452, x_71); +x_454 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__41; +x_455 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__45; +lean_inc(x_69); +x_456 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_456, 0, x_69); +lean_ctor_set(x_456, 1, x_454); +lean_ctor_set(x_456, 2, x_453); +lean_ctor_set(x_456, 3, x_455); +x_457 = lean_array_push(x_52, x_456); +x_458 = lean_array_push(x_457, x_426); +x_459 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__38; +x_460 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_460, 0, x_55); +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_RpcEncoding_deriveStructureInstance___lambda__1___closed__46; +lean_inc(x_69); +x_462 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_462, 0, x_69); +lean_ctor_set(x_462, 1, x_461); +x_463 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__50; +lean_inc(x_71); +lean_inc(x_402); +x_464 = l_Lean_addMacroScope(x_402, x_463, x_71); +x_465 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__49; +x_466 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__53; +lean_inc(x_69); +x_467 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_467, 0, x_69); +lean_ctor_set(x_467, 1, x_465); +lean_ctor_set(x_467, 2, x_464); +lean_ctor_set(x_467, 3, x_466); +x_468 = lean_array_push(x_52, x_467); +x_469 = lean_array_push(x_468, x_426); +x_470 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_470, 0, x_55); +lean_ctor_set(x_470, 1, x_459); +lean_ctor_set(x_470, 2, x_469); +x_471 = lean_array_push(x_445, x_460); +x_472 = lean_array_push(x_471, x_462); +x_473 = lean_array_push(x_472, x_470); +x_474 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_474, 0, x_55); +lean_ctor_set(x_474, 1, x_407); +lean_ctor_set(x_474, 2, x_473); +x_475 = lean_array_push(x_52, x_451); +x_476 = lean_array_push(x_475, x_474); +x_477 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_477, 0, x_55); +lean_ctor_set(x_477, 1, x_407); +lean_ctor_set(x_477, 2, x_476); +x_478 = lean_array_push(x_417, x_477); +x_479 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__35; +x_480 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_480, 0, x_55); +lean_ctor_set(x_480, 1, x_479); +lean_ctor_set(x_480, 2, x_478); +x_481 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__116; +x_482 = lean_array_push(x_481, x_420); +x_483 = lean_array_push(x_482, x_429); +x_484 = lean_array_push(x_483, x_426); +x_485 = lean_array_push(x_484, x_426); +x_486 = lean_array_push(x_485, x_426); +x_487 = lean_array_push(x_486, x_449); +x_488 = lean_array_push(x_487, x_480); +x_489 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__25; +x_490 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_490, 0, x_55); +lean_ctor_set(x_490, 1, x_489); +lean_ctor_set(x_490, 2, x_488); +x_491 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__54; +x_492 = lean_array_push(x_491, x_490); +x_493 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__10; +x_494 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_494, 0, x_55); +lean_ctor_set(x_494, 1, x_493); +lean_ctor_set(x_494, 2, x_492); +x_495 = lean_array_push(x_445, x_412); +lean_inc(x_414); +x_496 = lean_array_push(x_495, x_414); +x_497 = lean_array_push(x_496, x_494); +x_498 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__13; +x_499 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_499, 0, x_55); +lean_ctor_set(x_499, 1, x_498); +lean_ctor_set(x_499, 2, x_497); +x_500 = l_Array_append___rarg(x_5, x_4); +x_501 = l_Array_append___rarg(x_500, x_6); +x_502 = l_Array_append___rarg(x_405, x_501); +x_503 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_503, 0, x_55); +lean_ctor_set(x_503, 1, x_407); +lean_ctor_set(x_503, 2, x_502); +x_504 = lean_array_push(x_409, x_503); +x_505 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_505, 0, x_55); +lean_ctor_set(x_505, 1, x_411); +lean_ctor_set(x_505, 2, x_504); +x_506 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__119; +lean_inc(x_69); +x_507 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_507, 0, x_69); +lean_ctor_set(x_507, 1, x_506); +x_508 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__147; +lean_inc(x_69); +x_509 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_509, 0, x_69); +lean_ctor_set(x_509, 1, x_508); +x_510 = lean_array_push(x_52, x_509); +x_511 = lean_array_push(x_510, x_426); +x_512 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__57; +x_513 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_513, 0, x_55); +lean_ctor_set(x_513, 1, x_512); +lean_ctor_set(x_513, 2, x_511); +x_514 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__58; +x_515 = lean_array_push(x_514, x_513); +x_516 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__121; +x_517 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_517, 0, x_55); +lean_ctor_set(x_517, 1, x_516); +lean_ctor_set(x_517, 2, x_515); +x_518 = lean_array_push(x_417, x_517); +x_519 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_519, 0, x_55); +lean_ctor_set(x_519, 1, x_407); +lean_ctor_set(x_519, 2, x_518); +x_520 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__135; +lean_inc(x_69); +x_521 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_521, 0, x_69); +lean_ctor_set(x_521, 1, x_520); +x_522 = lean_array_push(x_445, x_507); +x_523 = lean_array_push(x_522, x_519); +x_524 = lean_array_push(x_523, x_521); +x_525 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__118; +x_526 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_526, 0, x_55); +lean_ctor_set(x_526, 1, x_525); +lean_ctor_set(x_526, 2, x_524); +x_527 = lean_array_push(x_417, x_526); +x_528 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_528, 0, x_55); +lean_ctor_set(x_528, 1, x_407); +lean_ctor_set(x_528, 2, x_527); +x_529 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__17; +x_530 = lean_array_push(x_529, x_528); +x_531 = lean_array_push(x_530, x_426); +x_532 = lean_array_push(x_531, x_426); +x_533 = lean_array_push(x_532, x_426); +x_534 = lean_array_push(x_533, x_426); +x_535 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; +x_536 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_536, 0, x_55); +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_RpcEncoding_deriveWithRefInstance___closed__23; +lean_inc(x_69); +x_538 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_538, 0, x_69); +lean_ctor_set(x_538, 1, x_537); +x_539 = lean_array_push(x_52, x_67); +x_540 = lean_array_push(x_539, x_426); +x_541 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_541, 0, x_55); +lean_ctor_set(x_541, 1, x_428); +lean_ctor_set(x_541, 2, x_540); +x_542 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__90; +lean_inc(x_69); +x_543 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_543, 0, x_69); +lean_ctor_set(x_543, 1, x_542); +x_544 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__62; +lean_inc(x_69); +x_545 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_545, 0, x_69); +lean_ctor_set(x_545, 1, x_544); +x_546 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__44; +lean_inc(x_71); +lean_inc(x_402); +x_547 = l_Lean_addMacroScope(x_402, x_546, x_71); +x_548 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43; +x_549 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__5; +lean_inc(x_69); +x_550 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_550, 0, x_69); +lean_ctor_set(x_550, 1, x_548); +lean_ctor_set(x_550, 2, x_547); +lean_ctor_set(x_550, 3, x_549); +x_551 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52; +lean_inc(x_69); +x_552 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_552, 0, x_69); +lean_ctor_set(x_552, 1, x_551); +x_553 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__66; +lean_inc(x_69); +x_554 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_554, 0, x_69); +lean_ctor_set(x_554, 1, x_553); +x_555 = lean_array_push(x_417, x_554); +x_556 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__65; +x_557 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_557, 0, x_55); +lean_ctor_set(x_557, 1, x_556); +lean_ctor_set(x_557, 2, x_555); +x_558 = lean_array_push(x_417, x_557); +x_559 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_559, 0, x_55); +lean_ctor_set(x_559, 1, x_407); +lean_ctor_set(x_559, 2, x_558); +x_560 = lean_array_push(x_425, x_559); +x_561 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__40; +x_562 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_562, 0, x_55); +lean_ctor_set(x_562, 1, x_561); +lean_ctor_set(x_562, 2, x_560); +x_563 = lean_array_push(x_52, x_562); +x_564 = lean_array_push(x_563, x_426); +x_565 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_565, 0, x_55); +lean_ctor_set(x_565, 1, x_407); +lean_ctor_set(x_565, 2, x_564); +x_566 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; +lean_inc(x_69); +x_567 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_567, 0, x_69); +lean_ctor_set(x_567, 1, x_566); +x_568 = lean_array_push(x_445, x_552); +x_569 = lean_array_push(x_568, x_565); +x_570 = lean_array_push(x_569, x_567); +x_571 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__51; +x_572 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_572, 0, x_55); +lean_ctor_set(x_572, 1, x_571); +lean_ctor_set(x_572, 2, x_570); +x_573 = lean_array_push(x_52, x_62); +x_574 = lean_array_push(x_573, x_572); +x_575 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_575, 0, x_55); +lean_ctor_set(x_575, 1, x_407); +lean_ctor_set(x_575, 2, x_574); +x_576 = lean_array_push(x_52, x_550); +x_577 = lean_array_push(x_576, x_575); +x_578 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_578, 0, x_55); +lean_ctor_set(x_578, 1, x_561); +lean_ctor_set(x_578, 2, x_577); +x_579 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__69; +lean_inc(x_69); +x_580 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_580, 0, x_69); +lean_ctor_set(x_580, 1, x_579); +x_581 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__72; +lean_inc(x_69); +x_582 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_582, 0, x_69); +lean_ctor_set(x_582, 1, x_581); +x_583 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__86; +lean_inc(x_71); +lean_inc(x_402); +x_584 = l_Lean_addMacroScope(x_402, x_583, x_71); +x_585 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__85; +x_586 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__76; +lean_inc(x_69); +x_587 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_587, 0, x_69); +lean_ctor_set(x_587, 1, x_585); +lean_ctor_set(x_587, 2, x_584); +lean_ctor_set(x_587, 3, x_586); +x_588 = lean_array_push(x_52, x_587); +x_589 = lean_array_push(x_588, x_426); +x_590 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__74; +x_591 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_591, 0, x_55); +lean_ctor_set(x_591, 1, x_590); +lean_ctor_set(x_591, 2, x_589); +x_592 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__77; +lean_inc(x_69); +x_593 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_593, 0, x_69); +lean_ctor_set(x_593, 1, x_592); +x_594 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__9; +lean_inc(x_71); +lean_inc(x_402); +x_595 = l_Lean_addMacroScope(x_402, x_594, x_71); +x_596 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8; +lean_inc(x_69); +x_597 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_597, 0, x_69); +lean_ctor_set(x_597, 1, x_596); +lean_ctor_set(x_597, 2, x_595); +lean_ctor_set(x_597, 3, x_46); +x_598 = lean_array_push(x_417, x_597); +x_599 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_599, 0, x_55); +lean_ctor_set(x_599, 1, x_407); +lean_ctor_set(x_599, 2, x_598); +x_600 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__81; +lean_inc(x_69); +x_601 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_601, 0, x_69); +lean_ctor_set(x_601, 1, x_600); +x_602 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__84; +lean_inc(x_69); +x_603 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_603, 0, x_69); +lean_ctor_set(x_603, 1, x_602); +x_604 = lean_array_get_size(x_30); +x_605 = lean_usize_of_nat(x_604); +lean_dec(x_604); +x_606 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__73; +x_607 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(x_46, x_435, x_606, x_605, x_17, x_30); +x_608 = lean_array_get_size(x_607); +x_609 = lean_usize_of_nat(x_608); +lean_dec(x_608); +x_610 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8(x_609, x_17, x_607); +x_611 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__85; +x_612 = l_Lean_mkSepArray(x_610, x_611); +lean_dec(x_610); +x_613 = l_Array_append___rarg(x_405, x_612); +x_614 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_614, 0, x_55); +lean_ctor_set(x_614, 1, x_407); +lean_ctor_set(x_614, 2, x_613); +x_615 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__89; +lean_inc(x_69); +x_616 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_616, 0, x_69); +lean_ctor_set(x_616, 1, x_615); +x_617 = lean_array_push(x_437, x_582); +x_618 = lean_array_push(x_617, x_426); +lean_inc(x_618); +x_619 = lean_array_push(x_618, x_614); +x_620 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__88; +x_621 = lean_array_push(x_619, x_620); +x_622 = lean_array_push(x_621, x_426); +lean_inc(x_616); +x_623 = lean_array_push(x_622, x_616); +x_624 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__71; +x_625 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_625, 0, x_55); +lean_ctor_set(x_625, 1, x_624); +lean_ctor_set(x_625, 2, x_623); +x_626 = lean_array_push(x_417, x_625); +x_627 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_627, 0, x_55); +lean_ctor_set(x_627, 1, x_407); +lean_ctor_set(x_627, 2, x_626); +x_628 = lean_array_push(x_52, x_603); +lean_inc(x_628); +x_629 = lean_array_push(x_628, x_627); +x_630 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__83; +x_631 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_631, 0, x_55); +lean_ctor_set(x_631, 1, x_630); +lean_ctor_set(x_631, 2, x_629); +x_632 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115; +x_633 = lean_array_push(x_632, x_599); +x_634 = lean_array_push(x_633, x_426); +x_635 = lean_array_push(x_634, x_601); +lean_inc(x_635); +x_636 = lean_array_push(x_635, x_631); +x_637 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__80; +x_638 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_638, 0, x_55); +lean_ctor_set(x_638, 1, x_637); +lean_ctor_set(x_638, 2, x_636); +x_639 = lean_array_push(x_52, x_593); +lean_inc(x_639); +x_640 = lean_array_push(x_639, x_638); +x_641 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__78; +x_642 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_642, 0, x_55); +lean_ctor_set(x_642, 1, x_641); +lean_ctor_set(x_642, 2, x_640); +x_643 = lean_array_push(x_445, x_591); +lean_inc(x_543); +x_644 = lean_array_push(x_643, x_543); +x_645 = lean_array_push(x_644, x_642); +x_646 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_646, 0, x_55); +lean_ctor_set(x_646, 1, x_606); +lean_ctor_set(x_646, 2, x_645); +x_647 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__103; +x_648 = l_Lean_addMacroScope(x_402, x_647, x_71); +x_649 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__102; +x_650 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__91; +x_651 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_651, 0, x_69); +lean_ctor_set(x_651, 1, x_649); +lean_ctor_set(x_651, 2, x_648); +lean_ctor_set(x_651, 3, x_650); +x_652 = lean_array_push(x_52, x_651); +x_653 = lean_array_push(x_652, x_426); +x_654 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_654, 0, x_55); +lean_ctor_set(x_654, 1, x_590); +lean_ctor_set(x_654, 2, x_653); +x_655 = lean_array_get_size(x_34); +x_656 = lean_usize_of_nat(x_655); +lean_dec(x_655); +x_657 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__9(x_46, x_435, x_606, x_656, x_17, x_34); +x_658 = lean_array_get_size(x_657); +x_659 = lean_usize_of_nat(x_658); +lean_dec(x_658); +x_660 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8(x_659, x_17, x_657); +x_661 = l_Lean_mkSepArray(x_660, x_611); +lean_dec(x_660); +x_662 = l_Array_append___rarg(x_405, x_661); +x_663 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_663, 0, x_55); +lean_ctor_set(x_663, 1, x_407); +lean_ctor_set(x_663, 2, x_662); +lean_inc(x_618); +x_664 = lean_array_push(x_618, x_663); +x_665 = lean_array_push(x_664, x_620); +x_666 = lean_array_push(x_665, x_426); +lean_inc(x_616); +x_667 = lean_array_push(x_666, x_616); +x_668 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_668, 0, x_55); +lean_ctor_set(x_668, 1, x_624); +lean_ctor_set(x_668, 2, x_667); +x_669 = lean_array_push(x_417, x_668); +x_670 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_670, 0, x_55); +lean_ctor_set(x_670, 1, x_407); +lean_ctor_set(x_670, 2, x_669); +x_671 = lean_array_push(x_628, x_670); +x_672 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_672, 0, x_55); +lean_ctor_set(x_672, 1, x_630); +lean_ctor_set(x_672, 2, x_671); +x_673 = lean_array_push(x_635, x_672); +x_674 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_674, 0, x_55); +lean_ctor_set(x_674, 1, x_637); +lean_ctor_set(x_674, 2, x_673); +x_675 = lean_array_push(x_639, x_674); +x_676 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_676, 0, x_55); +lean_ctor_set(x_676, 1, x_641); +lean_ctor_set(x_676, 2, x_675); +x_677 = lean_array_push(x_445, x_654); +lean_inc(x_543); +x_678 = lean_array_push(x_677, x_543); +x_679 = lean_array_push(x_678, x_676); +x_680 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_680, 0, x_55); +lean_ctor_set(x_680, 1, x_606); +lean_ctor_set(x_680, 2, x_679); +x_681 = lean_array_push(x_632, x_646); +x_682 = lean_array_push(x_681, x_426); +x_683 = lean_array_push(x_682, x_680); +x_684 = lean_array_push(x_683, x_426); +x_685 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_685, 0, x_55); +lean_ctor_set(x_685, 1, x_407); +lean_ctor_set(x_685, 2, x_684); +x_686 = lean_array_push(x_618, x_685); +x_687 = lean_array_push(x_686, x_620); +x_688 = lean_array_push(x_687, x_426); +x_689 = lean_array_push(x_688, x_616); +x_690 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_690, 0, x_55); +lean_ctor_set(x_690, 1, x_624); +lean_ctor_set(x_690, 2, x_689); +x_691 = lean_array_push(x_52, x_580); +x_692 = lean_array_push(x_691, x_690); +x_693 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__68; +x_694 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_694, 0, x_55); +lean_ctor_set(x_694, 1, x_693); +lean_ctor_set(x_694, 2, x_692); +x_695 = lean_array_push(x_445, x_545); +x_696 = lean_array_push(x_695, x_578); +x_697 = lean_array_push(x_696, x_694); +x_698 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__63; +x_699 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_699, 0, x_55); +lean_ctor_set(x_699, 1, x_698); +lean_ctor_set(x_699, 2, x_697); +x_700 = lean_array_push(x_445, x_543); +x_701 = lean_array_push(x_700, x_699); +x_702 = lean_array_push(x_701, x_426); +x_703 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__150; +x_704 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_704, 0, x_55); +lean_ctor_set(x_704, 1, x_703); +lean_ctor_set(x_704, 2, x_702); +x_705 = lean_array_push(x_481, x_538); +x_706 = lean_array_push(x_705, x_541); +x_707 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__61; +x_708 = lean_array_push(x_706, x_707); +x_709 = lean_array_push(x_708, x_704); +x_710 = lean_array_push(x_709, x_426); +x_711 = lean_array_push(x_710, x_426); +x_712 = lean_array_push(x_711, x_426); +x_713 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__24; +x_714 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_714, 0, x_55); +lean_ctor_set(x_714, 1, x_713); +lean_ctor_set(x_714, 2, x_712); +x_715 = lean_array_push(x_52, x_536); +x_716 = lean_array_push(x_715, x_714); +x_717 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_717, 0, x_55); +lean_ctor_set(x_717, 1, x_493); +lean_ctor_set(x_717, 2, x_716); +x_718 = lean_array_push(x_445, x_505); +x_719 = lean_array_push(x_718, x_414); +x_720 = lean_array_push(x_719, x_717); +x_721 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_721, 0, x_55); +lean_ctor_set(x_721, 1, x_498); +lean_ctor_set(x_721, 2, x_720); +x_722 = lean_array_push(x_52, x_499); +x_723 = lean_array_push(x_722, x_721); +x_724 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_724, 0, x_55); +lean_ctor_set(x_724, 1, x_407); +lean_ctor_set(x_724, 2, x_723); +x_725 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_725, 0, x_724); +lean_ctor_set(x_725, 1, x_400); +return x_725; } } else { -uint8_t x_503; -lean_dec(x_35); -lean_dec(x_31); -lean_dec(x_25); +uint8_t x_726; +lean_dec(x_34); +lean_dec(x_30); lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_3); -x_503 = !lean_is_exclusive(x_39); -if (x_503 == 0) -{ -return x_39; -} -else -{ -lean_object* x_504; lean_object* x_505; lean_object* x_506; -x_504 = lean_ctor_get(x_39, 0); -x_505 = lean_ctor_get(x_39, 1); -lean_inc(x_505); -lean_inc(x_504); -lean_dec(x_39); -x_506 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_506, 0, x_504); -lean_ctor_set(x_506, 1, x_505); -return x_506; -} -} -} -else -{ -uint8_t x_507; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_13); +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_507 = !lean_is_exclusive(x_16); -if (x_507 == 0) +x_726 = !lean_is_exclusive(x_38); +if (x_726 == 0) { -return x_16; +return x_38; } else { -lean_object* x_508; lean_object* x_509; lean_object* x_510; -x_508 = lean_ctor_get(x_16, 0); -x_509 = lean_ctor_get(x_16, 1); -lean_inc(x_509); -lean_inc(x_508); -lean_dec(x_16); -x_510 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_510, 0, x_508); -lean_ctor_set(x_510, 1, x_509); -return x_510; +lean_object* x_727; lean_object* x_728; lean_object* x_729; +x_727 = lean_ctor_get(x_38, 0); +x_728 = lean_ctor_get(x_38, 1); +lean_inc(x_728); +lean_inc(x_727); +lean_dec(x_38); +x_729 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_729, 0, x_727); +lean_ctor_set(x_729, 1, x_728); +return x_729; +} +} +} +else +{ +uint8_t x_730; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_730 = !lean_is_exclusive(x_19); +if (x_730 == 0) +{ +return x_19; +} +else +{ +lean_object* x_731; lean_object* x_732; lean_object* x_733; +x_731 = lean_ctor_get(x_19, 0); +x_732 = lean_ctor_get(x_19, 1); +lean_inc(x_732); +lean_inc(x_731); +lean_dec(x_19); +x_733 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_733, 0, x_731); +lean_ctor_set(x_733, 1, x_732); +return x_733; } } } @@ -10736,7 +7625,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__4; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__207; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__41; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -10775,251 +7664,141 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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) { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__10() { _start: { -lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_11 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__5; -x_35 = lean_st_ref_get(x_9, x_10); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_36, 3); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_ctor_get_uint8(x_37, sizeof(void*)*1); -lean_dec(x_37); -if (x_38 == 0) +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__11() { +_start: { -lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_35, 1); +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__10; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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; uint8_t x_15; lean_object* x_16; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_14 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__5; +x_38 = lean_st_ref_get(x_12, x_13); +x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); -lean_dec(x_35); -x_40 = 0; -x_12 = x_40; -x_13 = x_39; -goto block_34; +x_40 = lean_ctor_get(x_39, 3); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_ctor_get_uint8(x_40, sizeof(void*)*1); +lean_dec(x_40); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_43; +x_42 = lean_ctor_get(x_38, 1); +lean_inc(x_42); +lean_dec(x_38); +x_43 = 0; +x_15 = x_43; +x_16 = x_42; +goto block_37; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_41 = lean_ctor_get(x_35, 1); -lean_inc(x_41); -lean_dec(x_35); -x_42 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__2(x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_41); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); +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_38, 1); lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_unbox(x_43); -lean_dec(x_43); -x_12 = x_45; -x_13 = x_44; -goto block_34; +lean_dec(x_38); +x_45 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__2(x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_unbox(x_46); +lean_dec(x_46); +x_15 = x_48; +x_16 = x_47; +goto block_37; } -block_34: +block_37: { -if (x_12 == 0) +if (x_15 == 0) { -lean_object* x_14; lean_object* x_15; -x_14 = lean_box(0); -x_15 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1(x_3, x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -lean_dec(x_3); -return x_15; +lean_object* x_17; lean_object* x_18; +x_17 = lean_box(0); +x_18 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1(x_6, 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_16); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_18; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 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_16 = lean_ctor_get(x_2, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_18, 0, x_17); -x_19 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__7; -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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__9; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_19 = lean_ctor_get(x_2, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__7; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__9; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); lean_inc(x_1); -x_23 = lean_array_to_list(lean_box(0), x_1); -x_24 = lean_box(0); -x_25 = l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_23, x_24); -x_26 = l_Lean_MessageData_ofList(x_25); -lean_dec(x_25); -x_27 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_27, 0, x_22); -lean_ctor_set(x_27, 1, x_26); -x_28 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__6; -x_29 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__1(x_11, x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_13); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1(x_3, x_1, x_2, x_31, x_4, x_5, x_6, x_7, x_8, x_9, x_32); -lean_dec(x_31); -lean_dec(x_3); -return x_33; +x_26 = lean_array_to_list(lean_box(0), x_1); +x_27 = lean_box(0); +x_28 = l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_26, x_27); +x_29 = l_Lean_MessageData_ofList(x_28); +lean_dec(x_28); +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_25); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__11; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__1(x_14, x_32, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1(x_6, x_1, x_2, x_3, x_4, x_5, x_34, x_7, x_8, x_9, x_10, x_11, x_12, x_35); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_34); +lean_dec(x_6); +return x_36; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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_10; lean_object* x_11; +lean_object* x_13; lean_object* x_14; lean_inc(x_1); lean_inc(x_2); -x_10 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2), 10, 2); -lean_closure_set(x_10, 0, x_2); -lean_closure_set(x_10, 1, x_1); -x_11 = l_Lean_Server_RpcEncoding_withFields___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__27___rarg(x_1, x_2, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; +x_13 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2), 13, 5); +lean_closure_set(x_13, 0, x_2); +lean_closure_set(x_13, 1, x_1); +lean_closure_set(x_13, 2, x_4); +lean_closure_set(x_13, 3, x_3); +lean_closure_set(x_13, 4, x_5); +x_14 = l_Lean_Server_RpcEncoding_withFields___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___rarg(x_1, x_2, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; } } -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4(x_1, x_4, x_3); -lean_dec(x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -size_t x_7; lean_object* x_8; -x_7 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_8 = l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8(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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(x_1, x_6, x_7, x_4, x_5); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__13___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__13(x_1, x_2, x_5, x_6); -lean_dec(x_2); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_contains___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__12___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Array_contains___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__12(x_1, x_2); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; -x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___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_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; -x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_10); -lean_dec(x_9); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___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) { -_start: -{ -lean_object* x_16; -x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___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); -lean_dec(x_8); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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; lean_object* x_14; @@ -11027,12 +7806,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_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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; lean_object* x_15; @@ -11040,7 +7821,7 @@ x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_11); lean_dec(x_9); lean_dec(x_8); @@ -11049,7 +7830,7 @@ lean_dec(x_6); return x_15; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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; lean_object* x_15; @@ -11057,7 +7838,7 @@ x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__19(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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); @@ -11066,7 +7847,7 @@ lean_dec(x_6); return x_15; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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; lean_object* x_13; @@ -11074,7 +7855,7 @@ x_11 = lean_unbox_usize(x_1); lean_dec(x_1); x_12 = lean_unbox_usize(x_2); lean_dec(x_2); -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__20(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4(x_11, x_12, 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); @@ -11083,7 +7864,7 @@ lean_dec(x_4); return x_13; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__21___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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; @@ -11091,25 +7872,12 @@ 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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__21(x_1, x_5, x_6, x_4); +x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__5(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__22___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__22(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; @@ -11117,25 +7885,26 @@ x_13 = lean_unbox_usize(x_10); lean_dec(x_10); x_14 = lean_unbox_usize(x_11); lean_dec(x_11); -x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__23(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13, x_14, x_12); +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13, x_14, x_12); return x_15; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__24___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_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); +size_t x_7; size_t x_8; lean_object* x_9; x_7 = lean_unbox_usize(x_4); lean_dec(x_4); -x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__24(x_1, x_2, x_6, x_7, x_5); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_9; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8___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; @@ -11143,25 +7912,26 @@ 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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__25(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__8(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__26___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_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); +size_t x_7; size_t x_8; lean_object* x_9; x_7 = lean_unbox_usize(x_4); lean_dec(x_4); -x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__26(x_1, x_2, x_6, x_7, x_5); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__9(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_9; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; @@ -11169,52 +7939,30 @@ x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__29(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__12(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_7); lean_dec(x_6); lean_dec(x_2); return x_15; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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: { -lean_object* x_12; -x_12 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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_object* x_15; +x_15 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_1); -return x_12; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_encArgTypes___default() { -_start: -{ -lean_object* x_1; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__3; -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_uniqEncArgTypes___default() { -_start: -{ -lean_object* x_1; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_binders___default() { -_start: -{ -lean_object* x_1; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -return x_1; +return x_15; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_ctors___default() { _start: { lean_object* x_1; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; return x_1; } } @@ -11222,7 +7970,7 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; return x_1; } } @@ -11230,31 +7978,7 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -return x_1; -} -} -static lean_object* _init_l_Lean_Server_RpcEncoding_instInhabitedCtorState___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__3; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -x_3 = lean_alloc_ctor(0, 6, 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); -lean_ctor_set(x_3, 3, x_2); -lean_ctor_set(x_3, 4, x_2); -lean_ctor_set(x_3, 5, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_RpcEncoding_instInhabitedCtorState() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Server_RpcEncoding_instInhabitedCtorState___closed__1; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; return x_1; } } @@ -11262,7 +7986,7 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__9; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__4; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Parser_categoryParser(x_1, x_2); return x_3; @@ -11285,3704 +8009,15 @@ x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF___c return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; -x_11 = lean_usize_dec_lt(x_2, x_1); -if (x_11 == 0) -{ -lean_object* x_12; -lean_dec(x_6); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_3); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -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); -lean_inc(x_6); -x_16 = l_Lean_Meta_getFVarLocalDecl(x_13, x_6, x_7, x_8, x_9, x_10); -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; lean_object* 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); -lean_dec(x_16); -x_19 = l_Lean_LocalDecl_fvarId(x_17); -lean_dec(x_17); -x_20 = 1; -x_21 = lean_usize_add(x_2, x_20); -x_22 = lean_array_uset(x_15, x_2, x_19); -x_2 = x_21; -x_3 = x_22; -x_10 = x_18; -goto _start; -} -else -{ -uint8_t x_24; -lean_dec(x_15); -lean_dec(x_6); -x_24 = !lean_is_exclusive(x_16); -if (x_24 == 0) -{ -return x_16; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_16, 0); -x_26 = lean_ctor_get(x_16, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_16); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_get_size(x_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 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__5(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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(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_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__6(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_Std_PersistentHashMap_find_x3f___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__4(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_Meta_DiscrTree_Key_hash(x_2); -x_5 = lean_uint64_to_usize(x_4); -x_6 = l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__5(x_3, x_5, x_2); -lean_dec(x_2); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9(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_Meta_DiscrTree_Key_hash(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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8(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_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__10(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 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(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; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8(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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(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_Std_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 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(x_4, x_26); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = l_Std_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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8(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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8(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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___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 = l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_89_(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_Std_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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8(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_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__10(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_Std_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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___closed__1; -x_93 = l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9(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_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__10(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_Std_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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___closed__1; -x_107 = l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9(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_Std_PersistentHashMap_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__7(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_Meta_DiscrTree_Key_hash(x_2); -x_8 = lean_uint64_to_usize(x_7); -x_9 = 1; -x_10 = l_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8(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_Meta_DiscrTree_Key_hash(x_2); -x_16 = lean_uint64_to_usize(x_15); -x_17 = 1; -x_18 = l_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8(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___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__12(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = l_Array_contains___at___private_Lean_Meta_Match_Value_0__Lean_Meta_isUIntTypeName___spec__1(x_1, x_2); -if (x_3 == 0) -{ -lean_object* x_4; -x_4 = lean_array_push(x_1, x_2); -return x_4; -} -else -{ -lean_dec(x_2); -return x_1; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* 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; -x_10 = lean_nat_add(x_8, x_9); -x_11 = lean_unsigned_to_nat(2u); -x_12 = lean_nat_div(x_10, x_11); -lean_dec(x_10); -lean_inc(x_5); -x_13 = lean_array_get(x_5, x_6, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_ctor_get(x_7, 0); -x_16 = l_Lean_Meta_DiscrTree_Key_lt(x_14, x_15); -if (x_16 == 0) -{ -uint8_t x_17; -lean_dec(x_9); -x_17 = l_Lean_Meta_DiscrTree_Key_lt(x_15, x_14); -lean_dec(x_14); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; -lean_dec(x_8); -lean_dec(x_5); -x_18 = lean_array_get_size(x_6); -x_19 = lean_nat_dec_lt(x_12, x_18); -lean_dec(x_18); -if (x_19 == 0) -{ -lean_dec(x_12); -lean_dec(x_4); -lean_dec(x_2); -return x_6; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_20 = lean_array_fget(x_6, x_12); -x_21 = lean_box(0); -x_22 = lean_array_fset(x_6, x_12, x_21); -x_23 = !lean_is_exclusive(x_20); -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 = lean_ctor_get(x_20, 1); -x_25 = lean_ctor_get(x_20, 0); -lean_dec(x_25); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_3, x_26); -x_28 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(x_1, x_2, x_27, x_24); -lean_dec(x_27); -lean_ctor_set(x_20, 1, x_28); -lean_ctor_set(x_20, 0, x_4); -x_29 = lean_array_fset(x_22, x_12, x_20); -lean_dec(x_12); -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_20, 1); -lean_inc(x_30); -lean_dec(x_20); -x_31 = lean_unsigned_to_nat(1u); -x_32 = lean_nat_add(x_3, x_31); -x_33 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(x_1, x_2, x_32, x_30); -lean_dec(x_32); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_4); -lean_ctor_set(x_34, 1, x_33); -x_35 = lean_array_fset(x_22, x_12, x_34); -lean_dec(x_12); -return x_35; -} -} -} -else -{ -x_9 = x_12; -goto _start; -} -} -else -{ -uint8_t x_37; -lean_dec(x_14); -x_37 = lean_nat_dec_eq(x_12, x_8); -if (x_37 == 0) -{ -lean_dec(x_8); -x_8 = x_12; -goto _start; -} -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_dec(x_12); -lean_dec(x_9); -lean_dec(x_5); -x_39 = lean_unsigned_to_nat(1u); -x_40 = lean_nat_add(x_3, x_39); -x_41 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_1, x_2, x_40); -lean_dec(x_40); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_4); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_nat_add(x_8, x_39); -lean_dec(x_8); -x_44 = l_Array_insertAt___rarg(x_6, x_43, x_42); -lean_dec(x_43); -return x_44; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; -x_8 = l_Array_isEmpty___rarg(x_6); -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_unsigned_to_nat(0u); -lean_inc(x_5); -x_10 = lean_array_get(x_5, x_6, x_9); -x_11 = lean_ctor_get(x_7, 0); -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Meta_DiscrTree_Key_lt(x_11, x_12); -if (x_13 == 0) -{ -uint8_t x_14; -x_14 = l_Lean_Meta_DiscrTree_Key_lt(x_12, x_11); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; uint8_t x_16; -lean_dec(x_5); -x_15 = lean_array_get_size(x_6); -x_16 = lean_nat_dec_lt(x_9, x_15); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_dec(x_4); -lean_dec(x_2); -return x_6; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = lean_array_fget(x_6, x_9); -x_18 = lean_box(0); -x_19 = lean_array_fset(x_6, x_9, x_18); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_17, 1); -x_22 = lean_ctor_get(x_17, 0); -lean_dec(x_22); -x_23 = lean_unsigned_to_nat(1u); -x_24 = lean_nat_add(x_3, x_23); -x_25 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(x_1, x_2, x_24, x_21); -lean_dec(x_24); -lean_ctor_set(x_17, 1, x_25); -lean_ctor_set(x_17, 0, x_4); -x_26 = lean_array_fset(x_19, x_9, x_17); -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; -x_27 = lean_ctor_get(x_17, 1); -lean_inc(x_27); -lean_dec(x_17); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_3, x_28); -x_30 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(x_1, x_2, x_29, x_27); -lean_dec(x_29); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_4); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_array_fset(x_19, x_9, x_31); -return x_32; -} -} -} -else -{ -lean_object* x_33; lean_object* x_34; uint8_t x_35; -lean_inc(x_5); -x_33 = l_Array_back___rarg(x_5, x_6); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Lean_Meta_DiscrTree_Key_lt(x_34, x_11); -if (x_35 == 0) -{ -uint8_t x_36; -x_36 = l_Lean_Meta_DiscrTree_Key_lt(x_11, x_34); -lean_dec(x_34); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -lean_dec(x_5); -x_37 = lean_array_get_size(x_6); -x_38 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_sub(x_37, x_38); -x_40 = lean_nat_dec_lt(x_39, x_37); -lean_dec(x_37); -if (x_40 == 0) -{ -lean_dec(x_39); -lean_dec(x_4); -lean_dec(x_2); -return x_6; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_41 = lean_array_fget(x_6, x_39); -x_42 = lean_box(0); -x_43 = lean_array_fset(x_6, x_39, x_42); -x_44 = !lean_is_exclusive(x_41); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_45 = lean_ctor_get(x_41, 1); -x_46 = lean_ctor_get(x_41, 0); -lean_dec(x_46); -x_47 = lean_nat_add(x_3, x_38); -x_48 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(x_1, x_2, x_47, x_45); -lean_dec(x_47); -lean_ctor_set(x_41, 1, x_48); -lean_ctor_set(x_41, 0, x_4); -x_49 = lean_array_fset(x_43, x_39, x_41); -lean_dec(x_39); -return x_49; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_50 = lean_ctor_get(x_41, 1); -lean_inc(x_50); -lean_dec(x_41); -x_51 = lean_nat_add(x_3, x_38); -x_52 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(x_1, x_2, x_51, x_50); -lean_dec(x_51); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_4); -lean_ctor_set(x_53, 1, x_52); -x_54 = lean_array_fset(x_43, x_39, x_53); -lean_dec(x_39); -return x_54; -} -} -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_55 = lean_array_get_size(x_6); -x_56 = lean_unsigned_to_nat(1u); -x_57 = lean_nat_sub(x_55, x_56); -lean_dec(x_55); -x_58 = l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_57); -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_dec(x_34); -lean_dec(x_5); -x_59 = lean_unsigned_to_nat(1u); -x_60 = lean_nat_add(x_3, x_59); -x_61 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_1, x_2, x_60); -lean_dec(x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_4); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_array_push(x_6, x_62); -return x_63; -} -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_dec(x_12); -lean_dec(x_5); -x_64 = lean_unsigned_to_nat(1u); -x_65 = lean_nat_add(x_3, x_64); -x_66 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_1, x_2, x_65); -lean_dec(x_65); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_4); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_Array_insertAt___rarg(x_6, x_9, x_67); -return x_68; -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_5); -x_69 = lean_unsigned_to_nat(1u); -x_70 = lean_nat_add(x_3, x_69); -x_71 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_1, x_2, x_70); -lean_dec(x_70); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_4); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_array_push(x_6, x_72); -return x_73; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -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_4, 0); -x_7 = lean_ctor_get(x_4, 1); -x_8 = lean_array_get_size(x_1); -x_9 = lean_nat_dec_lt(x_3, x_8); -lean_dec(x_8); -if (x_9 == 0) -{ -lean_object* x_10; -x_10 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__12(x_6, x_2); -lean_ctor_set(x_4, 0, x_10); -return x_4; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_11 = lean_array_fget(x_1, x_3); -x_12 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__3; -lean_inc(x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -x_14 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__2; -x_15 = l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13(x_1, x_2, x_3, x_11, x_14, x_7, x_13); -lean_dec(x_13); -lean_ctor_set(x_4, 1, x_15); -return x_4; -} -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_ctor_get(x_4, 0); -x_17 = lean_ctor_get(x_4, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_4); -x_18 = lean_array_get_size(x_1); -x_19 = lean_nat_dec_lt(x_3, x_18); -lean_dec(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__12(x_16, x_2); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_17); -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_array_fget(x_1, x_3); -x_23 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__3; -lean_inc(x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__2; -x_26 = l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13(x_1, x_2, x_3, x_22, x_25, x_17, x_24); -lean_dec(x_24); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_16); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -} -} -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__15(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__16___closed__1; -x_3 = lean_panic_fn(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = l_Array_isEmpty___rarg(x_2); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_array_get_size(x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_nat_dec_lt(x_6, x_5); -lean_dec(x_5); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4; -x_9 = l_panic___at_Lean_Meta_DiscrTree_insertCore___spec__1(x_8); -lean_inc(x_9); -lean_inc(x_1); -x_10 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__4(x_1, x_9); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_2, x_3, x_11); -lean_dec(x_2); -x_13 = l_Std_PersistentHashMap_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__7(x_1, x_9, x_12); -return x_13; -} -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); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_unsigned_to_nat(1u); -x_16 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(x_2, x_3, x_15, x_14); -lean_dec(x_2); -x_17 = l_Std_PersistentHashMap_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__7(x_1, x_9, x_16); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_array_fget(x_2, x_6); -lean_inc(x_18); -lean_inc(x_1); -x_19 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__4(x_1, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_unsigned_to_nat(1u); -x_21 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(x_2, x_3, x_20); -lean_dec(x_2); -x_22 = l_Std_PersistentHashMap_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__7(x_1, x_18, x_21); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_19, 0); -lean_inc(x_23); -lean_dec(x_19); -x_24 = lean_unsigned_to_nat(1u); -x_25 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(x_2, x_3, x_24, x_23); -lean_dec(x_2); -x_26 = l_Std_PersistentHashMap_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__7(x_1, x_18, x_25); -return x_26; -} -} -} -else -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_27 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8; -x_28 = l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__15(x_27); -return x_28; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_DiscrTree_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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; -x_9 = l_Lean_Meta_DiscrTree_mkPath(x_2, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__3(x_1, x_11, x_3); -lean_ctor_set(x_9, 0, x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_9); -x_15 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__3(x_1, x_13, x_3); -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 -{ -uint8_t x_17; -lean_dec(x_3); -lean_dec(x_1); -x_17 = !lean_is_exclusive(x_9); -if (x_17 == 0) -{ -return x_9; -} -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_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_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_2) == 5) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_2, 1); -lean_inc(x_5); -lean_dec(x_2); -x_6 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__18(x_1, x_4, x_3); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_unbox(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_7); -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_9); -lean_dec(x_6); -x_10 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_5, x_9); -return x_10; -} -else -{ -uint8_t x_11; -lean_dec(x_5); -x_11 = !lean_is_exclusive(x_6); -if (x_11 == 0) -{ -lean_object* x_12; -x_12 = lean_ctor_get(x_6, 0); -lean_dec(x_12); -return x_6; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_6, 1); -lean_inc(x_13); -lean_dec(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_7); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -} -} -else -{ -lean_object* x_15; -x_15 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_2, x_3); -return x_15; -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__21(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; uint8_t x_7; -x_6 = lean_array_uget(x_2, x_3); -x_7 = l_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__20(x_1, x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = lean_usize_add(x_3, x_8); -x_3 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__22(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; -x_6 = lean_array_uget(x_2, x_3); -if (lean_obj_tag(x_6) == 0) -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_3 = x_8; -goto _start; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_6, 0); -lean_inc(x_10); -lean_dec(x_6); -x_11 = l_Lean_LocalDecl_fvarId(x_10); -lean_dec(x_10); -x_12 = l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(x_1, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -size_t x_13; size_t x_14; -x_13 = 1; -x_14 = lean_usize_add(x_3, x_13); -x_3 = x_14; -goto _start; -} -else -{ -uint8_t x_16; -x_16 = 1; -return x_16; -} -} -} -else -{ -uint8_t x_17; -x_17 = 0; -return x_17; -} -} -} -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__20(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_2, 0); -lean_inc(x_3); -lean_dec(x_2); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_4); -lean_dec(x_3); -x_7 = 0; -return x_7; -} -else -{ -uint8_t x_8; -x_8 = lean_nat_dec_le(x_4, x_4); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec(x_4); -lean_dec(x_3); -x_9 = 0; -return x_9; -} -else -{ -size_t x_10; size_t x_11; uint8_t x_12; -x_10 = 0; -x_11 = lean_usize_of_nat(x_4); -lean_dec(x_4); -x_12 = l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__21(x_1, x_3, x_10, x_11); -lean_dec(x_3); -return x_12; -} -} -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_2, 0); -lean_inc(x_13); -lean_dec(x_2); -x_14 = lean_array_get_size(x_13); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_nat_dec_lt(x_15, x_14); -if (x_16 == 0) -{ -uint8_t x_17; -lean_dec(x_14); -lean_dec(x_13); -x_17 = 0; -return x_17; -} -else -{ -uint8_t x_18; -x_18 = lean_nat_dec_le(x_14, x_14); -if (x_18 == 0) -{ -uint8_t x_19; -lean_dec(x_14); -lean_dec(x_13); -x_19 = 0; -return x_19; -} -else -{ -size_t x_20; size_t x_21; uint8_t x_22; -x_20 = 0; -x_21 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_22 = l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__22(x_1, x_13, x_20, x_21); -lean_dec(x_13); -return x_22; -} -} -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__23(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; -x_6 = lean_array_uget(x_2, x_3); -if (lean_obj_tag(x_6) == 0) -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_3 = x_8; -goto _start; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_6, 0); -lean_inc(x_10); -lean_dec(x_6); -x_11 = l_Lean_LocalDecl_fvarId(x_10); -lean_dec(x_10); -x_12 = l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(x_1, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -size_t x_13; size_t x_14; -x_13 = 1; -x_14 = lean_usize_add(x_3, x_13); -x_3 = x_14; -goto _start; -} -else -{ -uint8_t x_16; -x_16 = 1; -return x_16; -} -} -} -else -{ -uint8_t x_17; -x_17 = 0; -return x_17; -} -} -} -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__19(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -lean_inc(x_3); -x_4 = l_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__20(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_2, 1); -lean_inc(x_5); -lean_dec(x_2); -x_6 = lean_array_get_size(x_5); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_nat_dec_lt(x_7, x_6); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec(x_6); -lean_dec(x_5); -x_9 = 0; -return x_9; -} -else -{ -uint8_t x_10; -x_10 = lean_nat_dec_le(x_6, x_6); -if (x_10 == 0) -{ -uint8_t x_11; -lean_dec(x_6); -lean_dec(x_5); -x_11 = 0; -return x_11; -} -else -{ -size_t x_12; size_t x_13; uint8_t x_14; -x_12 = 0; -x_13 = lean_usize_of_nat(x_6); -lean_dec(x_6); -x_14 = l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__23(x_1, x_5, x_12, x_13); -lean_dec(x_5); -return x_14; -} -} -} -else -{ -lean_dec(x_2); -return x_4; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -switch (lean_obj_tag(x_2)) { -case 1: -{ -lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -lean_dec(x_2); -x_5 = l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(x_1, x_4); -lean_dec(x_4); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_3); -return x_7; -} -case 2: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_2, 0); -lean_inc(x_8); -lean_dec(x_2); -lean_inc(x_8); -x_9 = l_Lean_getExprMVarAssignment_x3f___at_Lean_exprDependsOn___spec__4(x_8, x_3); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_12 = lean_ctor_get(x_9, 1); -x_13 = lean_ctor_get(x_9, 0); -lean_dec(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -x_15 = l_Lean_MetavarContext_getDecl(x_14, x_8); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__19(x_1, x_17); -x_19 = lean_box(x_18); -lean_ctor_set(x_9, 0, x_19); -return x_9; -} -else -{ -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; -x_20 = lean_ctor_get(x_9, 1); -lean_inc(x_20); -lean_dec(x_9); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -x_22 = l_Lean_MetavarContext_getDecl(x_21, x_8); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = l_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__19(x_1, 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_20); -return x_27; -} -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_8); -x_28 = lean_ctor_get(x_9, 1); -lean_inc(x_28); -lean_dec(x_9); -x_29 = lean_ctor_get(x_10, 0); -lean_inc(x_29); -lean_dec(x_10); -x_30 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_29, x_28); -return x_30; -} -} -case 5: -{ -lean_object* x_31; uint8_t x_32; -x_31 = l_Lean_Expr_getAppFn(x_2); -x_32 = l_Lean_Expr_isMVar(x_31); -if (x_32 == 0) -{ -lean_object* x_33; -lean_dec(x_31); -x_33 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__18(x_1, x_2, x_3); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, 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); -lean_dec(x_34); -x_37 = l_Lean_Expr_getAppFn(x_35); -x_38 = lean_expr_eqv(x_37, x_31); -lean_dec(x_31); -lean_dec(x_37); -if (x_38 == 0) -{ -lean_dec(x_2); -x_2 = x_35; -x_3 = x_36; -goto _start; -} -else -{ -lean_object* x_40; -lean_dec(x_35); -x_40 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__18(x_1, x_2, x_36); -return x_40; -} -} -} -case 6: -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_41 = lean_ctor_get(x_2, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_2, 2); -lean_inc(x_42); -lean_dec(x_2); -x_43 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_41, x_3); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_unbox(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; -lean_dec(x_44); -x_46 = lean_ctor_get(x_43, 1); -lean_inc(x_46); -lean_dec(x_43); -x_47 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_42, x_46); -return x_47; -} -else -{ -uint8_t x_48; -lean_dec(x_42); -x_48 = !lean_is_exclusive(x_43); -if (x_48 == 0) -{ -lean_object* x_49; -x_49 = lean_ctor_get(x_43, 0); -lean_dec(x_49); -return x_43; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_43, 1); -lean_inc(x_50); -lean_dec(x_43); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_44); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} -} -} -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_2, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_2, 2); -lean_inc(x_53); -lean_dec(x_2); -x_54 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_52, x_3); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_unbox(x_55); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; -lean_dec(x_55); -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_58 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_53, x_57); -return x_58; -} -else -{ -uint8_t x_59; -lean_dec(x_53); -x_59 = !lean_is_exclusive(x_54); -if (x_59 == 0) -{ -lean_object* x_60; -x_60 = lean_ctor_get(x_54, 0); -lean_dec(x_60); -return x_54; -} -else -{ -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_54, 1); -lean_inc(x_61); -lean_dec(x_54); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_55); -lean_ctor_set(x_62, 1, x_61); -return x_62; -} -} -} -case 8: -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_63 = lean_ctor_get(x_2, 1); -lean_inc(x_63); -x_64 = lean_ctor_get(x_2, 2); -lean_inc(x_64); -x_65 = lean_ctor_get(x_2, 3); -lean_inc(x_65); -lean_dec(x_2); -x_66 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_63, x_3); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_unbox(x_67); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -lean_dec(x_67); -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_64, x_69); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_unbox(x_71); -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; -lean_dec(x_71); -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); -lean_dec(x_70); -x_74 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_65, x_73); -return x_74; -} -else -{ -uint8_t x_75; -lean_dec(x_65); -x_75 = !lean_is_exclusive(x_70); -if (x_75 == 0) -{ -lean_object* x_76; -x_76 = lean_ctor_get(x_70, 0); -lean_dec(x_76); -return x_70; -} -else -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_70, 1); -lean_inc(x_77); -lean_dec(x_70); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_71); -lean_ctor_set(x_78, 1, x_77); -return x_78; -} -} -} -else -{ -uint8_t x_79; -lean_dec(x_65); -lean_dec(x_64); -x_79 = !lean_is_exclusive(x_66); -if (x_79 == 0) -{ -lean_object* x_80; -x_80 = lean_ctor_get(x_66, 0); -lean_dec(x_80); -return x_66; -} -else -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_66, 1); -lean_inc(x_81); -lean_dec(x_66); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_67); -lean_ctor_set(x_82, 1, x_81); -return x_82; -} -} -} -case 10: -{ -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_2, 1); -lean_inc(x_83); -lean_dec(x_2); -x_84 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_83, x_3); -return x_84; -} -case 11: -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_2, 2); -lean_inc(x_85); -lean_dec(x_2); -x_86 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_85, x_3); -return x_86; -} -default: -{ -uint8_t x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_2); -x_87 = 0; -x_88 = lean_box(x_87); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_3); -return x_89; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -lean_inc(x_2); -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(x_2, x_3); -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -x_6 = lean_unbox(x_5); -lean_dec(x_5); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_2); -x_7 = !lean_is_exclusive(x_4); -if (x_7 == 0) -{ -lean_object* x_8; uint8_t x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_4, 0); -lean_dec(x_8); -x_9 = 0; -x_10 = lean_box(x_9); -lean_ctor_set(x_4, 0, x_10); -return x_4; -} -else -{ -lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_4, 1); -lean_inc(x_11); -lean_dec(x_4); -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_11); -return x_14; -} -} -else -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_4, 1); -lean_inc(x_15); -lean_dec(x_4); -x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__17(x_1, x_2, x_15); -return x_16; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_2) == 5) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_2, 1); -lean_inc(x_5); -lean_dec(x_2); -x_6 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__26(x_1, x_4, x_3); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_unbox(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_7); -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_9); -lean_dec(x_6); -x_10 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_5, x_9); -return x_10; -} -else -{ -uint8_t x_11; -lean_dec(x_5); -x_11 = !lean_is_exclusive(x_6); -if (x_11 == 0) -{ -lean_object* x_12; -x_12 = lean_ctor_get(x_6, 0); -lean_dec(x_12); -return x_6; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_6, 1); -lean_inc(x_13); -lean_dec(x_6); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_7); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -} -} -else -{ -lean_object* x_15; -x_15 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_2, x_3); -return x_15; -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__29(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; uint8_t x_7; -x_6 = lean_array_uget(x_2, x_3); -x_7 = l_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__28(x_1, x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = lean_usize_add(x_3, x_8); -x_3 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__30(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; -x_6 = lean_array_uget(x_2, x_3); -if (lean_obj_tag(x_6) == 0) -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_3 = x_8; -goto _start; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_6, 0); -lean_inc(x_10); -lean_dec(x_6); -x_11 = l_Lean_LocalDecl_fvarId(x_10); -lean_dec(x_10); -x_12 = l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(x_1, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -size_t x_13; size_t x_14; -x_13 = 1; -x_14 = lean_usize_add(x_3, x_13); -x_3 = x_14; -goto _start; -} -else -{ -uint8_t x_16; -x_16 = 1; -return x_16; -} -} -} -else -{ -uint8_t x_17; -x_17 = 0; -return x_17; -} -} -} -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__28(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_2, 0); -lean_inc(x_3); -lean_dec(x_2); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_4); -lean_dec(x_3); -x_7 = 0; -return x_7; -} -else -{ -uint8_t x_8; -x_8 = lean_nat_dec_le(x_4, x_4); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec(x_4); -lean_dec(x_3); -x_9 = 0; -return x_9; -} -else -{ -size_t x_10; size_t x_11; uint8_t x_12; -x_10 = 0; -x_11 = lean_usize_of_nat(x_4); -lean_dec(x_4); -x_12 = l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__29(x_1, x_3, x_10, x_11); -lean_dec(x_3); -return x_12; -} -} -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_2, 0); -lean_inc(x_13); -lean_dec(x_2); -x_14 = lean_array_get_size(x_13); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_nat_dec_lt(x_15, x_14); -if (x_16 == 0) -{ -uint8_t x_17; -lean_dec(x_14); -lean_dec(x_13); -x_17 = 0; -return x_17; -} -else -{ -uint8_t x_18; -x_18 = lean_nat_dec_le(x_14, x_14); -if (x_18 == 0) -{ -uint8_t x_19; -lean_dec(x_14); -lean_dec(x_13); -x_19 = 0; -return x_19; -} -else -{ -size_t x_20; size_t x_21; uint8_t x_22; -x_20 = 0; -x_21 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_22 = l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__30(x_1, x_13, x_20, x_21); -lean_dec(x_13); -return x_22; -} -} -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__31(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; -x_6 = lean_array_uget(x_2, x_3); -if (lean_obj_tag(x_6) == 0) -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_3 = x_8; -goto _start; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_6, 0); -lean_inc(x_10); -lean_dec(x_6); -x_11 = l_Lean_LocalDecl_fvarId(x_10); -lean_dec(x_10); -x_12 = l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(x_1, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -size_t x_13; size_t x_14; -x_13 = 1; -x_14 = lean_usize_add(x_3, x_13); -x_3 = x_14; -goto _start; -} -else -{ -uint8_t x_16; -x_16 = 1; -return x_16; -} -} -} -else -{ -uint8_t x_17; -x_17 = 0; -return x_17; -} -} -} -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__27(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -lean_inc(x_3); -x_4 = l_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__28(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_2, 1); -lean_inc(x_5); -lean_dec(x_2); -x_6 = lean_array_get_size(x_5); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_nat_dec_lt(x_7, x_6); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec(x_6); -lean_dec(x_5); -x_9 = 0; -return x_9; -} -else -{ -uint8_t x_10; -x_10 = lean_nat_dec_le(x_6, x_6); -if (x_10 == 0) -{ -uint8_t x_11; -lean_dec(x_6); -lean_dec(x_5); -x_11 = 0; -return x_11; -} -else -{ -size_t x_12; size_t x_13; uint8_t x_14; -x_12 = 0; -x_13 = lean_usize_of_nat(x_6); -lean_dec(x_6); -x_14 = l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__31(x_1, x_5, x_12, x_13); -lean_dec(x_5); -return x_14; -} -} -} -else -{ -lean_dec(x_2); -return x_4; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__25(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -switch (lean_obj_tag(x_2)) { -case 1: -{ -lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -lean_dec(x_2); -x_5 = l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(x_1, x_4); -lean_dec(x_4); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_3); -return x_7; -} -case 2: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_2, 0); -lean_inc(x_8); -lean_dec(x_2); -lean_inc(x_8); -x_9 = l_Lean_getExprMVarAssignment_x3f___at_Lean_exprDependsOn___spec__4(x_8, x_3); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_12 = lean_ctor_get(x_9, 1); -x_13 = lean_ctor_get(x_9, 0); -lean_dec(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -x_15 = l_Lean_MetavarContext_getDecl(x_14, x_8); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__27(x_1, x_17); -x_19 = lean_box(x_18); -lean_ctor_set(x_9, 0, x_19); -return x_9; -} -else -{ -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; -x_20 = lean_ctor_get(x_9, 1); -lean_inc(x_20); -lean_dec(x_9); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -x_22 = l_Lean_MetavarContext_getDecl(x_21, x_8); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = l_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__27(x_1, 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_20); -return x_27; -} -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_8); -x_28 = lean_ctor_get(x_9, 1); -lean_inc(x_28); -lean_dec(x_9); -x_29 = lean_ctor_get(x_10, 0); -lean_inc(x_29); -lean_dec(x_10); -x_30 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_29, x_28); -return x_30; -} -} -case 5: -{ -lean_object* x_31; uint8_t x_32; -x_31 = l_Lean_Expr_getAppFn(x_2); -x_32 = l_Lean_Expr_isMVar(x_31); -if (x_32 == 0) -{ -lean_object* x_33; -lean_dec(x_31); -x_33 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__26(x_1, x_2, x_3); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, 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); -lean_dec(x_34); -x_37 = l_Lean_Expr_getAppFn(x_35); -x_38 = lean_expr_eqv(x_37, x_31); -lean_dec(x_31); -lean_dec(x_37); -if (x_38 == 0) -{ -lean_dec(x_2); -x_2 = x_35; -x_3 = x_36; -goto _start; -} -else -{ -lean_object* x_40; -lean_dec(x_35); -x_40 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__26(x_1, x_2, x_36); -return x_40; -} -} -} -case 6: -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_41 = lean_ctor_get(x_2, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_2, 2); -lean_inc(x_42); -lean_dec(x_2); -x_43 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_41, x_3); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_unbox(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; -lean_dec(x_44); -x_46 = lean_ctor_get(x_43, 1); -lean_inc(x_46); -lean_dec(x_43); -x_47 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_42, x_46); -return x_47; -} -else -{ -uint8_t x_48; -lean_dec(x_42); -x_48 = !lean_is_exclusive(x_43); -if (x_48 == 0) -{ -lean_object* x_49; -x_49 = lean_ctor_get(x_43, 0); -lean_dec(x_49); -return x_43; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_43, 1); -lean_inc(x_50); -lean_dec(x_43); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_44); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} -} -} -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_2, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_2, 2); -lean_inc(x_53); -lean_dec(x_2); -x_54 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_52, x_3); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_unbox(x_55); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; -lean_dec(x_55); -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_58 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_53, x_57); -return x_58; -} -else -{ -uint8_t x_59; -lean_dec(x_53); -x_59 = !lean_is_exclusive(x_54); -if (x_59 == 0) -{ -lean_object* x_60; -x_60 = lean_ctor_get(x_54, 0); -lean_dec(x_60); -return x_54; -} -else -{ -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_54, 1); -lean_inc(x_61); -lean_dec(x_54); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_55); -lean_ctor_set(x_62, 1, x_61); -return x_62; -} -} -} -case 8: -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_63 = lean_ctor_get(x_2, 1); -lean_inc(x_63); -x_64 = lean_ctor_get(x_2, 2); -lean_inc(x_64); -x_65 = lean_ctor_get(x_2, 3); -lean_inc(x_65); -lean_dec(x_2); -x_66 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_63, x_3); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_unbox(x_67); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -lean_dec(x_67); -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_dec(x_66); -x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_64, x_69); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_unbox(x_71); -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; -lean_dec(x_71); -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); -lean_dec(x_70); -x_74 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_65, x_73); -return x_74; -} -else -{ -uint8_t x_75; -lean_dec(x_65); -x_75 = !lean_is_exclusive(x_70); -if (x_75 == 0) -{ -lean_object* x_76; -x_76 = lean_ctor_get(x_70, 0); -lean_dec(x_76); -return x_70; -} -else -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_70, 1); -lean_inc(x_77); -lean_dec(x_70); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_71); -lean_ctor_set(x_78, 1, x_77); -return x_78; -} -} -} -else -{ -uint8_t x_79; -lean_dec(x_65); -lean_dec(x_64); -x_79 = !lean_is_exclusive(x_66); -if (x_79 == 0) -{ -lean_object* x_80; -x_80 = lean_ctor_get(x_66, 0); -lean_dec(x_80); -return x_66; -} -else -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_66, 1); -lean_inc(x_81); -lean_dec(x_66); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_67); -lean_ctor_set(x_82, 1, x_81); -return x_82; -} -} -} -case 10: -{ -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_2, 1); -lean_inc(x_83); -lean_dec(x_2); -x_84 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_83, x_3); -return x_84; -} -case 11: -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_2, 2); -lean_inc(x_85); -lean_dec(x_2); -x_86 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_85, x_3); -return x_86; -} -default: -{ -uint8_t x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_2); -x_87 = 0; -x_88 = lean_box(x_87); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_3); -return x_89; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -lean_inc(x_2); -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(x_2, x_3); -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -x_6 = lean_unbox(x_5); -lean_dec(x_5); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_2); -x_7 = !lean_is_exclusive(x_4); -if (x_7 == 0) -{ -lean_object* x_8; uint8_t x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_4, 0); -lean_dec(x_8); -x_9 = 0; -x_10 = lean_box(x_9); -lean_ctor_set(x_4, 0, x_10); -return x_4; -} -else -{ -lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_4, 1); -lean_inc(x_11); -lean_dec(x_4); -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_11); -return x_14; -} -} -else -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_4, 1); -lean_inc(x_15); -lean_dec(x_4); -x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__25(x_1, x_2, x_15); -return x_16; -} -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("_rpcEnc", 7); +x_1 = lean_mk_string_from_bytes("explicitBinder", 14); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___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; -x_11 = lean_ctor_get(x_2, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_2, 1); -lean_inc(x_12); -x_13 = lean_ctor_get(x_2, 2); -lean_inc(x_13); -x_14 = lean_ctor_get(x_2, 3); -lean_inc(x_14); -x_15 = lean_ctor_get(x_2, 4); -lean_inc(x_15); -x_16 = lean_ctor_get(x_2, 5); -lean_inc(x_16); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_1); -lean_inc(x_11); -x_17 = l_Lean_Meta_DiscrTree_getMatch___rarg(x_11, x_1, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_17) == 0) -{ -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -x_21 = l_Array_isEmpty___rarg(x_19); -lean_dec(x_19); -if (x_21 == 0) -{ -lean_object* 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_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_2); -lean_ctor_set(x_17, 0, x_22); -return x_17; -} -else -{ -uint8_t x_23; -lean_free_object(x_17); -x_23 = !lean_is_exclusive(x_2); -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; -x_24 = lean_ctor_get(x_2, 5); -lean_dec(x_24); -x_25 = lean_ctor_get(x_2, 4); -lean_dec(x_25); -x_26 = lean_ctor_get(x_2, 3); -lean_dec(x_26); -x_27 = lean_ctor_get(x_2, 2); -lean_dec(x_27); -x_28 = lean_ctor_get(x_2, 1); -lean_dec(x_28); -x_29 = lean_ctor_get(x_2, 0); -lean_dec(x_29); -x_30 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__2; -x_31 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_30, x_8, x_9, x_20); -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_box(0); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_1); -x_35 = l_Lean_PrettyPrinter_delab(x_1, x_34, x_6, x_7, x_8, x_9, x_33); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_32); -x_38 = l_Lean_Meta_DiscrTree_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__2(x_11, x_1, x_32, x_6, x_7, x_8, x_9, x_37); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; 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; uint8_t x_69; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -lean_inc(x_8); -x_41 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_40); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_st_ref_get(x_9, x_43); -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -lean_dec(x_44); -x_46 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__80; -lean_inc(x_42); -x_47 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_47, 0, x_42); -lean_ctor_set(x_47, 1, x_46); -lean_inc(x_32); -x_48 = lean_mk_syntax_ident(x_32); -x_49 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -lean_inc(x_48); -x_50 = lean_array_push(x_49, x_48); -x_51 = lean_box(2); -x_52 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__92; -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_42); -lean_ctor_set(x_55, 1, x_54); -x_56 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93; -x_57 = lean_array_push(x_56, x_47); -x_58 = lean_array_push(x_57, x_53); -x_59 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_60 = lean_array_push(x_58, x_59); -x_61 = lean_array_push(x_60, x_59); -x_62 = lean_array_push(x_61, x_55); -x_63 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__79; -x_64 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_64, 0, x_51); -lean_ctor_set(x_64, 1, x_63); -lean_ctor_set(x_64, 2, x_62); -x_65 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_45); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_st_ref_get(x_9, x_67); -lean_dec(x_9); -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; 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; -x_70 = lean_ctor_get(x_68, 0); -lean_dec(x_70); -x_71 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__59; -lean_inc(x_66); -x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_66); -lean_ctor_set(x_72, 1, x_71); -x_73 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_74 = lean_array_push(x_73, x_36); -x_75 = lean_array_push(x_74, x_48); -x_76 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_76, 0, x_51); -lean_ctor_set(x_76, 1, x_52); -lean_ctor_set(x_76, 2, x_75); -x_77 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__2; -x_78 = lean_array_push(x_77, x_76); -x_79 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; -x_80 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_80, 0, x_51); -lean_ctor_set(x_80, 1, x_79); -lean_ctor_set(x_80, 2, x_78); -x_81 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__68; -x_82 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_82, 0, x_66); -lean_ctor_set(x_82, 1, x_81); -x_83 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_84 = lean_array_push(x_83, x_72); -x_85 = lean_array_push(x_84, x_59); -x_86 = lean_array_push(x_85, x_80); -x_87 = lean_array_push(x_86, x_82); -x_88 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__58; -x_89 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_89, 0, x_51); -lean_ctor_set(x_89, 1, x_88); -lean_ctor_set(x_89, 2, x_87); -x_90 = lean_array_push(x_12, x_32); -x_91 = lean_array_push(x_73, x_64); -x_92 = lean_array_push(x_91, x_89); -x_93 = l_Array_append___rarg(x_13, x_92); -lean_ctor_set(x_2, 2, x_93); -lean_ctor_set(x_2, 1, x_90); -lean_ctor_set(x_2, 0, x_39); -x_94 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_94, 0, x_2); -lean_ctor_set(x_68, 0, x_94); -return x_68; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_95 = lean_ctor_get(x_68, 1); -lean_inc(x_95); -lean_dec(x_68); -x_96 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__59; -lean_inc(x_66); -x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_66); -lean_ctor_set(x_97, 1, x_96); -x_98 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_99 = lean_array_push(x_98, x_36); -x_100 = lean_array_push(x_99, x_48); -x_101 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_101, 0, x_51); -lean_ctor_set(x_101, 1, x_52); -lean_ctor_set(x_101, 2, x_100); -x_102 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__2; -x_103 = lean_array_push(x_102, x_101); -x_104 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; -x_105 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_105, 0, x_51); -lean_ctor_set(x_105, 1, x_104); -lean_ctor_set(x_105, 2, x_103); -x_106 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__68; -x_107 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_107, 0, x_66); -lean_ctor_set(x_107, 1, x_106); -x_108 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_109 = lean_array_push(x_108, x_97); -x_110 = lean_array_push(x_109, x_59); -x_111 = lean_array_push(x_110, x_105); -x_112 = lean_array_push(x_111, x_107); -x_113 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__58; -x_114 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_114, 0, x_51); -lean_ctor_set(x_114, 1, x_113); -lean_ctor_set(x_114, 2, x_112); -x_115 = lean_array_push(x_12, x_32); -x_116 = lean_array_push(x_98, x_64); -x_117 = lean_array_push(x_116, x_114); -x_118 = l_Array_append___rarg(x_13, x_117); -lean_ctor_set(x_2, 2, x_118); -lean_ctor_set(x_2, 1, x_115); -lean_ctor_set(x_2, 0, x_39); -x_119 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_119, 0, x_2); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_95); -return x_120; -} -} -else -{ -uint8_t x_121; -lean_dec(x_36); -lean_dec(x_32); -lean_free_object(x_2); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -x_121 = !lean_is_exclusive(x_38); -if (x_121 == 0) -{ -return x_38; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_38, 0); -x_123 = lean_ctor_get(x_38, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_38); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -return x_124; -} -} -} -else -{ -uint8_t x_125; -lean_dec(x_32); -lean_free_object(x_2); -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_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_125 = !lean_is_exclusive(x_35); -if (x_125 == 0) -{ -return x_35; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_35, 0); -x_127 = lean_ctor_get(x_35, 1); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_35); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -return x_128; -} -} -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -lean_dec(x_2); -x_129 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__2; -x_130 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_129, x_8, x_9, x_20); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_box(0); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_1); -x_134 = l_Lean_PrettyPrinter_delab(x_1, x_133, x_6, x_7, x_8, x_9, x_132); -if (lean_obj_tag(x_134) == 0) -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; -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_9); -lean_inc(x_8); -lean_inc(x_131); -x_137 = l_Lean_Meta_DiscrTree_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__2(x_11, x_1, x_131, x_6, x_7, x_8, x_9, x_136); -if (lean_obj_tag(x_137) == 0) -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_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); -lean_inc(x_8); -x_140 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_139); -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); -lean_dec(x_140); -x_143 = lean_st_ref_get(x_9, x_142); -x_144 = lean_ctor_get(x_143, 1); -lean_inc(x_144); -lean_dec(x_143); -x_145 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__80; -lean_inc(x_141); -x_146 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_146, 0, x_141); -lean_ctor_set(x_146, 1, x_145); -lean_inc(x_131); -x_147 = lean_mk_syntax_ident(x_131); -x_148 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -lean_inc(x_147); -x_149 = lean_array_push(x_148, x_147); -x_150 = lean_box(2); -x_151 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_152 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -lean_ctor_set(x_152, 2, x_149); -x_153 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__92; -x_154 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_154, 0, x_141); -lean_ctor_set(x_154, 1, x_153); -x_155 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93; -x_156 = lean_array_push(x_155, x_146); -x_157 = lean_array_push(x_156, x_152); -x_158 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_159 = lean_array_push(x_157, x_158); -x_160 = lean_array_push(x_159, x_158); -x_161 = lean_array_push(x_160, x_154); -x_162 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__79; -x_163 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_163, 0, x_150); -lean_ctor_set(x_163, 1, x_162); -lean_ctor_set(x_163, 2, x_161); -x_164 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_144); -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); -lean_dec(x_164); -x_167 = lean_st_ref_get(x_9, x_166); -lean_dec(x_9); -x_168 = lean_ctor_get(x_167, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - x_169 = x_167; -} else { - lean_dec_ref(x_167); - x_169 = lean_box(0); -} -x_170 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__59; -lean_inc(x_165); -x_171 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_171, 0, x_165); -lean_ctor_set(x_171, 1, x_170); -x_172 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_173 = lean_array_push(x_172, x_135); -x_174 = lean_array_push(x_173, x_147); -x_175 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_175, 0, x_150); -lean_ctor_set(x_175, 1, x_151); -lean_ctor_set(x_175, 2, x_174); -x_176 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__2; -x_177 = lean_array_push(x_176, x_175); -x_178 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; -x_179 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_179, 0, x_150); -lean_ctor_set(x_179, 1, x_178); -lean_ctor_set(x_179, 2, x_177); -x_180 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__68; -x_181 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_181, 0, x_165); -lean_ctor_set(x_181, 1, x_180); -x_182 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_183 = lean_array_push(x_182, x_171); -x_184 = lean_array_push(x_183, x_158); -x_185 = lean_array_push(x_184, x_179); -x_186 = lean_array_push(x_185, x_181); -x_187 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__58; -x_188 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_188, 0, x_150); -lean_ctor_set(x_188, 1, x_187); -lean_ctor_set(x_188, 2, x_186); -x_189 = lean_array_push(x_12, x_131); -x_190 = lean_array_push(x_172, x_163); -x_191 = lean_array_push(x_190, x_188); -x_192 = l_Array_append___rarg(x_13, x_191); -x_193 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_193, 0, x_138); -lean_ctor_set(x_193, 1, x_189); -lean_ctor_set(x_193, 2, x_192); -lean_ctor_set(x_193, 3, x_14); -lean_ctor_set(x_193, 4, x_15); -lean_ctor_set(x_193, 5, x_16); -x_194 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_194, 0, x_193); -if (lean_is_scalar(x_169)) { - x_195 = lean_alloc_ctor(0, 2, 0); -} else { - x_195 = x_169; -} -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_168); -return x_195; -} -else -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -lean_dec(x_135); -lean_dec(x_131); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -x_196 = lean_ctor_get(x_137, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_137, 1); -lean_inc(x_197); -if (lean_is_exclusive(x_137)) { - lean_ctor_release(x_137, 0); - lean_ctor_release(x_137, 1); - x_198 = x_137; -} else { - lean_dec_ref(x_137); - x_198 = lean_box(0); -} -if (lean_is_scalar(x_198)) { - x_199 = lean_alloc_ctor(1, 2, 0); -} else { - x_199 = x_198; -} -lean_ctor_set(x_199, 0, x_196); -lean_ctor_set(x_199, 1, x_197); -return x_199; -} -} -else -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -lean_dec(x_131); -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_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_200 = lean_ctor_get(x_134, 0); -lean_inc(x_200); -x_201 = lean_ctor_get(x_134, 1); -lean_inc(x_201); -if (lean_is_exclusive(x_134)) { - lean_ctor_release(x_134, 0); - lean_ctor_release(x_134, 1); - x_202 = x_134; -} else { - lean_dec_ref(x_134); - x_202 = lean_box(0); -} -if (lean_is_scalar(x_202)) { - x_203 = lean_alloc_ctor(1, 2, 0); -} else { - x_203 = x_202; -} -lean_ctor_set(x_203, 0, x_200); -lean_ctor_set(x_203, 1, x_201); -return x_203; -} -} -} -} -else -{ -lean_object* x_204; lean_object* x_205; uint8_t x_206; -x_204 = lean_ctor_get(x_17, 0); -x_205 = lean_ctor_get(x_17, 1); -lean_inc(x_205); -lean_inc(x_204); -lean_dec(x_17); -x_206 = l_Array_isEmpty___rarg(x_204); -lean_dec(x_204); -if (x_206 == 0) -{ -lean_object* x_207; lean_object* x_208; -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_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_207 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_207, 0, x_2); -x_208 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_205); -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; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - x_209 = x_2; -} else { - lean_dec_ref(x_2); - x_209 = lean_box(0); -} -x_210 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__2; -x_211 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_210, x_8, x_9, x_205); -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_box(0); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_1); -x_215 = l_Lean_PrettyPrinter_delab(x_1, x_214, x_6, x_7, x_8, x_9, x_213); -if (lean_obj_tag(x_215) == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; -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_9); -lean_inc(x_8); -lean_inc(x_212); -x_218 = l_Lean_Meta_DiscrTree_insert___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__2(x_11, x_1, x_212, x_6, x_7, x_8, x_9, x_217); -if (lean_obj_tag(x_218) == 0) -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; 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; -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -lean_inc(x_8); -x_221 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_220); -x_222 = lean_ctor_get(x_221, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_221, 1); -lean_inc(x_223); -lean_dec(x_221); -x_224 = lean_st_ref_get(x_9, x_223); -x_225 = lean_ctor_get(x_224, 1); -lean_inc(x_225); -lean_dec(x_224); -x_226 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__80; -lean_inc(x_222); -x_227 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_227, 0, x_222); -lean_ctor_set(x_227, 1, x_226); -lean_inc(x_212); -x_228 = lean_mk_syntax_ident(x_212); -x_229 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -lean_inc(x_228); -x_230 = lean_array_push(x_229, x_228); -x_231 = lean_box(2); -x_232 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_233 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_233, 0, x_231); -lean_ctor_set(x_233, 1, x_232); -lean_ctor_set(x_233, 2, x_230); -x_234 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__92; -x_235 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_235, 0, x_222); -lean_ctor_set(x_235, 1, x_234); -x_236 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93; -x_237 = lean_array_push(x_236, x_227); -x_238 = lean_array_push(x_237, x_233); -x_239 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_240 = lean_array_push(x_238, x_239); -x_241 = lean_array_push(x_240, x_239); -x_242 = lean_array_push(x_241, x_235); -x_243 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__79; -x_244 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_244, 0, x_231); -lean_ctor_set(x_244, 1, x_243); -lean_ctor_set(x_244, 2, x_242); -x_245 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_225); -x_246 = lean_ctor_get(x_245, 0); -lean_inc(x_246); -x_247 = lean_ctor_get(x_245, 1); -lean_inc(x_247); -lean_dec(x_245); -x_248 = lean_st_ref_get(x_9, x_247); -lean_dec(x_9); -x_249 = lean_ctor_get(x_248, 1); -lean_inc(x_249); -if (lean_is_exclusive(x_248)) { - lean_ctor_release(x_248, 0); - lean_ctor_release(x_248, 1); - x_250 = x_248; -} else { - lean_dec_ref(x_248); - x_250 = lean_box(0); -} -x_251 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__59; -lean_inc(x_246); -x_252 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_252, 0, x_246); -lean_ctor_set(x_252, 1, x_251); -x_253 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_254 = lean_array_push(x_253, x_216); -x_255 = lean_array_push(x_254, x_228); -x_256 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_256, 0, x_231); -lean_ctor_set(x_256, 1, x_232); -lean_ctor_set(x_256, 2, x_255); -x_257 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__2; -x_258 = lean_array_push(x_257, x_256); -x_259 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; -x_260 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_260, 0, x_231); -lean_ctor_set(x_260, 1, x_259); -lean_ctor_set(x_260, 2, x_258); -x_261 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__68; -x_262 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_262, 0, x_246); -lean_ctor_set(x_262, 1, x_261); -x_263 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_264 = lean_array_push(x_263, x_252); -x_265 = lean_array_push(x_264, x_239); -x_266 = lean_array_push(x_265, x_260); -x_267 = lean_array_push(x_266, x_262); -x_268 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__58; -x_269 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_269, 0, x_231); -lean_ctor_set(x_269, 1, x_268); -lean_ctor_set(x_269, 2, x_267); -x_270 = lean_array_push(x_12, x_212); -x_271 = lean_array_push(x_253, x_244); -x_272 = lean_array_push(x_271, x_269); -x_273 = l_Array_append___rarg(x_13, x_272); -if (lean_is_scalar(x_209)) { - x_274 = lean_alloc_ctor(0, 6, 0); -} else { - x_274 = x_209; -} -lean_ctor_set(x_274, 0, x_219); -lean_ctor_set(x_274, 1, x_270); -lean_ctor_set(x_274, 2, x_273); -lean_ctor_set(x_274, 3, x_14); -lean_ctor_set(x_274, 4, x_15); -lean_ctor_set(x_274, 5, x_16); -x_275 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_275, 0, x_274); -if (lean_is_scalar(x_250)) { - x_276 = lean_alloc_ctor(0, 2, 0); -} else { - x_276 = x_250; -} -lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_249); -return x_276; -} -else -{ -lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; -lean_dec(x_216); -lean_dec(x_212); -lean_dec(x_209); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -x_277 = lean_ctor_get(x_218, 0); -lean_inc(x_277); -x_278 = lean_ctor_get(x_218, 1); -lean_inc(x_278); -if (lean_is_exclusive(x_218)) { - lean_ctor_release(x_218, 0); - lean_ctor_release(x_218, 1); - x_279 = x_218; -} else { - lean_dec_ref(x_218); - x_279 = lean_box(0); -} -if (lean_is_scalar(x_279)) { - x_280 = lean_alloc_ctor(1, 2, 0); -} else { - x_280 = x_279; -} -lean_ctor_set(x_280, 0, x_277); -lean_ctor_set(x_280, 1, x_278); -return x_280; -} -} -else -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; -lean_dec(x_212); -lean_dec(x_209); -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_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_281 = lean_ctor_get(x_215, 0); -lean_inc(x_281); -x_282 = lean_ctor_get(x_215, 1); -lean_inc(x_282); -if (lean_is_exclusive(x_215)) { - lean_ctor_release(x_215, 0); - lean_ctor_release(x_215, 1); - x_283 = x_215; -} else { - lean_dec_ref(x_215); - x_283 = lean_box(0); -} -if (lean_is_scalar(x_283)) { - x_284 = lean_alloc_ctor(1, 2, 0); -} else { - x_284 = x_283; -} -lean_ctor_set(x_284, 0, x_281); -lean_ctor_set(x_284, 1, x_282); -return x_284; -} -} -} -} -else -{ -uint8_t x_285; -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_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_285 = !lean_is_exclusive(x_17); -if (x_285 == 0) -{ -return x_17; -} -else -{ -lean_object* x_286; lean_object* x_287; lean_object* x_288; -x_286 = lean_ctor_get(x_17, 0); -x_287 = lean_ctor_get(x_17, 1); -lean_inc(x_287); -lean_inc(x_286); -lean_dec(x_17); -x_288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_288, 0, x_286); -lean_ctor_set(x_288, 1, x_287); -return x_288; -} -} -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("cross-argument dependencies are not supported (", 47); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(" : ", 3); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__92; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(8u); -x_2 = l_Std_mkHashSetImp___rarg(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32(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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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; @@ -14994,7 +8029,7 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_6); +lean_dec(x_2); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_5); lean_ctor_set(x_14, 1, x_12); @@ -15002,529 +8037,577 @@ return x_14; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_25; -x_15 = lean_array_uget(x_2, x_4); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +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_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_15); -x_25 = lean_infer_type(x_15, x_8, x_9, x_10, x_11, x_12); +x_18 = lean_infer_type(x_15, x_8, x_9, x_10, x_11, x_12); +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_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_21 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor(x_19, x_8, x_9, x_10, x_11, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_box(0); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_25 = l_Lean_PrettyPrinter_delab(x_22, x_24, x_8, x_9, x_10, x_11, x_23); 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_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_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_object* x_26; lean_object* x_27; lean_object* x_28; x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); lean_dec(x_25); -x_53 = lean_st_ref_get(x_11, x_27); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -lean_dec(x_53); -x_55 = lean_st_ref_get(x_9, x_54); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_134 = lean_ctor_get(x_56, 0); -lean_inc(x_134); -lean_dec(x_56); -x_135 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__6; -x_136 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_134); -x_137 = l_Lean_Expr_hasFVar(x_26); -if (x_137 == 0) -{ -uint8_t x_138; -x_138 = l_Lean_Expr_hasMVar(x_26); -if (x_138 == 0) -{ -uint8_t x_139; -x_139 = 0; -x_58 = x_139; -x_59 = x_136; -goto block_133; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; -lean_inc(x_26); -x_140 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_26, x_136); -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); -lean_dec(x_140); -x_143 = lean_unbox(x_141); -lean_dec(x_141); -x_58 = x_143; -x_59 = x_142; -goto block_133; -} -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; -lean_inc(x_26); -x_144 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_26, x_136); -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_unbox(x_145); -lean_dec(x_145); -x_58 = x_147; -x_59 = x_146; -goto block_133; -} -block_52: -{ -if (x_28 == 0) -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_15); -x_30 = lean_box(0); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); lean_inc(x_8); -x_31 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1(x_26, x_5, x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_29); -if (lean_obj_tag(x_31) == 0) +x_28 = l_Lean_Meta_getFVarLocalDecl(x_15, x_8, x_9, x_10, x_11, x_27); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; size_t x_67; size_t x_68; lean_object* x_69; +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_LocalDecl_userName(x_29); +lean_dec(x_29); +lean_inc(x_10); +x_32 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_10, x_11, x_30); +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -lean_dec(x_31); -x_16 = x_32; -x_17 = x_33; -goto block_24; -} -else -{ -uint8_t x_34; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -x_34 = !lean_is_exclusive(x_31); -if (x_34 == 0) -{ -return x_31; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_31, 0); -x_36 = lean_ctor_get(x_31, 1); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_11, x_34); +x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_31); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} +lean_dec(x_35); +x_37 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__5; +lean_inc(x_2); +x_38 = l_Lean_Name_str___override(x_2, x_37); +x_39 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__34; +x_40 = l_Lean_Name_str___override(x_38, x_39); +x_41 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1___closed__1; +x_42 = l_Lean_Name_str___override(x_40, x_41); +x_43 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52; +lean_inc(x_33); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_33); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_mk_syntax_ident(x_31); +x_46 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; +x_47 = lean_array_push(x_46, x_45); +x_48 = lean_box(2); +x_49 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; +x_50 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_47); +x_51 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__38; +lean_inc(x_33); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_33); +lean_ctor_set(x_52, 1, x_51); +x_53 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_54 = lean_array_push(x_53, x_52); +x_55 = lean_array_push(x_54, x_26); +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_48); +lean_ctor_set(x_56, 1, x_49); +lean_ctor_set(x_56, 2, x_55); +x_57 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_33); +lean_ctor_set(x_58, 1, x_57); +x_59 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__99; +x_60 = lean_array_push(x_59, x_44); +x_61 = lean_array_push(x_60, x_50); +x_62 = lean_array_push(x_61, x_56); +x_63 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_64 = lean_array_push(x_62, x_63); +x_65 = lean_array_push(x_64, x_58); +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_48); +lean_ctor_set(x_66, 1, x_42); +lean_ctor_set(x_66, 2, x_65); +x_67 = 1; +x_68 = lean_usize_add(x_4, x_67); +x_69 = lean_array_uset(x_17, x_4, x_66); +x_4 = x_68; +x_5 = x_69; +x_12 = x_36; +goto _start; } 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; uint8_t x_48; -lean_dec(x_5); -x_38 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_38, 0, x_15); -x_39 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__2; -x_40 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -x_41 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__4; -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 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_43, 0, x_26); -x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -x_45 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__5; -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_Elab_Term_synthesizeInstMVarCore___spec__4(x_46, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +uint8_t x_71; +lean_dec(x_26); +lean_dec(x_17); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) +lean_dec(x_2); +x_71 = !lean_is_exclusive(x_28); +if (x_71 == 0) { -return x_47; +return x_28; } 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; -} -} -} -block_133: -{ -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_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec(x_59); -x_61 = lean_st_ref_get(x_11, x_57); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_63 = lean_st_ref_take(x_9, x_62); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get_uint8(x_60, sizeof(void*)*8); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_63, 1); -lean_inc(x_67); -lean_dec(x_63); -x_68 = lean_ctor_get(x_60, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_60, 1); -lean_inc(x_69); -x_70 = lean_ctor_get(x_60, 2); -lean_inc(x_70); -x_71 = lean_ctor_get(x_60, 3); -lean_inc(x_71); -x_72 = lean_ctor_get(x_60, 4); -lean_inc(x_72); -x_73 = lean_ctor_get(x_60, 5); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_28, 0); +x_73 = lean_ctor_get(x_28, 1); lean_inc(x_73); -x_74 = lean_ctor_get(x_60, 6); -lean_inc(x_74); -x_75 = lean_ctor_get(x_60, 7); -lean_inc(x_75); -lean_dec(x_60); -x_76 = !lean_is_exclusive(x_64); -if (x_76 == 0) -{ -lean_object* x_77; uint8_t x_78; -x_77 = lean_ctor_get(x_64, 0); -lean_dec(x_77); -x_78 = !lean_is_exclusive(x_66); -if (x_78 == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_79 = lean_ctor_get(x_66, 7); -lean_dec(x_79); -x_80 = lean_ctor_get(x_66, 6); -lean_dec(x_80); -x_81 = lean_ctor_get(x_66, 5); -lean_dec(x_81); -x_82 = lean_ctor_get(x_66, 4); -lean_dec(x_82); -x_83 = lean_ctor_get(x_66, 3); -lean_dec(x_83); -x_84 = lean_ctor_get(x_66, 2); -lean_dec(x_84); -x_85 = lean_ctor_get(x_66, 1); -lean_dec(x_85); -x_86 = lean_ctor_get(x_66, 0); -lean_dec(x_86); -lean_ctor_set(x_66, 7, x_75); -lean_ctor_set(x_66, 6, x_74); -lean_ctor_set(x_66, 5, x_73); -lean_ctor_set(x_66, 4, x_72); -lean_ctor_set(x_66, 3, x_71); -lean_ctor_set(x_66, 2, x_70); -lean_ctor_set(x_66, 1, x_69); -lean_ctor_set(x_66, 0, x_68); -x_87 = lean_st_ref_set(x_9, x_64, x_67); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_28 = x_58; -x_29 = x_88; -goto block_52; -} -else -{ -uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_89 = lean_ctor_get_uint8(x_66, sizeof(void*)*8); -lean_dec(x_66); -x_90 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_90, 0, x_68); -lean_ctor_set(x_90, 1, x_69); -lean_ctor_set(x_90, 2, x_70); -lean_ctor_set(x_90, 3, x_71); -lean_ctor_set(x_90, 4, x_72); -lean_ctor_set(x_90, 5, x_73); -lean_ctor_set(x_90, 6, x_74); -lean_ctor_set(x_90, 7, x_75); -lean_ctor_set_uint8(x_90, sizeof(void*)*8, x_89); -lean_ctor_set(x_64, 0, x_90); -x_91 = lean_st_ref_set(x_9, x_64, x_67); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); -x_28 = x_58; -x_29 = x_92; -goto block_52; -} -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_93 = lean_ctor_get(x_64, 1); -x_94 = lean_ctor_get(x_64, 2); -x_95 = lean_ctor_get(x_64, 3); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_64); -x_96 = lean_ctor_get_uint8(x_66, sizeof(void*)*8); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - lean_ctor_release(x_66, 2); - lean_ctor_release(x_66, 3); - lean_ctor_release(x_66, 4); - lean_ctor_release(x_66, 5); - lean_ctor_release(x_66, 6); - lean_ctor_release(x_66, 7); - x_97 = x_66; -} else { - lean_dec_ref(x_66); - x_97 = lean_box(0); -} -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(0, 8, 1); -} else { - x_98 = x_97; -} -lean_ctor_set(x_98, 0, x_68); -lean_ctor_set(x_98, 1, x_69); -lean_ctor_set(x_98, 2, x_70); -lean_ctor_set(x_98, 3, x_71); -lean_ctor_set(x_98, 4, x_72); -lean_ctor_set(x_98, 5, x_73); -lean_ctor_set(x_98, 6, x_74); -lean_ctor_set(x_98, 7, x_75); -lean_ctor_set_uint8(x_98, sizeof(void*)*8, x_96); -x_99 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_93); -lean_ctor_set(x_99, 2, x_94); -lean_ctor_set(x_99, 3, x_95); -x_100 = lean_st_ref_set(x_9, x_99, x_67); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -lean_dec(x_100); -x_28 = x_58; -x_29 = x_101; -goto block_52; -} -} -else -{ -lean_object* x_102; uint8_t x_103; -x_102 = lean_ctor_get(x_63, 1); -lean_inc(x_102); -lean_dec(x_63); -x_103 = !lean_is_exclusive(x_60); -if (x_103 == 0) -{ -uint8_t x_104; -x_104 = !lean_is_exclusive(x_64); -if (x_104 == 0) -{ -lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; -x_105 = lean_ctor_get(x_64, 0); -lean_dec(x_105); -x_106 = 1; -lean_ctor_set_uint8(x_60, sizeof(void*)*8, x_106); -lean_ctor_set(x_64, 0, x_60); -x_107 = lean_st_ref_set(x_9, x_64, x_102); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -lean_dec(x_107); -x_28 = x_58; -x_29 = x_108; -goto block_52; -} -else -{ -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; -x_109 = lean_ctor_get(x_64, 1); -x_110 = lean_ctor_get(x_64, 2); -x_111 = lean_ctor_get(x_64, 3); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_64); -x_112 = 1; -lean_ctor_set_uint8(x_60, sizeof(void*)*8, x_112); -x_113 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_113, 0, x_60); -lean_ctor_set(x_113, 1, x_109); -lean_ctor_set(x_113, 2, x_110); -lean_ctor_set(x_113, 3, x_111); -x_114 = lean_st_ref_set(x_9, x_113, x_102); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_28 = x_58; -x_29 = x_115; -goto block_52; -} -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_116 = lean_ctor_get(x_60, 0); -x_117 = lean_ctor_get(x_60, 1); -x_118 = lean_ctor_get(x_60, 2); -x_119 = lean_ctor_get(x_60, 3); -x_120 = lean_ctor_get(x_60, 4); -x_121 = lean_ctor_get(x_60, 5); -x_122 = lean_ctor_get(x_60, 6); -x_123 = lean_ctor_get(x_60, 7); -lean_inc(x_123); -lean_inc(x_122); -lean_inc(x_121); -lean_inc(x_120); -lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_60); -x_124 = lean_ctor_get(x_64, 1); -lean_inc(x_124); -x_125 = lean_ctor_get(x_64, 2); -lean_inc(x_125); -x_126 = lean_ctor_get(x_64, 3); -lean_inc(x_126); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - lean_ctor_release(x_64, 2); - lean_ctor_release(x_64, 3); - x_127 = x_64; -} else { - lean_dec_ref(x_64); - x_127 = lean_box(0); -} -x_128 = 1; -x_129 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_129, 0, x_116); -lean_ctor_set(x_129, 1, x_117); -lean_ctor_set(x_129, 2, x_118); -lean_ctor_set(x_129, 3, x_119); -lean_ctor_set(x_129, 4, x_120); -lean_ctor_set(x_129, 5, x_121); -lean_ctor_set(x_129, 6, x_122); -lean_ctor_set(x_129, 7, x_123); -lean_ctor_set_uint8(x_129, sizeof(void*)*8, x_128); -if (lean_is_scalar(x_127)) { - x_130 = lean_alloc_ctor(0, 4, 0); -} else { - x_130 = x_127; -} -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_124); -lean_ctor_set(x_130, 2, x_125); -lean_ctor_set(x_130, 3, x_126); -x_131 = lean_st_ref_set(x_9, x_130, x_102); -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -lean_dec(x_131); -x_28 = x_58; -x_29 = x_132; -goto block_52; -} +lean_inc(x_72); +lean_dec(x_28); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } else { -uint8_t x_148; +uint8_t x_75; +lean_dec(x_17); 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); -x_148 = !lean_is_exclusive(x_25); -if (x_148 == 0) +lean_dec(x_2); +x_75 = !lean_is_exclusive(x_25); +if (x_75 == 0) { return x_25; } else { -lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_149 = lean_ctor_get(x_25, 0); -x_150 = lean_ctor_get(x_25, 1); -lean_inc(x_150); -lean_inc(x_149); +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_25, 0); +x_77 = lean_ctor_get(x_25, 1); +lean_inc(x_77); +lean_inc(x_76); lean_dec(x_25); -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_150); -return x_151; +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; } } -block_24: +} +else { -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_18; lean_object* x_19; +uint8_t x_79; +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_6); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; +lean_dec(x_2); +x_79 = !lean_is_exclusive(x_21); +if (x_79 == 0) +{ +return x_21; } else { -lean_object* x_20; size_t x_21; size_t x_22; -x_20 = lean_ctor_get(x_16, 0); -lean_inc(x_20); -lean_dec(x_16); -x_21 = 1; -x_22 = lean_usize_add(x_4, x_21); -x_4 = x_22; -x_5 = x_20; -x_12 = x_17; +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_21, 0); +x_81 = lean_ctor_get(x_21, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_21); +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_17); +lean_dec(x_15); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +x_83 = !lean_is_exclusive(x_18); +if (x_83 == 0) +{ +return x_18; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_18, 0); +x_85 = lean_ctor_get(x_18, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_18); +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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_4, x_3); +if (x_6 == 0) +{ +return x_5; +} +else +{ +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_7 = lean_array_uget(x_5, x_4); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_uset(x_5, x_4, x_8); +x_10 = 1; +x_11 = lean_usize_add(x_4, x_10); +x_12 = lean_array_uset(x_9, x_4, x_7); +x_4 = x_11; +x_5 = x_12; goto _start; } } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_4, x_3); +if (x_6 == 0) +{ +return x_5; +} +else +{ +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_7 = lean_array_uget(x_5, x_4); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_uset(x_5, x_4, x_8); +x_10 = 1; +x_11 = lean_usize_add(x_4, x_10); +x_12 = lean_array_uset(x_9, x_4, x_7); +x_4 = x_11; +x_5 = x_12; +goto _start; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__34___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, lean_object* x_12) { +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__4(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; lean_object* x_10; +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); +x_10 = lean_array_uset(x_7, x_2, x_5); +x_2 = x_9; +x_3 = x_10; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__5(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_lt(x_2, x_1); +if (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_3); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_uset(x_3, x_2, x_13); +lean_inc(x_9); +lean_inc(x_8); +x_15 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___rarg(x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) +{ +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_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_mk_syntax_ident(x_16); +x_19 = 1; +x_20 = lean_usize_add(x_2, x_19); +x_21 = lean_array_uset(x_14, x_2, x_18); +x_2 = x_20; +x_3 = x_21; +x_10 = x_17; +goto _start; +} +else +{ +uint8_t x_23; +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); +x_23 = !lean_is_exclusive(x_15); +if (x_23 == 0) +{ +return x_15; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_15, 0); +x_25 = lean_ctor_get(x_15, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_15); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__6(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; size_t x_9; size_t x_10; lean_object* x_11; +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 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_11 = lean_array_uset(x_8, x_3, x_6); +x_3 = x_10; +x_4 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; +x_17 = lean_usize_dec_lt(x_8, x_7); +if (x_17 == 0) +{ +lean_object* x_18; +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_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_9); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_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; size_t x_43; size_t x_44; lean_object* x_45; +x_19 = lean_array_uget(x_9, x_8); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_9, x_8, x_20); +lean_inc(x_14); +x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_14, x_15, x_16); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_st_ref_get(x_15, x_24); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3; +lean_inc(x_3); +x_28 = l_Lean_Name_str___override(x_3, x_27); +x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4; +x_30 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_30, 0, x_23); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; +lean_inc(x_3); +x_32 = l_Lean_Name_str___override(x_3, x_31); +lean_inc(x_6); +x_33 = lean_mk_syntax_ident(x_6); +lean_inc(x_5); +x_34 = lean_array_push(x_5, x_19); +x_35 = lean_box(2); +lean_inc(x_2); +x_36 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_2); +lean_ctor_set(x_36, 2, x_34); +lean_inc(x_4); +x_37 = lean_array_push(x_4, x_33); +x_38 = lean_array_push(x_37, x_36); +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_32); +lean_ctor_set(x_39, 2, x_38); +lean_inc(x_4); +x_40 = lean_array_push(x_4, x_30); +x_41 = lean_array_push(x_40, x_39); +x_42 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_42, 0, x_35); +lean_ctor_set(x_42, 1, x_28); +lean_ctor_set(x_42, 2, x_41); +x_43 = 1; +x_44 = lean_usize_add(x_8, x_43); +x_45 = lean_array_uset(x_21, x_8, x_42); +x_8 = x_44; +x_9 = x_45; +x_16 = x_26; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; +x_17 = lean_usize_dec_lt(x_8, x_7); +if (x_17 == 0) +{ +lean_object* x_18; +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_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_9); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_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; size_t x_43; size_t x_44; lean_object* x_45; +x_19 = lean_array_uget(x_9, x_8); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_9, x_8, x_20); +lean_inc(x_14); +x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_14, x_15, x_16); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_st_ref_get(x_15, x_24); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3; +lean_inc(x_3); +x_28 = l_Lean_Name_str___override(x_3, x_27); +x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4; +x_30 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_30, 0, x_23); +lean_ctor_set(x_30, 1, x_29); +x_31 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; +lean_inc(x_3); +x_32 = l_Lean_Name_str___override(x_3, x_31); +lean_inc(x_6); +x_33 = lean_mk_syntax_ident(x_6); +lean_inc(x_5); +x_34 = lean_array_push(x_5, x_19); +x_35 = lean_box(2); +lean_inc(x_2); +x_36 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_2); +lean_ctor_set(x_36, 2, x_34); +lean_inc(x_4); +x_37 = lean_array_push(x_4, x_33); +x_38 = lean_array_push(x_37, x_36); +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_32); +lean_ctor_set(x_39, 2, x_38); +lean_inc(x_4); +x_40 = lean_array_push(x_4, x_30); +x_41 = lean_array_push(x_40, x_39); +x_42 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_42, 0, x_35); +lean_ctor_set(x_42, 1, x_28); +lean_ctor_set(x_42, 2, x_41); +x_43 = 1; +x_44 = lean_usize_add(x_8, x_43); +x_45 = lean_array_uset(x_21, x_8, x_42); +x_8 = x_44; +x_9 = x_45; +x_16 = x_26; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__10___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, lean_object* x_12) { _start: { if (lean_obj_tag(x_4) == 0) @@ -15712,15 +8795,15 @@ return x_42; } } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__34(lean_object* x_1) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__10(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_List_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__34___rarg), 12, 0); +x_2 = lean_alloc_closure((void*)(l_List_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__10___rarg), 12, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__33___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) { +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9___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; @@ -15734,7 +8817,7 @@ x_15 = l_List_mapTRAux___at_Lean_mkConstWithLevelParams___spec__1(x_13, x_14); x_16 = lean_ctor_get(x_1, 4); lean_inc(x_16); lean_dec(x_1); -x_17 = l_List_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__34___rarg(x_2, x_3, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_17 = l_List_forIn_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__10___rarg(x_2, x_3, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_17) == 0) { uint8_t x_18; @@ -15781,377 +8864,15 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__33(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__33___rarg), 11, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9___rarg), 11, 0); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_levelOne; -x_2 = l_Lean_Expr_sort___override(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___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; -x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___lambda__1___closed__1; -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_8); -return x_10; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___lambda__1___boxed), 8, 0); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___closed__2() { -_start: -{ -uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = 0; -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___closed__1; -x_3 = lean_box(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; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35(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; 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_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___closed__2; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_5); -lean_ctor_set(x_9, 1, 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; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__36(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_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_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_15; lean_object* x_16; -x_15 = lean_array_uget(x_2, x_4); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_15); -x_16 = lean_infer_type(x_15, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ctor_get(x_1, 0); -lean_inc(x_19); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_20 = l_Lean_Meta_DiscrTree_getMatch___rarg(x_19, x_17, x_8, x_9, x_10, x_11, x_18); -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; uint8_t x_27; lean_object* x_28; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_instInhabitedName; -x_24 = l_Array_back___rarg(x_23, x_21); -lean_dec(x_21); -x_25 = lean_mk_syntax_ident(x_24); -x_26 = lean_box(0); -x_27 = 1; -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_28 = l_Lean_Elab_Term_elabTerm(x_25, x_26, x_27, x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_22); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -lean_inc(x_8); -x_31 = l_Lean_Meta_getFVarLocalDecl(x_15, x_8, x_9, x_10, x_11, x_30); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; size_t x_37; size_t x_38; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_LocalDecl_userName(x_32); -lean_dec(x_32); -x_35 = 0; -x_36 = l_Lean_Expr_forallE___override(x_34, x_29, x_5, x_35); -x_37 = 1; -x_38 = lean_usize_add(x_4, x_37); -x_4 = x_38; -x_5 = x_36; -x_12 = x_33; -goto _start; -} -else -{ -uint8_t x_40; -lean_dec(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_5); -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_31); -if (x_40 == 0) -{ -return x_31; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_31, 0); -x_42 = lean_ctor_get(x_31, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_31); -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_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); -lean_dec(x_1); -x_44 = !lean_is_exclusive(x_28); -if (x_44 == 0) -{ -return x_28; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_28, 0); -x_46 = lean_ctor_get(x_28, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_28); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -} -else -{ -uint8_t x_48; -lean_dec(x_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); -lean_dec(x_1); -x_48 = !lean_is_exclusive(x_20); -if (x_48 == 0) -{ -return x_20; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_20, 0); -x_50 = lean_ctor_get(x_20, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_20); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} -} -} -else -{ -uint8_t x_52; -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); -lean_dec(x_1); -x_52 = !lean_is_exclusive(x_16); -if (x_52 == 0) -{ -return x_16; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_16, 0); -x_54 = lean_ctor_get(x_16, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_16); -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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__37(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; -x_11 = lean_usize_dec_lt(x_2, x_1); -if (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_3); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_array_uset(x_3, x_2, x_13); -lean_inc(x_9); -lean_inc(x_8); -x_15 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___rarg(x_8, x_9, x_10); -if (lean_obj_tag(x_15) == 0) -{ -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_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_mk_syntax_ident(x_16); -x_19 = 1; -x_20 = lean_usize_add(x_2, x_19); -x_21 = lean_array_uset(x_14, x_2, x_18); -x_2 = x_20; -x_3 = x_21; -x_10 = x_17; -goto _start; -} -else -{ -uint8_t x_23; -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_8); -x_23 = !lean_is_exclusive(x_15); -if (x_23 == 0) -{ -return x_15; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_15, 0); -x_25 = lean_ctor_get(x_15, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_15); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__38(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -16175,240 +8896,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__39(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_8, x_7); -if (x_17 == 0) -{ -lean_object* x_18; -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_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_9); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_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; size_t x_43; size_t x_44; lean_object* x_45; -x_19 = lean_array_uget(x_9, x_8); -x_20 = lean_unsigned_to_nat(0u); -x_21 = lean_array_uset(x_9, x_8, x_20); -lean_inc(x_14); -x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_14, x_15, x_16); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_st_ref_get(x_15, x_24); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__1; -lean_inc(x_3); -x_28 = l_Lean_Name_str___override(x_3, x_27); -x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__2; -x_30 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_30, 0, x_23); -lean_ctor_set(x_30, 1, x_29); -x_31 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; -lean_inc(x_3); -x_32 = l_Lean_Name_str___override(x_3, x_31); -lean_inc(x_6); -x_33 = lean_mk_syntax_ident(x_6); -lean_inc(x_5); -x_34 = lean_array_push(x_5, x_19); -x_35 = lean_box(2); -lean_inc(x_2); -x_36 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_2); -lean_ctor_set(x_36, 2, x_34); -lean_inc(x_4); -x_37 = lean_array_push(x_4, x_33); -x_38 = lean_array_push(x_37, x_36); -x_39 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_39, 1, x_32); -lean_ctor_set(x_39, 2, x_38); -lean_inc(x_4); -x_40 = lean_array_push(x_4, x_30); -x_41 = lean_array_push(x_40, x_39); -x_42 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_42, 0, x_35); -lean_ctor_set(x_42, 1, x_28); -lean_ctor_set(x_42, 2, x_41); -x_43 = 1; -x_44 = lean_usize_add(x_8, x_43); -x_45 = lean_array_uset(x_21, x_8, x_42); -x_8 = x_44; -x_9 = x_45; -x_16 = x_26; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__40(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; size_t x_9; size_t x_10; lean_object* x_11; -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 = 1; -x_10 = lean_usize_add(x_3, x_9); -x_11 = lean_array_uset(x_8, x_3, x_6); -x_3 = x_10; -x_4 = x_11; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__41(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_8, x_7); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_9); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_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; size_t x_43; size_t x_44; lean_object* x_45; -x_19 = lean_array_uget(x_9, x_8); -x_20 = lean_unsigned_to_nat(0u); -x_21 = lean_array_uset(x_9, x_8, x_20); -lean_inc(x_14); -x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_14, x_15, x_16); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_st_ref_get(x_15, x_24); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__1; -lean_inc(x_2); -x_28 = l_Lean_Name_str___override(x_2, x_27); -x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__2; -x_30 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_30, 0, x_23); -lean_ctor_set(x_30, 1, x_29); -x_31 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; -lean_inc(x_2); -x_32 = l_Lean_Name_str___override(x_2, x_31); -lean_inc(x_6); -x_33 = lean_mk_syntax_ident(x_6); -lean_inc(x_4); -x_34 = lean_array_push(x_4, x_19); -x_35 = lean_box(2); -lean_inc(x_1); -x_36 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_1); -lean_ctor_set(x_36, 2, x_34); -lean_inc(x_3); -x_37 = lean_array_push(x_3, x_33); -x_38 = lean_array_push(x_37, x_36); -x_39 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_39, 1, x_32); -lean_ctor_set(x_39, 2, x_38); -lean_inc(x_3); -x_40 = lean_array_push(x_3, x_30); -x_41 = lean_array_push(x_40, x_39); -x_42 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_42, 0, x_35); -lean_ctor_set(x_42, 1, x_28); -lean_ctor_set(x_42, 2, x_41); -x_43 = 1; -x_44 = lean_usize_add(x_8, x_43); -x_45 = lean_array_uset(x_21, x_8, x_42); -x_8 = x_44; -x_9 = x_45; -x_16 = x_26; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__42(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; -x_6 = lean_usize_dec_lt(x_4, x_3); -if (x_6 == 0) -{ -return x_5; -} -else -{ -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_7 = lean_array_uget(x_5, x_4); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_array_uset(x_5, x_4, x_8); -x_10 = 1; -x_11 = lean_usize_add(x_4, x_10); -x_12 = lean_array_uset(x_9, x_4, x_7); -x_4 = x_11; -x_5 = x_12; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__43(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; size_t x_10; size_t x_11; lean_object* x_12; -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_mk_syntax_ident(x_6); -x_10 = 1; -x_11 = lean_usize_add(x_3, x_10); -x_12 = lean_array_uset(x_8, x_3, x_9); -x_3 = x_11; -x_4 = x_12; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__44(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__12(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -16432,7 +8920,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__45(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -16456,354 +8944,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__47___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, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_array_push(x_1, x_5); -x_14 = l_Lean_Meta_withLocalDecls_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__47___rarg(x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__47___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; uint8_t x_14; -x_12 = lean_array_get_size(x_4); -x_13 = lean_array_get_size(x_1); -x_14 = lean_nat_dec_lt(x_12, x_13); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_12); -lean_dec(x_3); -lean_dec(x_1); -x_15 = lean_apply_8(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_array_fget(x_1, x_12); -lean_dec(x_12); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ctor_get(x_17, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_21 = lean_apply_8(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecls_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__47___rarg___lambda__1), 12, 4); -lean_closure_set(x_24, 0, x_4); -lean_closure_set(x_24, 1, x_1); -lean_closure_set(x_24, 2, x_2); -lean_closure_set(x_24, 3, x_3); -x_25 = lean_unbox(x_19); -lean_dec(x_19); -x_26 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__3___rarg(x_18, x_25, x_22, x_24, x_5, x_6, x_7, x_8, x_9, x_10, x_23); -return x_26; -} -else -{ -uint8_t x_27; -lean_dec(x_19); -lean_dec(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); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_27 = !lean_is_exclusive(x_21); -if (x_27 == 0) -{ -return x_21; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_21, 0); -x_29 = lean_ctor_get(x_21, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_21); -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_Lean_Meta_withLocalDecls_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__47(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecls_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__47___rarg), 11, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__46___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; -x_11 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -x_12 = l_Lean_Meta_withLocalDecls_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__47___rarg(x_2, x_3, x_1, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__46(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecls___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__46___rarg), 10, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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; -x_11 = lean_array_get_size(x_1); -x_12 = lean_usize_of_nat(x_11); -lean_dec(x_11); -x_13 = 0; -lean_inc(x_6); -lean_inc(x_1); -x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1(x_12, x_13, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32(x_15, x_1, x_12, x_13, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_16); -lean_dec(x_1); -lean_dec(x_15); -if (lean_obj_tag(x_17) == 0) -{ -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -return x_17; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_17); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -else -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_17); -if (x_22 == 0) -{ -return x_17; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_17, 0); -x_24 = lean_ctor_get(x_17, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_17); -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_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_26 = !lean_is_exclusive(x_14); -if (x_26 == 0) -{ -return x_14; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_14, 0); -x_28 = lean_ctor_get(x_14, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_14); -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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(" → ", 5); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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: -{ -uint8_t x_13; lean_object* x_14; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_37 = lean_st_ref_get(x_11, x_12); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_38, 3); -lean_inc(x_39); -lean_dec(x_38); -x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_object* x_41; uint8_t x_42; -x_41 = lean_ctor_get(x_37, 1); -lean_inc(x_41); -lean_dec(x_37); -x_42 = 0; -x_13 = x_42; -x_14 = x_41; -goto block_36; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_43 = lean_ctor_get(x_37, 1); -lean_inc(x_43); -lean_dec(x_37); -lean_inc(x_1); -x_44 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__2(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_43); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_unbox(x_45); -lean_dec(x_45); -x_13 = x_47; -x_14 = x_46; -goto block_36; -} -block_36: -{ -if (x_13 == 0) -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_15 = lean_box(0); -x_16 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1(x_4, x_2, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_14); -lean_dec(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; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_17 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_17, 0, x_3); -x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__6; -x_19 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -x_20 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__4; -x_21 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -lean_inc(x_4); -x_22 = lean_array_to_list(lean_box(0), x_4); -x_23 = lean_box(0); -x_24 = l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_22, x_23); -x_25 = l_Lean_MessageData_ofList(x_24); -lean_dec(x_24); -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_25); -x_27 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__2; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_29, 0, x_5); -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_18); -x_32 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__1(x_1, x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_14); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1(x_4, x_2, x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_34); -lean_dec(x_7); -lean_dec(x_33); -return x_35; -} -} -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__1() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -16811,17 +8952,7 @@ x_1 = lean_mk_string_from_bytes("ctor", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__3() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__2() { _start: { lean_object* x_1; @@ -16829,7 +8960,7 @@ x_1 = lean_mk_string_from_bytes("|", 1); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__4() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__3() { _start: { lean_object* x_1; @@ -16837,573 +8968,482 @@ x_1 = lean_mk_string_from_bytes("matchAlt", 8); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__5() { +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__4; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("=>", 2); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3(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: -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; lean_object* x_21; -lean_inc(x_2); -lean_inc(x_1); -x_17 = l_Lean_Expr_const___override(x_1, x_2); -lean_inc(x_8); -x_18 = l_Array_reverse___rarg(x_8); -x_19 = lean_array_get_size(x_18); -x_20 = lean_usize_of_nat(x_19); -lean_dec(x_19); +lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_20 = lean_array_get_size(x_11); +x_21 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_22 = 0; +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_6); -x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__36(x_6, x_18, x_20, x_3, x_17, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_18); -if (lean_obj_tag(x_21) == 0) +lean_inc(x_2); +x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1(x_1, x_2, x_21, x_22, x_11, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_box(0); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -x_25 = l_Lean_PrettyPrinter_delab(x_22, x_24, x_12, x_13, x_14, x_15, x_23); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 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; size_t x_73; lean_object* x_74; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 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; size_t x_55; lean_object* x_56; lean_object* x_57; size_t x_58; lean_object* x_59; lean_object* x_60; size_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; 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; +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_17); +x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_17, x_18, x_25); +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec(x_25); -lean_inc(x_14); -x_28 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_14, x_15, x_27); -x_29 = lean_ctor_get(x_28, 0); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get(x_17, 10); 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_15, x_30); -x_32 = lean_ctor_get(x_31, 1); +x_30 = lean_st_ref_get(x_18, x_28); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_31, 0); +lean_inc(x_33); lean_dec(x_31); -x_33 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__3; -lean_inc(x_29); -x_34 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_34, 0, x_29); -lean_ctor_set(x_34, 1, x_33); -x_35 = lean_box(2); -x_36 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_37 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 2, x_4); -x_38 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__42; -lean_inc(x_37); -x_39 = lean_array_push(x_38, x_37); -lean_inc(x_37); -x_40 = lean_array_push(x_39, x_37); -lean_inc(x_37); -x_41 = lean_array_push(x_40, x_37); -lean_inc(x_37); -x_42 = lean_array_push(x_41, x_37); -lean_inc(x_37); -x_43 = lean_array_push(x_42, x_37); -lean_inc(x_37); -x_44 = lean_array_push(x_43, x_37); -x_45 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; -x_46 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_46, 0, x_35); -lean_ctor_set(x_46, 1, x_45); -lean_ctor_set(x_46, 2, x_44); -x_47 = l_Lean_Name_getString_x21(x_7); -x_48 = lean_box(0); -lean_inc(x_47); -x_49 = l_Lean_Name_str___override(x_48, x_47); -x_50 = lean_mk_syntax_ident(x_49); -x_51 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26; -x_52 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_52, 0, x_29); -lean_ctor_set(x_52, 1, x_51); -x_53 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_54 = lean_array_push(x_53, x_52); -x_55 = lean_array_push(x_54, x_26); -x_56 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__95; -x_57 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_57, 0, x_35); -lean_ctor_set(x_57, 1, x_56); -lean_ctor_set(x_57, 2, x_55); -x_58 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -x_59 = lean_array_push(x_58, x_57); -x_60 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_60, 0, x_35); -lean_ctor_set(x_60, 1, x_36); -lean_ctor_set(x_60, 2, x_59); -x_61 = lean_array_push(x_53, x_37); -x_62 = lean_array_push(x_61, x_60); -x_63 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__56; -x_64 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_64, 0, x_35); -lean_ctor_set(x_64, 1, x_63); -lean_ctor_set(x_64, 2, x_62); -x_65 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_66 = lean_array_push(x_65, x_34); -x_67 = lean_array_push(x_66, x_46); -x_68 = lean_array_push(x_67, x_50); -x_69 = lean_array_push(x_68, x_64); -x_70 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__2; -x_71 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_71, 0, x_35); -lean_ctor_set(x_71, 1, x_70); -lean_ctor_set(x_71, 2, x_69); -x_72 = lean_array_get_size(x_8); -x_73 = lean_usize_of_nat(x_72); -lean_dec(x_72); -lean_inc(x_15); -lean_inc(x_14); -x_74 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__37(x_73, x_3, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_32); -if (lean_obj_tag(x_74) == 0) +x_34 = lean_environment_main_module(x_33); +x_35 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__5; +x_36 = l_Lean_Name_str___override(x_2, x_35); +x_37 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__7; +lean_inc(x_36); +x_38 = l_Lean_Name_str___override(x_36, x_37); +x_39 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__1; +lean_inc(x_38); +x_40 = l_Lean_Name_str___override(x_38, x_39); +x_41 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__2; +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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; +lean_inc(x_38); +x_44 = l_Lean_Name_str___override(x_38, x_43); +x_45 = lean_box(2); +x_46 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__145; +x_47 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_44); +lean_ctor_set(x_47, 2, x_46); +x_48 = l_Lean_Name_getString_x21(x_10); +x_49 = lean_box(0); +lean_inc(x_48); +x_50 = l_Lean_Name_str___override(x_49, x_48); +x_51 = lean_mk_syntax_ident(x_50); +x_52 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__32; +x_53 = l_Lean_Name_str___override(x_38, x_52); +x_54 = lean_array_get_size(x_24); +x_55 = lean_usize_of_nat(x_54); +lean_dec(x_54); +x_56 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__2(x_1, x_36, x_55, x_22, x_24); +x_57 = lean_array_get_size(x_56); +x_58 = lean_usize_of_nat(x_57); +lean_dec(x_57); +x_59 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__3(x_1, x_36, x_58, x_22, x_56); +x_60 = lean_array_get_size(x_59); +x_61 = lean_usize_of_nat(x_60); +lean_dec(x_60); +x_62 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__4(x_61, x_22, x_59); +x_63 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; +x_64 = l_Array_append___rarg(x_63, x_62); +x_65 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_45); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_66, 2, x_64); +x_67 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__34; +x_68 = l_Lean_Name_str___override(x_36, x_67); +x_69 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__36; +lean_inc(x_68); +x_70 = l_Lean_Name_str___override(x_68, x_69); +x_71 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__38; +lean_inc(x_27); +x_72 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_72, 0, x_27); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_Lean_addMacroScope(x_34, x_3, x_29); +x_74 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_74, 0, x_27); +lean_ctor_set(x_74, 1, x_4); +lean_ctor_set(x_74, 2, x_73); +lean_ctor_set(x_74, 3, x_1); +x_75 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_76 = lean_array_push(x_75, x_72); +x_77 = lean_array_push(x_76, x_74); +x_78 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_78, 0, x_45); +lean_ctor_set(x_78, 1, x_70); +lean_ctor_set(x_78, 2, x_77); +x_79 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; +x_80 = lean_array_push(x_79, x_78); +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_45); +lean_ctor_set(x_81, 1, x_65); +lean_ctor_set(x_81, 2, x_80); +x_82 = lean_array_push(x_75, x_66); +x_83 = lean_array_push(x_82, x_81); +x_84 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_84, 0, x_45); +lean_ctor_set(x_84, 1, x_53); +lean_ctor_set(x_84, 2, x_83); +x_85 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115; +x_86 = lean_array_push(x_85, x_42); +x_87 = lean_array_push(x_86, x_47); +x_88 = lean_array_push(x_87, x_51); +x_89 = lean_array_push(x_88, x_84); +x_90 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_90, 0, x_45); +lean_ctor_set(x_90, 1, x_40); +lean_ctor_set(x_90, 2, x_89); +lean_inc(x_18); +lean_inc(x_17); +x_91 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__5(x_21, x_22, x_11, x_13, x_14, x_15, x_16, x_17, x_18, x_32); +if (lean_obj_tag(x_91) == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; size_t x_78; lean_object* x_79; lean_object* x_80; size_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; 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; uint8_t x_149; -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); -lean_inc(x_75); -x_79 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__38(x_2, x_78, x_3, x_75); -x_80 = lean_array_get_size(x_79); -x_81 = lean_usize_of_nat(x_80); -lean_dec(x_80); -x_82 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_83 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__225; -lean_inc(x_14); -lean_inc(x_79); -x_84 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__39(x_2, x_36, x_82, x_53, x_58, x_83, x_81, x_3, x_79, x_10, x_11, x_12, x_13, x_14, x_15, x_76); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__9; -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_2); -lean_inc(x_47); -x_89 = l_Lean_Name_str___override(x_1, x_47); -x_90 = lean_mk_syntax_ident(x_89); -lean_inc(x_90); -x_91 = l_Lean_Syntax_mkApp(x_90, x_85); -lean_inc(x_14); -x_92 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_14, x_15, x_86); -x_93 = lean_ctor_get(x_92, 0); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; size_t x_97; lean_object* x_98; lean_object* x_99; size_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; 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; uint8_t x_164; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_st_ref_get(x_15, x_94); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -lean_dec(x_95); -x_97 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__67; -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 = lean_array_push(x_58, x_91); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_35); -lean_ctor_set(x_100, 1, x_36); -lean_ctor_set(x_100, 2, x_99); -x_101 = lean_array_push(x_53, x_98); -x_102 = lean_array_push(x_101, x_100); -x_103 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__66; -x_104 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_104, 0, x_35); -lean_ctor_set(x_104, 1, x_103); -lean_ctor_set(x_104, 2, x_102); -lean_inc(x_14); -x_105 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_14, x_15, x_96); -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = lean_st_ref_get(x_15, x_107); -x_109 = lean_ctor_get(x_108, 1); +lean_dec(x_91); +x_94 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__83; +lean_inc(x_5); +x_95 = l_Lean_Name_str___override(x_5, x_94); +x_96 = lean_array_get_size(x_92); +x_97 = lean_usize_of_nat(x_96); +lean_dec(x_96); +x_98 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__6(x_6, x_97, x_22, x_92); +x_99 = lean_array_get_size(x_98); +x_100 = lean_usize_of_nat(x_99); +lean_dec(x_99); +lean_inc(x_17); +lean_inc(x_98); +lean_inc(x_68); +x_101 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__7(x_6, x_65, x_68, x_75, x_79, x_95, x_100, x_22, x_98, x_13, x_14, x_15, x_16, x_17, x_18, x_93); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +lean_inc(x_48); +x_104 = l_Lean_Name_str___override(x_7, x_48); +x_105 = lean_mk_syntax_ident(x_104); +lean_inc(x_105); +x_106 = l_Lean_Syntax_mkApp(x_105, x_102); +lean_inc(x_17); +x_107 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_17, x_18, x_103); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); lean_inc(x_109); -lean_dec(x_108); -lean_inc(x_106); -x_110 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_110, 0, x_106); -lean_ctor_set(x_110, 1, x_33); -x_111 = lean_ctor_get(x_5, 0); +lean_dec(x_107); +x_110 = lean_st_ref_get(x_18, x_109); +x_111 = lean_ctor_get(x_110, 1); lean_inc(x_111); -lean_dec(x_5); -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -lean_dec(x_111); -x_113 = l_Lean_Name_str___override(x_112, x_47); -x_114 = lean_mk_syntax_ident(x_113); -x_115 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__40(x_88, x_78, x_3, x_75); -lean_inc(x_115); -lean_inc(x_114); -x_116 = l_Lean_Syntax_mkApp(x_114, x_115); -x_117 = lean_array_push(x_58, x_116); -x_118 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_118, 0, x_35); -lean_ctor_set(x_118, 1, x_36); -lean_ctor_set(x_118, 2, x_117); -x_119 = lean_array_push(x_58, x_118); +lean_dec(x_110); +x_112 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__82; +lean_inc(x_68); +x_113 = l_Lean_Name_str___override(x_68, x_112); +x_114 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__84; +x_115 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_115, 0, x_108); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_array_push(x_79, x_106); +x_117 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_117, 0, x_45); +lean_ctor_set(x_117, 1, x_65); +lean_ctor_set(x_117, 2, x_116); +x_118 = lean_array_push(x_75, x_115); +x_119 = lean_array_push(x_118, x_117); +lean_inc(x_113); x_120 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_120, 0, x_35); -lean_ctor_set(x_120, 1, x_36); +lean_ctor_set(x_120, 0, x_45); +lean_ctor_set(x_120, 1, x_113); lean_ctor_set(x_120, 2, x_119); -x_121 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__6; -x_122 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_122, 0, x_106); -lean_ctor_set(x_122, 1, x_121); -x_123 = lean_array_push(x_65, x_110); -x_124 = lean_array_push(x_123, x_120); -x_125 = lean_array_push(x_124, x_122); -x_126 = lean_array_push(x_125, x_104); -x_127 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__5; -x_128 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_128, 0, x_35); -lean_ctor_set(x_128, 1, x_127); -lean_ctor_set(x_128, 2, x_126); -x_129 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__232; -lean_inc(x_14); -x_130 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__41(x_36, x_82, x_53, x_58, x_88, x_129, x_81, x_3, x_79, x_10, x_11, x_12, x_13, x_14, x_15, x_109); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_88); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = l_Lean_Syntax_mkApp(x_114, x_131); -lean_inc(x_14); -x_134 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_14, x_15, x_132); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = lean_st_ref_get(x_15, x_136); -x_138 = lean_ctor_get(x_137, 1); -lean_inc(x_138); -lean_dec(x_137); -x_139 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_139, 0, x_135); -lean_ctor_set(x_139, 1, x_97); -x_140 = lean_array_push(x_58, x_133); -x_141 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_141, 0, x_35); -lean_ctor_set(x_141, 1, x_36); -lean_ctor_set(x_141, 2, x_140); -x_142 = lean_array_push(x_53, x_139); -x_143 = lean_array_push(x_142, x_141); -x_144 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_144, 0, x_35); -lean_ctor_set(x_144, 1, x_103); -lean_ctor_set(x_144, 2, x_143); -x_145 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_14, x_15, x_138); +lean_inc(x_17); +x_121 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_17, x_18, x_111); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = lean_st_ref_get(x_18, x_123); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +lean_dec(x_124); +x_126 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__3; +lean_inc(x_68); +x_127 = l_Lean_Name_str___override(x_68, x_126); +lean_inc(x_122); +x_128 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_128, 0, x_122); +lean_ctor_set(x_128, 1, x_41); +x_129 = l_Lean_Name_str___override(x_8, x_48); +x_130 = lean_mk_syntax_ident(x_129); +lean_inc(x_98); +lean_inc(x_130); +x_131 = l_Lean_Syntax_mkApp(x_130, x_98); +x_132 = lean_array_push(x_79, x_131); +x_133 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_133, 0, x_45); +lean_ctor_set(x_133, 1, x_65); +lean_ctor_set(x_133, 2, x_132); +x_134 = lean_array_push(x_79, x_133); +x_135 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_135, 0, x_45); +lean_ctor_set(x_135, 1, x_65); +lean_ctor_set(x_135, 2, x_134); +x_136 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__81; +x_137 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_137, 0, x_122); +lean_ctor_set(x_137, 1, x_136); +x_138 = lean_array_push(x_85, x_128); +x_139 = lean_array_push(x_138, x_135); +x_140 = lean_array_push(x_139, x_137); +x_141 = lean_array_push(x_140, x_120); +lean_inc(x_127); +x_142 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_142, 0, x_45); +lean_ctor_set(x_142, 1, x_127); +lean_ctor_set(x_142, 2, x_141); +x_143 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__100; +x_144 = l_Lean_Name_str___override(x_5, x_143); +lean_inc(x_17); +lean_inc(x_98); +x_145 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8(x_6, x_65, x_68, x_75, x_79, x_144, x_100, x_22, x_98, x_13, x_14, x_15, x_16, x_17, x_18, x_125); +lean_dec(x_16); +lean_dec(x_15); x_146 = lean_ctor_get(x_145, 0); lean_inc(x_146); x_147 = lean_ctor_get(x_145, 1); lean_inc(x_147); lean_dec(x_145); -x_148 = lean_st_ref_get(x_15, x_147); -lean_dec(x_15); -x_149 = !lean_is_exclusive(x_148); -if (x_149 == 0) -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; -x_150 = lean_ctor_get(x_148, 0); -lean_dec(x_150); -lean_inc(x_146); -x_151 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_151, 0, x_146); -lean_ctor_set(x_151, 1, x_33); -x_152 = l_Lean_Syntax_mkApp(x_90, x_115); -x_153 = lean_array_push(x_58, x_152); -x_154 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_154, 0, x_35); -lean_ctor_set(x_154, 1, x_36); -lean_ctor_set(x_154, 2, x_153); -x_155 = lean_array_push(x_58, x_154); +x_148 = l_Lean_Syntax_mkApp(x_130, x_146); +lean_inc(x_17); +x_149 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_17, x_18, x_147); +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_st_ref_get(x_18, x_151); +x_153 = lean_ctor_get(x_152, 1); +lean_inc(x_153); +lean_dec(x_152); +x_154 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_154, 0, x_150); +lean_ctor_set(x_154, 1, x_114); +x_155 = lean_array_push(x_79, x_148); x_156 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_156, 0, x_35); -lean_ctor_set(x_156, 1, x_36); +lean_ctor_set(x_156, 0, x_45); +lean_ctor_set(x_156, 1, x_65); lean_ctor_set(x_156, 2, x_155); -x_157 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_157, 0, x_146); -lean_ctor_set(x_157, 1, x_121); -x_158 = lean_array_push(x_65, x_151); -x_159 = lean_array_push(x_158, x_156); -x_160 = lean_array_push(x_159, x_157); -x_161 = lean_array_push(x_160, x_144); -x_162 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_162, 0, x_35); -lean_ctor_set(x_162, 1, x_127); -lean_ctor_set(x_162, 2, x_161); -x_163 = !lean_is_exclusive(x_6); -if (x_163 == 0) +x_157 = lean_array_push(x_75, x_154); +x_158 = lean_array_push(x_157, x_156); +x_159 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_159, 0, x_45); +lean_ctor_set(x_159, 1, x_113); +lean_ctor_set(x_159, 2, x_158); +x_160 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_17, x_18, x_153); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_163 = lean_st_ref_get(x_18, x_162); +lean_dec(x_18); +x_164 = !lean_is_exclusive(x_163); +if (x_164 == 0) { -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_164 = lean_ctor_get(x_6, 3); -x_165 = lean_ctor_get(x_6, 4); -x_166 = lean_ctor_get(x_6, 5); -x_167 = lean_array_push(x_164, x_71); -x_168 = lean_array_push(x_165, x_128); -x_169 = lean_array_push(x_166, x_162); -lean_ctor_set(x_6, 5, x_169); -lean_ctor_set(x_6, 4, x_168); -lean_ctor_set(x_6, 3, x_167); -lean_ctor_set(x_148, 0, x_6); -return x_148; -} -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; lean_object* x_179; -x_170 = lean_ctor_get(x_6, 0); -x_171 = lean_ctor_get(x_6, 1); -x_172 = lean_ctor_get(x_6, 2); -x_173 = lean_ctor_get(x_6, 3); -x_174 = lean_ctor_get(x_6, 4); -x_175 = lean_ctor_get(x_6, 5); -lean_inc(x_175); -lean_inc(x_174); -lean_inc(x_173); -lean_inc(x_172); -lean_inc(x_171); -lean_inc(x_170); -lean_dec(x_6); -x_176 = lean_array_push(x_173, x_71); -x_177 = lean_array_push(x_174, x_128); -x_178 = lean_array_push(x_175, x_162); -x_179 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_179, 0, x_170); -lean_ctor_set(x_179, 1, x_171); -lean_ctor_set(x_179, 2, x_172); -lean_ctor_set(x_179, 3, x_176); -lean_ctor_set(x_179, 4, x_177); -lean_ctor_set(x_179, 5, x_178); -lean_ctor_set(x_148, 0, x_179); -return x_148; -} -} -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; 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_180 = lean_ctor_get(x_148, 1); +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_165 = lean_ctor_get(x_163, 0); +lean_dec(x_165); +lean_inc(x_161); +x_166 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_166, 0, x_161); +lean_ctor_set(x_166, 1, x_41); +x_167 = l_Lean_Syntax_mkApp(x_105, x_98); +x_168 = lean_array_push(x_79, x_167); +x_169 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_169, 0, x_45); +lean_ctor_set(x_169, 1, x_65); +lean_ctor_set(x_169, 2, x_168); +x_170 = lean_array_push(x_79, x_169); +x_171 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_171, 0, x_45); +lean_ctor_set(x_171, 1, x_65); +lean_ctor_set(x_171, 2, x_170); +x_172 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_172, 0, x_161); +lean_ctor_set(x_172, 1, x_136); +x_173 = lean_array_push(x_85, x_166); +x_174 = lean_array_push(x_173, x_171); +x_175 = lean_array_push(x_174, x_172); +x_176 = lean_array_push(x_175, x_159); +x_177 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_177, 0, x_45); +lean_ctor_set(x_177, 1, x_127); +lean_ctor_set(x_177, 2, x_176); +x_178 = lean_ctor_get(x_9, 0); +lean_inc(x_178); +x_179 = lean_array_push(x_178, x_90); +x_180 = lean_ctor_get(x_9, 1); lean_inc(x_180); -lean_dec(x_148); -lean_inc(x_146); -x_181 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_181, 0, x_146); -lean_ctor_set(x_181, 1, x_33); -x_182 = l_Lean_Syntax_mkApp(x_90, x_115); -x_183 = lean_array_push(x_58, x_182); -x_184 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_184, 0, x_35); -lean_ctor_set(x_184, 1, x_36); +x_181 = lean_array_push(x_180, x_142); +x_182 = lean_ctor_get(x_9, 2); +lean_inc(x_182); +lean_dec(x_9); +x_183 = lean_array_push(x_182, x_177); +x_184 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_184, 0, x_179); +lean_ctor_set(x_184, 1, x_181); lean_ctor_set(x_184, 2, x_183); -x_185 = lean_array_push(x_58, x_184); -x_186 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_186, 0, x_35); -lean_ctor_set(x_186, 1, x_36); -lean_ctor_set(x_186, 2, x_185); -x_187 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_187, 0, x_146); -lean_ctor_set(x_187, 1, x_121); -x_188 = lean_array_push(x_65, x_181); -x_189 = lean_array_push(x_188, x_186); -x_190 = lean_array_push(x_189, x_187); -x_191 = lean_array_push(x_190, x_144); -x_192 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_192, 0, x_35); -lean_ctor_set(x_192, 1, x_127); -lean_ctor_set(x_192, 2, x_191); -x_193 = lean_ctor_get(x_6, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_6, 1); -lean_inc(x_194); -x_195 = lean_ctor_get(x_6, 2); -lean_inc(x_195); -x_196 = lean_ctor_get(x_6, 3); -lean_inc(x_196); -x_197 = lean_ctor_get(x_6, 4); -lean_inc(x_197); -x_198 = lean_ctor_get(x_6, 5); +lean_ctor_set(x_163, 0, x_184); +return x_163; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_185 = lean_ctor_get(x_163, 1); +lean_inc(x_185); +lean_dec(x_163); +lean_inc(x_161); +x_186 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_186, 0, x_161); +lean_ctor_set(x_186, 1, x_41); +x_187 = l_Lean_Syntax_mkApp(x_105, x_98); +x_188 = lean_array_push(x_79, x_187); +x_189 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_189, 0, x_45); +lean_ctor_set(x_189, 1, x_65); +lean_ctor_set(x_189, 2, x_188); +x_190 = lean_array_push(x_79, x_189); +x_191 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_191, 0, x_45); +lean_ctor_set(x_191, 1, x_65); +lean_ctor_set(x_191, 2, x_190); +x_192 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_192, 0, x_161); +lean_ctor_set(x_192, 1, x_136); +x_193 = lean_array_push(x_85, x_186); +x_194 = lean_array_push(x_193, x_191); +x_195 = lean_array_push(x_194, x_192); +x_196 = lean_array_push(x_195, x_159); +x_197 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_197, 0, x_45); +lean_ctor_set(x_197, 1, x_127); +lean_ctor_set(x_197, 2, x_196); +x_198 = lean_ctor_get(x_9, 0); lean_inc(x_198); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - lean_ctor_release(x_6, 2); - lean_ctor_release(x_6, 3); - lean_ctor_release(x_6, 4); - lean_ctor_release(x_6, 5); - x_199 = x_6; -} else { - lean_dec_ref(x_6); - x_199 = lean_box(0); -} -x_200 = lean_array_push(x_196, x_71); -x_201 = lean_array_push(x_197, x_128); -x_202 = lean_array_push(x_198, x_192); -if (lean_is_scalar(x_199)) { - x_203 = lean_alloc_ctor(0, 6, 0); -} else { - x_203 = x_199; -} -lean_ctor_set(x_203, 0, x_193); -lean_ctor_set(x_203, 1, x_194); -lean_ctor_set(x_203, 2, x_195); -lean_ctor_set(x_203, 3, x_200); -lean_ctor_set(x_203, 4, x_201); -lean_ctor_set(x_203, 5, x_202); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_180); -return x_204; +x_199 = lean_array_push(x_198, x_90); +x_200 = lean_ctor_get(x_9, 1); +lean_inc(x_200); +x_201 = lean_array_push(x_200, x_142); +x_202 = lean_ctor_get(x_9, 2); +lean_inc(x_202); +lean_dec(x_9); +x_203 = lean_array_push(x_202, x_197); +x_204 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_204, 0, x_199); +lean_ctor_set(x_204, 1, x_201); +lean_ctor_set(x_204, 2, x_203); +x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_205, 0, x_204); +lean_ctor_set(x_205, 1, x_185); +return x_205; } } else { -uint8_t x_205; -lean_dec(x_71); -lean_dec(x_47); +uint8_t x_206; +lean_dec(x_90); +lean_dec(x_68); +lean_dec(x_48); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_6); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_205 = !lean_is_exclusive(x_74); -if (x_205 == 0) +x_206 = !lean_is_exclusive(x_91); +if (x_206 == 0) { -return x_74; +return x_91; } else { -lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_206 = lean_ctor_get(x_74, 0); -x_207 = lean_ctor_get(x_74, 1); +lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_207 = lean_ctor_get(x_91, 0); +x_208 = lean_ctor_get(x_91, 1); +lean_inc(x_208); lean_inc(x_207); -lean_inc(x_206); -lean_dec(x_74); -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; +lean_dec(x_91); +x_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_207); +lean_ctor_set(x_209, 1, x_208); +return x_209; } } } else { -uint8_t x_209; +uint8_t x_210; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_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); -x_209 = !lean_is_exclusive(x_25); -if (x_209 == 0) +x_210 = !lean_is_exclusive(x_23); +if (x_210 == 0) { -return x_25; +return x_23; } else { -lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_210 = lean_ctor_get(x_25, 0); -x_211 = lean_ctor_get(x_25, 1); +lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_211 = lean_ctor_get(x_23, 0); +x_212 = lean_ctor_get(x_23, 1); +lean_inc(x_212); lean_inc(x_211); -lean_inc(x_210); -lean_dec(x_25); -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_210); -lean_ctor_set(x_212, 1, x_211); -return x_212; +lean_dec(x_23); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_211); +lean_ctor_set(x_213, 1, x_212); +return x_213; } } } -else +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__1() { +_start: { -uint8_t x_213; -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_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_213 = !lean_is_exclusive(x_21); -if (x_213 == 0) -{ -return x_21; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_214 = lean_ctor_get(x_21, 0); -x_215 = lean_ctor_get(x_21, 1); -lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_21); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_214); -lean_ctor_set(x_216, 1, x_215); -return x_216; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; +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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__1() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__2() { _start: { lean_object* x_1; @@ -17411,76 +9451,70 @@ x_1 = lean_mk_string_from_bytes("inductive", 9); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__8; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__3() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("fun", 3); +x_1 = lean_mk_string_from_bytes("partial", 7); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__5() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__4() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("basicFun", 8); +x_1 = lean_mk_string_from_bytes("structInstFieldAbbrev", 21); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__7() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("x", 1); +x_1 = lean_mk_string_from_bytes("whereDecls", 10); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__8() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("letRecDecl", 10); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("implicitBinder", 14); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("m", 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__7; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__8; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__9() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__7; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__8; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__8; +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__9; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -17488,17 +9522,246 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__10() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__7; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__11() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Monad", 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__12; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__12; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__13; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__12; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("MonadRpcSession", 15); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__16; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__16; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___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); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__16; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("x", 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__20; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__20; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__20; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ExceptT", 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__24; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__24; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__25; +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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__24; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("String", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__28; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__28; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__29; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__28; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__32() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("have", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__33() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("haveDecl", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("haveIdDecl", 10); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__35() { _start: { lean_object* x_1; @@ -17506,17 +9769,7 @@ x_1 = lean_mk_string_from_bytes("match", 5); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__11; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__13() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__36() { _start: { lean_object* x_1; @@ -17524,17 +9777,7 @@ x_1 = lean_mk_string_from_bytes("matchDiscr", 10); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__13; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__15() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__37() { _start: { lean_object* x_1; @@ -17542,7 +9785,7 @@ x_1 = lean_mk_string_from_bytes("with", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__16() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__38() { _start: { lean_object* x_1; @@ -17550,1355 +9793,2674 @@ x_1 = lean_mk_string_from_bytes("matchAlts", 9); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__17() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__16; -x_3 = l_Lean_Name_str___override(x_1, x_2); +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; +x_3 = lean_array_push(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__40() { _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; -x_15 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__15; -x_16 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_15, x_12, x_13, x_14); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_box_usize(x_2); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_17); -x_20 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___boxed), 16, 5); -lean_closure_set(x_20, 0, x_17); -lean_closure_set(x_20, 1, x_1); -lean_closure_set(x_20, 2, x_19); -lean_closure_set(x_20, 3, x_3); -lean_closure_set(x_20, 4, x_4); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__39; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23) { +_start: +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_21 = l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__33___rarg(x_4, x_5, x_20, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_18); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_24 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___boxed), 19, 8); +lean_closure_set(x_24, 0, x_1); +lean_closure_set(x_24, 1, x_2); +lean_closure_set(x_24, 2, x_3); +lean_closure_set(x_24, 3, x_4); +lean_closure_set(x_24, 4, x_5); +lean_closure_set(x_24, 5, x_6); +lean_closure_set(x_24, 6, x_7); +lean_closure_set(x_24, 7, x_8); +x_25 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__1; lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_array_get_size(x_5); -x_25 = lean_usize_of_nat(x_24); -lean_dec(x_24); -x_26 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__20(x_25, x_2, x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_23); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_10); +x_26 = l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9___rarg(x_9, x_10, x_24, x_25, x_17, x_18, x_19, x_20, x_21, x_22, x_23); if (lean_obj_tag(x_26) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; size_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +lean_object* x_27; lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; 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); -lean_inc(x_12); -x_29 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_12, x_13, x_28); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); +x_29 = lean_array_get_size(x_10); +x_30 = lean_usize_of_nat(x_29); lean_dec(x_29); -x_32 = lean_st_ref_get(x_13, x_31); -x_33 = lean_ctor_get(x_32, 1); +x_31 = 0; +x_32 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4(x_30, x_31, x_10, x_17, x_18, x_19, x_20, x_21, x_22, x_28); +lean_dec(x_20); +lean_dec(x_18); +lean_dec(x_17); +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_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; size_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +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_34 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__9; -lean_inc(x_1); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_1); -x_36 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__13; -x_37 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_37, 0, x_30); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_ctor_get(x_4, 0); -lean_inc(x_38); -lean_dec(x_4); -x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_21); +x_35 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_21, x_22, x_34); +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_st_ref_get(x_22, x_37); +x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); lean_dec(x_38); -x_40 = lean_mk_syntax_ident(x_39); -x_41 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_42 = lean_array_push(x_41, x_37); -x_43 = lean_array_push(x_42, x_40); -x_44 = lean_box(2); -x_45 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__12; -x_46 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -lean_ctor_set(x_46, 2, x_43); -x_47 = lean_array_get_size(x_27); -x_48 = lean_usize_of_nat(x_47); -lean_dec(x_47); -x_49 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__42(x_1, x_35, x_48, x_2, x_27); -x_50 = l_Lean_Syntax_mkApp(x_46, x_49); -x_51 = lean_mk_syntax_ident(x_17); -x_52 = lean_ctor_get(x_22, 1); -lean_inc(x_52); -x_53 = lean_array_get_size(x_52); -x_54 = lean_usize_of_nat(x_53); -lean_dec(x_53); -x_55 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__43(x_35, x_54, x_2, x_52); -lean_dec(x_35); -lean_inc(x_51); -x_56 = l_Lean_Syntax_mkApp(x_51, x_55); -lean_inc(x_12); -x_57 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_12, x_13, x_33); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_ctor_get(x_12, 10); -lean_inc(x_60); -lean_dec(x_12); -x_61 = lean_st_ref_get(x_13, x_59); -lean_dec(x_13); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; 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; size_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; 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; size_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_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; size_t x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -x_63 = lean_ctor_get(x_61, 0); +x_40 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__5; +lean_inc(x_2); +x_41 = l_Lean_Name_str___override(x_2, x_40); +x_42 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__34; +lean_inc(x_41); +x_43 = l_Lean_Name_str___override(x_41, x_42); +x_44 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__6; +lean_inc(x_43); +x_45 = l_Lean_Name_str___override(x_43, x_44); +x_46 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__8; +x_47 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_47, 0, x_36); +lean_ctor_set(x_47, 1, x_46); +lean_inc(x_8); +x_48 = lean_mk_syntax_ident(x_8); +x_49 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_50 = lean_array_push(x_49, x_47); +x_51 = lean_array_push(x_50, x_48); +x_52 = lean_box(2); +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_45); +lean_ctor_set(x_53, 2, x_51); +x_54 = lean_array_get_size(x_33); +x_55 = lean_usize_of_nat(x_54); +lean_dec(x_54); +x_56 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(x_6, x_55, x_31, x_33); +lean_dec(x_6); +x_57 = l_Lean_Syntax_mkApp(x_53, x_56); +x_58 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__11; +x_59 = lean_name_append_before(x_8, x_58); +x_60 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__10; +x_61 = l_Lean_Name_append(x_60, x_59); +x_62 = lean_mk_syntax_ident(x_61); +lean_inc(x_21); +x_63 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_21, x_22, x_39); 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_65 = lean_environment_main_module(x_64); -x_66 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; -lean_inc(x_58); -x_67 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_67, 0, x_58); -lean_ctor_set(x_67, 1, x_66); -x_68 = lean_ctor_get(x_22, 2); -lean_inc(x_68); -lean_inc(x_3); -x_69 = l_Array_append___rarg(x_3, x_68); -x_70 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_71 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_71, 0, x_44); -lean_ctor_set(x_71, 1, x_70); -lean_ctor_set(x_71, 2, x_69); -x_72 = lean_array_push(x_41, x_67); -x_73 = lean_array_push(x_72, x_71); -x_74 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__15; -x_75 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_75, 0, x_44); -lean_ctor_set(x_75, 1, x_74); -lean_ctor_set(x_75, 2, x_73); -lean_inc(x_3); -x_76 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_76, 0, x_44); -lean_ctor_set(x_76, 1, x_70); -lean_ctor_set(x_76, 2, x_3); -x_77 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__42; -lean_inc(x_76); -x_78 = lean_array_push(x_77, x_76); -lean_inc(x_76); -x_79 = lean_array_push(x_78, x_76); -lean_inc(x_76); -x_80 = lean_array_push(x_79, x_76); -lean_inc(x_76); -x_81 = lean_array_push(x_80, x_76); -lean_inc(x_76); -x_82 = lean_array_push(x_81, x_76); -lean_inc(x_76); -x_83 = lean_array_push(x_82, x_76); -x_84 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; -x_85 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_85, 0, x_44); -lean_ctor_set(x_85, 1, x_84); -lean_ctor_set(x_85, 2, x_83); -x_86 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__1; -lean_inc(x_58); -x_87 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_87, 0, x_58); -lean_ctor_set(x_87, 1, x_86); -x_88 = lean_array_push(x_41, x_51); -lean_inc(x_76); -x_89 = lean_array_push(x_88, x_76); -x_90 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__50; -x_91 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_91, 0, x_44); -lean_ctor_set(x_91, 1, x_90); -lean_ctor_set(x_91, 2, x_89); -lean_inc(x_76); -x_92 = lean_array_push(x_41, x_76); -lean_inc(x_76); -lean_inc(x_92); -x_93 = lean_array_push(x_92, x_76); -x_94 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__56; -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_44); -lean_ctor_set(x_95, 1, x_94); -lean_ctor_set(x_95, 2, x_93); -x_96 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__28; -lean_inc(x_58); -x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_58); -lean_ctor_set(x_97, 1, x_96); -x_98 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -lean_inc(x_97); -x_99 = lean_array_push(x_98, x_97); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_44); -lean_ctor_set(x_100, 1, x_70); -lean_ctor_set(x_100, 2, x_99); -x_101 = lean_ctor_get(x_22, 3); -lean_inc(x_101); -x_102 = lean_array_get_size(x_101); -x_103 = lean_usize_of_nat(x_102); -lean_dec(x_102); -x_104 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__44(x_103, x_2, x_101); -lean_inc(x_3); -x_105 = l_Array_append___rarg(x_3, x_104); -x_106 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_106, 0, x_44); -lean_ctor_set(x_106, 1, x_70); -lean_ctor_set(x_106, 2, x_105); -x_107 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__33; -lean_inc(x_58); -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_58); -lean_ctor_set(x_108, 1, x_107); -x_109 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__39; -lean_inc(x_76); -x_110 = lean_array_push(x_109, x_76); -x_111 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__35; -x_112 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_112, 0, x_44); -lean_ctor_set(x_112, 1, x_111); -lean_ctor_set(x_112, 2, x_110); -x_113 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__42; -lean_inc(x_58); -x_114 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_114, 0, x_58); -lean_ctor_set(x_114, 1, x_113); -x_115 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__46; -lean_inc(x_76); -x_116 = lean_array_push(x_115, x_76); -x_117 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_117, 0, x_44); -lean_ctor_set(x_117, 1, x_111); -lean_ctor_set(x_117, 2, x_116); -x_118 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__33; -x_119 = lean_array_push(x_118, x_112); -x_120 = lean_array_push(x_119, x_114); -x_121 = lean_array_push(x_120, x_117); -x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_44); -lean_ctor_set(x_122, 1, x_70); -lean_ctor_set(x_122, 2, x_121); -x_123 = lean_array_push(x_41, x_108); -x_124 = lean_array_push(x_123, x_122); -x_125 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_125, 0, x_44); -lean_ctor_set(x_125, 1, x_70); -lean_ctor_set(x_125, 2, x_124); -x_126 = lean_array_push(x_98, x_125); -x_127 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__32; -x_128 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_128, 0, x_44); -lean_ctor_set(x_128, 1, x_127); -lean_ctor_set(x_128, 2, x_126); -x_129 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__117; -x_130 = lean_array_push(x_129, x_87); -x_131 = lean_array_push(x_130, x_91); -x_132 = lean_array_push(x_131, x_95); -x_133 = lean_array_push(x_132, x_100); -x_134 = lean_array_push(x_133, x_106); -lean_inc(x_76); -x_135 = lean_array_push(x_134, x_76); -x_136 = lean_array_push(x_135, x_128); -x_137 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__2; -x_138 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_138, 0, x_44); -lean_ctor_set(x_138, 1, x_137); -lean_ctor_set(x_138, 2, x_136); -x_139 = lean_array_push(x_41, x_85); -lean_inc(x_139); -x_140 = lean_array_push(x_139, x_138); -x_141 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__37; -x_142 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_142, 0, x_44); -lean_ctor_set(x_142, 1, x_141); -lean_ctor_set(x_142, 2, x_140); -lean_inc(x_76); -x_143 = lean_array_push(x_98, x_76); -x_144 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__124; -x_145 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_145, 0, x_44); -lean_ctor_set(x_145, 1, x_144); -lean_ctor_set(x_145, 2, x_143); -x_146 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__205; -lean_inc(x_58); -x_147 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_147, 0, x_58); -lean_ctor_set(x_147, 1, x_146); -x_148 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26; -lean_inc(x_58); -x_149 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_149, 0, x_58); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_array_push(x_41, x_50); -x_151 = lean_array_push(x_150, x_56); -x_152 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_152, 0, x_44); -lean_ctor_set(x_152, 1, x_70); -lean_ctor_set(x_152, 2, x_151); -x_153 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__53; -x_154 = lean_array_push(x_153, x_152); -x_155 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; -x_156 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_156, 0, x_44); -lean_ctor_set(x_156, 1, x_155); -lean_ctor_set(x_156, 2, x_154); -x_157 = lean_array_push(x_41, x_149); -x_158 = lean_array_push(x_157, x_156); -x_159 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__95; -x_160 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_160, 0, x_44); -lean_ctor_set(x_160, 1, x_159); -lean_ctor_set(x_160, 2, x_158); -lean_inc(x_92); -x_161 = lean_array_push(x_92, x_160); -x_162 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__143; -x_163 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_163, 0, x_44); -lean_ctor_set(x_163, 1, x_162); -lean_ctor_set(x_163, 2, x_161); -x_164 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__224; -lean_inc(x_60); -lean_inc(x_65); -x_165 = l_Lean_addMacroScope(x_65, x_164, x_60); -x_166 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__225; -lean_inc(x_1); -x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_1); -lean_inc(x_1); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_1); -x_169 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__223; -lean_inc(x_58); -x_170 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_170, 0, x_58); -lean_ctor_set(x_170, 1, x_169); -lean_ctor_set(x_170, 2, x_165); -lean_ctor_set(x_170, 3, x_168); -x_171 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__109; -lean_inc(x_58); -x_172 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_172, 0, x_58); -lean_ctor_set(x_172, 1, x_171); -x_173 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__3; -lean_inc(x_58); -x_174 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_174, 0, x_58); -lean_ctor_set(x_174, 1, x_173); -x_175 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__10; -lean_inc(x_60); -lean_inc(x_65); -x_176 = l_Lean_addMacroScope(x_65, x_175, x_60); -x_177 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__9; -lean_inc(x_1); -lean_inc(x_58); -x_178 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_178, 0, x_58); -lean_ctor_set(x_178, 1, x_177); -lean_ctor_set(x_178, 2, x_176); -lean_ctor_set(x_178, 3, x_1); -lean_inc(x_178); -x_179 = lean_array_push(x_98, x_178); -x_180 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_180, 0, x_44); -lean_ctor_set(x_180, 1, x_70); -lean_ctor_set(x_180, 2, x_179); -x_181 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__6; -lean_inc(x_58); -x_182 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_182, 0, x_58); -lean_ctor_set(x_182, 1, x_181); -x_183 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__11; -lean_inc(x_58); -x_184 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_184, 0, x_58); -lean_ctor_set(x_184, 1, x_183); -x_185 = lean_array_push(x_92, x_178); -x_186 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__14; -x_187 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_187, 0, x_44); -lean_ctor_set(x_187, 1, x_186); -lean_ctor_set(x_187, 2, x_185); -x_188 = lean_array_push(x_98, x_187); -x_189 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_189, 0, x_44); -lean_ctor_set(x_189, 1, x_70); -lean_ctor_set(x_189, 2, x_188); -x_190 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__15; -lean_inc(x_58); -x_191 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_191, 0, x_58); -lean_ctor_set(x_191, 1, x_190); -x_192 = lean_ctor_get(x_22, 4); -lean_inc(x_192); -x_193 = lean_array_get_size(x_192); -x_194 = lean_usize_of_nat(x_193); -lean_dec(x_193); -x_195 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__45(x_194, x_2, x_192); -lean_inc(x_3); -x_196 = l_Array_append___rarg(x_3, x_195); -x_197 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_197, 0, x_44); -lean_ctor_set(x_197, 1, x_70); -lean_ctor_set(x_197, 2, x_196); -x_198 = lean_array_push(x_98, x_197); -x_199 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__17; -x_200 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_200, 0, x_44); -lean_ctor_set(x_200, 1, x_199); -lean_ctor_set(x_200, 2, x_198); -x_201 = lean_array_push(x_77, x_184); -lean_inc(x_76); -x_202 = lean_array_push(x_201, x_76); -lean_inc(x_76); -x_203 = lean_array_push(x_202, x_76); -x_204 = lean_array_push(x_203, x_189); -x_205 = lean_array_push(x_204, x_191); -lean_inc(x_205); -x_206 = lean_array_push(x_205, x_200); -x_207 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__12; -x_208 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_208, 0, x_44); -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_RpcEncoding_deriveWithRefInstance___closed__35; -x_210 = lean_array_push(x_209, x_180); -lean_inc(x_76); -x_211 = lean_array_push(x_210, x_76); -x_212 = lean_array_push(x_211, x_182); -lean_inc(x_212); -x_213 = lean_array_push(x_212, x_208); -x_214 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__6; -x_215 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_215, 0, x_44); -lean_ctor_set(x_215, 1, x_214); -lean_ctor_set(x_215, 2, x_213); -x_216 = lean_array_push(x_41, x_174); -lean_inc(x_216); -x_217 = lean_array_push(x_216, x_215); -x_218 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__4; -x_219 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_219, 0, x_44); -lean_ctor_set(x_219, 1, x_218); -lean_ctor_set(x_219, 2, x_217); -x_220 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93; -x_221 = lean_array_push(x_220, x_170); -lean_inc(x_76); -x_222 = lean_array_push(x_221, x_76); -lean_inc(x_76); -x_223 = lean_array_push(x_222, x_76); -lean_inc(x_172); -x_224 = lean_array_push(x_223, x_172); -x_225 = lean_array_push(x_224, x_219); -x_226 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__62; -x_227 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_227, 0, x_44); -lean_ctor_set(x_227, 1, x_226); -lean_ctor_set(x_227, 2, x_225); -x_228 = lean_array_push(x_98, x_227); -x_229 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__60; -x_230 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_230, 0, x_44); -lean_ctor_set(x_230, 1, x_229); -lean_ctor_set(x_230, 2, x_228); -x_231 = lean_array_push(x_98, x_230); -x_232 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__58; -x_233 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_233, 0, x_44); -lean_ctor_set(x_233, 1, x_232); -lean_ctor_set(x_233, 2, x_231); -x_234 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__231; -x_235 = l_Lean_addMacroScope(x_65, x_234, x_60); -x_236 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__232; -lean_inc(x_1); -x_237 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_237, 0, x_236); -lean_ctor_set(x_237, 1, x_1); -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_1); -x_239 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__230; -x_240 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_240, 0, x_58); -lean_ctor_set(x_240, 1, x_239); -lean_ctor_set(x_240, 2, x_235); -lean_ctor_set(x_240, 3, x_238); -x_241 = lean_ctor_get(x_22, 5); -lean_inc(x_241); +x_66 = lean_ctor_get(x_21, 10); +lean_inc(x_66); +lean_dec(x_21); +x_67 = lean_st_ref_get(x_22, x_65); lean_dec(x_22); -x_242 = lean_array_get_size(x_241); -x_243 = lean_usize_of_nat(x_242); -lean_dec(x_242); -x_244 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__45(x_243, x_2, x_241); -x_245 = l_Array_append___rarg(x_3, x_244); -x_246 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_246, 0, x_44); -lean_ctor_set(x_246, 1, x_70); -lean_ctor_set(x_246, 2, x_245); -x_247 = lean_array_push(x_98, x_246); -x_248 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_248, 0, x_44); -lean_ctor_set(x_248, 1, x_199); -lean_ctor_set(x_248, 2, x_247); -x_249 = lean_array_push(x_205, x_248); -x_250 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_250, 0, x_44); -lean_ctor_set(x_250, 1, x_207); -lean_ctor_set(x_250, 2, x_249); -x_251 = lean_array_push(x_212, x_250); -x_252 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_252, 0, x_44); -lean_ctor_set(x_252, 1, x_214); -lean_ctor_set(x_252, 2, x_251); -x_253 = lean_array_push(x_216, x_252); -x_254 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_254, 0, x_44); -lean_ctor_set(x_254, 1, x_218); -lean_ctor_set(x_254, 2, x_253); -x_255 = lean_array_push(x_220, x_240); -lean_inc(x_76); -x_256 = lean_array_push(x_255, x_76); -lean_inc(x_76); -x_257 = lean_array_push(x_256, x_76); -x_258 = lean_array_push(x_257, x_172); -x_259 = lean_array_push(x_258, x_254); -x_260 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_260, 0, x_44); -lean_ctor_set(x_260, 1, x_226); -lean_ctor_set(x_260, 2, x_259); -x_261 = lean_array_push(x_98, x_260); -x_262 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_262, 0, x_44); -lean_ctor_set(x_262, 1, x_229); -lean_ctor_set(x_262, 2, x_261); -x_263 = lean_array_push(x_98, x_262); -x_264 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_264, 0, x_44); -lean_ctor_set(x_264, 1, x_232); -lean_ctor_set(x_264, 2, x_263); -x_265 = lean_array_push(x_209, x_233); -lean_inc(x_76); -x_266 = lean_array_push(x_265, x_76); -x_267 = lean_array_push(x_266, x_264); -lean_inc(x_76); -x_268 = lean_array_push(x_267, x_76); -x_269 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_269, 0, x_44); -lean_ctor_set(x_269, 1, x_70); -lean_ctor_set(x_269, 2, x_268); -x_270 = lean_array_push(x_118, x_97); -x_271 = lean_array_push(x_270, x_269); -lean_inc(x_76); -x_272 = lean_array_push(x_271, x_76); -x_273 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__56; -x_274 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_274, 0, x_44); -lean_ctor_set(x_274, 1, x_273); -lean_ctor_set(x_274, 2, x_272); -x_275 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__238; -x_276 = lean_array_push(x_275, x_145); -x_277 = lean_array_push(x_276, x_147); -lean_inc(x_76); -x_278 = lean_array_push(x_277, x_76); -lean_inc(x_76); -x_279 = lean_array_push(x_278, x_76); -x_280 = lean_array_push(x_279, x_163); -x_281 = lean_array_push(x_280, x_274); -lean_inc(x_76); -x_282 = lean_array_push(x_281, x_76); -x_283 = lean_array_push(x_282, x_76); -x_284 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__206; -x_285 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_285, 0, x_44); -lean_ctor_set(x_285, 1, x_284); -lean_ctor_set(x_285, 2, x_283); -x_286 = lean_array_push(x_139, x_285); -x_287 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_287, 0, x_44); -lean_ctor_set(x_287, 1, x_141); -lean_ctor_set(x_287, 2, x_286); -x_288 = lean_array_push(x_118, x_75); -x_289 = lean_array_push(x_288, x_142); -x_290 = lean_array_push(x_289, x_287); -x_291 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_291, 0, x_44); -lean_ctor_set(x_291, 1, x_70); -lean_ctor_set(x_291, 2, x_290); -lean_ctor_set(x_61, 0, x_291); -return x_61; -} -else +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; 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; size_t 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; size_t 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; size_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; 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; -x_292 = lean_ctor_get(x_61, 0); -x_293 = lean_ctor_get(x_61, 1); -lean_inc(x_293); +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; size_t 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; size_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; 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; size_t x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; +x_69 = lean_ctor_get(x_67, 0); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +lean_dec(x_69); +x_71 = lean_environment_main_module(x_70); +x_72 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__7; +lean_inc(x_41); +x_73 = l_Lean_Name_str___override(x_41, x_72); +x_74 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__12; +lean_inc(x_73); +x_75 = l_Lean_Name_str___override(x_73, x_74); +x_76 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__14; +lean_inc(x_73); +x_77 = l_Lean_Name_str___override(x_73, x_76); +lean_inc(x_64); +x_78 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_78, 0, x_64); +lean_ctor_set(x_78, 1, x_76); +x_79 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; +lean_inc(x_11); +x_80 = l_Array_append___rarg(x_79, x_11); +x_81 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; +x_82 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_82, 0, x_52); +lean_ctor_set(x_82, 1, x_81); +lean_ctor_set(x_82, 2, x_80); +x_83 = lean_array_push(x_49, x_78); +lean_inc(x_83); +x_84 = lean_array_push(x_83, x_82); +lean_inc(x_77); +x_85 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_85, 0, x_52); +lean_ctor_set(x_85, 1, x_77); +lean_ctor_set(x_85, 2, x_84); +lean_inc(x_64); +x_86 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_86, 0, x_64); +lean_ctor_set(x_86, 1, x_74); +x_87 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__9; +lean_inc(x_73); +x_88 = l_Lean_Name_str___override(x_73, x_87); +x_89 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; +lean_inc(x_73); +x_90 = l_Lean_Name_str___override(x_73, x_89); +x_91 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__22; +lean_inc(x_90); +x_92 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_92, 0, x_52); +lean_ctor_set(x_92, 1, x_90); +lean_ctor_set(x_92, 2, x_91); +x_93 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__2; +lean_inc(x_73); +x_94 = l_Lean_Name_str___override(x_73, x_93); +lean_inc(x_64); +x_95 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_95, 0, x_64); +lean_ctor_set(x_95, 1, x_93); +x_96 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; +lean_inc(x_73); +x_97 = l_Lean_Name_str___override(x_73, x_96); +lean_inc(x_66); +lean_inc(x_71); +x_98 = l_Lean_addMacroScope(x_71, x_3, x_66); +lean_inc(x_1); +lean_inc(x_64); +x_99 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_99, 0, x_64); +lean_ctor_set(x_99, 1, x_4); +lean_ctor_set(x_99, 2, x_98); +lean_ctor_set(x_99, 3, x_1); +x_100 = lean_array_push(x_49, x_99); +x_101 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; +lean_inc(x_100); +x_102 = lean_array_push(x_100, x_101); +lean_inc(x_97); +x_103 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_103, 0, x_52); +lean_ctor_set(x_103, 1, x_97); +lean_ctor_set(x_103, 2, x_102); +x_104 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__32; +lean_inc(x_73); +x_105 = l_Lean_Name_str___override(x_73, x_104); +x_106 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__60; +x_107 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_107, 0, x_52); +lean_ctor_set(x_107, 1, x_105); +lean_ctor_set(x_107, 2, x_106); +x_108 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__76; +lean_inc(x_64); +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_64); +lean_ctor_set(x_109, 1, x_108); +x_110 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; +lean_inc(x_109); +x_111 = lean_array_push(x_110, x_109); +x_112 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_112, 0, x_52); +lean_ctor_set(x_112, 1, x_81); +lean_ctor_set(x_112, 2, x_111); +x_113 = lean_ctor_get(x_27, 0); +lean_inc(x_113); +x_114 = lean_array_get_size(x_113); +x_115 = lean_usize_of_nat(x_114); +lean_dec(x_114); +x_116 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__12(x_115, x_31, x_113); +x_117 = l_Array_append___rarg(x_79, x_116); +x_118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_118, 0, x_52); +lean_ctor_set(x_118, 1, x_81); +lean_ctor_set(x_118, 2, x_117); +x_119 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__34; +lean_inc(x_73); +x_120 = l_Lean_Name_str___override(x_73, x_119); +x_121 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__36; +lean_inc(x_64); +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_64); +lean_ctor_set(x_122, 1, x_121); +x_123 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__42; +lean_inc(x_66); +lean_inc(x_71); +x_124 = l_Lean_addMacroScope(x_71, x_123, x_66); +x_125 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__39; +lean_inc(x_2); +x_126 = l_Lean_Name_str___override(x_2, x_125); +lean_inc(x_1); +x_127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_1); +lean_inc(x_1); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_1); +x_129 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__41; +lean_inc(x_64); +x_130 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_130, 0, x_64); +lean_ctor_set(x_130, 1, x_129); +lean_ctor_set(x_130, 2, x_124); +lean_ctor_set(x_130, 3, x_128); +x_131 = lean_array_push(x_49, x_130); +x_132 = lean_array_push(x_131, x_101); +x_133 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__38; +x_134 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_134, 0, x_52); +lean_ctor_set(x_134, 1, x_133); +lean_ctor_set(x_134, 2, x_132); +x_135 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__46; +lean_inc(x_64); +x_136 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_136, 0, x_64); +lean_ctor_set(x_136, 1, x_135); +x_137 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__50; +lean_inc(x_66); +lean_inc(x_71); +x_138 = l_Lean_addMacroScope(x_71, x_137, x_66); +x_139 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__47; +x_140 = l_Lean_Name_str___override(x_2, x_139); +lean_inc(x_1); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_1); +lean_inc(x_1); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_1); +x_143 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__49; +lean_inc(x_64); +x_144 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_144, 0, x_64); +lean_ctor_set(x_144, 1, x_143); +lean_ctor_set(x_144, 2, x_138); +lean_ctor_set(x_144, 3, x_142); +x_145 = lean_array_push(x_49, x_144); +x_146 = lean_array_push(x_145, x_101); +x_147 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_147, 0, x_52); +lean_ctor_set(x_147, 1, x_133); +lean_ctor_set(x_147, 2, x_146); +x_148 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; +x_149 = lean_array_push(x_148, x_134); +lean_inc(x_136); +x_150 = lean_array_push(x_149, x_136); +x_151 = lean_array_push(x_150, x_147); +x_152 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_152, 0, x_52); +lean_ctor_set(x_152, 1, x_81); +lean_ctor_set(x_152, 2, x_151); +x_153 = lean_array_push(x_49, x_122); +x_154 = lean_array_push(x_153, x_152); +x_155 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_155, 0, x_52); +lean_ctor_set(x_155, 1, x_81); +lean_ctor_set(x_155, 2, x_154); +x_156 = lean_array_push(x_110, x_155); +x_157 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_157, 0, x_52); +lean_ctor_set(x_157, 1, x_120); +lean_ctor_set(x_157, 2, x_156); +x_158 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__116; +x_159 = lean_array_push(x_158, x_95); +x_160 = lean_array_push(x_159, x_103); +lean_inc(x_107); +x_161 = lean_array_push(x_160, x_107); +x_162 = lean_array_push(x_161, x_112); +x_163 = lean_array_push(x_162, x_118); +x_164 = lean_array_push(x_163, x_101); +x_165 = lean_array_push(x_164, x_157); +x_166 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_166, 0, x_52); +lean_ctor_set(x_166, 1, x_94); +lean_ctor_set(x_166, 2, x_165); +x_167 = lean_array_push(x_49, x_92); +x_168 = lean_array_push(x_167, x_166); +lean_inc(x_88); +x_169 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_169, 0, x_52); +lean_ctor_set(x_169, 1, x_88); +lean_ctor_set(x_169, 2, x_168); +x_170 = lean_array_push(x_148, x_85); +lean_inc(x_86); +x_171 = lean_array_push(x_170, x_86); +x_172 = lean_array_push(x_171, x_169); +lean_inc(x_75); +x_173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_173, 0, x_52); +lean_ctor_set(x_173, 1, x_75); +lean_ctor_set(x_173, 2, x_172); +x_174 = l_Array_append___rarg(x_12, x_11); +x_175 = l_Array_append___rarg(x_174, x_13); +x_176 = l_Array_append___rarg(x_79, x_175); +x_177 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_177, 0, x_52); +lean_ctor_set(x_177, 1, x_81); +lean_ctor_set(x_177, 2, x_176); +x_178 = lean_array_push(x_83, x_177); +x_179 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_179, 0, x_52); +lean_ctor_set(x_179, 1, x_77); +lean_ctor_set(x_179, 2, x_178); +x_180 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__117; +lean_inc(x_43); +x_181 = l_Lean_Name_str___override(x_43, x_180); +x_182 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__119; +lean_inc(x_64); +x_183 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_183, 0, x_64); +lean_ctor_set(x_183, 1, x_182); +x_184 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__120; +lean_inc(x_43); +x_185 = l_Lean_Name_str___override(x_43, x_184); +x_186 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__122; +lean_inc(x_43); +x_187 = l_Lean_Name_str___override(x_43, x_186); +x_188 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__55; +x_189 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_189, 0, x_52); +lean_ctor_set(x_189, 1, x_187); +lean_ctor_set(x_189, 2, x_188); +x_190 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__126; +x_191 = l_Lean_Name_str___override(x_41, x_190); +x_192 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__147; +x_193 = l_Lean_Name_str___override(x_191, x_192); +lean_inc(x_64); +x_194 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_194, 0, x_64); +lean_ctor_set(x_194, 1, x_192); +x_195 = lean_array_push(x_49, x_194); +x_196 = lean_array_push(x_195, x_101); +x_197 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_197, 0, x_52); +lean_ctor_set(x_197, 1, x_193); +lean_ctor_set(x_197, 2, x_196); +x_198 = lean_array_push(x_49, x_189); +x_199 = lean_array_push(x_198, x_197); +x_200 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_200, 0, x_52); +lean_ctor_set(x_200, 1, x_185); +lean_ctor_set(x_200, 2, x_199); +x_201 = lean_array_push(x_110, x_200); +x_202 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_202, 0, x_52); +lean_ctor_set(x_202, 1, x_81); +lean_ctor_set(x_202, 2, x_201); +x_203 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__135; +lean_inc(x_64); +x_204 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_204, 0, x_64); +lean_ctor_set(x_204, 1, x_203); +x_205 = lean_array_push(x_148, x_183); +x_206 = lean_array_push(x_205, x_202); +lean_inc(x_204); +x_207 = lean_array_push(x_206, x_204); +x_208 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_208, 0, x_52); +lean_ctor_set(x_208, 1, x_181); +lean_ctor_set(x_208, 2, x_207); +x_209 = lean_array_push(x_110, x_208); +x_210 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_210, 0, x_52); +lean_ctor_set(x_210, 1, x_81); +lean_ctor_set(x_210, 2, x_209); +x_211 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__3; +lean_inc(x_73); +x_212 = l_Lean_Name_str___override(x_73, x_211); +lean_inc(x_64); +x_213 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_213, 0, x_64); +lean_ctor_set(x_213, 1, x_211); +x_214 = lean_array_push(x_110, x_213); +x_215 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_215, 0, x_52); +lean_ctor_set(x_215, 1, x_212); +lean_ctor_set(x_215, 2, x_214); +x_216 = lean_array_push(x_110, x_215); +x_217 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_217, 0, x_52); +lean_ctor_set(x_217, 1, x_81); +lean_ctor_set(x_217, 2, x_216); +x_218 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__17; +x_219 = lean_array_push(x_218, x_210); +x_220 = lean_array_push(x_219, x_101); +x_221 = lean_array_push(x_220, x_101); +x_222 = lean_array_push(x_221, x_101); +x_223 = lean_array_push(x_222, x_217); +x_224 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_224, 0, x_52); +lean_ctor_set(x_224, 1, x_90); +lean_ctor_set(x_224, 2, x_223); +x_225 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__23; +lean_inc(x_73); +x_226 = l_Lean_Name_str___override(x_73, x_225); +lean_inc(x_64); +x_227 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_227, 0, x_64); +lean_ctor_set(x_227, 1, x_225); +x_228 = lean_array_push(x_49, x_62); +x_229 = lean_array_push(x_228, x_101); +x_230 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_230, 0, x_52); +lean_ctor_set(x_230, 1, x_97); +lean_ctor_set(x_230, 2, x_229); +x_231 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__149; +x_232 = l_Lean_Name_str___override(x_73, x_231); +x_233 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__90; +lean_inc(x_64); +x_234 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_234, 0, x_64); +lean_ctor_set(x_234, 1, x_233); +x_235 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__62; +lean_inc(x_43); +x_236 = l_Lean_Name_str___override(x_43, x_235); +lean_inc(x_64); +x_237 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_237, 0, x_64); +lean_ctor_set(x_237, 1, x_235); +x_238 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; +lean_inc(x_43); +x_239 = l_Lean_Name_str___override(x_43, x_238); +x_240 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__44; +lean_inc(x_66); +lean_inc(x_71); +x_241 = l_Lean_addMacroScope(x_71, x_240, x_66); +lean_inc(x_1); +lean_inc(x_5); +x_242 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_242, 0, x_5); +lean_ctor_set(x_242, 1, x_1); +lean_inc(x_1); +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_1); +x_244 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43; +lean_inc(x_64); +x_245 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_245, 0, x_64); +lean_ctor_set(x_245, 1, x_244); +lean_ctor_set(x_245, 2, x_241); +lean_ctor_set(x_245, 3, x_243); +x_246 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__50; +lean_inc(x_43); +x_247 = l_Lean_Name_str___override(x_43, x_246); +x_248 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52; +lean_inc(x_64); +x_249 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_249, 0, x_64); +lean_ctor_set(x_249, 1, x_248); +x_250 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__64; +lean_inc(x_43); +x_251 = l_Lean_Name_str___override(x_43, x_250); +x_252 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__66; +lean_inc(x_64); +x_253 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_253, 0, x_64); +lean_ctor_set(x_253, 1, x_252); +x_254 = lean_array_push(x_110, x_253); +x_255 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_255, 0, x_52); +lean_ctor_set(x_255, 1, x_251); +lean_ctor_set(x_255, 2, x_254); +x_256 = lean_array_push(x_110, x_255); +x_257 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_257, 0, x_52); +lean_ctor_set(x_257, 1, x_81); +lean_ctor_set(x_257, 2, x_256); +x_258 = lean_array_push(x_100, x_257); +lean_inc(x_239); +x_259 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_259, 0, x_52); +lean_ctor_set(x_259, 1, x_239); +lean_ctor_set(x_259, 2, x_258); +lean_inc(x_259); +x_260 = lean_array_push(x_49, x_259); +x_261 = lean_array_push(x_260, x_101); +x_262 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_262, 0, x_52); +lean_ctor_set(x_262, 1, x_81); +lean_ctor_set(x_262, 2, x_261); +x_263 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; +lean_inc(x_64); +x_264 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_264, 0, x_64); +lean_ctor_set(x_264, 1, x_263); +lean_inc(x_249); +x_265 = lean_array_push(x_148, x_249); +x_266 = lean_array_push(x_265, x_262); +lean_inc(x_264); +x_267 = lean_array_push(x_266, x_264); +x_268 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_268, 0, x_52); +lean_ctor_set(x_268, 1, x_247); +lean_ctor_set(x_268, 2, x_267); +lean_inc(x_57); +x_269 = lean_array_push(x_49, x_57); +lean_inc(x_268); +x_270 = lean_array_push(x_269, x_268); +x_271 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_271, 0, x_52); +lean_ctor_set(x_271, 1, x_81); +lean_ctor_set(x_271, 2, x_270); +x_272 = lean_array_push(x_49, x_245); +x_273 = lean_array_push(x_272, x_271); +lean_inc(x_239); +x_274 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_274, 0, x_52); +lean_ctor_set(x_274, 1, x_239); +lean_ctor_set(x_274, 2, x_273); +x_275 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__67; +lean_inc(x_43); +x_276 = l_Lean_Name_str___override(x_43, x_275); +x_277 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__69; +lean_inc(x_64); +x_278 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_278, 0, x_64); +lean_ctor_set(x_278, 1, x_277); +x_279 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__70; +lean_inc(x_43); +x_280 = l_Lean_Name_str___override(x_43, x_279); +x_281 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__72; +lean_inc(x_64); +x_282 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_282, 0, x_64); +lean_ctor_set(x_282, 1, x_281); +x_283 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__4; +lean_inc(x_43); +x_284 = l_Lean_Name_str___override(x_43, x_283); +x_285 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__86; +lean_inc(x_66); +lean_inc(x_71); +x_286 = l_Lean_addMacroScope(x_71, x_285, x_66); +x_287 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__83; +lean_inc(x_5); +x_288 = l_Lean_Name_str___override(x_5, x_287); +lean_inc(x_1); +x_289 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_289, 0, x_288); +lean_ctor_set(x_289, 1, x_1); +lean_inc(x_1); +x_290 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_290, 0, x_289); +lean_ctor_set(x_290, 1, x_1); +x_291 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__85; +lean_inc(x_64); +x_292 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_292, 0, x_64); +lean_ctor_set(x_292, 1, x_291); +lean_ctor_set(x_292, 2, x_286); +lean_ctor_set(x_292, 3, x_290); lean_inc(x_292); -lean_dec(x_61); -x_294 = lean_ctor_get(x_292, 0); -lean_inc(x_294); -lean_dec(x_292); -x_295 = lean_environment_main_module(x_294); -x_296 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; -lean_inc(x_58); -x_297 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_297, 0, x_58); -lean_ctor_set(x_297, 1, x_296); -x_298 = lean_ctor_get(x_22, 2); -lean_inc(x_298); -lean_inc(x_3); -x_299 = l_Array_append___rarg(x_3, x_298); -x_300 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_301 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_301, 0, x_44); -lean_ctor_set(x_301, 1, x_300); -lean_ctor_set(x_301, 2, x_299); -x_302 = lean_array_push(x_41, x_297); -x_303 = lean_array_push(x_302, x_301); -x_304 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__15; -x_305 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_305, 0, x_44); -lean_ctor_set(x_305, 1, x_304); -lean_ctor_set(x_305, 2, x_303); -lean_inc(x_3); -x_306 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_306, 0, x_44); -lean_ctor_set(x_306, 1, x_300); -lean_ctor_set(x_306, 2, x_3); -x_307 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__42; -lean_inc(x_306); -x_308 = lean_array_push(x_307, x_306); -lean_inc(x_306); -x_309 = lean_array_push(x_308, x_306); -lean_inc(x_306); -x_310 = lean_array_push(x_309, x_306); -lean_inc(x_306); -x_311 = lean_array_push(x_310, x_306); -lean_inc(x_306); -x_312 = lean_array_push(x_311, x_306); -lean_inc(x_306); -x_313 = lean_array_push(x_312, x_306); -x_314 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; -x_315 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_315, 0, x_44); -lean_ctor_set(x_315, 1, x_314); -lean_ctor_set(x_315, 2, x_313); -x_316 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__1; -lean_inc(x_58); -x_317 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_317, 0, x_58); -lean_ctor_set(x_317, 1, x_316); -x_318 = lean_array_push(x_41, x_51); -lean_inc(x_306); -x_319 = lean_array_push(x_318, x_306); -x_320 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__50; +x_293 = lean_array_push(x_110, x_292); +lean_inc(x_284); +x_294 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_294, 0, x_52); +lean_ctor_set(x_294, 1, x_284); +lean_ctor_set(x_294, 2, x_293); +x_295 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__103; +lean_inc(x_66); +lean_inc(x_71); +x_296 = l_Lean_addMacroScope(x_71, x_295, x_66); +x_297 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__100; +x_298 = l_Lean_Name_str___override(x_5, x_297); +lean_inc(x_1); +x_299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_1); +lean_inc(x_1); +x_300 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_300, 0, x_299); +lean_ctor_set(x_300, 1, x_1); +x_301 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__102; +lean_inc(x_64); +x_302 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_302, 0, x_64); +lean_ctor_set(x_302, 1, x_301); +lean_ctor_set(x_302, 2, x_296); +lean_ctor_set(x_302, 3, x_300); +lean_inc(x_302); +x_303 = lean_array_push(x_110, x_302); +x_304 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_304, 0, x_52); +lean_ctor_set(x_304, 1, x_284); +lean_ctor_set(x_304, 2, x_303); +x_305 = lean_array_push(x_148, x_294); +x_306 = lean_array_push(x_305, x_136); +x_307 = lean_array_push(x_306, x_304); +x_308 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_308, 0, x_52); +lean_ctor_set(x_308, 1, x_81); +lean_ctor_set(x_308, 2, x_307); +x_309 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__86; +lean_inc(x_43); +x_310 = l_Lean_Name_str___override(x_43, x_309); +x_311 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_311, 0, x_52); +lean_ctor_set(x_311, 1, x_310); +lean_ctor_set(x_311, 2, x_188); +x_312 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__89; +lean_inc(x_64); +x_313 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_313, 0, x_64); +lean_ctor_set(x_313, 1, x_312); +x_314 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__18; +lean_inc(x_282); +x_315 = lean_array_push(x_314, x_282); +x_316 = lean_array_push(x_315, x_101); +x_317 = lean_array_push(x_316, x_308); +x_318 = lean_array_push(x_317, x_311); +x_319 = lean_array_push(x_318, x_101); +lean_inc(x_313); +x_320 = lean_array_push(x_319, x_313); x_321 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_321, 0, x_44); -lean_ctor_set(x_321, 1, x_320); -lean_ctor_set(x_321, 2, x_319); -lean_inc(x_306); -x_322 = lean_array_push(x_41, x_306); -lean_inc(x_306); -lean_inc(x_322); -x_323 = lean_array_push(x_322, x_306); -x_324 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__56; -x_325 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_325, 0, x_44); -lean_ctor_set(x_325, 1, x_324); -lean_ctor_set(x_325, 2, x_323); -x_326 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__28; -lean_inc(x_58); -x_327 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_327, 0, x_58); -lean_ctor_set(x_327, 1, x_326); -x_328 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -lean_inc(x_327); -x_329 = lean_array_push(x_328, x_327); -x_330 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_330, 0, x_44); -lean_ctor_set(x_330, 1, x_300); -lean_ctor_set(x_330, 2, x_329); -x_331 = lean_ctor_get(x_22, 3); -lean_inc(x_331); -x_332 = lean_array_get_size(x_331); -x_333 = lean_usize_of_nat(x_332); -lean_dec(x_332); -x_334 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__44(x_333, x_2, x_331); -lean_inc(x_3); -x_335 = l_Array_append___rarg(x_3, x_334); -x_336 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_336, 0, x_44); -lean_ctor_set(x_336, 1, x_300); -lean_ctor_set(x_336, 2, x_335); -x_337 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__33; -lean_inc(x_58); -x_338 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_338, 0, x_58); -lean_ctor_set(x_338, 1, x_337); -x_339 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__39; -lean_inc(x_306); -x_340 = lean_array_push(x_339, x_306); -x_341 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__35; -x_342 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_342, 0, x_44); +lean_ctor_set(x_321, 0, x_52); +lean_ctor_set(x_321, 1, x_280); +lean_ctor_set(x_321, 2, x_320); +x_322 = lean_array_push(x_49, x_278); +lean_inc(x_321); +x_323 = lean_array_push(x_322, x_321); +x_324 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_324, 0, x_52); +lean_ctor_set(x_324, 1, x_276); +lean_ctor_set(x_324, 2, x_323); +x_325 = lean_array_push(x_148, x_237); +lean_inc(x_274); +x_326 = lean_array_push(x_325, x_274); +x_327 = lean_array_push(x_326, x_324); +x_328 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_328, 0, x_52); +lean_ctor_set(x_328, 1, x_236); +lean_ctor_set(x_328, 2, x_327); +x_329 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__5; +lean_inc(x_43); +x_330 = l_Lean_Name_str___override(x_43, x_329); +x_331 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__6; +lean_inc(x_43); +x_332 = l_Lean_Name_str___override(x_43, x_331); +x_333 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__79; +lean_inc(x_43); +x_334 = l_Lean_Name_str___override(x_43, x_333); +x_335 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__81; +lean_inc(x_43); +x_336 = l_Lean_Name_str___override(x_43, x_335); +x_337 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__7; +lean_inc(x_43); +x_338 = l_Lean_Name_str___override(x_43, x_337); +x_339 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__11; +lean_inc(x_66); +lean_inc(x_71); +x_340 = l_Lean_addMacroScope(x_71, x_339, x_66); +x_341 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__10; +lean_inc(x_1); +lean_inc(x_64); +x_342 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_342, 0, x_64); lean_ctor_set(x_342, 1, x_341); lean_ctor_set(x_342, 2, x_340); -x_343 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__42; -lean_inc(x_58); -x_344 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_344, 0, x_58); -lean_ctor_set(x_344, 1, x_343); -x_345 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__46; -lean_inc(x_306); -x_346 = lean_array_push(x_345, x_306); -x_347 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_347, 0, x_44); -lean_ctor_set(x_347, 1, x_341); -lean_ctor_set(x_347, 2, x_346); -x_348 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__33; -x_349 = lean_array_push(x_348, x_342); -x_350 = lean_array_push(x_349, x_344); -x_351 = lean_array_push(x_350, x_347); -x_352 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_352, 0, x_44); -lean_ctor_set(x_352, 1, x_300); -lean_ctor_set(x_352, 2, x_351); -x_353 = lean_array_push(x_41, x_338); -x_354 = lean_array_push(x_353, x_352); -x_355 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_355, 0, x_44); -lean_ctor_set(x_355, 1, x_300); -lean_ctor_set(x_355, 2, x_354); -x_356 = lean_array_push(x_328, x_355); -x_357 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__32; -x_358 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_358, 0, x_44); -lean_ctor_set(x_358, 1, x_357); -lean_ctor_set(x_358, 2, x_356); -x_359 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__117; -x_360 = lean_array_push(x_359, x_317); -x_361 = lean_array_push(x_360, x_321); -x_362 = lean_array_push(x_361, x_325); -x_363 = lean_array_push(x_362, x_330); -x_364 = lean_array_push(x_363, x_336); -lean_inc(x_306); -x_365 = lean_array_push(x_364, x_306); -x_366 = lean_array_push(x_365, x_358); -x_367 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__2; +lean_ctor_set(x_342, 3, x_1); +lean_inc(x_342); +x_343 = lean_array_push(x_110, x_342); +x_344 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_344, 0, x_52); +lean_ctor_set(x_344, 1, x_81); +lean_ctor_set(x_344, 2, x_343); +x_345 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115; +x_346 = lean_array_push(x_345, x_282); +lean_inc(x_344); +x_347 = lean_array_push(x_346, x_344); +x_348 = lean_array_push(x_347, x_101); +x_349 = lean_array_push(x_348, x_313); +x_350 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_350, 0, x_52); +lean_ctor_set(x_350, 1, x_338); +lean_ctor_set(x_350, 2, x_349); +x_351 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__1; +lean_inc(x_43); +x_352 = l_Lean_Name_str___override(x_43, x_351); +x_353 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__3; +lean_inc(x_64); +x_354 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_354, 0, x_64); +lean_ctor_set(x_354, 1, x_353); +x_355 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__15; +lean_inc(x_66); +lean_inc(x_71); +x_356 = l_Lean_addMacroScope(x_71, x_355, x_66); +lean_inc(x_1); +x_357 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_357, 0, x_355); +lean_ctor_set(x_357, 1, x_1); +lean_inc(x_1); +x_358 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_358, 0, x_357); +lean_ctor_set(x_358, 1, x_1); +x_359 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__14; +lean_inc(x_64); +x_360 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_360, 0, x_64); +lean_ctor_set(x_360, 1, x_359); +lean_ctor_set(x_360, 2, x_356); +lean_ctor_set(x_360, 3, x_358); +x_361 = lean_array_push(x_49, x_360); +lean_inc(x_344); +x_362 = lean_array_push(x_361, x_344); +lean_inc(x_239); +x_363 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_363, 0, x_52); +lean_ctor_set(x_363, 1, x_239); +lean_ctor_set(x_363, 2, x_362); +x_364 = lean_array_push(x_345, x_354); +x_365 = lean_array_push(x_364, x_101); +lean_inc(x_365); +x_366 = lean_array_push(x_365, x_363); +lean_inc(x_204); +x_367 = lean_array_push(x_366, x_204); +lean_inc(x_352); x_368 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_368, 0, x_44); -lean_ctor_set(x_368, 1, x_367); -lean_ctor_set(x_368, 2, x_366); -x_369 = lean_array_push(x_41, x_315); -lean_inc(x_369); -x_370 = lean_array_push(x_369, x_368); -x_371 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__37; -x_372 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_372, 0, x_44); -lean_ctor_set(x_372, 1, x_371); -lean_ctor_set(x_372, 2, x_370); -lean_inc(x_306); -x_373 = lean_array_push(x_328, x_306); -x_374 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__124; -x_375 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_375, 0, x_44); -lean_ctor_set(x_375, 1, x_374); -lean_ctor_set(x_375, 2, x_373); -x_376 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__205; -lean_inc(x_58); -x_377 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_377, 0, x_58); -lean_ctor_set(x_377, 1, x_376); -x_378 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__26; -lean_inc(x_58); -x_379 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_379, 0, x_58); -lean_ctor_set(x_379, 1, x_378); -x_380 = lean_array_push(x_41, x_50); -x_381 = lean_array_push(x_380, x_56); +lean_ctor_set(x_368, 0, x_52); +lean_ctor_set(x_368, 1, x_352); +lean_ctor_set(x_368, 2, x_367); +x_369 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__19; +lean_inc(x_66); +lean_inc(x_71); +x_370 = l_Lean_addMacroScope(x_71, x_369, x_66); +x_371 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__16; +x_372 = l_Lean_Name_str___override(x_14, x_371); +lean_inc(x_1); +x_373 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_373, 0, x_372); +lean_ctor_set(x_373, 1, x_1); +lean_inc(x_1); +x_374 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_374, 0, x_373); +lean_ctor_set(x_374, 1, x_1); +x_375 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__18; +lean_inc(x_64); +x_376 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_376, 0, x_64); +lean_ctor_set(x_376, 1, x_375); +lean_ctor_set(x_376, 2, x_370); +lean_ctor_set(x_376, 3, x_374); +x_377 = lean_array_push(x_49, x_376); +x_378 = lean_array_push(x_377, x_344); +lean_inc(x_239); +x_379 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_379, 0, x_52); +lean_ctor_set(x_379, 1, x_239); +lean_ctor_set(x_379, 2, x_378); +x_380 = lean_array_push(x_365, x_379); +x_381 = lean_array_push(x_380, x_204); x_382 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_382, 0, x_44); -lean_ctor_set(x_382, 1, x_300); +lean_ctor_set(x_382, 0, x_52); +lean_ctor_set(x_382, 1, x_352); lean_ctor_set(x_382, 2, x_381); -x_383 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__53; -x_384 = lean_array_push(x_383, x_382); -x_385 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; -x_386 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_386, 0, x_44); -lean_ctor_set(x_386, 1, x_385); -lean_ctor_set(x_386, 2, x_384); -x_387 = lean_array_push(x_41, x_379); -x_388 = lean_array_push(x_387, x_386); -x_389 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__95; +x_383 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1___closed__1; +lean_inc(x_43); +x_384 = l_Lean_Name_str___override(x_43, x_383); +x_385 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__23; +lean_inc(x_66); +lean_inc(x_71); +x_386 = l_Lean_addMacroScope(x_71, x_385, x_66); +x_387 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__22; +lean_inc(x_1); +lean_inc(x_64); +x_388 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_388, 0, x_64); +lean_ctor_set(x_388, 1, x_387); +lean_ctor_set(x_388, 2, x_386); +lean_ctor_set(x_388, 3, x_1); +lean_inc(x_388); +x_389 = lean_array_push(x_110, x_388); x_390 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_390, 0, x_44); -lean_ctor_set(x_390, 1, x_389); -lean_ctor_set(x_390, 2, x_388); -lean_inc(x_322); -x_391 = lean_array_push(x_322, x_390); -x_392 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__143; -x_393 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_393, 0, x_44); -lean_ctor_set(x_393, 1, x_392); -lean_ctor_set(x_393, 2, x_391); -x_394 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__224; -lean_inc(x_60); -lean_inc(x_295); -x_395 = l_Lean_addMacroScope(x_295, x_394, x_60); -x_396 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__225; +lean_ctor_set(x_390, 0, x_52); +lean_ctor_set(x_390, 1, x_81); +lean_ctor_set(x_390, 2, x_389); +x_391 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__38; +lean_inc(x_64); +x_392 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_392, 0, x_64); +lean_ctor_set(x_392, 1, x_391); +x_393 = lean_array_push(x_49, x_392); +lean_inc(x_57); +lean_inc(x_393); +x_394 = lean_array_push(x_393, x_57); +x_395 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_395, 0, x_52); +lean_ctor_set(x_395, 1, x_81); +lean_ctor_set(x_395, 2, x_394); +x_396 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__99; +x_397 = lean_array_push(x_396, x_249); +x_398 = lean_array_push(x_397, x_390); +lean_inc(x_398); +x_399 = lean_array_push(x_398, x_395); +x_400 = lean_array_push(x_399, x_101); +lean_inc(x_264); +x_401 = lean_array_push(x_400, x_264); +lean_inc(x_384); +x_402 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_402, 0, x_52); +lean_ctor_set(x_402, 1, x_384); +lean_ctor_set(x_402, 2, x_401); +x_403 = lean_array_push(x_345, x_350); +x_404 = lean_array_push(x_403, x_368); +x_405 = lean_array_push(x_404, x_382); +lean_inc(x_405); +x_406 = lean_array_push(x_405, x_402); +x_407 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_407, 0, x_52); +lean_ctor_set(x_407, 1, x_81); +lean_ctor_set(x_407, 2, x_406); +x_408 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__36; +lean_inc(x_43); +x_409 = l_Lean_Name_str___override(x_43, x_408); +x_410 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__27; +lean_inc(x_66); +lean_inc(x_71); +x_411 = l_Lean_addMacroScope(x_71, x_410, x_66); lean_inc(x_1); -x_397 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_397, 0, x_396); -lean_ctor_set(x_397, 1, x_1); +x_412 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_412, 0, x_410); +lean_ctor_set(x_412, 1, x_1); lean_inc(x_1); -x_398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_398, 0, x_397); -lean_ctor_set(x_398, 1, x_1); -x_399 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__223; -lean_inc(x_58); -x_400 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_400, 0, x_58); -lean_ctor_set(x_400, 1, x_399); -lean_ctor_set(x_400, 2, x_395); -lean_ctor_set(x_400, 3, x_398); -x_401 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__109; -lean_inc(x_58); -x_402 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_402, 0, x_58); -lean_ctor_set(x_402, 1, x_401); -x_403 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__3; -lean_inc(x_58); -x_404 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_404, 0, x_58); -lean_ctor_set(x_404, 1, x_403); -x_405 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__10; -lean_inc(x_60); -lean_inc(x_295); -x_406 = l_Lean_addMacroScope(x_295, x_405, x_60); -x_407 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__9; +x_413 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_413, 0, x_412); +lean_ctor_set(x_413, 1, x_1); +x_414 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__26; +lean_inc(x_64); +x_415 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_415, 0, x_64); +lean_ctor_set(x_415, 1, x_414); +lean_ctor_set(x_415, 2, x_411); +lean_ctor_set(x_415, 3, x_413); +x_416 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__31; +lean_inc(x_66); +lean_inc(x_71); +x_417 = l_Lean_addMacroScope(x_71, x_416, x_66); lean_inc(x_1); -lean_inc(x_58); -x_408 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_408, 0, x_58); -lean_ctor_set(x_408, 1, x_407); -lean_ctor_set(x_408, 2, x_406); -lean_ctor_set(x_408, 3, x_1); -lean_inc(x_408); -x_409 = lean_array_push(x_328, x_408); -x_410 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_410, 0, x_44); -lean_ctor_set(x_410, 1, x_300); -lean_ctor_set(x_410, 2, x_409); -x_411 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__6; -lean_inc(x_58); -x_412 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_412, 0, x_58); -lean_ctor_set(x_412, 1, x_411); -x_413 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__11; -lean_inc(x_58); -x_414 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_414, 0, x_58); -lean_ctor_set(x_414, 1, x_413); -x_415 = lean_array_push(x_322, x_408); -x_416 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__14; -x_417 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_417, 0, x_44); -lean_ctor_set(x_417, 1, x_416); -lean_ctor_set(x_417, 2, x_415); -x_418 = lean_array_push(x_328, x_417); -x_419 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_419, 0, x_44); -lean_ctor_set(x_419, 1, x_300); -lean_ctor_set(x_419, 2, x_418); -x_420 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__15; -lean_inc(x_58); -x_421 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_421, 0, x_58); +x_418 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_418, 0, x_416); +lean_ctor_set(x_418, 1, x_1); +lean_inc(x_1); +x_419 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_419, 0, x_418); +lean_ctor_set(x_419, 1, x_1); +x_420 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__30; +lean_inc(x_64); +x_421 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_421, 0, x_64); lean_ctor_set(x_421, 1, x_420); -x_422 = lean_ctor_get(x_22, 4); -lean_inc(x_422); -x_423 = lean_array_get_size(x_422); -x_424 = lean_usize_of_nat(x_423); -lean_dec(x_423); -x_425 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__45(x_424, x_2, x_422); -lean_inc(x_3); -x_426 = l_Array_append___rarg(x_3, x_425); -x_427 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_427, 0, x_44); -lean_ctor_set(x_427, 1, x_300); -lean_ctor_set(x_427, 2, x_426); -x_428 = lean_array_push(x_328, x_427); -x_429 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__17; +lean_ctor_set(x_421, 2, x_417); +lean_ctor_set(x_421, 3, x_419); +x_422 = lean_array_push(x_148, x_421); +x_423 = lean_array_push(x_422, x_342); +lean_inc(x_423); +x_424 = lean_array_push(x_423, x_268); +x_425 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_425, 0, x_52); +lean_ctor_set(x_425, 1, x_81); +lean_ctor_set(x_425, 2, x_424); +x_426 = lean_array_push(x_49, x_415); +lean_inc(x_426); +x_427 = lean_array_push(x_426, x_425); +lean_inc(x_239); +x_428 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_428, 0, x_52); +lean_ctor_set(x_428, 1, x_239); +lean_ctor_set(x_428, 2, x_427); +lean_inc(x_393); +x_429 = lean_array_push(x_393, x_428); +lean_inc(x_409); x_430 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_430, 0, x_44); -lean_ctor_set(x_430, 1, x_429); -lean_ctor_set(x_430, 2, x_428); -x_431 = lean_array_push(x_307, x_414); -lean_inc(x_306); -x_432 = lean_array_push(x_431, x_306); -lean_inc(x_306); -x_433 = lean_array_push(x_432, x_306); -x_434 = lean_array_push(x_433, x_419); -x_435 = lean_array_push(x_434, x_421); -lean_inc(x_435); -x_436 = lean_array_push(x_435, x_430); -x_437 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__12; -x_438 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_438, 0, x_44); -lean_ctor_set(x_438, 1, x_437); -lean_ctor_set(x_438, 2, x_436); -x_439 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_440 = lean_array_push(x_439, x_410); -lean_inc(x_306); -x_441 = lean_array_push(x_440, x_306); -x_442 = lean_array_push(x_441, x_412); -lean_inc(x_442); -x_443 = lean_array_push(x_442, x_438); -x_444 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__6; +lean_ctor_set(x_430, 0, x_52); +lean_ctor_set(x_430, 1, x_409); +lean_ctor_set(x_430, 2, x_429); +x_431 = lean_array_push(x_110, x_430); +x_432 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_432, 0, x_52); +lean_ctor_set(x_432, 1, x_81); +lean_ctor_set(x_432, 2, x_431); +x_433 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__32; +lean_inc(x_43); +x_434 = l_Lean_Name_str___override(x_43, x_433); +lean_inc(x_64); +x_435 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_435, 0, x_64); +lean_ctor_set(x_435, 1, x_433); +x_436 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__33; +lean_inc(x_43); +x_437 = l_Lean_Name_str___override(x_43, x_436); +x_438 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__34; +lean_inc(x_43); +x_439 = l_Lean_Name_str___override(x_43, x_438); +x_440 = l_Lean_addMacroScope(x_71, x_15, x_66); +x_441 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__140; +lean_inc(x_64); +x_442 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_442, 0, x_64); +lean_ctor_set(x_442, 1, x_441); +lean_ctor_set(x_442, 2, x_440); +lean_ctor_set(x_442, 3, x_1); +x_443 = lean_array_push(x_49, x_442); +x_444 = lean_array_push(x_443, x_101); x_445 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_445, 0, x_44); -lean_ctor_set(x_445, 1, x_444); -lean_ctor_set(x_445, 2, x_443); -x_446 = lean_array_push(x_41, x_404); -lean_inc(x_446); -x_447 = lean_array_push(x_446, x_445); -x_448 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__4; +lean_ctor_set(x_445, 0, x_52); +lean_ctor_set(x_445, 1, x_81); +lean_ctor_set(x_445, 2, x_444); +lean_inc(x_393); +x_446 = lean_array_push(x_393, x_274); +lean_inc(x_409); +x_447 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_447, 0, x_52); +lean_ctor_set(x_447, 1, x_409); +lean_ctor_set(x_447, 2, x_446); +x_448 = lean_array_push(x_110, x_447); x_449 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_449, 0, x_44); -lean_ctor_set(x_449, 1, x_448); -lean_ctor_set(x_449, 2, x_447); -x_450 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93; -x_451 = lean_array_push(x_450, x_400); -lean_inc(x_306); -x_452 = lean_array_push(x_451, x_306); -lean_inc(x_306); -x_453 = lean_array_push(x_452, x_306); -lean_inc(x_402); -x_454 = lean_array_push(x_453, x_402); -x_455 = lean_array_push(x_454, x_449); -x_456 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__62; -x_457 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_457, 0, x_44); -lean_ctor_set(x_457, 1, x_456); -lean_ctor_set(x_457, 2, x_455); -x_458 = lean_array_push(x_328, x_457); -x_459 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__60; -x_460 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_460, 0, x_44); -lean_ctor_set(x_460, 1, x_459); -lean_ctor_set(x_460, 2, x_458); -x_461 = lean_array_push(x_328, x_460); -x_462 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__58; -x_463 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_463, 0, x_44); -lean_ctor_set(x_463, 1, x_462); -lean_ctor_set(x_463, 2, x_461); -x_464 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__231; -x_465 = l_Lean_addMacroScope(x_295, x_464, x_60); -x_466 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__232; -lean_inc(x_1); -x_467 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_467, 0, x_466); -lean_ctor_set(x_467, 1, x_1); -x_468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_468, 0, x_467); -lean_ctor_set(x_468, 1, x_1); -x_469 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__230; -x_470 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_470, 0, x_58); -lean_ctor_set(x_470, 1, x_469); -lean_ctor_set(x_470, 2, x_465); -lean_ctor_set(x_470, 3, x_468); -x_471 = lean_ctor_get(x_22, 5); +lean_ctor_set(x_449, 0, x_52); +lean_ctor_set(x_449, 1, x_81); +lean_ctor_set(x_449, 2, x_448); +x_450 = lean_array_push(x_345, x_445); +x_451 = lean_array_push(x_450, x_449); +lean_inc(x_234); +x_452 = lean_array_push(x_451, x_234); +x_453 = lean_array_push(x_452, x_321); +x_454 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_454, 0, x_52); +lean_ctor_set(x_454, 1, x_439); +lean_ctor_set(x_454, 2, x_453); +x_455 = lean_array_push(x_110, x_454); +x_456 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_456, 0, x_52); +lean_ctor_set(x_456, 1, x_437); +lean_ctor_set(x_456, 2, x_455); +x_457 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__35; +lean_inc(x_43); +x_458 = l_Lean_Name_str___override(x_43, x_457); +lean_inc(x_64); +x_459 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_459, 0, x_64); +lean_ctor_set(x_459, 1, x_457); +x_460 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__36; +lean_inc(x_43); +x_461 = l_Lean_Name_str___override(x_43, x_460); +x_462 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__59; +x_463 = lean_array_push(x_462, x_388); +x_464 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_464, 0, x_52); +lean_ctor_set(x_464, 1, x_461); +lean_ctor_set(x_464, 2, x_463); +x_465 = lean_array_push(x_110, x_464); +x_466 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_466, 0, x_52); +lean_ctor_set(x_466, 1, x_81); +lean_ctor_set(x_466, 2, x_465); +x_467 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__37; +x_468 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_468, 0, x_64); +lean_ctor_set(x_468, 1, x_467); +x_469 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__38; +x_470 = l_Lean_Name_str___override(x_43, x_469); +x_471 = lean_ctor_get(x_27, 1); lean_inc(x_471); -lean_dec(x_22); x_472 = lean_array_get_size(x_471); x_473 = lean_usize_of_nat(x_472); lean_dec(x_472); -x_474 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__45(x_473, x_2, x_471); -x_475 = l_Array_append___rarg(x_3, x_474); +x_474 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13(x_473, x_31, x_471); +x_475 = l_Array_append___rarg(x_79, x_474); x_476 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_476, 0, x_44); -lean_ctor_set(x_476, 1, x_300); +lean_ctor_set(x_476, 0, x_52); +lean_ctor_set(x_476, 1, x_81); lean_ctor_set(x_476, 2, x_475); -x_477 = lean_array_push(x_328, x_476); +x_477 = lean_array_push(x_110, x_476); +lean_inc(x_470); x_478 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_478, 0, x_44); -lean_ctor_set(x_478, 1, x_429); +lean_ctor_set(x_478, 0, x_52); +lean_ctor_set(x_478, 1, x_470); lean_ctor_set(x_478, 2, x_477); -x_479 = lean_array_push(x_435, x_478); -x_480 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_480, 0, x_44); -lean_ctor_set(x_480, 1, x_437); -lean_ctor_set(x_480, 2, x_479); -x_481 = lean_array_push(x_442, x_480); -x_482 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_482, 0, x_44); -lean_ctor_set(x_482, 1, x_444); -lean_ctor_set(x_482, 2, x_481); -x_483 = lean_array_push(x_446, x_482); -x_484 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_484, 0, x_44); -lean_ctor_set(x_484, 1, x_448); -lean_ctor_set(x_484, 2, x_483); -x_485 = lean_array_push(x_450, x_470); -lean_inc(x_306); -x_486 = lean_array_push(x_485, x_306); -lean_inc(x_306); -x_487 = lean_array_push(x_486, x_306); -x_488 = lean_array_push(x_487, x_402); -x_489 = lean_array_push(x_488, x_484); +x_479 = lean_array_push(x_314, x_459); +x_480 = lean_array_push(x_479, x_101); +x_481 = lean_array_push(x_480, x_101); +x_482 = lean_array_push(x_481, x_466); +x_483 = lean_array_push(x_482, x_468); +lean_inc(x_483); +x_484 = lean_array_push(x_483, x_478); +lean_inc(x_458); +x_485 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_485, 0, x_52); +lean_ctor_set(x_485, 1, x_458); +lean_ctor_set(x_485, 2, x_484); +x_486 = lean_array_push(x_345, x_435); +x_487 = lean_array_push(x_486, x_456); +x_488 = lean_array_push(x_487, x_101); +lean_inc(x_488); +x_489 = lean_array_push(x_488, x_485); +lean_inc(x_434); x_490 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_490, 0, x_44); -lean_ctor_set(x_490, 1, x_456); +lean_ctor_set(x_490, 0, x_52); +lean_ctor_set(x_490, 1, x_434); lean_ctor_set(x_490, 2, x_489); -x_491 = lean_array_push(x_328, x_490); -x_492 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_492, 0, x_44); -lean_ctor_set(x_492, 1, x_459); -lean_ctor_set(x_492, 2, x_491); -x_493 = lean_array_push(x_328, x_492); -x_494 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_494, 0, x_44); -lean_ctor_set(x_494, 1, x_462); -lean_ctor_set(x_494, 2, x_493); -x_495 = lean_array_push(x_439, x_463); -lean_inc(x_306); -x_496 = lean_array_push(x_495, x_306); -x_497 = lean_array_push(x_496, x_494); -lean_inc(x_306); -x_498 = lean_array_push(x_497, x_306); -x_499 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_499, 0, x_44); -lean_ctor_set(x_499, 1, x_300); -lean_ctor_set(x_499, 2, x_498); -x_500 = lean_array_push(x_348, x_327); -x_501 = lean_array_push(x_500, x_499); -lean_inc(x_306); -x_502 = lean_array_push(x_501, x_306); -x_503 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__56; -x_504 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_504, 0, x_44); -lean_ctor_set(x_504, 1, x_503); -lean_ctor_set(x_504, 2, x_502); -x_505 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__238; -x_506 = lean_array_push(x_505, x_375); -x_507 = lean_array_push(x_506, x_377); -lean_inc(x_306); -x_508 = lean_array_push(x_507, x_306); -lean_inc(x_306); -x_509 = lean_array_push(x_508, x_306); -x_510 = lean_array_push(x_509, x_393); -x_511 = lean_array_push(x_510, x_504); -lean_inc(x_306); -x_512 = lean_array_push(x_511, x_306); -x_513 = lean_array_push(x_512, x_306); -x_514 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__206; +x_491 = lean_array_push(x_396, x_292); +x_492 = lean_array_push(x_491, x_407); +x_493 = lean_array_push(x_492, x_432); +lean_inc(x_234); +x_494 = lean_array_push(x_493, x_234); +x_495 = lean_array_push(x_494, x_490); +lean_inc(x_336); +x_496 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_496, 0, x_52); +lean_ctor_set(x_496, 1, x_336); +lean_ctor_set(x_496, 2, x_495); +x_497 = lean_array_push(x_110, x_496); +lean_inc(x_334); +x_498 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_498, 0, x_52); +lean_ctor_set(x_498, 1, x_334); +lean_ctor_set(x_498, 2, x_497); +x_499 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__40; +x_500 = lean_array_push(x_499, x_498); +lean_inc(x_332); +x_501 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_501, 0, x_52); +lean_ctor_set(x_501, 1, x_332); +lean_ctor_set(x_501, 2, x_500); +lean_inc(x_393); +x_502 = lean_array_push(x_393, x_259); +x_503 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_503, 0, x_52); +lean_ctor_set(x_503, 1, x_81); +lean_ctor_set(x_503, 2, x_502); +x_504 = lean_array_push(x_398, x_503); +x_505 = lean_array_push(x_504, x_101); +x_506 = lean_array_push(x_505, x_264); +x_507 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_507, 0, x_52); +lean_ctor_set(x_507, 1, x_384); +lean_ctor_set(x_507, 2, x_506); +x_508 = lean_array_push(x_405, x_507); +x_509 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_509, 0, x_52); +lean_ctor_set(x_509, 1, x_81); +lean_ctor_set(x_509, 2, x_508); +x_510 = lean_array_push(x_423, x_57); +x_511 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_511, 0, x_52); +lean_ctor_set(x_511, 1, x_81); +lean_ctor_set(x_511, 2, x_510); +x_512 = lean_array_push(x_426, x_511); +x_513 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_513, 0, x_52); +lean_ctor_set(x_513, 1, x_239); +lean_ctor_set(x_513, 2, x_512); +x_514 = lean_array_push(x_393, x_513); x_515 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_515, 0, x_44); -lean_ctor_set(x_515, 1, x_514); -lean_ctor_set(x_515, 2, x_513); -x_516 = lean_array_push(x_369, x_515); +lean_ctor_set(x_515, 0, x_52); +lean_ctor_set(x_515, 1, x_409); +lean_ctor_set(x_515, 2, x_514); +x_516 = lean_array_push(x_110, x_515); x_517 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_517, 0, x_44); -lean_ctor_set(x_517, 1, x_371); +lean_ctor_set(x_517, 0, x_52); +lean_ctor_set(x_517, 1, x_81); lean_ctor_set(x_517, 2, x_516); -x_518 = lean_array_push(x_348, x_305); -x_519 = lean_array_push(x_518, x_372); -x_520 = lean_array_push(x_519, x_517); -x_521 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_521, 0, x_44); -lean_ctor_set(x_521, 1, x_300); -lean_ctor_set(x_521, 2, x_520); -x_522 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_522, 0, x_521); -lean_ctor_set(x_522, 1, x_293); -return x_522; +x_518 = lean_ctor_get(x_27, 2); +lean_inc(x_518); +lean_dec(x_27); +x_519 = lean_array_get_size(x_518); +x_520 = lean_usize_of_nat(x_519); +lean_dec(x_519); +x_521 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13(x_520, x_31, x_518); +x_522 = l_Array_append___rarg(x_79, x_521); +x_523 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_523, 0, x_52); +lean_ctor_set(x_523, 1, x_81); +lean_ctor_set(x_523, 2, x_522); +x_524 = lean_array_push(x_110, x_523); +x_525 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_525, 0, x_52); +lean_ctor_set(x_525, 1, x_470); +lean_ctor_set(x_525, 2, x_524); +x_526 = lean_array_push(x_483, x_525); +x_527 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_527, 0, x_52); +lean_ctor_set(x_527, 1, x_458); +lean_ctor_set(x_527, 2, x_526); +x_528 = lean_array_push(x_488, x_527); +x_529 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_529, 0, x_52); +lean_ctor_set(x_529, 1, x_434); +lean_ctor_set(x_529, 2, x_528); +x_530 = lean_array_push(x_396, x_302); +x_531 = lean_array_push(x_530, x_509); +x_532 = lean_array_push(x_531, x_517); +lean_inc(x_234); +x_533 = lean_array_push(x_532, x_234); +x_534 = lean_array_push(x_533, x_529); +x_535 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_535, 0, x_52); +lean_ctor_set(x_535, 1, x_336); +lean_ctor_set(x_535, 2, x_534); +x_536 = lean_array_push(x_110, x_535); +x_537 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_537, 0, x_52); +lean_ctor_set(x_537, 1, x_334); +lean_ctor_set(x_537, 2, x_536); +x_538 = lean_array_push(x_499, x_537); +x_539 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_539, 0, x_52); +lean_ctor_set(x_539, 1, x_332); +lean_ctor_set(x_539, 2, x_538); +x_540 = lean_array_push(x_345, x_501); +x_541 = lean_array_push(x_540, x_101); +x_542 = lean_array_push(x_541, x_539); +x_543 = lean_array_push(x_542, x_101); +x_544 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_544, 0, x_52); +lean_ctor_set(x_544, 1, x_81); +lean_ctor_set(x_544, 2, x_543); +x_545 = lean_array_push(x_49, x_109); +x_546 = lean_array_push(x_545, x_544); +x_547 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_547, 0, x_52); +lean_ctor_set(x_547, 1, x_330); +lean_ctor_set(x_547, 2, x_546); +x_548 = lean_array_push(x_110, x_547); +x_549 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_549, 0, x_52); +lean_ctor_set(x_549, 1, x_81); +lean_ctor_set(x_549, 2, x_548); +x_550 = lean_array_push(x_148, x_234); +x_551 = lean_array_push(x_550, x_328); +x_552 = lean_array_push(x_551, x_549); +x_553 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_553, 0, x_52); +lean_ctor_set(x_553, 1, x_232); +lean_ctor_set(x_553, 2, x_552); +x_554 = lean_array_push(x_158, x_227); +x_555 = lean_array_push(x_554, x_230); +x_556 = lean_array_push(x_555, x_107); +x_557 = lean_array_push(x_556, x_553); +x_558 = lean_array_push(x_557, x_101); +x_559 = lean_array_push(x_558, x_101); +x_560 = lean_array_push(x_559, x_101); +x_561 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_561, 0, x_52); +lean_ctor_set(x_561, 1, x_226); +lean_ctor_set(x_561, 2, x_560); +x_562 = lean_array_push(x_49, x_224); +x_563 = lean_array_push(x_562, x_561); +x_564 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_564, 0, x_52); +lean_ctor_set(x_564, 1, x_88); +lean_ctor_set(x_564, 2, x_563); +x_565 = lean_array_push(x_148, x_179); +x_566 = lean_array_push(x_565, x_86); +x_567 = lean_array_push(x_566, x_564); +x_568 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_568, 0, x_52); +lean_ctor_set(x_568, 1, x_75); +lean_ctor_set(x_568, 2, x_567); +x_569 = lean_array_push(x_49, x_173); +x_570 = lean_array_push(x_569, x_568); +x_571 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_571, 0, x_52); +lean_ctor_set(x_571, 1, x_81); +lean_ctor_set(x_571, 2, x_570); +lean_ctor_set(x_67, 0, x_571); +return x_67; +} +else +{ +lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; size_t x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; 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; size_t 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; size_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_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; +x_572 = lean_ctor_get(x_67, 0); +x_573 = lean_ctor_get(x_67, 1); +lean_inc(x_573); +lean_inc(x_572); +lean_dec(x_67); +x_574 = lean_ctor_get(x_572, 0); +lean_inc(x_574); +lean_dec(x_572); +x_575 = lean_environment_main_module(x_574); +x_576 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__7; +lean_inc(x_41); +x_577 = l_Lean_Name_str___override(x_41, x_576); +x_578 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__12; +lean_inc(x_577); +x_579 = l_Lean_Name_str___override(x_577, x_578); +x_580 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__14; +lean_inc(x_577); +x_581 = l_Lean_Name_str___override(x_577, x_580); +lean_inc(x_64); +x_582 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_582, 0, x_64); +lean_ctor_set(x_582, 1, x_580); +x_583 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; +lean_inc(x_11); +x_584 = l_Array_append___rarg(x_583, x_11); +x_585 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; +x_586 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_586, 0, x_52); +lean_ctor_set(x_586, 1, x_585); +lean_ctor_set(x_586, 2, x_584); +x_587 = lean_array_push(x_49, x_582); +lean_inc(x_587); +x_588 = lean_array_push(x_587, x_586); +lean_inc(x_581); +x_589 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_589, 0, x_52); +lean_ctor_set(x_589, 1, x_581); +lean_ctor_set(x_589, 2, x_588); +lean_inc(x_64); +x_590 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_590, 0, x_64); +lean_ctor_set(x_590, 1, x_578); +x_591 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__9; +lean_inc(x_577); +x_592 = l_Lean_Name_str___override(x_577, x_591); +x_593 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; +lean_inc(x_577); +x_594 = l_Lean_Name_str___override(x_577, x_593); +x_595 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__22; +lean_inc(x_594); +x_596 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_596, 0, x_52); +lean_ctor_set(x_596, 1, x_594); +lean_ctor_set(x_596, 2, x_595); +x_597 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__2; +lean_inc(x_577); +x_598 = l_Lean_Name_str___override(x_577, x_597); +lean_inc(x_64); +x_599 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_599, 0, x_64); +lean_ctor_set(x_599, 1, x_597); +x_600 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; +lean_inc(x_577); +x_601 = l_Lean_Name_str___override(x_577, x_600); +lean_inc(x_66); +lean_inc(x_575); +x_602 = l_Lean_addMacroScope(x_575, x_3, x_66); +lean_inc(x_1); +lean_inc(x_64); +x_603 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_603, 0, x_64); +lean_ctor_set(x_603, 1, x_4); +lean_ctor_set(x_603, 2, x_602); +lean_ctor_set(x_603, 3, x_1); +x_604 = lean_array_push(x_49, x_603); +x_605 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; +lean_inc(x_604); +x_606 = lean_array_push(x_604, x_605); +lean_inc(x_601); +x_607 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_607, 0, x_52); +lean_ctor_set(x_607, 1, x_601); +lean_ctor_set(x_607, 2, x_606); +x_608 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__32; +lean_inc(x_577); +x_609 = l_Lean_Name_str___override(x_577, x_608); +x_610 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__60; +x_611 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_611, 0, x_52); +lean_ctor_set(x_611, 1, x_609); +lean_ctor_set(x_611, 2, x_610); +x_612 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__76; +lean_inc(x_64); +x_613 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_613, 0, x_64); +lean_ctor_set(x_613, 1, x_612); +x_614 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; +lean_inc(x_613); +x_615 = lean_array_push(x_614, x_613); +x_616 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_616, 0, x_52); +lean_ctor_set(x_616, 1, x_585); +lean_ctor_set(x_616, 2, x_615); +x_617 = lean_ctor_get(x_27, 0); +lean_inc(x_617); +x_618 = lean_array_get_size(x_617); +x_619 = lean_usize_of_nat(x_618); +lean_dec(x_618); +x_620 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__12(x_619, x_31, x_617); +x_621 = l_Array_append___rarg(x_583, x_620); +x_622 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_622, 0, x_52); +lean_ctor_set(x_622, 1, x_585); +lean_ctor_set(x_622, 2, x_621); +x_623 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__34; +lean_inc(x_577); +x_624 = l_Lean_Name_str___override(x_577, x_623); +x_625 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__36; +lean_inc(x_64); +x_626 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_626, 0, x_64); +lean_ctor_set(x_626, 1, x_625); +x_627 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__42; +lean_inc(x_66); +lean_inc(x_575); +x_628 = l_Lean_addMacroScope(x_575, x_627, x_66); +x_629 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__39; +lean_inc(x_2); +x_630 = l_Lean_Name_str___override(x_2, x_629); +lean_inc(x_1); +x_631 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_631, 0, x_630); +lean_ctor_set(x_631, 1, x_1); +lean_inc(x_1); +x_632 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_632, 0, x_631); +lean_ctor_set(x_632, 1, x_1); +x_633 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__41; +lean_inc(x_64); +x_634 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_634, 0, x_64); +lean_ctor_set(x_634, 1, x_633); +lean_ctor_set(x_634, 2, x_628); +lean_ctor_set(x_634, 3, x_632); +x_635 = lean_array_push(x_49, x_634); +x_636 = lean_array_push(x_635, x_605); +x_637 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__38; +x_638 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_638, 0, x_52); +lean_ctor_set(x_638, 1, x_637); +lean_ctor_set(x_638, 2, x_636); +x_639 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__46; +lean_inc(x_64); +x_640 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_640, 0, x_64); +lean_ctor_set(x_640, 1, x_639); +x_641 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__50; +lean_inc(x_66); +lean_inc(x_575); +x_642 = l_Lean_addMacroScope(x_575, x_641, x_66); +x_643 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__47; +x_644 = l_Lean_Name_str___override(x_2, x_643); +lean_inc(x_1); +x_645 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_645, 0, x_644); +lean_ctor_set(x_645, 1, x_1); +lean_inc(x_1); +x_646 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_646, 0, x_645); +lean_ctor_set(x_646, 1, x_1); +x_647 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__49; +lean_inc(x_64); +x_648 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_648, 0, x_64); +lean_ctor_set(x_648, 1, x_647); +lean_ctor_set(x_648, 2, x_642); +lean_ctor_set(x_648, 3, x_646); +x_649 = lean_array_push(x_49, x_648); +x_650 = lean_array_push(x_649, x_605); +x_651 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_651, 0, x_52); +lean_ctor_set(x_651, 1, x_637); +lean_ctor_set(x_651, 2, x_650); +x_652 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__61; +x_653 = lean_array_push(x_652, x_638); +lean_inc(x_640); +x_654 = lean_array_push(x_653, x_640); +x_655 = lean_array_push(x_654, x_651); +x_656 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_656, 0, x_52); +lean_ctor_set(x_656, 1, x_585); +lean_ctor_set(x_656, 2, x_655); +x_657 = lean_array_push(x_49, x_626); +x_658 = lean_array_push(x_657, x_656); +x_659 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_659, 0, x_52); +lean_ctor_set(x_659, 1, x_585); +lean_ctor_set(x_659, 2, x_658); +x_660 = lean_array_push(x_614, x_659); +x_661 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_661, 0, x_52); +lean_ctor_set(x_661, 1, x_624); +lean_ctor_set(x_661, 2, x_660); +x_662 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__116; +x_663 = lean_array_push(x_662, x_599); +x_664 = lean_array_push(x_663, x_607); +lean_inc(x_611); +x_665 = lean_array_push(x_664, x_611); +x_666 = lean_array_push(x_665, x_616); +x_667 = lean_array_push(x_666, x_622); +x_668 = lean_array_push(x_667, x_605); +x_669 = lean_array_push(x_668, x_661); +x_670 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_670, 0, x_52); +lean_ctor_set(x_670, 1, x_598); +lean_ctor_set(x_670, 2, x_669); +x_671 = lean_array_push(x_49, x_596); +x_672 = lean_array_push(x_671, x_670); +lean_inc(x_592); +x_673 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_673, 0, x_52); +lean_ctor_set(x_673, 1, x_592); +lean_ctor_set(x_673, 2, x_672); +x_674 = lean_array_push(x_652, x_589); +lean_inc(x_590); +x_675 = lean_array_push(x_674, x_590); +x_676 = lean_array_push(x_675, x_673); +lean_inc(x_579); +x_677 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_677, 0, x_52); +lean_ctor_set(x_677, 1, x_579); +lean_ctor_set(x_677, 2, x_676); +x_678 = l_Array_append___rarg(x_12, x_11); +x_679 = l_Array_append___rarg(x_678, x_13); +x_680 = l_Array_append___rarg(x_583, x_679); +x_681 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_681, 0, x_52); +lean_ctor_set(x_681, 1, x_585); +lean_ctor_set(x_681, 2, x_680); +x_682 = lean_array_push(x_587, x_681); +x_683 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_683, 0, x_52); +lean_ctor_set(x_683, 1, x_581); +lean_ctor_set(x_683, 2, x_682); +x_684 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__117; +lean_inc(x_43); +x_685 = l_Lean_Name_str___override(x_43, x_684); +x_686 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__119; +lean_inc(x_64); +x_687 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_687, 0, x_64); +lean_ctor_set(x_687, 1, x_686); +x_688 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__120; +lean_inc(x_43); +x_689 = l_Lean_Name_str___override(x_43, x_688); +x_690 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__122; +lean_inc(x_43); +x_691 = l_Lean_Name_str___override(x_43, x_690); +x_692 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__55; +x_693 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_693, 0, x_52); +lean_ctor_set(x_693, 1, x_691); +lean_ctor_set(x_693, 2, x_692); +x_694 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__126; +x_695 = l_Lean_Name_str___override(x_41, x_694); +x_696 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__147; +x_697 = l_Lean_Name_str___override(x_695, x_696); +lean_inc(x_64); +x_698 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_698, 0, x_64); +lean_ctor_set(x_698, 1, x_696); +x_699 = lean_array_push(x_49, x_698); +x_700 = lean_array_push(x_699, x_605); +x_701 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_701, 0, x_52); +lean_ctor_set(x_701, 1, x_697); +lean_ctor_set(x_701, 2, x_700); +x_702 = lean_array_push(x_49, x_693); +x_703 = lean_array_push(x_702, x_701); +x_704 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_704, 0, x_52); +lean_ctor_set(x_704, 1, x_689); +lean_ctor_set(x_704, 2, x_703); +x_705 = lean_array_push(x_614, x_704); +x_706 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_706, 0, x_52); +lean_ctor_set(x_706, 1, x_585); +lean_ctor_set(x_706, 2, x_705); +x_707 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__135; +lean_inc(x_64); +x_708 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_708, 0, x_64); +lean_ctor_set(x_708, 1, x_707); +x_709 = lean_array_push(x_652, x_687); +x_710 = lean_array_push(x_709, x_706); +lean_inc(x_708); +x_711 = lean_array_push(x_710, x_708); +x_712 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_712, 0, x_52); +lean_ctor_set(x_712, 1, x_685); +lean_ctor_set(x_712, 2, x_711); +x_713 = lean_array_push(x_614, x_712); +x_714 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_714, 0, x_52); +lean_ctor_set(x_714, 1, x_585); +lean_ctor_set(x_714, 2, x_713); +x_715 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__3; +lean_inc(x_577); +x_716 = l_Lean_Name_str___override(x_577, x_715); +lean_inc(x_64); +x_717 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_717, 0, x_64); +lean_ctor_set(x_717, 1, x_715); +x_718 = lean_array_push(x_614, x_717); +x_719 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_719, 0, x_52); +lean_ctor_set(x_719, 1, x_716); +lean_ctor_set(x_719, 2, x_718); +x_720 = lean_array_push(x_614, x_719); +x_721 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_721, 0, x_52); +lean_ctor_set(x_721, 1, x_585); +lean_ctor_set(x_721, 2, x_720); +x_722 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__17; +x_723 = lean_array_push(x_722, x_714); +x_724 = lean_array_push(x_723, x_605); +x_725 = lean_array_push(x_724, x_605); +x_726 = lean_array_push(x_725, x_605); +x_727 = lean_array_push(x_726, x_721); +x_728 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_728, 0, x_52); +lean_ctor_set(x_728, 1, x_594); +lean_ctor_set(x_728, 2, x_727); +x_729 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__23; +lean_inc(x_577); +x_730 = l_Lean_Name_str___override(x_577, x_729); +lean_inc(x_64); +x_731 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_731, 0, x_64); +lean_ctor_set(x_731, 1, x_729); +x_732 = lean_array_push(x_49, x_62); +x_733 = lean_array_push(x_732, x_605); +x_734 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_734, 0, x_52); +lean_ctor_set(x_734, 1, x_601); +lean_ctor_set(x_734, 2, x_733); +x_735 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__149; +x_736 = l_Lean_Name_str___override(x_577, x_735); +x_737 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__90; +lean_inc(x_64); +x_738 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_738, 0, x_64); +lean_ctor_set(x_738, 1, x_737); +x_739 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__62; +lean_inc(x_43); +x_740 = l_Lean_Name_str___override(x_43, x_739); +lean_inc(x_64); +x_741 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_741, 0, x_64); +lean_ctor_set(x_741, 1, x_739); +x_742 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__39; +lean_inc(x_43); +x_743 = l_Lean_Name_str___override(x_43, x_742); +x_744 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__44; +lean_inc(x_66); +lean_inc(x_575); +x_745 = l_Lean_addMacroScope(x_575, x_744, x_66); +lean_inc(x_1); +lean_inc(x_5); +x_746 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_746, 0, x_5); +lean_ctor_set(x_746, 1, x_1); +lean_inc(x_1); +x_747 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_747, 0, x_746); +lean_ctor_set(x_747, 1, x_1); +x_748 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43; +lean_inc(x_64); +x_749 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_749, 0, x_64); +lean_ctor_set(x_749, 1, x_748); +lean_ctor_set(x_749, 2, x_745); +lean_ctor_set(x_749, 3, x_747); +x_750 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__50; +lean_inc(x_43); +x_751 = l_Lean_Name_str___override(x_43, x_750); +x_752 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52; +lean_inc(x_64); +x_753 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_753, 0, x_64); +lean_ctor_set(x_753, 1, x_752); +x_754 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__64; +lean_inc(x_43); +x_755 = l_Lean_Name_str___override(x_43, x_754); +x_756 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__66; +lean_inc(x_64); +x_757 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_757, 0, x_64); +lean_ctor_set(x_757, 1, x_756); +x_758 = lean_array_push(x_614, x_757); +x_759 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_759, 0, x_52); +lean_ctor_set(x_759, 1, x_755); +lean_ctor_set(x_759, 2, x_758); +x_760 = lean_array_push(x_614, x_759); +x_761 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_761, 0, x_52); +lean_ctor_set(x_761, 1, x_585); +lean_ctor_set(x_761, 2, x_760); +x_762 = lean_array_push(x_604, x_761); +lean_inc(x_743); +x_763 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_763, 0, x_52); +lean_ctor_set(x_763, 1, x_743); +lean_ctor_set(x_763, 2, x_762); +lean_inc(x_763); +x_764 = lean_array_push(x_49, x_763); +x_765 = lean_array_push(x_764, x_605); +x_766 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_766, 0, x_52); +lean_ctor_set(x_766, 1, x_585); +lean_ctor_set(x_766, 2, x_765); +x_767 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; +lean_inc(x_64); +x_768 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_768, 0, x_64); +lean_ctor_set(x_768, 1, x_767); +lean_inc(x_753); +x_769 = lean_array_push(x_652, x_753); +x_770 = lean_array_push(x_769, x_766); +lean_inc(x_768); +x_771 = lean_array_push(x_770, x_768); +x_772 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_772, 0, x_52); +lean_ctor_set(x_772, 1, x_751); +lean_ctor_set(x_772, 2, x_771); +lean_inc(x_57); +x_773 = lean_array_push(x_49, x_57); +lean_inc(x_772); +x_774 = lean_array_push(x_773, x_772); +x_775 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_775, 0, x_52); +lean_ctor_set(x_775, 1, x_585); +lean_ctor_set(x_775, 2, x_774); +x_776 = lean_array_push(x_49, x_749); +x_777 = lean_array_push(x_776, x_775); +lean_inc(x_743); +x_778 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_778, 0, x_52); +lean_ctor_set(x_778, 1, x_743); +lean_ctor_set(x_778, 2, x_777); +x_779 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__67; +lean_inc(x_43); +x_780 = l_Lean_Name_str___override(x_43, x_779); +x_781 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__69; +lean_inc(x_64); +x_782 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_782, 0, x_64); +lean_ctor_set(x_782, 1, x_781); +x_783 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__70; +lean_inc(x_43); +x_784 = l_Lean_Name_str___override(x_43, x_783); +x_785 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__72; +lean_inc(x_64); +x_786 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_786, 0, x_64); +lean_ctor_set(x_786, 1, x_785); +x_787 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__4; +lean_inc(x_43); +x_788 = l_Lean_Name_str___override(x_43, x_787); +x_789 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__86; +lean_inc(x_66); +lean_inc(x_575); +x_790 = l_Lean_addMacroScope(x_575, x_789, x_66); +x_791 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__83; +lean_inc(x_5); +x_792 = l_Lean_Name_str___override(x_5, x_791); +lean_inc(x_1); +x_793 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_793, 0, x_792); +lean_ctor_set(x_793, 1, x_1); +lean_inc(x_1); +x_794 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_794, 0, x_793); +lean_ctor_set(x_794, 1, x_1); +x_795 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__85; +lean_inc(x_64); +x_796 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_796, 0, x_64); +lean_ctor_set(x_796, 1, x_795); +lean_ctor_set(x_796, 2, x_790); +lean_ctor_set(x_796, 3, x_794); +lean_inc(x_796); +x_797 = lean_array_push(x_614, x_796); +lean_inc(x_788); +x_798 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_798, 0, x_52); +lean_ctor_set(x_798, 1, x_788); +lean_ctor_set(x_798, 2, x_797); +x_799 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__103; +lean_inc(x_66); +lean_inc(x_575); +x_800 = l_Lean_addMacroScope(x_575, x_799, x_66); +x_801 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__100; +x_802 = l_Lean_Name_str___override(x_5, x_801); +lean_inc(x_1); +x_803 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_803, 0, x_802); +lean_ctor_set(x_803, 1, x_1); +lean_inc(x_1); +x_804 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_804, 0, x_803); +lean_ctor_set(x_804, 1, x_1); +x_805 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__102; +lean_inc(x_64); +x_806 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_806, 0, x_64); +lean_ctor_set(x_806, 1, x_805); +lean_ctor_set(x_806, 2, x_800); +lean_ctor_set(x_806, 3, x_804); +lean_inc(x_806); +x_807 = lean_array_push(x_614, x_806); +x_808 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_808, 0, x_52); +lean_ctor_set(x_808, 1, x_788); +lean_ctor_set(x_808, 2, x_807); +x_809 = lean_array_push(x_652, x_798); +x_810 = lean_array_push(x_809, x_640); +x_811 = lean_array_push(x_810, x_808); +x_812 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_812, 0, x_52); +lean_ctor_set(x_812, 1, x_585); +lean_ctor_set(x_812, 2, x_811); +x_813 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__86; +lean_inc(x_43); +x_814 = l_Lean_Name_str___override(x_43, x_813); +x_815 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_815, 0, x_52); +lean_ctor_set(x_815, 1, x_814); +lean_ctor_set(x_815, 2, x_692); +x_816 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__89; +lean_inc(x_64); +x_817 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_817, 0, x_64); +lean_ctor_set(x_817, 1, x_816); +x_818 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__18; +lean_inc(x_786); +x_819 = lean_array_push(x_818, x_786); +x_820 = lean_array_push(x_819, x_605); +x_821 = lean_array_push(x_820, x_812); +x_822 = lean_array_push(x_821, x_815); +x_823 = lean_array_push(x_822, x_605); +lean_inc(x_817); +x_824 = lean_array_push(x_823, x_817); +x_825 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_825, 0, x_52); +lean_ctor_set(x_825, 1, x_784); +lean_ctor_set(x_825, 2, x_824); +x_826 = lean_array_push(x_49, x_782); +lean_inc(x_825); +x_827 = lean_array_push(x_826, x_825); +x_828 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_828, 0, x_52); +lean_ctor_set(x_828, 1, x_780); +lean_ctor_set(x_828, 2, x_827); +x_829 = lean_array_push(x_652, x_741); +lean_inc(x_778); +x_830 = lean_array_push(x_829, x_778); +x_831 = lean_array_push(x_830, x_828); +x_832 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_832, 0, x_52); +lean_ctor_set(x_832, 1, x_740); +lean_ctor_set(x_832, 2, x_831); +x_833 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__5; +lean_inc(x_43); +x_834 = l_Lean_Name_str___override(x_43, x_833); +x_835 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__6; +lean_inc(x_43); +x_836 = l_Lean_Name_str___override(x_43, x_835); +x_837 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__79; +lean_inc(x_43); +x_838 = l_Lean_Name_str___override(x_43, x_837); +x_839 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__81; +lean_inc(x_43); +x_840 = l_Lean_Name_str___override(x_43, x_839); +x_841 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__7; +lean_inc(x_43); +x_842 = l_Lean_Name_str___override(x_43, x_841); +x_843 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__11; +lean_inc(x_66); +lean_inc(x_575); +x_844 = l_Lean_addMacroScope(x_575, x_843, x_66); +x_845 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__10; +lean_inc(x_1); +lean_inc(x_64); +x_846 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_846, 0, x_64); +lean_ctor_set(x_846, 1, x_845); +lean_ctor_set(x_846, 2, x_844); +lean_ctor_set(x_846, 3, x_1); +lean_inc(x_846); +x_847 = lean_array_push(x_614, x_846); +x_848 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_848, 0, x_52); +lean_ctor_set(x_848, 1, x_585); +lean_ctor_set(x_848, 2, x_847); +x_849 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115; +x_850 = lean_array_push(x_849, x_786); +lean_inc(x_848); +x_851 = lean_array_push(x_850, x_848); +x_852 = lean_array_push(x_851, x_605); +x_853 = lean_array_push(x_852, x_817); +x_854 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_854, 0, x_52); +lean_ctor_set(x_854, 1, x_842); +lean_ctor_set(x_854, 2, x_853); +x_855 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__1; +lean_inc(x_43); +x_856 = l_Lean_Name_str___override(x_43, x_855); +x_857 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__3; +lean_inc(x_64); +x_858 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_858, 0, x_64); +lean_ctor_set(x_858, 1, x_857); +x_859 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__15; +lean_inc(x_66); +lean_inc(x_575); +x_860 = l_Lean_addMacroScope(x_575, x_859, x_66); +lean_inc(x_1); +x_861 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_861, 0, x_859); +lean_ctor_set(x_861, 1, x_1); +lean_inc(x_1); +x_862 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_862, 0, x_861); +lean_ctor_set(x_862, 1, x_1); +x_863 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__14; +lean_inc(x_64); +x_864 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_864, 0, x_64); +lean_ctor_set(x_864, 1, x_863); +lean_ctor_set(x_864, 2, x_860); +lean_ctor_set(x_864, 3, x_862); +x_865 = lean_array_push(x_49, x_864); +lean_inc(x_848); +x_866 = lean_array_push(x_865, x_848); +lean_inc(x_743); +x_867 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_867, 0, x_52); +lean_ctor_set(x_867, 1, x_743); +lean_ctor_set(x_867, 2, x_866); +x_868 = lean_array_push(x_849, x_858); +x_869 = lean_array_push(x_868, x_605); +lean_inc(x_869); +x_870 = lean_array_push(x_869, x_867); +lean_inc(x_708); +x_871 = lean_array_push(x_870, x_708); +lean_inc(x_856); +x_872 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_872, 0, x_52); +lean_ctor_set(x_872, 1, x_856); +lean_ctor_set(x_872, 2, x_871); +x_873 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__19; +lean_inc(x_66); +lean_inc(x_575); +x_874 = l_Lean_addMacroScope(x_575, x_873, x_66); +x_875 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__16; +x_876 = l_Lean_Name_str___override(x_14, x_875); +lean_inc(x_1); +x_877 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_877, 0, x_876); +lean_ctor_set(x_877, 1, x_1); +lean_inc(x_1); +x_878 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_878, 0, x_877); +lean_ctor_set(x_878, 1, x_1); +x_879 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__18; +lean_inc(x_64); +x_880 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_880, 0, x_64); +lean_ctor_set(x_880, 1, x_879); +lean_ctor_set(x_880, 2, x_874); +lean_ctor_set(x_880, 3, x_878); +x_881 = lean_array_push(x_49, x_880); +x_882 = lean_array_push(x_881, x_848); +lean_inc(x_743); +x_883 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_883, 0, x_52); +lean_ctor_set(x_883, 1, x_743); +lean_ctor_set(x_883, 2, x_882); +x_884 = lean_array_push(x_869, x_883); +x_885 = lean_array_push(x_884, x_708); +x_886 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_886, 0, x_52); +lean_ctor_set(x_886, 1, x_856); +lean_ctor_set(x_886, 2, x_885); +x_887 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1___closed__1; +lean_inc(x_43); +x_888 = l_Lean_Name_str___override(x_43, x_887); +x_889 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__23; +lean_inc(x_66); +lean_inc(x_575); +x_890 = l_Lean_addMacroScope(x_575, x_889, x_66); +x_891 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__22; +lean_inc(x_1); +lean_inc(x_64); +x_892 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_892, 0, x_64); +lean_ctor_set(x_892, 1, x_891); +lean_ctor_set(x_892, 2, x_890); +lean_ctor_set(x_892, 3, x_1); +lean_inc(x_892); +x_893 = lean_array_push(x_614, x_892); +x_894 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_894, 0, x_52); +lean_ctor_set(x_894, 1, x_585); +lean_ctor_set(x_894, 2, x_893); +x_895 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__38; +lean_inc(x_64); +x_896 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_896, 0, x_64); +lean_ctor_set(x_896, 1, x_895); +x_897 = lean_array_push(x_49, x_896); +lean_inc(x_57); +lean_inc(x_897); +x_898 = lean_array_push(x_897, x_57); +x_899 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_899, 0, x_52); +lean_ctor_set(x_899, 1, x_585); +lean_ctor_set(x_899, 2, x_898); +x_900 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__99; +x_901 = lean_array_push(x_900, x_753); +x_902 = lean_array_push(x_901, x_894); +lean_inc(x_902); +x_903 = lean_array_push(x_902, x_899); +x_904 = lean_array_push(x_903, x_605); +lean_inc(x_768); +x_905 = lean_array_push(x_904, x_768); +lean_inc(x_888); +x_906 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_906, 0, x_52); +lean_ctor_set(x_906, 1, x_888); +lean_ctor_set(x_906, 2, x_905); +x_907 = lean_array_push(x_849, x_854); +x_908 = lean_array_push(x_907, x_872); +x_909 = lean_array_push(x_908, x_886); +lean_inc(x_909); +x_910 = lean_array_push(x_909, x_906); +x_911 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_911, 0, x_52); +lean_ctor_set(x_911, 1, x_585); +lean_ctor_set(x_911, 2, x_910); +x_912 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__36; +lean_inc(x_43); +x_913 = l_Lean_Name_str___override(x_43, x_912); +x_914 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__27; +lean_inc(x_66); +lean_inc(x_575); +x_915 = l_Lean_addMacroScope(x_575, x_914, x_66); +lean_inc(x_1); +x_916 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_916, 0, x_914); +lean_ctor_set(x_916, 1, x_1); +lean_inc(x_1); +x_917 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_917, 0, x_916); +lean_ctor_set(x_917, 1, x_1); +x_918 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__26; +lean_inc(x_64); +x_919 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_919, 0, x_64); +lean_ctor_set(x_919, 1, x_918); +lean_ctor_set(x_919, 2, x_915); +lean_ctor_set(x_919, 3, x_917); +x_920 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__31; +lean_inc(x_66); +lean_inc(x_575); +x_921 = l_Lean_addMacroScope(x_575, x_920, x_66); +lean_inc(x_1); +x_922 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_922, 0, x_920); +lean_ctor_set(x_922, 1, x_1); +lean_inc(x_1); +x_923 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_923, 0, x_922); +lean_ctor_set(x_923, 1, x_1); +x_924 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__30; +lean_inc(x_64); +x_925 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_925, 0, x_64); +lean_ctor_set(x_925, 1, x_924); +lean_ctor_set(x_925, 2, x_921); +lean_ctor_set(x_925, 3, x_923); +x_926 = lean_array_push(x_652, x_925); +x_927 = lean_array_push(x_926, x_846); +lean_inc(x_927); +x_928 = lean_array_push(x_927, x_772); +x_929 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_929, 0, x_52); +lean_ctor_set(x_929, 1, x_585); +lean_ctor_set(x_929, 2, x_928); +x_930 = lean_array_push(x_49, x_919); +lean_inc(x_930); +x_931 = lean_array_push(x_930, x_929); +lean_inc(x_743); +x_932 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_932, 0, x_52); +lean_ctor_set(x_932, 1, x_743); +lean_ctor_set(x_932, 2, x_931); +lean_inc(x_897); +x_933 = lean_array_push(x_897, x_932); +lean_inc(x_913); +x_934 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_934, 0, x_52); +lean_ctor_set(x_934, 1, x_913); +lean_ctor_set(x_934, 2, x_933); +x_935 = lean_array_push(x_614, x_934); +x_936 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_936, 0, x_52); +lean_ctor_set(x_936, 1, x_585); +lean_ctor_set(x_936, 2, x_935); +x_937 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__32; +lean_inc(x_43); +x_938 = l_Lean_Name_str___override(x_43, x_937); +lean_inc(x_64); +x_939 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_939, 0, x_64); +lean_ctor_set(x_939, 1, x_937); +x_940 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__33; +lean_inc(x_43); +x_941 = l_Lean_Name_str___override(x_43, x_940); +x_942 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__34; +lean_inc(x_43); +x_943 = l_Lean_Name_str___override(x_43, x_942); +x_944 = l_Lean_addMacroScope(x_575, x_15, x_66); +x_945 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__140; +lean_inc(x_64); +x_946 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_946, 0, x_64); +lean_ctor_set(x_946, 1, x_945); +lean_ctor_set(x_946, 2, x_944); +lean_ctor_set(x_946, 3, x_1); +x_947 = lean_array_push(x_49, x_946); +x_948 = lean_array_push(x_947, x_605); +x_949 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_949, 0, x_52); +lean_ctor_set(x_949, 1, x_585); +lean_ctor_set(x_949, 2, x_948); +lean_inc(x_897); +x_950 = lean_array_push(x_897, x_778); +lean_inc(x_913); +x_951 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_951, 0, x_52); +lean_ctor_set(x_951, 1, x_913); +lean_ctor_set(x_951, 2, x_950); +x_952 = lean_array_push(x_614, x_951); +x_953 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_953, 0, x_52); +lean_ctor_set(x_953, 1, x_585); +lean_ctor_set(x_953, 2, x_952); +x_954 = lean_array_push(x_849, x_949); +x_955 = lean_array_push(x_954, x_953); +lean_inc(x_738); +x_956 = lean_array_push(x_955, x_738); +x_957 = lean_array_push(x_956, x_825); +x_958 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_958, 0, x_52); +lean_ctor_set(x_958, 1, x_943); +lean_ctor_set(x_958, 2, x_957); +x_959 = lean_array_push(x_614, x_958); +x_960 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_960, 0, x_52); +lean_ctor_set(x_960, 1, x_941); +lean_ctor_set(x_960, 2, x_959); +x_961 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__35; +lean_inc(x_43); +x_962 = l_Lean_Name_str___override(x_43, x_961); +lean_inc(x_64); +x_963 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_963, 0, x_64); +lean_ctor_set(x_963, 1, x_961); +x_964 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__36; +lean_inc(x_43); +x_965 = l_Lean_Name_str___override(x_43, x_964); +x_966 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__59; +x_967 = lean_array_push(x_966, x_892); +x_968 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_968, 0, x_52); +lean_ctor_set(x_968, 1, x_965); +lean_ctor_set(x_968, 2, x_967); +x_969 = lean_array_push(x_614, x_968); +x_970 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_970, 0, x_52); +lean_ctor_set(x_970, 1, x_585); +lean_ctor_set(x_970, 2, x_969); +x_971 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__37; +x_972 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_972, 0, x_64); +lean_ctor_set(x_972, 1, x_971); +x_973 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__38; +x_974 = l_Lean_Name_str___override(x_43, x_973); +x_975 = lean_ctor_get(x_27, 1); +lean_inc(x_975); +x_976 = lean_array_get_size(x_975); +x_977 = lean_usize_of_nat(x_976); +lean_dec(x_976); +x_978 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13(x_977, x_31, x_975); +x_979 = l_Array_append___rarg(x_583, x_978); +x_980 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_980, 0, x_52); +lean_ctor_set(x_980, 1, x_585); +lean_ctor_set(x_980, 2, x_979); +x_981 = lean_array_push(x_614, x_980); +lean_inc(x_974); +x_982 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_982, 0, x_52); +lean_ctor_set(x_982, 1, x_974); +lean_ctor_set(x_982, 2, x_981); +x_983 = lean_array_push(x_818, x_963); +x_984 = lean_array_push(x_983, x_605); +x_985 = lean_array_push(x_984, x_605); +x_986 = lean_array_push(x_985, x_970); +x_987 = lean_array_push(x_986, x_972); +lean_inc(x_987); +x_988 = lean_array_push(x_987, x_982); +lean_inc(x_962); +x_989 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_989, 0, x_52); +lean_ctor_set(x_989, 1, x_962); +lean_ctor_set(x_989, 2, x_988); +x_990 = lean_array_push(x_849, x_939); +x_991 = lean_array_push(x_990, x_960); +x_992 = lean_array_push(x_991, x_605); +lean_inc(x_992); +x_993 = lean_array_push(x_992, x_989); +lean_inc(x_938); +x_994 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_994, 0, x_52); +lean_ctor_set(x_994, 1, x_938); +lean_ctor_set(x_994, 2, x_993); +x_995 = lean_array_push(x_900, x_796); +x_996 = lean_array_push(x_995, x_911); +x_997 = lean_array_push(x_996, x_936); +lean_inc(x_738); +x_998 = lean_array_push(x_997, x_738); +x_999 = lean_array_push(x_998, x_994); +lean_inc(x_840); +x_1000 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1000, 0, x_52); +lean_ctor_set(x_1000, 1, x_840); +lean_ctor_set(x_1000, 2, x_999); +x_1001 = lean_array_push(x_614, x_1000); +lean_inc(x_838); +x_1002 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1002, 0, x_52); +lean_ctor_set(x_1002, 1, x_838); +lean_ctor_set(x_1002, 2, x_1001); +x_1003 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__40; +x_1004 = lean_array_push(x_1003, x_1002); +lean_inc(x_836); +x_1005 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1005, 0, x_52); +lean_ctor_set(x_1005, 1, x_836); +lean_ctor_set(x_1005, 2, x_1004); +lean_inc(x_897); +x_1006 = lean_array_push(x_897, x_763); +x_1007 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1007, 0, x_52); +lean_ctor_set(x_1007, 1, x_585); +lean_ctor_set(x_1007, 2, x_1006); +x_1008 = lean_array_push(x_902, x_1007); +x_1009 = lean_array_push(x_1008, x_605); +x_1010 = lean_array_push(x_1009, x_768); +x_1011 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1011, 0, x_52); +lean_ctor_set(x_1011, 1, x_888); +lean_ctor_set(x_1011, 2, x_1010); +x_1012 = lean_array_push(x_909, x_1011); +x_1013 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1013, 0, x_52); +lean_ctor_set(x_1013, 1, x_585); +lean_ctor_set(x_1013, 2, x_1012); +x_1014 = lean_array_push(x_927, x_57); +x_1015 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1015, 0, x_52); +lean_ctor_set(x_1015, 1, x_585); +lean_ctor_set(x_1015, 2, x_1014); +x_1016 = lean_array_push(x_930, x_1015); +x_1017 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1017, 0, x_52); +lean_ctor_set(x_1017, 1, x_743); +lean_ctor_set(x_1017, 2, x_1016); +x_1018 = lean_array_push(x_897, x_1017); +x_1019 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1019, 0, x_52); +lean_ctor_set(x_1019, 1, x_913); +lean_ctor_set(x_1019, 2, x_1018); +x_1020 = lean_array_push(x_614, x_1019); +x_1021 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1021, 0, x_52); +lean_ctor_set(x_1021, 1, x_585); +lean_ctor_set(x_1021, 2, x_1020); +x_1022 = lean_ctor_get(x_27, 2); +lean_inc(x_1022); +lean_dec(x_27); +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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13(x_1024, x_31, x_1022); +x_1026 = l_Array_append___rarg(x_583, x_1025); +x_1027 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1027, 0, x_52); +lean_ctor_set(x_1027, 1, x_585); +lean_ctor_set(x_1027, 2, x_1026); +x_1028 = lean_array_push(x_614, x_1027); +x_1029 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1029, 0, x_52); +lean_ctor_set(x_1029, 1, x_974); +lean_ctor_set(x_1029, 2, x_1028); +x_1030 = lean_array_push(x_987, x_1029); +x_1031 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1031, 0, x_52); +lean_ctor_set(x_1031, 1, x_962); +lean_ctor_set(x_1031, 2, x_1030); +x_1032 = lean_array_push(x_992, x_1031); +x_1033 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1033, 0, x_52); +lean_ctor_set(x_1033, 1, x_938); +lean_ctor_set(x_1033, 2, x_1032); +x_1034 = lean_array_push(x_900, x_806); +x_1035 = lean_array_push(x_1034, x_1013); +x_1036 = lean_array_push(x_1035, x_1021); +lean_inc(x_738); +x_1037 = lean_array_push(x_1036, x_738); +x_1038 = lean_array_push(x_1037, x_1033); +x_1039 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1039, 0, x_52); +lean_ctor_set(x_1039, 1, x_840); +lean_ctor_set(x_1039, 2, x_1038); +x_1040 = lean_array_push(x_614, x_1039); +x_1041 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1041, 0, x_52); +lean_ctor_set(x_1041, 1, x_838); +lean_ctor_set(x_1041, 2, x_1040); +x_1042 = lean_array_push(x_1003, x_1041); +x_1043 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1043, 0, x_52); +lean_ctor_set(x_1043, 1, x_836); +lean_ctor_set(x_1043, 2, x_1042); +x_1044 = lean_array_push(x_849, x_1005); +x_1045 = lean_array_push(x_1044, x_605); +x_1046 = lean_array_push(x_1045, x_1043); +x_1047 = lean_array_push(x_1046, x_605); +x_1048 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1048, 0, x_52); +lean_ctor_set(x_1048, 1, x_585); +lean_ctor_set(x_1048, 2, x_1047); +x_1049 = lean_array_push(x_49, x_613); +x_1050 = lean_array_push(x_1049, x_1048); +x_1051 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1051, 0, x_52); +lean_ctor_set(x_1051, 1, x_834); +lean_ctor_set(x_1051, 2, x_1050); +x_1052 = lean_array_push(x_614, x_1051); +x_1053 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1053, 0, x_52); +lean_ctor_set(x_1053, 1, x_585); +lean_ctor_set(x_1053, 2, x_1052); +x_1054 = lean_array_push(x_652, x_738); +x_1055 = lean_array_push(x_1054, x_832); +x_1056 = lean_array_push(x_1055, x_1053); +x_1057 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1057, 0, x_52); +lean_ctor_set(x_1057, 1, x_736); +lean_ctor_set(x_1057, 2, x_1056); +x_1058 = lean_array_push(x_662, x_731); +x_1059 = lean_array_push(x_1058, x_734); +x_1060 = lean_array_push(x_1059, x_611); +x_1061 = lean_array_push(x_1060, x_1057); +x_1062 = lean_array_push(x_1061, x_605); +x_1063 = lean_array_push(x_1062, x_605); +x_1064 = lean_array_push(x_1063, x_605); +x_1065 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1065, 0, x_52); +lean_ctor_set(x_1065, 1, x_730); +lean_ctor_set(x_1065, 2, x_1064); +x_1066 = lean_array_push(x_49, x_728); +x_1067 = lean_array_push(x_1066, x_1065); +x_1068 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1068, 0, x_52); +lean_ctor_set(x_1068, 1, x_592); +lean_ctor_set(x_1068, 2, x_1067); +x_1069 = lean_array_push(x_652, x_683); +x_1070 = lean_array_push(x_1069, x_590); +x_1071 = lean_array_push(x_1070, x_1068); +x_1072 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1072, 0, x_52); +lean_ctor_set(x_1072, 1, x_579); +lean_ctor_set(x_1072, 2, x_1071); +x_1073 = lean_array_push(x_49, x_677); +x_1074 = lean_array_push(x_1073, x_1072); +x_1075 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1075, 0, x_52); +lean_ctor_set(x_1075, 1, x_585); +lean_ctor_set(x_1075, 2, x_1074); +x_1076 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1076, 0, x_1075); +lean_ctor_set(x_1076, 1, x_573); +return x_1076; } } else { -uint8_t x_523; +uint8_t x_1077; +lean_dec(x_27); lean_dec(x_22); -lean_dec(x_17); +lean_dec(x_21); +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +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_523 = !lean_is_exclusive(x_26); -if (x_523 == 0) +x_1077 = !lean_is_exclusive(x_32); +if (x_1077 == 0) +{ +return x_32; +} +else +{ +lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; +x_1078 = lean_ctor_get(x_32, 0); +x_1079 = lean_ctor_get(x_32, 1); +lean_inc(x_1079); +lean_inc(x_1078); +lean_dec(x_32); +x_1080 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1080, 0, x_1078); +lean_ctor_set(x_1080, 1, x_1079); +return x_1080; +} +} +} +else +{ +uint8_t x_1081; +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +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_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_1081 = !lean_is_exclusive(x_26); +if (x_1081 == 0) { return x_26; } else { -lean_object* x_524; lean_object* x_525; lean_object* x_526; -x_524 = lean_ctor_get(x_26, 0); -x_525 = lean_ctor_get(x_26, 1); -lean_inc(x_525); -lean_inc(x_524); +lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; +x_1082 = lean_ctor_get(x_26, 0); +x_1083 = lean_ctor_get(x_26, 1); +lean_inc(x_1083); +lean_inc(x_1082); lean_dec(x_26); -x_526 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_526, 0, x_524); -lean_ctor_set(x_526, 1, x_525); -return x_526; -} -} -} -else -{ -uint8_t x_527; -lean_dec(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_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_527 = !lean_is_exclusive(x_21); -if (x_527 == 0) -{ -return x_21; -} -else -{ -lean_object* x_528; lean_object* x_529; lean_object* x_530; -x_528 = lean_ctor_get(x_21, 0); -x_529 = lean_ctor_get(x_21, 1); -lean_inc(x_529); -lean_inc(x_528); -lean_dec(x_21); -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_528); -lean_ctor_set(x_530, 1, x_529); -return x_530; +x_1084 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1084, 0, x_1082); +lean_ctor_set(x_1084, 1, x_1083); +return x_1084; } } } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___closed__1() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("RpcEncoding type binders : ", 27); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___closed__2() { +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_16; lean_object* x_17; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_32 = lean_st_ref_get(x_14, x_15); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_33, 3); -lean_inc(x_34); -lean_dec(x_33); -x_35 = lean_ctor_get_uint8(x_34, sizeof(void*)*1); -lean_dec(x_34); -if (x_35 == 0) -{ -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_32, 1); -lean_inc(x_36); -lean_dec(x_32); -x_37 = 0; -x_16 = x_37; -x_17 = x_36; -goto block_31; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_38 = lean_ctor_get(x_32, 1); -lean_inc(x_38); -lean_dec(x_32); -lean_inc(x_7); -x_39 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__2(x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_38); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_unbox(x_40); -lean_dec(x_40); -x_16 = x_42; -x_17 = x_41; -goto block_31; -} -block_31: -{ -if (x_16 == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_8); -lean_dec(x_7); -x_18 = lean_box(0); -x_19 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_17); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_20 = lean_array_to_list(lean_box(0), x_8); -lean_inc(x_1); -x_21 = l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_20, x_1); -x_22 = l_Lean_MessageData_ofList(x_21); -lean_dec(x_21); -x_23 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___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_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__6; -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_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__1(x_7, x_26, x_9, x_10, x_11, x_12, x_13, x_14, x_17); -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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_29); -lean_dec(x_28); -return x_30; -} -} -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__6___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_4); -lean_inc(x_1); -x_12 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2), 12, 1); -lean_closure_set(x_12, 0, x_1); -x_13 = l_Lean_Server_RpcEncoding_instInhabitedCtorState___closed__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_3); -lean_inc(x_2); -x_14 = l_Lean_Server_RpcEncoding_foldWithConstructors___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__33___rarg(x_2, x_3, x_12, 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_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_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 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; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_14 = lean_st_ref_get(x_12, x_13); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = lean_box(0); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -x_19 = lean_array_get_size(x_18); -x_20 = lean_usize_of_nat(x_19); -lean_dec(x_19); -x_21 = 0; -x_22 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35(x_20, x_21, x_18); -x_23 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -x_24 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__6___boxed__const__1; -x_25 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___boxed), 15, 7); -lean_closure_set(x_25, 0, x_17); -lean_closure_set(x_25, 1, x_24); -lean_closure_set(x_25, 2, x_23); -lean_closure_set(x_25, 3, x_2); -lean_closure_set(x_25, 4, x_3); -lean_closure_set(x_25, 5, x_15); -lean_closure_set(x_25, 6, x_1); -x_26 = lean_box(0); -x_27 = l_Lean_Meta_withLocalDecls___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__46___rarg(x_26, x_22, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_16); -return x_27; -} -else +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +lean_inc(x_11); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_11, x_12, x_16); +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_11, 10); +lean_inc(x_21); +x_22 = lean_st_ref_get(x_12, 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 = lean_box(0); +x_28 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__31; +x_29 = l_Lean_addMacroScope(x_26, x_28, x_21); +x_30 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__30; +x_31 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_31, 0, x_19); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_29); +lean_ctor_set(x_31, 3, x_27); +x_32 = l_Lean_Syntax_getId(x_31); +lean_dec(x_31); +x_33 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__1; +lean_inc(x_32); +x_34 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_27); +lean_ctor_set(x_34, 2, x_33); +x_35 = 1; +x_36 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_35); +x_37 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_37, 0, x_36); +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_38 = l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(x_37, x_7, x_8, x_9, x_10, x_11, x_12, x_24); +if (lean_obj_tag(x_38) == 0) { -uint8_t x_28; +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +lean_inc(x_32); +x_40 = l_Lean_Expr_const___override(x_32, x_27); +x_41 = lean_ctor_get(x_1, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +lean_dec(x_41); +lean_inc(x_42); +x_43 = l_Lean_Expr_const___override(x_42, x_27); +lean_inc(x_2); +x_44 = l_Lean_mkAppN(x_43, x_2); +x_45 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__1; +x_46 = l_Lean_mkAppB(x_45, x_44, x_40); +x_47 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; +x_48 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47; +x_49 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__5; +x_50 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__46; +x_51 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__141; +x_52 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___boxed), 23, 15); +lean_closure_set(x_52, 0, x_27); +lean_closure_set(x_52, 1, x_47); +lean_closure_set(x_52, 2, x_28); +lean_closure_set(x_52, 3, x_30); +lean_closure_set(x_52, 4, x_48); +lean_closure_set(x_52, 5, x_49); +lean_closure_set(x_52, 6, x_32); +lean_closure_set(x_52, 7, x_42); +lean_closure_set(x_52, 8, x_1); +lean_closure_set(x_52, 9, x_2); +lean_closure_set(x_52, 10, x_3); +lean_closure_set(x_52, 11, x_4); +lean_closure_set(x_52, 12, x_5); +lean_closure_set(x_52, 13, x_50); +lean_closure_set(x_52, 14, x_51); +x_53 = 3; +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_54 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__3___rarg(x_51, x_53, x_46, x_52, x_7, x_8, x_9, x_10, x_11, x_12, x_39); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +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 = l_Lean_setEnv___at_Lean_Elab_Term_expandDeclId___spec__7(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_56); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_28 = !lean_is_exclusive(x_14); -if (x_28 == 0) +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) { -return x_14; +lean_object* x_59; +x_59 = lean_ctor_get(x_57, 0); +lean_dec(x_59); +lean_ctor_set(x_57, 0, x_55); +return x_57; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_14, 0); -x_30 = lean_ctor_get(x_14, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_14); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_57, 1); +lean_inc(x_60); +lean_dec(x_57); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_55); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_62 = lean_ctor_get(x_54, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_54, 1); +lean_inc(x_63); +lean_dec(x_54); +x_64 = l_Lean_setEnv___at_Lean_Elab_Term_expandDeclId___spec__7(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_63); +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_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_64, 0); +lean_dec(x_66); +lean_ctor_set_tag(x_64, 1); +lean_ctor_set(x_64, 0, x_62); +return x_64; +} +else +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_64, 1); +lean_inc(x_67); +lean_dec(x_64); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_62); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_32); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_69 = lean_ctor_get(x_38, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_38, 1); +lean_inc(x_70); +lean_dec(x_38); +x_71 = l_Lean_setEnv___at_Lean_Elab_Term_expandDeclId___spec__7(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_70); +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_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +lean_object* x_73; +x_73 = lean_ctor_get(x_71, 0); +lean_dec(x_73); +lean_ctor_set_tag(x_71, 1); +lean_ctor_set(x_71, 0, x_69); +return x_71; +} +else +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_71, 1); +lean_inc(x_74); +lean_dec(x_71); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_69); +lean_ctor_set(x_75, 1, x_74); +return x_75; } } } @@ -18920,391 +12482,102 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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_10; uint8_t x_11; lean_object* x_12; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_10 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__5; -x_34 = lean_st_ref_get(x_8, x_9); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_35, 3); -lean_inc(x_36); -lean_dec(x_35); -x_37 = lean_ctor_get_uint8(x_36, sizeof(void*)*1); -lean_dec(x_36); -if (x_37 == 0) -{ -lean_object* x_38; uint8_t x_39; -x_38 = lean_ctor_get(x_34, 1); +lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_13 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__5; +x_37 = lean_st_ref_get(x_11, x_12); +x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); -lean_dec(x_34); -x_39 = 0; -x_11 = x_39; -x_12 = x_38; -goto block_33; +x_39 = lean_ctor_get(x_38, 3); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*1); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_37, 1); +lean_inc(x_41); +lean_dec(x_37); +x_42 = 0; +x_14 = x_42; +x_15 = x_41; +goto block_36; } else { -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_34, 1); -lean_inc(x_40); -lean_dec(x_34); -x_41 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__2(x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_40); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_37, 1); lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_unbox(x_42); -lean_dec(x_42); -x_11 = x_44; -x_12 = x_43; -goto block_33; +lean_dec(x_37); +x_44 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__2(x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_43); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_unbox(x_45); +lean_dec(x_45); +x_14 = x_47; +x_15 = x_46; +goto block_36; } -block_33: +block_36: { -if (x_11 == 0) +if (x_14 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_box(0); -x_14 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__6(x_10, x_1, x_2, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12); -return x_14; +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3(x_1, x_2, x_4, x_3, x_5, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +return x_17; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 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_15 = lean_ctor_get(x_1, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_17, 0, x_16); -x_18 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___closed__2; -x_19 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -x_20 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__9; -x_21 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, 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; lean_object* x_24; 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_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___closed__2; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__9; +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); lean_inc(x_2); -x_22 = lean_array_to_list(lean_box(0), x_2); -x_23 = lean_box(0); -x_24 = l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_22, x_23); -x_25 = l_Lean_MessageData_ofList(x_24); -lean_dec(x_24); -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__6; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__1(x_10, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_12); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__6(x_10, x_1, x_2, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_31); -return x_32; +x_25 = lean_array_to_list(lean_box(0), x_2); +x_26 = lean_box(0); +x_27 = l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_25, x_26); +x_28 = l_Lean_MessageData_ofList(x_27); +lean_dec(x_27); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_24); +lean_ctor_set(x_29, 1, x_28); +x_30 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__11; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__1(x_13, x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3(x_1, x_2, x_4, x_3, x_5, x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_34); +lean_dec(x_33); +return x_35; } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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; lean_object* x_13; -x_11 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1(x_11, x_12, 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_5); -lean_dec(x_4); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__6(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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__5___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_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__5(x_1, x_4, x_3); -lean_dec(x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -size_t x_7; lean_object* x_8; -x_7 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_8 = l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__9(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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8___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_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8(x_1, x_6, x_7, x_4, x_5); -return x_8; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Array_binInsertM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11___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_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__18(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__21___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__21(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_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__22___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__22(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_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__20___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__20(x_1, x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__23___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__23(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_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__19___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__19(x_1, x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__17(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__16(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__26(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__29___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__29(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_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__30___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__30(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_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__28___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Std_PersistentArray_anyMAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__28(x_1, x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__31___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__31(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_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__27___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Std_PersistentArray_anyM___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__27(x_1, x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__25(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__24(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___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_11; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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; lean_object* x_15; @@ -19312,132 +12585,14 @@ x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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_7); -lean_dec(x_2); +lean_dec(x_6); lean_dec(x_1); return x_15; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___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_9; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35(x_4, x_5, x_3); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__36(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_15; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__37___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -size_t x_11; size_t x_12; lean_object* x_13; -x_11 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__37(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__38___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__38(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__39___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, 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; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_18 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__39(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_1); -return x_19; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__40___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__40(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__41___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, 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; size_t x_18; lean_object* x_19; -x_17 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_18 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__41(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -return x_19; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__42___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_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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; @@ -19445,13 +12600,55 @@ x_6 = lean_unbox_usize(x_3); lean_dec(x_3); x_7 = lean_unbox_usize(x_4); lean_dec(x_4); -x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__42(x_1, x_2, x_6, x_7, x_5); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__2(x_1, x_2, x_6, x_7, x_5); lean_dec(x_2); lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__43___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__3(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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; +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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__4(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__5(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__6___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; @@ -19459,12 +12656,61 @@ 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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__43(x_1, x_5, x_6, x_4); +x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__6(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__44___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_18 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_1); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_18 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_1); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__11(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -19472,11 +12718,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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__44(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__12(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__45___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13___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; @@ -19484,51 +12730,81 @@ 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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__45(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__13(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; _start: { -lean_object* x_11; -x_11 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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_3); -return x_11; +lean_object* x_20; +x_20 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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, x_16, x_17, x_18, x_19); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_6); +return x_20; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; +lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; _start: { -size_t x_17; lean_object* x_18; -x_17 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_18 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3(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_9); -lean_dec(x_7); -return x_18; +lean_object* x_24; +x_24 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23); +lean_dec(x_16); +return x_24; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___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: { -size_t x_15; lean_object* x_16; -x_15 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_16 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4(x_1, x_15, 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); -return x_16; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; lean_object* x_17; -x_16 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_17 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5(x_1, x_16, 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); -return x_17; +lean_object* x_14; +x_14 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -19712,190 +12988,51 @@ return x_25; } } } -static lean_object* _init_l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__2() { _start: { lean_object* x_1; -x_1 = l_Lean_Elab_Term_instInhabitedTermElabM(lean_box(0)); +x_1 = lean_mk_string_from_bytes("Packet", 6); return x_1; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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; -x_9 = l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1; -x_10 = lean_panic_fn(x_9, x_1); -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_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("hole", 4); +x_1 = lean_mk_string_from_bytes("type", 4); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; +x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("_", 1); +x_1 = lean_mk_string_from_bytes("Type", 4); return x_1; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_13, x_14, x_15); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_st_ref_get(x_14, x_18); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 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_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -x_22 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__57; -lean_inc(x_1); -x_23 = l_Lean_Name_str___override(x_1, x_22); -x_24 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__59; -lean_inc(x_17); -x_25 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_25, 0, x_17); -lean_ctor_set(x_25, 1, x_24); -x_26 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; -lean_inc(x_1); -x_27 = l_Lean_Name_str___override(x_1, x_26); -x_28 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__73; -x_29 = l_Lean_Name_str___override(x_2, x_28); -x_30 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__207; -x_31 = l_Lean_Name_str___override(x_29, x_30); -x_32 = lean_mk_syntax_ident(x_31); -x_33 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__1; -x_34 = l_Lean_Name_str___override(x_1, x_33); -x_35 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__2; -lean_inc(x_17); -x_36 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_36, 0, x_17); -lean_ctor_set(x_36, 1, x_35); -x_37 = lean_array_push(x_3, x_36); -x_38 = lean_box(2); -x_39 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_34); -lean_ctor_set(x_39, 2, x_37); -x_40 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_41 = lean_array_push(x_40, x_4); -x_42 = lean_array_push(x_41, x_39); -x_43 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_43, 0, x_38); -lean_ctor_set(x_43, 1, x_5); -lean_ctor_set(x_43, 2, x_42); -x_44 = lean_array_push(x_40, x_32); -x_45 = lean_array_push(x_44, x_43); -x_46 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_46, 0, x_38); -lean_ctor_set(x_46, 1, x_27); -lean_ctor_set(x_46, 2, x_45); -x_47 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__68; -x_48 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_48, 0, x_17); -lean_ctor_set(x_48, 1, x_47); -x_49 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_50 = lean_array_push(x_49, x_25); -x_51 = lean_array_push(x_50, x_6); -x_52 = lean_array_push(x_51, x_46); -x_53 = lean_array_push(x_52, x_48); -x_54 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_54, 0, x_38); -lean_ctor_set(x_54, 1, x_23); -lean_ctor_set(x_54, 2, x_53); -x_55 = lean_array_push(x_7, x_54); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_19, 0, x_56); -return x_19; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_57 = lean_ctor_get(x_19, 1); -lean_inc(x_57); -lean_dec(x_19); -x_58 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__57; -lean_inc(x_1); -x_59 = l_Lean_Name_str___override(x_1, x_58); -x_60 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__59; -lean_inc(x_17); -x_61 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_61, 0, x_17); -lean_ctor_set(x_61, 1, x_60); -x_62 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; -lean_inc(x_1); -x_63 = l_Lean_Name_str___override(x_1, x_62); -x_64 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__73; -x_65 = l_Lean_Name_str___override(x_2, x_64); -x_66 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__207; -x_67 = l_Lean_Name_str___override(x_65, x_66); -x_68 = lean_mk_syntax_ident(x_67); -x_69 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__1; -x_70 = l_Lean_Name_str___override(x_1, x_69); -x_71 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__2; -lean_inc(x_17); -x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_17); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_array_push(x_3, x_72); -x_74 = lean_box(2); -x_75 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_70); -lean_ctor_set(x_75, 2, x_73); -x_76 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_77 = lean_array_push(x_76, x_4); -x_78 = lean_array_push(x_77, x_75); -x_79 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_79, 0, x_74); -lean_ctor_set(x_79, 1, x_5); -lean_ctor_set(x_79, 2, x_78); -x_80 = lean_array_push(x_76, x_68); -x_81 = lean_array_push(x_80, x_79); -x_82 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_82, 0, x_74); -lean_ctor_set(x_82, 1, x_63); -lean_ctor_set(x_82, 2, x_81); -x_83 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__68; -x_84 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_84, 0, x_17); -lean_ctor_set(x_84, 1, x_83); -x_85 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_86 = lean_array_push(x_85, x_61); -x_87 = lean_array_push(x_86, x_6); -x_88 = lean_array_push(x_87, x_82); -x_89 = lean_array_push(x_88, x_84); -x_90 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_90, 0, x_74); -lean_ctor_set(x_90, 1, x_59); -lean_ctor_set(x_90, 2, x_89); -x_91 = lean_array_push(x_7, x_90); -x_92 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_92, 0, 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_57); -return x_93; -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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; @@ -19914,162 +13051,844 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_22; +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_22; x_14 = lean_array_uget(x_1, x_3); +x_22 = !lean_is_exclusive(x_4); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_4, 0); +x_24 = lean_ctor_get(x_4, 1); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); lean_inc(x_7); lean_inc(x_14); -x_22 = l_Lean_Meta_getFVarLocalDecl(x_14, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_22) == 0) +x_27 = l_Lean_Meta_getFVarLocalDecl(x_14, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_LocalDecl_userName(x_23); -lean_dec(x_23); -lean_inc(x_9); -x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, x_24); -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; +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_st_ref_get(x_10, x_28); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -x_31 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__80; -lean_inc(x_27); -x_32 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_32, 0, x_27); -lean_ctor_set(x_32, 1, x_31); -x_33 = lean_mk_syntax_ident(x_25); -x_34 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__25; -lean_inc(x_33); -x_35 = lean_array_push(x_34, x_33); -x_36 = lean_box(2); -x_37 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_38 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -lean_ctor_set(x_38, 2, x_35); -x_39 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__92; -x_40 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_40, 0, x_27); -lean_ctor_set(x_40, 1, x_39); -x_41 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__93; -x_42 = lean_array_push(x_41, x_32); -x_43 = lean_array_push(x_42, x_38); -x_44 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__12; -x_45 = lean_array_push(x_43, x_44); -x_46 = lean_array_push(x_45, x_44); -x_47 = lean_array_push(x_46, x_40); -x_48 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__79; -x_49 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_49, 0, x_36); -lean_ctor_set(x_49, 1, x_48); -lean_ctor_set(x_49, 2, x_47); -x_50 = lean_array_push(x_4, x_49); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Lean_LocalDecl_userName(x_28); +lean_dec(x_28); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_51 = lean_infer_type(x_14, x_7, x_8, x_9, x_10, x_30); -if (lean_obj_tag(x_51) == 0) +lean_inc(x_14); +x_31 = lean_infer_type(x_14, x_7, x_8, x_9, x_10, x_29); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_52; lean_object* x_53; uint8_t 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); -x_54 = l_Lean_Expr_isType(x_52); -lean_dec(x_52); -if (x_54 == 0) -{ -lean_object* x_55; -lean_dec(x_33); -x_55 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_55, 0, x_50); -x_15 = x_55; -x_16 = x_53; -goto block_21; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_56 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; -x_57 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__4; -x_58 = lean_box(0); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +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_box(0); +lean_inc(x_10); lean_inc(x_9); -x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1(x_56, x_57, x_34, x_33, x_37, x_44, x_50, x_58, x_5, x_6, x_7, x_8, x_9, x_10, x_53); -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_15 = x_60; -x_16 = x_61; +lean_inc(x_8); +lean_inc(x_7); +x_35 = l_Lean_PrettyPrinter_delab(x_32, x_34, x_7, x_8, x_9, x_10, x_33); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 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_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +lean_inc(x_9); +x_38 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, 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); +lean_dec(x_38); +x_41 = lean_st_ref_get(x_10, x_40); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52; +lean_inc(x_39); +x_44 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_44, 0, x_39); +lean_ctor_set(x_44, 1, x_43); +lean_inc(x_30); +x_45 = lean_mk_syntax_ident(x_30); +x_46 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; +lean_inc(x_45); +x_47 = lean_array_push(x_46, x_45); +x_48 = lean_box(2); +x_49 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; +x_50 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_47); +x_51 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__38; +lean_inc(x_39); +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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_54 = lean_array_push(x_53, x_52); +x_55 = lean_array_push(x_54, x_36); +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_48); +lean_ctor_set(x_56, 1, x_49); +lean_ctor_set(x_56, 2, x_55); +x_57 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_39); +lean_ctor_set(x_58, 1, x_57); +x_59 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__99; +x_60 = lean_array_push(x_59, x_44); +x_61 = lean_array_push(x_60, x_50); +x_62 = lean_array_push(x_61, x_56); +x_63 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_64 = lean_array_push(x_62, x_63); +x_65 = lean_array_push(x_64, x_58); +x_66 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1; +x_67 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_67, 0, x_48); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set(x_67, 2, x_65); +x_68 = lean_array_push(x_26, x_67); +x_69 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__2; +x_70 = lean_name_append_after(x_30, x_69); +x_71 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_70, x_9, x_10, x_42); +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_mk_syntax_ident(x_72); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_75 = lean_infer_type(x_14, x_7, x_8, x_9, x_10, x_73); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = l_Lean_Expr_isType(x_76); +lean_dec(x_76); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_dec(x_74); +lean_dec(x_45); +x_79 = lean_box(0); +x_80 = l_Array_back___rarg(x_79, x_68); +x_81 = lean_array_push(x_25, x_80); +lean_ctor_set(x_4, 1, x_68); +lean_ctor_set(x_4, 0, x_81); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_23); +lean_ctor_set(x_82, 1, x_4); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_82); +x_15 = x_83; +x_16 = x_77; +goto block_21; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; 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_inc(x_9); +x_84 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, x_77); +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_st_ref_get(x_10, x_86); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +lean_inc(x_85); +x_89 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_89, 0, x_85); +lean_ctor_set(x_89, 1, x_43); +lean_inc(x_74); +x_90 = lean_array_push(x_46, x_74); +x_91 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_91, 0, x_48); +lean_ctor_set(x_91, 1, x_49); +lean_ctor_set(x_91, 2, x_90); +lean_inc(x_85); +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_85); +lean_ctor_set(x_92, 1, x_51); +x_93 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__5; +lean_inc(x_85); +x_94 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_94, 0, x_85); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_array_push(x_53, x_94); +x_96 = lean_array_push(x_95, x_63); +x_97 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__4; +x_98 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_98, 0, x_48); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_96); +x_99 = lean_array_push(x_53, x_92); +x_100 = lean_array_push(x_99, x_98); +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_48); +lean_ctor_set(x_101, 1, x_49); +lean_ctor_set(x_101, 2, x_100); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_85); +lean_ctor_set(x_102, 1, x_57); +x_103 = lean_array_push(x_59, x_89); +x_104 = lean_array_push(x_103, x_91); +x_105 = lean_array_push(x_104, x_101); +x_106 = lean_array_push(x_105, x_63); +x_107 = lean_array_push(x_106, x_102); +x_108 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_108, 0, x_48); +lean_ctor_set(x_108, 1, x_66); +lean_ctor_set(x_108, 2, x_107); +x_109 = lean_array_push(x_25, x_108); +lean_inc(x_9); +x_110 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, x_88); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_113 = lean_ctor_get(x_9, 10); +lean_inc(x_113); +x_114 = lean_st_ref_get(x_10, x_112); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = lean_ctor_get(x_115, 0); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_environment_main_module(x_117); +x_119 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__3; +lean_inc(x_111); +x_120 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_120, 0, x_111); +lean_ctor_set(x_120, 1, x_119); +x_121 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__44; +x_122 = l_Lean_addMacroScope(x_118, x_121, x_113); +x_123 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43; +x_124 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__5; +lean_inc(x_111); +x_125 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_125, 0, x_111); +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_53, x_45); +x_127 = lean_array_push(x_126, x_74); +x_128 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_128, 0, x_48); +lean_ctor_set(x_128, 1, x_49); +lean_ctor_set(x_128, 2, x_127); +x_129 = lean_array_push(x_53, x_125); +x_130 = lean_array_push(x_129, x_128); +x_131 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__40; +x_132 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_132, 0, x_48); +lean_ctor_set(x_132, 1, x_131); +lean_ctor_set(x_132, 2, x_130); +x_133 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__135; +x_134 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_134, 0, x_111); +lean_ctor_set(x_134, 1, x_133); +x_135 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115; +x_136 = lean_array_push(x_135, x_120); +x_137 = lean_array_push(x_136, x_63); +x_138 = lean_array_push(x_137, x_132); +x_139 = lean_array_push(x_138, x_134); +x_140 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__2; +x_141 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_141, 0, x_48); +lean_ctor_set(x_141, 1, x_140); +lean_ctor_set(x_141, 2, x_139); +x_142 = lean_array_push(x_23, x_141); +lean_ctor_set(x_4, 1, x_68); +lean_ctor_set(x_4, 0, x_109); +x_143 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_4); +x_144 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_144, 0, x_143); +x_15 = x_144; +x_16 = x_116; goto block_21; } } else { -uint8_t x_62; -lean_dec(x_50); -lean_dec(x_33); +uint8_t x_145; +lean_dec(x_74); +lean_dec(x_68); +lean_dec(x_45); +lean_dec(x_25); +lean_free_object(x_4); +lean_dec(x_23); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_62 = !lean_is_exclusive(x_51); -if (x_62 == 0) +x_145 = !lean_is_exclusive(x_75); +if (x_145 == 0) { -return x_51; +return x_75; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_51, 0); -x_64 = lean_ctor_get(x_51, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_51); -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_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_75, 0); +x_147 = lean_ctor_get(x_75, 1); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_75); +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_147); +return x_148; } } } else { -uint8_t x_66; +uint8_t x_149; +lean_dec(x_30); +lean_dec(x_26); +lean_dec(x_25); +lean_free_object(x_4); +lean_dec(x_23); lean_dec(x_14); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_4); -x_66 = !lean_is_exclusive(x_22); -if (x_66 == 0) +x_149 = !lean_is_exclusive(x_35); +if (x_149 == 0) { -return x_22; +return x_35; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_22, 0); -x_68 = lean_ctor_get(x_22, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_22); -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; +lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_150 = lean_ctor_get(x_35, 0); +x_151 = lean_ctor_get(x_35, 1); +lean_inc(x_151); +lean_inc(x_150); +lean_dec(x_35); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_150); +lean_ctor_set(x_152, 1, x_151); +return x_152; +} +} +} +else +{ +uint8_t x_153; +lean_dec(x_30); +lean_dec(x_26); +lean_dec(x_25); +lean_free_object(x_4); +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_153 = !lean_is_exclusive(x_31); +if (x_153 == 0) +{ +return x_31; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_31, 0); +x_155 = lean_ctor_get(x_31, 1); +lean_inc(x_155); +lean_inc(x_154); +lean_dec(x_31); +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_157; +lean_dec(x_26); +lean_dec(x_25); +lean_free_object(x_4); +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_157 = !lean_is_exclusive(x_27); +if (x_157 == 0) +{ +return x_27; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_158 = lean_ctor_get(x_27, 0); +x_159 = lean_ctor_get(x_27, 1); +lean_inc(x_159); +lean_inc(x_158); +lean_dec(x_27); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_158); +lean_ctor_set(x_160, 1, x_159); +return x_160; +} +} +} +else +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +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_dec(x_4); +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); +lean_inc(x_7); +lean_inc(x_14); +x_165 = l_Lean_Meta_getFVarLocalDecl(x_14, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_165) == 0) +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +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 = l_Lean_LocalDecl_userName(x_166); +lean_dec(x_166); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_14); +x_169 = lean_infer_type(x_14, x_7, x_8, x_9, x_10, x_167); +if (lean_obj_tag(x_169) == 0) +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_169, 1); +lean_inc(x_171); +lean_dec(x_169); +x_172 = lean_box(0); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_173 = l_Lean_PrettyPrinter_delab(x_170, x_172, x_7, x_8, x_9, x_10, x_171); +if (lean_obj_tag(x_173) == 0) +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_173, 1); +lean_inc(x_175); +lean_dec(x_173); +lean_inc(x_9); +x_176 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, 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); +lean_dec(x_176); +x_179 = lean_st_ref_get(x_10, x_178); +x_180 = lean_ctor_get(x_179, 1); +lean_inc(x_180); +lean_dec(x_179); +x_181 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__52; +lean_inc(x_177); +x_182 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_182, 0, x_177); +lean_ctor_set(x_182, 1, x_181); +lean_inc(x_168); +x_183 = lean_mk_syntax_ident(x_168); +x_184 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__17; +lean_inc(x_183); +x_185 = lean_array_push(x_184, x_183); +x_186 = lean_box(2); +x_187 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; +x_188 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_187); +lean_ctor_set(x_188, 2, x_185); +x_189 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__38; +lean_inc(x_177); +x_190 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_190, 0, x_177); +lean_ctor_set(x_190, 1, x_189); +x_191 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__31; +x_192 = lean_array_push(x_191, x_190); +x_193 = lean_array_push(x_192, x_174); +x_194 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_194, 0, x_186); +lean_ctor_set(x_194, 1, x_187); +lean_ctor_set(x_194, 2, x_193); +x_195 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__60; +x_196 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_196, 0, x_177); +lean_ctor_set(x_196, 1, x_195); +x_197 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__99; +x_198 = lean_array_push(x_197, x_182); +x_199 = lean_array_push(x_198, x_188); +x_200 = lean_array_push(x_199, x_194); +x_201 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; +x_202 = lean_array_push(x_200, x_201); +x_203 = lean_array_push(x_202, x_196); +x_204 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1; +x_205 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_205, 0, x_186); +lean_ctor_set(x_205, 1, x_204); +lean_ctor_set(x_205, 2, x_203); +x_206 = lean_array_push(x_164, x_205); +x_207 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__2; +x_208 = lean_name_append_after(x_168, x_207); +x_209 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_208, x_9, x_10, x_180); +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 = lean_mk_syntax_ident(x_210); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_213 = lean_infer_type(x_14, 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; uint8_t x_216; +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_213, 1); +lean_inc(x_215); +lean_dec(x_213); +x_216 = l_Lean_Expr_isType(x_214); +lean_dec(x_214); +if (x_216 == 0) +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +lean_dec(x_212); +lean_dec(x_183); +x_217 = lean_box(0); +x_218 = l_Array_back___rarg(x_217, x_206); +x_219 = lean_array_push(x_163, x_218); +x_220 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_206); +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_161); +lean_ctor_set(x_221, 1, x_220); +x_222 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_222, 0, x_221); +x_15 = x_222; +x_16 = x_215; +goto block_21; +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; 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_inc(x_9); +x_223 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, x_215); +x_224 = lean_ctor_get(x_223, 0); +lean_inc(x_224); +x_225 = lean_ctor_get(x_223, 1); +lean_inc(x_225); +lean_dec(x_223); +x_226 = lean_st_ref_get(x_10, x_225); +x_227 = lean_ctor_get(x_226, 1); +lean_inc(x_227); +lean_dec(x_226); +lean_inc(x_224); +x_228 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_228, 0, x_224); +lean_ctor_set(x_228, 1, x_181); +lean_inc(x_212); +x_229 = lean_array_push(x_184, x_212); +x_230 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_230, 0, x_186); +lean_ctor_set(x_230, 1, x_187); +lean_ctor_set(x_230, 2, x_229); +lean_inc(x_224); +x_231 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_231, 0, x_224); +lean_ctor_set(x_231, 1, x_189); +x_232 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__5; +lean_inc(x_224); +x_233 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_233, 0, x_224); +lean_ctor_set(x_233, 1, x_232); +x_234 = lean_array_push(x_191, x_233); +x_235 = lean_array_push(x_234, x_201); +x_236 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__4; +x_237 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_237, 0, x_186); +lean_ctor_set(x_237, 1, x_236); +lean_ctor_set(x_237, 2, x_235); +x_238 = lean_array_push(x_191, x_231); +x_239 = lean_array_push(x_238, x_237); +x_240 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_240, 0, x_186); +lean_ctor_set(x_240, 1, x_187); +lean_ctor_set(x_240, 2, x_239); +x_241 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_241, 0, x_224); +lean_ctor_set(x_241, 1, x_195); +x_242 = lean_array_push(x_197, x_228); +x_243 = lean_array_push(x_242, x_230); +x_244 = lean_array_push(x_243, x_240); +x_245 = lean_array_push(x_244, x_201); +x_246 = lean_array_push(x_245, x_241); +x_247 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_247, 0, x_186); +lean_ctor_set(x_247, 1, x_204); +lean_ctor_set(x_247, 2, x_246); +x_248 = lean_array_push(x_163, x_247); +lean_inc(x_9); +x_249 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, x_227); +x_250 = lean_ctor_get(x_249, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_249, 1); +lean_inc(x_251); +lean_dec(x_249); +x_252 = lean_ctor_get(x_9, 10); +lean_inc(x_252); +x_253 = lean_st_ref_get(x_10, x_251); +x_254 = lean_ctor_get(x_253, 0); +lean_inc(x_254); +x_255 = lean_ctor_get(x_253, 1); +lean_inc(x_255); +lean_dec(x_253); +x_256 = lean_ctor_get(x_254, 0); +lean_inc(x_256); +lean_dec(x_254); +x_257 = lean_environment_main_module(x_256); +x_258 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__3; +lean_inc(x_250); +x_259 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_259, 0, x_250); +lean_ctor_set(x_259, 1, x_258); +x_260 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__44; +x_261 = l_Lean_addMacroScope(x_257, x_260, x_252); +x_262 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__43; +x_263 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__5; +lean_inc(x_250); +x_264 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_264, 0, x_250); +lean_ctor_set(x_264, 1, x_262); +lean_ctor_set(x_264, 2, x_261); +lean_ctor_set(x_264, 3, x_263); +x_265 = lean_array_push(x_191, x_183); +x_266 = lean_array_push(x_265, x_212); +x_267 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_267, 0, x_186); +lean_ctor_set(x_267, 1, x_187); +lean_ctor_set(x_267, 2, x_266); +x_268 = lean_array_push(x_191, x_264); +x_269 = lean_array_push(x_268, x_267); +x_270 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__40; +x_271 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_271, 0, x_186); +lean_ctor_set(x_271, 1, x_270); +lean_ctor_set(x_271, 2, x_269); +x_272 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__135; +x_273 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_273, 0, x_250); +lean_ctor_set(x_273, 1, x_272); +x_274 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__115; +x_275 = lean_array_push(x_274, x_259); +x_276 = lean_array_push(x_275, x_201); +x_277 = lean_array_push(x_276, x_271); +x_278 = lean_array_push(x_277, x_273); +x_279 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__2; +x_280 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_280, 0, x_186); +lean_ctor_set(x_280, 1, x_279); +lean_ctor_set(x_280, 2, x_278); +x_281 = lean_array_push(x_161, x_280); +x_282 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_282, 0, x_248); +lean_ctor_set(x_282, 1, x_206); +x_283 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_283, 0, x_281); +lean_ctor_set(x_283, 1, x_282); +x_284 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_284, 0, x_283); +x_15 = x_284; +x_16 = x_255; +goto block_21; +} +} +else +{ +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; +lean_dec(x_212); +lean_dec(x_206); +lean_dec(x_183); +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_285 = lean_ctor_get(x_213, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_213, 1); +lean_inc(x_286); +if (lean_is_exclusive(x_213)) { + lean_ctor_release(x_213, 0); + lean_ctor_release(x_213, 1); + x_287 = x_213; +} else { + lean_dec_ref(x_213); + x_287 = lean_box(0); +} +if (lean_is_scalar(x_287)) { + x_288 = lean_alloc_ctor(1, 2, 0); +} else { + x_288 = x_287; +} +lean_ctor_set(x_288, 0, x_285); +lean_ctor_set(x_288, 1, x_286); +return x_288; +} +} +else +{ +lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; +lean_dec(x_168); +lean_dec(x_164); +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_289 = lean_ctor_get(x_173, 0); +lean_inc(x_289); +x_290 = lean_ctor_get(x_173, 1); +lean_inc(x_290); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_291 = x_173; +} else { + lean_dec_ref(x_173); + x_291 = lean_box(0); +} +if (lean_is_scalar(x_291)) { + x_292 = lean_alloc_ctor(1, 2, 0); +} else { + x_292 = x_291; +} +lean_ctor_set(x_292, 0, x_289); +lean_ctor_set(x_292, 1, x_290); +return x_292; +} +} +else +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; +lean_dec(x_168); +lean_dec(x_164); +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_293 = lean_ctor_get(x_169, 0); +lean_inc(x_293); +x_294 = lean_ctor_get(x_169, 1); +lean_inc(x_294); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_295 = x_169; +} else { + lean_dec_ref(x_169); + x_295 = lean_box(0); +} +if (lean_is_scalar(x_295)) { + x_296 = lean_alloc_ctor(1, 2, 0); +} else { + x_296 = x_295; +} +lean_ctor_set(x_296, 0, x_293); +lean_ctor_set(x_296, 1, x_294); +return x_296; +} +} +else +{ +lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; +lean_dec(x_164); +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_297 = lean_ctor_get(x_165, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_165, 1); +lean_inc(x_298); +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + lean_ctor_release(x_165, 1); + x_299 = x_165; +} else { + lean_dec_ref(x_165); + x_299 = lean_box(0); +} +if (lean_is_scalar(x_299)) { + x_300 = lean_alloc_ctor(1, 2, 0); +} else { + x_300 = x_299; +} +lean_ctor_set(x_300, 0, x_297); +lean_ctor_set(x_300, 1, x_298); +return x_300; } } block_21: @@ -20088,419 +13907,138 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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: { -uint8_t x_8; -x_8 = lean_usize_dec_lt(x_3, x_2); -if (x_8 == 0) +lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_array_get_size(x_1); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__2; +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3(x_1, x_11, x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_9; -lean_dec(x_6); -lean_dec(x_5); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_4); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; -lean_dec(x_4); -x_10 = lean_array_uget(x_1, x_3); -lean_inc(x_6); -lean_inc(x_5); -x_11 = l_Lean_Elab_Command_elabCommand(x_10, x_5, x_6, x_7); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = 1; -x_14 = lean_usize_add(x_3, x_13); -x_15 = lean_box(0); -x_3 = x_14; -x_4 = x_15; -x_7 = x_12; -goto _start; -} -else -{ -uint8_t x_17; -lean_dec(x_6); -lean_dec(x_5); -x_17 = !lean_is_exclusive(x_11); +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +x_17 = !lean_is_exclusive(x_14); if (x_17 == 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_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_14, 0); +lean_dec(x_18); +x_19 = lean_ctor_get(x_15, 0); lean_inc(x_19); -lean_inc(x_18); -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; -} -} -} -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("assertion violation: ", 21); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("params.size == indVal.numParams\n\n -- bind every parameter and *some* (not named) `RpcEncoding` for it\n ", 113); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__1; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__2; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Server.Rpc.Deriving", 24); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("_private.Lean.Server.Rpc.Deriving.0.Lean.Server.RpcEncoding.deriveInstance", 74); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__6() { -_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_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__4; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__5; -x_3 = lean_unsigned_to_nat(261u); -x_4 = lean_unsigned_to_nat(6u); -x_5 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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; uint8_t x_14; -lean_dec(x_4); -x_12 = lean_array_get_size(x_3); -x_13 = lean_ctor_get(x_1, 1); -lean_inc(x_13); -x_14 = lean_nat_dec_eq(x_12, x_13); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_12); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_15 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__6; -x_16 = l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_16; -} -else -{ -size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_18 = 0; -x_19 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__11; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_20 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4(x_3, x_17, x_18, x_19, 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; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; -x_21 = lean_ctor_get(x_20, 0); +lean_dec(x_15); +x_20 = lean_ctor_get(x_16, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_16, 1); lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -lean_inc(x_9); -x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, x_22); -x_24 = lean_ctor_get(x_23, 0); +lean_dec(x_16); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_19); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +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; +x_24 = lean_ctor_get(x_14, 1); lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); +lean_dec(x_14); +x_25 = lean_ctor_get(x_15, 0); lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_st_ref_get(x_10, x_25); -x_27 = lean_ctor_get(x_26, 1); +lean_dec(x_15); +x_26 = lean_ctor_get(x_16, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_16, 1); lean_inc(x_27); -lean_dec(x_26); -x_28 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__9; -x_29 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_29, 0, x_24); +lean_dec(x_16); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, 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); -x_30 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__13; -x_31 = lean_array_push(x_30, x_29); -x_32 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__16; -x_33 = lean_array_push(x_31, x_32); -x_34 = lean_box(2); -x_35 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__10; -x_36 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_36, 2, x_33); -lean_inc(x_9); -x_37 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, x_27); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = lean_st_ref_get(x_10, x_39); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__14; -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_Array_append___rarg(x_19, x_21); -x_45 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__2; -x_46 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_46, 0, x_34); -lean_ctor_set(x_46, 1, x_45); -lean_ctor_set(x_46, 2, x_44); -x_47 = lean_array_push(x_30, x_43); -x_48 = lean_array_push(x_47, x_46); -x_49 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__15; -x_50 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_50, 0, x_34); -lean_ctor_set(x_50, 1, x_49); -lean_ctor_set(x_50, 2, x_48); -x_51 = lean_st_ref_get(x_10, x_41); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -lean_dec(x_52); -x_55 = l_Lean_isStructure(x_54, x_2); -if (x_55 == 0) -{ -lean_object* x_89; -lean_inc(x_10); -lean_inc(x_9); -x_89 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance(x_1, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_53); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_56 = x_90; -x_57 = x_91; -goto block_88; -} -else -{ -uint8_t x_92; -lean_dec(x_50); -lean_dec(x_36); -lean_dec(x_10); -lean_dec(x_9); -x_92 = !lean_is_exclusive(x_89); -if (x_92 == 0) -{ -return x_89; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_89, 0); -x_94 = lean_ctor_get(x_89, 1); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_89); -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_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_24); +return x_30; } } else { -lean_object* x_96; -lean_inc(x_10); -lean_inc(x_9); -x_96 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance(x_1, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_53); -if (lean_obj_tag(x_96) == 0) +uint8_t x_31; +x_31 = !lean_is_exclusive(x_14); +if (x_31 == 0) { -lean_object* x_97; lean_object* x_98; -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_56 = x_97; -x_57 = x_98; -goto block_88; +return x_14; } else { -uint8_t x_99; -lean_dec(x_50); -lean_dec(x_36); -lean_dec(x_10); -lean_dec(x_9); -x_99 = !lean_is_exclusive(x_96); -if (x_99 == 0) +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_14, 0); +x_33 = lean_ctor_get(x_14, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_14); +x_34 = lean_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_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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: { -return x_96; +lean_object* x_14; 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_array_get_size(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Array_toSubarray___rarg(x_6, x_15, x_14); +x_17 = lean_st_ref_get(x_12, x_13); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_isStructure(x_20, x_2); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = l_Array_ofSubarray___rarg(x_16); +x_23 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance(x_3, x_22, x_1, x_4, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_19); +return x_23; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_96, 0); -x_101 = lean_ctor_get(x_96, 1); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_96); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -return x_102; +lean_object* x_24; lean_object* x_25; +x_24 = l_Array_ofSubarray___rarg(x_16); +x_25 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance(x_3, x_24, x_1, x_4, x_5, x_7, x_8, x_9, x_10, x_11, x_12, x_19); +return x_25; } } } -block_88: +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__1() { +_start: { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_58 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, x_57); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = lean_st_ref_get(x_10, x_60); -lean_dec(x_10); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; 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_63 = lean_ctor_get(x_61, 0); -lean_dec(x_63); -x_64 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__241; -x_65 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_65, 0, x_59); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_array_push(x_30, x_65); -x_67 = lean_array_push(x_66, x_32); -x_68 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__242; -x_69 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_69, 0, x_34); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set(x_69, 2, x_67); -x_70 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_71 = lean_array_push(x_70, x_36); -x_72 = lean_array_push(x_71, x_50); -x_73 = lean_array_push(x_72, x_56); -x_74 = lean_array_push(x_73, x_69); -lean_ctor_set(x_61, 0, x_74); -return x_61; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_75 = lean_ctor_get(x_61, 1); -lean_inc(x_75); -lean_dec(x_61); -x_76 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__241; -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_59); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_array_push(x_30, x_77); -x_79 = lean_array_push(x_78, x_32); -x_80 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__242; -x_81 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_81, 0, x_34); -lean_ctor_set(x_81, 1, x_80); -lean_ctor_set(x_81, 2, x_79); -x_82 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__35; -x_83 = lean_array_push(x_82, x_36); -x_84 = lean_array_push(x_83, x_50); -x_85 = lean_array_push(x_84, x_56); -x_86 = lean_array_push(x_85, x_81); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_75); -return x_87; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___boxed), 9, 0); +return x_1; } } -} -else -{ -uint8_t x_103; -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); -lean_dec(x_1); -x_103 = !lean_is_exclusive(x_20); -if (x_103 == 0) -{ -return x_20; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_20, 0); -x_105 = lean_ctor_get(x_20, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_20); -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; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -20510,9 +14048,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_8, 2); lean_inc(x_9); lean_dec(x_8); -x_10 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1), 11, 2); -lean_closure_set(x_10, 0, x_1); -lean_closure_set(x_10, 1, x_2); +x_10 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__1; x_11 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg), 9, 2); lean_closure_set(x_11, 0, x_9); lean_closure_set(x_11, 1, x_10); @@ -20520,97 +14056,152 @@ lean_inc(x_4); x_12 = l_Lean_Elab_Command_liftTermElabM___rarg(x_7, x_11, x_4, x_5, x_6); if (lean_obj_tag(x_12) == 0) { -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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); +x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); lean_dec(x_12); -x_15 = lean_array_get_size(x_13); -x_16 = lean_usize_of_nat(x_15); -lean_dec(x_15); -x_17 = 0; -x_18 = lean_box(0); -x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__5(x_13, x_16, x_17, x_18, x_4, x_5, x_14); +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); lean_dec(x_13); -if (lean_obj_tag(x_19) == 0) +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +lean_inc(x_17); +lean_inc(x_16); +x_19 = l_Array_append___rarg(x_16, x_17); +lean_inc(x_18); +x_20 = l_Array_append___rarg(x_19, x_18); +x_21 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__2), 13, 5); +lean_closure_set(x_21, 0, x_16); +lean_closure_set(x_21, 1, x_2); +lean_closure_set(x_21, 2, x_1); +lean_closure_set(x_21, 3, x_17); +lean_closure_set(x_21, 4, x_18); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBinders___rarg), 9, 2); +lean_closure_set(x_22, 0, x_20); +lean_closure_set(x_22, 1, x_21); +lean_inc(x_4); +x_23 = l_Lean_Elab_Command_liftTermElabM___rarg(x_7, x_22, x_4, x_5, x_15); +if (lean_obj_tag(x_23) == 0) { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; uint8_t x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -x_22 = 1; -x_23 = lean_box(x_22); -lean_ctor_set(x_19, 0, x_23); -return x_19; -} -else -{ -lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; -x_24 = lean_ctor_get(x_19, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_19); -x_25 = 1; -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_24); -return x_27; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Elab_Command_elabCommand(x_24, x_4, x_5, x_25); +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; uint8_t x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_26, 0); +lean_dec(x_28); +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_28; -x_28 = !lean_is_exclusive(x_19); -if (x_28 == 0) +uint8_t x_35; +x_35 = !lean_is_exclusive(x_26); +if (x_35 == 0) { -return x_19; +return x_26; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -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); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_object* 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); +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; } } } else { -uint8_t x_32; +uint8_t x_39; lean_dec(x_5); lean_dec(x_4); -x_32 = !lean_is_exclusive(x_12); -if (x_32 == 0) +x_39 = !lean_is_exclusive(x_23); +if (x_39 == 0) +{ +return x_23; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_23, 0); +x_41 = lean_ctor_get(x_23, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_23); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_43 = !lean_is_exclusive(x_12); +if (x_43 == 0) { return x_12; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_12, 0); -x_34 = lean_ctor_get(x_12, 1); -lean_inc(x_34); -lean_inc(x_33); +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_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +x_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; } } } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__1() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -20618,16 +14209,16 @@ x_1 = lean_mk_string_from_bytes("indexed inductive families are not supported", return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__2() { +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__1; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_10; @@ -20642,7 +14233,7 @@ if (x_10 == 0) { lean_object* x_11; lean_object* x_12; x_11 = lean_box(0); -x_12 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__2(x_1, x_2, x_11, x_4, x_5, x_6); +x_12 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3(x_1, x_2, x_11, x_4, x_5, x_6); return x_12; } else @@ -20650,7 +14241,7 @@ else lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_dec(x_2); lean_dec(x_1); -x_13 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__2; +x_13 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4___closed__2; x_14 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__4(x_13, x_4, x_5, x_6); lean_dec(x_5); x_15 = !lean_is_exclusive(x_14); @@ -20719,7 +14310,7 @@ if (x_13 == 0) { lean_object* x_14; lean_object* x_15; x_14 = lean_box(0); -x_15 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3(x_6, x_1, x_14, x_2, x_3, x_7); +x_15 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4(x_6, x_1, x_14, x_2, x_3, x_7); return x_15; } else @@ -20795,21 +14386,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; -x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, 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); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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; lean_object* x_14; @@ -20817,35 +14394,71 @@ x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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_6); lean_dec(x_5); lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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: { -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_9 = lean_unbox_usize(x_3); +lean_object* x_10; +x_10 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1(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_3); -x_10 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__5(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +lean_dec(x_2); lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___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_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); return x_7; } } +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Init.Util", 9); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("getElem!", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__3() { +_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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__1; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__2; +x_3 = lean_unsigned_to_nat(69u); +x_4 = lean_unsigned_to_nat(36u); +x_5 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___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___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -20859,7 +14472,7 @@ lean_dec(x_6); if (x_8 == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4; +x_9 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__4; x_10 = l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(x_9); x_11 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance(x_10, x_3, x_4, x_5); return x_11; @@ -20882,7 +14495,7 @@ lean_dec(x_14); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4; +x_17 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__4; x_18 = l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(x_17); x_19 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance(x_18, x_3, x_4, x_5); return x_19; @@ -20952,7 +14565,7 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("_args", 5); +x_1 = lean_mk_string_from_bytes("DerivingParams", 14); return x_1; } } @@ -20960,7 +14573,7 @@ static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_Rp _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47; x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -20969,46 +14582,18 @@ return x_3; static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_Core_mkFreshUserName___boxed), 4, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__2; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; } } static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__4() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("DerivingParams", 14); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__211; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__4; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__5; -x_3 = l_Lean_Expr_const___override(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__7() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__6; +x_1 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__3; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -21027,190 +14612,54 @@ return x_8; } else { -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; -x_10 = lean_ctor_get(x_2, 0); -x_11 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__3; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = lean_ctor_get(x_2, 0); +lean_inc(x_9); +lean_dec(x_2); +x_10 = lean_box(0); +x_11 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__4; +x_12 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__2; +x_13 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__2), 10, 3); +lean_closure_set(x_13, 0, x_9); +lean_closure_set(x_13, 1, x_11); +lean_closure_set(x_13, 2, x_12); lean_inc(x_4); -x_12 = l_Lean_Elab_Command_liftCoreM___rarg(x_11, x_4, x_5, x_6); -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; -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); -lean_ctor_set(x_2, 0, x_13); -x_15 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__7; -x_16 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__5; -x_17 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__2), 10, 3); -lean_closure_set(x_17, 0, x_10); -lean_closure_set(x_17, 1, x_15); -lean_closure_set(x_17, 2, x_16); -lean_inc(x_4); -x_18 = l_Lean_Elab_Command_liftTermElabM___rarg(x_2, x_17, x_4, x_5, x_14); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_unbox(x_19); -lean_dec(x_19); -x_22 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1(x_1, x_21, x_4, x_5, x_20); -return x_22; -} -else -{ -uint8_t x_23; -lean_dec(x_5); -lean_dec(x_4); -x_23 = !lean_is_exclusive(x_18); -if (x_23 == 0) +x_14 = l_Lean_Elab_Command_liftTermElabM___rarg(x_10, x_13, x_4, x_5, x_6); +if (lean_obj_tag(x_14) == 0) { +lean_object* x_15; lean_object* x_16; uint8_t 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_inc(x_16); +lean_dec(x_14); +x_17 = lean_unbox(x_15); +lean_dec(x_15); +x_18 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1(x_1, x_17, x_4, x_5, x_16); return x_18; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_18, 0); -x_25 = lean_ctor_get(x_18, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_18); -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; -} -} -} -else -{ -uint8_t x_27; -lean_free_object(x_2); -lean_dec(x_10); +uint8_t x_19; lean_dec(x_5); lean_dec(x_4); -x_27 = !lean_is_exclusive(x_12); -if (x_27 == 0) +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) { -return x_12; +return x_14; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_12, 0); -x_29 = lean_ctor_get(x_12, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_12); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_2, 0); -lean_inc(x_31); -lean_dec(x_2); -x_32 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__3; -lean_inc(x_4); -x_33 = l_Lean_Elab_Command_liftCoreM___rarg(x_32, x_4, x_5, x_6); -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; -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_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_34); -x_37 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__7; -x_38 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__5; -x_39 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__2), 10, 3); -lean_closure_set(x_39, 0, x_31); -lean_closure_set(x_39, 1, x_37); -lean_closure_set(x_39, 2, x_38); -lean_inc(x_4); -x_40 = l_Lean_Elab_Command_liftTermElabM___rarg(x_36, x_39, x_4, x_5, x_35); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; -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_unbox(x_41); -lean_dec(x_41); -x_44 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1(x_1, x_43, x_4, x_5, x_42); -return x_44; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_5); -lean_dec(x_4); -x_45 = lean_ctor_get(x_40, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_40, 1); -lean_inc(x_46); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_47 = x_40; -} else { - lean_dec_ref(x_40); - 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 -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_31); -lean_dec(x_5); -lean_dec(x_4); -x_49 = lean_ctor_get(x_33, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_33, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_51 = x_33; -} else { - lean_dec_ref(x_33); - 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; +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } } @@ -21276,7 +14725,7 @@ lean_dec(x_1); return x_6; } } -static lean_object* _init_l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_8944____closed__1() { +static lean_object* _init_l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_7985____closed__1() { _start: { lean_object* x_1; @@ -21284,12 +14733,12 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_Deriving_0__Lean_Se return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_8944_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_7985_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__211; -x_3 = l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_8944____closed__1; +x_2 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__47; +x_3 = l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_7985____closed__1; x_4 = l_Lean_Elab_registerBuiltinDerivingHandlerWithArgs(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -21672,276 +15121,48 @@ l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefIns lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__156); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__157 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__157(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__157); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__158 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__158(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__158); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__159 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__159(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__159); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__160 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__160(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__160); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__161 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__161(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__161); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__162 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__162(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__162); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__163 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__163(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__163); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__164 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__164(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__164); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__165 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__165(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__165); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__166 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__166(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__166); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__167 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__167(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__167); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__168 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__168(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__168); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__169 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__169(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__169); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__170 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__170(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__170); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__171 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__171(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__171); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__172 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__172(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__172); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__173 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__173(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__173); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__174 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__174(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__174); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__175 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__175(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__175); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__176 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__176(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__176); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__177 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__177(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__177); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__178 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__178(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__178); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__179 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__179(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__179); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__180 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__180(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__180); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__181 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__181(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__181); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__182 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__182(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__182); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__183 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__183(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__183); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__184 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__184(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__184); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__185 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__185(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__185); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__186 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__186(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__186); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__187 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__187(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__187); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__188 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__188(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__188); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__189 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__189(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__189); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__190 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__190(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__190); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__191 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__191(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__191); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__192 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__192(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__192); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__193 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__193(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__193); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__194 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__194(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__194); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__195 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__195(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__195); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__196 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__196(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__196); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__197 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__197(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__197); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__198 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__198(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__198); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__199 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__199(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__199); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__200 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__200(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__200); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__201 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__201(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__201); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__202 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__202(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__202); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__203 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__203(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__203); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__204 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__204(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__204); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__205 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__205(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__205); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__206 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__206(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__206); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__207 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__207(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__207); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__208 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__208(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__208); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__209 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__209(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__209); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__210 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__210(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__210); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__211 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__211(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__211); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__212 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__212(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__212); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__213 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__213(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__213); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__214 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__214(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__214); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__215 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__215(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__215); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__216 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__216(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__216); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__217 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__217(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__217); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__218 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__218(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__218); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__219 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__219(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__219); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__220 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__220(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__220); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__221 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__221(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__221); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__222 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__222(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__222); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__223 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__223(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__223); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__224 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__224(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__224); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__225 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__225(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__225); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__226 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__226(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__226); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__227 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__227(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__227); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__228 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__228(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__228); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__229 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__229(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__229); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__230 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__230(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__230); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__231 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__231(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__231); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__232 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__232(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__232); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__233 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__233(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__233); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__234 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__234(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__234); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__235 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__235(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__235); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__236 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__236(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__236); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__237 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__237(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__237); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__238 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__238(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__238); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__239 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__239(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__239); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__240 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__240(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__240); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__241 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__241(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__241); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__242 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__242(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__242); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__243 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__243(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__243); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__244 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__244(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__244); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__245 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__245(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__245); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__246 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__246(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__246); l_Lean_Server_RpcEncoding_withFieldsAux___rarg___closed__1 = _init_l_Lean_Server_RpcEncoding_withFieldsAux___rarg___closed__1(); lean_mark_persistent(l_Lean_Server_RpcEncoding_withFieldsAux___rarg___closed__1); l_Lean_Server_RpcEncoding_withFieldsAux___rarg___closed__2 = _init_l_Lean_Server_RpcEncoding_withFieldsAux___rarg___closed__2(); lean_mark_persistent(l_Lean_Server_RpcEncoding_withFieldsAux___rarg___closed__2); l_Lean_Server_RpcEncoding_withFields___rarg___closed__1 = _init_l_Lean_Server_RpcEncoding_withFields___rarg___closed__1(); lean_mark_persistent(l_Lean_Server_RpcEncoding_withFields___rarg___closed__1); -l_Lean_Server_RpcEncoding_isOptField___closed__1 = _init_l_Lean_Server_RpcEncoding_isOptField___closed__1(); -lean_mark_persistent(l_Lean_Server_RpcEncoding_isOptField___closed__1); -l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4___closed__1 = _init_l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4___closed__1(); -l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4___closed__2 = _init_l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__4___closed__2(); -l_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___closed__1 = _init_l_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___closed__1(); -lean_mark_persistent(l_Std_PersistentHashMap_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__7___closed__1); -l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__1 = _init_l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__1); -l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__2 = _init_l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__2); -l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__3 = _init_l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__10___closed__3); -l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__16___closed__1 = _init_l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__16___closed__1(); -lean_mark_persistent(l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__16___closed__1); -l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1 = _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1); -l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2 = _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2); -l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3 = _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3(); -lean_mark_persistent(l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3); -l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4 = _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4(); -lean_mark_persistent(l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4); -l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5 = _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5(); -lean_mark_persistent(l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5); -l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6 = _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6(); -lean_mark_persistent(l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6); -l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__7 = _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__7(); -lean_mark_persistent(l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__7); -l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8 = _init_l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8(); -lean_mark_persistent(l_Lean_Meta_DiscrTree_insertCore___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__3); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__4); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__5); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__1___closed__6); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___lambda__2___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__3); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__4); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__5); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__6); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__7 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__7(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__7); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__8 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__8(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__8); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__9 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__9(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__9); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__10 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__10(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__10); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__11 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__11(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__11); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__12 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__12(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__17___closed__12); -l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__2); -l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__3); -l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__4 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__4(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__4); -l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__5 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__5(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__5); -l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__6 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__6(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__6); -l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__7 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__7(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__18___closed__7); -l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__23___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__23___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__23___closed__1); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__1); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__2(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__2); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__3 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__3(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_getRpcPacketFor___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__1___closed__5); +l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__3); +l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__4); +l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__5); +l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__6); +l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__7 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__7); +l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__8); +l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__9 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__9(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__2___closed__9); +l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___spec__6___closed__1); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__1(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__1); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__2(); @@ -22086,6 +15307,44 @@ l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureI lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__71); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__72 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__72(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__72); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__73 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__73(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__73); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__74 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__74(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__74); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__75 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__75(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__75); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__76 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__76(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__76); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__77 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__77(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__77); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__78 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__78(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__78); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__79 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__79(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__79); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__80 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__80(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__80); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__81 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__81(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__81); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__82 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__82(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__82); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__83 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__83(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__83); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__84 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__84(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__84); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__85 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__85(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__85); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__86 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__86(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__86); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__87 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__87(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__87); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__88 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__88(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__88); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__89 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__89(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__89); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__90 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__90(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__90); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__91 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__91(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__1___closed__91); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__1(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__1); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__2(); @@ -22104,106 +15363,112 @@ l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureI lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__8); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__9 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__9(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__9); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_encArgTypes___default = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_encArgTypes___default(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_encArgTypes___default); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_uniqEncArgTypes___default = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_uniqEncArgTypes___default(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_uniqEncArgTypes___default); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_binders___default = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_binders___default(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_binders___default); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__10 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__10(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__10); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__11 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__11(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveStructureInstance___lambda__2___closed__11); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_ctors___default = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_ctors___default(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_ctors___default); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_encodes___default = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_encodes___default(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_encodes___default); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_decodes___default = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_decodes___default(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_CtorState_decodes___default); -l_Lean_Server_RpcEncoding_instInhabitedCtorState___closed__1 = _init_l_Lean_Server_RpcEncoding_instInhabitedCtorState___closed__1(); -lean_mark_persistent(l_Lean_Server_RpcEncoding_instInhabitedCtorState___closed__1); -l_Lean_Server_RpcEncoding_instInhabitedCtorState = _init_l_Lean_Server_RpcEncoding_instInhabitedCtorState(); -lean_mark_persistent(l_Lean_Server_RpcEncoding_instInhabitedCtorState); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF___closed__1(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF___closed__1); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF___closed__2(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF___closed__2); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_matchF); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___lambda__1___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__2); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__3); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__4); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__5); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__32___closed__6); -l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___lambda__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___lambda__1___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___lambda__1___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__35___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___spec__1___closed__1); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__1); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__2); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__3 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__3(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__1___closed__3); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__1(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__1); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__2(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__2); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__3 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__3); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__4 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__4); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__5 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__5(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__5); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__6 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__6(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__6); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__7 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__7(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__7); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__8 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__8(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__8); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__9 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__9(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__9); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__10 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__10(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__10); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__11 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__11(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__11); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__12 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__12(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__12); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__13 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__13(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__13); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__14 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__14(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__14); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__15 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__15(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__15); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__16 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__16(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__16); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__17 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__17(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__17); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__18 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__18(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__18); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__19 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__19(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__19); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__20 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__20(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__20); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__21 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__21(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__21); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__22 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__22(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__22); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__23 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__23(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__23); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__24 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__24(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__24); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__25 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__25(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__25); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__26 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__26(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__26); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__27 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__27(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__27); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__28 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__28(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__28); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__29 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__29(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__29); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__30 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__30(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__30); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__31 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__31(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__31); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__32 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__32(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__32); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__33 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__33(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__33); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__34 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__34(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__34); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__35 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__35(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__35); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__36 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__36(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__36); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__37 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__37(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__37); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__38 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__38(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__38); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__39 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__39(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__39); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__40 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__40(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__2___closed__40); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__1(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__1); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__2); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__3 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__3(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__3); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__4 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__4(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__4); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__5 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__5(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__5); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__6 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__6(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__3___closed__6); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__1); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__2(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__2); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__3 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__3(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__3); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__4 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__4(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__4); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__5 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__5(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__5); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__6 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__6(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__6); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__7 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__7(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__7); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__8 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__8(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__8); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__9 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__9(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__9); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__10 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__10(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__10); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__11 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__11(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__11); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__12 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__12(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__12); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__13 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__13(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__13); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__14 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__14(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__14); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__15 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__15(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__15); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__16 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__16(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__16); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__17 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__17(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__4___closed__17); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___closed__1); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___closed__2(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__5___closed__2); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__6___boxed__const__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__6___boxed__const__1(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___lambda__6___boxed__const__1); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___closed__1(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___closed__1); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInductiveInstance___closed__2(); @@ -22216,32 +15481,34 @@ l_Lean_getConstInfoInduct___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server lean_mark_persistent(l_Lean_getConstInfoInduct___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__1___closed__3); l_Lean_getConstInfoInduct___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__1___closed__4 = _init_l_Lean_getConstInfoInduct___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__1___closed__4(); lean_mark_persistent(l_Lean_getConstInfoInduct___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__1___closed__4); -l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1 = _init_l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1(); -lean_mark_persistent(l_panic___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__1); -l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__4___lambda__1___closed__2); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__1); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__2); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__3 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__3(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__3); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__4 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__4(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__4); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__5 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__5(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__5); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__6 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__6(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__6); +l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___spec__3___closed__5); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__1(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__1); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__3___closed__2); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4___closed__1); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4___closed__2(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4___closed__2); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___closed__1(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___closed__1); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___closed__2(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___closed__2); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__1); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__2); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__3 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__3(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__3); +l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__4 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__4(); +lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__1___closed__4); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__1 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__1(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__1); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__2 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__2(); @@ -22250,15 +15517,9 @@ l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveIn lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__3); l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__4 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__4(); lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__4); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__5 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__5(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__5); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__6 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__6(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__6); -l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__7 = _init_l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__7(); -lean_mark_persistent(l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___closed__7); -l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_8944____closed__1 = _init_l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_8944____closed__1(); -lean_mark_persistent(l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_8944____closed__1); -res = l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_8944_(lean_io_mk_world()); +l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_7985____closed__1 = _init_l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_7985____closed__1(); +lean_mark_persistent(l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_7985____closed__1); +res = l_Lean_Server_RpcEncoding_initFn____x40_Lean_Server_Rpc_Deriving___hyg_7985_(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/Rpc/RequestHandling.c b/stage0/stdlib/Lean/Server/Rpc/RequestHandling.c index c0f7deaa5f..c8aefe9c55 100644 --- a/stage0/stdlib/Lean/Server/Rpc/RequestHandling.c +++ b/stage0/stdlib/Lean/Server/Rpc/RequestHandling.c @@ -27,20 +27,22 @@ static lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec_ static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__1___lambda__2___closed__2; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___closed__1; size_t lean_usize_add(size_t, size_t); -static lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___closed__2; LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___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_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__11; +static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__4___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__9___closed__3; +static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__6; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_throwError___at_Lean_declareBuiltin___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); uint8_t lean_uint64_dec_eq(uint64_t, uint64_t); static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___closed__1; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__24; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__22; LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure___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_Server_registerBuiltinRpcProcedure___lambda__2___closed__1; @@ -49,25 +51,26 @@ lean_object* lean_io_error_to_string(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_32_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_72_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__18; lean_object* l_Lean_Server_FileWorker_instMonadRpcSession___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__19; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__5; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__1; static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_32____closed__1; +static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__4; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__15; LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Meta_unfoldDeclsFrom___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_72____closed__1; -static lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__1; -static lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__4; -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__1; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__3; size_t lean_usize_sub(size_t, size_t); +static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__4___closed__2; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__11; uint8_t l_Lean_isCasesOnRecursor(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_id___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Server_registerBuiltinRpcProcedure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -76,14 +79,15 @@ LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Serve uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__12; LEAN_EXPORT lean_object* l_Lean_Server_builtinRpcProcedures; -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__1(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___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_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__2; lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___spec__2___closed__2; lean_object* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__14; @@ -95,9 +99,9 @@ LEAN_EXPORT uint8_t l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__ size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure(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_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__2(lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__3; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__25; uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t); lean_object* lean_nat_add(lean_object*, lean_object*); @@ -105,20 +109,21 @@ static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling_ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_contains___at_Lean_Server_registerBuiltinRpcProcedure___spec__5___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__12; LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__1___closed__1; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__21; size_t lean_uint64_to_usize(uint64_t); lean_object* l_Lean_Expr_FindImpl_findUnsafe_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___spec__2(lean_object*); LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__3___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__3; lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_compileDecl___at_Lean_Server_registerRpcProcedure___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__2; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__20; uint64_t l_Lean_Name_hash___override(lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__10; +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__6; lean_object* l_Except_map___rarg(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); @@ -129,14 +134,12 @@ static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__13; LEAN_EXPORT lean_object* l_Lean_Server_userRpcProcedures; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__23; -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_compress(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___spec__2___boxed(lean_object*, lean_object*, lean_object*); static size_t l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___spec__2___closed__1; LEAN_EXPORT uint8_t l_Lean_Server_registerRpcProcedure___lambda__2(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__6___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__5; LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_instInhabitedRpcProcedure___rarg___closed__2; lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); @@ -149,10 +152,10 @@ lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); 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_Server_registerRpcProcedure___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_Server_registerLspRequestHandler___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__21; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMapDeclarationExtension___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAtAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -163,7 +166,9 @@ static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_h static lean_object* l_Lean_Server_registerRpcProcedure___closed__4; lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__1; +static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__2; uint8_t lean_uint64_dec_lt(uint64_t, uint64_t); +static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__1; extern lean_object* l_Lean_Server_requestHandlers; extern lean_object* l_Lean_Expr_instHashableExpr; LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Server_registerRpcProcedure___spec__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -173,7 +178,6 @@ static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__24; lean_object* l_Lean_Server_RequestM_bindTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); uint8_t l_Std_PersistentHashMap_contains___at_Lean_Server_registerLspRequestHandler___spec__6(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); @@ -183,9 +187,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Ser static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_32____closed__2; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__16; LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__3; -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_instInhabitedRpcProcedure___rarg___closed__4; +static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___closed__2; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__5; lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); @@ -208,35 +213,31 @@ lean_object* l_Lean_Server_RequestM_bindWaitFindSnap___rarg(lean_object*, lean_o static lean_object* l_Lean_Server_registerRpcProcedure___lambda__4___closed__3; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__18; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__15; -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__22; lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_instInhabitedRpcProcedure___rarg___closed__1; -static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__2; size_t lean_usize_land(size_t, size_t); lean_object* l_Lean_Environment_evalConstCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__19; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__17; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__3___boxed(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_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at___private_Lean_Meta_Match_Value_0__Lean_Meta_isUIntTypeName___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); -static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__7; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentHashMap_containsAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__6(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___closed__3; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__22; LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Server_registerRpcProcedure___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__3___closed__2; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__14; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__26; lean_object* lean_environment_main_module(lean_object*); @@ -249,25 +250,26 @@ uint8_t lean_usize_dec_le(size_t, size_t); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__5; lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__11; +static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__4; lean_object* l_Lean_quoteNameMk(lean_object*); -static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__1; -static lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_instInhabitedScope; uint8_t lean_is_aux_recursor(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1___boxed(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_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__6; +static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__3___closed__1; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__12; -LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(lean_object*, uint64_t); +static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__5; +static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___closed__1; LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__19; -static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___closed__1; -static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentHashMap_contains___at_Lean_Server_registerBuiltinRpcProcedure___spec__5(lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__6; lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); @@ -275,14 +277,12 @@ LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Serve lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_endPos(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__1; LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__2___closed__1; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__23; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__25; -static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__4; LEAN_EXPORT lean_object* l_Lean_Server_instInhabitedRpcProcedure___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_StateT_instMonadStateT___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instInhabitedRpcProcedure___rarg(lean_object*); @@ -291,6 +291,7 @@ lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_ uint8_t l_Lean_MapDeclarationExtension_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__20; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__3; @@ -300,23 +301,24 @@ lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__10; lean_object* lean_io_initializing(lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___closed__3; -static lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__6; +static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__5; +LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__9___closed__4; lean_object* lean_mk_syntax_ident(lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__21; -LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__2___closed__2; static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__1___lambda__4___closed__1; static lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__9___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__13; lean_object* l_Lean_Server_RequestM_asTask___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__3; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__16; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__10; lean_object* l_Lean_Environment_compileDecl(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentHashMap_containsAtAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__6; +LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(lean_object*, uint64_t); lean_object* l_instMonadStateOfStateT___rarg(lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__8; @@ -326,14 +328,13 @@ lean_object* lean_usize_to_nat(size_t); static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____closed__1; static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__1___lambda__3___closed__1; static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__1___lambda__4___closed__2; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__3(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1296_(lean_object*); -static lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__4___closed__4; -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___elambda__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_liftExcept___at_Lean_Server_wrapRpcProcedure___spec__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_parseRequestParams___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Server_instInhabitedRpcProcedure___rarg___closed__3; +static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__7; static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334____spec__1___lambda__3___closed__2; lean_object* l_Lean_Server_Snapshots_Snapshot_env(lean_object*); LEAN_EXPORT lean_object* l_Lean_addAndCompile___at_Lean_Server_registerRpcProcedure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -345,6 +346,7 @@ static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__16; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___closed__3; lean_object* l_Lean_Server_RequestM_readDoc(lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__4; +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__7; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1817,7 +1819,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(lean_object* x_1, uint64_t x_2) { +LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(lean_object* x_1, uint64_t x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1873,7 +1875,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1898,15 +1900,15 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___spec__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_liftExcept___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__2___rarg___boxed), 3, 0); +x_2 = lean_alloc_closure((void*)(l_liftExcept___at_Lean_Server_wrapRpcProcedure___spec__2___rarg___boxed), 3, 0); return x_2; } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -1949,15 +1951,15 @@ return x_12; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__3___rarg), 4, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3___rarg), 4, 0); return x_3; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___lambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -1966,7 +1968,7 @@ x_2 = l_StateT_instMonadStateT___rarg(x_1); return x_2; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -1975,17 +1977,17 @@ x_2 = l_instMonadStateOfStateT___rarg(x_1); return x_2; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__1; -x_2 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__2; +x_1 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__1; +x_2 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__2; x_3 = l_Lean_Server_FileWorker_instMonadRpcSession___rarg(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___lambda__1___closed__4() { _start: { lean_object* x_1; @@ -1993,7 +1995,7 @@ x_1 = lean_mk_string_from_bytes("Cannot decode params in RPC call '", 34); return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__5() { +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___lambda__1___closed__5() { _start: { lean_object* x_1; @@ -2001,7 +2003,7 @@ x_1 = lean_mk_string_from_bytes("(", 1); return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__6() { +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___lambda__1___closed__6() { _start: { lean_object* x_1; @@ -2009,7 +2011,7 @@ x_1 = lean_mk_string_from_bytes(")'\n", 3); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___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_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___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; @@ -2022,8 +2024,8 @@ if (x_10 == 0) { 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_9, 0); -x_12 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__1; -x_13 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__3; +x_12 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__1; +x_13 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__3; x_14 = lean_apply_5(x_8, lean_box(0), x_12, x_13, x_5, x_11); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); @@ -2036,15 +2038,15 @@ lean_inc(x_16); lean_dec(x_15); x_17 = 1; x_18 = l_Lean_Name_toString(x_3, x_17); -x_19 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__4; +x_19 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__4; x_20 = lean_string_append(x_19, x_18); lean_dec(x_18); -x_21 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__5; +x_21 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__5; x_22 = lean_string_append(x_20, x_21); x_23 = l_Lean_Json_compress(x_4); x_24 = lean_string_append(x_22, x_23); lean_dec(x_23); -x_25 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__6; +x_25 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__6; x_26 = lean_string_append(x_24, x_25); x_27 = lean_string_append(x_26, x_16); lean_dec(x_16); @@ -2078,8 +2080,8 @@ x_34 = lean_ctor_get(x_9, 1); lean_inc(x_34); lean_inc(x_33); lean_dec(x_9); -x_35 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__1; -x_36 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__3; +x_35 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__1; +x_36 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__3; x_37 = lean_apply_5(x_8, lean_box(0), x_35, x_36, x_5, x_33); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); @@ -2092,15 +2094,15 @@ lean_inc(x_39); lean_dec(x_38); x_40 = 1; x_41 = l_Lean_Name_toString(x_3, x_40); -x_42 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__4; +x_42 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__4; x_43 = lean_string_append(x_42, x_41); lean_dec(x_41); -x_44 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__5; +x_44 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__5; x_45 = lean_string_append(x_43, x_44); x_46 = l_Lean_Json_compress(x_4); x_47 = lean_string_append(x_45, x_46); lean_dec(x_46); -x_48 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__6; +x_48 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__6; x_49 = lean_string_append(x_47, x_48); x_50 = lean_string_append(x_49, x_39); lean_dec(x_39); @@ -2131,7 +2133,7 @@ return x_57; } } } -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2158,72 +2160,177 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___lambda__3___closed__1() { _start: { -if (lean_obj_tag(x_4) == 0) +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Cannot encode result of RPC call '", 34); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___lambda__3___closed__2() { +_start: { -lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -lean_dec(x_1); -x_7 = lean_ctor_get(x_4, 0); -lean_inc(x_7); +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("'\n", 2); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_dec(x_4); -x_8 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; +lean_dec(x_3); +lean_dec(x_2); +x_27 = lean_ctor_get(x_5, 0); +lean_inc(x_27); +lean_dec(x_5); +x_28 = lean_alloc_ctor(1, 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_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 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_9 = lean_ctor_get(x_4, 0); -lean_inc(x_9); -lean_dec(x_4); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_st_ref_take(x_2, x_6); -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_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__1; -x_15 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__3; -x_16 = lean_apply_5(x_10, lean_box(0), x_14, x_15, x_9, x_12); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_st_ref_set(x_2, x_18, x_13); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 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; +x_29 = lean_ctor_get(x_5, 0); +lean_inc(x_29); +lean_dec(x_5); +x_30 = lean_st_ref_take(x_1, x_7); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_2, 0); +lean_inc(x_33); +lean_dec(x_2); +x_34 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__1; +x_35 = l_Lean_Server_wrapRpcProcedure___lambda__1___closed__3; +lean_inc(x_31); +x_36 = lean_apply_5(x_33, lean_box(0), x_34, x_35, x_29, x_31); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -x_22 = lean_apply_1(x_3, x_17); -lean_ctor_set(x_19, 0, x_22); -return x_19; +uint8_t x_38; +lean_dec(x_36); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_st_ref_set(x_1, x_31, x_32); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_8 = x_37; +x_9 = x_40; +goto block_26; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_37, 0); +lean_inc(x_41); +lean_dec(x_37); +x_42 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_st_ref_set(x_1, x_31, x_32); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_8 = x_42; +x_9 = x_44; +goto block_26; +} +} +else +{ +lean_object* x_45; uint8_t x_46; +lean_dec(x_31); +x_45 = lean_ctor_get(x_36, 1); +lean_inc(x_45); +lean_dec(x_36); +x_46 = !lean_is_exclusive(x_37); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_st_ref_set(x_1, x_45, x_32); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_8 = x_37; +x_9 = x_48; +goto block_26; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_37, 0); +lean_inc(x_49); +lean_dec(x_37); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_51 = lean_st_ref_set(x_1, x_45, x_32); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_8 = x_50; +x_9 = x_52; +goto block_26; +} +} +} +block_26: +{ +if (lean_obj_tag(x_8) == 0) +{ +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; 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_dec(x_4); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = 1; +x_12 = l_Lean_Name_toString(x_3, x_11); +x_13 = l_Lean_Server_wrapRpcProcedure___lambda__3___closed__1; +x_14 = lean_string_append(x_13, x_12); +lean_dec(x_12); +x_15 = l_Lean_Server_wrapRpcProcedure___lambda__3___closed__2; +x_16 = lean_string_append(x_14, x_15); +x_17 = lean_string_append(x_16, x_10); +lean_dec(x_10); +x_18 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__22; +x_19 = lean_string_append(x_17, x_18); +x_20 = 3; +x_21 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set_uint8(x_21, sizeof(void*)*1, x_20); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_9); +return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_19, 1); +lean_dec(x_3); +x_23 = lean_ctor_get(x_8, 0); lean_inc(x_23); -lean_dec(x_19); -x_24 = lean_apply_1(x_3, x_17); +lean_dec(x_8); +x_24 = lean_apply_1(x_4, 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_23); +lean_ctor_set(x_25, 1, x_9); return x_25; } } } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___elambda__1___closed__1() { +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -2231,83 +2338,85 @@ x_1 = lean_mk_string_from_bytes("Outdated RPC session", 20); return x_1; } } -static lean_object* _init_l_Lean_Server_wrapRpcProcedure___elambda__1___closed__2() { +static lean_object* _init_l_Lean_Server_wrapRpcProcedure___lambda__4___closed__2() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; x_1 = 9; -x_2 = l_Lean_Server_wrapRpcProcedure___elambda__1___closed__1; +x_2 = l_Lean_Server_wrapRpcProcedure___lambda__4___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; } } -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___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, uint64_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___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, uint64_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_15, x_11); -if (lean_obj_tag(x_16) == 0) +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +x_12 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(x_11, x_7); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_17; lean_object* x_18; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_10); +lean_object* x_13; lean_object* x_14; 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_17 = l_Lean_Server_wrapRpcProcedure___elambda__1___closed__2; -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_14); -return x_18; +x_13 = l_Lean_Server_wrapRpcProcedure___lambda__4___closed__2; +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_10); +return x_14; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_19 = lean_ctor_get(x_16, 0); -lean_inc(x_19); -lean_dec(x_16); -lean_inc(x_12); -x_20 = l_Lean_Server_parseRequestParams___rarg(x_6, x_12); -x_21 = lean_alloc_closure((void*)(l_liftExcept___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__2___rarg___boxed), 3, 1); -lean_closure_set(x_21, 0, x_20); -lean_inc(x_19); -x_22 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___boxed), 7, 4); -lean_closure_set(x_22, 0, x_5); -lean_closure_set(x_22, 1, x_19); -lean_closure_set(x_22, 2, x_1); -lean_closure_set(x_22, 3, x_12); -x_23 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__3___rarg), 4, 2); -lean_closure_set(x_23, 0, x_21); -lean_closure_set(x_23, 1, x_22); -lean_inc(x_13); -x_24 = l_Lean_Server_RequestM_asTask___rarg(x_23, x_13, x_14); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_15 = lean_ctor_get(x_12, 0); +lean_inc(x_15); +lean_dec(x_12); +lean_inc(x_8); +x_16 = l_Lean_Server_parseRequestParams___rarg(x_1, x_8); +x_17 = lean_alloc_closure((void*)(l_liftExcept___at_Lean_Server_wrapRpcProcedure___spec__2___rarg___boxed), 3, 1); +lean_closure_set(x_17, 0, x_16); +lean_inc(x_3); +lean_inc(x_15); +x_18 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___lambda__1___boxed), 7, 4); +lean_closure_set(x_18, 0, x_2); +lean_closure_set(x_18, 1, x_15); +lean_closure_set(x_18, 2, x_3); +lean_closure_set(x_18, 3, x_8); +x_19 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3___rarg), 4, 2); +lean_closure_set(x_19, 0, x_17); +lean_closure_set(x_19, 1, x_18); +lean_inc(x_9); +x_20 = l_Lean_Server_RequestM_asTask___rarg(x_19, x_9, x_10); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___lambda__2), 4, 1); +lean_closure_set(x_23, 0, x_4); +lean_inc(x_9); +x_24 = l_Lean_Server_RequestM_bindTask___rarg(x_21, x_23, x_9, x_22); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__2), 4, 1); -lean_closure_set(x_27, 0, x_10); -lean_inc(x_13); -x_28 = l_Lean_Server_RequestM_bindTask___rarg(x_25, x_27, x_13, x_26); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__3___boxed), 6, 3); -lean_closure_set(x_31, 0, x_8); -lean_closure_set(x_31, 1, x_19); -lean_closure_set(x_31, 2, x_9); -x_32 = l_Lean_Server_RequestM_mapTask___rarg(x_29, x_31, x_13, x_30); -return x_32; +x_27 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___lambda__3___boxed), 7, 4); +lean_closure_set(x_27, 0, x_15); +lean_closure_set(x_27, 1, x_5); +lean_closure_set(x_27, 2, x_3); +lean_closure_set(x_27, 3, x_6); +x_28 = l_Lean_Server_RequestM_mapTask___rarg(x_25, x_27, x_9, x_26); +return x_28; } } } @@ -2315,68 +2424,64 @@ LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure(lean_object* x_1, lean_o _start: { lean_object* x_11; -x_11 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___elambda__1___boxed), 14, 10); -lean_closure_set(x_11, 0, x_1); -lean_closure_set(x_11, 1, lean_box(0)); -lean_closure_set(x_11, 2, lean_box(0)); -lean_closure_set(x_11, 3, lean_box(0)); -lean_closure_set(x_11, 4, x_5); -lean_closure_set(x_11, 5, x_6); -lean_closure_set(x_11, 6, lean_box(0)); -lean_closure_set(x_11, 7, x_8); -lean_closure_set(x_11, 8, x_9); -lean_closure_set(x_11, 9, x_10); +x_11 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___lambda__4___boxed), 10, 6); +lean_closure_set(x_11, 0, x_6); +lean_closure_set(x_11, 1, x_5); +lean_closure_set(x_11, 2, x_1); +lean_closure_set(x_11, 3, x_10); +lean_closure_set(x_11, 4, x_8); +lean_closure_set(x_11, 5, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint64_t x_3; lean_object* x_4; x_3 = lean_unbox_uint64(x_2); lean_dec(x_2); -x_4 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_1, x_3); +x_4 = l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(x_1, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_liftExcept___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__2___rarg(x_1, x_2, x_3); +x_4 = l_liftExcept___at_Lean_Server_wrapRpcProcedure___spec__2___rarg(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___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_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___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_Server_wrapRpcProcedure___elambda__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Server_wrapRpcProcedure___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_7; -x_7 = l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_7; +lean_object* x_8; +x_8 = l_Lean_Server_wrapRpcProcedure___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_1); +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___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: { -uint64_t x_15; lean_object* x_16; -x_15 = lean_unbox_uint64(x_11); -lean_dec(x_11); -x_16 = l_Lean_Server_wrapRpcProcedure___elambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15, x_12, x_13, x_14); -return x_16; +uint64_t x_11; lean_object* x_12; +x_11 = lean_unbox_uint64(x_7); +lean_dec(x_7); +x_12 = l_Lean_Server_wrapRpcProcedure___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9, x_10); +return x_12; } } LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Server_registerBuiltinRpcProcedure___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) { @@ -3042,18 +3147,14 @@ LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___lambda__1(l _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_inc(x_1); -x_9 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___elambda__1___boxed), 14, 10); +lean_inc(x_3); +x_9 = lean_alloc_closure((void*)(l_Lean_Server_wrapRpcProcedure___lambda__4___boxed), 10, 6); lean_closure_set(x_9, 0, x_1); -lean_closure_set(x_9, 1, lean_box(0)); -lean_closure_set(x_9, 2, lean_box(0)); -lean_closure_set(x_9, 3, lean_box(0)); -lean_closure_set(x_9, 4, x_2); -lean_closure_set(x_9, 5, x_3); -lean_closure_set(x_9, 6, lean_box(0)); -lean_closure_set(x_9, 7, x_4); -lean_closure_set(x_9, 8, x_5); -lean_closure_set(x_9, 9, x_6); +lean_closure_set(x_9, 1, x_2); +lean_closure_set(x_9, 2, x_3); +lean_closure_set(x_9, 3, x_4); +lean_closure_set(x_9, 4, x_5); +lean_closure_set(x_9, 5, x_6); x_10 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__1; x_11 = lean_st_ref_take(x_10, x_8); x_12 = lean_ctor_get(x_11, 0); @@ -3061,7 +3162,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Std_PersistentHashMap_insert___at_Lean_Server_registerBuiltinRpcProcedure___spec__1(x_12, x_1, x_9); +x_14 = l_Std_PersistentHashMap_insert___at_Lean_Server_registerBuiltinRpcProcedure___spec__1(x_12, x_3, x_9); x_15 = lean_st_ref_set(x_10, x_14, x_13); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) @@ -3104,8 +3205,8 @@ if (x_12 == 0) lean_object* x_13; lean_object* x_14; uint8_t x_15; x_13 = lean_ctor_get(x_11, 0); x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_1); -x_15 = l_Std_PersistentHashMap_contains___at_Lean_Server_registerBuiltinRpcProcedure___spec__5(x_13, x_1); +lean_inc(x_3); +x_15 = l_Std_PersistentHashMap_contains___at_Lean_Server_registerBuiltinRpcProcedure___spec__5(x_13, x_3); if (x_15 == 0) { lean_object* x_16; lean_object* x_17; @@ -3144,8 +3245,8 @@ x_24 = lean_ctor_get(x_11, 1); lean_inc(x_24); lean_inc(x_23); lean_dec(x_11); -lean_inc(x_1); -x_25 = l_Std_PersistentHashMap_contains___at_Lean_Server_registerBuiltinRpcProcedure___spec__5(x_23, x_1); +lean_inc(x_3); +x_25 = l_Std_PersistentHashMap_contains___at_Lean_Server_registerBuiltinRpcProcedure___spec__5(x_23, x_3); if (x_25 == 0) { lean_object* x_26; lean_object* x_27; @@ -3271,7 +3372,7 @@ x_35 = lean_ctor_get(x_18, 1); lean_inc(x_35); lean_dec(x_18); x_36 = lean_box(0); -x_37 = l_Lean_Server_registerBuiltinRpcProcedure___lambda__2(x_1, x_5, x_6, x_8, x_9, x_10, x_17, x_36, x_35); +x_37 = l_Lean_Server_registerBuiltinRpcProcedure___lambda__2(x_6, x_5, x_1, x_10, x_8, x_9, x_17, x_36, x_35); return x_37; } } @@ -6870,7 +6971,7 @@ lean_dec(x_2); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____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_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____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) { _start: { lean_object* x_7; @@ -6878,7 +6979,7 @@ x_7 = l_Lean_Server_registerRpcProcedure(x_1, x_4, x_5, x_6); return x_7; } } -static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___closed__1() { _start: { lean_object* x_1; @@ -6886,25 +6987,25 @@ x_1 = lean_mk_string_from_bytes("attribute cannot be erased", 26); return x_1; } } -static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___closed__1; +x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__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; -x_5 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___closed__2; +x_5 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___closed__2; x_6 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_5, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__1() { +static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__1() { _start: { lean_object* x_1; @@ -6912,17 +7013,17 @@ x_1 = lean_mk_string_from_bytes("serverRpcMethod", 15); return x_1; } } -static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__2() { +static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__1; +x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__3() { +static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__3() { _start: { lean_object* x_1; @@ -6930,12 +7031,12 @@ x_1 = lean_mk_string_from_bytes("Marks a function as a Lean server RPC method.\n return x_1; } } -static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__4() { +static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__4() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__2; -x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__3; +x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__2; +x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__3; x_3 = 1; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_1); @@ -6944,29 +7045,29 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__5() { +static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__1___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__6() { +static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___boxed), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__7() { +static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__4; -x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__5; -x_3 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__6; +x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__4; +x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__5; +x_3 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____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); @@ -6974,31 +7075,31 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__7; +x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__7; x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____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_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____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_3); lean_dec(x_3); -x_8 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -7131,22 +7232,26 @@ lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling res = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_334_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__1); -l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__2); -l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__3 = _init_l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__3); -l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__4 = _init_l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__4); -l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__5 = _init_l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__5); -l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__6 = _init_l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___elambda__1___lambda__1___closed__6); -l_Lean_Server_wrapRpcProcedure___elambda__1___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___elambda__1___closed__1); -l_Lean_Server_wrapRpcProcedure___elambda__1___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___elambda__1___closed__2(); -lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___elambda__1___closed__2); +l_Lean_Server_wrapRpcProcedure___lambda__1___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___lambda__1___closed__1); +l_Lean_Server_wrapRpcProcedure___lambda__1___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___lambda__1___closed__2); +l_Lean_Server_wrapRpcProcedure___lambda__1___closed__3 = _init_l_Lean_Server_wrapRpcProcedure___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___lambda__1___closed__3); +l_Lean_Server_wrapRpcProcedure___lambda__1___closed__4 = _init_l_Lean_Server_wrapRpcProcedure___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___lambda__1___closed__4); +l_Lean_Server_wrapRpcProcedure___lambda__1___closed__5 = _init_l_Lean_Server_wrapRpcProcedure___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___lambda__1___closed__5); +l_Lean_Server_wrapRpcProcedure___lambda__1___closed__6 = _init_l_Lean_Server_wrapRpcProcedure___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___lambda__1___closed__6); +l_Lean_Server_wrapRpcProcedure___lambda__3___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___lambda__3___closed__1); +l_Lean_Server_wrapRpcProcedure___lambda__3___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___lambda__3___closed__2); +l_Lean_Server_wrapRpcProcedure___lambda__4___closed__1 = _init_l_Lean_Server_wrapRpcProcedure___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___lambda__4___closed__1); +l_Lean_Server_wrapRpcProcedure___lambda__4___closed__2 = _init_l_Lean_Server_wrapRpcProcedure___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Server_wrapRpcProcedure___lambda__4___closed__2); l_Std_PersistentHashMap_insertAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__2___closed__1 = _init_l_Std_PersistentHashMap_insertAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__2___closed__1(); lean_mark_persistent(l_Std_PersistentHashMap_insertAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__2___closed__1); l_Lean_Server_registerBuiltinRpcProcedure___lambda__2___closed__1 = _init_l_Lean_Server_registerBuiltinRpcProcedure___lambda__2___closed__1(); @@ -7291,25 +7396,25 @@ l_Lean_Server_registerRpcProcedure___closed__3 = _init_l_Lean_Server_registerRpc lean_mark_persistent(l_Lean_Server_registerRpcProcedure___closed__3); l_Lean_Server_registerRpcProcedure___closed__4 = _init_l_Lean_Server_registerRpcProcedure___closed__4(); lean_mark_persistent(l_Lean_Server_registerRpcProcedure___closed__4); -l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___closed__1 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___closed__1); -l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___closed__2 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____lambda__2___closed__2); -l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__1 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__1(); -lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__1); -l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__2 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__2(); -lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__2); -l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__3 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__3(); -lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__3); -l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__4 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__4(); -lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__4); -l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__5 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__5(); -lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__5); -l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__6 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__6(); -lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__6); -l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__7 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__7(); -lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289____closed__7); -res = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1289_(lean_io_mk_world()); +l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___closed__1 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___closed__1); +l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___closed__2 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____lambda__2___closed__2); +l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__1 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__1(); +lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__1); +l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__2 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__2(); +lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__2); +l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__3 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__3(); +lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__3); +l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__4 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__4(); +lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__4); +l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__5 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__5(); +lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__5); +l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__6 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__6(); +lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__6); +l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__7 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__7(); +lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406____closed__7); +res = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1406_(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/Snapshots.c b/stage0/stdlib/Lean/Server/Snapshots.c index 1460ad9ded..0c8977a85b 100644 --- a/stage0/stdlib/Lean/Server/Snapshots.c +++ b/stage0/stdlib/Lean/Server/Snapshots.c @@ -29,14 +29,13 @@ LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_server_stderrAsMessages; static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_6____closed__3; static lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__3; lean_object* lean_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_parseAhead_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__3; lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_Snapshot_infoTree(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_parseAhead_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Snapshots_Snapshot_infoTree___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_Snapshots_Snapshot_diagnostics___spec__4(size_t, size_t, lean_object*); +static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__6; static lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__14; lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_withStdout___at_Lean_Server_Snapshots_compileNextCmd___spec__2(lean_object*, lean_object*, lean_object*); @@ -49,7 +48,6 @@ LEAN_EXPORT lean_object* l_IO_withStderr___at_Lean_Server_Snapshots_compileNextC lean_object* l_IO_FS_Stream_ofBuffer(lean_object*); lean_object* lean_get_set_stderr(lean_object*, lean_object*); static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Server_Snapshots_compileNextCmd___spec__1___closed__1; -static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__2; static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_6____closed__2; LEAN_EXPORT lean_object* l_IO_withStdin___at_Lean_Server_Snapshots_compileNextCmd___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__5; @@ -57,12 +55,11 @@ static lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__15; lean_object* l_panic___at_Lean_FileMap_toPosition_loop___spec__1(lean_object*); static lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__18; extern lean_object* l_ByteArray_empty; +static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__5; static lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__16; lean_object* l_Lean_Widget_msgToInteractiveDiagnostic(lean_object*, lean_object*, uint8_t, lean_object*); uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_parseAhead(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__1; static lean_object* l_Lean_Server_Snapshots_Snapshot_infoTree___closed__6; lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__7; @@ -75,19 +72,19 @@ LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Server_Snapshots_ lean_object* l_Std_mkHashMapImp___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_compileNextCmd___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedMessage; -static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__5; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lean_Server_Snapshots_compileNextCmd___closed__6; -static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__3; +static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__1; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Snapshots_Snapshot_infoTree___closed__9; extern lean_object* l_Lean_firstFrontendMacroScope; LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot; LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_Snapshot_endPos___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_6_(lean_object*); +static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__2; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_Snapshot_diagnostics(lean_object*); @@ -99,12 +96,10 @@ lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedInfoTree; uint8_t l_String_isEmpty(lean_object*); -static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__6; uint8_t l_Lean_Parser_isExitCommand(lean_object*); static lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__12; static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_6____closed__1; static lean_object* l_Lean_Server_Snapshots_Snapshot_infoTree___closed__4; -static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__4; static lean_object* l_Lean_Server_Snapshots_compileNextCmd___closed__5; LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Server_Snapshots_Snapshot_diagnostics___spec__1(lean_object*); static lean_object* l_Lean_Server_Snapshots_compileNextCmd___closed__3; @@ -123,6 +118,7 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Server_Snapshots_Snapshot_infoTree___ LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_compileNextCmd___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__4; static lean_object* l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__4; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_Snapshots_compileNextCmd_withNewInteractiveDiags___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_Snapshot_msgLog(lean_object*); @@ -817,7 +813,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Server_Snapshots_Snapshot_infoTree___closed__7; x_2 = l_Lean_Server_Snapshots_Snapshot_infoTree___closed__8; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Server_Snapshots_Snapshot_infoTree___closed__9; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -947,108 +943,7 @@ lean_ctor_set(x_17, 1, x_3); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_parseAhead_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; uint8_t x_12; -x_7 = l_Lean_Server_Snapshots_Snapshot_msgLog(x_1); -lean_inc(x_3); -lean_inc(x_2); -x_8 = l_Lean_Parser_parseCommand(x_2, x_3, x_4, x_7); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_ctor_get(x_9, 0); -lean_inc(x_11); -lean_dec(x_9); -lean_inc(x_10); -x_12 = l_Lean_Parser_isEOI(x_10); -if (x_12 == 0) -{ -uint8_t x_13; -lean_inc(x_10); -x_13 = l_Lean_Parser_isExitCommand(x_10); -if (x_13 == 0) -{ -lean_object* x_14; -x_14 = lean_array_push(x_5, x_10); -x_4 = x_11; -x_5 = x_14; -goto _start; -} -else -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_array_push(x_5, x_10); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_6); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -x_18 = lean_array_push(x_5, x_10); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_6); -return x_19; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_parseAhead_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: -{ -lean_object* x_7; -x_7 = l_Lean_Server_Snapshots_parseAhead_go(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_parseAhead(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; -x_4 = lean_ctor_get(x_2, 3); -lean_inc(x_4); -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_4, 2); -lean_inc(x_6); -lean_dec(x_4); -x_7 = l_Lean_Elab_Command_instInhabitedScope; -x_8 = l_List_head_x21___rarg(x_7, x_6); -lean_dec(x_6); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 2); -lean_inc(x_10); -x_11 = lean_ctor_get(x_8, 3); -lean_inc(x_11); -lean_dec(x_8); -x_12 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_12, 0, x_5); -lean_ctor_set(x_12, 1, x_9); -lean_ctor_set(x_12, 2, x_10); -lean_ctor_set(x_12, 3, x_11); -x_13 = lean_ctor_get(x_2, 2); -lean_inc(x_13); -x_14 = l_Lean_Server_Snapshots_instInhabitedSnapshot___closed__5; -x_15 = l_Lean_Server_Snapshots_parseAhead_go(x_2, x_1, x_12, x_13, x_14, x_3); -lean_dec(x_2); -return x_15; -} -} -static lean_object* _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__1() { +static lean_object* _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__1() { _start: { lean_object* x_1; @@ -1056,17 +951,17 @@ x_1 = lean_mk_string_from_bytes("server", 6); return x_1; } } -static lean_object* _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__2() { +static lean_object* _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__1; +x_2 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__3() { +static lean_object* _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__3() { _start: { lean_object* x_1; @@ -1074,17 +969,17 @@ x_1 = lean_mk_string_from_bytes("stderrAsMessages", 16); return x_1; } } -static lean_object* _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__4() { +static lean_object* _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__2; -x_2 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__3; +x_1 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__2; +x_2 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__5() { +static lean_object* _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__5() { _start: { lean_object* x_1; @@ -1092,13 +987,13 @@ x_1 = lean_mk_string_from_bytes("(server) capture output to the Lean stderr chan return x_1; } } -static lean_object* _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__6() { +static lean_object* _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__6() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__1; -x_3 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__5; +x_2 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__1; +x_3 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -1107,12 +1002,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__4; -x_3 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__6; +x_2 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__4; +x_3 = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__6; x_4 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(x_2, x_3, x_1); return x_4; } @@ -2693,19 +2588,19 @@ l_Lean_Server_Snapshots_Snapshot_infoTree___closed__9 = _init_l_Lean_Server_Snap lean_mark_persistent(l_Lean_Server_Snapshots_Snapshot_infoTree___closed__9); l_Lean_Server_Snapshots_Snapshot_infoTree___closed__10 = _init_l_Lean_Server_Snapshots_Snapshot_infoTree___closed__10(); lean_mark_persistent(l_Lean_Server_Snapshots_Snapshot_infoTree___closed__10); -l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__1 = _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__1(); -lean_mark_persistent(l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__1); -l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__2 = _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__2(); -lean_mark_persistent(l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__2); -l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__3 = _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__3(); -lean_mark_persistent(l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__3); -l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__4 = _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__4(); -lean_mark_persistent(l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__4); -l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__5 = _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__5(); -lean_mark_persistent(l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__5); -l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__6 = _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__6(); -lean_mark_persistent(l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373____closed__6); -if (builtin) {res = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_373_(lean_io_mk_world()); +l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__1 = _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__1(); +lean_mark_persistent(l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__1); +l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__2 = _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__2(); +lean_mark_persistent(l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__2); +l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__3 = _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__3(); +lean_mark_persistent(l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__3); +l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__4 = _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__4(); +lean_mark_persistent(l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__4); +l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__5 = _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__5(); +lean_mark_persistent(l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__5); +l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__6 = _init_l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__6(); +lean_mark_persistent(l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251____closed__6); +if (builtin) {res = l_Lean_Server_Snapshots_initFn____x40_Lean_Server_Snapshots___hyg_251_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Server_Snapshots_server_stderrAsMessages = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Server_Snapshots_server_stderrAsMessages); diff --git a/stage0/stdlib/Lean/Server/Watchdog.c b/stage0/stdlib/Lean/Server/Watchdog.c index b9bac26a4b..0e1e0c381d 100644 --- a/stage0/stdlib/Lean/Server/Watchdog.c +++ b/stage0/stdlib/Lean/Server/Watchdog.c @@ -73,6 +73,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_terminateFileWorker___boxed(lean double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Server_Watchdog_startFileWorker___closed__3; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__2___closed__2; +extern lean_object* l_Lean_Lsp_SemanticTokenModifier_names; LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_forwardRequestToWorker___spec__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_forIn_visit___at_Lean_Server_Watchdog_mainLoop___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_Watchdog_handleRequest___spec__2(lean_object*, lean_object*, lean_object*); @@ -19347,7 +19348,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Lsp_SemanticTokenType_names; -x_2 = l_Lean_Server_Watchdog_startFileWorker___closed__4; +x_2 = l_Lean_Lsp_SemanticTokenModifier_names; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); diff --git a/stage0/stdlib/Lean/SubExpr.c b/stage0/stdlib/Lean/SubExpr.c index 59f8979dce..927e76ffc1 100644 --- a/stage0/stdlib/Lean/SubExpr.c +++ b/stage0/stdlib/Lean/SubExpr.c @@ -54,7 +54,6 @@ LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushLetValue___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushBindingBody(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushLetBody(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushBindingDomain(lean_object*); -lean_object* l_Lean_Expr_updateApp_x21(lean_object*, lean_object*, lean_object*); lean_object* l_String_splitOn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushAppFn___boxed(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); @@ -145,6 +144,7 @@ static lean_object* l_Lean_SubExpr_Pos_toArray___closed__1; LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_Pos_ofStringCoord(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_ofArray___boxed(lean_object*); static lean_object* l_Lean_SubExpr_Pos_push___closed__2; +lean_object* l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_push___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushLetVarType(lean_object*); static lean_object* l_Lean_SubExpr_Pos_push___closed__1; @@ -1739,7 +1739,7 @@ lean_dec(x_7); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); lean_dec(x_9); -x_11 = lean_alloc_closure((void*)(l_Lean_Expr_updateApp_x21), 3, 1); +x_11 = lean_alloc_closure((void*)(l___private_Lean_Expr_0__Lean_Expr_updateApp_x21Impl___boxed), 3, 1); lean_closure_set(x_11, 0, x_4); x_12 = lean_unsigned_to_nat(0u); x_13 = l_Lean_SubExpr_Pos_push(x_3, x_12); diff --git a/stage0/stdlib/Lean/Syntax.c b/stage0/stdlib/Lean/Syntax.c index 7750e39063..42e8352caa 100644 --- a/stage0/stdlib/Lean/Syntax.c +++ b/stage0/stdlib/Lean/Syntax.c @@ -2105,7 +2105,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_Syntax_updateTrailing___closed__1; x_2 = l_Lean_Syntax_updateTrailing___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_Syntax_updateTrailing___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Util/HasConstCache.c b/stage0/stdlib/Lean/Util/HasConstCache.c index 1c993a90eb..67c1cf4849 100644 --- a/stage0/stdlib/Lean/Util/HasConstCache.c +++ b/stage0/stdlib/Lean/Util/HasConstCache.c @@ -16,6 +16,7 @@ extern "C" { LEAN_EXPORT lean_object* l_Lean_HasConstCache_containsUnsafe(lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_HashMap_0__Std_numBucketsForCapacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_HasConstCache_containsUnsafe___boxed(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_HasConstCache_containsUnsafe_cache___boxed(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -24,7 +25,6 @@ uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_foldlM___at_Lean_HasConstCache_containsUnsafe_cache___spec__4(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_HasConstCache_containsUnsafe_cache___rarg___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_ptrEq(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l_Std_HashMapImp_expand___at_Lean_HasConstCache_containsUnsafe_cache___spec__2(lean_object*, lean_object*); @@ -39,6 +39,7 @@ LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_HasConstCache_contai LEAN_EXPORT lean_object* l_Lean_HasConstCache_cache___default; size_t lean_usize_modn(size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_replace___at_Lean_HasConstCache_containsUnsafe_cache___spec__5(lean_object*, uint8_t, lean_object*); +size_t lean_ptr_addr(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_HasConstCache_cache___default___closed__1; lean_object* lean_nat_mul(lean_object*, lean_object*); @@ -76,20 +77,22 @@ return x_3; } else { -lean_object* x_4; lean_object* x_5; uint8_t x_6; +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; uint8_t x_8; x_4 = lean_ctor_get(x_2, 0); x_5 = lean_ctor_get(x_2, 2); -x_6 = l_Lean_Expr_ptrEq(x_4, x_1); -if (x_6 == 0) +x_6 = lean_ptr_addr(x_4); +x_7 = lean_ptr_addr(x_1); +x_8 = lean_usize_dec_eq(x_6, x_7); +if (x_8 == 0) { x_2 = x_5; goto _start; } else { -uint8_t x_8; -x_8 = 1; -return x_8; +uint8_t x_10; +x_10 = 1; +return x_10; } } } @@ -214,61 +217,65 @@ 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; +lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; uint8_t x_11; 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 = l_Lean_Expr_ptrEq(x_6, x_1); -if (x_9 == 0) +x_9 = lean_ptr_addr(x_6); +x_10 = lean_ptr_addr(x_1); +x_11 = lean_usize_dec_eq(x_9, x_10); +if (x_11 == 0) { -lean_object* x_10; -x_10 = l_Std_AssocList_replace___at_Lean_HasConstCache_containsUnsafe_cache___spec__5(x_1, x_2, x_8); -lean_ctor_set(x_3, 2, x_10); +lean_object* x_12; +x_12 = l_Std_AssocList_replace___at_Lean_HasConstCache_containsUnsafe_cache___spec__5(x_1, x_2, x_8); +lean_ctor_set(x_3, 2, x_12); return x_3; } else { -lean_object* x_11; +lean_object* x_13; lean_dec(x_7); lean_dec(x_6); -x_11 = lean_box(x_2); -lean_ctor_set(x_3, 1, x_11); +x_13 = lean_box(x_2); +lean_ctor_set(x_3, 1, x_13); lean_ctor_set(x_3, 0, x_1); return x_3; } } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_ctor_get(x_3, 0); -x_13 = lean_ctor_get(x_3, 1); -x_14 = lean_ctor_get(x_3, 2); +lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; uint8_t x_19; +x_14 = lean_ctor_get(x_3, 0); +x_15 = lean_ctor_get(x_3, 1); +x_16 = lean_ctor_get(x_3, 2); +lean_inc(x_16); +lean_inc(x_15); lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); lean_dec(x_3); -x_15 = l_Lean_Expr_ptrEq(x_12, x_1); -if (x_15 == 0) +x_17 = lean_ptr_addr(x_14); +x_18 = lean_ptr_addr(x_1); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) { -lean_object* x_16; lean_object* x_17; -x_16 = l_Std_AssocList_replace___at_Lean_HasConstCache_containsUnsafe_cache___spec__5(x_1, x_2, x_14); -x_17 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_17, 0, x_12); -lean_ctor_set(x_17, 1, x_13); -lean_ctor_set(x_17, 2, x_16); -return x_17; +lean_object* x_20; lean_object* x_21; +x_20 = l_Std_AssocList_replace___at_Lean_HasConstCache_containsUnsafe_cache___spec__5(x_1, x_2, x_16); +x_21 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_15); +lean_ctor_set(x_21, 2, x_20); +return x_21; } else { -lean_object* x_18; lean_object* x_19; -lean_dec(x_13); -lean_dec(x_12); -x_18 = lean_box(x_2); -x_19 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_19, 0, x_1); -lean_ctor_set(x_19, 1, x_18); -lean_ctor_set(x_19, 2, x_14); -return x_19; +lean_object* x_22; lean_object* x_23; +lean_dec(x_15); +lean_dec(x_14); +x_22 = lean_box(x_2); +x_23 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_23, 0, x_1); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_16); +return x_23; } } } @@ -473,23 +480,25 @@ return x_3; } else { -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; uint8_t 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); -x_7 = l_Lean_Expr_ptrEq(x_4, x_1); -if (x_7 == 0) +x_7 = lean_ptr_addr(x_4); +x_8 = lean_ptr_addr(x_1); +x_9 = lean_usize_dec_eq(x_7, x_8); +if (x_9 == 0) { x_2 = x_6; goto _start; } else { -lean_object* x_9; +lean_object* x_11; lean_inc(x_5); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_5); -return x_9; +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_5); +return x_11; } } } diff --git a/stage0/stdlib/Lean/Util/ReplaceExpr.c b/stage0/stdlib/Lean/Util/ReplaceExpr.c index f9d773f0d6..82fcbc218a 100644 --- a/stage0/stdlib/Lean/Util/ReplaceExpr.c +++ b/stage0/stdlib/Lean/Util/ReplaceExpr.c @@ -13,29 +13,30 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Expr_ReplaceImpl_initCache___closed__1; +lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceImpl_cache___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_ReplaceImpl_initCache___closed__2; +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); +lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafe(lean_object*, lean_object*); static lean_object* l_Lean_Expr_ReplaceImpl_initCache___closed__4; LEAN_EXPORT size_t l_Lean_Expr_ReplaceImpl_cacheSize; lean_object* l_Lean_Expr_bvar___override(lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM(lean_object*, size_t, lean_object*, lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceImpl_cache(size_t, lean_object*, lean_object*, lean_object*); size_t lean_usize_mod(size_t, size_t); size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); -lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t); +lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_ReplaceImpl_initCache___closed__3; LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceImpl_initCache; @@ -122,11 +123,12 @@ if (lean_obj_tag(x_11) == 0) switch (lean_obj_tag(x_3)) { case 5: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_12; lean_object* x_13; 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; uint8_t x_22; x_12 = lean_ctor_get(x_3, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_3, 1); lean_inc(x_13); +lean_inc(x_12); lean_inc(x_1); x_14 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_12, x_4); x_15 = lean_ctor_get(x_14, 0); @@ -134,170 +136,411 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); +lean_inc(x_13); x_17 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_13, x_16); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); +x_20 = lean_ptr_addr(x_12); +lean_dec(x_12); +x_21 = lean_ptr_addr(x_15); +x_22 = lean_usize_dec_eq(x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_13); +x_23 = l_Lean_Expr_app___override(x_15, x_18); +x_24 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_23, x_19); +return x_24; +} +else +{ +size_t x_25; size_t x_26; uint8_t x_27; +x_25 = lean_ptr_addr(x_13); +lean_dec(x_13); +x_26 = lean_ptr_addr(x_18); +x_27 = lean_usize_dec_eq(x_25, x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = l_Lean_Expr_app___override(x_15, x_18); +x_29 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_28, x_19); +return x_29; +} +else +{ +lean_object* x_30; +lean_dec(x_18); +lean_dec(x_15); lean_inc(x_3); -x_20 = lean_expr_update_app(x_3, x_15, x_18); -x_21 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_20, x_19); -return x_21; +x_30 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_3, x_19); +return x_30; +} +} } case 6: { -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; -x_22 = lean_ctor_get(x_3, 1); -lean_inc(x_22); -x_23 = lean_ctor_get(x_3, 2); -lean_inc(x_23); -x_24 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); +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; lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; uint8_t x_44; +x_31 = lean_ctor_get(x_3, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_3, 1); +lean_inc(x_32); +x_33 = lean_ctor_get(x_3, 2); +lean_inc(x_33); +x_34 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); +lean_inc(x_32); lean_inc(x_1); -x_25 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_22, x_4); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_23, x_27); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -lean_inc(x_3); -x_31 = lean_expr_update_lambda(x_3, x_24, x_26, x_29); -x_32 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_31, x_30); -return x_32; +x_35 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_32, x_4); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +lean_inc(x_33); +x_38 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_33, 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); +lean_dec(x_38); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +x_41 = l_Lean_Expr_lam___override(x_31, x_32, x_33, x_34); +x_42 = lean_ptr_addr(x_32); +lean_dec(x_32); +x_43 = lean_ptr_addr(x_36); +x_44 = lean_usize_dec_eq(x_42, x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_41); +lean_dec(x_33); +x_45 = l_Lean_Expr_lam___override(x_31, x_36, x_39, x_34); +x_46 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_45, x_40); +return x_46; +} +else +{ +size_t x_47; size_t x_48; uint8_t x_49; +x_47 = lean_ptr_addr(x_33); +lean_dec(x_33); +x_48 = lean_ptr_addr(x_39); +x_49 = lean_usize_dec_eq(x_47, x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_41); +x_50 = l_Lean_Expr_lam___override(x_31, x_36, x_39, x_34); +x_51 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_50, x_40); +return x_51; +} +else +{ +uint8_t x_52; +x_52 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_34, x_34); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_41); +x_53 = l_Lean_Expr_lam___override(x_31, x_36, x_39, x_34); +x_54 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_53, x_40); +return x_54; +} +else +{ +lean_object* x_55; +lean_dec(x_39); +lean_dec(x_36); +lean_dec(x_31); +x_55 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_41, x_40); +return x_55; +} +} +} } case 7: { -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; -x_33 = lean_ctor_get(x_3, 1); -lean_inc(x_33); -x_34 = lean_ctor_get(x_3, 2); -lean_inc(x_34); -x_35 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; size_t x_67; size_t x_68; uint8_t x_69; +x_56 = lean_ctor_get(x_3, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_3, 1); +lean_inc(x_57); +x_58 = lean_ctor_get(x_3, 2); +lean_inc(x_58); +x_59 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); +lean_inc(x_57); lean_inc(x_1); -x_36 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_33, x_4); -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_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_34, x_38); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -lean_inc(x_3); -x_42 = lean_expr_update_forall(x_3, x_35, x_37, x_40); -x_43 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_42, x_41); -return x_43; +x_60 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_57, x_4); +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); +lean_inc(x_58); +x_63 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_58, x_62); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +x_66 = l_Lean_Expr_forallE___override(x_56, x_57, x_58, x_59); +x_67 = lean_ptr_addr(x_57); +lean_dec(x_57); +x_68 = lean_ptr_addr(x_61); +x_69 = lean_usize_dec_eq(x_67, x_68); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; +lean_dec(x_66); +lean_dec(x_58); +x_70 = l_Lean_Expr_forallE___override(x_56, x_61, x_64, x_59); +x_71 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_70, x_65); +return x_71; +} +else +{ +size_t x_72; size_t x_73; uint8_t x_74; +x_72 = lean_ptr_addr(x_58); +lean_dec(x_58); +x_73 = lean_ptr_addr(x_64); +x_74 = lean_usize_dec_eq(x_72, x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_66); +x_75 = l_Lean_Expr_forallE___override(x_56, x_61, x_64, x_59); +x_76 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_75, x_65); +return x_76; +} +else +{ +uint8_t x_77; +x_77 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_59, x_59); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_66); +x_78 = l_Lean_Expr_forallE___override(x_56, x_61, x_64, x_59); +x_79 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_78, x_65); +return x_79; +} +else +{ +lean_object* x_80; +lean_dec(x_64); +lean_dec(x_61); +lean_dec(x_56); +x_80 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_66, x_65); +return x_80; +} +} +} } case 8: { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_44 = lean_ctor_get(x_3, 1); -lean_inc(x_44); -x_45 = lean_ctor_get(x_3, 2); -lean_inc(x_45); -x_46 = lean_ctor_get(x_3, 3); -lean_inc(x_46); +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; size_t x_95; size_t x_96; uint8_t x_97; +x_81 = lean_ctor_get(x_3, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_3, 1); +lean_inc(x_82); +x_83 = lean_ctor_get(x_3, 2); +lean_inc(x_83); +x_84 = lean_ctor_get(x_3, 3); +lean_inc(x_84); +x_85 = lean_ctor_get_uint8(x_3, sizeof(void*)*4 + 8); +lean_inc(x_82); lean_inc(x_1); -x_47 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_44, x_4); -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_86 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_82, x_4); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +lean_inc(x_83); lean_inc(x_1); -x_50 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_45, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_46, x_52); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); +x_89 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_83, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +lean_inc(x_84); +x_92 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_84, x_91); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_ptr_addr(x_82); +lean_dec(x_82); +x_96 = lean_ptr_addr(x_87); +x_97 = lean_usize_dec_eq(x_95, x_96); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; +lean_dec(x_84); +lean_dec(x_83); +x_98 = l_Lean_Expr_letE___override(x_81, x_87, x_90, x_93, x_85); +x_99 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_98, x_94); +return x_99; +} +else +{ +size_t x_100; size_t x_101; uint8_t x_102; +x_100 = lean_ptr_addr(x_83); +lean_dec(x_83); +x_101 = lean_ptr_addr(x_90); +x_102 = lean_usize_dec_eq(x_100, x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; +lean_dec(x_84); +x_103 = l_Lean_Expr_letE___override(x_81, x_87, x_90, x_93, x_85); +x_104 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_103, x_94); +return x_104; +} +else +{ +size_t x_105; size_t x_106; uint8_t x_107; +x_105 = lean_ptr_addr(x_84); +lean_dec(x_84); +x_106 = lean_ptr_addr(x_93); +x_107 = lean_usize_dec_eq(x_105, x_106); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; +x_108 = l_Lean_Expr_letE___override(x_81, x_87, x_90, x_93, x_85); +x_109 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_108, x_94); +return x_109; +} +else +{ +lean_object* x_110; +lean_dec(x_93); +lean_dec(x_90); +lean_dec(x_87); +lean_dec(x_81); lean_inc(x_3); -x_56 = lean_expr_update_let(x_3, x_48, x_51, x_54); -x_57 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_56, x_55); -return x_57; +x_110 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_3, x_94); +return x_110; +} +} +} } case 10: { -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_3, 1); -lean_inc(x_58); -x_59 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_58, x_4); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; size_t x_116; size_t x_117; uint8_t x_118; +x_111 = lean_ctor_get(x_3, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_3, 1); +lean_inc(x_112); +lean_inc(x_112); +x_113 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_112, x_4); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); +lean_inc(x_115); +lean_dec(x_113); +x_116 = lean_ptr_addr(x_112); +lean_dec(x_112); +x_117 = lean_ptr_addr(x_114); +x_118 = lean_usize_dec_eq(x_116, x_117); +if (x_118 == 0) +{ +lean_object* x_119; lean_object* x_120; +x_119 = l_Lean_Expr_mdata___override(x_111, x_114); +x_120 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_119, x_115); +return x_120; +} +else +{ +lean_object* x_121; +lean_dec(x_114); +lean_dec(x_111); lean_inc(x_3); -x_62 = lean_expr_update_mdata(x_3, x_60); -x_63 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_62, x_61); -return x_63; +x_121 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_3, x_115); +return x_121; +} } case 11: { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_64 = lean_ctor_get(x_3, 2); -lean_inc(x_64); -x_65 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_64, x_4); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; size_t x_128; size_t x_129; uint8_t x_130; +x_122 = lean_ctor_get(x_3, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_3, 1); +lean_inc(x_123); +x_124 = lean_ctor_get(x_3, 2); +lean_inc(x_124); +lean_inc(x_124); +x_125 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit(x_1, x_2, x_124, x_4); +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_ptr_addr(x_124); +lean_dec(x_124); +x_129 = lean_ptr_addr(x_126); +x_130 = lean_usize_dec_eq(x_128, x_129); +if (x_130 == 0) +{ +lean_object* x_131; lean_object* x_132; +x_131 = l_Lean_Expr_proj___override(x_122, x_123, x_126); +x_132 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_131, x_127); +return x_132; +} +else +{ +lean_object* x_133; +lean_dec(x_126); +lean_dec(x_123); +lean_dec(x_122); lean_inc(x_3); -x_68 = lean_expr_update_proj(x_3, x_66); -x_69 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_68, x_67); -return x_69; +x_133 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_3, x_127); +return x_133; +} } default: { -lean_object* x_70; +lean_object* x_134; lean_dec(x_1); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_3); -lean_ctor_set(x_70, 1, x_4); -return x_70; +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_3); +lean_ctor_set(x_134, 1, x_4); +return x_134; } } } else { -lean_object* x_71; lean_object* x_72; +lean_object* x_135; lean_object* x_136; lean_dec(x_1); -x_71 = lean_ctor_get(x_11, 0); -lean_inc(x_71); +x_135 = lean_ctor_get(x_11, 0); +lean_inc(x_135); lean_dec(x_11); -x_72 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_71, x_4); -return x_72; +x_136 = l_Lean_Expr_ReplaceImpl_cache(x_6, x_3, x_135, x_4); +return x_136; } } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_dec(x_3); lean_dec(x_1); -x_73 = lean_ctor_get(x_4, 1); -lean_inc(x_73); -x_74 = lean_array_uget(x_73, x_6); -lean_dec(x_73); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_4); -return x_75; +x_137 = lean_ctor_get(x_4, 1); +lean_inc(x_137); +x_138 = lean_array_uget(x_137, x_6); +lean_dec(x_137); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_4); +return x_139; } } } diff --git a/stage0/stdlib/Lean/Util/ReplaceLevel.c b/stage0/stdlib/Lean/Util/ReplaceLevel.c index 1a8639cbc1..165122be8e 100644 --- a/stage0/stdlib/Lean/Util/ReplaceLevel.c +++ b/stage0/stdlib/Lean/Util/ReplaceLevel.c @@ -14,38 +14,40 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l_Lean_Level_succ___override(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(lean_object*, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Expr_ReplaceLevelImpl_initCache___closed__3; +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceLevelImpl_cache(size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +uint8_t l_ptrEqList___rarg(lean_object*, lean_object*); LEAN_EXPORT size_t l_Lean_Expr_ReplaceLevelImpl_cacheSize; -lean_object* lean_level_mk_max_simp(lean_object*, lean_object*); -lean_object* lean_level_mk_imax_simp(lean_object*, lean_object*); +lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); +lean_object* l_Lean_mkLevelIMax_x27(lean_object*, lean_object*); +lean_object* l_Lean_Expr_sort___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceLevelImpl_replaceUnsafe(lean_object*, lean_object*); static lean_object* l_Lean_Expr_ReplaceLevelImpl_initCache___closed__1; lean_object* l_Lean_Expr_bvar___override(lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Level_replace(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceLevelImpl_cache___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_mod(size_t, size_t); size_t lean_ptr_addr(lean_object*); -lean_object* lean_expr_update_sort(lean_object*, lean_object*); +lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM(lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceLevelImpl_initCache; -lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Expr_app___override(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_362_(uint8_t, uint8_t); +lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_ReplaceLevelImpl_initCache___closed__2; -lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_const(lean_object*, lean_object*); static lean_object* l_Lean_Expr_ReplaceLevelImpl_initCache___closed__4; LEAN_EXPORT lean_object* l_Lean_Level_replace(lean_object* x_1, lean_object* x_2) { _start: @@ -78,7 +80,7 @@ lean_dec(x_2); lean_inc(x_1); x_9 = l_Lean_Level_replace(x_1, x_7); x_10 = l_Lean_Level_replace(x_1, x_8); -x_11 = lean_level_mk_max_simp(x_9, x_10); +x_11 = l_Lean_mkLevelMax_x27(x_9, x_10); return x_11; } case 3: @@ -92,7 +94,7 @@ lean_dec(x_2); lean_inc(x_1); x_14 = l_Lean_Level_replace(x_1, x_12); x_15 = l_Lean_Level_replace(x_1, x_13); -x_16 = lean_level_mk_imax_simp(x_14, x_15); +x_16 = l_Lean_mkLevelIMax_x27(x_14, x_15); return x_16; } default: @@ -222,194 +224,469 @@ if (x_10 == 0) switch (lean_obj_tag(x_3)) { case 3: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; uint8_t x_15; x_11 = lean_ctor_get(x_3, 0); lean_inc(x_11); +lean_inc(x_11); x_12 = l_Lean_Level_replace(x_1, x_11); +x_13 = lean_ptr_addr(x_11); +lean_dec(x_11); +x_14 = lean_ptr_addr(x_12); +x_15 = lean_usize_dec_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = l_Lean_Expr_sort___override(x_12); +x_17 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_16, x_4); +return x_17; +} +else +{ +lean_object* x_18; +lean_dec(x_12); lean_inc(x_3); -x_13 = lean_expr_update_sort(x_3, x_12); -x_14 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_13, x_4); -return x_14; +x_18 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_3, x_4); +return x_18; +} } case 4: { -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_3, 1); -lean_inc(x_15); -x_16 = lean_box(0); -x_17 = l_List_mapTRAux___at_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit___spec__1(x_1, x_15, x_16); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_3, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_3, 1); +lean_inc(x_20); +x_21 = lean_box(0); +lean_inc(x_20); +x_22 = l_List_mapTRAux___at_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit___spec__1(x_1, x_20, x_21); +x_23 = l_ptrEqList___rarg(x_20, x_22); +lean_dec(x_20); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = l_Lean_Expr_const___override(x_19, x_22); +x_25 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_24, x_4); +return x_25; +} +else +{ +lean_object* x_26; +lean_dec(x_22); +lean_dec(x_19); lean_inc(x_3); -x_18 = lean_expr_update_const(x_3, x_17); -x_19 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_18, x_4); -return x_19; +x_26 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_3, x_4); +return x_26; +} } case 5: { -lean_object* x_20; 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 = lean_ctor_get(x_3, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_3, 1); -lean_inc(x_21); -lean_inc(x_1); -x_22 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_20, x_4); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_21, x_24); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 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; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; uint8_t x_37; +x_27 = lean_ctor_get(x_3, 0); lean_inc(x_27); -lean_dec(x_25); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_1); +x_29 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_27, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +lean_inc(x_28); +x_32 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_28, 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); +lean_dec(x_32); +x_35 = lean_ptr_addr(x_27); +lean_dec(x_27); +x_36 = lean_ptr_addr(x_30); +x_37 = lean_usize_dec_eq(x_35, x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_28); +x_38 = l_Lean_Expr_app___override(x_30, x_33); +x_39 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_38, x_34); +return x_39; +} +else +{ +size_t x_40; size_t x_41; uint8_t x_42; +x_40 = lean_ptr_addr(x_28); +lean_dec(x_28); +x_41 = lean_ptr_addr(x_33); +x_42 = lean_usize_dec_eq(x_40, x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = l_Lean_Expr_app___override(x_30, x_33); +x_44 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_43, x_34); +return x_44; +} +else +{ +lean_object* x_45; +lean_dec(x_33); +lean_dec(x_30); lean_inc(x_3); -x_28 = lean_expr_update_app(x_3, x_23, x_26); -x_29 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_28, x_27); -return x_29; +x_45 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_3, x_34); +return x_45; +} +} } case 6: { -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; -x_30 = lean_ctor_get(x_3, 1); -lean_inc(x_30); -x_31 = lean_ctor_get(x_3, 2); -lean_inc(x_31); -x_32 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); +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; size_t x_57; size_t x_58; uint8_t x_59; +x_46 = lean_ctor_get(x_3, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_3, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_3, 2); +lean_inc(x_48); +x_49 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); +lean_inc(x_47); lean_inc(x_1); -x_33 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_30, x_4); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_31, x_35); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -lean_inc(x_3); -x_39 = lean_expr_update_lambda(x_3, x_32, x_34, x_37); -x_40 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_39, x_38); -return x_40; +x_50 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_47, x_4); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +lean_inc(x_48); +x_53 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_48, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +x_56 = l_Lean_Expr_lam___override(x_46, x_47, x_48, x_49); +x_57 = lean_ptr_addr(x_47); +lean_dec(x_47); +x_58 = lean_ptr_addr(x_51); +x_59 = lean_usize_dec_eq(x_57, x_58); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_56); +lean_dec(x_48); +x_60 = l_Lean_Expr_lam___override(x_46, x_51, x_54, x_49); +x_61 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_60, x_55); +return x_61; +} +else +{ +size_t x_62; size_t x_63; uint8_t x_64; +x_62 = lean_ptr_addr(x_48); +lean_dec(x_48); +x_63 = lean_ptr_addr(x_54); +x_64 = lean_usize_dec_eq(x_62, x_63); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_56); +x_65 = l_Lean_Expr_lam___override(x_46, x_51, x_54, x_49); +x_66 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_65, x_55); +return x_66; +} +else +{ +uint8_t x_67; +x_67 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_49, x_49); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; +lean_dec(x_56); +x_68 = l_Lean_Expr_lam___override(x_46, x_51, x_54, x_49); +x_69 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_68, x_55); +return x_69; +} +else +{ +lean_object* x_70; +lean_dec(x_54); +lean_dec(x_51); +lean_dec(x_46); +x_70 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_56, x_55); +return x_70; +} +} +} } case 7: { -lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_41 = lean_ctor_get(x_3, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_3, 2); -lean_inc(x_42); -x_43 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); +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; size_t x_82; size_t x_83; uint8_t x_84; +x_71 = lean_ctor_get(x_3, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_3, 1); +lean_inc(x_72); +x_73 = lean_ctor_get(x_3, 2); +lean_inc(x_73); +x_74 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 8); +lean_inc(x_72); lean_inc(x_1); -x_44 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_41, x_4); -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_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_42, 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); -lean_inc(x_3); -x_50 = lean_expr_update_forall(x_3, x_43, x_45, x_48); -x_51 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_50, x_49); -return x_51; +x_75 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_72, x_4); +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); +lean_inc(x_73); +x_78 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_73, x_77); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +lean_inc(x_73); +lean_inc(x_72); +lean_inc(x_71); +x_81 = l_Lean_Expr_forallE___override(x_71, x_72, x_73, x_74); +x_82 = lean_ptr_addr(x_72); +lean_dec(x_72); +x_83 = lean_ptr_addr(x_76); +x_84 = lean_usize_dec_eq(x_82, x_83); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; +lean_dec(x_81); +lean_dec(x_73); +x_85 = l_Lean_Expr_forallE___override(x_71, x_76, x_79, x_74); +x_86 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_85, x_80); +return x_86; +} +else +{ +size_t x_87; size_t x_88; uint8_t x_89; +x_87 = lean_ptr_addr(x_73); +lean_dec(x_73); +x_88 = lean_ptr_addr(x_79); +x_89 = lean_usize_dec_eq(x_87, x_88); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_81); +x_90 = l_Lean_Expr_forallE___override(x_71, x_76, x_79, x_74); +x_91 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_90, x_80); +return x_91; +} +else +{ +uint8_t x_92; +x_92 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_74, x_74); +if (x_92 == 0) +{ +lean_object* x_93; lean_object* x_94; +lean_dec(x_81); +x_93 = l_Lean_Expr_forallE___override(x_71, x_76, x_79, x_74); +x_94 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_93, x_80); +return x_94; +} +else +{ +lean_object* x_95; +lean_dec(x_79); +lean_dec(x_76); +lean_dec(x_71); +x_95 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_81, x_80); +return x_95; +} +} +} } case 8: { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_52 = lean_ctor_get(x_3, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_3, 2); -lean_inc(x_53); -x_54 = lean_ctor_get(x_3, 3); -lean_inc(x_54); +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; 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; size_t x_110; size_t x_111; uint8_t x_112; +x_96 = lean_ctor_get(x_3, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +x_99 = lean_ctor_get(x_3, 3); +lean_inc(x_99); +x_100 = lean_ctor_get_uint8(x_3, sizeof(void*)*4 + 8); +lean_inc(x_97); lean_inc(x_1); -x_55 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_52, x_4); -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_101 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_97, x_4); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +lean_inc(x_98); lean_inc(x_1); -x_58 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_53, x_57); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_54, x_60); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); +x_104 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_98, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +lean_inc(x_99); +x_107 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_99, x_106); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +lean_dec(x_107); +x_110 = lean_ptr_addr(x_97); +lean_dec(x_97); +x_111 = lean_ptr_addr(x_102); +x_112 = lean_usize_dec_eq(x_110, x_111); +if (x_112 == 0) +{ +lean_object* x_113; lean_object* x_114; +lean_dec(x_99); +lean_dec(x_98); +x_113 = l_Lean_Expr_letE___override(x_96, x_102, x_105, x_108, x_100); +x_114 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_113, x_109); +return x_114; +} +else +{ +size_t x_115; size_t x_116; uint8_t x_117; +x_115 = lean_ptr_addr(x_98); +lean_dec(x_98); +x_116 = lean_ptr_addr(x_105); +x_117 = lean_usize_dec_eq(x_115, x_116); +if (x_117 == 0) +{ +lean_object* x_118; lean_object* x_119; +lean_dec(x_99); +x_118 = l_Lean_Expr_letE___override(x_96, x_102, x_105, x_108, x_100); +x_119 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_118, x_109); +return x_119; +} +else +{ +size_t x_120; size_t x_121; uint8_t x_122; +x_120 = lean_ptr_addr(x_99); +lean_dec(x_99); +x_121 = lean_ptr_addr(x_108); +x_122 = lean_usize_dec_eq(x_120, x_121); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; +x_123 = l_Lean_Expr_letE___override(x_96, x_102, x_105, x_108, x_100); +x_124 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_123, x_109); +return x_124; +} +else +{ +lean_object* x_125; +lean_dec(x_108); +lean_dec(x_105); +lean_dec(x_102); +lean_dec(x_96); lean_inc(x_3); -x_64 = lean_expr_update_let(x_3, x_56, x_59, x_62); -x_65 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_64, x_63); -return x_65; +x_125 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_3, x_109); +return x_125; +} +} +} } case 10: { -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_3, 1); -lean_inc(x_66); -x_67 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_66, x_4); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; size_t x_131; size_t x_132; uint8_t x_133; +x_126 = lean_ctor_get(x_3, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_3, 1); +lean_inc(x_127); +lean_inc(x_127); +x_128 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_127, x_4); +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_ptr_addr(x_127); +lean_dec(x_127); +x_132 = lean_ptr_addr(x_129); +x_133 = lean_usize_dec_eq(x_131, x_132); +if (x_133 == 0) +{ +lean_object* x_134; lean_object* x_135; +x_134 = l_Lean_Expr_mdata___override(x_126, x_129); +x_135 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_134, x_130); +return x_135; +} +else +{ +lean_object* x_136; +lean_dec(x_129); +lean_dec(x_126); lean_inc(x_3); -x_70 = lean_expr_update_mdata(x_3, x_68); -x_71 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_70, x_69); -return x_71; +x_136 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_3, x_130); +return x_136; +} } case 11: { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_72 = lean_ctor_get(x_3, 2); -lean_inc(x_72); -x_73 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_72, x_4); -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); +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; size_t x_143; size_t x_144; uint8_t x_145; +x_137 = lean_ctor_get(x_3, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_3, 1); +lean_inc(x_138); +x_139 = lean_ctor_get(x_3, 2); +lean_inc(x_139); +lean_inc(x_139); +x_140 = l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(x_1, x_2, x_139, x_4); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_140, 1); +lean_inc(x_142); +lean_dec(x_140); +x_143 = lean_ptr_addr(x_139); +lean_dec(x_139); +x_144 = lean_ptr_addr(x_141); +x_145 = lean_usize_dec_eq(x_143, x_144); +if (x_145 == 0) +{ +lean_object* x_146; lean_object* x_147; +x_146 = l_Lean_Expr_proj___override(x_137, x_138, x_141); +x_147 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_146, x_142); +return x_147; +} +else +{ +lean_object* x_148; +lean_dec(x_141); +lean_dec(x_138); +lean_dec(x_137); lean_inc(x_3); -x_76 = lean_expr_update_proj(x_3, x_74); -x_77 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_76, x_75); -return x_77; +x_148 = l_Lean_Expr_ReplaceLevelImpl_cache(x_6, x_3, x_3, x_142); +return x_148; +} } default: { -lean_object* x_78; +lean_object* x_149; lean_dec(x_1); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_3); -lean_ctor_set(x_78, 1, x_4); -return x_78; +x_149 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_149, 0, x_3); +lean_ctor_set(x_149, 1, x_4); +return x_149; } } } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_dec(x_3); lean_dec(x_1); -x_79 = lean_ctor_get(x_4, 1); -lean_inc(x_79); -x_80 = lean_array_uget(x_79, x_6); -lean_dec(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_4); -return x_81; +x_150 = lean_ctor_get(x_4, 1); +lean_inc(x_150); +x_151 = lean_array_uget(x_150, x_6); +lean_dec(x_150); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_4); +return x_152; } } } diff --git a/stage0/stdlib/Lean/Util/Trace.c b/stage0/stdlib/Lean/Util/Trace.c index 463d48a25f..5da92b6b23 100644 --- a/stage0/stdlib/Lean/Util/Trace.c +++ b/stage0/stdlib/Lean/Util/Trace.c @@ -5154,7 +5154,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_Util_Trace_0__Lean_withNestedTracesFinalizer___rarg___lambda__1___closed__1; x_2 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___rarg___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___rarg___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Widget/Basic.c b/stage0/stdlib/Lean/Widget/Basic.c index 484b5b55c1..fbea46acec 100644 --- a/stage0/stdlib/Lean/Widget/Basic.c +++ b/stage0/stdlib/Lean/Widget/Basic.c @@ -17,11 +17,14 @@ static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonFVarId(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__17; +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__2(lean_object*); static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__8; +LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__1(lean_object*); static lean_object* l_Lean_Widget_instFromJsonFVarId___closed__2; LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg(lean_object*, lean_object*, size_t); lean_object* l_Lean_Json_getStr_x3f(lean_object*); @@ -38,7 +41,7 @@ LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___h static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__11; LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___lambda__1___boxed(lean_object*); static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__3; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l_Lean_Widget_instFromJsonFVarId___closed__3; @@ -51,22 +54,27 @@ lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_obje static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__13; static lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__3; static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__5; +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__1; static lean_object* l_Lean_Widget_instFromJsonFVarId___closed__4; +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___lambda__1(size_t); static uint32_t l_Lean_Widget_instInhabitedInfoWithCtx___closed__7; static lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__2; +LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonFVarId___closed__5; static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6; LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonMVarId(lean_object*); static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__16; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef; static lean_object* l_Lean_Widget_instFromJsonFVarId___closed__1; +static lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__4; static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__9; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2(lean_object*); static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__19; lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__6; @@ -87,6 +95,7 @@ static lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___c lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef; static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__12; @@ -449,11 +458,76 @@ x_5 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg(x_1, x return x_5; } } +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___lambda__1(size_t x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box_usize(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_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___lambda__1___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_apply_2(x_5, x_3, x_4); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1; +x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_10, x_6); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__1___rarg(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_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6; +x_5 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg(x_1, x_2, x_4, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__1___rarg), 3, 0); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg(x_2, x_3, x_4); +x_5 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__1___rarg(x_2, x_3, x_4); return x_5; } } @@ -469,7 +543,7 @@ static lean_object* _init_l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcR _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__1___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__1), 4, 0); return x_1; } } @@ -501,13 +575,14 @@ x_1 = l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__3; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___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_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___lambda__1___boxed(lean_object* x_1) { _start: { -lean_object* x_5; -x_5 = l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_2); -return x_5; +size_t x_2; lean_object* x_3; +x_2 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_3 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___lambda__1(x_2); +return x_3; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -591,11 +666,58 @@ x_5 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg(x_1, return x_5; } } +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_apply_2(x_5, x_3, x_4); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1; +x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_10, x_6); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__2___rarg), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__1___rarg(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_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__2; +x_5 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__2___rarg(x_1, x_2, x_4, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__1___rarg), 3, 0); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg(x_2, x_3, x_4); +x_5 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__1___rarg(x_2, x_3, x_4); return x_5; } } @@ -611,7 +733,7 @@ static lean_object* _init_l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcR _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__1___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__1), 4, 0); return x_1; } } @@ -643,15 +765,6 @@ x_1 = l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__3; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___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_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_2); -return x_5; -} -} LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -1058,6 +1171,8 @@ l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__5 lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__5); l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6(); lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6); +l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1 = _init_l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1(); +lean_mark_persistent(l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1); l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__1 = _init_l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__1(); lean_mark_persistent(l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__1); l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__2 = _init_l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__2(); diff --git a/stage0/stdlib/Lean/Widget/InteractiveCode.c b/stage0/stdlib/Lean/Widget/InteractiveCode.c index f7b98749b8..e3bd1ec639 100644 --- a/stage0/stdlib/Lean/Widget/InteractiveCode.c +++ b/stage0/stdlib/Lean/Widget/InteractiveCode.c @@ -49,6 +49,7 @@ LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Widget_tagExprInfos_go___sp LEAN_EXPORT lean_object* l_Lean_Widget_tagExprInfos(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_tagExprInfos_go(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__8; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__4(lean_object*); static lean_object* l_Lean_Widget_ppExprTagged___closed__5; static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__4; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); @@ -58,7 +59,7 @@ LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPack LEAN_EXPORT lean_object* l_Lean_Widget_CodeWithInfos_pretty(lean_object*); static lean_object* l_Lean_Widget_ppExprTagged___closed__12; static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__9; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__2; static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__3; @@ -77,6 +78,7 @@ static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__18; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__14; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____rarg(lean_object*, lean_object*, lean_object*); @@ -85,6 +87,8 @@ LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedSubexprInfo; static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__10; static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__20; static lean_object* l_Lean_Widget_ppExprTagged___closed__2; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__3(lean_object*); static lean_object* l_Lean_Widget_ppExprTagged___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_ppExprTagged___closed__9; @@ -679,65 +683,195 @@ x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEnco return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_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_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; lean_dec(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_2); -lean_ctor_set(x_6, 1, x_3); -x_7 = lean_apply_2(x_5, lean_box(0), x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); lean_dec(x_1); -x_8 = lean_ctor_get(x_2, 1); +x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__3___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__4___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_4); +x_8 = lean_apply_2(x_6, lean_box(0), x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; 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_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); lean_dec(x_2); lean_inc(x_3); -x_9 = lean_apply_4(x_7, lean_box(0), x_3, x_4, x_8); -x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__1), 3, 2); -lean_closure_set(x_10, 0, x_3); -lean_closure_set(x_10, 1, x_6); -x_11 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_9, x_10); -return x_11; +x_8 = lean_apply_4(x_6, lean_box(0), x_3, x_4, x_7); +lean_inc(x_3); +x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__1), 3, 2); +lean_closure_set(x_9, 0, x_5); +lean_closure_set(x_9, 1, x_3); +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__1___rarg), 5, 4); +lean_closure_set(x_11, 0, x_3); +lean_closure_set(x_11, 1, lean_box(0)); +lean_closure_set(x_11, 2, lean_box(0)); +lean_closure_set(x_11, 3, x_9); +x_12 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_8, x_11); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_7 = lean_ctor_get(x_4, 1); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); lean_dec(x_1); -x_9 = lean_ctor_get(x_6, 0); -lean_inc(x_9); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); lean_inc(x_5); lean_inc(x_4); -x_10 = lean_apply_4(x_8, lean_box(0), x_4, x_5, x_9); -lean_inc(x_7); -x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__2), 6, 5); -lean_closure_set(x_11, 0, x_2); -lean_closure_set(x_11, 1, x_6); -lean_closure_set(x_11, 2, x_4); -lean_closure_set(x_11, 3, x_5); -lean_closure_set(x_11, 4, x_7); -x_12 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_10, x_11); -return x_12; +x_9 = lean_apply_4(x_7, lean_box(0), x_4, x_5, x_8); +lean_inc(x_4); +x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__2), 5, 4); +lean_closure_set(x_10, 0, x_2); +lean_closure_set(x_10, 1, x_6); +lean_closure_set(x_10, 2, x_4); +lean_closure_set(x_10, 3, x_5); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__2___rarg), 5, 4); +lean_closure_set(x_12, 0, x_4); +lean_closure_set(x_12, 1, lean_box(0)); +lean_closure_set(x_12, 2, lean_box(0)); +lean_closure_set(x_12, 3, x_10); +x_13 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_9, x_12); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -777,7 +911,7 @@ lean_closure_set(x_9, 0, x_5); lean_closure_set(x_9, 1, x_3); x_10 = lean_ctor_get(x_3, 1); lean_inc(x_10); -x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__1___rarg), 5, 4); +x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__3___rarg), 5, 4); lean_closure_set(x_11, 0, x_3); lean_closure_set(x_11, 1, lean_box(0)); lean_closure_set(x_11, 2, lean_box(0)); @@ -806,7 +940,7 @@ lean_closure_set(x_10, 2, x_4); lean_closure_set(x_10, 3, x_5); x_11 = lean_ctor_get(x_4, 1); lean_inc(x_11); -x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__2___rarg), 5, 4); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__4___rarg), 5, 4); lean_closure_set(x_12, 0, x_4); lean_closure_set(x_12, 1, lean_box(0)); lean_closure_set(x_12, 2, lean_box(0)); diff --git a/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c b/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c index 716adf6719..e1cdd226e3 100644 --- a/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c +++ b/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c @@ -16,6 +16,7 @@ extern "C" { LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedEmbedFmt; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__16(lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__1(lean_object*, lean_object*); @@ -23,6 +24,7 @@ LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingP LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__6; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__9___rarg(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___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__3; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -35,20 +37,21 @@ LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingP static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__5; lean_object* l_Lean_Json_getObjValAs_x3f(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__12___rarg(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_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Widget_TaggedText_prettyTagged(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__4(lean_object*); lean_object* l_Except_orElseLazy___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Widget_msgToInteractive___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___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_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__2___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewriteM___at_Lean_Widget_msgToInteractive___spec__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__2___closed__2; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__4___rarg(lean_object*, lean_object*, lean_object*); @@ -65,13 +68,13 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_ static lean_object* l_Lean_Widget_msgToInteractive___lambda__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__9; -static lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3___closed__1; 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; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__5(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__17(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__7(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__1; @@ -84,8 +87,9 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Widget_TaggedText_stripTags___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__5; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__1___closed__2; static uint32_t l_Lean_Widget_instInhabitedEmbedFmt___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_532____rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -107,8 +111,10 @@ lean_object* l_Lean_Expr_mvar___override(lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__5; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__3; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____rarg___closed__8; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__10(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt(lean_object*); lean_object* l_Lean_Widget_TaggedText_rewrite___rarg(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Json_setObjVal_x21___spec__1(lean_object*); @@ -118,22 +124,24 @@ lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__8; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__2___closed__4; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__12(lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____rarg___closed__1; lean_object* l_Std_mkHashMapImp___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__18; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* 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_Lean_Widget_instToJsonRpcEncodingPacket__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__9; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__8(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__3(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__1___rarg___closed__1; lean_object* lean_format_pretty(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__4(lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); @@ -147,13 +155,17 @@ LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingP LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_dbg_to_string(lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__8(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____rarg___closed__3; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__2___closed__5; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__15___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedMsgEmbed___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___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_Widget_instInhabitedMsgEmbed___closed__1; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__9(lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__12; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__9(lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__2___closed__6; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -165,6 +177,9 @@ LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgE LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__11(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__14(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__5(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -172,8 +187,10 @@ static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__19; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___closed__1; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__15(lean_object*); static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__4; static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__20; static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__10; @@ -182,31 +199,36 @@ lean_object* l_Lean_Json_opt___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Widget_msgToInteractive___spec__1___closed__1; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__10(lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__3___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(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_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__12(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__10; LEAN_EXPORT lean_object* l_StateT_lift___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__3(lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____rarg___closed__6; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__5___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__6(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_mkPPContext___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__16; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__13(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__1(lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); static lean_object* l_Lean_Widget_instInhabitedMsgEmbed___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__8(lean_object*); lean_object* l_Lean_ppTerm(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -218,6 +240,7 @@ static lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___ LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1642____rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedMsgEmbed; @@ -252,7 +275,7 @@ LEAN_EXPORT lean_object* l_StateT_lift___at___private_Lean_Widget_InteractiveDia size_t lean_usize_of_nat(lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____rarg___closed__7; lean_object* lean_nat_to_int(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__18(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -266,6 +289,7 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1(lean_object*, lean_object*); static size_t l_Lean_Widget_instInhabitedEmbedFmt___closed__17; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Widget_instInhabitedMsgEmbed___closed__1() { _start: { @@ -374,7 +398,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_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__2___closed__3; x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__2___closed__4; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_225____rarg___lambda__2___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -1492,93 +1516,403 @@ x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEnco return x_2; } } +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__6(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__6___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__7(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__7___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__8___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__8(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__8___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__9(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__9___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__10___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__10(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__10___rarg), 5, 0); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___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; -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_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_3, 0, x_2); +x_4 = lean_ctor_get(x_1, 0); lean_inc(x_4); -lean_dec(x_3); -x_5 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_5, 0, x_2); -x_6 = lean_apply_2(x_4, lean_box(0), x_5); -return x_6; +lean_dec(x_1); +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_3); +x_7 = lean_apply_2(x_5, lean_box(0), x_6); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__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; -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_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +x_4 = lean_ctor_get(x_1, 0); lean_inc(x_4); -lean_dec(x_3); -x_5 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_5, 0, x_2); -x_6 = lean_apply_2(x_4, lean_box(0), x_5); -return x_6; +lean_dec(x_1); +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_3); +x_7 = lean_apply_2(x_5, lean_box(0), x_6); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_ctor_get(x_5, 1); +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_4); +x_6 = lean_ctor_get(x_3, 0); lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_alloc_ctor(2, 3, 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); -x_8 = lean_apply_2(x_6, lean_box(0), x_7); -return x_8; +lean_dec(x_3); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +x_9 = lean_apply_2(x_7, lean_box(0), x_8); +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +lean_inc(x_2); +x_8 = lean_apply_4(x_7, lean_box(0), x_2, x_3, x_4); +lean_inc(x_2); +x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__3), 4, 3); +lean_closure_set(x_9, 0, x_5); +lean_closure_set(x_9, 1, x_6); +lean_closure_set(x_9, 2, x_2); +x_10 = lean_ctor_get(x_2, 1); +lean_inc(x_10); +x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__3___rarg), 5, 4); +lean_closure_set(x_11, 0, x_2); +lean_closure_set(x_11, 1, lean_box(0)); +lean_closure_set(x_11, 2, lean_box(0)); +lean_closure_set(x_11, 3, x_9); +x_12 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_8, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_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; x_8 = lean_ctor_get(x_1, 0); lean_inc(x_8); lean_dec(x_1); -lean_inc(x_2); -x_9 = lean_apply_4(x_8, lean_box(0), x_2, x_3, x_4); -x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__3), 4, 3); -lean_closure_set(x_10, 0, x_2); -lean_closure_set(x_10, 1, x_5); -lean_closure_set(x_10, 2, x_7); -x_11 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_9, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -lean_dec(x_1); lean_inc(x_3); lean_inc(x_2); -x_10 = lean_apply_4(x_9, lean_box(0), x_2, x_3, x_4); -lean_inc(x_7); -x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__4), 7, 6); -lean_closure_set(x_11, 0, x_5); -lean_closure_set(x_11, 1, x_2); -lean_closure_set(x_11, 2, x_3); -lean_closure_set(x_11, 3, x_6); -lean_closure_set(x_11, 4, x_8); -lean_closure_set(x_11, 5, x_7); -x_12 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_10, x_11); -return x_12; +x_9 = lean_apply_4(x_8, lean_box(0), x_2, x_3, x_4); +lean_inc(x_2); +x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__4), 6, 5); +lean_closure_set(x_10, 0, x_5); +lean_closure_set(x_10, 1, x_2); +lean_closure_set(x_10, 2, x_3); +lean_closure_set(x_10, 3, x_6); +lean_closure_set(x_10, 4, x_7); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__4___rarg), 5, 4); +lean_closure_set(x_12, 0, x_2); +lean_closure_set(x_12, 1, lean_box(0)); +lean_closure_set(x_12, 2, lean_box(0)); +lean_closure_set(x_12, 3, x_10); +x_13 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_9, x_12); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -1587,7 +1921,7 @@ _start: switch (lean_obj_tag(x_9)) { 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; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1595,71 +1929,87 @@ lean_dec(x_2); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); lean_dec(x_9); -x_11 = lean_ctor_get(x_7, 1); +x_11 = lean_ctor_get(x_1, 0); lean_inc(x_11); -x_12 = lean_ctor_get(x_1, 0); -lean_inc(x_12); lean_dec(x_1); lean_inc(x_7); -x_13 = lean_apply_4(x_12, lean_box(0), x_7, x_8, x_10); -x_14 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__1), 2, 1); -lean_closure_set(x_14, 0, x_7); -x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_14); -return x_15; +x_12 = lean_apply_4(x_11, lean_box(0), x_7, x_8, x_10); +lean_inc(x_7); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__1), 2, 1); +lean_closure_set(x_13, 0, x_7); +x_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); +x_15 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__1___rarg), 5, 4); +lean_closure_set(x_15, 0, x_7); +lean_closure_set(x_15, 1, lean_box(0)); +lean_closure_set(x_15, 2, lean_box(0)); +lean_closure_set(x_15, 3, x_13); +x_16 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_12, x_15); +return x_16; } case 1: { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_16 = lean_ctor_get(x_9, 0); -lean_inc(x_16); -lean_dec(x_9); -x_17 = lean_ctor_get(x_7, 1); +x_17 = lean_ctor_get(x_9, 0); lean_inc(x_17); +lean_dec(x_9); x_18 = lean_ctor_get(x_2, 0); lean_inc(x_18); lean_dec(x_2); lean_inc(x_7); -x_19 = lean_apply_4(x_18, lean_box(0), x_7, x_8, x_16); +x_19 = lean_apply_4(x_18, lean_box(0), x_7, x_8, x_17); +lean_inc(x_7); x_20 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__2), 2, 1); lean_closure_set(x_20, 0, x_7); -x_21 = lean_apply_4(x_17, lean_box(0), lean_box(0), x_19, x_20); -return x_21; +x_21 = lean_ctor_get(x_7, 1); +lean_inc(x_21); +x_22 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__2___rarg), 5, 4); +lean_closure_set(x_22, 0, x_7); +lean_closure_set(x_22, 1, lean_box(0)); +lean_closure_set(x_22, 2, lean_box(0)); +lean_closure_set(x_22, 3, x_20); +x_23 = lean_apply_4(x_21, lean_box(0), lean_box(0), x_19, x_22); +return x_23; } default: { -lean_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_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_dec(x_2); lean_dec(x_1); -x_22 = lean_ctor_get(x_9, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_9, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_9, 2); +x_24 = lean_ctor_get(x_9, 0); lean_inc(x_24); -lean_dec(x_9); -x_25 = lean_ctor_get(x_7, 1); +x_25 = lean_ctor_get(x_9, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_3, 0); +x_26 = lean_ctor_get(x_9, 2); lean_inc(x_26); +lean_dec(x_9); +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); lean_dec(x_3); lean_inc(x_8); lean_inc(x_7); -x_27 = lean_apply_4(x_26, lean_box(0), x_7, x_8, x_22); -lean_inc(x_25); -x_28 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__5), 8, 7); -lean_closure_set(x_28, 0, x_4); -lean_closure_set(x_28, 1, x_7); -lean_closure_set(x_28, 2, x_8); -lean_closure_set(x_28, 3, x_23); -lean_closure_set(x_28, 4, x_5); -lean_closure_set(x_28, 5, x_24); -lean_closure_set(x_28, 6, x_25); -x_29 = lean_apply_4(x_25, lean_box(0), lean_box(0), x_27, x_28); -return x_29; +x_28 = lean_apply_4(x_27, lean_box(0), x_7, x_8, x_24); +lean_inc(x_7); +x_29 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___rarg___lambda__5), 7, 6); +lean_closure_set(x_29, 0, x_4); +lean_closure_set(x_29, 1, x_7); +lean_closure_set(x_29, 2, x_8); +lean_closure_set(x_29, 3, x_25); +lean_closure_set(x_29, 4, x_5); +lean_closure_set(x_29, 5, x_26); +x_30 = lean_ctor_get(x_7, 1); +lean_inc(x_30); +x_31 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__5___rarg), 5, 4); +lean_closure_set(x_31, 0, x_7); +lean_closure_set(x_31, 1, lean_box(0)); +lean_closure_set(x_31, 2, lean_box(0)); +lean_closure_set(x_31, 3, x_29); +x_32 = lean_apply_4(x_30, lean_box(0), lean_box(0), x_28, x_31); +return x_32; } } } @@ -1736,7 +2086,7 @@ lean_closure_set(x_9, 1, x_6); lean_closure_set(x_9, 2, x_2); x_10 = lean_ctor_get(x_2, 1); lean_inc(x_10); -x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__3___rarg), 5, 4); +x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__8___rarg), 5, 4); lean_closure_set(x_11, 0, x_2); lean_closure_set(x_11, 1, lean_box(0)); lean_closure_set(x_11, 2, lean_box(0)); @@ -1764,7 +2114,7 @@ lean_closure_set(x_10, 3, x_6); lean_closure_set(x_10, 4, x_7); x_11 = lean_ctor_get(x_2, 1); lean_inc(x_11); -x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__4___rarg), 5, 4); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__9___rarg), 5, 4); lean_closure_set(x_12, 0, x_2); lean_closure_set(x_12, 1, lean_box(0)); lean_closure_set(x_12, 2, lean_box(0)); @@ -1797,7 +2147,7 @@ x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodi lean_closure_set(x_13, 0, x_7); x_14 = lean_ctor_get(x_7, 1); lean_inc(x_14); -x_15 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__1___rarg), 5, 4); +x_15 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__6___rarg), 5, 4); lean_closure_set(x_15, 0, x_7); lean_closure_set(x_15, 1, lean_box(0)); lean_closure_set(x_15, 2, lean_box(0)); @@ -1825,7 +2175,7 @@ x_20 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodi lean_closure_set(x_20, 0, x_7); x_21 = lean_ctor_get(x_7, 1); lean_inc(x_21); -x_22 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__2___rarg), 5, 4); +x_22 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__7___rarg), 5, 4); lean_closure_set(x_22, 0, x_7); lean_closure_set(x_22, 1, lean_box(0)); lean_closure_set(x_22, 2, lean_box(0)); @@ -1861,7 +2211,7 @@ lean_closure_set(x_29, 4, x_5); lean_closure_set(x_29, 5, x_26); x_30 = lean_ctor_get(x_7, 1); lean_inc(x_30); -x_31 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__5___rarg), 5, 4); +x_31 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingMsgEmbedRpcEncodingPacket___spec__10___rarg), 5, 4); lean_closure_set(x_31, 0, x_7); lean_closure_set(x_31, 1, lean_box(0)); lean_closure_set(x_31, 2, lean_box(0)); @@ -3332,440 +3682,471 @@ x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEnco return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___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_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_12, 0, x_2); -lean_ctor_set(x_12, 1, x_3); -lean_ctor_set(x_12, 2, x_4); -lean_ctor_set(x_12, 3, x_5); -lean_ctor_set(x_12, 4, x_6); -lean_ctor_set(x_12, 5, x_7); -lean_ctor_set(x_12, 6, x_8); -lean_ctor_set(x_12, 7, x_9); -x_13 = lean_apply_2(x_11, lean_box(0), x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2(lean_object* x_1) { -_start: +if (lean_obj_tag(x_5) == 0) { -lean_object* x_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_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2), 1, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_1, 7); -lean_inc(x_13); -lean_dec(x_1); -lean_inc(x_2); -x_14 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__1), 9, 8); -lean_closure_set(x_14, 0, x_2); -lean_closure_set(x_14, 1, x_3); -lean_closure_set(x_14, 2, x_4); -lean_closure_set(x_14, 3, x_5); -lean_closure_set(x_14, 4, x_6); -lean_closure_set(x_14, 5, x_7); -lean_closure_set(x_14, 6, x_8); -lean_closure_set(x_14, 7, 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; -lean_dec(x_11); -lean_dec(x_10); -x_15 = lean_ctor_get(x_2, 0); -lean_inc(x_15); -lean_dec(x_2); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_box(0); -x_18 = lean_apply_2(x_16, lean_box(0), x_17); -x_19 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_18, x_14); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_20 = lean_ctor_get(x_13, 0); -lean_inc(x_20); -lean_dec(x_13); -x_21 = lean_ctor_get(x_2, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get(x_10, 0); -lean_inc(x_24); -lean_dec(x_10); -x_25 = lean_apply_4(x_24, lean_box(0), x_2, x_11, x_20); -x_26 = l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3___closed__1; -x_27 = lean_apply_4(x_23, lean_box(0), lean_box(0), x_26, x_25); -x_28 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_27, x_14); -return x_28; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_1, 6); -lean_inc(x_13); -lean_inc(x_10); -lean_inc(x_8); -lean_inc(x_2); -x_14 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3), 12, 11); -lean_closure_set(x_14, 0, x_1); -lean_closure_set(x_14, 1, x_2); -lean_closure_set(x_14, 2, x_3); -lean_closure_set(x_14, 3, x_4); -lean_closure_set(x_14, 4, x_5); -lean_closure_set(x_14, 5, x_6); -lean_closure_set(x_14, 6, x_7); -lean_closure_set(x_14, 7, x_12); -lean_closure_set(x_14, 8, x_8); -lean_closure_set(x_14, 9, x_9); -lean_closure_set(x_14, 10, x_10); -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; -lean_dec(x_11); -lean_dec(x_10); -x_15 = lean_ctor_get(x_2, 0); -lean_inc(x_15); -lean_dec(x_2); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_box(0); -x_18 = lean_apply_2(x_16, lean_box(0), x_17); -x_19 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_18, x_14); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_20 = lean_ctor_get(x_13, 0); -lean_inc(x_20); -lean_dec(x_13); -x_21 = lean_ctor_get(x_2, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get(x_11, 0); -lean_inc(x_24); -lean_dec(x_11); -x_25 = lean_apply_4(x_24, lean_box(0), x_2, x_10, x_20); -x_26 = l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3___closed__1; -x_27 = lean_apply_4(x_23, lean_box(0), lean_box(0), x_26, x_25); -x_28 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_27, x_14); -return x_28; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_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_1, 0); -lean_inc(x_13); -lean_dec(x_1); -x_14 = lean_ctor_get(x_2, 5); -lean_inc(x_14); -lean_inc(x_4); -lean_inc(x_3); -x_15 = lean_apply_4(x_13, lean_box(0), x_3, x_4, x_14); -lean_inc(x_9); -x_16 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__4), 12, 11); -lean_closure_set(x_16, 0, x_2); -lean_closure_set(x_16, 1, x_3); -lean_closure_set(x_16, 2, x_5); -lean_closure_set(x_16, 3, x_6); -lean_closure_set(x_16, 4, x_7); -lean_closure_set(x_16, 5, x_8); -lean_closure_set(x_16, 6, x_12); -lean_closure_set(x_16, 7, x_9); -lean_closure_set(x_16, 8, x_10); -lean_closure_set(x_16, 9, x_4); -lean_closure_set(x_16, 10, x_11); -x_17 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_15, x_16); -return x_17; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_1, 4); -lean_inc(x_13); -lean_inc(x_8); -lean_inc(x_4); -lean_inc(x_3); -x_14 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__5), 12, 11); -lean_closure_set(x_14, 0, x_2); -lean_closure_set(x_14, 1, x_1); -lean_closure_set(x_14, 2, x_3); -lean_closure_set(x_14, 3, x_4); -lean_closure_set(x_14, 4, x_5); -lean_closure_set(x_14, 5, x_6); -lean_closure_set(x_14, 6, x_7); -lean_closure_set(x_14, 7, x_12); -lean_closure_set(x_14, 8, x_8); -lean_closure_set(x_14, 9, x_9); -lean_closure_set(x_14, 10, x_10); -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; -lean_dec(x_11); +uint8_t x_6; lean_dec(x_4); -x_15 = lean_ctor_get(x_3, 0); -lean_inc(x_15); -lean_dec(x_3); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_box(0); -x_18 = lean_apply_2(x_16, lean_box(0), x_17); -x_19 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_18, x_14); -return x_19; -} -else +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 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; -x_20 = lean_ctor_get(x_13, 0); -lean_inc(x_20); -lean_dec(x_13); -x_21 = lean_ctor_get(x_3, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get(x_11, 0); -lean_inc(x_24); -lean_dec(x_11); -x_25 = lean_apply_4(x_24, lean_box(0), x_3, x_4, x_20); -x_26 = l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3___closed__1; -x_27 = lean_apply_4(x_23, lean_box(0), lean_box(0), x_26, x_25); -x_28 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_27, x_14); -return x_28; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_1, 3); -lean_inc(x_13); +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_inc(x_4); -lean_inc(x_3); -x_14 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__6), 12, 11); -lean_closure_set(x_14, 0, x_1); -lean_closure_set(x_14, 1, x_2); -lean_closure_set(x_14, 2, x_3); -lean_closure_set(x_14, 3, x_4); -lean_closure_set(x_14, 4, x_5); -lean_closure_set(x_14, 5, x_6); -lean_closure_set(x_14, 6, x_12); -lean_closure_set(x_14, 7, x_7); -lean_closure_set(x_14, 8, x_8); -lean_closure_set(x_14, 9, x_9); -lean_closure_set(x_14, 10, x_10); -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; -lean_dec(x_11); -lean_dec(x_4); -x_15 = lean_ctor_get(x_3, 0); -lean_inc(x_15); -lean_dec(x_3); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_box(0); -x_18 = lean_apply_2(x_16, lean_box(0), x_17); -x_19 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_18, x_14); -return x_19; +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_20 = lean_ctor_get(x_13, 0); -lean_inc(x_20); -lean_dec(x_13); -x_21 = lean_ctor_get(x_3, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get(x_11, 0); -lean_inc(x_24); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); lean_dec(x_11); -x_25 = lean_apply_4(x_24, lean_box(0), x_3, x_4, x_20); -x_26 = l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3___closed__1; -x_27 = lean_apply_4(x_23, lean_box(0), lean_box(0), x_26, x_25); -x_28 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_27, x_14); -return x_28; +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; } } -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_1, 2); -lean_inc(x_13); -lean_inc(x_6); -lean_inc(x_4); -lean_inc(x_3); -x_14 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__7), 12, 11); -lean_closure_set(x_14, 0, x_1); -lean_closure_set(x_14, 1, x_2); -lean_closure_set(x_14, 2, x_3); -lean_closure_set(x_14, 3, x_4); -lean_closure_set(x_14, 4, x_5); -lean_closure_set(x_14, 5, x_12); -lean_closure_set(x_14, 6, x_6); -lean_closure_set(x_14, 7, x_7); -lean_closure_set(x_14, 8, x_8); -lean_closure_set(x_14, 9, x_9); -lean_closure_set(x_14, 10, x_10); -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; -lean_dec(x_11); -lean_dec(x_4); -x_15 = lean_ctor_get(x_3, 0); -lean_inc(x_15); -lean_dec(x_3); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_box(0); -x_18 = lean_apply_2(x_16, lean_box(0), x_17); -x_19 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_18, x_14); -return x_19; -} else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_20 = lean_ctor_get(x_13, 0); -lean_inc(x_20); -lean_dec(x_13); -x_21 = lean_ctor_get(x_3, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get(x_11, 0); -lean_inc(x_24); -lean_dec(x_11); -x_25 = lean_apply_4(x_24, lean_box(0), x_3, x_4, x_20); -x_26 = l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3___closed__1; -x_27 = lean_apply_4(x_23, lean_box(0), lean_box(0), x_26, x_25); -x_28 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_27, x_14); -return x_28; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_1, 1); -lean_inc(x_13); -lean_inc(x_4); -lean_inc(x_3); -x_14 = lean_apply_4(x_2, lean_box(0), x_3, x_4, x_13); -lean_inc(x_6); -x_15 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__8), 12, 11); -lean_closure_set(x_15, 0, x_1); -lean_closure_set(x_15, 1, x_5); -lean_closure_set(x_15, 2, x_3); -lean_closure_set(x_15, 3, x_4); -lean_closure_set(x_15, 4, x_12); -lean_closure_set(x_15, 5, x_6); -lean_closure_set(x_15, 6, x_7); -lean_closure_set(x_15, 7, x_8); -lean_closure_set(x_15, 8, x_9); -lean_closure_set(x_15, 9, x_10); -lean_closure_set(x_15, 10, x_11); -x_16 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_14, x_15); +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__9(lean_object* x_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; -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__9___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__10___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); lean_dec(x_1); -x_14 = lean_ctor_get(x_11, 0); -lean_inc(x_14); -lean_inc(x_13); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); lean_inc(x_10); -lean_inc(x_9); -x_15 = lean_apply_4(x_13, lean_box(0), x_9, x_10, x_14); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); -x_16 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__9), 12, 11); -lean_closure_set(x_16, 0, x_11); -lean_closure_set(x_16, 1, x_13); -lean_closure_set(x_16, 2, x_9); -lean_closure_set(x_16, 3, x_10); -lean_closure_set(x_16, 4, x_2); -lean_closure_set(x_16, 5, x_12); -lean_closure_set(x_16, 6, x_3); -lean_closure_set(x_16, 7, x_4); -lean_closure_set(x_16, 8, x_5); -lean_closure_set(x_16, 9, x_6); -lean_closure_set(x_16, 10, x_7); -x_17 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_15, x_16); -return x_17; +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__10(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__10___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__11___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__11(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__11___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__12(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__12___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__13___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__13(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__13___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__14(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__14___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__15___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__15(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__15___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__16___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__16(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__16___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -3790,7 +4171,7 @@ x_14 = lean_apply_2(x_12, lean_box(0), x_13); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__12(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -3869,7 +4250,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -3877,7 +4258,7 @@ x_12 = lean_ctor_get(x_1, 7); lean_inc(x_12); lean_dec(x_1); lean_inc(x_8); -x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__11), 9, 8); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__1), 9, 8); lean_closure_set(x_13, 0, x_2); lean_closure_set(x_13, 1, x_3); lean_closure_set(x_13, 2, x_4); @@ -3916,12 +4297,12 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean x_21 = lean_ctor_get(x_12, 0); lean_inc(x_21); lean_dec(x_12); -x_22 = lean_ctor_get(x_9, 1); +x_22 = lean_ctor_get(x_9, 0); lean_inc(x_22); lean_dec(x_9); lean_inc(x_8); x_23 = lean_apply_4(x_22, lean_box(0), x_8, x_10, x_21); -x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__12), 2, 1); +x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2), 2, 1); lean_closure_set(x_24, 0, x_8); lean_inc(x_14); x_25 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_24); @@ -3930,7 +4311,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -3938,7 +4319,7 @@ x_12 = lean_ctor_get(x_1, 6); lean_inc(x_12); lean_inc(x_9); lean_inc(x_7); -x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__13), 11, 10); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3), 11, 10); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_2); lean_closure_set(x_13, 2, x_3); @@ -3979,12 +4360,12 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean x_21 = lean_ctor_get(x_12, 0); lean_inc(x_21); lean_dec(x_12); -x_22 = lean_ctor_get(x_10, 1); +x_22 = lean_ctor_get(x_10, 0); lean_inc(x_22); lean_dec(x_10); lean_inc(x_7); x_23 = lean_apply_4(x_22, lean_box(0), x_7, x_9, x_21); -x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__12), 2, 1); +x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2), 2, 1); lean_closure_set(x_24, 0, x_7); lean_inc(x_14); x_25 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_24); @@ -3993,11 +4374,11 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _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; -x_12 = lean_ctor_get(x_1, 1); +x_12 = lean_ctor_get(x_1, 0); lean_inc(x_12); lean_dec(x_1); x_13 = lean_ctor_get(x_2, 5); @@ -4006,7 +4387,7 @@ lean_inc(x_4); lean_inc(x_3); x_14 = lean_apply_4(x_12, lean_box(0), x_3, x_4, x_13); lean_inc(x_3); -x_15 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__14), 11, 10); +x_15 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__4), 11, 10); lean_closure_set(x_15, 0, x_2); lean_closure_set(x_15, 1, x_5); lean_closure_set(x_15, 2, x_6); @@ -4028,7 +4409,7 @@ x_18 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_14, x_17); return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -4036,7 +4417,7 @@ x_12 = lean_ctor_get(x_1, 4); lean_inc(x_12); lean_inc(x_4); lean_inc(x_3); -x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__15), 11, 10); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__5), 11, 10); lean_closure_set(x_13, 0, x_2); lean_closure_set(x_13, 1, x_1); lean_closure_set(x_13, 2, x_3); @@ -4077,12 +4458,12 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean x_21 = lean_ctor_get(x_12, 0); lean_inc(x_21); lean_dec(x_12); -x_22 = lean_ctor_get(x_10, 1); +x_22 = lean_ctor_get(x_10, 0); lean_inc(x_22); lean_dec(x_10); lean_inc(x_3); x_23 = lean_apply_4(x_22, lean_box(0), x_3, x_4, x_21); -x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__12), 2, 1); +x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2), 2, 1); lean_closure_set(x_24, 0, x_3); lean_inc(x_14); x_25 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_24); @@ -4091,7 +4472,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -4099,7 +4480,7 @@ x_12 = lean_ctor_get(x_1, 3); lean_inc(x_12); lean_inc(x_4); lean_inc(x_3); -x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__16), 11, 10); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__6), 11, 10); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_2); lean_closure_set(x_13, 2, x_3); @@ -4140,12 +4521,12 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean x_21 = lean_ctor_get(x_12, 0); lean_inc(x_21); lean_dec(x_12); -x_22 = lean_ctor_get(x_10, 1); +x_22 = lean_ctor_get(x_10, 0); lean_inc(x_22); lean_dec(x_10); lean_inc(x_3); x_23 = lean_apply_4(x_22, lean_box(0), x_3, x_4, x_21); -x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__12), 2, 1); +x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2), 2, 1); lean_closure_set(x_24, 0, x_3); lean_inc(x_14); x_25 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_24); @@ -4154,7 +4535,448 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__18(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_1, 2); +lean_inc(x_12); +lean_inc(x_4); +lean_inc(x_3); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__7), 11, 10); +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); +lean_closure_set(x_13, 4, x_5); +lean_closure_set(x_13, 5, x_11); +lean_closure_set(x_13, 6, x_6); +lean_closure_set(x_13, 7, x_7); +lean_closure_set(x_13, 8, x_8); +lean_closure_set(x_13, 9, x_9); +x_14 = lean_ctor_get(x_3, 1); +lean_inc(x_14); +lean_inc(x_3); +x_15 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__6___rarg), 5, 4); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, lean_box(0)); +lean_closure_set(x_15, 2, lean_box(0)); +lean_closure_set(x_15, 3, x_13); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_10); +lean_dec(x_4); +x_16 = lean_ctor_get(x_3, 0); +lean_inc(x_16); +lean_dec(x_3); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__1___rarg___closed__1; +x_19 = lean_apply_2(x_17, lean_box(0), x_18); +x_20 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_19, x_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; +x_21 = lean_ctor_get(x_12, 0); +lean_inc(x_21); +lean_dec(x_12); +x_22 = lean_ctor_get(x_10, 0); +lean_inc(x_22); +lean_dec(x_10); +lean_inc(x_3); +x_23 = lean_apply_4(x_22, lean_box(0), x_3, x_4, x_21); +x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2), 2, 1); +lean_closure_set(x_24, 0, x_3); +lean_inc(x_14); +x_25 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_24); +x_26 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_25, x_15); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_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; +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +lean_inc(x_4); +lean_inc(x_3); +x_13 = lean_apply_4(x_2, lean_box(0), x_3, x_4, x_12); +lean_inc(x_3); +x_14 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__8), 11, 10); +lean_closure_set(x_14, 0, x_1); +lean_closure_set(x_14, 1, x_5); +lean_closure_set(x_14, 2, x_3); +lean_closure_set(x_14, 3, x_4); +lean_closure_set(x_14, 4, x_11); +lean_closure_set(x_14, 5, x_6); +lean_closure_set(x_14, 6, x_7); +lean_closure_set(x_14, 7, x_8); +lean_closure_set(x_14, 8, x_9); +lean_closure_set(x_14, 9, x_10); +x_15 = lean_ctor_get(x_3, 1); +lean_inc(x_15); +x_16 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__7___rarg), 5, 4); +lean_closure_set(x_16, 0, x_3); +lean_closure_set(x_16, 1, lean_box(0)); +lean_closure_set(x_16, 2, lean_box(0)); +lean_closure_set(x_16, 3, x_14); +x_17 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_13, x_16); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +lean_dec(x_1); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_10); +lean_inc(x_9); +x_14 = lean_apply_4(x_12, lean_box(0), x_9, x_10, x_13); +lean_inc(x_9); +x_15 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__9), 11, 10); +lean_closure_set(x_15, 0, x_11); +lean_closure_set(x_15, 1, x_12); +lean_closure_set(x_15, 2, x_9); +lean_closure_set(x_15, 3, x_10); +lean_closure_set(x_15, 4, x_2); +lean_closure_set(x_15, 5, x_3); +lean_closure_set(x_15, 6, x_4); +lean_closure_set(x_15, 7, x_5); +lean_closure_set(x_15, 8, x_6); +lean_closure_set(x_15, 9, x_7); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +x_17 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__8___rarg), 5, 4); +lean_closure_set(x_17, 0, x_9); +lean_closure_set(x_17, 1, lean_box(0)); +lean_closure_set(x_17, 2, lean_box(0)); +lean_closure_set(x_17, 3, x_15); +x_18 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_14, x_17); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_2); +lean_ctor_set(x_10, 2, x_3); +lean_ctor_set(x_10, 3, x_4); +lean_ctor_set(x_10, 4, x_5); +lean_ctor_set(x_10, 5, x_6); +lean_ctor_set(x_10, 6, x_7); +lean_ctor_set(x_10, 7, x_9); +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_1, 7); +lean_inc(x_12); +lean_dec(x_1); +lean_inc(x_8); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__11), 9, 8); +lean_closure_set(x_13, 0, x_2); +lean_closure_set(x_13, 1, x_3); +lean_closure_set(x_13, 2, x_4); +lean_closure_set(x_13, 3, x_5); +lean_closure_set(x_13, 4, x_6); +lean_closure_set(x_13, 5, x_7); +lean_closure_set(x_13, 6, x_11); +lean_closure_set(x_13, 7, x_8); +x_14 = lean_ctor_get(x_8, 1); +lean_inc(x_14); +lean_inc(x_8); +x_15 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__9___rarg), 5, 4); +lean_closure_set(x_15, 0, x_8); +lean_closure_set(x_15, 1, lean_box(0)); +lean_closure_set(x_15, 2, lean_box(0)); +lean_closure_set(x_15, 3, x_13); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_10); +lean_dec(x_9); +x_16 = lean_ctor_get(x_8, 0); +lean_inc(x_16); +lean_dec(x_8); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__1___rarg___closed__1; +x_19 = lean_apply_2(x_17, lean_box(0), x_18); +x_20 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_19, x_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; +x_21 = lean_ctor_get(x_12, 0); +lean_inc(x_21); +lean_dec(x_12); +x_22 = lean_ctor_get(x_9, 1); +lean_inc(x_22); +lean_dec(x_9); +lean_inc(x_8); +x_23 = lean_apply_4(x_22, lean_box(0), x_8, x_10, x_21); +x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2), 2, 1); +lean_closure_set(x_24, 0, x_8); +lean_inc(x_14); +x_25 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_24); +x_26 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_25, x_15); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_1, 6); +lean_inc(x_12); +lean_inc(x_9); +lean_inc(x_7); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__12), 11, 10); +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); +lean_closure_set(x_13, 4, x_5); +lean_closure_set(x_13, 5, x_6); +lean_closure_set(x_13, 6, x_11); +lean_closure_set(x_13, 7, x_7); +lean_closure_set(x_13, 8, x_8); +lean_closure_set(x_13, 9, x_9); +x_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); +lean_inc(x_7); +x_15 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__10___rarg), 5, 4); +lean_closure_set(x_15, 0, x_7); +lean_closure_set(x_15, 1, lean_box(0)); +lean_closure_set(x_15, 2, lean_box(0)); +lean_closure_set(x_15, 3, x_13); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_10); +lean_dec(x_9); +x_16 = lean_ctor_get(x_7, 0); +lean_inc(x_16); +lean_dec(x_7); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__1___rarg___closed__1; +x_19 = lean_apply_2(x_17, lean_box(0), x_18); +x_20 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_19, x_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; +x_21 = lean_ctor_get(x_12, 0); +lean_inc(x_21); +lean_dec(x_12); +x_22 = lean_ctor_get(x_10, 1); +lean_inc(x_22); +lean_dec(x_10); +lean_inc(x_7); +x_23 = lean_apply_4(x_22, lean_box(0), x_7, x_9, x_21); +x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2), 2, 1); +lean_closure_set(x_24, 0, x_7); +lean_inc(x_14); +x_25 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_24); +x_26 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_25, x_15); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +lean_dec(x_1); +x_13 = lean_ctor_get(x_2, 5); +lean_inc(x_13); +lean_inc(x_4); +lean_inc(x_3); +x_14 = lean_apply_4(x_12, lean_box(0), x_3, x_4, x_13); +lean_inc(x_3); +x_15 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__13), 11, 10); +lean_closure_set(x_15, 0, x_2); +lean_closure_set(x_15, 1, x_5); +lean_closure_set(x_15, 2, x_6); +lean_closure_set(x_15, 3, x_7); +lean_closure_set(x_15, 4, x_8); +lean_closure_set(x_15, 5, x_11); +lean_closure_set(x_15, 6, x_3); +lean_closure_set(x_15, 7, x_9); +lean_closure_set(x_15, 8, x_4); +lean_closure_set(x_15, 9, x_10); +x_16 = lean_ctor_get(x_3, 1); +lean_inc(x_16); +x_17 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__11___rarg), 5, 4); +lean_closure_set(x_17, 0, x_3); +lean_closure_set(x_17, 1, lean_box(0)); +lean_closure_set(x_17, 2, lean_box(0)); +lean_closure_set(x_17, 3, x_15); +x_18 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_14, x_17); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_1, 4); +lean_inc(x_12); +lean_inc(x_4); +lean_inc(x_3); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__14), 11, 10); +lean_closure_set(x_13, 0, x_2); +lean_closure_set(x_13, 1, x_1); +lean_closure_set(x_13, 2, x_3); +lean_closure_set(x_13, 3, x_4); +lean_closure_set(x_13, 4, x_5); +lean_closure_set(x_13, 5, x_6); +lean_closure_set(x_13, 6, x_7); +lean_closure_set(x_13, 7, x_11); +lean_closure_set(x_13, 8, x_8); +lean_closure_set(x_13, 9, x_9); +x_14 = lean_ctor_get(x_3, 1); +lean_inc(x_14); +lean_inc(x_3); +x_15 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__12___rarg), 5, 4); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, lean_box(0)); +lean_closure_set(x_15, 2, lean_box(0)); +lean_closure_set(x_15, 3, x_13); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_10); +lean_dec(x_4); +x_16 = lean_ctor_get(x_3, 0); +lean_inc(x_16); +lean_dec(x_3); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__1___rarg___closed__1; +x_19 = lean_apply_2(x_17, lean_box(0), x_18); +x_20 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_19, x_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; +x_21 = lean_ctor_get(x_12, 0); +lean_inc(x_21); +lean_dec(x_12); +x_22 = lean_ctor_get(x_10, 1); +lean_inc(x_22); +lean_dec(x_10); +lean_inc(x_3); +x_23 = lean_apply_4(x_22, lean_box(0), x_3, x_4, x_21); +x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2), 2, 1); +lean_closure_set(x_24, 0, x_3); +lean_inc(x_14); +x_25 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_24); +x_26 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_25, x_15); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_1, 3); +lean_inc(x_12); +lean_inc(x_4); +lean_inc(x_3); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__15), 11, 10); +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); +lean_closure_set(x_13, 4, x_5); +lean_closure_set(x_13, 5, x_6); +lean_closure_set(x_13, 6, x_11); +lean_closure_set(x_13, 7, x_7); +lean_closure_set(x_13, 8, x_8); +lean_closure_set(x_13, 9, x_9); +x_14 = lean_ctor_get(x_3, 1); +lean_inc(x_14); +lean_inc(x_3); +x_15 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__13___rarg), 5, 4); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, lean_box(0)); +lean_closure_set(x_15, 2, lean_box(0)); +lean_closure_set(x_15, 3, x_13); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_10); +lean_dec(x_4); +x_16 = lean_ctor_get(x_3, 0); +lean_inc(x_16); +lean_dec(x_3); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____spec__1___rarg___closed__1; +x_19 = lean_apply_2(x_17, lean_box(0), x_18); +x_20 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_19, x_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; +x_21 = lean_ctor_get(x_12, 0); +lean_inc(x_21); +lean_dec(x_12); +x_22 = lean_ctor_get(x_10, 1); +lean_inc(x_22); +lean_dec(x_10); +lean_inc(x_3); +x_23 = lean_apply_4(x_22, lean_box(0), x_3, x_4, x_21); +x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__2), 2, 1); +lean_closure_set(x_24, 0, x_3); +lean_inc(x_14); +x_25 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_24); +x_26 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_25, x_15); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__17(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -4233,7 +5055,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -4241,7 +5063,7 @@ x_12 = lean_ctor_get(x_1, 2); lean_inc(x_12); lean_inc(x_4); lean_inc(x_3); -x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__17), 11, 10); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__16), 11, 10); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_2); lean_closure_set(x_13, 2, x_3); @@ -4255,7 +5077,7 @@ lean_closure_set(x_13, 9, x_9); x_14 = lean_ctor_get(x_3, 1); lean_inc(x_14); lean_inc(x_3); -x_15 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__6___rarg), 5, 4); +x_15 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__14___rarg), 5, 4); lean_closure_set(x_15, 0, x_3); lean_closure_set(x_15, 1, lean_box(0)); lean_closure_set(x_15, 2, lean_box(0)); @@ -4287,7 +5109,7 @@ lean_inc(x_22); lean_dec(x_10); lean_inc(x_3); x_23 = lean_apply_4(x_22, lean_box(0), x_3, x_4, x_21); -x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__18), 2, 1); +x_24 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__17), 2, 1); lean_closure_set(x_24, 0, x_3); lean_inc(x_14); x_25 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_24); @@ -4296,7 +5118,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _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; @@ -4306,7 +5128,7 @@ lean_inc(x_4); lean_inc(x_3); x_13 = lean_apply_4(x_2, lean_box(0), x_3, x_4, x_12); lean_inc(x_3); -x_14 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__19), 11, 10); +x_14 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__18), 11, 10); lean_closure_set(x_14, 0, x_1); lean_closure_set(x_14, 1, x_5); lean_closure_set(x_14, 2, x_3); @@ -4319,7 +5141,7 @@ lean_closure_set(x_14, 8, x_9); lean_closure_set(x_14, 9, x_10); x_15 = lean_ctor_get(x_3, 1); lean_inc(x_15); -x_16 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__7___rarg), 5, 4); +x_16 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__15___rarg), 5, 4); lean_closure_set(x_16, 0, x_3); lean_closure_set(x_16, 1, lean_box(0)); lean_closure_set(x_16, 2, lean_box(0)); @@ -4328,7 +5150,7 @@ x_17 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_13, x_16); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__21(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _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; @@ -4342,7 +5164,7 @@ lean_inc(x_10); lean_inc(x_9); x_14 = lean_apply_4(x_12, lean_box(0), x_9, x_10, x_13); lean_inc(x_9); -x_15 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__20), 11, 10); +x_15 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__19), 11, 10); lean_closure_set(x_15, 0, x_11); lean_closure_set(x_15, 1, x_12); lean_closure_set(x_15, 2, x_9); @@ -4355,7 +5177,7 @@ lean_closure_set(x_15, 8, x_6); lean_closure_set(x_15, 9, x_7); x_16 = lean_ctor_get(x_9, 1); lean_inc(x_16); -x_17 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__8___rarg), 5, 4); +x_17 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___spec__16___rarg), 5, 4); lean_closure_set(x_17, 0, x_9); lean_closure_set(x_17, 1, lean_box(0)); lean_closure_set(x_17, 2, lean_box(0)); @@ -4383,7 +5205,7 @@ lean_closure_set(x_14, 3, x_11); lean_closure_set(x_14, 4, x_7); lean_closure_set(x_14, 5, x_5); lean_closure_set(x_14, 6, x_3); -x_15 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__21), 11, 7); +x_15 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__20), 11, 7); lean_closure_set(x_15, 0, x_1); lean_closure_set(x_15, 1, x_9); lean_closure_set(x_15, 2, x_13); @@ -7967,8 +8789,6 @@ l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncoding lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____rarg___closed__7); l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____rarg___closed__8 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____rarg___closed__8(); lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1317____rarg___closed__8); -l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3___closed__1 = _init_l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodingDiagnosticWithRpcEncodingPacket___rarg___lambda__3___closed__1); l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___closed__1 = _init_l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___closed__1(); lean_mark_persistent(l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___closed__1); l_Lean_Widget_instInhabitedEmbedFmt___closed__1 = _init_l_Lean_Widget_instInhabitedEmbedFmt___closed__1(); diff --git a/stage0/stdlib/Lean/Widget/InteractiveGoal.c b/stage0/stdlib/Lean/Widget/InteractiveGoal.c index 22ddba2c8a..4611c2b6a4 100644 --- a/stage0/stdlib/Lean/Widget/InteractiveGoal.c +++ b/stage0/stdlib/Lean/Widget/InteractiveGoal.c @@ -25,10 +25,11 @@ LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__1___rarg(lea LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__4(lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___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_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__2(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__4(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__6(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____rarg___closed__2; @@ -36,31 +37,33 @@ lean_object* l_Lean_Widget_ppExprTagged(lean_object*, uint8_t, lean_object*, lea uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoal_pretty___spec__4___boxed(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_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_414____rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__12(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__10(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_goalToInteractive___closed__3; lean_object* l_Lean_Json_getObjValAs_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5(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_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1237____rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5___closed__1; extern lean_object* l_Lean_Meta_pp_auxDecls; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___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_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedInteractiveTermGoal___closed__3; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1041____spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoal_pretty___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_addInteractiveHypothesisBundle___closed__2; LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__3; LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_InteractiveGoal_pretty___closed__2; LEAN_EXPORT lean_object* l_Lean_Widget_addInteractiveHypothesisBundle___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_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__3(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -76,7 +79,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_ LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648_(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__5(uint8_t, 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*); uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_803____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__9(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__9(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__8(lean_object*); lean_object* l_List_join___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); @@ -85,8 +91,11 @@ static lean_object* l_Lean_Widget_addInteractiveHypothesisBundle___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterTRAux___at_Lean_Widget_InteractiveGoal_pretty___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__10(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____rarg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1041____spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__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_Widget_InteractiveGoal_pretty___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -95,8 +104,8 @@ lean_object* l_Lean_Widget_TaggedText_stripTags___rarg(lean_object*); static lean_object* l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1041____spec__2___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoal_pretty(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveHypothesisBundle_val_x3f___default; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__3(lean_object*); @@ -105,24 +114,27 @@ LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInte LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Widget_goalToInteractive___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__7(lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__2(lean_object*); uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__4; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedInteractiveGoal; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__3(lean_object*); static lean_object* l_Lean_Widget_InteractiveGoal_pretty___closed__3; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_goalToInteractive___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___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2586____rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1041____spec__1(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___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_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_goalToInteractive___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -132,13 +144,13 @@ LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveTermGoal_toInteractiveGoal(lea LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1041____spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_findCore___at_Lean_Meta_removeUnused___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___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_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___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_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_goalToInteractive___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoal_pretty___spec__3___closed__5; LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___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_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2___rarg(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_Widget_InteractiveGoal_pretty___spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t); @@ -150,12 +162,15 @@ LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodin LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____spec__1(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__12(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__4(lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__1___rarg(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_Std_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___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_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoal_pretty___spec__3___closed__7; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__8(lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -164,21 +179,27 @@ uint8_t l_Array_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___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*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__6(uint8_t, 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_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__11(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__4(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2648____rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__4(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_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__6(lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__2(lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_addInteractiveHypothesisBundle___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_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoal_pretty___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__5(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__2(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_Lean_Widget_goalToInteractive___closed__1; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2096____rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoal_pretty___spec__3___closed__10; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__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_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -188,17 +209,20 @@ lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__4___rarg(lean_object*); static lean_object* l_Lean_Widget_InteractiveTermGoal_toInteractiveGoal___closed__1; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__7(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_addInteractiveHypothesisBundle(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___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_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket(lean_object*); static lean_object* l_Lean_Widget_goalToInteractive___closed__2; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveTermGoal_toInteractiveGoal___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket(lean_object*); static lean_object* l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2096____rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__3___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1041____rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -221,7 +245,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_ LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2586_(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__5___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_goalToInteractive___closed__4; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__2(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____rarg___closed__4; LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__1(lean_object*); @@ -238,7 +264,7 @@ static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoal_pretty___spec__3___closed__8; static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____spec__1___rarg___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoal_pretty___spec__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ToHide_collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket__4___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1041____rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -259,9 +285,10 @@ LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket__2(lean_obj LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____rarg___closed__3; -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__1(lean_object*); lean_object* lean_nat_to_int(lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__6(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_2236____rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_Format_isNil(lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1201,237 +1228,365 @@ x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEnco return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___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_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); -lean_dec(x_1); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_10, 0, x_2); -lean_ctor_set(x_10, 1, x_3); -lean_ctor_set(x_10, 2, x_4); -lean_ctor_set(x_10, 3, x_5); -lean_ctor_set(x_10, 4, x_6); -lean_ctor_set(x_10, 5, x_7); -x_11 = lean_apply_2(x_9, lean_box(0), x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: +if (lean_obj_tag(x_5) == 0) { -uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_11 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 1); -x_12 = lean_box(x_11); -lean_inc(x_3); -x_13 = lean_apply_4(x_2, lean_box(0), x_3, x_4, x_12); -x_14 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__1), 7, 6); -lean_closure_set(x_14, 0, x_3); -lean_closure_set(x_14, 1, x_5); -lean_closure_set(x_14, 2, x_6); -lean_closure_set(x_14, 3, x_7); -lean_closure_set(x_14, 4, x_8); -lean_closure_set(x_14, 5, x_10); -x_15 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_13, x_14); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*4); -x_12 = lean_box(x_11); -lean_inc(x_10); -lean_inc(x_4); -lean_inc(x_3); -x_13 = lean_apply_4(x_10, lean_box(0), x_3, x_4, x_12); -lean_inc(x_8); -x_14 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__2___boxed), 10, 9); -lean_closure_set(x_14, 0, x_2); -lean_closure_set(x_14, 1, x_10); -lean_closure_set(x_14, 2, x_3); -lean_closure_set(x_14, 3, x_4); -lean_closure_set(x_14, 4, x_5); -lean_closure_set(x_14, 5, x_6); -lean_closure_set(x_14, 6, x_7); -lean_closure_set(x_14, 7, x_9); -lean_closure_set(x_14, 8, x_8); -x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__4(lean_object* x_1) { -_start: -{ -lean_object* x_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_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__4), 1, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_1, 3); -lean_inc(x_10); -lean_inc(x_7); -lean_inc(x_4); -lean_inc(x_3); -x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__3), 9, 8); -lean_closure_set(x_11, 0, x_2); -lean_closure_set(x_11, 1, x_1); -lean_closure_set(x_11, 2, x_3); -lean_closure_set(x_11, 3, x_4); -lean_closure_set(x_11, 4, x_5); -lean_closure_set(x_11, 5, x_6); -lean_closure_set(x_11, 6, x_9); -lean_closure_set(x_11, 7, x_7); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_8); +uint8_t x_6; lean_dec(x_4); -x_12 = lean_ctor_get(x_3, 0); -lean_inc(x_12); -lean_dec(x_3); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_box(0); -x_15 = lean_apply_2(x_13, lean_box(0), x_14); -x_16 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_15, x_11); -return x_16; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_17 = lean_ctor_get(x_10, 0); -lean_inc(x_17); -lean_dec(x_10); -x_18 = lean_ctor_get(x_3, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_apply_4(x_8, lean_box(0), x_3, x_4, x_17); -x_22 = l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5___closed__1; -x_23 = lean_apply_4(x_20, lean_box(0), lean_box(0), x_22, x_21); -x_24 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_23, x_11); -return x_24; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -lean_dec(x_1); -x_10 = lean_ctor_get(x_2, 2); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_4); -lean_inc(x_3); -x_11 = lean_apply_4(x_9, lean_box(0), x_3, x_4, x_10); -lean_inc(x_7); -x_12 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5), 9, 8); -lean_closure_set(x_12, 0, x_2); -lean_closure_set(x_12, 1, x_5); -lean_closure_set(x_12, 2, x_3); -lean_closure_set(x_12, 3, x_4); -lean_closure_set(x_12, 4, x_6); -lean_closure_set(x_12, 5, x_8); -lean_closure_set(x_12, 6, x_7); -lean_closure_set(x_12, 7, x_9); -x_13 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_11, x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -lean_dec(x_1); -x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); -lean_inc(x_4); -lean_inc(x_3); -x_11 = lean_apply_4(x_9, lean_box(0), x_3, x_4, x_10); -lean_inc(x_7); -x_12 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__6), 8, 7); -lean_closure_set(x_12, 0, x_5); -lean_closure_set(x_12, 1, x_2); -lean_closure_set(x_12, 2, x_3); -lean_closure_set(x_12, 3, x_4); -lean_closure_set(x_12, 4, x_6); -lean_closure_set(x_12, 5, x_8); -lean_closure_set(x_12, 6, x_7); -x_13 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_11, x_12); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_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; -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_9); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get(x_8, 0); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); lean_inc(x_11); -lean_inc(x_7); -lean_inc(x_6); -x_12 = lean_apply_4(x_10, lean_box(0), x_6, x_7, x_11); -lean_inc(x_9); -x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__7), 8, 7); -lean_closure_set(x_13, 0, x_2); -lean_closure_set(x_13, 1, x_8); -lean_closure_set(x_13, 2, x_6); -lean_closure_set(x_13, 3, x_7); -lean_closure_set(x_13, 4, x_3); -lean_closure_set(x_13, 5, x_4); -lean_closure_set(x_13, 6, x_9); -x_14 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_12, x_13); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__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, uint8_t x_7) { +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__7(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__7___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__8___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__8(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__8___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__9(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__9___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__10___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__10(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__10___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__11___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__11(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__11___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__12(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__12___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_alloc_ctor(0, 4, 2); +x_8 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_8, 0, x_1); lean_ctor_set(x_8, 1, x_2); lean_ctor_set(x_8, 2, x_3); lean_ctor_set(x_8, 3, x_4); -lean_ctor_set_uint8(x_8, sizeof(void*)*4, x_5); -lean_ctor_set_uint8(x_8, sizeof(void*)*4 + 1, x_7); +lean_ctor_set(x_8, 4, x_5); +lean_ctor_set(x_8, 5, x_7); x_9 = lean_ctor_get(x_6, 0); lean_inc(x_9); lean_dec(x_6); @@ -1444,23 +1599,21 @@ x_12 = lean_apply_2(x_10, lean_box(0), x_11); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_10 = lean_ctor_get(x_1, 5); -lean_inc(x_10); -lean_dec(x_1); +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; +x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 1); +x_11 = lean_box(x_10); lean_inc(x_3); -x_11 = lean_apply_4(x_2, lean_box(0), x_3, x_4, x_10); -x_12 = lean_box(x_9); +x_12 = lean_apply_4(x_2, lean_box(0), x_3, x_4, x_11); lean_inc(x_3); -x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__9___boxed), 7, 6); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__1), 7, 6); lean_closure_set(x_13, 0, x_5); lean_closure_set(x_13, 1, x_6); lean_closure_set(x_13, 2, x_7); lean_closure_set(x_13, 3, x_8); -lean_closure_set(x_13, 4, x_12); +lean_closure_set(x_13, 4, x_9); lean_closure_set(x_13, 5, x_3); x_14 = lean_ctor_get(x_3, 1); lean_inc(x_14); @@ -1469,45 +1622,45 @@ lean_closure_set(x_15, 0, x_3); lean_closure_set(x_15, 1, lean_box(0)); lean_closure_set(x_15, 2, lean_box(0)); lean_closure_set(x_15, 3, x_13); -x_16 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_11, x_15); +x_16 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_12, x_15); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _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; -x_9 = lean_ctor_get(x_1, 1); +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; +x_9 = lean_ctor_get(x_1, 0); lean_inc(x_9); lean_dec(x_1); -x_10 = lean_ctor_get(x_2, 4); -lean_inc(x_10); +x_10 = lean_ctor_get_uint8(x_2, sizeof(void*)*4); +x_11 = lean_box(x_10); lean_inc(x_9); lean_inc(x_4); lean_inc(x_3); -x_11 = lean_apply_4(x_9, lean_box(0), x_3, x_4, x_10); +x_12 = lean_apply_4(x_9, lean_box(0), x_3, x_4, x_11); lean_inc(x_3); -x_12 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__10___boxed), 9, 8); -lean_closure_set(x_12, 0, x_2); -lean_closure_set(x_12, 1, x_9); -lean_closure_set(x_12, 2, x_3); -lean_closure_set(x_12, 3, x_4); -lean_closure_set(x_12, 4, x_5); -lean_closure_set(x_12, 5, x_6); -lean_closure_set(x_12, 6, x_7); -lean_closure_set(x_12, 7, x_8); -x_13 = lean_ctor_get(x_3, 1); -lean_inc(x_13); -x_14 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__2___rarg), 5, 4); -lean_closure_set(x_14, 0, x_3); -lean_closure_set(x_14, 1, lean_box(0)); -lean_closure_set(x_14, 2, lean_box(0)); -lean_closure_set(x_14, 3, x_12); -x_15 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_11, x_14); -return x_15; +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__2___boxed), 9, 8); +lean_closure_set(x_13, 0, x_2); +lean_closure_set(x_13, 1, x_9); +lean_closure_set(x_13, 2, x_3); +lean_closure_set(x_13, 3, x_4); +lean_closure_set(x_13, 4, x_5); +lean_closure_set(x_13, 5, x_6); +lean_closure_set(x_13, 6, x_7); +lean_closure_set(x_13, 7, x_8); +x_14 = lean_ctor_get(x_3, 1); +lean_inc(x_14); +x_15 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__2___rarg), 5, 4); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, lean_box(0)); +lean_closure_set(x_15, 2, lean_box(0)); +lean_closure_set(x_15, 3, x_13); +x_16 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_12, x_15); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__12(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__4(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -1586,7 +1739,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -1594,7 +1747,7 @@ x_9 = lean_ctor_get(x_1, 3); lean_inc(x_9); lean_inc(x_4); lean_inc(x_3); -x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__11), 8, 7); +x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__3), 8, 7); lean_closure_set(x_10, 0, x_2); lean_closure_set(x_10, 1, x_1); lean_closure_set(x_10, 2, x_3); @@ -1634,7 +1787,7 @@ lean_inc(x_18); lean_dec(x_9); lean_inc(x_3); x_19 = lean_apply_4(x_7, lean_box(0), x_3, x_4, x_18); -x_20 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__12), 2, 1); +x_20 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__4), 2, 1); lean_closure_set(x_20, 0, x_3); lean_inc(x_11); x_21 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_19, x_20); @@ -1643,11 +1796,11 @@ return x_22; } } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _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; -x_8 = lean_ctor_get(x_1, 1); +x_8 = lean_ctor_get(x_1, 0); lean_inc(x_8); lean_dec(x_1); x_9 = lean_ctor_get(x_2, 2); @@ -1657,7 +1810,7 @@ lean_inc(x_4); lean_inc(x_3); x_10 = lean_apply_4(x_8, lean_box(0), x_3, x_4, x_9); lean_inc(x_3); -x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__13), 8, 7); +x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5), 8, 7); lean_closure_set(x_11, 0, x_2); lean_closure_set(x_11, 1, x_5); lean_closure_set(x_11, 2, x_3); @@ -1676,11 +1829,11 @@ x_14 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_10, x_13); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _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; -x_8 = lean_ctor_get(x_1, 1); +x_8 = lean_ctor_get(x_1, 0); lean_inc(x_8); lean_dec(x_1); x_9 = lean_ctor_get(x_2, 1); @@ -1689,7 +1842,7 @@ lean_inc(x_4); lean_inc(x_3); x_10 = lean_apply_4(x_8, lean_box(0), x_3, x_4, x_9); lean_inc(x_3); -x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__14), 7, 6); +x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__6), 7, 6); lean_closure_set(x_11, 0, x_5); lean_closure_set(x_11, 1, x_2); lean_closure_set(x_11, 2, x_3); @@ -1707,7 +1860,245 @@ x_14 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_10, x_13); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_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; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_inc(x_7); +lean_inc(x_6); +x_11 = lean_apply_4(x_9, lean_box(0), x_6, x_7, x_10); +lean_inc(x_6); +x_12 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__7), 7, 6); +lean_closure_set(x_12, 0, x_2); +lean_closure_set(x_12, 1, x_8); +lean_closure_set(x_12, 2, x_6); +lean_closure_set(x_12, 3, x_7); +lean_closure_set(x_12, 4, x_3); +lean_closure_set(x_12, 5, x_4); +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +x_14 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__6___rarg), 5, 4); +lean_closure_set(x_14, 0, x_6); +lean_closure_set(x_14, 1, lean_box(0)); +lean_closure_set(x_14, 2, lean_box(0)); +lean_closure_set(x_14, 3, x_12); +x_15 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_11, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__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, uint8_t 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_alloc_ctor(0, 4, 2); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_2); +lean_ctor_set(x_8, 2, x_3); +lean_ctor_set(x_8, 3, x_4); +lean_ctor_set_uint8(x_8, sizeof(void*)*4, x_5); +lean_ctor_set_uint8(x_8, sizeof(void*)*4 + 1, x_7); +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_8); +x_12 = lean_apply_2(x_10, lean_box(0), x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t 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; +x_10 = lean_ctor_get(x_1, 5); +lean_inc(x_10); +lean_dec(x_1); +lean_inc(x_3); +x_11 = lean_apply_4(x_2, lean_box(0), x_3, x_4, x_10); +x_12 = lean_box(x_9); +lean_inc(x_3); +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__9___boxed), 7, 6); +lean_closure_set(x_13, 0, x_5); +lean_closure_set(x_13, 1, x_6); +lean_closure_set(x_13, 2, x_7); +lean_closure_set(x_13, 3, x_8); +lean_closure_set(x_13, 4, x_12); +lean_closure_set(x_13, 5, x_3); +x_14 = lean_ctor_get(x_3, 1); +lean_inc(x_14); +x_15 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__7___rarg), 5, 4); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, lean_box(0)); +lean_closure_set(x_15, 2, lean_box(0)); +lean_closure_set(x_15, 3, x_13); +x_16 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_11, x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_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; +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_2, 4); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_4); +lean_inc(x_3); +x_11 = lean_apply_4(x_9, lean_box(0), x_3, x_4, x_10); +lean_inc(x_3); +x_12 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__10___boxed), 9, 8); +lean_closure_set(x_12, 0, x_2); +lean_closure_set(x_12, 1, x_9); +lean_closure_set(x_12, 2, x_3); +lean_closure_set(x_12, 3, x_4); +lean_closure_set(x_12, 4, x_5); +lean_closure_set(x_12, 5, x_6); +lean_closure_set(x_12, 6, x_7); +lean_closure_set(x_12, 7, x_8); +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +x_14 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__8___rarg), 5, 4); +lean_closure_set(x_14, 0, x_3); +lean_closure_set(x_14, 1, lean_box(0)); +lean_closure_set(x_14, 2, lean_box(0)); +lean_closure_set(x_14, 3, x_12); +x_15 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_11, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_1, 3); +lean_inc(x_9); +lean_inc(x_4); +lean_inc(x_3); +x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__11), 8, 7); +lean_closure_set(x_10, 0, x_2); +lean_closure_set(x_10, 1, x_1); +lean_closure_set(x_10, 2, x_3); +lean_closure_set(x_10, 3, x_4); +lean_closure_set(x_10, 4, x_5); +lean_closure_set(x_10, 5, x_6); +lean_closure_set(x_10, 6, x_8); +x_11 = lean_ctor_get(x_3, 1); +lean_inc(x_11); +lean_inc(x_3); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__9___rarg), 5, 4); +lean_closure_set(x_12, 0, x_3); +lean_closure_set(x_12, 1, lean_box(0)); +lean_closure_set(x_12, 2, lean_box(0)); +lean_closure_set(x_12, 3, x_10); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_7); +lean_dec(x_4); +x_13 = lean_ctor_get(x_3, 0); +lean_inc(x_13); +lean_dec(x_3); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____spec__1___rarg___closed__1; +x_16 = lean_apply_2(x_14, lean_box(0), x_15); +x_17 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_16, x_12); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_9, 0); +lean_inc(x_18); +lean_dec(x_9); +lean_inc(x_3); +x_19 = lean_apply_4(x_7, lean_box(0), x_3, x_4, x_18); +x_20 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__4), 2, 1); +lean_closure_set(x_20, 0, x_3); +lean_inc(x_11); +x_21 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_19, x_20); +x_22 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_21, x_12); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_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; +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_2, 2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_3); +x_10 = lean_apply_4(x_8, lean_box(0), x_3, x_4, x_9); +lean_inc(x_3); +x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__12), 8, 7); +lean_closure_set(x_11, 0, x_2); +lean_closure_set(x_11, 1, x_5); +lean_closure_set(x_11, 2, x_3); +lean_closure_set(x_11, 3, x_4); +lean_closure_set(x_11, 4, x_6); +lean_closure_set(x_11, 5, x_7); +lean_closure_set(x_11, 6, x_8); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +x_13 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__10___rarg), 5, 4); +lean_closure_set(x_13, 0, x_3); +lean_closure_set(x_13, 1, lean_box(0)); +lean_closure_set(x_13, 2, lean_box(0)); +lean_closure_set(x_13, 3, x_11); +x_14 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_10, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_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; +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +lean_inc(x_4); +lean_inc(x_3); +x_10 = lean_apply_4(x_8, lean_box(0), x_3, x_4, x_9); +lean_inc(x_3); +x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__13), 7, 6); +lean_closure_set(x_11, 0, x_5); +lean_closure_set(x_11, 1, x_2); +lean_closure_set(x_11, 2, x_3); +lean_closure_set(x_11, 3, x_4); +lean_closure_set(x_11, 4, x_6); +lean_closure_set(x_11, 5, x_7); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +x_13 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__11___rarg), 5, 4); +lean_closure_set(x_13, 0, x_3); +lean_closure_set(x_13, 1, lean_box(0)); +lean_closure_set(x_13, 2, lean_box(0)); +lean_closure_set(x_13, 3, x_11); +x_14 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_10, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _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; @@ -1720,7 +2111,7 @@ lean_inc(x_7); lean_inc(x_6); x_11 = lean_apply_4(x_9, lean_box(0), x_6, x_7, x_10); lean_inc(x_6); -x_12 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__15), 7, 6); +x_12 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__14), 7, 6); lean_closure_set(x_12, 0, x_2); lean_closure_set(x_12, 1, x_8); lean_closure_set(x_12, 2, x_6); @@ -1729,7 +2120,7 @@ lean_closure_set(x_12, 4, x_3); lean_closure_set(x_12, 5, x_4); x_13 = lean_ctor_get(x_6, 1); lean_inc(x_13); -x_14 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__6___rarg), 5, 4); +x_14 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___spec__12___rarg), 5, 4); lean_closure_set(x_14, 0, x_6); lean_closure_set(x_14, 1, lean_box(0)); lean_closure_set(x_14, 2, lean_box(0)); @@ -1751,7 +2142,7 @@ lean_closure_set(x_8, 0, x_1); lean_closure_set(x_8, 1, x_3); lean_closure_set(x_8, 2, x_5); lean_closure_set(x_8, 3, x_7); -x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__16), 8, 4); +x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__15), 8, 4); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_3); lean_closure_set(x_9, 2, x_5); @@ -1770,13 +2161,13 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothe return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___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_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_11; -x_11 = l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_10; +x_10 = l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__2(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_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -2642,217 +3033,529 @@ x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEnco return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___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_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); lean_dec(x_1); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_9, 0, x_2); -lean_ctor_set(x_9, 1, x_3); -lean_ctor_set(x_9, 2, x_4); -lean_ctor_set(x_9, 3, x_5); -lean_ctor_set(x_9, 4, x_6); -x_10 = lean_apply_2(x_8, lean_box(0), x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_1, 4); -lean_inc(x_10); -lean_dec(x_1); -lean_inc(x_2); -x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__1), 6, 5); -lean_closure_set(x_11, 0, x_2); -lean_closure_set(x_11, 1, x_3); -lean_closure_set(x_11, 2, x_4); -lean_closure_set(x_11, 3, x_5); -lean_closure_set(x_11, 4, 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; lean_object* x_16; -lean_dec(x_8); -lean_dec(x_7); -x_12 = lean_ctor_get(x_2, 0); -lean_inc(x_12); -lean_dec(x_2); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_box(0); -x_15 = lean_apply_2(x_13, lean_box(0), x_14); -x_16 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_15, x_11); -return x_16; +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; } 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; -x_17 = lean_ctor_get(x_10, 0); -lean_inc(x_17); -lean_dec(x_10); -x_18 = lean_ctor_get(x_2, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_ctor_get(x_7, 0); -lean_inc(x_21); -lean_dec(x_7); -x_22 = lean_apply_4(x_21, lean_box(0), x_2, x_8, x_17); -x_23 = l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5___closed__1; -x_24 = lean_apply_4(x_20, lean_box(0), lean_box(0), x_23, x_22); -x_25 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_24, x_11); -return x_25; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_5, 0); lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); lean_dec(x_1); -x_11 = lean_ctor_get(x_2, 3); -lean_inc(x_11); -lean_inc(x_4); -lean_inc(x_3); -x_12 = lean_apply_4(x_10, lean_box(0), x_3, x_4, x_11); -lean_inc(x_7); -x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__2), 9, 8); -lean_closure_set(x_13, 0, x_2); -lean_closure_set(x_13, 1, x_3); -lean_closure_set(x_13, 2, x_5); -lean_closure_set(x_13, 3, x_6); -lean_closure_set(x_13, 4, x_9); -lean_closure_set(x_13, 5, x_7); -lean_closure_set(x_13, 6, x_8); -lean_closure_set(x_13, 7, x_4); -x_14 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_12, x_13); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_1, 2); -lean_inc(x_9); -lean_inc(x_6); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__3), 9, 8); -lean_closure_set(x_10, 0, x_2); -lean_closure_set(x_10, 1, x_1); -lean_closure_set(x_10, 2, x_3); -lean_closure_set(x_10, 3, x_4); -lean_closure_set(x_10, 4, x_5); -lean_closure_set(x_10, 5, x_8); -lean_closure_set(x_10, 6, x_6); -lean_closure_set(x_10, 7, x_7); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_4); -lean_dec(x_2); -x_11 = lean_ctor_get(x_3, 0); -lean_inc(x_11); -lean_dec(x_3); x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); lean_dec(x_11); -x_13 = lean_box(0); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); x_14 = lean_apply_2(x_12, lean_box(0), x_13); -x_15 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_14, x_10); -return x_15; +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; lean_object* x_24; -x_16 = lean_ctor_get(x_9, 0); -lean_inc(x_16); -lean_dec(x_9); -x_17 = lean_ctor_get(x_3, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_ctor_get(x_2, 0); -lean_inc(x_20); -lean_dec(x_2); -x_21 = lean_apply_4(x_20, lean_box(0), x_3, x_4, x_16); -x_22 = l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5___closed__1; -x_23 = lean_apply_4(x_19, lean_box(0), lean_box(0), x_22, x_21); -x_24 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_23, x_10); -return x_24; +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; } } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__6(lean_object* x_1) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__6___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__7(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__7___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__8___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__8(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__8___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__9(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__9___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__10___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__10(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__10___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___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; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_2); +lean_ctor_set(x_7, 2, x_3); +lean_ctor_set(x_7, 3, x_4); +lean_ctor_set(x_7, 4, x_6); +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +lean_dec(x_5); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_7); +x_11 = lean_apply_2(x_9, lean_box(0), x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_1, 4); +lean_inc(x_9); +lean_dec(x_1); +lean_inc(x_5); +x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__1), 6, 5); +lean_closure_set(x_10, 0, x_2); +lean_closure_set(x_10, 1, x_3); +lean_closure_set(x_10, 2, x_4); +lean_closure_set(x_10, 3, x_8); +lean_closure_set(x_10, 4, x_5); +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +lean_inc(x_5); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__1___rarg), 5, 4); +lean_closure_set(x_12, 0, x_5); +lean_closure_set(x_12, 1, lean_box(0)); +lean_closure_set(x_12, 2, lean_box(0)); +lean_closure_set(x_12, 3, x_10); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_7); +lean_dec(x_6); +x_13 = lean_ctor_get(x_5, 0); +lean_inc(x_13); +lean_dec(x_5); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____spec__1___rarg___closed__1; +x_16 = lean_apply_2(x_14, lean_box(0), x_15); +x_17 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_16, x_12); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_ctor_get(x_9, 0); +lean_inc(x_18); +lean_dec(x_9); +x_19 = lean_ctor_get(x_6, 0); +lean_inc(x_19); +lean_dec(x_6); +lean_inc(x_5); +x_20 = lean_apply_4(x_19, lean_box(0), x_5, x_7, x_18); +x_21 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__4), 2, 1); +lean_closure_set(x_21, 0, x_5); +lean_inc(x_11); +x_22 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_20, x_21); +x_23 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_22, x_12); +return x_23; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_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; x_9 = lean_ctor_get(x_1, 0); lean_inc(x_9); lean_dec(x_1); -x_10 = lean_ctor_get(x_2, 1); +x_10 = lean_ctor_get(x_2, 3); lean_inc(x_10); lean_inc(x_4); lean_inc(x_3); x_11 = lean_apply_4(x_9, lean_box(0), x_3, x_4, x_10); -lean_inc(x_6); -x_12 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__4), 8, 7); +lean_inc(x_3); +x_12 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__2), 8, 7); lean_closure_set(x_12, 0, x_2); lean_closure_set(x_12, 1, x_5); -lean_closure_set(x_12, 2, x_3); -lean_closure_set(x_12, 3, x_4); -lean_closure_set(x_12, 4, x_8); -lean_closure_set(x_12, 5, x_6); -lean_closure_set(x_12, 6, x_7); -x_13 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_11, x_12); -return x_13; +lean_closure_set(x_12, 2, x_6); +lean_closure_set(x_12, 3, x_8); +lean_closure_set(x_12, 4, x_3); +lean_closure_set(x_12, 5, x_7); +lean_closure_set(x_12, 6, x_4); +x_13 = lean_ctor_get(x_3, 1); +lean_inc(x_13); +x_14 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__2___rarg), 5, 4); +lean_closure_set(x_14, 0, x_3); +lean_closure_set(x_14, 1, lean_box(0)); +lean_closure_set(x_14, 2, lean_box(0)); +lean_closure_set(x_14, 3, x_12); +x_15 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_11, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__3), 8, 7); +lean_closure_set(x_9, 0, x_2); +lean_closure_set(x_9, 1, x_1); +lean_closure_set(x_9, 2, x_3); +lean_closure_set(x_9, 3, x_4); +lean_closure_set(x_9, 4, x_5); +lean_closure_set(x_9, 5, x_7); +lean_closure_set(x_9, 6, x_6); +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +lean_inc(x_3); +x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__3___rarg), 5, 4); +lean_closure_set(x_11, 0, x_3); +lean_closure_set(x_11, 1, lean_box(0)); +lean_closure_set(x_11, 2, lean_box(0)); +lean_closure_set(x_11, 3, x_9); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_4); +lean_dec(x_2); +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____spec__1___rarg___closed__1; +x_15 = lean_apply_2(x_13, lean_box(0), x_14); +x_16 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_15, x_11); +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; +x_17 = lean_ctor_get(x_8, 0); +lean_inc(x_17); +lean_dec(x_8); +x_18 = lean_ctor_get(x_2, 0); +lean_inc(x_18); +lean_dec(x_2); +lean_inc(x_3); +x_19 = lean_apply_4(x_18, lean_box(0), x_3, x_4, x_17); +x_20 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__4), 2, 1); +lean_closure_set(x_20, 0, x_3); +lean_inc(x_10); +x_21 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_19, x_20); +x_22 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_21, x_11); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_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; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +lean_inc(x_4); +lean_inc(x_3); +x_10 = lean_apply_4(x_8, lean_box(0), x_3, x_4, x_9); +lean_inc(x_3); +x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__4), 7, 6); +lean_closure_set(x_11, 0, x_2); +lean_closure_set(x_11, 1, x_5); +lean_closure_set(x_11, 2, x_3); +lean_closure_set(x_11, 3, x_4); +lean_closure_set(x_11, 4, x_7); +lean_closure_set(x_11, 5, x_6); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +x_13 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__4___rarg), 5, 4); +lean_closure_set(x_13, 0, x_3); +lean_closure_set(x_13, 1, lean_box(0)); +lean_closure_set(x_13, 2, lean_box(0)); +lean_closure_set(x_13, 3, x_11); +x_14 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_10, x_13); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _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; -x_9 = lean_ctor_get(x_6, 1); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_9 = lean_ctor_get(x_1, 0); lean_inc(x_9); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); lean_dec(x_1); -x_11 = lean_ctor_get(x_8, 0); -lean_inc(x_11); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); lean_inc(x_7); lean_inc(x_6); -x_12 = lean_apply_4(x_10, lean_box(0), x_6, x_7, x_11); -lean_inc(x_9); -x_13 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__5), 8, 7); -lean_closure_set(x_13, 0, x_2); -lean_closure_set(x_13, 1, x_8); -lean_closure_set(x_13, 2, x_6); -lean_closure_set(x_13, 3, x_7); -lean_closure_set(x_13, 4, x_3); -lean_closure_set(x_13, 5, x_9); -lean_closure_set(x_13, 6, x_4); -x_14 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_12, x_13); -return x_14; +x_11 = lean_apply_4(x_9, lean_box(0), x_6, x_7, x_10); +lean_inc(x_6); +x_12 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__5), 7, 6); +lean_closure_set(x_12, 0, x_2); +lean_closure_set(x_12, 1, x_8); +lean_closure_set(x_12, 2, x_6); +lean_closure_set(x_12, 3, x_7); +lean_closure_set(x_12, 4, x_3); +lean_closure_set(x_12, 5, x_4); +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +x_14 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__5___rarg), 5, 4); +lean_closure_set(x_14, 0, x_6); +lean_closure_set(x_14, 1, lean_box(0)); +lean_closure_set(x_14, 2, lean_box(0)); +lean_closure_set(x_14, 3, x_12); +x_15 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_11, x_14); +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -2894,7 +3597,7 @@ lean_closure_set(x_10, 4, x_5); x_11 = lean_ctor_get(x_5, 1); lean_inc(x_11); lean_inc(x_5); -x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__1___rarg), 5, 4); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__6___rarg), 5, 4); lean_closure_set(x_12, 0, x_5); lean_closure_set(x_12, 1, lean_box(0)); lean_closure_set(x_12, 2, lean_box(0)); @@ -2926,7 +3629,7 @@ lean_inc(x_19); lean_dec(x_6); lean_inc(x_5); x_20 = lean_apply_4(x_19, lean_box(0), x_5, x_7, x_18); -x_21 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__12), 2, 1); +x_21 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__4), 2, 1); lean_closure_set(x_21, 0, x_5); lean_inc(x_11); x_22 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_20, x_21); @@ -2958,7 +3661,7 @@ lean_closure_set(x_12, 5, x_7); lean_closure_set(x_12, 6, x_4); x_13 = lean_ctor_get(x_3, 1); lean_inc(x_13); -x_14 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__2___rarg), 5, 4); +x_14 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__7___rarg), 5, 4); lean_closure_set(x_14, 0, x_3); lean_closure_set(x_14, 1, lean_box(0)); lean_closure_set(x_14, 2, lean_box(0)); @@ -2987,7 +3690,7 @@ lean_closure_set(x_9, 6, x_6); x_10 = lean_ctor_get(x_3, 1); lean_inc(x_10); lean_inc(x_3); -x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__3___rarg), 5, 4); +x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__8___rarg), 5, 4); lean_closure_set(x_11, 0, x_3); lean_closure_set(x_11, 1, lean_box(0)); lean_closure_set(x_11, 2, lean_box(0)); @@ -3019,7 +3722,7 @@ lean_inc(x_18); lean_dec(x_2); lean_inc(x_3); x_19 = lean_apply_4(x_18, lean_box(0), x_3, x_4, x_17); -x_20 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__12), 2, 1); +x_20 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__4), 2, 1); lean_closure_set(x_20, 0, x_3); lean_inc(x_10); x_21 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_19, x_20); @@ -3050,7 +3753,7 @@ lean_closure_set(x_11, 4, x_7); lean_closure_set(x_11, 5, x_6); x_12 = lean_ctor_get(x_3, 1); lean_inc(x_12); -x_13 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__4___rarg), 5, 4); +x_13 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__9___rarg), 5, 4); lean_closure_set(x_13, 0, x_3); lean_closure_set(x_13, 1, lean_box(0)); lean_closure_set(x_13, 2, lean_box(0)); @@ -3081,7 +3784,7 @@ lean_closure_set(x_12, 4, x_3); lean_closure_set(x_12, 5, x_4); x_13 = lean_ctor_get(x_6, 1); lean_inc(x_13); -x_14 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__5___rarg), 5, 4); +x_14 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__10___rarg), 5, 4); lean_closure_set(x_14, 0, x_6); lean_closure_set(x_14, 1, lean_box(0)); lean_closure_set(x_14, 2, lean_box(0)); @@ -4292,92 +4995,286 @@ x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEnco return x_2; } } +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__4___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__5___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__6(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__6___rarg), 5, 0); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___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; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_ctor_get(x_5, 1); +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_4); +x_6 = lean_ctor_get(x_3, 0); lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_alloc_ctor(0, 3, 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); -x_8 = lean_apply_2(x_6, lean_box(0), x_7); -return x_8; +lean_dec(x_3); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +x_9 = lean_apply_2(x_7, lean_box(0), x_8); +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_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); +lean_object* x_7; 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_1, 0); +lean_inc(x_7); lean_dec(x_1); -x_9 = lean_ctor_get(x_2, 2); -lean_inc(x_9); +x_8 = lean_ctor_get(x_2, 2); +lean_inc(x_8); lean_dec(x_2); lean_inc(x_3); -x_10 = lean_apply_4(x_8, lean_box(0), x_3, x_4, x_9); -x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__1), 4, 3); -lean_closure_set(x_11, 0, x_3); -lean_closure_set(x_11, 1, x_5); -lean_closure_set(x_11, 2, x_7); -x_12 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_10, x_11); -return x_12; +x_9 = lean_apply_4(x_7, lean_box(0), x_3, x_4, x_8); +lean_inc(x_3); +x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__1), 4, 3); +lean_closure_set(x_10, 0, x_5); +lean_closure_set(x_10, 1, x_6); +lean_closure_set(x_10, 2, x_3); +x_11 = lean_ctor_get(x_3, 1); +lean_inc(x_11); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__1___rarg), 5, 4); +lean_closure_set(x_12, 0, x_3); +lean_closure_set(x_12, 1, lean_box(0)); +lean_closure_set(x_12, 2, lean_box(0)); +lean_closure_set(x_12, 3, x_10); +x_13 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_9, x_12); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_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); +lean_object* x_7; 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_1, 0); +lean_inc(x_7); lean_dec(x_1); -x_9 = lean_ctor_get(x_2, 1); -lean_inc(x_9); +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); lean_inc(x_4); lean_inc(x_3); -x_10 = lean_apply_4(x_8, lean_box(0), x_3, x_4, x_9); -lean_inc(x_6); -x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__2), 7, 6); -lean_closure_set(x_11, 0, x_5); -lean_closure_set(x_11, 1, x_2); -lean_closure_set(x_11, 2, x_3); -lean_closure_set(x_11, 3, x_4); -lean_closure_set(x_11, 4, x_7); -lean_closure_set(x_11, 5, x_6); -x_12 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_10, x_11); -return x_12; +x_9 = lean_apply_4(x_7, lean_box(0), x_3, x_4, x_8); +lean_inc(x_3); +x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__2), 6, 5); +lean_closure_set(x_10, 0, x_5); +lean_closure_set(x_10, 1, x_2); +lean_closure_set(x_10, 2, x_3); +lean_closure_set(x_10, 3, x_4); +lean_closure_set(x_10, 4, x_6); +x_11 = lean_ctor_get(x_3, 1); +lean_inc(x_11); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__2___rarg), 5, 4); +lean_closure_set(x_12, 0, x_3); +lean_closure_set(x_12, 1, lean_box(0)); +lean_closure_set(x_12, 2, lean_box(0)); +lean_closure_set(x_12, 3, x_10); +x_13 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_9, x_12); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _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; -x_8 = lean_ctor_get(x_5, 1); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_8 = lean_ctor_get(x_1, 0); lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); lean_dec(x_1); -x_10 = lean_ctor_get(x_7, 0); -lean_inc(x_10); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); lean_inc(x_6); lean_inc(x_5); -x_11 = lean_apply_4(x_9, lean_box(0), x_5, x_6, x_10); -lean_inc(x_8); -x_12 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__3), 7, 6); -lean_closure_set(x_12, 0, x_2); -lean_closure_set(x_12, 1, x_7); -lean_closure_set(x_12, 2, x_5); -lean_closure_set(x_12, 3, x_6); -lean_closure_set(x_12, 4, x_3); -lean_closure_set(x_12, 5, x_8); -x_13 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_11, x_12); -return x_13; +x_10 = lean_apply_4(x_8, lean_box(0), x_5, x_6, x_9); +lean_inc(x_5); +x_11 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__3), 6, 5); +lean_closure_set(x_11, 0, x_2); +lean_closure_set(x_11, 1, x_7); +lean_closure_set(x_11, 2, x_5); +lean_closure_set(x_11, 3, x_6); +lean_closure_set(x_11, 4, x_3); +x_12 = lean_ctor_get(x_5, 1); +lean_inc(x_12); +x_13 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__3___rarg), 5, 4); +lean_closure_set(x_13, 0, x_5); +lean_closure_set(x_13, 1, lean_box(0)); +lean_closure_set(x_13, 2, lean_box(0)); +lean_closure_set(x_13, 3, x_11); +x_14 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_10, x_13); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -4419,7 +5316,7 @@ lean_closure_set(x_10, 1, x_6); lean_closure_set(x_10, 2, x_3); x_11 = lean_ctor_get(x_3, 1); lean_inc(x_11); -x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__1___rarg), 5, 4); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__4___rarg), 5, 4); lean_closure_set(x_12, 0, x_3); lean_closure_set(x_12, 1, lean_box(0)); lean_closure_set(x_12, 2, lean_box(0)); @@ -4449,7 +5346,7 @@ lean_closure_set(x_10, 3, x_4); lean_closure_set(x_10, 4, x_6); x_11 = lean_ctor_get(x_3, 1); lean_inc(x_11); -x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__2___rarg), 5, 4); +x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__5___rarg), 5, 4); lean_closure_set(x_12, 0, x_3); lean_closure_set(x_12, 1, lean_box(0)); lean_closure_set(x_12, 2, lean_box(0)); @@ -4479,7 +5376,7 @@ lean_closure_set(x_11, 3, x_6); lean_closure_set(x_11, 4, x_3); x_12 = lean_ctor_get(x_5, 1); lean_inc(x_12); -x_13 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__3___rarg), 5, 4); +x_13 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__6___rarg), 5, 4); lean_closure_set(x_13, 0, x_5); lean_closure_set(x_13, 1, lean_box(0)); lean_closure_set(x_13, 2, lean_box(0)); @@ -4745,38 +5642,65 @@ x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEnco return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; -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 = lean_apply_2(x_4, lean_box(0), x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: +if (lean_obj_tag(x_5) == 0) { -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_3, 1); -lean_inc(x_6); +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); lean_dec(x_1); -lean_inc(x_3); -x_8 = lean_apply_4(x_7, lean_box(0), x_3, x_4, x_5); -x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__1), 2, 1); -lean_closure_set(x_9, 0, x_3); -x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); -return x_10; +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2) { +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__2___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___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; @@ -4792,7 +5716,30 @@ x_6 = lean_apply_2(x_4, lean_box(0), x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__4(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_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +lean_inc(x_3); +x_7 = lean_apply_4(x_6, lean_box(0), x_3, x_4, x_5); +lean_inc(x_3); +x_8 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__1), 2, 1); +lean_closure_set(x_8, 0, x_3); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +x_10 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__1___rarg), 5, 4); +lean_closure_set(x_10, 0, x_3); +lean_closure_set(x_10, 1, lean_box(0)); +lean_closure_set(x_10, 2, lean_box(0)); +lean_closure_set(x_10, 3, x_8); +x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_7, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -4802,11 +5749,11 @@ lean_dec(x_1); lean_inc(x_3); x_7 = lean_apply_4(x_6, lean_box(0), x_3, x_4, x_5); lean_inc(x_3); -x_8 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__3), 2, 1); +x_8 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__1), 2, 1); lean_closure_set(x_8, 0, x_3); x_9 = lean_ctor_get(x_3, 1); lean_inc(x_9); -x_10 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__1___rarg), 5, 4); +x_10 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__2___rarg), 5, 4); lean_closure_set(x_10, 0, x_3); lean_closure_set(x_10, 1, lean_box(0)); lean_closure_set(x_10, 2, lean_box(0)); @@ -4822,7 +5769,7 @@ lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_inc(x_1); x_2 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__2), 5, 1); lean_closure_set(x_2, 0, x_1); -x_3 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__4), 5, 1); +x_3 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingInteractiveGoalsRpcEncodingPacket___rarg___lambda__3), 5, 1); lean_closure_set(x_3, 0, x_1); x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_2); @@ -8694,8 +9641,6 @@ l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____rarg___closed__5); l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____rarg___closed__6 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____rarg___closed__6(); lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_199____rarg___closed__6); -l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5___closed__1 = _init_l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Widget_instRpcEncodingInteractiveHypothesisBundleRpcEncodingPacket___rarg___lambda__5___closed__1); l_Lean_Widget_InteractiveGoal_mvarId_x3f___default = _init_l_Lean_Widget_InteractiveGoal_mvarId_x3f___default(); lean_mark_persistent(l_Lean_Widget_InteractiveGoal_mvarId_x3f___default); l_Lean_Widget_instInhabitedInteractiveGoal___closed__1 = _init_l_Lean_Widget_instInhabitedInteractiveGoal___closed__1(); diff --git a/stage0/stdlib/Lean/Widget/TaggedText.c b/stage0/stdlib/Lean/Widget/TaggedText.c index 0a9e0ef69e..19394c9092 100644 --- a/stage0/stdlib/Lean/Widget/TaggedText.c +++ b/stage0/stdlib/Lean/Widget/TaggedText.c @@ -47,6 +47,7 @@ LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_stripTags_go___rarg(lean_objec static lean_object* l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_TaggedText_instInhabitedTaggedState___closed__1; LEAN_EXPORT lean_object* l_Std_Format_prettyM___at_Lean_Widget_TaggedText_prettyTagged___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -65,9 +66,11 @@ static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTa LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_223____rarg___closed__11; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_spaceUptoLine_x27(lean_object*, lean_object*); static lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__1; LEAN_EXPORT lean_object* l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__7___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_223____spec__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__1; lean_object* l_Lean_Json_getStr_x3f(lean_object*); @@ -110,9 +113,11 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewr lean_object* lean_nat_sub(lean_object*, lean_object*); uint8_t l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_18_(uint8_t, uint8_t); static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_398____rarg___lambda__2___closed__6; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewrite___rarg(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Json_setObjVal_x21___spec__1(lean_object*); static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_398____rarg___lambda__2___closed__4; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__12(lean_object*); static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_223____rarg___closed__21; lean_object* l_instInhabited___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_223____rarg___closed__23; @@ -125,6 +130,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_inst lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_223____rarg___closed__2; static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_223____rarg___closed__1; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__9(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_out___default; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_398____spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText(lean_object*); @@ -136,7 +142,9 @@ lean_object* l_Array_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instBEqTaggedText___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_stripTags_go(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__3; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__11(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_594____spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_223____rarg___closed__25; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__2(lean_object*, lean_object*, lean_object*); @@ -154,6 +162,7 @@ lean_object* l_Int_toNat(lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__10(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_398____spec__1(lean_object*); lean_object* l_List_drop___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_76_(lean_object*); @@ -187,6 +196,8 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_Tagge LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_223____spec__3(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewriteM(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_223____spec__3___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*); @@ -194,6 +205,7 @@ LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___rarg___lambda__3(lean_o lean_object* l_Lean_Json_mkObj(lean_object*); lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_map___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instRpcEncodingTaggedText___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -201,6 +213,7 @@ static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTagged static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_223____rarg___closed__24; lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_StateT_instMonadStateT___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__7(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_pop(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -218,12 +231,15 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_Tagge lean_object* l_List_take___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__2(lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_223____rarg___closed__10; +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_223____rarg___closed__20; static lean_object* l_Lean_Widget_instInhabitedTaggedText___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instRpcEncodingTaggedText(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_398____rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedTaggedText(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_map___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__7___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instReprTaggedText___rarg(lean_object*); LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_appendText___rarg(lean_object*, lean_object*); @@ -1344,7 +1360,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_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_398____rarg___lambda__2___closed__3; x_2 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_398____rarg___lambda__2___closed__4; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_398____rarg___lambda__2___closed__5; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4010,6 +4026,432 @@ x_4 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_ return x_4; } } +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__9(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__9___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; +x_7 = 1; +x_8 = lean_usize_add(x_1, x_7); +x_9 = lean_array_uset(x_2, x_1, x_6); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg(x_3, x_4, x_5, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_4, x_3); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_5); +x_10 = lean_apply_2(x_8, lean_box(0), x_9); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_11 = lean_array_uget(x_5, x_4); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_5, x_4, x_12); +lean_inc(x_2); +lean_inc(x_1); +x_14 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__7___rarg(x_1, x_2, x_11); +x_15 = lean_box_usize(x_4); +x_16 = lean_box_usize(x_3); +lean_inc(x_1); +x_17 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg___lambda__1___boxed), 6, 5); +lean_closure_set(x_17, 0, x_15); +lean_closure_set(x_17, 1, x_13); +lean_closure_set(x_17, 2, x_1); +lean_closure_set(x_17, 3, x_2); +lean_closure_set(x_17, 4, x_16); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +x_19 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__9___rarg), 5, 4); +lean_closure_set(x_19, 0, x_1); +lean_closure_set(x_19, 1, lean_box(0)); +lean_closure_set(x_19, 2, lean_box(0)); +lean_closure_set(x_19, 3, x_17); +x_20 = lean_apply_4(x_18, lean_box(0), lean_box(0), x_14, x_19); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg___boxed), 5, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__10___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__10(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__10___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__11___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__11(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__11___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = lean_apply_1(x_4, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__12(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__12___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__7___rarg___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_inc(x_1); +x_5 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__7___rarg(x_1, x_2, x_3); +lean_inc(x_1); +x_6 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__1___rarg___lambda__2), 3, 2); +lean_closure_set(x_6, 0, x_4); +lean_closure_set(x_6, 1, x_1); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__11___rarg), 5, 4); +lean_closure_set(x_8, 0, x_1); +lean_closure_set(x_8, 1, lean_box(0)); +lean_closure_set(x_8, 2, lean_box(0)); +lean_closure_set(x_8, 3, x_6); +x_9 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_5, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +switch (lean_obj_tag(x_3)) { +case 0: +{ +uint8_t x_4; +lean_dec(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; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_3); +x_8 = lean_apply_2(x_6, lean_box(0), x_7); +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; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +x_10 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = lean_apply_2(x_12, lean_box(0), x_13); +return x_14; +} +} +case 1: +{ +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; lean_object* x_22; lean_object* x_23; +x_15 = lean_ctor_get(x_3, 0); +lean_inc(x_15); +lean_dec(x_3); +x_16 = lean_array_get_size(x_15); +x_17 = lean_usize_of_nat(x_16); +lean_dec(x_16); +x_18 = 0; +lean_inc(x_1); +x_19 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg(x_1, x_2, x_17, x_18, x_15); +lean_inc(x_1); +x_20 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__1___rarg___lambda__1), 2, 1); +lean_closure_set(x_20, 0, x_1); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +x_22 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__10___rarg), 5, 4); +lean_closure_set(x_22, 0, x_1); +lean_closure_set(x_22, 1, lean_box(0)); +lean_closure_set(x_22, 2, lean_box(0)); +lean_closure_set(x_22, 3, x_20); +x_23 = lean_apply_4(x_21, lean_box(0), lean_box(0), x_19, x_22); +return x_23; +} +default: +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_24 = lean_ctor_get(x_3, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_3, 1); +lean_inc(x_25); +lean_dec(x_3); +lean_inc(x_2); +x_26 = lean_apply_1(x_2, x_24); +lean_inc(x_1); +x_27 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__7___rarg___lambda__1), 4, 3); +lean_closure_set(x_27, 0, x_1); +lean_closure_set(x_27, 1, x_2); +lean_closure_set(x_27, 2, x_25); +x_28 = lean_ctor_get(x_1, 1); +lean_inc(x_28); +x_29 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__12___rarg), 5, 4); +lean_closure_set(x_29, 0, x_1); +lean_closure_set(x_29, 1, lean_box(0)); +lean_closure_set(x_29, 2, lean_box(0)); +lean_closure_set(x_29, 3, x_27); +x_30 = lean_apply_4(x_28, lean_box(0), lean_box(0), x_26, x_29); +return x_30; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__7(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_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__7___rarg), 3, 0); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instRpcEncodingTaggedText___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -4019,7 +4461,7 @@ lean_inc(x_6); lean_dec(x_1); lean_inc(x_3); x_7 = lean_apply_3(x_6, lean_box(0), x_3, x_4); -x_8 = l_Lean_Widget_TaggedText_mapM___rarg(x_3, x_7, x_5); +x_8 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__1___rarg(x_3, x_7, x_5); return x_8; } } @@ -4032,7 +4474,7 @@ lean_inc(x_6); lean_dec(x_1); lean_inc(x_3); x_7 = lean_apply_3(x_6, lean_box(0), x_3, x_4); -x_8 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__1___rarg(x_3, x_7, x_5); +x_8 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__7___rarg(x_3, x_7, x_5); return x_8; } } @@ -4083,6 +4525,30 @@ x_8 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTe return x_8; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___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: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg___lambda__1(x_7, x_2, x_3, x_4, x_8, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg___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_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedText___spec__8___rarg(x_1, x_2, x_6, x_7, x_5); +return x_8; +} +} static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_out___default() { _start: { diff --git a/stage0/stdlib/Std/Data/PersistentArray.c b/stage0/stdlib/Std/Data/PersistentArray.c index cd8e5abb71..5199e1a2b1 100644 --- a/stage0/stdlib/Std/Data/PersistentArray.c +++ b/stage0/stdlib/Std/Data/PersistentArray.c @@ -973,7 +973,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_Std_PersistentArray_getAux___rarg___closed__1; x_2 = l_Std_PersistentArray_getAux___rarg___closed__2; -x_3 = lean_unsigned_to_nat(62u); +x_3 = lean_unsigned_to_nat(69u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Std_PersistentArray_getAux___rarg___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);