From 120b0200c2bcc060737a0c8d7f45de69a3bfde52 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Thu, 2 Sep 2021 17:30:50 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Conv.lean | 15 +- stage0/src/Init/Data/Nat/Div.lean | 10 +- stage0/src/Init/Data/Nat/Gcd.lean | 2 +- stage0/src/Init/WF.lean | 4 +- stage0/src/Lean/Elab/InfoTree.lean | 9 +- stage0/src/Lean/Elab/Quotation.lean | 1 - stage0/src/Lean/Elab/Tactic/Basic.lean | 3 - stage0/src/Lean/Elab/Tactic/Conv/Basic.lean | 19 +- stage0/src/Lean/Elab/Tactic/Conv/Congr.lean | 24 +- stage0/src/Lean/Expr.lean | 16 + stage0/src/Lean/Meta/PPGoal.lean | 17 +- stage0/src/Lean/Parser/Term.lean | 1 - .../PrettyPrinter/Delaborator/Builtins.lean | 2 + .../Server/FileWorker/RequestHandling.lean | 4 +- stage0/src/Lean/Widget/InteractiveGoal.lean | 4 +- stage0/stdlib/Init/Conv.c | 3473 +++++++++--- stage0/stdlib/Lean/Elab/InfoTree.c | 831 ++- stage0/stdlib/Lean/Elab/Quotation.c | 95 +- stage0/stdlib/Lean/Elab/Tactic/Basic.c | 888 ++- stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c | 1859 +++--- stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c | 3089 ++++++---- stage0/stdlib/Lean/Elab/Tactic/Conv/Rewrite.c | 29 + stage0/stdlib/Lean/Elab/Term.c | 9 +- stage0/stdlib/Lean/Expr.c | 175 + stage0/stdlib/Lean/Meta/IndPredBelow.c | 5005 ++++++++--------- stage0/stdlib/Lean/Meta/PPGoal.c | 861 ++- stage0/stdlib/Lean/Parser/Term.c | 1281 +---- stage0/stdlib/Lean/PrettyPrinter.c | 19 +- .../Lean/PrettyPrinter/Delaborator/Builtins.c | 453 +- .../Lean/Server/FileWorker/RequestHandling.c | 2286 ++++---- .../Lean/Server/FileWorker/WidgetRequests.c | 8 +- stage0/stdlib/Lean/Widget/InteractiveCode.c | 18 +- stage0/stdlib/Lean/Widget/InteractiveGoal.c | 593 +- 33 files changed, 11191 insertions(+), 9912 deletions(-) create mode 100644 stage0/stdlib/Lean/Elab/Tactic/Conv/Rewrite.c diff --git a/stage0/src/Init/Conv.lean b/stage0/src/Init/Conv.lean index e4935cee5f..016df6473f 100644 --- a/stage0/src/Init/Conv.lean +++ b/stage0/src/Init/Conv.lean @@ -16,17 +16,28 @@ syntax convSeq1Indented := withPosition((group(colGe conv ";"?))+) syntax convSeqBracketed := "{" (group(conv ";"?))+ "}" syntax convSeq := convSeq1Indented <|> convSeqBracketed +syntax (name := conv) "conv " (" at " ident)? (" in " term)? " => " convSeq : tactic + syntax (name := skip) "skip " : conv syntax (name := lhs) "lhs" : conv syntax (name := rhs) "rhs" : conv syntax (name := whnf) "whnf" : conv syntax (name := congr) "congr" : conv +syntax (name := arg) "arg " num : conv +syntax (name := trace) "trace" : conv +syntax (name := funext) "funext" ident* : conv +syntax (name := change) "change " term : conv +syntax (name := rewrite) "rewrite " rwRuleSeq : conv +syntax (name := simp) "simp " ("(" &"config" " := " term ")")? (&"only ")? ("[" (simpStar <|> simpErase <|> simpLemma),* "]")? : conv +syntax (name := nestedTactic) "tactic " tacticSeq : conv syntax (name := nestedConv) convSeqBracketed : conv syntax (name := paren) "(" convSeq ")" : conv /-- `· conv` focuses on the main conv goal and tries to solve it using `s` -/ macro dot:("·" <|> ".") s:convSeq : conv => `({%$dot ($s:convSeq) }) - -syntax (name := conv) "conv " (" at " ident)? (" in " term)? " => " convSeq : tactic +macro "rw " s:rwRuleSeq : conv => `(rewrite $s:rwRuleSeq) +macro "args" : conv => `(congr) +macro "left" : conv => `(lhs) +macro "right" : conv => `(rhs) end Lean.Parser.Tactic.Conv diff --git a/stage0/src/Init/Data/Nat/Div.lean b/stage0/src/Init/Data/Nat/Div.lean index 338eaf0671..ef69149895 100644 --- a/stage0/src/Init/Data/Nat/Div.lean +++ b/stage0/src/Init/Data/Nat/Div.lean @@ -16,12 +16,12 @@ private def div.F (x : Nat) (f : ∀ x₁, x₁ < x → Nat → Nat) (y : Nat) : @[extern "lean_nat_div"] protected def div (a b : @& Nat) : Nat := - WellFounded.fix ltWf div.F a b + WellFounded.fix lt_wf div.F a b instance : Div Nat := ⟨Nat.div⟩ private theorem div_eq_aux (x y : Nat) : x / y = if h : 0 < y ∧ y ≤ x then (x - y) / y + 1 else 0 := - congrFun (WellFounded.fix_eq ltWf div.F x) y + congrFun (WellFounded.fix_eq lt_wf div.F x) y theorem div_eq (x y : Nat) : x / y = if 0 < y ∧ y ≤ x then (x - y) / y + 1 else 0 := dif_eq_if (0 < y ∧ y ≤ x) ((x - y) / y + 1) 0 ▸ div_eq_aux x y @@ -39,19 +39,19 @@ theorem div.inductionOn.{u} (ind : ∀ x y, 0 < y ∧ y ≤ x → motive (x - y) y → motive x y) (base : ∀ x y, ¬(0 < y ∧ y ≤ x) → motive x y) : motive x y := - WellFounded.fix Nat.ltWf (div.induction.F motive ind base) x y + WellFounded.fix Nat.lt_wf (div.induction.F motive ind base) x y private def mod.F (x : Nat) (f : ∀ x₁, x₁ < x → Nat → Nat) (y : Nat) : Nat := if h : 0 < y ∧ y ≤ x then f (x - y) (div_rec_lemma h) y else x @[extern "lean_nat_mod"] protected def mod (a b : @& Nat) : Nat := - WellFounded.fix ltWf mod.F a b + WellFounded.fix lt_wf mod.F a b instance : Mod Nat := ⟨Nat.mod⟩ private theorem mod_eq_aux (x y : Nat) : x % y = if h : 0 < y ∧ y ≤ x then (x - y) % y else x := - congrFun (WellFounded.fix_eq ltWf mod.F x) y + congrFun (WellFounded.fix_eq lt_wf mod.F x) y theorem mod_eq (x y : Nat) : x % y = if 0 < y ∧ y ≤ x then (x - y) % y else x := dif_eq_if (0 < y ∧ y ≤ x) ((x - y) % y) x ▸ mod_eq_aux x y diff --git a/stage0/src/Init/Data/Nat/Gcd.lean b/stage0/src/Init/Data/Nat/Gcd.lean index f2c51e4d8c..86aff647d9 100644 --- a/stage0/src/Init/Data/Nat/Gcd.lean +++ b/stage0/src/Init/Data/Nat/Gcd.lean @@ -15,7 +15,7 @@ private def gcdF (x : Nat) : (∀ x₁, x₁ < x → Nat → Nat) → Nat → Na @[extern "lean_nat_gcd"] def gcd (a b : @& Nat) : Nat := - WellFounded.fix ltWf gcdF a b + WellFounded.fix lt_wf gcdF a b @[simp] theorem gcd_zero_left (y : Nat) : gcd 0 y = y := rfl diff --git a/stage0/src/Init/WF.lean b/stage0/src/Init/WF.lean index de9c3ff473..b23bb4da73 100644 --- a/stage0/src/Init/WF.lean +++ b/stage0/src/Init/WF.lean @@ -144,7 +144,7 @@ def wf (h : WellFounded r) : WellFounded (TC r) := end TC -- less-than is well-founded -def Nat.ltWf : WellFounded Nat.lt := by +def Nat.lt_wf : WellFounded Nat.lt := by apply WellFounded.intro intro n induction n with @@ -164,7 +164,7 @@ def measure {α : Sort u} : (α → Nat) → α → α → Prop := InvImage (fun a b => a < b) def measureWf {α : Sort u} (f : α → Nat) : WellFounded (measure f) := - InvImage.wf f Nat.ltWf + InvImage.wf f Nat.lt_wf def sizeofMeasure (α : Sort u) [SizeOf α] : α → α → Prop := measure sizeOf diff --git a/stage0/src/Lean/Elab/InfoTree.lean b/stage0/src/Lean/Elab/InfoTree.lean index d914c04bde..00d9e99665 100644 --- a/stage0/src/Lean/Elab/InfoTree.lean +++ b/stage0/src/Lean/Elab/InfoTree.lean @@ -78,7 +78,6 @@ structure TacticInfo extends ElabInfo where goalsBefore : List MVarId mctxAfter : MetavarContext goalsAfter : List MVarId - inConv : Bool deriving Inhabited structure MacroExpansionInfo where @@ -189,17 +188,17 @@ def FieldInfo.format (ctx : ContextInfo) (info : FieldInfo) : IO Format := do ctx.runMetaM info.lctx do return f!"{info.fieldName} : {← Meta.ppExpr (← Meta.inferType info.val)} := {← Meta.ppExpr info.val} @ {formatStxRange ctx info.stx}" -def ContextInfo.ppGoals (ctx : ContextInfo) (goals : List MVarId) (inConv : Bool) : IO Format := +def ContextInfo.ppGoals (ctx : ContextInfo) (goals : List MVarId) : IO Format := if goals.isEmpty then return "no goals" else - ctx.runMetaM {} (return Std.Format.prefixJoin "\n" (← goals.mapM (Meta.ppGoal . inConv))) + ctx.runMetaM {} (return Std.Format.prefixJoin "\n" (← goals.mapM (Meta.ppGoal .))) def TacticInfo.format (ctx : ContextInfo) (info : TacticInfo) : IO Format := do let ctxB := { ctx with mctx := info.mctxBefore } let ctxA := { ctx with mctx := info.mctxAfter } - let goalsBefore ← ctxB.ppGoals info.goalsBefore info.inConv - let goalsAfter ← ctxA.ppGoals info.goalsAfter info.inConv + let goalsBefore ← ctxB.ppGoals info.goalsBefore + let goalsAfter ← ctxA.ppGoals info.goalsAfter return f!"Tactic @ {formatElabInfo ctx info.toElabInfo}\n{info.stx}\nbefore {goalsBefore}\nafter {goalsAfter}" def MacroExpansionInfo.format (ctx : ContextInfo) (info : MacroExpansionInfo) : IO Format := do diff --git a/stage0/src/Lean/Elab/Quotation.lean b/stage0/src/Lean/Elab/Quotation.lean index 42d69011ae..34716cc4dd 100644 --- a/stage0/src/Lean/Elab/Quotation.lean +++ b/stage0/src/Lean/Elab/Quotation.lean @@ -195,7 +195,6 @@ elab_stx_quot Parser.Term.attr.quot elab_stx_quot Parser.Term.prio.quot elab_stx_quot Parser.Term.doElem.quot elab_stx_quot Parser.Term.dynamicQuot -elab_stx_quot Parser.Term.conv.quot /- match -/ diff --git a/stage0/src/Lean/Elab/Tactic/Basic.lean b/stage0/src/Lean/Elab/Tactic/Basic.lean index 4d51c255e4..c75a16989b 100644 --- a/stage0/src/Lean/Elab/Tactic/Basic.lean +++ b/stage0/src/Lean/Elab/Tactic/Basic.lean @@ -39,8 +39,6 @@ structure Context where main : MVarId -- declaration name of the executing elaborator, used by `mkTacticInfo` to persist it in the info tree elaborator : Name - -- `true` when in `conv` tactic mode. This flag is only used to pretty print the goals showing just the left-hand-side - inConv : Bool := false structure State where goals : List MVarId @@ -121,7 +119,6 @@ def mkTacticInfo (mctxBefore : MetavarContext) (goalsBefore : List MVarId) (stx stx := stx mctxAfter := (← getMCtx) goalsAfter := (← getUnsolvedGoals) - inConv := (← read).inConv } def mkInitialTacticInfo (stx : Syntax) : TacticM (TacticM Info) := do diff --git a/stage0/src/Lean/Elab/Tactic/Conv/Basic.lean b/stage0/src/Lean/Elab/Tactic/Conv/Basic.lean index 97007c5125..7a78696bc9 100644 --- a/stage0/src/Lean/Elab/Tactic/Conv/Basic.lean +++ b/stage0/src/Lean/Elab/Tactic/Conv/Basic.lean @@ -11,10 +11,10 @@ import Lean.Elab.Tactic.BuiltinTactic namespace Lean.Elab.Tactic.Conv open Meta -def mkConvGoalFor (lhs : Expr) : TacticM (Expr × Expr) := do +def mkConvGoalFor (lhs : Expr) : MetaM (Expr × Expr) := do let lhsType ← inferType lhs let rhs ← mkFreshExprMVar lhsType - let targetNew ← mkEq lhs rhs + let targetNew := mkLHSGoal (← mkEq lhs rhs) let newGoal ← mkFreshExprSyntheticOpaqueMVar targetNew return (rhs, newGoal) @@ -23,7 +23,7 @@ def convert (lhs : Expr) (conv : TacticM Unit) : TacticM (Expr × Expr) := do let savedGoals ← getGoals try setGoals [newGoal.mvarId!] - withReader (fun ctx => { ctx with inConv := true }) conv + conv pruneSolvedGoals for mvarId in (← getGoals) do try @@ -35,11 +35,14 @@ def convert (lhs : Expr) (conv : TacticM Unit) : TacticM (Expr × Expr) := do setGoals savedGoals return (← instantiateMVars rhs, ← instantiateMVars newGoal) -def getLhsRhs : TacticM (Expr × Expr) := - withMainContext do - let some (_, lhs, rhs) ← matchEq? (← getMainTarget) | throwError "invalid 'conv' goal" +def getLhsRhsCore (mvarId : MVarId) : MetaM (Expr × Expr) := + withMVarContext mvarId do + let some (_, lhs, rhs) ← matchEq? (← getMVarType mvarId) | throwError "invalid 'conv' goal" return (lhs, rhs) +def getLhsRhs : TacticM (Expr × Expr) := do + getLhsRhsCore (← getMainGoal) + def getLhs : TacticM Expr := return (← getLhsRhs).1 @@ -49,7 +52,7 @@ def getRhs : TacticM Expr := /-- `⊢ lhs = rhs` ~~> `⊢ lhs' = rhs` using `h : lhs = lhs'`. -/ def updateLhs (lhs' : Expr) (h : Expr) : TacticM Unit := do let rhs ← getRhs - let newGoal ← mkFreshExprSyntheticOpaqueMVar (← mkEq lhs' rhs) + let newGoal ← mkFreshExprSyntheticOpaqueMVar (mkLHSGoal (← mkEq lhs' rhs)) assignExprMVar (← getMainGoal) (← mkEqTrans h newGoal) replaceMainGoal [newGoal.mvarId!] @@ -57,7 +60,7 @@ def updateLhs (lhs' : Expr) (h : Expr) : TacticM Unit := do def changeLhs (lhs' : Expr) : TacticM Unit := do let rhs ← getRhs liftMetaTactic1 fun mvarId => do - replaceTargetDefEq mvarId (← mkEq lhs' rhs) + replaceTargetDefEq mvarId (mkLHSGoal (← mkEq lhs' rhs)) @[builtinTactic Lean.Parser.Tactic.Conv.skip] def evalSkip : Tactic := fun stx => do liftMetaTactic1 fun mvarId => do diff --git a/stage0/src/Lean/Elab/Tactic/Conv/Congr.lean b/stage0/src/Lean/Elab/Tactic/Conv/Congr.lean index 4a4db66f0f..d6185f8a67 100644 --- a/stage0/src/Lean/Elab/Tactic/Conv/Congr.lean +++ b/stage0/src/Lean/Elab/Tactic/Conv/Congr.lean @@ -9,9 +9,9 @@ import Lean.Elab.Tactic.Conv.Basic namespace Lean.Elab.Tactic.Conv open Meta -@[builtinTactic Lean.Parser.Tactic.Conv.congr] def evalCongr : Tactic := fun stx => do - withMainContext do - let (lhs, rhs) ← getLhsRhs +def congr (mvarId : MVarId) : MetaM (List MVarId) := + withMVarContext mvarId do + let (lhs, rhs) ← getLhsRhsCore mvarId unless lhs.isApp do throwError "invalid 'congr' conv tactic, application expected{indentD lhs}" lhs.withApp fun f args => do @@ -35,7 +35,21 @@ open Meta i := i + 1 let proof ← r.getProof assignExprMVar rhs.mvarId! r.expr - assignExprMVar (← getMainGoal) proof - replaceMainGoal newGoals.toList + assignExprMVar mvarId proof + return newGoals.toList + + +@[builtinTactic Lean.Parser.Tactic.Conv.congr] def evalCongr : Tactic := fun stx => do + replaceMainGoal (← congr (← getMainGoal)) + +@[builtinTactic Lean.Parser.Tactic.Conv.lhs] def evalLhs : Tactic := fun stx => do + let [mvarId₁, mvarId₂] ← congr (← getMainGoal) | throwError "invalid 'lhs' conv tactic, binary application expected" + applyRefl mvarId₂ + replaceMainGoal [mvarId₁] + +@[builtinTactic Lean.Parser.Tactic.Conv.rhs] def evalRhs : Tactic := fun stx => do + let [mvarId₁, mvarId₂] ← congr (← getMainGoal) | throwError "invalid 'rhs' conv tactic, binary application expected" + applyRefl mvarId₁ + replaceMainGoal [mvarId₂] end Lean.Elab.Tactic.Conv diff --git a/stage0/src/Lean/Expr.lean b/stage0/src/Lean/Expr.lean index 182180f7d7..f673f9d319 100644 --- a/stage0/src/Lean/Expr.lean +++ b/stage0/src/Lean/Expr.lean @@ -1038,6 +1038,22 @@ def annotation? (kind : Name) (e : Expr) : Option Expr := | Expr.mdata d b _ => if d.size == 1 && d.getBool kind false then some b else none | _ => none +/-- + Annotate `e` with the LHS annotation. The delaborator displays + expressions of the form `lhs = rhs` as `lhs` when they have this annotation. +-/ +def mkLHSGoal (e : Expr) : Expr := + mkAnnotation `_lhsGoal e + +def isLHSGoal? (e : Expr) : Option Expr := + match annotation? `_lhsGoal e with + | none => none + | some e => + if e.isAppOfArity `Eq 3 then + some e.appFn!.appArg! + else + none + def mkFreshFVarId {m : Type → Type} [Monad m] [MonadNameGenerator m] : m FVarId := mkFreshId diff --git a/stage0/src/Lean/Meta/PPGoal.lean b/stage0/src/Lean/Meta/PPGoal.lean index e4862f13d4..0a1276c700 100644 --- a/stage0/src/Lean/Meta/PPGoal.lean +++ b/stage0/src/Lean/Meta/PPGoal.lean @@ -144,20 +144,7 @@ end ToHide private def addLine (fmt : Format) : Format := if fmt.isNil then fmt else fmt ++ Format.line -/-- - Return the target type for the given goal. - If `inConv == true` and target type is an equality, then return the left-hand-side only. -/ -def getGoalTarget (mvarDecl : MetavarDecl) (inConv : Bool) : MetaM Expr := do - let target ← instantiateMVars mvarDecl.type - if inConv then - if let some (_, lhs, _) ← matchEq? target then - instantiateMVars lhs - else - return target - else - return target - -def ppGoal (mvarId : MVarId) (inConv := false) : MetaM Format := do +def ppGoal (mvarId : MVarId) : MetaM Format := do match (← getMCtx).findDecl? mvarId with | none => pure "unknown goal" | some mvarDecl => do @@ -214,7 +201,7 @@ def ppGoal (mvarId : MVarId) (inConv := false) : MetaM Format := do ppVars varNames prevType? fmt localDecl let fmt ← pushPending varNames type? fmt let fmt := addLine fmt - let typeFmt ← ppExpr (← getGoalTarget mvarDecl inConv) + let typeFmt ← ppExpr (← instantiateMVars mvarDecl.type) let fmt := fmt ++ "⊢ " ++ Format.nest indent typeFmt match mvarDecl.userName with | Name.anonymous => pure fmt diff --git a/stage0/src/Lean/Parser/Term.lean b/stage0/src/Lean/Parser/Term.lean index 91b0ac6c55..636afb3b07 100644 --- a/stage0/src/Lean/Parser/Term.lean +++ b/stage0/src/Lean/Parser/Term.lean @@ -245,7 +245,6 @@ def bracketedBinderF := bracketedBinder -- no default arg @[builtinTermParser] def bracketedBinder.quot : Parser := leading_parser "`(bracketedBinder|" >> incQuotDepth (evalInsideQuot ``bracketedBinderF bracketedBinder) >> ")" @[builtinTermParser] def matchDiscr.quot : Parser := leading_parser "`(matchDiscr|" >> incQuotDepth (evalInsideQuot ``matchDiscr matchDiscr) >> ")" @[builtinTermParser] def attr.quot : Parser := leading_parser "`(attr|" >> incQuotDepth attrParser >> ")" -@[builtinTermParser] def conv.quot : Parser := leading_parser "`(conv|" >> incQuotDepth convParser >> ")" @[builtinTermParser] def panic := leading_parser:leadPrec "panic! " >> termParser @[builtinTermParser] def unreachable := leading_parser:leadPrec "unreachable!" diff --git a/stage0/src/Lean/PrettyPrinter/Delaborator/Builtins.lean b/stage0/src/Lean/PrettyPrinter/Delaborator/Builtins.lean index 11539b2e3d..ad442a1512 100644 --- a/stage0/src/Lean/PrettyPrinter/Delaborator/Builtins.lean +++ b/stage0/src/Lean/PrettyPrinter/Delaborator/Builtins.lean @@ -446,6 +446,8 @@ def delabMData : Delab := do `(.($s)) -- We only include the inaccessible annotation when we are delaborating patterns else return s + else if let some _ := isLHSGoal? (← getExpr) then + withMDataExpr <| withAppFn <| withAppArg <| delab else withMDataOptions delab diff --git a/stage0/src/Lean/Server/FileWorker/RequestHandling.lean b/stage0/src/Lean/Server/FileWorker/RequestHandling.lean index 1aea04063e..1a044207f8 100644 --- a/stage0/src/Lean/Server/FileWorker/RequestHandling.lean +++ b/stage0/src/Lean/Server/FileWorker/RequestHandling.lean @@ -148,7 +148,7 @@ def getInteractiveGoals (p : Lsp.PlainGoalParams) : RequestM (RequestTask (Optio let goals ← List.join <$> rs.mapM fun { ctxInfo := ci, tacticInfo := ti, useAfter := useAfter } => let ci := if useAfter then { ci with mctx := ti.mctxAfter } else { ci with mctx := ti.mctxBefore } let goals := if useAfter then ti.goalsAfter else ti.goalsBefore - ci.runMetaM {} <| goals.mapM (fun g => Meta.withPPInaccessibleNames (Widget.goalToInteractive g ti.inConv)) + ci.runMetaM {} <| goals.mapM (fun g => Meta.withPPInaccessibleNames (Widget.goalToInteractive g)) return some { goals := goals.toArray } return none @@ -182,7 +182,7 @@ partial def getInteractiveTermGoal (p : Lsp.PlainTermGoalParams) -- for binders, hide the last hypothesis (the binder itself) let lctx' := if ti.isBinder then i.lctx.pop else i.lctx let goal ← ci.runMetaM lctx' do - Meta.withPPInaccessibleNames <| Widget.goalToInteractive (← Meta.mkFreshExprMVar ty).mvarId! (inConv := false) + Meta.withPPInaccessibleNames <| Widget.goalToInteractive (← Meta.mkFreshExprMVar ty).mvarId! let range := if let some r := i.range? then r.toLspRange text else ⟨p.position, p.position⟩ return some { goal with range } return none diff --git a/stage0/src/Lean/Widget/InteractiveGoal.lean b/stage0/src/Lean/Widget/InteractiveGoal.lean index 99ec1b1e4d..97947156dc 100644 --- a/stage0/src/Lean/Widget/InteractiveGoal.lean +++ b/stage0/src/Lean/Widget/InteractiveGoal.lean @@ -66,7 +66,7 @@ structure InteractiveGoals where open Meta in /-- A variant of `Meta.ppGoal` which preserves subexpression information for interactivity. -/ -def goalToInteractive (mvarId : MVarId) (inConv : Bool) : MetaM InteractiveGoal := do +def goalToInteractive (mvarId : MVarId) : MetaM InteractiveGoal := do let some mvarDecl ← (← getMCtx).findDecl? mvarId | throwError "unknown goal {mvarId}" let ppAuxDecls := pp.auxDecls.get (← getOptions) @@ -118,7 +118,7 @@ def goalToInteractive (mvarId : MVarId) (inConv : Bool) : MetaM InteractiveGoal else ppVars varNames prevType? hyps localDecl let hyps ← pushPending varNames type? hyps - let goalTp ← getGoalTarget mvarDecl inConv + let goalTp ← instantiateMVars mvarDecl.type let goalFmt ← exprToInteractive goalTp let userName? := match mvarDecl.userName with | Name.anonymous => none diff --git a/stage0/stdlib/Init/Conv.c b/stage0/stdlib/Init/Conv.c index 461fd337f2..cc4b8abfc5 100644 --- a/stage0/stdlib/Init/Conv.c +++ b/stage0/stdlib/Init/Conv.c @@ -13,65 +13,113 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__15; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__19; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__13; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__18; +static lean_object* l_Lean_Parser_Tactic_Conv_convRw_____closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_convArgs___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq___closed__6; lean_object* l_Lean_Parser_Tactic_Conv_convSeq; +static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__5; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__5; lean_object* l_Lean_Syntax_getHeadInfo_x3f(lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__22; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__7; +static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__24; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__6; lean_object* lean_name_mk_string(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__16; +static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__8; +static lean_object* l_Lean_Parser_Tactic_Conv_trace___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_trace___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__18; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__15; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__9; +static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__9; +static lean_object* l_Lean_Parser_Tactic_Conv_funext___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__10; lean_object* l_Lean_Parser_Tactic_Conv_nestedConv; static lean_object* l_Lean_Parser_Tactic_Conv_lhs___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_congr___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_lhs___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__32; +static lean_object* l_Lean_Parser_Tactic_Conv_funext___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__11; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__6; -static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__7; +static lean_object* l_Lean_Parser_Tactic_Conv_trace___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_funext___closed__8; +static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__6; lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_Conv_convArgs___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_funext___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_whnf___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__23; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__14; +static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__19; +static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_congr___closed__2; -static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_funext___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__35; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__9; +lean_object* l_Lean_Parser_Tactic_Conv_simp; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__10; +static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_convRw_____closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__12; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__24; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__12; static lean_object* l_Lean_Parser_Tactic_Conv_lhs___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_rhs___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__26; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__20; +lean_object* l_Lean_Parser_Tactic_Conv_convRight; +static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__17; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__21; +static lean_object* l_Lean_Parser_Tactic_Conv_convRw_____closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__22; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__31; lean_object* l_Lean_Parser_Tactic_Conv_paren; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__2; lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed; +extern lean_object* l_Lean_Parser_Tactic_simpStar; +static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__4; @@ -80,31 +128,51 @@ lean_object* l_Lean_Parser_Tactic_Conv_whnf; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__21; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_trace___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__23; +lean_object* l_Lean_Parser_Tactic_Conv_rewrite; +extern lean_object* l_Lean_Parser_Tactic_rwRuleSeq; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__13; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__11; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__16; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_convRw_____closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__23; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__34; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__13; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_skip___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_lhs___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__19; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__27; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__3; -static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__11; +lean_object* l_Lean_Parser_Tactic_Conv_convArgs; lean_object* l_Lean_Parser_Tactic_Conv_conv_quot; static lean_object* l_Lean_Parser_Tactic_Conv_skip___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__22; static lean_object* l_Lean_Parser_Tactic_Conv_whnf___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_rhs___closed__1; +lean_object* l_Lean_Parser_Tactic_Conv_convRw__; lean_object* l_Lean_Parser_Tactic_Conv_conv; +static lean_object* l_Lean_Parser_Tactic_Conv_convRight___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_skip___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__7; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__17; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__7; lean_object* l_Lean_Parser_Tactic_Conv_congr; +extern lean_object* l_Lean_Parser_Tactic_simpLemma; +lean_object* l_Lean_Parser_Tactic_Conv_convLeft; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__16; lean_object* l_Lean_Parser_Tactic_Conv_skip; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__16; @@ -112,59 +180,107 @@ static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__12; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__26; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__17; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__18; lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e__; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq___closed__5; +lean_object* l_Lean_Parser_Tactic_Conv_change; +static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_convArgs___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_convLeft___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__2; -static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__14; +static lean_object* l_Lean_Parser_Tactic_Conv_convArgs___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__24; +static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__30; +static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__28; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_congr___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__15; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__11; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_convRw_____closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__21; +static lean_object* l_Lean_Parser_Tactic_Conv_convLeft___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__12; -static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__7; +static lean_object* l_Lean_Parser_Tactic_Conv_convLeft___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__23; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__8; +static lean_object* l_Lean_Parser_Tactic_Conv_funext___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_rhs___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_funext___closed__5; lean_object* l_Lean_Parser_Tactic_Conv_lhs; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_convLeft___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_skip___closed__3; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__20; +static lean_object* l_Lean_Parser_Tactic_Conv_convRight___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__7; +lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic; +extern lean_object* l_Lean_Parser_Tactic_simpErase; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__25; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__17; +static lean_object* l_Lean_Parser_Tactic_Conv_convArgs___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_convLeft___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_convRight___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__12; static lean_object* l_Lean_Parser_Tactic_Conv_whnf___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__21; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7; +static lean_object* l_Lean_Parser_Tactic_Conv_funext___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_congr___closed__3; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__8; lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__25; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__29; static lean_object* l_Lean_Parser_Tactic_Conv_rhs___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__11; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__22; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__33; +static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__2; lean_object* l_Lean_Parser_Tactic_Conv_rhs; static lean_object* l_Lean_Parser_Tactic_Conv_whnf___closed__3; -static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__10; +static lean_object* l_Lean_Parser_Tactic_Conv_convRw_____closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__20; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__9; +static lean_object* l_Lean_Parser_Tactic_Conv_convRight___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__20; -lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_643_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_570_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_486_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_716_(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__10; static lean_object* l_Lean_Parser_Tactic_Conv_nestedConv___closed__1; -static lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__19; +static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__8; +lean_object* l_Lean_Parser_Tactic_Conv_funext; +lean_object* l_Lean_Parser_Tactic_Conv_arg; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_skip___closed__5; +lean_object* l_Lean_Parser_Tactic_Conv_trace; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_convRight___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__14; static lean_object* l_Lean_Parser_Tactic_Conv_nestedConv___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__18; @@ -892,795 +1008,6 @@ x_1 = l_Lean_Parser_Tactic_Conv_convSeq___closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_skip___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("skip"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_skip___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_skip___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_skip___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("skip "); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_skip___closed__4() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_skip___closed__3; -x_2 = 0; -x_3 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_skip___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_skip___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_Conv_skip___closed__4; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_skip() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_skip___closed__5; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_lhs___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("lhs"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_lhs___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_lhs___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_lhs___closed__3() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_lhs___closed__1; -x_2 = 0; -x_3 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_lhs___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_lhs___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_Conv_lhs___closed__3; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_lhs() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_lhs___closed__4; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_rhs___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("rhs"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_rhs___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_rhs___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_rhs___closed__3() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_rhs___closed__1; -x_2 = 0; -x_3 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_rhs___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_rhs___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_Conv_rhs___closed__3; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_rhs() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_rhs___closed__4; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_whnf___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("whnf"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_whnf___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_whnf___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_whnf___closed__3() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_whnf___closed__1; -x_2 = 0; -x_3 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_whnf___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_whnf___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_Conv_whnf___closed__3; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_whnf() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_whnf___closed__4; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_congr___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("congr"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_congr___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_congr___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_congr___closed__3() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_congr___closed__1; -x_2 = 0; -x_3 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_congr___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_congr___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_Conv_congr___closed__3; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_congr() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_congr___closed__4; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedConv___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("nestedConv"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedConv___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedConv___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_Conv_nestedConv___closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lean_Parser_Tactic_Conv_convSeqBracketed; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedConv() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__3; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("paren"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_paren___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("("); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__4() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_paren___closed__3; -x_2 = 0; -x_3 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; -x_2 = l_Lean_Parser_Tactic_Conv_paren___closed__4; -x_3 = l_Lean_Parser_Tactic_Conv_convSeq; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; -x_2 = l_Lean_Parser_Tactic_Conv_paren___closed__5; -x_3 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__20; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_paren___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_Conv_paren___closed__6; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_paren___closed__7; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("conv·._"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("·"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("."); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__5; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__4; -x_3 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__6; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; -x_2 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__7; -x_3 = l_Lean_Parser_Tactic_Conv_convSeq; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__2; -x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__8; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e__() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__9; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("null"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(3u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__2; -x_2 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__4; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__2; -lean_inc(x_1); -x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_2); -lean_dec(x_1); -x_6 = lean_box(1); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_3); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = lean_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_14 = lean_ctor_get(x_12, 0); -x_15 = l_Lean_Syntax_getHeadInfo_x3f(x_9); -lean_dec(x_9); -x_16 = l_Lean_Parser_Tactic_Conv_paren___closed__3; -lean_inc(x_14); -x_17 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__19; -lean_inc(x_14); -x_19 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_19, 0, x_14); -lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__3; -x_21 = lean_array_push(x_20, x_17); -x_22 = lean_array_push(x_21, x_11); -x_23 = lean_array_push(x_22, x_19); -x_24 = l_Lean_Parser_Tactic_Conv_paren___closed__2; -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__6; -x_27 = lean_array_push(x_26, x_25); -x_28 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__5; -x_29 = lean_array_push(x_27, x_28); -x_30 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__12; -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__7; -x_33 = lean_array_push(x_32, x_31); -x_34 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__2; -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__9; -lean_inc(x_14); -x_37 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_37, 0, x_14); -lean_ctor_set(x_37, 1, x_36); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_38 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; -x_39 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_39, 0, x_14); -lean_ctor_set(x_39, 1, x_38); -x_40 = lean_array_push(x_20, x_39); -x_41 = lean_array_push(x_40, x_35); -x_42 = lean_array_push(x_41, x_37); -x_43 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -x_45 = lean_array_push(x_32, x_44); -x_46 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -lean_ctor_set(x_12, 0, x_47); -return x_12; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -lean_dec(x_14); -x_48 = lean_ctor_get(x_15, 0); -lean_inc(x_48); -lean_dec(x_15); -x_49 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; -x_50 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_array_push(x_20, x_50); -x_52 = lean_array_push(x_51, x_35); -x_53 = lean_array_push(x_52, x_37); -x_54 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = lean_array_push(x_32, x_55); -x_57 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_12, 0, x_58); -return x_12; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_59 = lean_ctor_get(x_12, 0); -x_60 = lean_ctor_get(x_12, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_12); -x_61 = l_Lean_Syntax_getHeadInfo_x3f(x_9); -lean_dec(x_9); -x_62 = l_Lean_Parser_Tactic_Conv_paren___closed__3; -lean_inc(x_59); -x_63 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_63, 0, x_59); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__19; -lean_inc(x_59); -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 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__3; -x_67 = lean_array_push(x_66, x_63); -x_68 = lean_array_push(x_67, x_11); -x_69 = lean_array_push(x_68, x_65); -x_70 = l_Lean_Parser_Tactic_Conv_paren___closed__2; -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -x_72 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__6; -x_73 = lean_array_push(x_72, x_71); -x_74 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__5; -x_75 = lean_array_push(x_73, x_74); -x_76 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__12; -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__7; -x_79 = lean_array_push(x_78, x_77); -x_80 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__2; -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -x_82 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__9; -lean_inc(x_59); -x_83 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_83, 0, x_59); -lean_ctor_set(x_83, 1, x_82); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_84 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; -x_85 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_85, 0, x_59); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_66, x_85); -x_87 = lean_array_push(x_86, x_81); -x_88 = lean_array_push(x_87, x_83); -x_89 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -x_91 = lean_array_push(x_78, x_90); -x_92 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_91); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_60); -return x_94; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_59); -x_95 = lean_ctor_get(x_61, 0); -lean_inc(x_95); -lean_dec(x_61); -x_96 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; -x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -x_98 = lean_array_push(x_66, x_97); -x_99 = lean_array_push(x_98, x_81); -x_100 = lean_array_push(x_99, x_83); -x_101 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_103 = lean_array_push(x_78, x_102); -x_104 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_60); -return x_106; -} -} -} -} -} static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__1() { _start: { @@ -1953,6 +1280,2208 @@ x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__24; return x_1; } } +static lean_object* _init_l_Lean_Parser_Tactic_Conv_skip___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("skip"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_skip___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_skip___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_skip___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("skip "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_skip___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_skip___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_skip___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_skip___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_skip___closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_skip() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_skip___closed__5; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_lhs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("lhs"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_lhs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_lhs___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_lhs___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_lhs___closed__1; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_lhs___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_lhs___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_lhs___closed__3; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_lhs() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_lhs___closed__4; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_rhs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("rhs"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_rhs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_rhs___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_rhs___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_rhs___closed__1; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_rhs___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_rhs___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_rhs___closed__3; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_rhs() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_rhs___closed__4; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_whnf___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("whnf"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_whnf___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_whnf___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_whnf___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_whnf___closed__1; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_whnf___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_whnf___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_whnf___closed__3; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_whnf() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_whnf___closed__4; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_congr___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("congr"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_congr___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_congr___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_congr___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_congr___closed__1; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_congr___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_congr___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_congr___closed__3; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_congr() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_congr___closed__4; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("arg"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_arg___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("arg "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("num"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_Conv_arg___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__6; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_arg___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_arg___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_arg___closed__8; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__9; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_trace___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("trace"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_trace___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_trace___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_trace___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_trace___closed__1; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_trace___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_trace___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_trace___closed__3; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_trace() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_trace___closed__4; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_funext___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("funext"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_funext___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_funext___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_funext___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_funext___closed__1; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_funext___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("many"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_funext___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_Conv_funext___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_funext___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_funext___closed__5; +x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_funext___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_funext___closed__3; +x_3 = l_Lean_Parser_Tactic_Conv_funext___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_funext___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_funext___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_funext___closed__7; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_funext() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_funext___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_change___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("change"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_change___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_change___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_change___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("change "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_change___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_change___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_change___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_change___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__16; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_change___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_change___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_change___closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_change() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_change___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("rewrite"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_rewrite___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("rewrite "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_rewrite___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_rewrite___closed__4; +x_3 = l_Lean_Parser_Tactic_rwRuleSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_rewrite___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_rewrite___closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_rewrite() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_rewrite___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("simp"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("simp "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("("); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__5; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("config"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__8() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__7; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__6; +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__8; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" := "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__10; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__9; +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__11; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__12; +x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__16; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__13; +x_3 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__20; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__18; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__14; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__15; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("only "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__18() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__17; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__18; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__18; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__16; +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__19; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("["); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__21; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq___closed__4; +x_2 = l_Lean_Parser_Tactic_simpErase; +x_3 = l_Lean_Parser_Tactic_simpLemma; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq___closed__4; +x_2 = l_Lean_Parser_Tactic_simpStar; +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__23; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__25() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(", "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__25; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__27() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(","); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__24; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__27; +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__26; +x_4 = 0; +x_5 = lean_alloc_ctor(10, 3, 1); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__22; +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__28; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("]"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__30; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__29; +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__31; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__18; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__32; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__20; +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__33; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__34; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__35; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("nestedTactic"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tactic "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tacticSeq"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__6; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__8; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTactic() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__9; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedConv___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("nestedConv"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedConv___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedConv___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_Conv_nestedConv___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_convSeqBracketed; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedConv() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__3; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("paren"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_paren___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__5; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_paren___closed__3; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_paren___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__20; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_paren___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_paren___closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_paren() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_paren___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("conv·._"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("·"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("."); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__5; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__7; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__8; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__9; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__2; +x_2 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__4; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_Syntax_getHeadInfo_x3f(x_9); +lean_dec(x_9); +x_16 = l_Lean_Parser_Tactic_Conv_simp___closed__5; +lean_inc(x_14); +x_17 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__19; +lean_inc(x_14); +x_19 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_19, 0, x_14); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__3; +x_21 = lean_array_push(x_20, x_17); +x_22 = lean_array_push(x_21, x_11); +x_23 = lean_array_push(x_22, x_19); +x_24 = l_Lean_Parser_Tactic_Conv_paren___closed__2; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__6; +x_27 = lean_array_push(x_26, x_25); +x_28 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__5; +x_29 = lean_array_push(x_27, x_28); +x_30 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__12; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7; +x_33 = lean_array_push(x_32, x_31); +x_34 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__2; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__9; +lean_inc(x_14); +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_14); +lean_ctor_set(x_37, 1, x_36); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_38 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_14); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_array_push(x_20, x_39); +x_41 = lean_array_push(x_40, x_35); +x_42 = lean_array_push(x_41, x_37); +x_43 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = lean_array_push(x_32, x_44); +x_46 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +lean_ctor_set(x_12, 0, x_47); +return x_12; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_14); +x_48 = lean_ctor_get(x_15, 0); +lean_inc(x_48); +lean_dec(x_15); +x_49 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_array_push(x_20, x_50); +x_52 = lean_array_push(x_51, x_35); +x_53 = lean_array_push(x_52, x_37); +x_54 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = lean_array_push(x_32, x_55); +x_57 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +lean_ctor_set(x_12, 0, x_58); +return x_12; +} +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_59 = lean_ctor_get(x_12, 0); +x_60 = lean_ctor_get(x_12, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_12); +x_61 = l_Lean_Syntax_getHeadInfo_x3f(x_9); +lean_dec(x_9); +x_62 = l_Lean_Parser_Tactic_Conv_simp___closed__5; +lean_inc(x_59); +x_63 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_63, 0, x_59); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__19; +lean_inc(x_59); +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 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__3; +x_67 = lean_array_push(x_66, x_63); +x_68 = lean_array_push(x_67, x_11); +x_69 = lean_array_push(x_68, x_65); +x_70 = l_Lean_Parser_Tactic_Conv_paren___closed__2; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +x_72 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__6; +x_73 = lean_array_push(x_72, x_71); +x_74 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__5; +x_75 = lean_array_push(x_73, x_74); +x_76 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__12; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7; +x_79 = lean_array_push(x_78, x_77); +x_80 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__2; +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_79); +x_82 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__9; +lean_inc(x_59); +x_83 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_83, 0, x_59); +lean_ctor_set(x_83, 1, x_82); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_84 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_59); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_array_push(x_66, x_85); +x_87 = lean_array_push(x_86, x_81); +x_88 = lean_array_push(x_87, x_83); +x_89 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +x_91 = lean_array_push(x_78, x_90); +x_92 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_91); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_60); +return x_94; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_dec(x_59); +x_95 = lean_ctor_get(x_61, 0); +lean_inc(x_95); +lean_dec(x_61); +x_96 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; +x_97 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +x_98 = lean_array_push(x_66, x_97); +x_99 = lean_array_push(x_98, x_81); +x_100 = lean_array_push(x_99, x_83); +x_101 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_103 = lean_array_push(x_78, x_102); +x_104 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_103); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_60); +return x_106; +} +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRw_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("convRw_"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRw_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_convRw_____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRw_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("rw "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRw_____closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convRw_____closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRw_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_convRw_____closed__4; +x_3 = l_Lean_Parser_Tactic_rwRuleSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRw_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convRw_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_convRw_____closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRw__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_convRw_____closed__6; +return x_1; +} +} +lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_486_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_convRw_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_1); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_12 = lean_ctor_get(x_10, 0); +x_13 = l_Lean_Parser_Tactic_Conv_rewrite___closed__1; +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__6; +x_16 = lean_array_push(x_15, x_14); +x_17 = lean_array_push(x_16, x_9); +x_18 = l_Lean_Parser_Tactic_Conv_rewrite___closed__2; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_10, 0, x_19); +return x_10; +} +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; +x_20 = lean_ctor_get(x_10, 0); +x_21 = lean_ctor_get(x_10, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_10); +x_22 = l_Lean_Parser_Tactic_Conv_rewrite___closed__1; +x_23 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__6; +x_25 = lean_array_push(x_24, x_23); +x_26 = lean_array_push(x_25, x_9); +x_27 = l_Lean_Parser_Tactic_Conv_rewrite___closed__2; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_21); +return x_29; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convArgs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("convArgs"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convArgs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_convArgs___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convArgs___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("args"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convArgs___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convArgs___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convArgs___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convArgs___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_convArgs___closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convArgs() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_convArgs___closed__5; +return x_1; +} +} +lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_570_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_convArgs___closed__2; +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_Lean_Parser_Tactic_Conv_congr___closed__1; +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7; +x_14 = lean_array_push(x_13, x_12); +x_15 = l_Lean_Parser_Tactic_Conv_congr___closed__2; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_8, 0, x_16); +return x_8; +} +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_8, 0); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_8); +x_19 = l_Lean_Parser_Tactic_Conv_congr___closed__1; +x_20 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7; +x_22 = lean_array_push(x_21, x_20); +x_23 = l_Lean_Parser_Tactic_Conv_congr___closed__2; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_18); +return x_25; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convLeft___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("convLeft"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convLeft___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_convLeft___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convLeft___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("left"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convLeft___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convLeft___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convLeft___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convLeft___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_convLeft___closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convLeft() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_convLeft___closed__5; +return x_1; +} +} +lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_643_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_convLeft___closed__2; +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_Lean_Parser_Tactic_Conv_lhs___closed__1; +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7; +x_14 = lean_array_push(x_13, x_12); +x_15 = l_Lean_Parser_Tactic_Conv_lhs___closed__2; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_8, 0, x_16); +return x_8; +} +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_8, 0); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_8); +x_19 = l_Lean_Parser_Tactic_Conv_lhs___closed__1; +x_20 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7; +x_22 = lean_array_push(x_21, x_20); +x_23 = l_Lean_Parser_Tactic_Conv_lhs___closed__2; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_18); +return x_25; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRight___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("convRight"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRight___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_convRight___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRight___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("right"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRight___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convRight___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRight___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convRight___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_convRight___closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRight() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_convRight___closed__5; +return x_1; +} +} +lean_object* l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_716_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_convRight___closed__2; +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(x_2, x_3); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_Lean_Parser_Tactic_Conv_rhs___closed__1; +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7; +x_14 = lean_array_push(x_13, x_12); +x_15 = l_Lean_Parser_Tactic_Conv_rhs___closed__2; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_8, 0, x_16); +return x_8; +} +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_8, 0); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_8); +x_19 = l_Lean_Parser_Tactic_Conv_rhs___closed__1; +x_20 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7; +x_22 = lean_array_push(x_21, x_20); +x_23 = l_Lean_Parser_Tactic_Conv_rhs___closed__2; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_18); +return x_25; +} +} +} +} lean_object* initialize_Init_Notation(lean_object*); static bool _G_initialized = false; lean_object* initialize_Init_Conv(lean_object* w) { @@ -2104,6 +3633,56 @@ l_Lean_Parser_Tactic_Conv_convSeq___closed__6 = _init_l_Lean_Parser_Tactic_Conv_ lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convSeq___closed__6); l_Lean_Parser_Tactic_Conv_convSeq = _init_l_Lean_Parser_Tactic_Conv_convSeq(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convSeq); +l_Lean_Parser_Tactic_Conv_conv___closed__1 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__1); +l_Lean_Parser_Tactic_Conv_conv___closed__2 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__2); +l_Lean_Parser_Tactic_Conv_conv___closed__3 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__3); +l_Lean_Parser_Tactic_Conv_conv___closed__4 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__4); +l_Lean_Parser_Tactic_Conv_conv___closed__5 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__5); +l_Lean_Parser_Tactic_Conv_conv___closed__6 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__6); +l_Lean_Parser_Tactic_Conv_conv___closed__7 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__7); +l_Lean_Parser_Tactic_Conv_conv___closed__8 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__8); +l_Lean_Parser_Tactic_Conv_conv___closed__9 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__9); +l_Lean_Parser_Tactic_Conv_conv___closed__10 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__10); +l_Lean_Parser_Tactic_Conv_conv___closed__11 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__11); +l_Lean_Parser_Tactic_Conv_conv___closed__12 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__12(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__12); +l_Lean_Parser_Tactic_Conv_conv___closed__13 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__13(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__13); +l_Lean_Parser_Tactic_Conv_conv___closed__14 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__14(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__14); +l_Lean_Parser_Tactic_Conv_conv___closed__15 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__15(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__15); +l_Lean_Parser_Tactic_Conv_conv___closed__16 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__16(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__16); +l_Lean_Parser_Tactic_Conv_conv___closed__17 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__17(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__17); +l_Lean_Parser_Tactic_Conv_conv___closed__18 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__18(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__18); +l_Lean_Parser_Tactic_Conv_conv___closed__19 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__19(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__19); +l_Lean_Parser_Tactic_Conv_conv___closed__20 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__20(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__20); +l_Lean_Parser_Tactic_Conv_conv___closed__21 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__21(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__21); +l_Lean_Parser_Tactic_Conv_conv___closed__22 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__22(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__22); +l_Lean_Parser_Tactic_Conv_conv___closed__23 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__23(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__23); +l_Lean_Parser_Tactic_Conv_conv___closed__24 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__24(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__24); +l_Lean_Parser_Tactic_Conv_conv = _init_l_Lean_Parser_Tactic_Conv_conv(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv); l_Lean_Parser_Tactic_Conv_skip___closed__1 = _init_l_Lean_Parser_Tactic_Conv_skip___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_skip___closed__1); l_Lean_Parser_Tactic_Conv_skip___closed__2 = _init_l_Lean_Parser_Tactic_Conv_skip___closed__2(); @@ -2156,6 +3735,174 @@ l_Lean_Parser_Tactic_Conv_congr___closed__4 = _init_l_Lean_Parser_Tactic_Conv_co lean_mark_persistent(l_Lean_Parser_Tactic_Conv_congr___closed__4); l_Lean_Parser_Tactic_Conv_congr = _init_l_Lean_Parser_Tactic_Conv_congr(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_congr); +l_Lean_Parser_Tactic_Conv_arg___closed__1 = _init_l_Lean_Parser_Tactic_Conv_arg___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__1); +l_Lean_Parser_Tactic_Conv_arg___closed__2 = _init_l_Lean_Parser_Tactic_Conv_arg___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__2); +l_Lean_Parser_Tactic_Conv_arg___closed__3 = _init_l_Lean_Parser_Tactic_Conv_arg___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__3); +l_Lean_Parser_Tactic_Conv_arg___closed__4 = _init_l_Lean_Parser_Tactic_Conv_arg___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__4); +l_Lean_Parser_Tactic_Conv_arg___closed__5 = _init_l_Lean_Parser_Tactic_Conv_arg___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__5); +l_Lean_Parser_Tactic_Conv_arg___closed__6 = _init_l_Lean_Parser_Tactic_Conv_arg___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__6); +l_Lean_Parser_Tactic_Conv_arg___closed__7 = _init_l_Lean_Parser_Tactic_Conv_arg___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__7); +l_Lean_Parser_Tactic_Conv_arg___closed__8 = _init_l_Lean_Parser_Tactic_Conv_arg___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__8); +l_Lean_Parser_Tactic_Conv_arg___closed__9 = _init_l_Lean_Parser_Tactic_Conv_arg___closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__9); +l_Lean_Parser_Tactic_Conv_arg = _init_l_Lean_Parser_Tactic_Conv_arg(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg); +l_Lean_Parser_Tactic_Conv_trace___closed__1 = _init_l_Lean_Parser_Tactic_Conv_trace___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_trace___closed__1); +l_Lean_Parser_Tactic_Conv_trace___closed__2 = _init_l_Lean_Parser_Tactic_Conv_trace___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_trace___closed__2); +l_Lean_Parser_Tactic_Conv_trace___closed__3 = _init_l_Lean_Parser_Tactic_Conv_trace___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_trace___closed__3); +l_Lean_Parser_Tactic_Conv_trace___closed__4 = _init_l_Lean_Parser_Tactic_Conv_trace___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_trace___closed__4); +l_Lean_Parser_Tactic_Conv_trace = _init_l_Lean_Parser_Tactic_Conv_trace(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_trace); +l_Lean_Parser_Tactic_Conv_funext___closed__1 = _init_l_Lean_Parser_Tactic_Conv_funext___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_funext___closed__1); +l_Lean_Parser_Tactic_Conv_funext___closed__2 = _init_l_Lean_Parser_Tactic_Conv_funext___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_funext___closed__2); +l_Lean_Parser_Tactic_Conv_funext___closed__3 = _init_l_Lean_Parser_Tactic_Conv_funext___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_funext___closed__3); +l_Lean_Parser_Tactic_Conv_funext___closed__4 = _init_l_Lean_Parser_Tactic_Conv_funext___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_funext___closed__4); +l_Lean_Parser_Tactic_Conv_funext___closed__5 = _init_l_Lean_Parser_Tactic_Conv_funext___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_funext___closed__5); +l_Lean_Parser_Tactic_Conv_funext___closed__6 = _init_l_Lean_Parser_Tactic_Conv_funext___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_funext___closed__6); +l_Lean_Parser_Tactic_Conv_funext___closed__7 = _init_l_Lean_Parser_Tactic_Conv_funext___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_funext___closed__7); +l_Lean_Parser_Tactic_Conv_funext___closed__8 = _init_l_Lean_Parser_Tactic_Conv_funext___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_funext___closed__8); +l_Lean_Parser_Tactic_Conv_funext = _init_l_Lean_Parser_Tactic_Conv_funext(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_funext); +l_Lean_Parser_Tactic_Conv_change___closed__1 = _init_l_Lean_Parser_Tactic_Conv_change___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change___closed__1); +l_Lean_Parser_Tactic_Conv_change___closed__2 = _init_l_Lean_Parser_Tactic_Conv_change___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change___closed__2); +l_Lean_Parser_Tactic_Conv_change___closed__3 = _init_l_Lean_Parser_Tactic_Conv_change___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change___closed__3); +l_Lean_Parser_Tactic_Conv_change___closed__4 = _init_l_Lean_Parser_Tactic_Conv_change___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change___closed__4); +l_Lean_Parser_Tactic_Conv_change___closed__5 = _init_l_Lean_Parser_Tactic_Conv_change___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change___closed__5); +l_Lean_Parser_Tactic_Conv_change___closed__6 = _init_l_Lean_Parser_Tactic_Conv_change___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change___closed__6); +l_Lean_Parser_Tactic_Conv_change = _init_l_Lean_Parser_Tactic_Conv_change(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change); +l_Lean_Parser_Tactic_Conv_rewrite___closed__1 = _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_rewrite___closed__1); +l_Lean_Parser_Tactic_Conv_rewrite___closed__2 = _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_rewrite___closed__2); +l_Lean_Parser_Tactic_Conv_rewrite___closed__3 = _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_rewrite___closed__3); +l_Lean_Parser_Tactic_Conv_rewrite___closed__4 = _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_rewrite___closed__4); +l_Lean_Parser_Tactic_Conv_rewrite___closed__5 = _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_rewrite___closed__5); +l_Lean_Parser_Tactic_Conv_rewrite___closed__6 = _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_rewrite___closed__6); +l_Lean_Parser_Tactic_Conv_rewrite = _init_l_Lean_Parser_Tactic_Conv_rewrite(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_rewrite); +l_Lean_Parser_Tactic_Conv_simp___closed__1 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__1); +l_Lean_Parser_Tactic_Conv_simp___closed__2 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__2); +l_Lean_Parser_Tactic_Conv_simp___closed__3 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__3); +l_Lean_Parser_Tactic_Conv_simp___closed__4 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__4); +l_Lean_Parser_Tactic_Conv_simp___closed__5 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__5); +l_Lean_Parser_Tactic_Conv_simp___closed__6 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__6); +l_Lean_Parser_Tactic_Conv_simp___closed__7 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__7); +l_Lean_Parser_Tactic_Conv_simp___closed__8 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__8); +l_Lean_Parser_Tactic_Conv_simp___closed__9 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__9); +l_Lean_Parser_Tactic_Conv_simp___closed__10 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__10); +l_Lean_Parser_Tactic_Conv_simp___closed__11 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__11); +l_Lean_Parser_Tactic_Conv_simp___closed__12 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__12(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__12); +l_Lean_Parser_Tactic_Conv_simp___closed__13 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__13(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__13); +l_Lean_Parser_Tactic_Conv_simp___closed__14 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__14(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__14); +l_Lean_Parser_Tactic_Conv_simp___closed__15 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__15(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__15); +l_Lean_Parser_Tactic_Conv_simp___closed__16 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__16(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__16); +l_Lean_Parser_Tactic_Conv_simp___closed__17 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__17(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__17); +l_Lean_Parser_Tactic_Conv_simp___closed__18 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__18(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__18); +l_Lean_Parser_Tactic_Conv_simp___closed__19 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__19(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__19); +l_Lean_Parser_Tactic_Conv_simp___closed__20 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__20(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__20); +l_Lean_Parser_Tactic_Conv_simp___closed__21 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__21(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__21); +l_Lean_Parser_Tactic_Conv_simp___closed__22 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__22(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__22); +l_Lean_Parser_Tactic_Conv_simp___closed__23 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__23(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__23); +l_Lean_Parser_Tactic_Conv_simp___closed__24 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__24(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__24); +l_Lean_Parser_Tactic_Conv_simp___closed__25 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__25(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__25); +l_Lean_Parser_Tactic_Conv_simp___closed__26 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__26(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__26); +l_Lean_Parser_Tactic_Conv_simp___closed__27 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__27(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__27); +l_Lean_Parser_Tactic_Conv_simp___closed__28 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__28(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__28); +l_Lean_Parser_Tactic_Conv_simp___closed__29 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__29(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__29); +l_Lean_Parser_Tactic_Conv_simp___closed__30 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__30(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__30); +l_Lean_Parser_Tactic_Conv_simp___closed__31 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__31(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__31); +l_Lean_Parser_Tactic_Conv_simp___closed__32 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__32(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__32); +l_Lean_Parser_Tactic_Conv_simp___closed__33 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__33(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__33); +l_Lean_Parser_Tactic_Conv_simp___closed__34 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__34(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__34); +l_Lean_Parser_Tactic_Conv_simp___closed__35 = _init_l_Lean_Parser_Tactic_Conv_simp___closed__35(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__35); +l_Lean_Parser_Tactic_Conv_simp = _init_l_Lean_Parser_Tactic_Conv_simp(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp); +l_Lean_Parser_Tactic_Conv_nestedTactic___closed__1 = _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTactic___closed__1); +l_Lean_Parser_Tactic_Conv_nestedTactic___closed__2 = _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTactic___closed__2); +l_Lean_Parser_Tactic_Conv_nestedTactic___closed__3 = _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTactic___closed__3); +l_Lean_Parser_Tactic_Conv_nestedTactic___closed__4 = _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTactic___closed__4); +l_Lean_Parser_Tactic_Conv_nestedTactic___closed__5 = _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTactic___closed__5); +l_Lean_Parser_Tactic_Conv_nestedTactic___closed__6 = _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTactic___closed__6); +l_Lean_Parser_Tactic_Conv_nestedTactic___closed__7 = _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTactic___closed__7); +l_Lean_Parser_Tactic_Conv_nestedTactic___closed__8 = _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTactic___closed__8); +l_Lean_Parser_Tactic_Conv_nestedTactic___closed__9 = _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTactic___closed__9); +l_Lean_Parser_Tactic_Conv_nestedTactic = _init_l_Lean_Parser_Tactic_Conv_nestedTactic(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTactic); l_Lean_Parser_Tactic_Conv_nestedConv___closed__1 = _init_l_Lean_Parser_Tactic_Conv_nestedConv___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedConv___closed__1); l_Lean_Parser_Tactic_Conv_nestedConv___closed__2 = _init_l_Lean_Parser_Tactic_Conv_nestedConv___closed__2(); @@ -2176,8 +3923,6 @@ l_Lean_Parser_Tactic_Conv_paren___closed__5 = _init_l_Lean_Parser_Tactic_Conv_pa lean_mark_persistent(l_Lean_Parser_Tactic_Conv_paren___closed__5); l_Lean_Parser_Tactic_Conv_paren___closed__6 = _init_l_Lean_Parser_Tactic_Conv_paren___closed__6(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_paren___closed__6); -l_Lean_Parser_Tactic_Conv_paren___closed__7 = _init_l_Lean_Parser_Tactic_Conv_paren___closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_paren___closed__7); l_Lean_Parser_Tactic_Conv_paren = _init_l_Lean_Parser_Tactic_Conv_paren(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_paren); l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__1 = _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__1(); @@ -2200,70 +3945,70 @@ l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__9 = _init_l_Lean_Parser_Tacti lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__9); l_Lean_Parser_Tactic_Conv_conv_xb7_x2e__ = _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e__(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv_xb7_x2e__); -l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__1 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__1); -l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__2 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__2); -l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__3 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__3); -l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__4 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__4); -l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__5 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__5); -l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__6 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__6); -l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__7 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_180____closed__7); -l_Lean_Parser_Tactic_Conv_conv___closed__1 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__1); -l_Lean_Parser_Tactic_Conv_conv___closed__2 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__2); -l_Lean_Parser_Tactic_Conv_conv___closed__3 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__3); -l_Lean_Parser_Tactic_Conv_conv___closed__4 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__4); -l_Lean_Parser_Tactic_Conv_conv___closed__5 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__5); -l_Lean_Parser_Tactic_Conv_conv___closed__6 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__6); -l_Lean_Parser_Tactic_Conv_conv___closed__7 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__7); -l_Lean_Parser_Tactic_Conv_conv___closed__8 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__8); -l_Lean_Parser_Tactic_Conv_conv___closed__9 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__9); -l_Lean_Parser_Tactic_Conv_conv___closed__10 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__10); -l_Lean_Parser_Tactic_Conv_conv___closed__11 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__11(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__11); -l_Lean_Parser_Tactic_Conv_conv___closed__12 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__12(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__12); -l_Lean_Parser_Tactic_Conv_conv___closed__13 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__13(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__13); -l_Lean_Parser_Tactic_Conv_conv___closed__14 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__14(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__14); -l_Lean_Parser_Tactic_Conv_conv___closed__15 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__15(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__15); -l_Lean_Parser_Tactic_Conv_conv___closed__16 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__16(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__16); -l_Lean_Parser_Tactic_Conv_conv___closed__17 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__17(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__17); -l_Lean_Parser_Tactic_Conv_conv___closed__18 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__18(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__18); -l_Lean_Parser_Tactic_Conv_conv___closed__19 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__19(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__19); -l_Lean_Parser_Tactic_Conv_conv___closed__20 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__20(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__20); -l_Lean_Parser_Tactic_Conv_conv___closed__21 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__21(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__21); -l_Lean_Parser_Tactic_Conv_conv___closed__22 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__22(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__22); -l_Lean_Parser_Tactic_Conv_conv___closed__23 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__23(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__23); -l_Lean_Parser_Tactic_Conv_conv___closed__24 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__24(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__24); -l_Lean_Parser_Tactic_Conv_conv = _init_l_Lean_Parser_Tactic_Conv_conv(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv); +l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__1 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__1); +l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__2 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__2); +l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__3 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__3); +l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__4 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__4); +l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__5 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__5); +l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__6 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__6); +l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7 = _init_l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_myMacro____x40_Init_Conv___hyg_357____closed__7); +l_Lean_Parser_Tactic_Conv_convRw_____closed__1 = _init_l_Lean_Parser_Tactic_Conv_convRw_____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRw_____closed__1); +l_Lean_Parser_Tactic_Conv_convRw_____closed__2 = _init_l_Lean_Parser_Tactic_Conv_convRw_____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRw_____closed__2); +l_Lean_Parser_Tactic_Conv_convRw_____closed__3 = _init_l_Lean_Parser_Tactic_Conv_convRw_____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRw_____closed__3); +l_Lean_Parser_Tactic_Conv_convRw_____closed__4 = _init_l_Lean_Parser_Tactic_Conv_convRw_____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRw_____closed__4); +l_Lean_Parser_Tactic_Conv_convRw_____closed__5 = _init_l_Lean_Parser_Tactic_Conv_convRw_____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRw_____closed__5); +l_Lean_Parser_Tactic_Conv_convRw_____closed__6 = _init_l_Lean_Parser_Tactic_Conv_convRw_____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRw_____closed__6); +l_Lean_Parser_Tactic_Conv_convRw__ = _init_l_Lean_Parser_Tactic_Conv_convRw__(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRw__); +l_Lean_Parser_Tactic_Conv_convArgs___closed__1 = _init_l_Lean_Parser_Tactic_Conv_convArgs___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convArgs___closed__1); +l_Lean_Parser_Tactic_Conv_convArgs___closed__2 = _init_l_Lean_Parser_Tactic_Conv_convArgs___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convArgs___closed__2); +l_Lean_Parser_Tactic_Conv_convArgs___closed__3 = _init_l_Lean_Parser_Tactic_Conv_convArgs___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convArgs___closed__3); +l_Lean_Parser_Tactic_Conv_convArgs___closed__4 = _init_l_Lean_Parser_Tactic_Conv_convArgs___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convArgs___closed__4); +l_Lean_Parser_Tactic_Conv_convArgs___closed__5 = _init_l_Lean_Parser_Tactic_Conv_convArgs___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convArgs___closed__5); +l_Lean_Parser_Tactic_Conv_convArgs = _init_l_Lean_Parser_Tactic_Conv_convArgs(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convArgs); +l_Lean_Parser_Tactic_Conv_convLeft___closed__1 = _init_l_Lean_Parser_Tactic_Conv_convLeft___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convLeft___closed__1); +l_Lean_Parser_Tactic_Conv_convLeft___closed__2 = _init_l_Lean_Parser_Tactic_Conv_convLeft___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convLeft___closed__2); +l_Lean_Parser_Tactic_Conv_convLeft___closed__3 = _init_l_Lean_Parser_Tactic_Conv_convLeft___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convLeft___closed__3); +l_Lean_Parser_Tactic_Conv_convLeft___closed__4 = _init_l_Lean_Parser_Tactic_Conv_convLeft___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convLeft___closed__4); +l_Lean_Parser_Tactic_Conv_convLeft___closed__5 = _init_l_Lean_Parser_Tactic_Conv_convLeft___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convLeft___closed__5); +l_Lean_Parser_Tactic_Conv_convLeft = _init_l_Lean_Parser_Tactic_Conv_convLeft(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convLeft); +l_Lean_Parser_Tactic_Conv_convRight___closed__1 = _init_l_Lean_Parser_Tactic_Conv_convRight___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRight___closed__1); +l_Lean_Parser_Tactic_Conv_convRight___closed__2 = _init_l_Lean_Parser_Tactic_Conv_convRight___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRight___closed__2); +l_Lean_Parser_Tactic_Conv_convRight___closed__3 = _init_l_Lean_Parser_Tactic_Conv_convRight___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRight___closed__3); +l_Lean_Parser_Tactic_Conv_convRight___closed__4 = _init_l_Lean_Parser_Tactic_Conv_convRight___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRight___closed__4); +l_Lean_Parser_Tactic_Conv_convRight___closed__5 = _init_l_Lean_Parser_Tactic_Conv_convRight___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRight___closed__5); +l_Lean_Parser_Tactic_Conv_convRight = _init_l_Lean_Parser_Tactic_Conv_convRight(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRight); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/InfoTree.c b/stage0/stdlib/Lean/Elab/InfoTree.c index 2a75638d85..349615db65 100644 --- a/stage0/stdlib/Lean/Elab/InfoTree.c +++ b/stage0/stdlib/Lean/Elab/InfoTree.c @@ -63,7 +63,6 @@ lean_object* l_Lean_Elab_instInhabitedElabInfo; uint8_t l_Lean_Elab_TermInfo_isBinder___default; lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_findInfo_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_TermInfo_runMetaM(lean_object*); lean_object* l_Lean_Elab_withSaveInfoContext___rarg___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*); @@ -130,7 +129,7 @@ static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_f lean_object* l_Lean_Elab_withInfoHole(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_withSaveInfoContext___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* l_Lean_Meta_ppGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_FieldInfo_format___lambda__1___closed__1; lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_FieldInfo_format___lambda__1___closed__2; @@ -170,7 +169,7 @@ lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos_m lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoTree___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_substitute_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_ContextInfo_ppGoals(lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_Elab_ContextInfo_ppGoals(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_withInfoContext___spec__1(lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__5; @@ -247,7 +246,7 @@ static lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__5; extern lean_object* l_Lean_firstFrontendMacroScope; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_CompletionInfo_stx___boxed(lean_object*); -lean_object* l_Lean_Elab_ContextInfo_ppGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_ContextInfo_ppGoals___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_toElabInfo_x3f(lean_object*); lean_object* l_Lean_Elab_Info_updateContext_x3f_match__1(lean_object*); lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_withSaveInfoContext___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -325,7 +324,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spe lean_object* l_List_mapM___at_Lean_Elab_InfoTree_format___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instInhabitedMacroExpansionInfo; lean_object* l_Lean_Elab_TermInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_ContextInfo_ppGoals___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_ContextInfo_ppGoals___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_ContextInfo_ppSyntax(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3(lean_object*); static lean_object* l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__1; @@ -334,7 +333,6 @@ lean_object* l_Lean_Elab_enableInfoTree___rarg___lambda__1(uint8_t, lean_object* lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_InfoTree_substitute___spec__4(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instMonadInfoTree(lean_object*, lean_object*); -lean_object* l_Lean_Elab_ContextInfo_ppGoals___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_withSaveInfoContext___spec__1(lean_object*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__2; lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__4(lean_object*, lean_object*, lean_object*); @@ -376,7 +374,7 @@ lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___boxed( lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo___closed__1; static lean_object* l_Lean_Elab_ContextInfo_mctx___default___closed__2; -lean_object* l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__5; lean_object* l_Lean_Elab_pushInfoTree(lean_object*); lean_object* l_Lean_Elab_withMacroExpansionInfo___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -952,19 +950,17 @@ return x_1; static lean_object* _init_l_Lean_Elab_instInhabitedTacticInfo___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l_Lean_Elab_instInhabitedElabInfo___closed__1; x_3 = l_Lean_Elab_ContextInfo_mctx___default___closed__4; -x_4 = 0; -x_5 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_5, 0, x_2); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_1); -lean_ctor_set(x_5, 3, x_3); -lean_ctor_set(x_5, 4, x_1); -lean_ctor_set_uint8(x_5, sizeof(void*)*5, x_4); -return x_5; +x_4 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set(x_4, 2, x_1); +lean_ctor_set(x_4, 3, x_3); +lean_ctor_set(x_4, 4, x_1); +return x_4; } } static lean_object* _init_l_Lean_Elab_instInhabitedTacticInfo() { @@ -4096,231 +4092,231 @@ lean_dec(x_3); return x_9; } } -lean_object* l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -if (lean_obj_tag(x_2) == 0) +if (lean_obj_tag(x_1) == 0) { -lean_object* x_8; lean_object* x_9; -lean_dec(x_6); +lean_object* x_7; lean_object* x_8; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_8 = lean_box(0); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -else -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_2); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_2, 0); -x_12 = lean_ctor_get(x_2, 1); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_13 = l_Lean_Meta_ppGoal(x_11, x_1, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(x_1, x_12, x_3, x_4, x_5, x_6, x_15); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_16, 0); -lean_ctor_set(x_2, 1, x_18); -lean_ctor_set(x_2, 0, x_14); -lean_ctor_set(x_16, 0, x_2); -return x_16; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_16, 0); -x_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_16); -lean_ctor_set(x_2, 1, x_19); -lean_ctor_set(x_2, 0, x_14); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_2); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -else -{ -uint8_t x_22; -lean_dec(x_14); -lean_free_object(x_2); -x_22 = !lean_is_exclusive(x_16); -if (x_22 == 0) -{ -return x_16; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_16, 0); -x_24 = lean_ctor_get(x_16, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_16); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -else -{ -uint8_t x_26; -lean_free_object(x_2); -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_26 = !lean_is_exclusive(x_13); -if (x_26 == 0) -{ -return x_13; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_13, 0); -x_28 = lean_ctor_get(x_13, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_13); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_2, 0); -x_31 = lean_ctor_get(x_2, 1); -lean_inc(x_31); -lean_inc(x_30); lean_dec(x_2); -lean_inc(x_6); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_1, 0); +x_11 = lean_ctor_get(x_1, 1); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_32 = l_Lean_Meta_ppGoal(x_30, x_1, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_32) == 0) +lean_inc(x_2); +x_12 = l_Lean_Meta_ppGoal(x_10, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(x_1, x_31, x_3, x_4, x_5, x_6, x_34); -if (lean_obj_tag(x_35) == 0) +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(x_11, x_2, x_3, x_4, x_5, x_14); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_38 = x_35; -} else { - lean_dec_ref(x_35); - x_38 = lean_box(0); -} -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_33); -lean_ctor_set(x_39, 1, x_36); -if (lean_is_scalar(x_38)) { - x_40 = lean_alloc_ctor(0, 2, 0); -} else { - x_40 = x_38; -} -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_37); -return x_40; +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_ctor_set(x_1, 1, x_17); +lean_ctor_set(x_1, 0, x_13); +lean_ctor_set(x_15, 0, x_1); +return x_15; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_33); -x_41 = lean_ctor_get(x_35, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_35, 1); -lean_inc(x_42); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_43 = x_35; -} else { - lean_dec_ref(x_35); - x_43 = lean_box(0); -} -if (lean_is_scalar(x_43)) { - x_44 = lean_alloc_ctor(1, 2, 0); -} else { - x_44 = x_43; -} -lean_ctor_set(x_44, 0, x_41); -lean_ctor_set(x_44, 1, x_42); -return x_44; +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_15, 0); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_15); +lean_ctor_set(x_1, 1, x_18); +lean_ctor_set(x_1, 0, 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_19); +return x_20; } } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_31); -lean_dec(x_6); +uint8_t x_21; +lean_dec(x_13); +lean_free_object(x_1); +x_21 = !lean_is_exclusive(x_15); +if (x_21 == 0) +{ +return x_15; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_15, 0); +x_23 = lean_ctor_get(x_15, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_15); +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_25; +lean_free_object(x_1); +lean_dec(x_11); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_45 = lean_ctor_get(x_32, 0); +lean_dec(x_2); +x_25 = !lean_is_exclusive(x_12); +if (x_25 == 0) +{ +return x_12; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_12, 0); +x_27 = lean_ctor_get(x_12, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_12); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_1, 0); +x_30 = lean_ctor_get(x_1, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_1); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_31 = l_Lean_Meta_ppGoal(x_29, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(x_30, x_2, x_3, x_4, x_5, x_33); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_37 = x_34; +} else { + lean_dec_ref(x_34); + x_37 = lean_box(0); +} +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_32); +lean_ctor_set(x_38, 1, x_35); +if (lean_is_scalar(x_37)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_37; +} +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_36); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_32); +x_40 = lean_ctor_get(x_34, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_42 = x_34; +} else { + lean_dec_ref(x_34); + x_42 = lean_box(0); +} +if (lean_is_scalar(x_42)) { + x_43 = lean_alloc_ctor(1, 2, 0); +} else { + x_43 = x_42; +} +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_41); +return x_43; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_30); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_44 = lean_ctor_get(x_31, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_31, 1); lean_inc(x_45); -x_46 = lean_ctor_get(x_32, 1); -lean_inc(x_46); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_47 = x_32; +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_46 = x_31; } else { - lean_dec_ref(x_32); - x_47 = lean_box(0); + lean_dec_ref(x_31); + x_46 = lean_box(0); } -if (lean_is_scalar(x_47)) { - x_48 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_46)) { + x_47 = lean_alloc_ctor(1, 2, 0); } else { - x_48 = x_47; + x_47 = x_46; } -lean_ctor_set(x_48, 0, x_45); -lean_ctor_set(x_48, 1, x_46); -return x_48; +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_45); +return x_47; } } } @@ -4372,62 +4368,62 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_ContextInfo_ppGoals___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_ContextInfo_ppGoals___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_8; -x_8 = l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_8) == 0) +lean_object* x_7; +x_7 = l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) { -uint8_t x_9; -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_8, 0); -x_11 = l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__2; -x_12 = l_Std_Format_prefixJoin___at_Lean_Elab_ContextInfo_ppGoals___spec__2(x_11, x_10); -lean_dec(x_10); -lean_ctor_set(x_8, 0, x_12); -return x_8; +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__2; +x_11 = l_Std_Format_prefixJoin___at_Lean_Elab_ContextInfo_ppGoals___spec__2(x_10, x_9); +lean_dec(x_9); +lean_ctor_set(x_7, 0, x_11); +return x_7; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_8, 0); -x_14 = lean_ctor_get(x_8, 1); -lean_inc(x_14); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_7, 0); +x_13 = lean_ctor_get(x_7, 1); lean_inc(x_13); -lean_dec(x_8); -x_15 = l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__2; -x_16 = l_Std_Format_prefixJoin___at_Lean_Elab_ContextInfo_ppGoals___spec__2(x_15, x_13); -lean_dec(x_13); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_14); -return x_17; +lean_inc(x_12); +lean_dec(x_7); +x_14 = l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__2; +x_15 = l_Std_Format_prefixJoin___at_Lean_Elab_ContextInfo_ppGoals___spec__2(x_14, x_12); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +return x_16; } } else { -uint8_t x_18; -x_18 = !lean_is_exclusive(x_8); -if (x_18 == 0) +uint8_t x_17; +x_17 = !lean_is_exclusive(x_7); +if (x_17 == 0) { -return x_8; +return x_7; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_8, 0); -x_20 = lean_ctor_get(x_8, 1); -lean_inc(x_20); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_7, 0); +x_19 = lean_ctor_get(x_7, 1); lean_inc(x_19); -lean_dec(x_8); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_inc(x_18); +lean_dec(x_7); +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; } } } @@ -4462,44 +4458,32 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_ContextInfo_ppGoals(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_ContextInfo_ppGoals(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_5; -x_5 = l_List_isEmpty___rarg(x_2); -if (x_5 == 0) +uint8_t x_4; +x_4 = l_List_isEmpty___rarg(x_2); +if (x_4 == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_6 = lean_box(x_3); -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_ContextInfo_ppGoals___lambda__1___boxed), 7, 2); -lean_closure_set(x_7, 0, x_6); -lean_closure_set(x_7, 1, x_2); -x_8 = l_Lean_Elab_ContextInfo_ppGoals___closed__1; -x_9 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_1, x_8, x_7, x_4); -return x_9; +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_alloc_closure((void*)(l_Lean_Elab_ContextInfo_ppGoals___lambda__1), 6, 1); +lean_closure_set(x_5, 0, x_2); +x_6 = l_Lean_Elab_ContextInfo_ppGoals___closed__1; +x_7 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_1, x_6, x_5, x_3); +return x_7; } else { -lean_object* x_10; lean_object* x_11; +lean_object* x_8; lean_object* x_9; lean_dec(x_2); -x_10 = l_Lean_Elab_ContextInfo_ppGoals___closed__3; -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_4); -return x_11; -} -} -} -lean_object* l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_1); -lean_dec(x_1); -x_9 = l_List_mapM___at_Lean_Elab_ContextInfo_ppGoals___spec__1(x_8, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_ContextInfo_ppGoals___closed__3; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_3); return x_9; } } +} lean_object* l_Std_Format_prefixJoin___at_Lean_Elab_ContextInfo_ppGoals___spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -4509,25 +4493,13 @@ lean_dec(x_2); return x_3; } } -lean_object* l_Lean_Elab_ContextInfo_ppGoals___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_ContextInfo_ppGoals___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_1); +lean_object* x_4; +x_4 = l_Lean_Elab_ContextInfo_ppGoals(x_1, x_2, x_3); lean_dec(x_1); -x_9 = l_Lean_Elab_ContextInfo_ppGoals___lambda__1(x_8, x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -lean_object* l_Lean_Elab_ContextInfo_ppGoals___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_3); -lean_dec(x_3); -x_6 = l_Lean_Elab_ContextInfo_ppGoals(x_1, x_2, x_5, x_4); -lean_dec(x_1); -return x_6; +return x_4; } } static lean_object* _init_l_Lean_Elab_TacticInfo_format___closed__1() { @@ -4587,7 +4559,7 @@ return x_2; lean_object* l_Lean_Elab_TacticInfo_format(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; uint8_t x_14; lean_object* x_15; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 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_4 = lean_ctor_get(x_1, 0); x_5 = lean_ctor_get(x_1, 1); x_6 = lean_ctor_get(x_1, 3); @@ -4623,175 +4595,174 @@ lean_ctor_set(x_12, 4, x_7); lean_ctor_set(x_12, 5, x_8); x_13 = lean_ctor_get(x_2, 2); lean_inc(x_13); -x_14 = lean_ctor_get_uint8(x_2, sizeof(void*)*5); -x_15 = l_Lean_Elab_ContextInfo_ppGoals(x_10, x_13, x_14, x_3); +x_14 = l_Lean_Elab_ContextInfo_ppGoals(x_10, x_13, x_3); lean_dec(x_10); -if (lean_obj_tag(x_15) == 0) +if (lean_obj_tag(x_14) == 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_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +lean_dec(x_14); +x_17 = lean_ctor_get(x_2, 4); lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_2, 4); -lean_inc(x_18); -x_19 = l_Lean_Elab_ContextInfo_ppGoals(x_12, x_18, x_14, x_17); +x_18 = l_Lean_Elab_ContextInfo_ppGoals(x_12, x_17, x_16); lean_dec(x_12); -if (lean_obj_tag(x_19) == 0) +if (lean_obj_tag(x_18) == 0) { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 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; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_ctor_get(x_2, 0); -lean_inc(x_22); +lean_object* x_20; lean_object* x_21; lean_object* x_22; 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_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_2, 0); +lean_inc(x_21); lean_dec(x_2); -lean_inc(x_22); -x_23 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(x_1, x_22); -x_24 = l_Lean_Elab_TacticInfo_format___closed__2; -x_25 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__2; -x_27 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_ctor_get(x_22, 1); -lean_inc(x_28); -lean_dec(x_22); -x_29 = lean_box(0); -x_30 = 0; -x_31 = lean_unsigned_to_nat(0u); -x_32 = l_Lean_Syntax_formatStxAux(x_29, x_30, x_31, x_28); -x_33 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_33, 0, x_27); -lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_Elab_TacticInfo_format___closed__4; +lean_inc(x_21); +x_22 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(x_1, x_21); +x_23 = l_Lean_Elab_TacticInfo_format___closed__2; +x_24 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__2; +x_26 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_ctor_get(x_21, 1); +lean_inc(x_27); +lean_dec(x_21); +x_28 = lean_box(0); +x_29 = 0; +x_30 = lean_unsigned_to_nat(0u); +x_31 = l_Lean_Syntax_formatStxAux(x_28, x_29, x_30, x_27); +x_32 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_32, 0, x_26); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_Elab_TacticInfo_format___closed__4; +x_34 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); x_35 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_16); -x_37 = l_Lean_Elab_TacticInfo_format___closed__6; +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_15); +x_36 = l_Lean_Elab_TacticInfo_format___closed__6; +x_37 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); x_38 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_21); -x_40 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__7; -x_41 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_19, 0, x_41); -return x_19; +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_20); +x_39 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__7; +x_40 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_18, 0, x_40); +return x_18; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_42 = lean_ctor_get(x_19, 0); -x_43 = lean_ctor_get(x_19, 1); -lean_inc(x_43); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_41 = lean_ctor_get(x_18, 0); +x_42 = lean_ctor_get(x_18, 1); lean_inc(x_42); -lean_dec(x_19); -x_44 = lean_ctor_get(x_2, 0); -lean_inc(x_44); +lean_inc(x_41); +lean_dec(x_18); +x_43 = lean_ctor_get(x_2, 0); +lean_inc(x_43); lean_dec(x_2); -lean_inc(x_44); -x_45 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(x_1, x_44); -x_46 = l_Lean_Elab_TacticInfo_format___closed__2; -x_47 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -x_48 = l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__2; -x_49 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_ctor_get(x_44, 1); -lean_inc(x_50); -lean_dec(x_44); -x_51 = lean_box(0); -x_52 = 0; -x_53 = lean_unsigned_to_nat(0u); -x_54 = l_Lean_Syntax_formatStxAux(x_51, x_52, x_53, x_50); -x_55 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_55, 0, x_49); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_Elab_TacticInfo_format___closed__4; +lean_inc(x_43); +x_44 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatElabInfo(x_1, x_43); +x_45 = l_Lean_Elab_TacticInfo_format___closed__2; +x_46 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = l_Lean_Elab_ContextInfo_ppGoals___lambda__1___closed__2; +x_48 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_ctor_get(x_43, 1); +lean_inc(x_49); +lean_dec(x_43); +x_50 = lean_box(0); +x_51 = 0; +x_52 = lean_unsigned_to_nat(0u); +x_53 = l_Lean_Syntax_formatStxAux(x_50, x_51, x_52, x_49); +x_54 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_54, 0, x_48); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_Elab_TacticInfo_format___closed__4; +x_56 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); x_57 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -x_58 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_16); -x_59 = l_Lean_Elab_TacticInfo_format___closed__6; +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_15); +x_58 = l_Lean_Elab_TacticInfo_format___closed__6; +x_59 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); x_60 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_42); -x_62 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__7; -x_63 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_43); -return x_64; +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_41); +x_61 = l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos___closed__7; +x_62 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_42); +return x_63; } } else { -uint8_t x_65; -lean_dec(x_16); +uint8_t x_64; +lean_dec(x_15); lean_dec(x_2); -x_65 = !lean_is_exclusive(x_19); -if (x_65 == 0) +x_64 = !lean_is_exclusive(x_18); +if (x_64 == 0) { -return x_19; +return x_18; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_19, 0); -x_67 = lean_ctor_get(x_19, 1); -lean_inc(x_67); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_18, 0); +x_66 = lean_ctor_get(x_18, 1); lean_inc(x_66); -lean_dec(x_19); -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; +lean_inc(x_65); +lean_dec(x_18); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } else { -uint8_t x_69; +uint8_t x_68; lean_dec(x_12); lean_dec(x_2); -x_69 = !lean_is_exclusive(x_15); -if (x_69 == 0) +x_68 = !lean_is_exclusive(x_14); +if (x_68 == 0) { -return x_15; +return x_14; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_15, 0); -x_71 = lean_ctor_get(x_15, 1); -lean_inc(x_71); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_14, 0); +x_70 = lean_ctor_get(x_14, 1); lean_inc(x_70); -lean_dec(x_15); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -return x_72; +lean_inc(x_69); +lean_dec(x_14); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; } } } @@ -8370,7 +8341,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__4; x_2 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__5; -x_3 = lean_unsigned_to_nat(341u); +x_3 = lean_unsigned_to_nat(340u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index c29cfd3685..b94fe9b09c 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -202,7 +202,6 @@ lean_object* l_Lean_Elab_Term_Quotation_mkTuple_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__18; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3210____closed__5; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__1; static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2895____closed__43; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3190____closed__1; @@ -287,11 +286,9 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17___boxed(lean_object**); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__11; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__5; lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3235_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3205_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3220_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3210_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -548,7 +545,6 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3175____closed__14; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__6; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__3; lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -589,7 +585,7 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l_Std_RBNode_find___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5; -lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9735_(lean_object*); +lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9730_(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__3___closed__24; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__3; @@ -735,7 +731,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Q lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3205_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3185_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3190_(lean_object*); -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3235_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3225_(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3220_(lean_object*); @@ -861,7 +856,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean extern lean_object* l_Lean_instInhabitedName; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2895____closed__55; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -1072,7 +1066,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOu static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__3; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__7; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__13; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3190____closed__2; @@ -13797,73 +13790,6 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3175____closed__1; -x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("conv"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__2; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3175____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3175____closed__12; -x_2 = lean_unsigned_to_nat(3240u); -x_3 = lean_name_mk_numeral(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240_), 9, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__3; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__5; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -30975,7 +30901,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__2; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__3___closed__5; -x_3 = lean_unsigned_to_nat(497u); +x_3 = lean_unsigned_to_nat(496u); x_4 = lean_unsigned_to_nat(12u); x_5 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -33854,7 +33780,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9735_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9730_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -34868,19 +34794,6 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lea res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3235_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__4); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240____closed__5); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_3240_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__2(); @@ -35364,7 +35277,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___c res = l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9735_(lean_io_mk_world()); +res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9730_(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/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index 0e3bf83a07..240382913a 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -135,7 +135,6 @@ lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___closed__2; 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_object* l_Lean_Elab_Tactic_saveState(lean_object*); -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2744____closed__1; 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_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_Elab_Tactic_tacticElabAttribute___closed__11; @@ -173,6 +172,7 @@ lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg___lambda__1___boxed(lean_obje lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_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*); +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2719____closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_getFVarIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_closeUsingOrAdmit(lean_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_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*); @@ -370,7 +370,7 @@ static lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4___closed__1; lean_object* l_Lean_Elab_Tactic_closeMainGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__7___rarg(lean_object*); lean_object* l_Lean_Elab_Tactic_tryTactic___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2744_(lean_object*); +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2719_(lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___lambda__8(lean_object*); @@ -389,7 +389,6 @@ lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_expandTacticMacroFns_l lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tryTactic_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Elab_Tactic_Context_inConv___default; static lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__15; lean_object* l_Lean_Elab_Tactic_evalTacticAux___lambda__4___boxed__const__1; 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*); @@ -918,14 +917,6 @@ x_11 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Elab_Term_reportUnsolvedGoa return x_11; } } -static uint8_t _init_l_Lean_Elab_Tactic_Context_inConv___default() { -_start: -{ -uint8_t x_1; -x_1 = 0; -return x_1; -} -} static lean_object* _init_l_Lean_Elab_Tactic_instInhabitedState() { _start: { @@ -1653,7 +1644,7 @@ lean_dec(x_56); x_59 = !lean_is_exclusive(x_57); if (x_59 == 0) { -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_108; +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_107; x_60 = lean_ctor_get(x_57, 1); lean_dec(x_60); x_61 = lean_box(0); @@ -1663,405 +1654,401 @@ x_63 = lean_ctor_get(x_62, 1); lean_inc(x_63); lean_dec(x_62); x_64 = lean_box(0); -x_65 = 0; lean_inc(x_1); -x_66 = lean_alloc_ctor(0, 2, 1); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_1); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_1); -lean_ctor_set(x_66, 1, x_64); -lean_ctor_set_uint8(x_66, sizeof(void*)*2, x_65); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_1); -lean_ctor_set(x_67, 1, x_61); -x_68 = lean_st_ref_get(x_8, x_63); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_st_mk_ref(x_67, x_69); -x_71 = lean_ctor_get(x_70, 0); +lean_ctor_set(x_66, 1, x_61); +x_67 = lean_st_ref_get(x_8, x_63); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +lean_dec(x_67); +x_69 = lean_st_mk_ref(x_66, x_68); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); +lean_dec(x_69); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_71); -lean_inc(x_66); -x_108 = lean_apply_9(x_2, x_66, x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_72); -if (lean_obj_tag(x_108) == 0) +lean_inc(x_70); +lean_inc(x_65); +x_107 = lean_apply_9(x_2, x_65, x_70, x_3, x_4, x_5, x_6, x_7, x_8, x_71); +if (lean_obj_tag(x_107) == 0) { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -lean_dec(x_108); -x_110 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_66, x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_109); +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_108 = lean_ctor_get(x_107, 1); +lean_inc(x_108); +lean_dec(x_107); +x_109 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_65, x_70, x_3, x_4, x_5, x_6, x_7, x_8, x_108); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_66); -x_111 = lean_ctor_get(x_110, 0); +lean_dec(x_65); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); +lean_dec(x_109); +x_72 = x_110; x_73 = x_111; -x_74 = x_112; -goto block_107; +goto block_106; } else { -lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_113 = lean_ctor_get(x_108, 0); +lean_object* x_112; lean_object* x_113; uint8_t x_114; +x_112 = lean_ctor_get(x_107, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_107, 1); lean_inc(x_113); -x_114 = lean_ctor_get(x_108, 1); -lean_inc(x_114); -lean_dec(x_108); -x_115 = l_Lean_Elab_isAbortTacticException(x_113); -if (x_115 == 0) +lean_dec(x_107); +x_114 = l_Lean_Elab_isAbortTacticException(x_112); +if (x_114 == 0) { -lean_dec(x_71); -lean_dec(x_66); +lean_dec(x_70); +lean_dec(x_65); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_29 = x_113; -x_30 = x_114; +x_29 = x_112; +x_30 = x_113; goto block_53; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; -lean_dec(x_113); -x_116 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_66, x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_114); +lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_112); +x_115 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_65, x_70, x_3, x_4, x_5, x_6, x_7, x_8, x_113); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_66); -x_117 = lean_ctor_get(x_116, 0); +lean_dec(x_65); +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 1); lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); -lean_inc(x_118); -lean_dec(x_116); +lean_dec(x_115); +x_72 = x_116; x_73 = x_117; -x_74 = x_118; -goto block_107; +goto block_106; } } -block_107: +block_106: { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_75 = lean_st_ref_get(x_8, x_74); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_77 = lean_st_ref_get(x_71, x_76); -lean_dec(x_71); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_79 = lean_st_ref_get(x_8, x_78); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_74 = lean_st_ref_get(x_8, x_73); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +lean_dec(x_74); +x_76 = lean_st_ref_get(x_70, x_75); +lean_dec(x_70); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +lean_dec(x_76); +x_78 = lean_st_ref_get(x_8, x_77); lean_dec(x_8); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_81 = lean_st_ref_take(x_4, x_80); -x_82 = lean_ctor_get(x_81, 0); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +x_80 = lean_st_ref_take(x_4, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = !lean_is_exclusive(x_82); -if (x_84 == 0) +lean_dec(x_80); +x_83 = !lean_is_exclusive(x_81); +if (x_83 == 0) { -lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_85 = lean_ctor_get(x_82, 1); -lean_dec(x_85); -lean_ctor_set(x_82, 1, x_28); -x_86 = lean_st_ref_set(x_4, x_82, x_83); +lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_84 = lean_ctor_get(x_81, 1); +lean_dec(x_84); +lean_ctor_set(x_81, 1, x_28); +x_85 = lean_st_ref_set(x_4, x_81, x_82); lean_dec(x_4); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) +x_86 = !lean_is_exclusive(x_85); +if (x_86 == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_86, 0); -lean_dec(x_88); -x_89 = lean_box(0); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_73); -lean_ctor_set(x_90, 1, x_89); -lean_ctor_set(x_86, 0, x_90); -x_10 = x_86; +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_85, 0); +lean_dec(x_87); +x_88 = lean_box(0); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_72); +lean_ctor_set(x_89, 1, x_88); +lean_ctor_set(x_85, 0, x_89); +x_10 = x_85; goto block_22; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_91 = lean_ctor_get(x_86, 1); -lean_inc(x_91); -lean_dec(x_86); -x_92 = lean_box(0); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_90 = lean_ctor_get(x_85, 1); +lean_inc(x_90); +lean_dec(x_85); +x_91 = lean_box(0); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_72); +lean_ctor_set(x_92, 1, x_91); x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_73); -lean_ctor_set(x_93, 1, 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_91); -x_10 = x_94; +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_90); +x_10 = x_93; goto block_22; } } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_95 = lean_ctor_get(x_82, 0); -x_96 = lean_ctor_get(x_82, 2); -x_97 = lean_ctor_get(x_82, 3); -x_98 = lean_ctor_get(x_82, 4); -x_99 = lean_ctor_get(x_82, 5); -lean_inc(x_99); +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_94 = lean_ctor_get(x_81, 0); +x_95 = lean_ctor_get(x_81, 2); +x_96 = lean_ctor_get(x_81, 3); +x_97 = lean_ctor_get(x_81, 4); +x_98 = lean_ctor_get(x_81, 5); lean_inc(x_98); lean_inc(x_97); lean_inc(x_96); lean_inc(x_95); -lean_dec(x_82); -x_100 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_100, 0, x_95); -lean_ctor_set(x_100, 1, x_28); -lean_ctor_set(x_100, 2, x_96); -lean_ctor_set(x_100, 3, x_97); -lean_ctor_set(x_100, 4, x_98); -lean_ctor_set(x_100, 5, x_99); -x_101 = lean_st_ref_set(x_4, x_100, x_83); +lean_inc(x_94); +lean_dec(x_81); +x_99 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_99, 0, x_94); +lean_ctor_set(x_99, 1, x_28); +lean_ctor_set(x_99, 2, x_95); +lean_ctor_set(x_99, 3, x_96); +lean_ctor_set(x_99, 4, x_97); +lean_ctor_set(x_99, 5, x_98); +x_100 = lean_st_ref_set(x_4, x_99, x_82); lean_dec(x_4); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_103 = x_101; +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_102 = x_100; } else { - lean_dec_ref(x_101); - x_103 = lean_box(0); + lean_dec_ref(x_100); + x_102 = lean_box(0); } -x_104 = lean_box(0); -x_105 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_105, 0, x_73); -lean_ctor_set(x_105, 1, x_104); -if (lean_is_scalar(x_103)) { - x_106 = lean_alloc_ctor(0, 2, 0); +x_103 = lean_box(0); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_72); +lean_ctor_set(x_104, 1, x_103); +if (lean_is_scalar(x_102)) { + x_105 = lean_alloc_ctor(0, 2, 0); } else { - x_106 = x_103; + x_105 = x_102; } -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_102); -x_10 = x_106; +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_101); +x_10 = x_105; goto block_22; } } } else { -lean_object* x_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; uint8_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_162; -x_119 = lean_ctor_get(x_57, 0); -x_120 = lean_ctor_get(x_57, 2); -x_121 = lean_ctor_get(x_57, 3); -x_122 = lean_ctor_get(x_57, 4); -x_123 = lean_ctor_get(x_57, 5); -lean_inc(x_123); +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_160; +x_118 = lean_ctor_get(x_57, 0); +x_119 = lean_ctor_get(x_57, 2); +x_120 = lean_ctor_get(x_57, 3); +x_121 = lean_ctor_get(x_57, 4); +x_122 = lean_ctor_get(x_57, 5); lean_inc(x_122); lean_inc(x_121); lean_inc(x_120); lean_inc(x_119); +lean_inc(x_118); lean_dec(x_57); -x_124 = lean_box(0); -x_125 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_125, 0, x_119); -lean_ctor_set(x_125, 1, x_124); -lean_ctor_set(x_125, 2, x_120); -lean_ctor_set(x_125, 3, x_121); -lean_ctor_set(x_125, 4, x_122); -lean_ctor_set(x_125, 5, x_123); -x_126 = lean_st_ref_set(x_4, x_125, x_58); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -lean_dec(x_126); -x_128 = lean_box(0); -x_129 = 0; +x_123 = lean_box(0); +x_124 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_124, 0, x_118); +lean_ctor_set(x_124, 1, x_123); +lean_ctor_set(x_124, 2, x_119); +lean_ctor_set(x_124, 3, x_120); +lean_ctor_set(x_124, 4, x_121); +lean_ctor_set(x_124, 5, x_122); +x_125 = lean_st_ref_set(x_4, x_124, x_58); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +lean_dec(x_125); +x_127 = lean_box(0); lean_inc(x_1); -x_130 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_130, 0, x_1); -lean_ctor_set(x_130, 1, x_128); -lean_ctor_set_uint8(x_130, sizeof(void*)*2, x_129); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_1); -lean_ctor_set(x_131, 1, x_124); -x_132 = lean_st_ref_get(x_8, x_127); -x_133 = lean_ctor_get(x_132, 1); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_1); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_1); +lean_ctor_set(x_129, 1, x_123); +x_130 = lean_st_ref_get(x_8, x_126); +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +lean_dec(x_130); +x_132 = lean_st_mk_ref(x_129, x_131); +x_133 = lean_ctor_get(x_132, 0); lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); lean_dec(x_132); -x_134 = lean_st_mk_ref(x_131, x_133); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_135); -lean_inc(x_130); -x_162 = lean_apply_9(x_2, x_130, x_135, x_3, x_4, x_5, x_6, x_7, x_8, x_136); -if (lean_obj_tag(x_162) == 0) +lean_inc(x_133); +lean_inc(x_128); +x_160 = lean_apply_9(x_2, x_128, x_133, x_3, x_4, x_5, x_6, x_7, x_8, x_134); +if (lean_obj_tag(x_160) == 0) { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_163 = lean_ctor_get(x_162, 1); -lean_inc(x_163); -lean_dec(x_162); -x_164 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_130, x_135, x_3, x_4, x_5, x_6, x_7, x_8, x_163); +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_161 = lean_ctor_get(x_160, 1); +lean_inc(x_161); +lean_dec(x_160); +x_162 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_128, x_133, x_3, x_4, x_5, x_6, x_7, x_8, x_161); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_130); -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_137 = x_165; -x_138 = x_166; -goto block_161; +lean_dec(x_128); +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_135 = x_163; +x_136 = x_164; +goto block_159; } else { -lean_object* x_167; lean_object* x_168; uint8_t x_169; -x_167 = lean_ctor_get(x_162, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_162, 1); -lean_inc(x_168); -lean_dec(x_162); -x_169 = l_Lean_Elab_isAbortTacticException(x_167); -if (x_169 == 0) +lean_object* x_165; lean_object* x_166; uint8_t x_167; +x_165 = lean_ctor_get(x_160, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_160, 1); +lean_inc(x_166); +lean_dec(x_160); +x_167 = l_Lean_Elab_isAbortTacticException(x_165); +if (x_167 == 0) { -lean_dec(x_135); -lean_dec(x_130); +lean_dec(x_133); +lean_dec(x_128); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_29 = x_167; -x_30 = x_168; +x_29 = x_165; +x_30 = x_166; goto block_53; } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; -lean_dec(x_167); -x_170 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_130, x_135, x_3, x_4, x_5, x_6, x_7, x_8, x_168); +lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_dec(x_165); +x_168 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_128, x_133, x_3, x_4, x_5, x_6, x_7, x_8, x_166); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_130); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); -lean_dec(x_170); -x_137 = x_171; -x_138 = x_172; -goto block_161; +lean_dec(x_128); +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +x_135 = x_169; +x_136 = x_170; +goto block_159; } } -block_161: +block_159: { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_139 = lean_st_ref_get(x_8, x_138); +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; +x_137 = lean_st_ref_get(x_8, x_136); +x_138 = lean_ctor_get(x_137, 1); +lean_inc(x_138); +lean_dec(x_137); +x_139 = lean_st_ref_get(x_133, x_138); +lean_dec(x_133); x_140 = lean_ctor_get(x_139, 1); lean_inc(x_140); lean_dec(x_139); -x_141 = lean_st_ref_get(x_135, x_140); -lean_dec(x_135); +x_141 = lean_st_ref_get(x_8, x_140); +lean_dec(x_8); x_142 = lean_ctor_get(x_141, 1); lean_inc(x_142); lean_dec(x_141); -x_143 = lean_st_ref_get(x_8, x_142); -lean_dec(x_8); -x_144 = lean_ctor_get(x_143, 1); +x_143 = lean_st_ref_take(x_4, x_142); +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_145 = lean_st_ref_take(x_4, x_144); -x_146 = lean_ctor_get(x_145, 0); +x_146 = lean_ctor_get(x_144, 0); lean_inc(x_146); -x_147 = lean_ctor_get(x_145, 1); +x_147 = lean_ctor_get(x_144, 2); lean_inc(x_147); -lean_dec(x_145); -x_148 = lean_ctor_get(x_146, 0); +x_148 = lean_ctor_get(x_144, 3); lean_inc(x_148); -x_149 = lean_ctor_get(x_146, 2); +x_149 = lean_ctor_get(x_144, 4); lean_inc(x_149); -x_150 = lean_ctor_get(x_146, 3); +x_150 = lean_ctor_get(x_144, 5); lean_inc(x_150); -x_151 = lean_ctor_get(x_146, 4); -lean_inc(x_151); -x_152 = lean_ctor_get(x_146, 5); -lean_inc(x_152); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - lean_ctor_release(x_146, 2); - lean_ctor_release(x_146, 3); - lean_ctor_release(x_146, 4); - lean_ctor_release(x_146, 5); - x_153 = x_146; +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + lean_ctor_release(x_144, 2); + lean_ctor_release(x_144, 3); + lean_ctor_release(x_144, 4); + lean_ctor_release(x_144, 5); + x_151 = x_144; } else { - lean_dec_ref(x_146); - x_153 = lean_box(0); + lean_dec_ref(x_144); + x_151 = lean_box(0); } -if (lean_is_scalar(x_153)) { - x_154 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_151)) { + x_152 = lean_alloc_ctor(0, 6, 0); } else { - x_154 = x_153; + x_152 = x_151; } -lean_ctor_set(x_154, 0, x_148); -lean_ctor_set(x_154, 1, x_28); -lean_ctor_set(x_154, 2, x_149); -lean_ctor_set(x_154, 3, x_150); -lean_ctor_set(x_154, 4, x_151); -lean_ctor_set(x_154, 5, x_152); -x_155 = lean_st_ref_set(x_4, x_154, x_147); +lean_ctor_set(x_152, 0, x_146); +lean_ctor_set(x_152, 1, x_28); +lean_ctor_set(x_152, 2, x_147); +lean_ctor_set(x_152, 3, x_148); +lean_ctor_set(x_152, 4, x_149); +lean_ctor_set(x_152, 5, x_150); +x_153 = lean_st_ref_set(x_4, x_152, x_145); lean_dec(x_4); -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_157 = x_155; +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_155 = x_153; } else { - lean_dec_ref(x_155); - x_157 = lean_box(0); + lean_dec_ref(x_153); + x_155 = lean_box(0); } -x_158 = lean_box(0); -x_159 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_159, 0, x_137); -lean_ctor_set(x_159, 1, x_158); -if (lean_is_scalar(x_157)) { - x_160 = lean_alloc_ctor(0, 2, 0); +x_156 = lean_box(0); +x_157 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_157, 0, x_135); +lean_ctor_set(x_157, 1, x_156); +if (lean_is_scalar(x_155)) { + x_158 = lean_alloc_ctor(0, 2, 0); } else { - x_160 = x_157; + x_158 = x_155; } -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_156); -x_10 = x_160; +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_154); +x_10 = x_158; goto block_22; } } @@ -3028,53 +3015,49 @@ x_19 = l_Lean_Elab_Tactic_getUnsolvedGoals(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_21 = lean_ctor_get(x_19, 0); x_22 = lean_ctor_get(x_4, 1); lean_inc(x_22); x_23 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_3); -x_24 = lean_ctor_get_uint8(x_4, sizeof(void*)*2); -x_25 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_1); -lean_ctor_set(x_25, 2, x_2); -lean_ctor_set(x_25, 3, x_18); -lean_ctor_set(x_25, 4, x_21); -lean_ctor_set_uint8(x_25, sizeof(void*)*5, x_24); -x_26 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_19, 0, x_26); +x_24 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_1); +lean_ctor_set(x_24, 2, x_2); +lean_ctor_set(x_24, 3, x_18); +lean_ctor_set(x_24, 4, x_21); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_19, 0, x_25); return x_19; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_27 = lean_ctor_get(x_19, 0); -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); lean_inc(x_27); +lean_inc(x_26); lean_dec(x_19); -x_29 = lean_ctor_get(x_4, 1); -lean_inc(x_29); -x_30 = lean_alloc_ctor(0, 2, 0); +x_28 = lean_ctor_get(x_4, 1); +lean_inc(x_28); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_3); +x_30 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_3); -x_31 = lean_ctor_get_uint8(x_4, sizeof(void*)*2); -x_32 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_1); -lean_ctor_set(x_32, 2, x_2); -lean_ctor_set(x_32, 3, x_18); -lean_ctor_set(x_32, 4, x_27); -lean_ctor_set_uint8(x_32, sizeof(void*)*5, x_31); -x_33 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_33, 0, x_32); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_28); -return x_34; +lean_ctor_set(x_30, 1, x_1); +lean_ctor_set(x_30, 2, x_2); +lean_ctor_set(x_30, 3, x_18); +lean_ctor_set(x_30, 4, x_26); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_30); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_27); +return x_32; } } } @@ -4699,7 +4682,7 @@ 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; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_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_3, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_3, 1); @@ -4714,23 +4697,21 @@ lean_inc(x_24); lean_dec(x_20); x_25 = lean_ctor_get(x_4, 0); lean_inc(x_25); -x_26 = lean_ctor_get_uint8(x_4, sizeof(void*)*2); -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); lean_dec(x_24); -x_28 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_28, 0, x_25); -lean_ctor_set(x_28, 1, x_27); -lean_ctor_set_uint8(x_28, sizeof(void*)*2, x_26); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); 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); +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); -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); +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); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -4738,8 +4719,8 @@ 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_23, 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_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) { lean_dec(x_21); lean_dec(x_11); @@ -4752,18 +4733,18 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -return x_33; +return x_32; } else { -lean_object* x_34; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -if (lean_obj_tag(x_34) == 0) +lean_object* x_33; +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_35; +uint8_t x_34; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -4774,59 +4755,59 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_35 = !lean_is_exclusive(x_33); -if (x_35 == 0) +x_34 = !lean_is_exclusive(x_32); +if (x_34 == 0) { -lean_object* x_36; -x_36 = lean_ctor_get(x_33, 0); -lean_dec(x_36); -return x_33; +lean_object* x_35; +x_35 = lean_ctor_get(x_32, 0); +lean_dec(x_35); +return x_32; } else { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_33, 1); -lean_inc(x_37); -lean_dec(x_33); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_34); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +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_39; lean_object* x_40; lean_object* x_41; -lean_dec(x_34); -x_39 = lean_ctor_get(x_33, 1); -lean_inc(x_39); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_dec(x_33); +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_dec(x_32); lean_inc(x_1); -x_40 = 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_39); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); +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_41; +x_12 = x_40; goto _start; } } else { -uint8_t x_43; -x_43 = !lean_is_exclusive(x_33); -if (x_43 == 0) +uint8_t x_42; +x_42 = !lean_is_exclusive(x_32); +if (x_42 == 0) { -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_33, 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_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_Lean_Elab_unsupportedSyntaxExceptionId; +x_47 = lean_nat_dec_eq(x_45, x_46); lean_dec(x_45); -x_46 = lean_ctor_get(x_34, 0); -lean_inc(x_46); -x_47 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_48 = lean_nat_dec_eq(x_46, x_47); -lean_dec(x_46); -if (x_48 == 0) +if (x_47 == 0) { lean_dec(x_21); lean_dec(x_11); @@ -4839,37 +4820,37 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -return x_33; +return x_32; } else { -lean_object* x_49; lean_object* x_50; -lean_free_object(x_33); -lean_dec(x_34); +lean_object* x_48; lean_object* x_49; +lean_free_object(x_32); +lean_dec(x_33); lean_inc(x_1); -x_49 = 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_44); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); +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_50; +x_12 = x_49; goto _start; } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_52 = lean_ctor_get(x_33, 1); +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); -lean_dec(x_33); -x_53 = lean_ctor_get(x_34, 0); -lean_inc(x_53); -x_54 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_55 = lean_nat_dec_eq(x_53, x_54); -lean_dec(x_53); -if (x_55 == 0) +x_53 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_54 = lean_nat_dec_eq(x_52, x_53); +lean_dec(x_52); +if (x_54 == 0) { -lean_object* x_56; +lean_object* x_55; lean_dec(x_21); lean_dec(x_11); lean_dec(x_10); @@ -4881,22 +4862,22 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_34); -lean_ctor_set(x_56, 1, x_52); -return x_56; +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_57; lean_object* x_58; -lean_dec(x_34); +lean_object* x_56; lean_object* x_57; +lean_dec(x_33); lean_inc(x_1); -x_57 = 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_52); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); +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_58; +x_12 = x_57; goto _start; } } @@ -6028,7 +6009,7 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_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_19 = lean_ctor_get(x_2, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_2, 1); @@ -6049,23 +6030,21 @@ lean_inc(x_26); lean_dec(x_19); x_27 = lean_ctor_get(x_3, 0); lean_inc(x_27); -x_28 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); lean_dec(x_26); -x_30 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_30, 0, x_27); -lean_ctor_set(x_30, 1, x_29); -lean_ctor_set_uint8(x_30, sizeof(void*)*2, x_28); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); lean_inc(x_1); -x_31 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_30, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); -x_32 = lean_ctor_get(x_31, 0); +x_30 = l_Lean_Elab_Tactic_mkInitialTacticInfo(x_1, x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg___lambda__1), 11, 1); -lean_closure_set(x_34, 0, x_32); +lean_dec(x_30); +x_33 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg___lambda__1), 11, 1); +lean_closure_set(x_33, 0, x_31); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -6073,8 +6052,8 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_35 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_25, x_34, x_30, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_33); -if (lean_obj_tag(x_35) == 0) +x_34 = l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__3(x_25, x_33, x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +if (lean_obj_tag(x_34) == 0) { lean_dec(x_20); lean_dec(x_10); @@ -6086,24 +6065,24 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -return x_35; +return x_34; } else { -uint8_t x_36; -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) { -lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_37 = lean_ctor_get(x_35, 0); -x_38 = lean_ctor_get(x_35, 1); -x_39 = l_List_isEmpty___rarg(x_20); -if (x_39 == 0) +lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +x_38 = l_List_isEmpty___rarg(x_20); +if (x_38 == 0) { -lean_free_object(x_35); -lean_dec(x_37); +lean_free_object(x_34); +lean_dec(x_36); x_2 = x_20; -x_11 = x_38; +x_11 = x_37; goto _start; } else @@ -6118,28 +6097,28 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -return x_35; +return x_34; } } else { -lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_41 = lean_ctor_get(x_35, 0); -x_42 = lean_ctor_get(x_35, 1); -lean_inc(x_42); +lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_40 = lean_ctor_get(x_34, 0); +x_41 = lean_ctor_get(x_34, 1); lean_inc(x_41); -lean_dec(x_35); -x_43 = l_List_isEmpty___rarg(x_20); -if (x_43 == 0) +lean_inc(x_40); +lean_dec(x_34); +x_42 = l_List_isEmpty___rarg(x_20); +if (x_42 == 0) { -lean_dec(x_41); +lean_dec(x_40); x_2 = x_20; -x_11 = x_42; +x_11 = x_41; goto _start; } else { -lean_object* x_45; +lean_object* x_44; lean_dec(x_20); lean_dec(x_10); lean_dec(x_9); @@ -6150,10 +6129,10 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_41); -lean_ctor_set(x_45, 1, x_42); -return x_45; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_40); +lean_ctor_set(x_44, 1, x_41); +return x_44; } } } @@ -13347,7 +13326,7 @@ lean_dec(x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2744____closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2719____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -13357,11 +13336,11 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2744_(lean_object* x_1) { +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2719_(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_2744____closed__1; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2719____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -13443,7 +13422,6 @@ l_Lean_Elab_Term_reportUnsolvedGoals___closed__7 = _init_l_Lean_Elab_Term_report lean_mark_persistent(l_Lean_Elab_Term_reportUnsolvedGoals___closed__7); l_Lean_Elab_Term_reportUnsolvedGoals___closed__8 = _init_l_Lean_Elab_Term_reportUnsolvedGoals___closed__8(); lean_mark_persistent(l_Lean_Elab_Term_reportUnsolvedGoals___closed__8); -l_Lean_Elab_Tactic_Context_inConv___default = _init_l_Lean_Elab_Tactic_Context_inConv___default(); l_Lean_Elab_Tactic_instInhabitedState = _init_l_Lean_Elab_Tactic_instInhabitedState(); lean_mark_persistent(l_Lean_Elab_Tactic_instInhabitedState); l_Lean_Elab_Tactic_instMonadTacticM___closed__1 = _init_l_Lean_Elab_Tactic_instMonadTacticM___closed__1(); @@ -13660,9 +13638,9 @@ l_Lean_Elab_Tactic_getFVarIds___boxed__const__1 = _init_l_Lean_Elab_Tactic_getFV lean_mark_persistent(l_Lean_Elab_Tactic_getFVarIds___boxed__const__1); 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_2744____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2744____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2744____closed__1); -res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2744_(lean_io_mk_world()); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2719____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2719____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2719____closed__1); +res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_2719_(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/Conv/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c index bb51e82682..6124f04431 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c @@ -25,16 +25,15 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_evalParen(lean_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_pruneSolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv(lean_object*); -lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__16; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___closed__4; lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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_evalParen___closed__3; -lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor___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_evalParen___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv___closed__4; lean_object* l_Lean_Elab_Tactic_Conv_changeLhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -43,26 +42,25 @@ lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_obje static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv___closed__1; lean_object* l_Lean_Elab_Tactic_Conv_changeLhs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_evalConv(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_Conv_getLhsRhs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeq___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_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_evalWhnf(lean_object*); -static lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_Conv_convert(lean_object*, 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_Conv_getLhsRhs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv___closed__1; lean_object* l_Lean_Elab_Tactic_Conv_convert_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___closed__2; lean_object* l_Lean_Meta_replaceTargetEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__6; +static lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___closed__1; -lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_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_mkConvGoalFor(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*); 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___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__15; @@ -75,23 +73,24 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv___closed__2; -static lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1___closed__2; static lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1___closed__4; +static lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__2; lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq___closed__4; lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Indented___closed__4; lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Indented___closed__2; lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1___closed__2; 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*); +lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__4; lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeq1Indented(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; lean_object* l_Lean_Elab_Tactic_Conv_evalSkip(lean_object*); +lean_object* l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__17; static lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1___closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Indented(lean_object*); @@ -104,7 +103,6 @@ lean_object* l_Lean_Elab_Tactic_saveState___rarg(lean_object*, lean_object*, lea lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___closed__3; static lean_object* l_Lean_Elab_Tactic_Conv_evalConv___closed__2; -static lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs___closed__1; lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv___closed__3; lean_object* l_Lean_Elab_Tactic_Conv_evalConv___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*); @@ -117,6 +115,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq___closed__2 static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Indented___closed__1; lean_object* l_Lean_Meta_mkEqTrans(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_evalSkip___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Conv_getLhsRhsCore___spec__1___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___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__1; @@ -125,12 +124,12 @@ lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_obje static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv___closed__3; lean_object* l_Lean_Elab_Tactic_Conv_evalWhnf___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen___closed__1; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__8; lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeq1Indented___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Conv_Basic_0__Lean_Elab_Tactic_Conv_convTarget(lean_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_updateLhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -140,6 +139,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__12; 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_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1___closed__5; +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Conv_getLhsRhsCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_evalWhnf___boxed(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -152,160 +152,150 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq___closed__5 lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_evalSkip___rarg___closed__1; lean_object* l_Lean_Elab_Tactic_Conv_evalConv___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_Conv_convert___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_Conv_evalConvSeq1Indented___closed__5; +lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore_match__1(lean_object*); lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_evalWhnf___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_convert_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_evalSkip___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq(lean_object*); +lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq___closed__3; lean_object* l_Lean_Elab_Tactic_Conv_evalNestedConv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_11; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); +lean_object* x_7; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); lean_inc(x_1); -x_11 = lean_infer_type(x_1, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) +x_7 = lean_infer_type(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_12); -x_15 = 0; -x_16 = lean_box(0); -lean_inc(x_6); -x_17 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_14, x_15, x_16, x_6, x_7, x_8, x_9, 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); -lean_inc(x_9); +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_8); +x_11 = 0; +x_12 = lean_box(0); +lean_inc(x_2); +x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_10, x_11, x_12, x_2, x_3, x_4, x_5, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_14); +x_16 = l_Lean_Meta_mkEq(x_1, x_14, x_2, x_3, x_4, x_5, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); -x_20 = l_Lean_Meta_mkEq(x_1, x_18, x_6, x_7, x_8, x_9, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_21, x_16, x_6, x_7, x_8, x_9, x_22); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_18); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_18); -lean_ctor_set(x_29, 1, x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -else -{ -uint8_t x_31; -lean_dec(x_18); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_31 = !lean_is_exclusive(x_20); -if (x_31 == 0) +lean_dec(x_16); +x_19 = l_Lean_mkLHSGoal(x_17); +x_20 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_19, x_12, x_2, x_3, x_4, x_5, x_18); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) { +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_14); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_20, 0, x_23); return x_20; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_20, 0); -x_33 = lean_ctor_get(x_20, 1); -lean_inc(x_33); -lean_inc(x_32); +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_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_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_14); +lean_ctor_set(x_26, 1, x_24); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } } else { -uint8_t x_35; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_35 = !lean_is_exclusive(x_11); -if (x_35 == 0) -{ -return x_11; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_11, 0); -x_37 = lean_ctor_get(x_11, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_11); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -} -lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +uint8_t x_28; +lean_dec(x_14); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +x_28 = !lean_is_exclusive(x_16); +if (x_28 == 0) +{ +return x_16; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_16, 0); +x_30 = lean_ctor_get(x_16, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_16); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_7); +if (x_32 == 0) +{ +return x_7; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_7, 0); +x_34 = lean_ctor_get(x_7, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_7); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} } } lean_object* l_Lean_Elab_Tactic_Conv_convert_match__1___rarg(lean_object* x_1, lean_object* x_2) { @@ -470,7 +460,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_12 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_1, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -482,7 +472,7 @@ lean_dec(x_12); x_15 = !lean_is_exclusive(x_13); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; x_16 = lean_ctor_get(x_13, 0); x_17 = lean_ctor_get(x_13, 1); x_18 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); @@ -500,15 +490,6 @@ x_24 = l_Lean_Elab_Tactic_setGoals(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10 x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); -x_26 = lean_ctor_get(x_3, 0); -x_27 = lean_ctor_get(x_3, 1); -x_28 = 1; -lean_inc(x_27); -lean_inc(x_26); -x_29 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_29, 0, x_26); -lean_ctor_set(x_29, 1, x_27); -lean_ctor_set_uint8(x_29, sizeof(void*)*2, x_28); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -516,103 +497,134 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_30 = lean_apply_9(x_2, x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_25); -if (lean_obj_tag(x_30) == 0) +lean_inc(x_3); +x_26 = lean_apply_9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_25); +if (lean_obj_tag(x_26) == 0) { -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_30, 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; +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = l_Lean_Elab_Tactic_pruneSolvedGoals(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); lean_dec(x_30); -x_32 = l_Lean_Elab_Tactic_pruneSolvedGoals(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_box(0); +x_33 = lean_box(0); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_38 = l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1(x_35, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36); -if (lean_obj_tag(x_38) == 0) +x_34 = l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1(x_31, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_40 = l_Lean_Elab_Tactic_setGoals(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_39); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = l_Lean_Elab_Tactic_setGoals(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_35); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); +lean_dec(x_3); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_42 = l_Lean_Meta_instantiateMVars(x_16, x_7, x_8, x_9, x_10, x_41); -if (lean_obj_tag(x_42) == 0) +x_38 = l_Lean_Meta_instantiateMVars(x_16, x_7, x_8, x_9, x_10, x_37); +if (lean_obj_tag(x_38) == 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_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l_Lean_Meta_instantiateMVars(x_17, x_7, x_8, x_9, x_10, x_40); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_41, 0); +lean_ctor_set(x_13, 1, x_43); +lean_ctor_set(x_13, 0, x_39); +lean_ctor_set(x_41, 0, x_13); +return x_41; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_41, 0); +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); lean_inc(x_44); -lean_dec(x_42); -x_45 = l_Lean_Meta_instantiateMVars(x_17, x_7, x_8, x_9, x_10, x_44); -if (lean_obj_tag(x_45) == 0) +lean_dec(x_41); +lean_ctor_set(x_13, 1, x_44); +lean_ctor_set(x_13, 0, x_39); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_13); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +else { -uint8_t x_46; -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) +uint8_t x_47; +lean_dec(x_39); +lean_free_object(x_13); +x_47 = !lean_is_exclusive(x_41); +if (x_47 == 0) { -lean_object* x_47; -x_47 = lean_ctor_get(x_45, 0); -lean_ctor_set(x_13, 1, x_47); -lean_ctor_set(x_13, 0, x_43); -lean_ctor_set(x_45, 0, x_13); -return x_45; +return x_41; } else { lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_45, 0); -x_49 = lean_ctor_get(x_45, 1); +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_45); -lean_ctor_set(x_13, 1, x_48); -lean_ctor_set(x_13, 0, x_43); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_13); +lean_dec(x_41); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); lean_ctor_set(x_50, 1, x_49); return x_50; } } +} else { uint8_t x_51; -lean_dec(x_43); lean_free_object(x_13); -x_51 = !lean_is_exclusive(x_45); +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_51 = !lean_is_exclusive(x_38); if (x_51 == 0) { -return x_45; +return x_38; } else { lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_45, 0); -x_53 = lean_ctor_get(x_45, 1); +x_52 = lean_ctor_get(x_38, 0); +x_53 = lean_ctor_get(x_38, 1); lean_inc(x_53); lean_inc(x_52); -lean_dec(x_45); +lean_dec(x_38); x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_52); lean_ctor_set(x_54, 1, x_53); @@ -622,45 +634,16 @@ return x_54; } else { -uint8_t x_55; -lean_free_object(x_13); -lean_dec(x_17); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_55 = !lean_is_exclusive(x_42); -if (x_55 == 0) -{ -return x_42; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_42, 0); -x_57 = lean_ctor_get(x_42, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_42); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_free_object(x_13); lean_dec(x_17); lean_dec(x_16); -x_59 = lean_ctor_get(x_38, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_38, 1); -lean_inc(x_60); -lean_dec(x_38); -x_61 = l_Lean_Elab_Tactic_setGoals(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_60); +x_55 = lean_ctor_get(x_34, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_34, 1); +lean_inc(x_56); +lean_dec(x_34); +x_57 = l_Lean_Elab_Tactic_setGoals(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_56); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -668,41 +651,42 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) +lean_dec(x_3); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) { -lean_object* x_63; -x_63 = lean_ctor_get(x_61, 0); -lean_dec(x_63); -lean_ctor_set_tag(x_61, 1); -lean_ctor_set(x_61, 0, x_59); +lean_object* x_59; +x_59 = lean_ctor_get(x_57, 0); +lean_dec(x_59); +lean_ctor_set_tag(x_57, 1); +lean_ctor_set(x_57, 0, x_55); +return x_57; +} +else +{ +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(1, 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_64; lean_object* x_65; -x_64 = lean_ctor_get(x_61, 1); -lean_inc(x_64); -lean_dec(x_61); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_59); -lean_ctor_set(x_65, 1, x_64); -return x_65; -} } } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_free_object(x_13); lean_dec(x_17); lean_dec(x_16); -x_66 = lean_ctor_get(x_30, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_30, 1); -lean_inc(x_67); -lean_dec(x_30); -x_68 = l_Lean_Elab_Tactic_setGoals(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_67); +x_62 = lean_ctor_get(x_26, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_26, 1); +lean_inc(x_63); +lean_dec(x_26); +x_64 = l_Lean_Elab_Tactic_setGoals(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_63); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -710,61 +694,53 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) +lean_dec(x_3); +x_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) { -lean_object* x_70; -x_70 = lean_ctor_get(x_68, 0); -lean_dec(x_70); -lean_ctor_set_tag(x_68, 1); -lean_ctor_set(x_68, 0, x_66); +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_71; lean_object* x_72; -x_71 = lean_ctor_get(x_68, 1); -lean_inc(x_71); -lean_dec(x_68); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_66); -lean_ctor_set(x_72, 1, x_71); -return x_72; -} } } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; -x_73 = lean_ctor_get(x_13, 0); -x_74 = lean_ctor_get(x_13, 1); -lean_inc(x_74); -lean_inc(x_73); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_69 = lean_ctor_get(x_13, 0); +x_70 = lean_ctor_get(x_13, 1); +lean_inc(x_70); +lean_inc(x_69); lean_dec(x_13); -x_75 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -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_mvarId_x21(x_74); -x_79 = lean_box(0); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Elab_Tactic_setGoals(x_80, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_77); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -x_83 = lean_ctor_get(x_3, 0); -x_84 = lean_ctor_get(x_3, 1); -x_85 = 1; -lean_inc(x_84); -lean_inc(x_83); -x_86 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_86, 0, x_83); -lean_ctor_set(x_86, 1, x_84); -lean_ctor_set_uint8(x_86, sizeof(void*)*2, x_85); +x_71 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +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 = l_Lean_Expr_mvarId_x21(x_70); +x_75 = lean_box(0); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Lean_Elab_Tactic_setGoals(x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_73); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -772,189 +748,152 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_87 = lean_apply_9(x_2, x_86, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_82); +lean_inc(x_3); +x_79 = lean_apply_9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_78); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec(x_79); +x_81 = l_Lean_Elab_Tactic_pruneSolvedGoals(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_80); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +lean_dec(x_81); +x_83 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_82); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_86 = lean_box(0); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_87 = l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1(x_84, x_86, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, 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; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; x_88 = lean_ctor_get(x_87, 1); lean_inc(x_88); lean_dec(x_87); -x_89 = l_Lean_Elab_Tactic_pruneSolvedGoals(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_88); +x_89 = l_Lean_Elab_Tactic_setGoals(x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_88); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); x_90 = lean_ctor_get(x_89, 1); lean_inc(x_90); lean_dec(x_89); -x_91 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_90); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_91 = l_Lean_Meta_instantiateMVars(x_69, x_7, x_8, x_9, x_10, x_90); +if (lean_obj_tag(x_91) == 0) +{ +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); -x_94 = lean_box(0); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_95 = l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1(x_92, x_94, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_93); -if (lean_obj_tag(x_95) == 0) +x_94 = l_Lean_Meta_instantiateMVars(x_70, x_7, x_8, x_9, x_10, x_93); +if (lean_obj_tag(x_94) == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_96 = lean_ctor_get(x_95, 1); +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); lean_inc(x_96); -lean_dec(x_95); -x_97 = l_Lean_Elab_Tactic_setGoals(x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_96); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_99 = l_Lean_Meta_instantiateMVars(x_73, x_7, x_8, x_9, x_10, x_98); -if (lean_obj_tag(x_99) == 0) +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_97 = x_94; +} else { + lean_dec_ref(x_94); + x_97 = lean_box(0); +} +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_92); +lean_ctor_set(x_98, 1, x_95); +if (lean_is_scalar(x_97)) { + x_99 = lean_alloc_ctor(0, 2, 0); +} else { + x_99 = x_97; +} +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_96); +return x_99; +} +else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_99, 0); +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_92); +x_100 = lean_ctor_get(x_94, 0); lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); +x_101 = lean_ctor_get(x_94, 1); lean_inc(x_101); -lean_dec(x_99); -x_102 = l_Lean_Meta_instantiateMVars(x_74, x_7, x_8, x_9, x_10, x_101); -if (lean_obj_tag(x_102) == 0) +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_102 = x_94; +} else { + lean_dec_ref(x_94); + x_102 = lean_box(0); +} +if (lean_is_scalar(x_102)) { + x_103 = lean_alloc_ctor(1, 2, 0); +} else { + x_103 = x_102; +} +lean_ctor_set(x_103, 0, x_100); +lean_ctor_set(x_103, 1, x_101); +return x_103; +} +} +else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_dec(x_70); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_104 = lean_ctor_get(x_91, 0); lean_inc(x_104); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_105 = x_102; +x_105 = lean_ctor_get(x_91, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_106 = x_91; } else { - lean_dec_ref(x_102); - x_105 = lean_box(0); + lean_dec_ref(x_91); + x_106 = lean_box(0); } -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_100); -lean_ctor_set(x_106, 1, x_103); -if (lean_is_scalar(x_105)) { - x_107 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_106)) { + x_107 = lean_alloc_ctor(1, 2, 0); } else { - x_107 = x_105; + x_107 = x_106; } -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_104); +lean_ctor_set(x_107, 0, x_104); +lean_ctor_set(x_107, 1, x_105); return x_107; } +} else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -lean_dec(x_100); -x_108 = lean_ctor_get(x_102, 0); +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_dec(x_70); +lean_dec(x_69); +x_108 = lean_ctor_get(x_87, 0); lean_inc(x_108); -x_109 = lean_ctor_get(x_102, 1); +x_109 = lean_ctor_get(x_87, 1); lean_inc(x_109); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_110 = x_102; -} else { - lean_dec_ref(x_102); - x_110 = lean_box(0); -} -if (lean_is_scalar(x_110)) { - x_111 = lean_alloc_ctor(1, 2, 0); -} else { - x_111 = x_110; -} -lean_ctor_set(x_111, 0, x_108); -lean_ctor_set(x_111, 1, x_109); -return x_111; -} -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec(x_74); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_112 = lean_ctor_get(x_99, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_99, 1); -lean_inc(x_113); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_114 = x_99; -} else { - lean_dec_ref(x_99); - x_114 = lean_box(0); -} -if (lean_is_scalar(x_114)) { - x_115 = lean_alloc_ctor(1, 2, 0); -} else { - x_115 = x_114; -} -lean_ctor_set(x_115, 0, x_112); -lean_ctor_set(x_115, 1, x_113); -return x_115; -} -} -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_dec(x_74); -lean_dec(x_73); -x_116 = lean_ctor_get(x_95, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_95, 1); -lean_inc(x_117); -lean_dec(x_95); -x_118 = l_Lean_Elab_Tactic_setGoals(x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_117); -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_119 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_120 = x_118; -} else { - lean_dec_ref(x_118); - x_120 = lean_box(0); -} -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(1, 2, 0); -} else { - x_121 = x_120; - lean_ctor_set_tag(x_121, 1); -} -lean_ctor_set(x_121, 0, x_116); -lean_ctor_set(x_121, 1, x_119); -return x_121; -} -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -lean_dec(x_74); -lean_dec(x_73); -x_122 = lean_ctor_get(x_87, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_87, 1); -lean_inc(x_123); lean_dec(x_87); -x_124 = l_Lean_Elab_Tactic_setGoals(x_76, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_123); +x_110 = l_Lean_Elab_Tactic_setGoals(x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_109); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -962,31 +901,72 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_126 = x_124; +lean_dec(x_3); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_112 = x_110; } else { - lean_dec_ref(x_124); - x_126 = lean_box(0); + lean_dec_ref(x_110); + x_112 = lean_box(0); } -if (lean_is_scalar(x_126)) { - x_127 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(1, 2, 0); } else { - x_127 = x_126; - lean_ctor_set_tag(x_127, 1); + x_113 = x_112; + lean_ctor_set_tag(x_113, 1); } -lean_ctor_set(x_127, 0, x_122); -lean_ctor_set(x_127, 1, x_125); -return x_127; +lean_ctor_set(x_113, 0, x_108); +lean_ctor_set(x_113, 1, x_111); +return x_113; +} +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_dec(x_70); +lean_dec(x_69); +x_114 = lean_ctor_get(x_79, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_79, 1); +lean_inc(x_115); +lean_dec(x_79); +x_116 = l_Lean_Elab_Tactic_setGoals(x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_115); +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_117 = lean_ctor_get(x_116, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_118 = x_116; +} else { + lean_dec_ref(x_116); + x_118 = lean_box(0); +} +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(1, 2, 0); +} else { + x_119 = x_118; + lean_ctor_set_tag(x_119, 1); +} +lean_ctor_set(x_119, 0, x_114); +lean_ctor_set(x_119, 1, x_117); +return x_119; } } } else { -uint8_t x_128; +uint8_t x_120; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -994,24 +974,25 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_128 = !lean_is_exclusive(x_12); -if (x_128 == 0) +x_120 = !lean_is_exclusive(x_12); +if (x_120 == 0) { return x_12; } else { -lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_129 = lean_ctor_get(x_12, 0); -x_130 = lean_ctor_get(x_12, 1); -lean_inc(x_130); -lean_inc(x_129); +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_12, 0); +x_122 = lean_ctor_get(x_12, 1); +lean_inc(x_122); +lean_inc(x_121); lean_dec(x_12); -x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -return x_131; +x_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; } } } @@ -1028,16 +1009,7 @@ lean_dec(x_3); return x_12; } } -lean_object* l_Lean_Elab_Tactic_Conv_convert___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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_Conv_convert(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_3); -return x_12; -} -} -lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1069,53 +1041,53 @@ return x_10; } } } -lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs_match__1(lean_object* x_1) { +lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_getLhsRhs_match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_getLhsRhsCore_match__1___rarg), 3, 0); return x_2; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Conv_getLhsRhs___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Conv_getLhsRhsCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_8, 3); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_6, x_7, x_8, x_9, x_10); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_4, 3); +x_8 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 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; +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_7); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set_tag(x_8, 1); +lean_ctor_set(x_8, 0, x_11); +return x_8; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_12, 0); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_12); -lean_inc(x_11); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_16); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; +lean_object* 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); +lean_inc(x_7); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } } } -static lean_object* _init_l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -1123,16 +1095,203 @@ x_1 = lean_mk_string("invalid 'conv' goal"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1___closed__1; +x_1 = l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_getMVarType(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_10 = l_Lean_Meta_matchEq_x3f(x_8, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__2; +x_14 = l_Lean_throwError___at_Lean_Elab_Tactic_Conv_getLhsRhsCore___spec__1(x_13, x_2, x_3, x_4, x_5, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_ctor_get(x_11, 0); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = !lean_is_exclusive(x_10); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_10, 0); +lean_dec(x_18); +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +lean_ctor_set(x_10, 0, x_16); +return x_10; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +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(0, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +lean_ctor_set(x_10, 0, x_22); +return x_10; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_10, 1); +lean_inc(x_23); +lean_dec(x_10); +x_24 = lean_ctor_get(x_16, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_16, 1); +lean_inc(x_25); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_26 = x_16; +} else { + lean_dec_ref(x_16); + x_26 = lean_box(0); +} +if (lean_is_scalar(x_26)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_26; +} +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_25); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_23); +return x_28; +} +} +} +else +{ +uint8_t x_29; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_29 = !lean_is_exclusive(x_10); +if (x_29 == 0) +{ +return x_10; +} +else +{ +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_dec(x_10); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +uint8_t x_33; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_33 = !lean_is_exclusive(x_7); +if (x_33 == 0) +{ +return x_7; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +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_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_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore(lean_object* x_1, lean_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_inc(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1), 6, 1); +lean_closure_set(x_7, 0, x_1); +x_8 = l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(x_1, x_7, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Conv_getLhsRhsCore___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Elab_Tactic_Conv_getLhsRhsCore___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_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; @@ -1140,11 +1299,7 @@ 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); -lean_inc(x_1); -x_10 = l_Lean_Elab_Tactic_getMainTarget(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +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; @@ -1153,263 +1308,93 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_13 = l_Lean_Meta_matchEq_x3f(x_11, x_5, x_6, x_7, x_8, x_12); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1___closed__2; -x_17 = l_Lean_throwError___at_Lean_Elab_Tactic_Conv_getLhsRhs___spec__1(x_16, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_18 = lean_ctor_get(x_14, 0); -lean_inc(x_18); -lean_dec(x_14); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = !lean_is_exclusive(x_13); -if (x_20 == 0) -{ -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_13, 0); -lean_dec(x_21); -x_22 = !lean_is_exclusive(x_19); -if (x_22 == 0) -{ -lean_ctor_set(x_13, 0, x_19); +x_13 = l_Lean_Elab_Tactic_Conv_getLhsRhsCore(x_11, x_5, x_6, x_7, x_8, x_12); return x_13; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_19, 0); -x_24 = lean_ctor_get(x_19, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_19); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -lean_ctor_set(x_13, 0, x_25); -return x_13; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_13, 1); -lean_inc(x_26); -lean_dec(x_13); -x_27 = lean_ctor_get(x_19, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - x_29 = x_19; -} else { - lean_dec_ref(x_19); - x_29 = lean_box(0); -} -if (lean_is_scalar(x_29)) { - x_30 = lean_alloc_ctor(0, 2, 0); -} else { - x_30 = x_29; -} -lean_ctor_set(x_30, 0, x_27); -lean_ctor_set(x_30, 1, 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_26); -return x_31; -} -} -} -else -{ -uint8_t x_32; +uint8_t x_14; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_32 = !lean_is_exclusive(x_13); -if (x_32 == 0) -{ -return x_13; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_13, 0); -x_34 = lean_ctor_get(x_13, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_13); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -uint8_t x_36; -lean_dec(x_8); -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_36 = !lean_is_exclusive(x_10); -if (x_36 == 0) +x_14 = !lean_is_exclusive(x_10); +if (x_14 == 0) { return x_10; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_10, 0); -x_38 = lean_ctor_get(x_10, 1); -lean_inc(x_38); -lean_inc(x_37); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 0); +x_16 = lean_ctor_get(x_10, 1); +lean_inc(x_16); +lean_inc(x_15); lean_dec(x_10); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +x_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; } } } } -static lean_object* _init_l_Lean_Elab_Tactic_Conv_getLhsRhs___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Tactic_Conv_getLhsRhs___closed__1; -x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Conv_getLhsRhs___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_Conv_getLhsRhs___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_object* l_Lean_Elab_Tactic_Conv_getLhs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Tactic_Conv_getLhsRhs___closed__1; -x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_Conv_getLhsRhs(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) { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -lean_dec(x_13); -lean_ctor_set(x_11, 0, x_14); -return x_11; +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); -lean_dec(x_11); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_inc(x_14); +lean_dec(x_10); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; } } else { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_11); -if (x_19 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) { -return x_11; +return x_10; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_11, 0); -x_21 = lean_ctor_get(x_11, 1); -lean_inc(x_21); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); lean_inc(x_20); -lean_dec(x_11); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; +lean_inc(x_19); +lean_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } @@ -1417,60 +1402,59 @@ return x_22; lean_object* l_Lean_Elab_Tactic_Conv_getRhs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Tactic_Conv_getLhsRhs___closed__1; -x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) +lean_object* x_10; +x_10 = l_Lean_Elab_Tactic_Conv_getLhsRhs(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) { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -lean_ctor_set(x_11, 0, x_14); -return x_11; +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); -lean_dec(x_11); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_inc(x_14); +lean_dec(x_10); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; } } else { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_11); -if (x_19 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) { -return x_11; +return x_10; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_11, 0); -x_21 = lean_ctor_get(x_11, 1); -lean_inc(x_21); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); lean_inc(x_20); -lean_dec(x_11); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; +lean_inc(x_19); +lean_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } @@ -1503,20 +1487,21 @@ lean_inc(x_7); x_15 = l_Lean_Meta_mkEq(x_1, x_13, x_7, x_8, x_9, x_10, x_14); if (lean_obj_tag(x_15) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_16 = lean_ctor_get(x_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_box(0); +x_18 = l_Lean_mkLHSGoal(x_16); +x_19 = lean_box(0); lean_inc(x_7); -x_19 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_16, x_18, x_7, x_8, x_9, x_10, x_17); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +x_20 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_18, x_19, x_7, x_8, x_9, x_10, x_17); +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -1525,47 +1510,47 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_22 = l_Lean_Elab_Tactic_getMainGoal(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Elab_Tactic_getMainGoal(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_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_22); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_20); -x_25 = l_Lean_Meta_mkEqTrans(x_2, x_20, x_7, x_8, x_9, x_10, x_24); -if (lean_obj_tag(x_25) == 0) +lean_inc(x_21); +x_26 = l_Lean_Meta_mkEqTrans(x_2, x_21, x_7, x_8, x_9, x_10, x_25); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_26 = lean_ctor_get(x_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; +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Meta_assignExprMVar(x_23, x_26, x_7, x_8, x_9, x_10, x_27); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec(x_28); -x_30 = l_Lean_Expr_mvarId_x21(x_20); -lean_dec(x_20); -x_31 = lean_box(0); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_Elab_Tactic_replaceMainGoal(x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); -return x_33; +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Meta_assignExprMVar(x_24, x_27, x_7, x_8, x_9, x_10, x_28); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = l_Lean_Expr_mvarId_x21(x_21); +lean_dec(x_21); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_Elab_Tactic_replaceMainGoal(x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_30); +return x_34; } else { -uint8_t x_34; -lean_dec(x_23); -lean_dec(x_20); +uint8_t x_35; +lean_dec(x_24); +lean_dec(x_21); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -1574,30 +1559,30 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_34 = !lean_is_exclusive(x_25); -if (x_34 == 0) +x_35 = !lean_is_exclusive(x_26); +if (x_35 == 0) { -return x_25; +return x_26; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_25, 0); -x_36 = lean_ctor_get(x_25, 1); +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_inc(x_35); -lean_dec(x_25); -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_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_38; -lean_dec(x_20); +uint8_t x_39; +lean_dec(x_21); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -1607,29 +1592,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_38 = !lean_is_exclusive(x_22); -if (x_38 == 0) +x_39 = !lean_is_exclusive(x_23); +if (x_39 == 0) { -return x_22; +return x_23; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_22, 0); -x_40 = lean_ctor_get(x_22, 1); +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_inc(x_39); -lean_dec(x_22); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_dec(x_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_42; +uint8_t x_43; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -1639,29 +1624,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_42 = !lean_is_exclusive(x_15); -if (x_42 == 0) +x_43 = !lean_is_exclusive(x_15); +if (x_43 == 0) { return x_15; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_15, 0); -x_44 = lean_ctor_get(x_15, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_15, 0); +x_45 = lean_ctor_get(x_15, 1); +lean_inc(x_45); lean_inc(x_44); -lean_inc(x_43); lean_dec(x_15); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } else { -uint8_t x_46; +uint8_t x_47; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -1672,23 +1657,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_46 = !lean_is_exclusive(x_12); -if (x_46 == 0) +x_47 = !lean_is_exclusive(x_12); +if (x_47 == 0) { return x_12; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_12, 0); -x_48 = lean_ctor_get(x_12, 1); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_12, 0); +x_49 = lean_ctor_get(x_12, 1); +lean_inc(x_49); lean_inc(x_48); -lean_inc(x_47); lean_dec(x_12); -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; +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; } } } @@ -1721,35 +1706,36 @@ lean_inc(x_7); x_15 = l_Lean_Meta_mkEq(x_1, x_2, 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_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); +x_18 = l_Lean_mkLHSGoal(x_16); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_18 = l_Lean_Meta_replaceTargetDefEq(x_13, x_16, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_18) == 0) +x_19 = l_Lean_Meta_replaceTargetDefEq(x_13, x_18, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_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); -lean_dec(x_18); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_19); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Elab_Tactic_replaceMainGoal(x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); -return x_23; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_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); +return x_24; } else { -uint8_t x_24; +uint8_t x_25; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -1758,29 +1744,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_24 = !lean_is_exclusive(x_18); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) { -return x_18; +return x_19; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_18, 0); -x_26 = lean_ctor_get(x_18, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_18); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_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_28; +uint8_t x_29; lean_dec(x_13); lean_dec(x_10); lean_dec(x_9); @@ -1790,29 +1776,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_28 = !lean_is_exclusive(x_15); -if (x_28 == 0) +x_29 = !lean_is_exclusive(x_15); +if (x_29 == 0) { return x_15; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_15, 0); -x_30 = lean_ctor_get(x_15, 1); +lean_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_inc(x_30); -lean_inc(x_29); lean_dec(x_15); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } } else { -uint8_t x_32; +uint8_t x_33; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -1823,23 +1809,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_32 = !lean_is_exclusive(x_12); -if (x_32 == 0) +x_33 = !lean_is_exclusive(x_12); +if (x_33 == 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_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_inc(x_35); lean_inc(x_34); -lean_inc(x_33); lean_dec(x_12); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +x_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; } } } @@ -2892,6 +2878,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); +lean_inc(x_2); x_15 = l_Lean_Elab_Tactic_Conv_convert(x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); if (lean_obj_tag(x_15) == 0) { @@ -3229,12 +3216,10 @@ l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1___closed__4 = _in lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1___closed__4); l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1___closed__5 = _init_l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1___closed__5(); lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1___closed__5); -l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1___closed__1); -l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1___closed__2); -l_Lean_Elab_Tactic_Conv_getLhsRhs___closed__1 = _init_l_Lean_Elab_Tactic_Conv_getLhsRhs___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_Conv_getLhsRhs___closed__1); +l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__1); +l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__2); l_Lean_Elab_Tactic_Conv_evalSkip___rarg___closed__1 = _init_l_Lean_Elab_Tactic_Conv_evalSkip___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalSkip___rarg___closed__1); l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c index 39ad277338..e99a4849ff 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c @@ -15,114 +15,142 @@ extern "C" { #endif lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__6; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkSort(lean_object*); -static lean_object* l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__3; -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__11; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__23; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___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_name_mk_string(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__3; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__12; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__17; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__4; +static lean_object* l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__5; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isArrow(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2___closed__1; +lean_object* l_Lean_Elab_Tactic_Conv_evalLhs_match__1(lean_object*); +static lean_object* l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__3; +lean_object* l_Lean_Elab_Tactic_Conv_congr_match__1___rarg(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__21; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__8; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___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* l_Lean_Elab_Tactic_Conv_evalCongr___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_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__1; uint8_t l_Lean_Expr_isApp(lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__5; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__7; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__16; -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_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1(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_Elab_Tactic_Conv_congr___lambda__1___closed__1; +lean_object* l_Lean_Elab_Tactic_Conv_evalLhs_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_evalCongr(lean_object*); -static lean_object* l_Lean_Elab_Tactic_Conv_evalCongr___rarg___closed__1; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__15; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__18; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2___closed__1; lean_object* l_Lean_Meta_Simp_Result_getProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___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* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__3; +lean_object* l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_Conv_evalCongr_match__1(lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__1; +lean_object* l_Lean_Elab_Tactic_Conv_congr_match__1(lean_object*); +lean_object* l_Lean_Elab_Tactic_Conv_congr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__7; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__5; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___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_Lean_Elab_Tactic_Conv_congr___spec__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__15; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__14; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__6; lean_object* l_Lean_Elab_Tactic_Conv_evalCongr___rarg(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_Conv_evalCongr___spec__1___closed__4; +lean_object* l_Lean_Elab_Tactic_Conv_evalLhs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_Conv_evalRhs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_applyRefl(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_Conv_congr___spec__1___closed__15; lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__17; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__10; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__18; +lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs(lean_object*); +lean_object* l_Lean_Elab_Tactic_Conv_congr_match__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__11; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__22; lean_object* l_Lean_Meta_Simp_mkCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(lean_object*, lean_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_evalLhs___rarg___closed__1; +lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__7; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__24; +static lean_object* l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__5; lean_object* l_Nat_repr(lean_object*); -lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_evalCongr___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_evalCongr___spec__2___closed__1; +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___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__1; +lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_congr___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_congr___spec__2___closed__1; lean_object* lean_array_to_list(lean_object*, lean_object*); -lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_evalCongr___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* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__22; -lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__19; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__2; +static lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__2; +lean_object* l_Lean_Elab_Tactic_Conv_congr_match__2___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__12; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__14; +lean_object* l_Lean_Elab_Tactic_Conv_evalRhs(lean_object*); size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2(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_evalTacticAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(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_Conv_congr___spec__1___closed__16; extern lean_object* l_Lean_Meta_instInhabitedParamInfo; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__2; +lean_object* l_Lean_Elab_Tactic_Conv_evalLhs(lean_object*); lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__2; lean_object* l_Lean_Elab_Tactic_Conv_evalCongr___boxed(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__20; lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__9; -static lean_object* l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__1___closed__1; lean_object* l_Lean_Meta_Simp_mkCongrFun(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_Conv_evalCongr___spec__1___closed__8; +lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_congr___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_evalCongr___closed__4; +lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__4; +static lean_object* l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__1; +static lean_object* l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__2; +static lean_object* l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__1; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__12; lean_object* l_Lean_Meta_getFunInfoNArgs(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_Conv_evalCongr___spec__1___closed__16; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__13; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__5; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__10; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__13; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__20; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__3; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__11; lean_object* lean_mk_array(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_Conv_evalCongr___rarg___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_Conv_evalCongr___closed__13; lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_withIncRecDepth___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__24; -static lean_object* l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__2; lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__1; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__6; -lean_object* l_Lean_Elab_Tactic_Conv_evalCongr_match__2(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__14; -lean_object* l_Lean_Elab_Tactic_Conv_evalCongr_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__3; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__19; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__8; -lean_object* l_Lean_Elab_Tactic_Conv_evalCongr_match__2___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__1; +lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__21; +lean_object* l_Lean_Elab_Tactic_Conv_evalRhs___boxed(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__9; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__23; -lean_object* l_Lean_Elab_Tactic_Conv_evalCongr_match__1___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_Tactic_Conv_congr_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -135,15 +163,15 @@ x_5 = lean_apply_2(x_2, x_3, x_4); return x_5; } } -lean_object* l_Lean_Elab_Tactic_Conv_evalCongr_match__1(lean_object* x_1) { +lean_object* l_Lean_Elab_Tactic_Conv_congr_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalCongr_match__1___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_congr_match__1___rarg), 2, 0); return x_2; } } -lean_object* l_Lean_Elab_Tactic_Conv_evalCongr_match__2___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Elab_Tactic_Conv_congr_match__2___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -161,185 +189,173 @@ x_7 = lean_apply_3(x_2, x_4, x_5, x_6); return x_7; } } -lean_object* l_Lean_Elab_Tactic_Conv_evalCongr_match__2(lean_object* x_1) { +lean_object* l_Lean_Elab_Tactic_Conv_congr_match__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalCongr_match__2___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_congr_match__2___rarg), 2, 0); return x_2; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_14 = lean_unsigned_to_nat(1u); -x_15 = lean_nat_add(x_3, x_14); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_2); -lean_ctor_set(x_16, 1, x_15); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_13); -return x_19; +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_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_3, x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_2); +lean_ctor_set(x_12, 1, x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_9); +return x_15; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__1___boxed), 13, 0); +x_1 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__1___boxed), 9, 0); return x_1; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_15; -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2___closed__1; +lean_object* x_11; +x_11 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2___closed__1; if (x_5 == 0) { -lean_object* x_16; -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_16 = l_Lean_Meta_Simp_mkCongrFun(x_3, x_1, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_16) == 0) +lean_object* x_12; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_12 = l_Lean_Meta_Simp_mkCongrFun(x_3, x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 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_box(0); -x_20 = lean_apply_13(x_15, x_2, x_17, x_4, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_18); -return x_20; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_box(0); +x_16 = lean_apply_9(x_11, x_2, x_13, x_4, x_15, x_6, x_7, x_8, x_9, x_14); +return x_16; } else { -uint8_t x_21; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +uint8_t x_17; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_21 = !lean_is_exclusive(x_16); -if (x_21 == 0) +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) { -return x_16; +return x_12; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_16, 0); -x_23 = lean_ctor_get(x_16, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_16); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -else -{ -lean_object* x_25; -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_25 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -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; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_ctor_get(x_26, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); -lean_dec(x_26); -x_30 = l_Lean_Expr_mvarId_x21(x_29); -x_31 = lean_array_push(x_2, x_30); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_29); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_28); -lean_ctor_set(x_33, 1, x_32); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_34 = l_Lean_Meta_Simp_mkCongr(x_3, x_33, x_10, x_11, x_12, x_13, x_27); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -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_box(0); -x_38 = lean_apply_13(x_15, x_31, x_35, x_4, x_37, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_36); -return x_38; -} -else -{ -uint8_t x_39; -lean_dec(x_31); -lean_dec(x_13); +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); -lean_dec(x_11); -lean_dec(x_10); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +else +{ +lean_object* x_21; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_21 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_1, x_6, x_7, x_8, x_9, x_10); +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; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = l_Lean_Expr_mvarId_x21(x_25); +x_27 = lean_array_push(x_2, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_25); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_24); +lean_ctor_set(x_29, 1, x_28); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_30 = l_Lean_Meta_Simp_mkCongr(x_3, x_29, x_6, x_7, x_8, x_9, x_23); +if (lean_obj_tag(x_30) == 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_inc(x_32); +lean_dec(x_30); +x_33 = lean_box(0); +x_34 = lean_apply_9(x_11, x_27, x_31, x_4, x_33, x_6, x_7, x_8, x_9, x_32); +return x_34; +} +else +{ +uint8_t x_35; +lean_dec(x_27); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); -x_39 = !lean_is_exclusive(x_34); -if (x_39 == 0) +x_35 = !lean_is_exclusive(x_30); +if (x_35 == 0) { -return x_34; +return x_30; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_34, 0); -x_41 = lean_ctor_get(x_34, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_34); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_30, 0); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_30); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } else { -uint8_t x_43; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +uint8_t x_39; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -347,80 +363,76 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_43 = !lean_is_exclusive(x_25); -if (x_43 == 0) +x_39 = !lean_is_exclusive(x_21); +if (x_39 == 0) { -return x_25; +return x_21; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_25, 0); -x_45 = lean_ctor_get(x_25, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_25); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_21, 0); +x_41 = lean_ctor_get(x_21, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_21); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___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_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___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_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_16; uint8_t x_17; +lean_object* x_12; uint8_t x_13; lean_dec(x_6); -x_16 = lean_array_get_size(x_2); -x_17 = lean_nat_dec_lt(x_5, x_16); -lean_dec(x_16); -if (x_17 == 0) +x_12 = lean_array_get_size(x_2); +x_13 = lean_nat_dec_lt(x_5, x_12); +lean_dec(x_12); +if (x_13 == 0) { -lean_object* x_18; lean_object* x_19; +lean_object* x_14; lean_object* x_15; lean_dec(x_2); -x_18 = lean_ctor_get(x_4, 0); -lean_inc(x_18); +x_14 = lean_ctor_get(x_4, 0); lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_19 = lean_infer_type(x_18, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_19) == 0) +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_15 = lean_infer_type(x_14, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_19, 0); +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_18 = l_Lean_Meta_whnfD(x_16, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; 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); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); +lean_dec(x_18); +x_21 = l_Lean_Expr_isArrow(x_19); lean_dec(x_19); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_22 = l_Lean_Meta_whnfD(x_20, x_11, x_12, x_13, x_14, x_21); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Expr_isArrow(x_23); -lean_dec(x_23); -x_26 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2(x_1, x_3, x_4, x_5, x_25, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); -return x_26; +x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2(x_1, x_3, x_4, x_5, x_21, x_7, x_8, x_9, x_10, x_20); +return x_22; } else { -uint8_t x_27; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); +uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -429,19 +441,50 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_22); +x_23 = !lean_is_exclusive(x_18); +if (x_23 == 0) +{ +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_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_15); if (x_27 == 0) { -return x_22; +return x_15; } else { lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_22, 0); -x_29 = lean_ctor_get(x_22, 1); +x_28 = lean_ctor_get(x_15, 0); +x_29 = lean_ctor_get(x_15, 1); lean_inc(x_29); lean_inc(x_28); -lean_dec(x_22); +lean_dec(x_15); x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); @@ -451,118 +494,110 @@ return x_30; } else { -uint8_t x_31; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_31 = !lean_is_exclusive(x_19); -if (x_31 == 0) -{ -return x_19; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_19, 0); -x_33 = lean_ctor_get(x_19, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_19); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_35 = l_Lean_Meta_instInhabitedParamInfo; -x_36 = lean_array_get(x_35, x_2, x_5); +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = l_Lean_Meta_instInhabitedParamInfo; +x_32 = lean_array_get(x_31, x_2, x_5); lean_dec(x_2); -x_37 = lean_ctor_get_uint8(x_36, sizeof(void*)*1 + 1); -lean_dec(x_36); -if (x_37 == 0) +x_33 = lean_ctor_get_uint8(x_32, sizeof(void*)*1 + 1); +lean_dec(x_32); +if (x_33 == 0) { -uint8_t x_38; lean_object* x_39; -x_38 = 1; -x_39 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2(x_1, x_3, x_4, x_5, x_38, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_39; +uint8_t x_34; lean_object* x_35; +x_34 = 1; +x_35 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2(x_1, x_3, x_4, x_5, x_34, x_7, x_8, x_9, x_10, x_11); +return x_35; } else { -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_4, 0); -lean_inc(x_40); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_41 = lean_infer_type(x_40, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_41) == 0) +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_4, 0); +lean_inc(x_36); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_37 = lean_infer_type(x_36, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_41, 0); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +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); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_40 = l_Lean_Meta_whnfD(x_38, x_7, x_8, x_9, x_10, x_39); +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); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); +lean_dec(x_40); +x_43 = l_Lean_Expr_isArrow(x_41); lean_dec(x_41); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_44 = l_Lean_Meta_whnfD(x_42, x_11, x_12, x_13, x_14, x_43); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l_Lean_Expr_isArrow(x_45); -lean_dec(x_45); -x_48 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2(x_1, x_3, x_4, x_5, x_47, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_46); -return x_48; -} -else -{ -uint8_t x_49; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_49 = !lean_is_exclusive(x_44); -if (x_49 == 0) -{ +x_44 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2(x_1, x_3, x_4, x_5, x_43, x_7, x_8, x_9, x_10, x_42); return x_44; } else { +uint8_t x_45; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_45 = !lean_is_exclusive(x_40); +if (x_45 == 0) +{ +return x_40; +} +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; +} +} +} +else +{ +uint8_t x_49; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_49 = !lean_is_exclusive(x_37); +if (x_49 == 0) +{ +return x_37; +} +else +{ lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_44, 0); -x_51 = lean_ctor_get(x_44, 1); +x_50 = lean_ctor_get(x_37, 0); +x_51 = lean_ctor_get(x_37, 1); lean_inc(x_51); lean_inc(x_50); -lean_dec(x_44); +lean_dec(x_37); x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); @@ -570,45 +605,10 @@ return x_52; } } } -else -{ -uint8_t x_53; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_53 = !lean_is_exclusive(x_41); -if (x_53 == 0) -{ -return x_41; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_41, 0); -x_55 = lean_ctor_get(x_41, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_41); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; } } } -} -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__1() { _start: { lean_object* x_1; @@ -616,17 +616,17 @@ x_1 = lean_mk_string("Debug"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__1; +x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__3() { _start: { lean_object* x_1; @@ -634,17 +634,17 @@ x_1 = lean_mk_string("Meta"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__2; -x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__3; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__2; +x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__5() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__5() { _start: { lean_object* x_1; @@ -652,17 +652,17 @@ x_1 = lean_mk_string("Tactic"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__6() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__4; -x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__5; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__4; +x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__7() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__7() { _start: { lean_object* x_1; @@ -670,17 +670,17 @@ x_1 = lean_mk_string("simp"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__8() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__6; -x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__7; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__6; +x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__9() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__9() { _start: { lean_object* x_1; @@ -688,16 +688,16 @@ x_1 = lean_mk_string("app ["); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__10() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__9; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__9; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__11() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__11() { _start: { lean_object* x_1; @@ -705,16 +705,16 @@ x_1 = lean_mk_string("] "); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__12() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__11; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__11; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__13() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__13() { _start: { lean_object* x_1; @@ -722,16 +722,16 @@ x_1 = lean_mk_string(" "); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__14() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__13; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__13; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__15() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__15() { _start: { lean_object* x_1; @@ -739,16 +739,16 @@ x_1 = lean_mk_string(" hasFwdDeps: "); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__16() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__15; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__15; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__17() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__17() { _start: { lean_object* x_1; @@ -756,16 +756,16 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__18() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__17; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__17; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__19() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__19() { _start: { lean_object* x_1; @@ -773,27 +773,27 @@ x_1 = lean_mk_string("false"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__20() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__19; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__21() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__20; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__20; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__22() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__22() { _start: { lean_object* x_1; @@ -801,379 +801,347 @@ x_1 = lean_mk_string("true"); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__23() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__23() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__22; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__22; 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_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__24() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__23; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__23; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___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, lean_object* x_13, lean_object* x_14) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_15; -x_15 = x_4 < x_3; -if (x_15 == 0) +uint8_t x_11; +x_11 = x_4 < x_3; +if (x_11 == 0) { -lean_object* x_16; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +lean_object* x_12; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_5); -lean_ctor_set(x_16, 1, x_14); -return x_16; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_5); +lean_ctor_set(x_12, 1, x_10); +return x_12; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_17 = lean_array_uget(x_2, x_4); -x_27 = lean_ctor_get(x_5, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_5, 1); -lean_inc(x_28); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_13 = lean_array_uget(x_2, x_4); +x_23 = lean_ctor_get(x_5, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_5, 1); +lean_inc(x_24); lean_dec(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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__8; -x_92 = lean_st_ref_get(x_13, x_14); -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_93, 3); -lean_inc(x_94); -lean_dec(x_93); -x_95 = lean_ctor_get_uint8(x_94, sizeof(void*)*1); -lean_dec(x_94); -if (x_95 == 0) +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__8; +x_88 = lean_st_ref_get(x_9, x_10); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_89, 3); +lean_inc(x_90); +lean_dec(x_89); +x_91 = lean_ctor_get_uint8(x_90, sizeof(void*)*1); +lean_dec(x_90); +if (x_91 == 0) { -lean_object* x_96; uint8_t x_97; -x_96 = lean_ctor_get(x_92, 1); -lean_inc(x_96); -lean_dec(x_92); -x_97 = 0; -x_32 = x_97; -x_33 = x_96; -goto block_91; +lean_object* x_92; uint8_t x_93; +x_92 = lean_ctor_get(x_88, 1); +lean_inc(x_92); +lean_dec(x_88); +x_93 = 0; +x_28 = x_93; +x_29 = x_92; +goto block_87; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; -x_98 = lean_ctor_get(x_92, 1); -lean_inc(x_98); -lean_dec(x_92); -x_99 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_98); -x_100 = lean_ctor_get(x_99, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); -lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_unbox(x_100); -lean_dec(x_100); -x_32 = x_102; -x_33 = x_101; -goto block_91; +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_94 = lean_ctor_get(x_88, 1); +lean_inc(x_94); +lean_dec(x_88); +x_95 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_27, x_6, x_7, x_8, x_9, x_94); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = lean_unbox(x_96); +lean_dec(x_96); +x_28 = x_98; +x_29 = x_97; +goto block_87; } -block_26: +block_22: { -if (lean_obj_tag(x_18) == 0) +if (lean_obj_tag(x_14) == 0) { -lean_object* x_20; lean_object* x_21; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +lean_object* x_16; lean_object* x_17; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; } else { -lean_object* x_22; size_t x_23; size_t x_24; -x_22 = lean_ctor_get(x_18, 0); -lean_inc(x_22); -lean_dec(x_18); -x_23 = 1; -x_24 = x_4 + x_23; -x_4 = x_24; -x_5 = x_22; -x_14 = x_19; +lean_object* x_18; size_t x_19; size_t x_20; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_19 = 1; +x_20 = x_4 + x_19; +x_4 = x_20; +x_5 = x_18; +x_10 = x_15; goto _start; } } -block_91: +block_87: { -if (x_32 == 0) +if (x_28 == 0) { -lean_object* x_34; lean_object* x_35; -x_34 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); +lean_object* x_30; lean_object* x_31; +x_30 = 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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__3(x_17, x_1, x_27, x_29, x_30, x_34, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_33); -if (lean_obj_tag(x_35) == 0) +x_31 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__3(x_13, x_1, x_23, x_25, x_26, x_30, x_6, x_7, x_8, x_9, x_29); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_36; lean_object* x_37; -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_18 = x_36; -x_19 = x_37; -goto block_26; +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_inc(x_33); +lean_dec(x_31); +x_14 = x_32; +x_15 = x_33; +goto block_22; } else { -uint8_t x_38; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +uint8_t x_34; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_35); -if (x_38 == 0) +x_34 = !lean_is_exclusive(x_31); +if (x_34 == 0) { -return x_35; +return x_31; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_35, 0); -x_40 = lean_ctor_get(x_35, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_35); -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_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); +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; } } } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -lean_inc(x_30); -x_42 = l_Nat_repr(x_30); -x_43 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_43, 0, x_42); -x_44 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_45 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__10; -x_46 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__12; -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_array_get_size(x_1); -x_50 = l_Nat_repr(x_49); -x_51 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_51, 0, x_50); -x_52 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_52, 0, x_51); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +lean_inc(x_26); +x_38 = l_Nat_repr(x_26); +x_39 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_39, 0, x_38); +x_40 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__10; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__12; +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_array_get_size(x_1); +x_46 = l_Nat_repr(x_45); +x_47 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_44); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__14; +x_51 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +lean_inc(x_13); +x_52 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_52, 0, x_13); x_53 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_53, 0, x_48); +lean_ctor_set(x_53, 0, x_51); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__14; +x_54 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__16; x_55 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_55, 0, x_53); lean_ctor_set(x_55, 1, x_54); -lean_inc(x_17); -x_56 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_56, 0, x_17); -x_57 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__16; -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_Lean_Meta_instInhabitedParamInfo; -x_61 = lean_array_get(x_60, x_1, x_30); -x_62 = lean_ctor_get_uint8(x_61, sizeof(void*)*1 + 1); -lean_dec(x_61); -if (x_62 == 0) +x_56 = l_Lean_Meta_instInhabitedParamInfo; +x_57 = lean_array_get(x_56, x_1, x_26); +x_58 = lean_ctor_get_uint8(x_57, sizeof(void*)*1 + 1); +lean_dec(x_57); +if (x_58 == 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; -x_63 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__21; -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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__18; -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_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_31, x_66, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_33); -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_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_59 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__21; +x_60 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_60, 0, x_55); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__18; +x_62 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_27, x_62, x_6, x_7, x_8, x_9, x_29); +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_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_70 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__3(x_17, x_1, x_27, x_29, x_30, x_68, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_69); -if (lean_obj_tag(x_70) == 0) +x_66 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__3(x_13, x_1, x_23, x_25, x_26, x_64, x_6, x_7, x_8, x_9, x_65); +if (lean_obj_tag(x_66) == 0) { -lean_object* x_71; lean_object* x_72; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_18 = x_71; -x_19 = x_72; -goto block_26; +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_14 = x_67; +x_15 = x_68; +goto block_22; } else { -uint8_t x_73; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +uint8_t x_69; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_73 = !lean_is_exclusive(x_70); -if (x_73 == 0) +x_69 = !lean_is_exclusive(x_66); +if (x_69 == 0) { -return x_70; +return x_66; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_70, 0); -x_75 = lean_ctor_get(x_70, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_70); -x_76 = lean_alloc_ctor(1, 2, 0); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_66, 0); +x_71 = lean_ctor_get(x_66, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_66); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_73 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__24; +x_74 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_74, 0, x_55); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__18; +x_76 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_76, 0, x_74); lean_ctor_set(x_76, 1, x_75); -return x_76; -} -} -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_77 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__24; -x_78 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_78, 0, x_59); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__18; -x_80 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_addTrace___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3(x_31, x_80, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_33); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); +x_77 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_27, x_76, x_6, x_7, x_8, x_9, x_29); +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); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_84 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__3(x_17, x_1, x_27, x_29, x_30, x_82, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_83); -if (lean_obj_tag(x_84) == 0) +x_80 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__3(x_13, x_1, x_23, x_25, x_26, x_78, x_6, x_7, x_8, x_9, x_79); +if (lean_obj_tag(x_80) == 0) { -lean_object* x_85; lean_object* x_86; -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_18 = x_85; -x_19 = x_86; -goto block_26; +lean_object* x_81; lean_object* x_82; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +x_14 = x_81; +x_15 = x_82; +goto block_22; } else { -uint8_t x_87; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +uint8_t x_83; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_87 = !lean_is_exclusive(x_84); -if (x_87 == 0) +x_83 = !lean_is_exclusive(x_80); +if (x_83 == 0) { -return x_84; +return x_80; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_84, 0); -x_89 = lean_ctor_get(x_84, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_84); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_80, 0); +x_85 = lean_ctor_get(x_80, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_80); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; } } } @@ -1182,7 +1150,7 @@ return x_90; } } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_evalCongr___spec__2___closed__1() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_congr___spec__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -1191,271 +1159,228 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_evalCongr___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* l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_congr___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: { -if (lean_obj_tag(x_2) == 5) +if (lean_obj_tag(x_3) == 5) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_2, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_2, 1); -lean_inc(x_15); -lean_dec(x_2); -x_16 = lean_array_set(x_3, x_4, x_15); -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_sub(x_4, x_17); -lean_dec(x_4); -x_2 = x_14; -x_3 = x_16; -x_4 = x_18; +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_3, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_dec(x_3); +x_13 = lean_array_set(x_4, x_5, x_12); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_sub(x_5, x_14); +lean_dec(x_5); +x_3 = x_11; +x_4 = x_13; +x_5 = x_15; goto _start; } else { -lean_object* x_20; lean_object* x_21; -lean_dec(x_4); -x_20 = lean_array_get_size(x_3); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); +lean_object* x_17; lean_object* x_18; +lean_dec(x_5); +x_17 = lean_array_get_size(x_4); lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_17); +lean_inc(x_3); +x_18 = l_Lean_Meta_getFunInfoNArgs(x_3, x_17, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; +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_inc(x_2); -x_21 = l_Lean_Meta_getFunInfoNArgs(x_2, x_20, x_9, x_10, x_11, x_12, x_13); -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; size_t x_31; size_t x_32; lean_object* x_33; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_box(0); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_2); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_unsigned_to_nat(0u); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_evalCongr___spec__2___closed__1; -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_31 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_32 = 0; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); +lean_dec(x_18); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_3); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_unsigned_to_nat(0u); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_congr___spec__2___closed__1; +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +x_28 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_29 = 0; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_33 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1(x_24, x_3, x_31, x_32, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_23); -lean_dec(x_3); -if (lean_obj_tag(x_33) == 0) +x_30 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1(x_21, x_4, x_28, x_29, x_27, x_6, x_7, x_8, x_9, x_20); +lean_dec(x_4); +if (lean_obj_tag(x_30) == 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; -x_34 = lean_ctor_get(x_33, 0); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = lean_ctor_get(x_31, 0); lean_inc(x_34); -x_35 = lean_ctor_get(x_34, 1); +lean_dec(x_31); +x_35 = lean_ctor_get(x_32, 0); lean_inc(x_35); -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -x_37 = lean_ctor_get(x_34, 0); -lean_inc(x_37); -lean_dec(x_34); -x_38 = lean_ctor_get(x_35, 0); -lean_inc(x_38); -lean_dec(x_35); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_38); -x_39 = l_Lean_Meta_Simp_Result_getProof(x_38, x_9, x_10, x_11, x_12, x_36); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Expr_mvarId_x21(x_1); -x_43 = lean_ctor_get(x_38, 0); -lean_inc(x_43); -lean_dec(x_38); -x_44 = l_Lean_Meta_assignExprMVar(x_42, x_43, x_9, x_10, x_11, x_12, x_41); -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -lean_dec(x_44); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); +lean_dec(x_32); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_46 = l_Lean_Elab_Tactic_getMainGoal(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_45); -if (lean_obj_tag(x_46) == 0) +lean_inc(x_35); +x_36 = l_Lean_Meta_Simp_Result_getProof(x_35, x_6, x_7, x_8, x_9, x_33); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_47 = lean_ctor_get(x_46, 0); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_37 = lean_ctor_get(x_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_mvarId_x21(x_2); +x_40 = lean_ctor_get(x_35, 0); +lean_inc(x_40); +lean_dec(x_35); +x_41 = l_Lean_Meta_assignExprMVar(x_39, x_40, x_6, x_7, x_8, x_9, x_38); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = l_Lean_Meta_assignExprMVar(x_1, x_37, x_6, x_7, x_8, x_9, x_42); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +x_46 = lean_array_to_list(lean_box(0), x_34); +lean_ctor_set(x_43, 0, x_46); +return x_43; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_43, 1); lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Lean_Meta_assignExprMVar(x_47, x_40, x_9, x_10, x_11, x_12, x_48); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_array_to_list(lean_box(0), x_37); -x_52 = l_Lean_Elab_Tactic_replaceMainGoal(x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_50); -return x_52; +lean_dec(x_43); +x_48 = lean_array_to_list(lean_box(0), x_34); +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_53; -lean_dec(x_40); -lean_dec(x_37); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +uint8_t x_50; +lean_dec(x_35); +lean_dec(x_34); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_53 = !lean_is_exclusive(x_46); -if (x_53 == 0) +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_36); +if (x_50 == 0) { -return x_46; +return x_36; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_46, 0); -x_55 = lean_ctor_get(x_46, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_36, 0); +x_52 = lean_ctor_get(x_36, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_36); +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_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_54 = !lean_is_exclusive(x_30); +if (x_54 == 0) +{ +return x_30; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_30, 0); +x_56 = lean_ctor_get(x_30, 1); +lean_inc(x_56); lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_46); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +lean_dec(x_30); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } else { -uint8_t x_57; -lean_dec(x_38); -lean_dec(x_37); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); +uint8_t x_58; +lean_dec(x_17); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_57 = !lean_is_exclusive(x_39); -if (x_57 == 0) -{ -return x_39; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_39, 0); -x_59 = lean_ctor_get(x_39, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_39); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} -} -} -else -{ -uint8_t x_61; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_61 = !lean_is_exclusive(x_33); -if (x_61 == 0) -{ -return x_33; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_33, 0); -x_63 = lean_ctor_get(x_33, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_33); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -return x_64; -} -} -} -else -{ -uint8_t x_65; -lean_dec(x_20); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_65 = !lean_is_exclusive(x_21); -if (x_65 == 0) +lean_dec(x_1); +x_58 = !lean_is_exclusive(x_18); +if (x_58 == 0) { -return x_21; +return x_18; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_21, 0); -x_67 = lean_ctor_get(x_21, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_21); -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; +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_18, 0); +x_60 = lean_ctor_get(x_18, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_18); +x_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; } } } } } -static lean_object* _init_l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_Conv_congr___lambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -1464,33 +1389,25 @@ x_2 = l_Lean_mkSort(x_1); return x_2; } } -lean_object* l_Lean_Elab_Tactic_Conv_evalCongr___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) { +lean_object* l_Lean_Elab_Tactic_Conv_congr___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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_10; lean_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_4); +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Lean_Expr_getAppNumArgsAux(x_1, x_10); +x_12 = l_Lean_Elab_Tactic_Conv_congr___lambda__1___closed__1; +lean_inc(x_11); +x_13 = lean_mk_array(x_11, x_12); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_sub(x_11, x_14); +lean_dec(x_11); +x_16 = l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_2, x_3, x_1, x_13, x_15, x_5, x_6, x_7, x_8, x_9); lean_dec(x_3); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_Expr_getAppNumArgsAux(x_1, x_13); -x_15 = l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__1___closed__1; -lean_inc(x_14); -x_16 = lean_mk_array(x_14, x_15); -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_sub(x_14, x_17); -lean_dec(x_14); -x_19 = l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_evalCongr___spec__2(x_2, x_1, x_16, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_2); -return x_19; +return x_16; } } -static lean_object* _init_l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_getLhsRhs___lambda__1), 9, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -1498,20 +1415,177 @@ x_1 = lean_mk_string("invalid 'congr' conv tactic, application expected"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__2; +x_1 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_Tactic_Conv_evalCongr___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* l_Lean_Elab_Tactic_Conv_congr___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_10; lean_object* x_11; -x_10 = l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__1; +lean_object* x_7; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_7 = l_Lean_Elab_Tactic_Conv_getLhsRhsCore(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_dec(x_8); +x_12 = l_Lean_Expr_isApp(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_11); +lean_dec(x_1); +x_13 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_13, 0, x_10); +x_14 = l_Lean_indentD(x_13); +x_15 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__18; +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_throwError___at_Lean_Meta_withIncRecDepth___spec__1(x_18, x_2, x_3, x_4, x_5, x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +return x_19; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_19); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Tactic_Conv_congr___lambda__1(x_10, x_1, x_11, x_24, x_2, x_3, x_4, x_5, x_9); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_7); +if (x_26 == 0) +{ +return x_7; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_7, 0); +x_28 = lean_ctor_get(x_7, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_7); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_Conv_congr(lean_object* x_1, lean_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_inc(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_congr___lambda__2), 6, 1); +lean_closure_set(x_7, 0, x_1); +x_8 = l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(x_1, x_7, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_5); +lean_dec(x_5); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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_3); +lean_dec(x_3); +x_12 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_13; +} +} +lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_congr___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_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_congr___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_2); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_Conv_evalCongr___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -1520,37 +1594,34 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) +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_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_ctor_get(x_11, 0); +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_ctor_get(x_12, 0); +lean_dec(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_13 = l_Lean_Elab_Tactic_Conv_congr(x_11, x_5, x_6, x_7, x_8, 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_12, 1); +x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); -lean_dec(x_12); -x_16 = l_Lean_Expr_isApp(x_14); -if (x_16 == 0) +lean_dec(x_13); +x_16 = l_Lean_Elab_Tactic_replaceMainGoal(x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +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; uint8_t x_24; -lean_dec(x_15); -x_17 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_17, 0, x_14); -x_18 = l_Lean_indentD(x_17); -x_19 = l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__3; -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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__18; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___spec__2(x_22, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +uint8_t x_17; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -1559,36 +1630,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) { -return x_23; +return x_13; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_23); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_13, 0); +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_13); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} } } else { -lean_object* x_28; lean_object* x_29; -x_28 = lean_box(0); -x_29 = l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__1(x_14, x_15, x_28, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); -return x_29; -} -} -else -{ -uint8_t x_30; +uint8_t x_21; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -1597,44 +1661,27 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_30 = !lean_is_exclusive(x_11); -if (x_30 == 0) +x_21 = !lean_is_exclusive(x_10); +if (x_21 == 0) { -return x_11; +return x_10; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_11, 0); -x_32 = lean_ctor_get(x_11, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_11); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_10, 0); +x_23 = lean_ctor_get(x_10, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_10); +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; } } } } -static lean_object* _init_l_Lean_Elab_Tactic_Conv_evalCongr___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Elab_Tactic_Conv_evalCongr___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Tactic_Conv_evalCongr___rarg___closed__1; -x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} lean_object* l_Lean_Elab_Tactic_Conv_evalCongr(lean_object* x_1) { _start: { @@ -1643,56 +1690,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalCongr___rarg), 9, 0 return x_2; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_14; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_5); -lean_dec(x_5); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_16 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_2); -return x_17; -} -} -lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_evalCongr___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_evalCongr___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_1); -return x_14; -} -} lean_object* l_Lean_Elab_Tactic_Conv_evalCongr___boxed(lean_object* x_1) { _start: { @@ -1743,7 +1740,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__4; -x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__5; +x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1807,7 +1804,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__11; -x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__5; +x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1860,6 +1857,858 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } +lean_object* l_Lean_Elab_Tactic_Conv_evalLhs_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +lean_dec(x_2); +x_6 = lean_apply_1(x_3, x_1); +return x_6; +} +else +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_5, 0); +lean_inc(x_9); +lean_dec(x_5); +x_10 = lean_apply_2(x_2, x_8, x_9); +return x_10; +} +else +{ +lean_object* x_11; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_2); +x_11 = lean_apply_1(x_3, x_1); +return x_11; +} +} +} +} +} +lean_object* l_Lean_Elab_Tactic_Conv_evalLhs_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalLhs_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid 'lhs' conv tactic, binary application expected"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("refl failed"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Conv_evalLhs___rarg___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_Conv_evalLhs___rarg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__4; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_Conv_evalLhs___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +lean_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); +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; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_13 = l_Lean_Elab_Tactic_Conv_congr(x_11, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__2; +x_17 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_16, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_17; +} +else +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_14); +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_dec(x_13); +x_20 = l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__2; +x_21 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_20, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_21; +} +else +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec(x_13); +x_24 = lean_ctor_get(x_14, 0); +lean_inc(x_24); +lean_dec(x_14); +x_25 = !lean_is_exclusive(x_18); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_18, 0); +x_27 = lean_ctor_get(x_18, 1); +lean_dec(x_27); +x_28 = l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__5; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_29 = l_Lean_Meta_applyRefl(x_26, x_28, x_5, x_6, x_7, x_8, x_23); +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_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = lean_box(0); +lean_ctor_set(x_18, 1, x_31); +lean_ctor_set(x_18, 0, x_24); +x_32 = l_Lean_Elab_Tactic_replaceMainGoal(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); +return x_32; +} +else +{ +uint8_t x_33; +lean_free_object(x_18); +lean_dec(x_24); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_33 = !lean_is_exclusive(x_29); +if (x_33 == 0) +{ +return x_29; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_29, 0); +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_29); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_18, 0); +lean_inc(x_37); +lean_dec(x_18); +x_38 = l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__5; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_39 = l_Lean_Meta_applyRefl(x_37, x_38, x_5, x_6, x_7, x_8, x_23); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_24); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_Elab_Tactic_replaceMainGoal(x_42, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_40); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_24); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_44 = lean_ctor_get(x_39, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_46 = x_39; +} else { + lean_dec_ref(x_39); + x_46 = lean_box(0); +} +if (lean_is_scalar(x_46)) { + x_47 = lean_alloc_ctor(1, 2, 0); +} else { + x_47 = x_46; +} +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_45); +return x_47; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_22); +lean_dec(x_18); +lean_dec(x_14); +x_48 = lean_ctor_get(x_13, 1); +lean_inc(x_48); +lean_dec(x_13); +x_49 = l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__2; +x_50 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_49, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +lean_dec(x_8); +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_50; +} +} +} +} +else +{ +uint8_t x_51; +lean_dec(x_8); +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_51 = !lean_is_exclusive(x_13); +if (x_51 == 0) +{ +return x_13; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_13, 0); +x_53 = lean_ctor_get(x_13, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_13); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_10); +if (x_55 == 0) +{ +return x_10; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_10, 0); +x_57 = lean_ctor_get(x_10, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_10); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_Conv_evalLhs(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalLhs___rarg), 9, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_Conv_evalLhs___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_Conv_evalLhs(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("lhs"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__7; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalLhs"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__13; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalLhs___boxed), 1, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___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_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid 'rhs' conv tactic, binary application expected"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_Conv_evalRhs___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +lean_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); +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; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_13 = l_Lean_Elab_Tactic_Conv_congr(x_11, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__2; +x_17 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_16, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_17; +} +else +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_14); +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_dec(x_13); +x_20 = l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__2; +x_21 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_20, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_21; +} +else +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec(x_13); +x_24 = lean_ctor_get(x_14, 0); +lean_inc(x_24); +lean_dec(x_14); +x_25 = !lean_is_exclusive(x_18); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_18, 0); +x_27 = lean_ctor_get(x_18, 1); +lean_dec(x_27); +x_28 = l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__5; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_29 = l_Lean_Meta_applyRefl(x_24, x_28, x_5, x_6, x_7, x_8, x_23); +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_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = lean_box(0); +lean_ctor_set(x_18, 1, x_31); +x_32 = l_Lean_Elab_Tactic_replaceMainGoal(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); +return x_32; +} +else +{ +uint8_t x_33; +lean_free_object(x_18); +lean_dec(x_26); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_33 = !lean_is_exclusive(x_29); +if (x_33 == 0) +{ +return x_29; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_29, 0); +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_29); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_18, 0); +lean_inc(x_37); +lean_dec(x_18); +x_38 = l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__5; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_39 = l_Lean_Meta_applyRefl(x_24, x_38, x_5, x_6, x_7, x_8, x_23); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_37); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_Elab_Tactic_replaceMainGoal(x_42, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_40); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_37); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_44 = lean_ctor_get(x_39, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_46 = x_39; +} else { + lean_dec_ref(x_39); + x_46 = lean_box(0); +} +if (lean_is_scalar(x_46)) { + x_47 = lean_alloc_ctor(1, 2, 0); +} else { + x_47 = x_46; +} +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_45); +return x_47; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_22); +lean_dec(x_18); +lean_dec(x_14); +x_48 = lean_ctor_get(x_13, 1); +lean_inc(x_48); +lean_dec(x_13); +x_49 = l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__2; +x_50 = l_Lean_throwError___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__2(x_49, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +lean_dec(x_8); +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_50; +} +} +} +} +else +{ +uint8_t x_51; +lean_dec(x_8); +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_51 = !lean_is_exclusive(x_13); +if (x_51 == 0) +{ +return x_13; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_13, 0); +x_53 = lean_ctor_get(x_13, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_13); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_10); +if (x_55 == 0) +{ +return x_10; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_10, 0); +x_57 = lean_ctor_get(x_10, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_10); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_Conv_evalRhs(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalRhs___rarg), 9, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_Conv_evalRhs___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_Conv_evalRhs(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("rhs"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__7; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalRhs"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__13; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalRhs___boxed), 1, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Meta_Tactic_Simp_Main(lean_object*); lean_object* initialize_Lean_Elab_Tactic_Conv_Basic(lean_object*); @@ -1877,68 +2726,64 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Tactic_Conv_Basic(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___lambda__2___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__2); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__3); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__4); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__5); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__6); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__7 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__7(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__7); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__8 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__8(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__8); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__9 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__9(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__9); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__10 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__10(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__10); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__11 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__11(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__11); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__12 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__12(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__12); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__13 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__13(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__13); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__14 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__14(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__14); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__15 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__15(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__15); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__16 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__16(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__16); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__17 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__17(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__17); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__18 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__18(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__18); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__19 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__19(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__19); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__20 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__20(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__20); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__21 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__21(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__21); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__22 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__22(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__22); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__23 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__23(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__23); -l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__24 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__24(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1___closed__24); -l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_evalCongr___spec__2___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_evalCongr___spec__2___closed__1(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_evalCongr___spec__2___closed__1); -l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__1___closed__1); -l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__1); -l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__2 = _init_l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__2); -l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__3 = _init_l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalCongr___rarg___lambda__2___closed__3); -l_Lean_Elab_Tactic_Conv_evalCongr___rarg___closed__1 = _init_l_Lean_Elab_Tactic_Conv_evalCongr___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalCongr___rarg___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___lambda__2___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__3); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__4); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__5); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__6); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__7 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__7(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__7); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__8 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__8(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__8); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__9 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__9(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__9); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__10 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__10(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__10); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__11 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__11(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__11); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__12 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__12(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__12); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__13 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__13(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__13); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__14 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__14(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__14); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__15 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__15(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__15); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__16 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__16(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__16); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__17 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__17(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__17); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__18 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__18(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__18); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__19 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__19(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__19); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__20 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__20(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__20); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__21 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__21(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__21); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__22 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__22(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__22); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__23 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__23(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__23); +l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__24 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__24(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_congr___spec__1___closed__24); +l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_congr___spec__2___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_congr___spec__2___closed__1(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Elab_Tactic_Conv_congr___spec__2___closed__1); +l_Lean_Elab_Tactic_Conv_congr___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_Conv_congr___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_congr___lambda__1___closed__1); +l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__1); +l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__2 = _init_l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__2); l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__1); l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__2(); @@ -1974,6 +2819,46 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__16 res = l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__1 = _init_l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__1); +l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__2 = _init_l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__2); +l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__3 = _init_l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__3); +l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__4 = _init_l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__4(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__4); +l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__5 = _init_l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__5(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__5); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__4); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__1 = _init_l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__1); +l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__2 = _init_l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalRhs___rarg___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__4); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Rewrite.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Rewrite.c new file mode 100644 index 0000000000..a069fb5be1 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Rewrite.c @@ -0,0 +1,29 @@ +// Lean compiler output +// Module: Lean.Elab.Tactic.Conv.Rewrite +// Imports: Init +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* initialize_Init(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Elab_Tactic_Conv_Rewrite(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index ad7fd8daa6..9033c35ff9 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -366,7 +366,7 @@ lean_object* l_Lean_throwKernelException___at_Lean_Elab_Term_evalExpr___spec__4( lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isMonadApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Meta_ppGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveLocalName_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___boxed(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___spec__5(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*); @@ -10953,10 +10953,9 @@ return x_11; lean_object* l_Lean_Elab_Term_ppGoal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = 0; -x_10 = l_Lean_Meta_ppGoal(x_1, x_9, x_4, x_5, x_6, x_7, x_8); -return x_10; +lean_object* x_9; +x_9 = l_Lean_Meta_ppGoal(x_1, x_4, x_5, x_6, x_7, x_8); +return x_9; } } lean_object* l_Lean_Elab_Term_ppGoal___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { diff --git a/stage0/stdlib/Lean/Expr.c b/stage0/stdlib/Lean/Expr.c index 5662728cfd..922bda97d7 100644 --- a/stage0/stdlib/Lean/Expr.c +++ b/stage0/stdlib/Lean/Expr.c @@ -21,6 +21,7 @@ lean_object* l_Lean_Expr_data_match__1(lean_object*); static lean_object* l_Lean_Expr_ctorName___closed__7; static lean_object* l_Lean_mkNatLit___closed__8; lean_object* l_Lean_instLTLiteral; +static lean_object* l_Lean_mkLHSGoal___closed__2; uint8_t l_Lean_Expr_bindingInfo_x21(lean_object*); 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*); @@ -34,6 +35,7 @@ lean_object* l_Lean_Expr_isApp_match__1___rarg(lean_object*, lean_object*, lean_ static lean_object* l___private_Lean_Expr_0__Lean_reprLiteral____x40_Lean_Expr___hyg_98____closed__1; lean_object* l_Lean_Expr_hasAnyFVar_visit_match__1(lean_object*); static lean_object* l_Lean_mkNatLit___closed__4; +lean_object* l_Lean_isLHSGoal_x3f(lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21___boxed(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprLiteral____x40_Lean_Expr___hyg_98____closed__2; @@ -124,6 +126,7 @@ static lean_object* l___private_Lean_Expr_0__Lean_reprLiteral____x40_Lean_Expr__ lean_object* l_Lean_Expr_hasLevelParamEx___boxed(lean_object*); uint64_t l_Lean_Expr_Data_hash(uint64_t); lean_object* l_Lean_Expr_instantiateLevelParamsCore_visit_match__1(lean_object*); +lean_object* l_Lean_mkLHSGoal(lean_object*); static lean_object* l_Lean_mkDecIsTrue___closed__5; lean_object* l_Lean_mkMVar(lean_object*); size_t l_USize_sub(size_t, size_t); @@ -196,6 +199,7 @@ lean_object* l_Lean_Expr_isNatLit_match__1___rarg(lean_object*, lean_object*, le lean_object* l_Lean_Expr_getOptParamDefault_x3f(lean_object*); lean_object* l_Nat_max(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_361__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isLHSGoal_x3f_match__1(lean_object*); lean_object* l_Lean_Expr_getRevArgD(lean_object*, lean_object*, lean_object*); uint64_t l_List_foldl___at_Lean_mkConst___spec__1(uint64_t, lean_object*); lean_object* l_List_mapTRAux___at_Lean_Expr_instantiateLevelParams___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -330,6 +334,7 @@ lean_object* l_Lean_Expr_instantiateLevelParamsCore_visit_match__1___rarg(lean_o lean_object* l_Lean_BinderInfo_isInstImplicit_match__1(lean_object*); lean_object* l_Lean_Expr_replaceFVar(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_headBeta(lean_object*); +static lean_object* l_Lean_isLHSGoal_x3f___closed__1; uint8_t lean_expr_binder_info(lean_object*); static uint64_t l_Lean_Expr_mkData___closed__2; lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); @@ -392,6 +397,7 @@ static lean_object* l_Lean_Literal_type___closed__1; lean_object* lean_expr_abstract_range(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getArg_x21___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_bindingDomain_x21___closed__1; +lean_object* l_Lean_isLHSGoal_x3f___boxed(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_361____closed__21; static lean_object* l_Lean_Expr_getRevArg_x21___closed__3; lean_object* l_Lean_Expr_isConst_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -399,6 +405,7 @@ lean_object* l_Lean_BinderInfo_isInstImplicit_match__1___rarg___boxed(lean_objec lean_object* l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_ctorName___closed__3; lean_object* l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_isLHSGoal_x3f___closed__2; lean_object* l_Lean_Expr_natLit_x3f(lean_object*); lean_object* lean_expr_mk_const(lean_object*, lean_object*); lean_object* l_Lean_Expr_data_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -629,6 +636,7 @@ lean_object* l_Lean_Expr_quickLt___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_instToStringExpr; static lean_object* l_Lean_mkEM___closed__4; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isLHSGoal_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_isFVar_match__1___rarg(lean_object*, lean_object*, lean_object*); uint64_t l_UInt32_toUInt64(uint32_t); lean_object* l_Lean_ExprStructEq_instToStringExprStructEq___boxed(lean_object*); @@ -737,6 +745,7 @@ static lean_object* l_Lean_mkNot___closed__1; static lean_object* l___private_Lean_Expr_0__Lean_reprLiteral____x40_Lean_Expr___hyg_98____closed__7; lean_object* l_Array_mapMUnsafe_map___at_Lean_Expr_setAppPPExplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkLHSGoal___closed__1; uint64_t l_UInt64_shiftRight(uint64_t, uint64_t); lean_object* l_Lean_Expr_hasLooseBVars___boxed(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_361____closed__11; @@ -16202,6 +16211,164 @@ lean_dec(x_1); return x_3; } } +static lean_object* _init_l_Lean_mkLHSGoal___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_lhsGoal"); +return x_1; +} +} +static lean_object* _init_l_Lean_mkLHSGoal___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_mkLHSGoal___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_mkLHSGoal(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_mkLHSGoal___closed__2; +x_3 = l_Lean_mkAnnotation(x_2, x_1); +return x_3; +} +} +lean_object* l_Lean_isLHSGoal_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_3, x_6); +return x_7; +} +} +} +lean_object* l_Lean_isLHSGoal_x3f_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_isLHSGoal_x3f_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_isLHSGoal_x3f___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Eq"); +return x_1; +} +} +static lean_object* _init_l_Lean_isLHSGoal_x3f___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_isLHSGoal_x3f___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_isLHSGoal_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_mkLHSGoal___closed__2; +x_3 = l_Lean_annotation_x3f(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_3, 0); +x_7 = l_Lean_isLHSGoal_x3f___closed__2; +x_8 = lean_unsigned_to_nat(3u); +x_9 = l_Lean_Expr_isAppOfArity(x_6, x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; +lean_free_object(x_3); +lean_dec(x_6); +x_10 = lean_box(0); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = l_Lean_Expr_appFn_x21(x_6); +lean_dec(x_6); +x_12 = l_Lean_Expr_appArg_x21(x_11); +lean_dec(x_11); +lean_ctor_set(x_3, 0, x_12); +return x_3; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_3, 0); +lean_inc(x_13); +lean_dec(x_3); +x_14 = l_Lean_isLHSGoal_x3f___closed__2; +x_15 = lean_unsigned_to_nat(3u); +x_16 = l_Lean_Expr_isAppOfArity(x_13, x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_13); +x_17 = lean_box(0); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = l_Lean_Expr_appFn_x21(x_13); +lean_dec(x_13); +x_19 = l_Lean_Expr_appArg_x21(x_18); +lean_dec(x_18); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +} +} +} +} +lean_object* l_Lean_isLHSGoal_x3f___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_isLHSGoal_x3f(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Lean_mkFreshFVarId___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -16808,6 +16975,14 @@ l_Lean_Expr_setPPUniverses___closed__2 = _init_l_Lean_Expr_setPPUniverses___clos lean_mark_persistent(l_Lean_Expr_setPPUniverses___closed__2); l_Lean_mkAnnotation___closed__1 = _init_l_Lean_mkAnnotation___closed__1(); lean_mark_persistent(l_Lean_mkAnnotation___closed__1); +l_Lean_mkLHSGoal___closed__1 = _init_l_Lean_mkLHSGoal___closed__1(); +lean_mark_persistent(l_Lean_mkLHSGoal___closed__1); +l_Lean_mkLHSGoal___closed__2 = _init_l_Lean_mkLHSGoal___closed__2(); +lean_mark_persistent(l_Lean_mkLHSGoal___closed__2); +l_Lean_isLHSGoal_x3f___closed__1 = _init_l_Lean_isLHSGoal_x3f___closed__1(); +lean_mark_persistent(l_Lean_isLHSGoal_x3f___closed__1); +l_Lean_isLHSGoal_x3f___closed__2 = _init_l_Lean_isLHSGoal_x3f___closed__2(); +lean_mark_persistent(l_Lean_isLHSGoal_x3f___closed__2); l_Lean_mkNot___closed__1 = _init_l_Lean_mkNot___closed__1(); lean_mark_persistent(l_Lean_mkNot___closed__1); l_Lean_mkNot___closed__2 = _init_l_Lean_mkNot___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/IndPredBelow.c b/stage0/stdlib/Lean/Meta/IndPredBelow.c index 5ad536a128..ee4a48afa5 100644 --- a/stage0/stdlib/Lean/Meta/IndPredBelow.c +++ b/stage0/stdlib/Lean/Meta/IndPredBelow.c @@ -164,7 +164,7 @@ extern lean_object* l_Lean_levelZero; static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__2___closed__5; extern lean_object* l_Lean_ExprStructEq_instBEqExprStructEq; lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Meta_ppGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelow___closed__5; lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkCtorType_addHeaderVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_IndPredBelow_mkConstructor___spec__1___closed__3; @@ -18786,7 +18786,7 @@ lean_inc(x_1); x_28 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_19, x_8, x_9, x_10, x_11, x_27); if (lean_obj_tag(x_28) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); @@ -18804,44 +18804,44 @@ x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); lean_dec(x_33); x_36 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_67 = lean_st_ref_get(x_11, x_35); -x_68 = lean_ctor_get(x_67, 0); +x_66 = lean_st_ref_get(x_11, x_35); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_67, 3); lean_inc(x_68); -x_69 = lean_ctor_get(x_68, 3); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_ctor_get_uint8(x_69, sizeof(void*)*1); -lean_dec(x_69); -if (x_70 == 0) -{ -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); lean_dec(x_67); -x_72 = 0; -x_37 = x_72; -x_38 = x_71; -goto block_66; +x_69 = lean_ctor_get_uint8(x_68, sizeof(void*)*1); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_object* x_70; uint8_t x_71; +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_dec(x_66); +x_71 = 0; +x_37 = x_71; +x_38 = x_70; +goto block_65; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_73 = lean_ctor_get(x_67, 1); -lean_inc(x_73); -lean_dec(x_67); -x_74 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_36, x_8, x_9, x_10, x_11, x_73); -x_75 = lean_ctor_get(x_74, 0); +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_72 = lean_ctor_get(x_66, 1); +lean_inc(x_72); +lean_dec(x_66); +x_73 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_36, x_8, x_9, x_10, x_11, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); +lean_dec(x_73); +x_76 = lean_unbox(x_74); lean_dec(x_74); -x_77 = lean_unbox(x_75); -lean_dec(x_75); -x_37 = x_77; -x_38 = x_76; -goto block_66; +x_37 = x_76; +x_38 = x_75; +goto block_65; } -block_66: +block_65: { if (x_37 == 0) { @@ -18882,73 +18882,72 @@ return x_44; } else { -lean_object* x_45; uint8_t x_46; lean_object* x_47; +lean_object* x_45; lean_object* x_46; x_45 = l_Lean_Expr_mvarId_x21(x_34); -x_46 = 0; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_47 = l_Lean_Meta_ppGoal(x_45, x_46, x_8, x_9, x_10, x_11, x_38); -if (lean_obj_tag(x_47) == 0) +x_46 = l_Lean_Meta_ppGoal(x_45, x_8, x_9, x_10, x_11, x_38); +if (lean_obj_tag(x_46) == 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; -x_48 = lean_ctor_get(x_47, 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; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_50, 0, x_48); -x_51 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +lean_dec(x_46); +x_49 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_49, 0, x_47); +x_50 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +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 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_50); -x_53 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -x_54 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_36, x_53, x_8, x_9, x_10, x_11, x_49); -x_55 = lean_ctor_get(x_54, 0); +x_53 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_36, x_52, x_8, x_9, x_10, x_11, x_48); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); +lean_dec(x_53); lean_inc(x_3); -x_57 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_34, x_3, x_36, x_1, x_19, x_55, x_8, x_9, x_10, x_11, x_56); -if (lean_obj_tag(x_57) == 0) +x_56 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_34, x_3, x_36, x_1, x_19, x_54, x_8, x_9, x_10, x_11, x_55); +if (lean_obj_tag(x_56) == 0) { lean_dec(x_3); -return x_57; +return x_56; } else { -uint8_t x_58; -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) +uint8_t x_57; +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) { -lean_object* x_59; -x_59 = lean_ctor_get(x_57, 0); -lean_dec(x_59); -lean_ctor_set_tag(x_57, 0); -lean_ctor_set(x_57, 0, x_3); -return x_57; +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set_tag(x_56, 0); +lean_ctor_set(x_56, 0, x_3); +return x_56; } else { -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_3); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_3); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } else { -uint8_t x_62; +uint8_t x_61; lean_dec(x_34); lean_dec(x_19); lean_dec(x_11); @@ -18956,26 +18955,26 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_1); -x_62 = !lean_is_exclusive(x_47); -if (x_62 == 0) +x_61 = !lean_is_exclusive(x_46); +if (x_61 == 0) { -lean_object* x_63; -x_63 = lean_ctor_get(x_47, 0); -lean_dec(x_63); -lean_ctor_set_tag(x_47, 0); -lean_ctor_set(x_47, 0, x_3); -return x_47; +lean_object* x_62; +x_62 = lean_ctor_get(x_46, 0); +lean_dec(x_62); +lean_ctor_set_tag(x_46, 0); +lean_ctor_set(x_46, 0, x_3); +return x_46; } else { -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_47, 1); -lean_inc(x_64); -lean_dec(x_47); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_3); -lean_ctor_set(x_65, 1, x_64); -return x_65; +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_46, 1); +lean_inc(x_63); +lean_dec(x_46); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_3); +lean_ctor_set(x_64, 1, x_63); +return x_64; } } } @@ -18983,7 +18982,7 @@ return x_65; } else { -uint8_t x_78; +uint8_t x_77; lean_dec(x_19); lean_dec(x_11); lean_dec(x_10); @@ -18991,23 +18990,23 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_78 = !lean_is_exclusive(x_28); -if (x_78 == 0) +x_77 = !lean_is_exclusive(x_28); +if (x_77 == 0) { return x_28; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_28, 0); -x_80 = lean_ctor_get(x_28, 1); -lean_inc(x_80); +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_28, 0); +x_79 = lean_ctor_get(x_28, 1); lean_inc(x_79); +lean_inc(x_78); lean_dec(x_28); -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; +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; } } } @@ -19016,295 +19015,294 @@ return x_81; } case 1: { -lean_object* x_82; +lean_object* x_81; lean_dec(x_7); lean_dec(x_6); -x_82 = l_Lean_Expr_constName_x3f(x_5); +x_81 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_82) == 0) +if (lean_obj_tag(x_81) == 0) { -lean_object* x_83; +lean_object* x_82; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_3); -lean_ctor_set(x_83, 1, x_12); -return x_83; +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_3); +lean_ctor_set(x_82, 1, x_12); +return x_82; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_82, 0); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_unsigned_to_nat(0u); -x_86 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_85); -if (lean_obj_tag(x_86) == 0) +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_81, 0); +lean_inc(x_83); +lean_dec(x_81); +x_84 = lean_unsigned_to_nat(0u); +x_85 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_84); +if (lean_obj_tag(x_85) == 0) { -lean_object* x_87; -lean_dec(x_84); +lean_object* x_86; +lean_dec(x_83); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_3); -lean_ctor_set(x_87, 1, x_12); -return x_87; +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_3); +lean_ctor_set(x_86, 1, x_12); +return x_86; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_88 = lean_ctor_get(x_86, 0); -lean_inc(x_88); -lean_dec(x_86); -x_89 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_84, x_8, x_9, x_10, x_11, x_12); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_unbox(x_90); -lean_dec(x_90); +lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_87 = lean_ctor_get(x_85, 0); +lean_inc(x_87); +lean_dec(x_85); +x_88 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_83, x_8, x_9, x_10, x_11, x_12); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_unbox(x_89); +lean_dec(x_89); +if (x_90 == 0) +{ +uint8_t x_91; +lean_dec(x_87); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_91 = !lean_is_exclusive(x_88); if (x_91 == 0) { -uint8_t x_92; +lean_object* x_92; +x_92 = lean_ctor_get(x_88, 0); +lean_dec(x_92); +lean_ctor_set(x_88, 0, x_3); +return x_88; +} +else +{ +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_88, 1); +lean_inc(x_93); lean_dec(x_88); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_92 = !lean_is_exclusive(x_89); -if (x_92 == 0) -{ -lean_object* x_93; -x_93 = lean_ctor_get(x_89, 0); -lean_dec(x_93); -lean_ctor_set(x_89, 0, x_3); -return x_89; -} -else -{ -lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_89, 1); -lean_inc(x_94); -lean_dec(x_89); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_3); -lean_ctor_set(x_95, 1, x_94); -return x_95; +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_3); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } else { -lean_object* x_96; lean_object* x_97; -x_96 = lean_ctor_get(x_89, 1); -lean_inc(x_96); -lean_dec(x_89); +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_88, 1); +lean_inc(x_95); +lean_dec(x_88); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_88); +lean_inc(x_87); lean_inc(x_1); -x_97 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_88, x_8, x_9, x_10, x_11, x_96); -if (lean_obj_tag(x_97) == 0) +x_96 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_87, x_8, x_9, x_10, x_11, x_95); +if (lean_obj_tag(x_96) == 0) { -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; uint8_t x_106; lean_object* x_107; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; -x_98 = lean_ctor_get(x_97, 0); +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; lean_object* x_106; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); lean_inc(x_98); +lean_dec(x_96); x_99 = lean_ctor_get(x_97, 1); lean_inc(x_99); lean_dec(x_97); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -lean_dec(x_98); -x_101 = lean_box(0); +x_100 = lean_box(0); lean_inc(x_8); -x_102 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_100, x_101, x_8, x_9, x_10, x_11, x_99); -x_103 = lean_ctor_get(x_102, 0); +x_101 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_99, x_100, x_8, x_9, x_10, x_11, x_98); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -lean_dec(x_102); -x_105 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_136 = lean_st_ref_get(x_11, x_104); -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_137, 3); -lean_inc(x_138); -lean_dec(x_137); -x_139 = lean_ctor_get_uint8(x_138, sizeof(void*)*1); -lean_dec(x_138); -if (x_139 == 0) -{ -lean_object* x_140; uint8_t x_141; -x_140 = lean_ctor_get(x_136, 1); -lean_inc(x_140); +lean_dec(x_101); +x_104 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_134 = lean_st_ref_get(x_11, x_103); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_135, 3); +lean_inc(x_136); +lean_dec(x_135); +x_137 = lean_ctor_get_uint8(x_136, sizeof(void*)*1); lean_dec(x_136); -x_141 = 0; -x_106 = x_141; -x_107 = x_140; -goto block_135; +if (x_137 == 0) +{ +lean_object* x_138; uint8_t x_139; +x_138 = lean_ctor_get(x_134, 1); +lean_inc(x_138); +lean_dec(x_134); +x_139 = 0; +x_105 = x_139; +x_106 = x_138; +goto block_133; } else { -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; -x_142 = lean_ctor_get(x_136, 1); +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_140 = lean_ctor_get(x_134, 1); +lean_inc(x_140); +lean_dec(x_134); +x_141 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_104, x_8, x_9, x_10, x_11, x_140); +x_142 = lean_ctor_get(x_141, 0); lean_inc(x_142); -lean_dec(x_136); -x_143 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_105, x_8, x_9, x_10, x_11, x_142); -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_unbox(x_144); -lean_dec(x_144); -x_106 = x_146; -x_107 = x_145; -goto block_135; +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +x_144 = lean_unbox(x_142); +lean_dec(x_142); +x_105 = x_144; +x_106 = x_143; +goto block_133; } -block_135: +block_133: { -if (x_106 == 0) +if (x_105 == 0) { -lean_object* x_108; lean_object* x_109; -x_108 = lean_box(0); +lean_object* x_107; lean_object* x_108; +x_107 = lean_box(0); lean_inc(x_3); -x_109 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_103, x_3, x_105, x_1, x_88, x_108, x_8, x_9, x_10, x_11, x_107); -if (lean_obj_tag(x_109) == 0) +x_108 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_102, x_3, x_104, x_1, x_87, x_107, x_8, x_9, x_10, x_11, x_106); +if (lean_obj_tag(x_108) == 0) { lean_dec(x_3); -return x_109; +return x_108; } else { -uint8_t x_110; -x_110 = !lean_is_exclusive(x_109); -if (x_110 == 0) +uint8_t x_109; +x_109 = !lean_is_exclusive(x_108); +if (x_109 == 0) { -lean_object* x_111; -x_111 = lean_ctor_get(x_109, 0); -lean_dec(x_111); -lean_ctor_set_tag(x_109, 0); -lean_ctor_set(x_109, 0, x_3); -return x_109; +lean_object* x_110; +x_110 = lean_ctor_get(x_108, 0); +lean_dec(x_110); +lean_ctor_set_tag(x_108, 0); +lean_ctor_set(x_108, 0, x_3); +return x_108; } else { -lean_object* x_112; lean_object* x_113; -x_112 = lean_ctor_get(x_109, 1); -lean_inc(x_112); -lean_dec(x_109); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_3); -lean_ctor_set(x_113, 1, x_112); -return x_113; +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_108, 1); +lean_inc(x_111); +lean_dec(x_108); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_3); +lean_ctor_set(x_112, 1, x_111); +return x_112; } } } else { -lean_object* x_114; uint8_t x_115; lean_object* x_116; -x_114 = l_Lean_Expr_mvarId_x21(x_103); -x_115 = 0; +lean_object* x_113; lean_object* x_114; +x_113 = l_Lean_Expr_mvarId_x21(x_102); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_116 = l_Lean_Meta_ppGoal(x_114, x_115, x_8, x_9, x_10, x_11, x_107); -if (lean_obj_tag(x_116) == 0) +x_114 = l_Lean_Meta_ppGoal(x_113, x_8, x_9, x_10, x_11, x_106); +if (lean_obj_tag(x_114) == 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; -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_alloc_ctor(0, 1, 0); -lean_ctor_set(x_119, 0, x_117); -x_120 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_121 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_120); -x_123 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_105, x_122, x_8, x_9, x_10, x_11, x_118); -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); +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_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_117, 0, x_115); +x_118 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_119 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_117); +x_120 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_104, x_120, x_8, x_9, x_10, x_11, x_116); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); lean_inc(x_3); -x_126 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_103, x_3, x_105, x_1, x_88, x_124, x_8, x_9, x_10, x_11, x_125); -if (lean_obj_tag(x_126) == 0) +x_124 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_102, x_3, x_104, x_1, x_87, x_122, x_8, x_9, x_10, x_11, x_123); +if (lean_obj_tag(x_124) == 0) { lean_dec(x_3); -return x_126; +return x_124; } else { -uint8_t x_127; -x_127 = !lean_is_exclusive(x_126); -if (x_127 == 0) +uint8_t x_125; +x_125 = !lean_is_exclusive(x_124); +if (x_125 == 0) { -lean_object* x_128; -x_128 = lean_ctor_get(x_126, 0); -lean_dec(x_128); -lean_ctor_set_tag(x_126, 0); -lean_ctor_set(x_126, 0, x_3); -return x_126; -} -else -{ -lean_object* x_129; lean_object* x_130; -x_129 = lean_ctor_get(x_126, 1); -lean_inc(x_129); +lean_object* x_126; +x_126 = lean_ctor_get(x_124, 0); lean_dec(x_126); -x_130 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_130, 0, x_3); -lean_ctor_set(x_130, 1, x_129); -return x_130; +lean_ctor_set_tag(x_124, 0); +lean_ctor_set(x_124, 0, x_3); +return x_124; +} +else +{ +lean_object* x_127; lean_object* x_128; +x_127 = lean_ctor_get(x_124, 1); +lean_inc(x_127); +lean_dec(x_124); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_3); +lean_ctor_set(x_128, 1, x_127); +return x_128; } } } else { -uint8_t x_131; -lean_dec(x_103); -lean_dec(x_88); +uint8_t x_129; +lean_dec(x_102); +lean_dec(x_87); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_1); -x_131 = !lean_is_exclusive(x_116); -if (x_131 == 0) +x_129 = !lean_is_exclusive(x_114); +if (x_129 == 0) { -lean_object* x_132; -x_132 = lean_ctor_get(x_116, 0); -lean_dec(x_132); -lean_ctor_set_tag(x_116, 0); -lean_ctor_set(x_116, 0, x_3); -return x_116; +lean_object* x_130; +x_130 = lean_ctor_get(x_114, 0); +lean_dec(x_130); +lean_ctor_set_tag(x_114, 0); +lean_ctor_set(x_114, 0, x_3); +return x_114; } else { -lean_object* x_133; lean_object* x_134; -x_133 = lean_ctor_get(x_116, 1); -lean_inc(x_133); -lean_dec(x_116); -x_134 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_134, 0, x_3); -lean_ctor_set(x_134, 1, x_133); -return x_134; +lean_object* x_131; lean_object* x_132; +x_131 = lean_ctor_get(x_114, 1); +lean_inc(x_131); +lean_dec(x_114); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_3); +lean_ctor_set(x_132, 1, x_131); +return x_132; } } } @@ -19312,31 +19310,31 @@ return x_134; } else { -uint8_t x_147; -lean_dec(x_88); +uint8_t x_145; +lean_dec(x_87); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_147 = !lean_is_exclusive(x_97); -if (x_147 == 0) +x_145 = !lean_is_exclusive(x_96); +if (x_145 == 0) { -return x_97; +return x_96; } else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_148 = lean_ctor_get(x_97, 0); -x_149 = lean_ctor_get(x_97, 1); -lean_inc(x_149); -lean_inc(x_148); -lean_dec(x_97); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_148); -lean_ctor_set(x_150, 1, x_149); -return x_150; +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_96, 0); +x_147 = lean_ctor_get(x_96, 1); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_96); +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; } } } @@ -19345,295 +19343,294 @@ return x_150; } case 2: { -lean_object* x_151; +lean_object* x_149; lean_dec(x_7); lean_dec(x_6); -x_151 = l_Lean_Expr_constName_x3f(x_5); +x_149 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_151) == 0) +if (lean_obj_tag(x_149) == 0) { -lean_object* x_152; +lean_object* x_150; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_152 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_152, 0, x_3); -lean_ctor_set(x_152, 1, x_12); -return x_152; +x_150 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_150, 0, x_3); +lean_ctor_set(x_150, 1, x_12); +return x_150; } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = lean_ctor_get(x_151, 0); -lean_inc(x_153); -lean_dec(x_151); -x_154 = lean_unsigned_to_nat(0u); -x_155 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_154); -if (lean_obj_tag(x_155) == 0) +lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_151 = lean_ctor_get(x_149, 0); +lean_inc(x_151); +lean_dec(x_149); +x_152 = lean_unsigned_to_nat(0u); +x_153 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_152); +if (lean_obj_tag(x_153) == 0) { -lean_object* x_156; -lean_dec(x_153); +lean_object* x_154; +lean_dec(x_151); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_156 = lean_alloc_ctor(0, 2, 0); +x_154 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_154, 0, x_3); +lean_ctor_set(x_154, 1, x_12); +return x_154; +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; +x_155 = lean_ctor_get(x_153, 0); +lean_inc(x_155); +lean_dec(x_153); +x_156 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_151, x_8, x_9, x_10, x_11, x_12); +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_unbox(x_157); +lean_dec(x_157); +if (x_158 == 0) +{ +uint8_t x_159; +lean_dec(x_155); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_159 = !lean_is_exclusive(x_156); +if (x_159 == 0) +{ +lean_object* x_160; +x_160 = lean_ctor_get(x_156, 0); +lean_dec(x_160); lean_ctor_set(x_156, 0, x_3); -lean_ctor_set(x_156, 1, x_12); return x_156; } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; -x_157 = lean_ctor_get(x_155, 0); -lean_inc(x_157); -lean_dec(x_155); -x_158 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_153, x_8, x_9, x_10, x_11, x_12); -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -x_160 = lean_unbox(x_159); -lean_dec(x_159); -if (x_160 == 0) -{ -uint8_t x_161; -lean_dec(x_157); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_161 = !lean_is_exclusive(x_158); -if (x_161 == 0) -{ -lean_object* x_162; -x_162 = lean_ctor_get(x_158, 0); -lean_dec(x_162); -lean_ctor_set(x_158, 0, x_3); -return x_158; +lean_object* x_161; lean_object* x_162; +x_161 = lean_ctor_get(x_156, 1); +lean_inc(x_161); +lean_dec(x_156); +x_162 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_162, 0, x_3); +lean_ctor_set(x_162, 1, x_161); +return x_162; +} } else { lean_object* x_163; lean_object* x_164; -x_163 = lean_ctor_get(x_158, 1); +x_163 = lean_ctor_get(x_156, 1); lean_inc(x_163); -lean_dec(x_158); -x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_3); -lean_ctor_set(x_164, 1, x_163); -return x_164; -} -} -else -{ -lean_object* x_165; lean_object* x_166; -x_165 = lean_ctor_get(x_158, 1); -lean_inc(x_165); -lean_dec(x_158); +lean_dec(x_156); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_157); +lean_inc(x_155); lean_inc(x_1); -x_166 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_157, x_8, x_9, x_10, x_11, x_165); -if (lean_obj_tag(x_166) == 0) +x_164 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_155, x_8, x_9, x_10, x_11, x_163); +if (lean_obj_tag(x_164) == 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; uint8_t x_175; lean_object* x_176; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; -x_167 = lean_ctor_get(x_166, 0); +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +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_ctor_get(x_165, 1); lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -lean_dec(x_166); -x_169 = lean_ctor_get(x_167, 1); -lean_inc(x_169); -lean_dec(x_167); -x_170 = lean_box(0); +lean_dec(x_165); +x_168 = lean_box(0); lean_inc(x_8); -x_171 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_169, x_170, x_8, x_9, x_10, x_11, x_168); -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_171, 1); -lean_inc(x_173); -lean_dec(x_171); -x_174 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_205 = lean_st_ref_get(x_11, x_173); -x_206 = lean_ctor_get(x_205, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_206, 3); -lean_inc(x_207); -lean_dec(x_206); -x_208 = lean_ctor_get_uint8(x_207, sizeof(void*)*1); -lean_dec(x_207); -if (x_208 == 0) +x_169 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_167, x_168, x_8, x_9, x_10, x_11, x_166); +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 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_202 = lean_st_ref_get(x_11, x_171); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_203, 3); +lean_inc(x_204); +lean_dec(x_203); +x_205 = lean_ctor_get_uint8(x_204, sizeof(void*)*1); +lean_dec(x_204); +if (x_205 == 0) { -lean_object* x_209; uint8_t x_210; -x_209 = lean_ctor_get(x_205, 1); -lean_inc(x_209); -lean_dec(x_205); -x_210 = 0; -x_175 = x_210; -x_176 = x_209; -goto block_204; +lean_object* x_206; uint8_t x_207; +x_206 = lean_ctor_get(x_202, 1); +lean_inc(x_206); +lean_dec(x_202); +x_207 = 0; +x_173 = x_207; +x_174 = x_206; +goto block_201; } else { -lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; -x_211 = lean_ctor_get(x_205, 1); +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; +x_208 = lean_ctor_get(x_202, 1); +lean_inc(x_208); +lean_dec(x_202); +x_209 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_172, x_8, x_9, x_10, x_11, x_208); +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_205); -x_212 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_174, x_8, x_9, x_10, x_11, x_211); -x_213 = lean_ctor_get(x_212, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_212, 1); -lean_inc(x_214); -lean_dec(x_212); -x_215 = lean_unbox(x_213); -lean_dec(x_213); -x_175 = x_215; -x_176 = x_214; -goto block_204; +lean_dec(x_209); +x_212 = lean_unbox(x_210); +lean_dec(x_210); +x_173 = x_212; +x_174 = x_211; +goto block_201; } -block_204: +block_201: { -if (x_175 == 0) +if (x_173 == 0) { -lean_object* x_177; lean_object* x_178; -x_177 = lean_box(0); +lean_object* x_175; lean_object* x_176; +x_175 = lean_box(0); lean_inc(x_3); -x_178 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_172, x_3, x_174, x_1, x_157, x_177, x_8, x_9, x_10, x_11, x_176); -if (lean_obj_tag(x_178) == 0) +x_176 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_170, x_3, x_172, x_1, x_155, x_175, x_8, x_9, x_10, x_11, x_174); +if (lean_obj_tag(x_176) == 0) { lean_dec(x_3); -return x_178; +return x_176; } else { -uint8_t x_179; -x_179 = !lean_is_exclusive(x_178); -if (x_179 == 0) +uint8_t x_177; +x_177 = !lean_is_exclusive(x_176); +if (x_177 == 0) { -lean_object* x_180; -x_180 = lean_ctor_get(x_178, 0); -lean_dec(x_180); -lean_ctor_set_tag(x_178, 0); -lean_ctor_set(x_178, 0, x_3); -return x_178; +lean_object* x_178; +x_178 = lean_ctor_get(x_176, 0); +lean_dec(x_178); +lean_ctor_set_tag(x_176, 0); +lean_ctor_set(x_176, 0, x_3); +return x_176; +} +else +{ +lean_object* x_179; lean_object* x_180; +x_179 = lean_ctor_get(x_176, 1); +lean_inc(x_179); +lean_dec(x_176); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_3); +lean_ctor_set(x_180, 1, x_179); +return x_180; +} +} } 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_3); -lean_ctor_set(x_182, 1, x_181); -return x_182; -} -} -} -else -{ -lean_object* x_183; uint8_t x_184; lean_object* x_185; -x_183 = l_Lean_Expr_mvarId_x21(x_172); -x_184 = 0; +x_181 = l_Lean_Expr_mvarId_x21(x_170); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_185 = l_Lean_Meta_ppGoal(x_183, x_184, x_8, x_9, x_10, x_11, x_176); -if (lean_obj_tag(x_185) == 0) +x_182 = l_Lean_Meta_ppGoal(x_181, x_8, x_9, x_10, x_11, x_174); +if (lean_obj_tag(x_182) == 0) { -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_185, 1); -lean_inc(x_187); -lean_dec(x_185); -x_188 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_188, 0, x_186); -x_189 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_190 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_188); -x_191 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_189); -x_192 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_174, x_191, x_8, x_9, x_10, x_11, x_187); -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_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_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 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_185, 0, x_183); +x_186 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_187 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_185); +x_188 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_186); +x_189 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_172, x_188, x_8, x_9, x_10, x_11, x_184); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +lean_dec(x_189); lean_inc(x_3); -x_195 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_172, x_3, x_174, x_1, x_157, x_193, x_8, x_9, x_10, x_11, x_194); -if (lean_obj_tag(x_195) == 0) +x_192 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_170, x_3, x_172, x_1, x_155, x_190, x_8, x_9, x_10, x_11, x_191); +if (lean_obj_tag(x_192) == 0) { lean_dec(x_3); -return x_195; +return x_192; } else { -uint8_t x_196; -x_196 = !lean_is_exclusive(x_195); -if (x_196 == 0) +uint8_t x_193; +x_193 = !lean_is_exclusive(x_192); +if (x_193 == 0) { -lean_object* x_197; -x_197 = lean_ctor_get(x_195, 0); -lean_dec(x_197); -lean_ctor_set_tag(x_195, 0); -lean_ctor_set(x_195, 0, x_3); -return x_195; +lean_object* x_194; +x_194 = lean_ctor_get(x_192, 0); +lean_dec(x_194); +lean_ctor_set_tag(x_192, 0); +lean_ctor_set(x_192, 0, x_3); +return x_192; } else { -lean_object* x_198; lean_object* x_199; -x_198 = lean_ctor_get(x_195, 1); -lean_inc(x_198); -lean_dec(x_195); -x_199 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_199, 0, x_3); -lean_ctor_set(x_199, 1, x_198); -return x_199; +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_192, 1); +lean_inc(x_195); +lean_dec(x_192); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_3); +lean_ctor_set(x_196, 1, x_195); +return x_196; } } } else { -uint8_t x_200; -lean_dec(x_172); -lean_dec(x_157); +uint8_t x_197; +lean_dec(x_170); +lean_dec(x_155); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_1); -x_200 = !lean_is_exclusive(x_185); -if (x_200 == 0) +x_197 = !lean_is_exclusive(x_182); +if (x_197 == 0) { -lean_object* x_201; -x_201 = lean_ctor_get(x_185, 0); -lean_dec(x_201); -lean_ctor_set_tag(x_185, 0); -lean_ctor_set(x_185, 0, x_3); -return x_185; +lean_object* x_198; +x_198 = lean_ctor_get(x_182, 0); +lean_dec(x_198); +lean_ctor_set_tag(x_182, 0); +lean_ctor_set(x_182, 0, x_3); +return x_182; } else { -lean_object* x_202; lean_object* x_203; -x_202 = lean_ctor_get(x_185, 1); -lean_inc(x_202); -lean_dec(x_185); -x_203 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_203, 0, x_3); -lean_ctor_set(x_203, 1, x_202); -return x_203; +lean_object* x_199; lean_object* x_200; +x_199 = lean_ctor_get(x_182, 1); +lean_inc(x_199); +lean_dec(x_182); +x_200 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_200, 0, x_3); +lean_ctor_set(x_200, 1, x_199); +return x_200; } } } @@ -19641,31 +19638,31 @@ return x_203; } else { -uint8_t x_216; -lean_dec(x_157); +uint8_t x_213; +lean_dec(x_155); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_216 = !lean_is_exclusive(x_166); -if (x_216 == 0) +x_213 = !lean_is_exclusive(x_164); +if (x_213 == 0) { -return x_166; +return x_164; } else { -lean_object* x_217; lean_object* x_218; lean_object* x_219; -x_217 = lean_ctor_get(x_166, 0); -x_218 = lean_ctor_get(x_166, 1); -lean_inc(x_218); -lean_inc(x_217); -lean_dec(x_166); -x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_217); -lean_ctor_set(x_219, 1, x_218); -return x_219; +lean_object* x_214; lean_object* x_215; lean_object* x_216; +x_214 = lean_ctor_get(x_164, 0); +x_215 = lean_ctor_get(x_164, 1); +lean_inc(x_215); +lean_inc(x_214); +lean_dec(x_164); +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; } } } @@ -19674,258 +19671,290 @@ return x_219; } case 3: { -lean_object* x_220; +lean_object* x_217; lean_dec(x_7); lean_dec(x_6); -x_220 = l_Lean_Expr_constName_x3f(x_5); +x_217 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_220) == 0) +if (lean_obj_tag(x_217) == 0) { -lean_object* x_221; +lean_object* x_218; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_221 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_221, 0, x_3); -lean_ctor_set(x_221, 1, x_12); -return x_221; +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_3); +lean_ctor_set(x_218, 1, x_12); +return x_218; } else { -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_220, 0); -lean_inc(x_222); -lean_dec(x_220); -x_223 = lean_unsigned_to_nat(0u); -x_224 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_223); -if (lean_obj_tag(x_224) == 0) +lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_219 = lean_ctor_get(x_217, 0); +lean_inc(x_219); +lean_dec(x_217); +x_220 = lean_unsigned_to_nat(0u); +x_221 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_220); +if (lean_obj_tag(x_221) == 0) { -lean_object* x_225; -lean_dec(x_222); +lean_object* x_222; +lean_dec(x_219); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_225 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_225, 0, x_3); -lean_ctor_set(x_225, 1, x_12); -return x_225; +x_222 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_222, 0, x_3); +lean_ctor_set(x_222, 1, x_12); +return x_222; } else { -lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; -x_226 = lean_ctor_get(x_224, 0); -lean_inc(x_226); -lean_dec(x_224); -x_227 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_222, x_8, x_9, x_10, x_11, x_12); -x_228 = lean_ctor_get(x_227, 0); -lean_inc(x_228); -x_229 = lean_unbox(x_228); +lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; +x_223 = lean_ctor_get(x_221, 0); +lean_inc(x_223); +lean_dec(x_221); +x_224 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_219, x_8, x_9, x_10, x_11, x_12); +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_unbox(x_225); +lean_dec(x_225); +if (x_226 == 0) +{ +uint8_t x_227; +lean_dec(x_223); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_227 = !lean_is_exclusive(x_224); +if (x_227 == 0) +{ +lean_object* x_228; +x_228 = lean_ctor_get(x_224, 0); lean_dec(x_228); -if (x_229 == 0) -{ -uint8_t x_230; -lean_dec(x_226); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_230 = !lean_is_exclusive(x_227); -if (x_230 == 0) -{ -lean_object* x_231; -x_231 = lean_ctor_get(x_227, 0); -lean_dec(x_231); -lean_ctor_set(x_227, 0, x_3); -return x_227; +lean_ctor_set(x_224, 0, x_3); +return x_224; } else { -lean_object* x_232; lean_object* x_233; -x_232 = lean_ctor_get(x_227, 1); -lean_inc(x_232); -lean_dec(x_227); -x_233 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_233, 0, x_3); -lean_ctor_set(x_233, 1, x_232); -return x_233; +lean_object* x_229; lean_object* x_230; +x_229 = lean_ctor_get(x_224, 1); +lean_inc(x_229); +lean_dec(x_224); +x_230 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_230, 0, x_3); +lean_ctor_set(x_230, 1, x_229); +return x_230; } } else { -lean_object* x_234; lean_object* x_235; -x_234 = lean_ctor_get(x_227, 1); -lean_inc(x_234); -lean_dec(x_227); +lean_object* x_231; lean_object* x_232; +x_231 = lean_ctor_get(x_224, 1); +lean_inc(x_231); +lean_dec(x_224); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_226); +lean_inc(x_223); lean_inc(x_1); -x_235 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_226, x_8, x_9, x_10, x_11, x_234); -if (lean_obj_tag(x_235) == 0) +x_232 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_223, x_8, x_9, x_10, x_11, x_231); +if (lean_obj_tag(x_232) == 0) { -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; lean_object* x_245; lean_object* x_274; lean_object* x_275; lean_object* x_276; uint8_t x_277; -x_236 = lean_ctor_get(x_235, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_235, 1); -lean_inc(x_237); -lean_dec(x_235); -x_238 = lean_ctor_get(x_236, 1); -lean_inc(x_238); -lean_dec(x_236); -x_239 = lean_box(0); +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; lean_object* x_242; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; +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, 1); +lean_inc(x_235); +lean_dec(x_233); +x_236 = lean_box(0); lean_inc(x_8); -x_240 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_238, x_239, x_8, x_9, x_10, x_11, x_237); -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_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_274 = lean_st_ref_get(x_11, x_242); -x_275 = lean_ctor_get(x_274, 0); -lean_inc(x_275); -x_276 = lean_ctor_get(x_275, 3); -lean_inc(x_276); -lean_dec(x_275); -x_277 = lean_ctor_get_uint8(x_276, sizeof(void*)*1); -lean_dec(x_276); -if (x_277 == 0) +x_237 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_235, x_236, x_8, x_9, x_10, x_11, x_234); +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_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_270 = lean_st_ref_get(x_11, x_239); +x_271 = lean_ctor_get(x_270, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_271, 3); +lean_inc(x_272); +lean_dec(x_271); +x_273 = lean_ctor_get_uint8(x_272, sizeof(void*)*1); +lean_dec(x_272); +if (x_273 == 0) { -lean_object* x_278; uint8_t x_279; -x_278 = lean_ctor_get(x_274, 1); -lean_inc(x_278); -lean_dec(x_274); -x_279 = 0; -x_244 = x_279; -x_245 = x_278; -goto block_273; +lean_object* x_274; uint8_t x_275; +x_274 = lean_ctor_get(x_270, 1); +lean_inc(x_274); +lean_dec(x_270); +x_275 = 0; +x_241 = x_275; +x_242 = x_274; +goto block_269; } else { -lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; uint8_t x_284; -x_280 = lean_ctor_get(x_274, 1); -lean_inc(x_280); -lean_dec(x_274); -x_281 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_243, x_8, x_9, x_10, x_11, x_280); -x_282 = lean_ctor_get(x_281, 0); -lean_inc(x_282); -x_283 = lean_ctor_get(x_281, 1); -lean_inc(x_283); -lean_dec(x_281); -x_284 = lean_unbox(x_282); -lean_dec(x_282); -x_244 = x_284; -x_245 = x_283; -goto block_273; +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; uint8_t x_280; +x_276 = lean_ctor_get(x_270, 1); +lean_inc(x_276); +lean_dec(x_270); +x_277 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_240, x_8, x_9, x_10, x_11, x_276); +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); +x_280 = lean_unbox(x_278); +lean_dec(x_278); +x_241 = x_280; +x_242 = x_279; +goto block_269; } -block_273: +block_269: { -if (x_244 == 0) +if (x_241 == 0) { -lean_object* x_246; lean_object* x_247; -x_246 = lean_box(0); +lean_object* x_243; lean_object* x_244; +x_243 = lean_box(0); lean_inc(x_3); -x_247 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_241, x_3, x_243, x_1, x_226, x_246, x_8, x_9, x_10, x_11, x_245); -if (lean_obj_tag(x_247) == 0) +x_244 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_238, x_3, x_240, x_1, x_223, x_243, x_8, x_9, x_10, x_11, x_242); +if (lean_obj_tag(x_244) == 0) { lean_dec(x_3); -return x_247; +return x_244; } else { -uint8_t x_248; -x_248 = !lean_is_exclusive(x_247); -if (x_248 == 0) +uint8_t x_245; +x_245 = !lean_is_exclusive(x_244); +if (x_245 == 0) { -lean_object* x_249; -x_249 = lean_ctor_get(x_247, 0); -lean_dec(x_249); -lean_ctor_set_tag(x_247, 0); -lean_ctor_set(x_247, 0, x_3); -return x_247; +lean_object* x_246; +x_246 = lean_ctor_get(x_244, 0); +lean_dec(x_246); +lean_ctor_set_tag(x_244, 0); +lean_ctor_set(x_244, 0, x_3); +return x_244; } else { -lean_object* x_250; lean_object* x_251; -x_250 = lean_ctor_get(x_247, 1); -lean_inc(x_250); -lean_dec(x_247); -x_251 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_251, 0, x_3); -lean_ctor_set(x_251, 1, x_250); -return x_251; +lean_object* x_247; lean_object* x_248; +x_247 = lean_ctor_get(x_244, 1); +lean_inc(x_247); +lean_dec(x_244); +x_248 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_248, 0, x_3); +lean_ctor_set(x_248, 1, x_247); +return x_248; } } } else { -lean_object* x_252; uint8_t x_253; lean_object* x_254; -x_252 = l_Lean_Expr_mvarId_x21(x_241); -x_253 = 0; +lean_object* x_249; lean_object* x_250; +x_249 = l_Lean_Expr_mvarId_x21(x_238); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_254 = l_Lean_Meta_ppGoal(x_252, x_253, x_8, x_9, x_10, x_11, x_245); -if (lean_obj_tag(x_254) == 0) +x_250 = l_Lean_Meta_ppGoal(x_249, x_8, x_9, x_10, x_11, x_242); +if (lean_obj_tag(x_250) == 0) { -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_257 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_257, 0, x_255); -x_258 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_259 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_259, 0, x_258); -lean_ctor_set(x_259, 1, x_257); -x_260 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_260, 0, x_259); -lean_ctor_set(x_260, 1, x_258); -x_261 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_243, x_260, x_8, x_9, x_10, x_11, x_256); -x_262 = lean_ctor_get(x_261, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); -lean_inc(x_263); -lean_dec(x_261); +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_251 = lean_ctor_get(x_250, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_250, 1); +lean_inc(x_252); +lean_dec(x_250); +x_253 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_253, 0, x_251); +x_254 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_255 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_255, 0, x_254); +lean_ctor_set(x_255, 1, x_253); +x_256 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_256, 0, x_255); +lean_ctor_set(x_256, 1, x_254); +x_257 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_240, x_256, x_8, x_9, x_10, x_11, x_252); +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +x_259 = lean_ctor_get(x_257, 1); +lean_inc(x_259); +lean_dec(x_257); lean_inc(x_3); -x_264 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_241, x_3, x_243, x_1, x_226, x_262, x_8, x_9, x_10, x_11, x_263); -if (lean_obj_tag(x_264) == 0) +x_260 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_238, x_3, x_240, x_1, x_223, x_258, x_8, x_9, x_10, x_11, x_259); +if (lean_obj_tag(x_260) == 0) { lean_dec(x_3); +return x_260; +} +else +{ +uint8_t x_261; +x_261 = !lean_is_exclusive(x_260); +if (x_261 == 0) +{ +lean_object* x_262; +x_262 = lean_ctor_get(x_260, 0); +lean_dec(x_262); +lean_ctor_set_tag(x_260, 0); +lean_ctor_set(x_260, 0, x_3); +return x_260; +} +else +{ +lean_object* x_263; lean_object* x_264; +x_263 = lean_ctor_get(x_260, 1); +lean_inc(x_263); +lean_dec(x_260); +x_264 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_264, 0, x_3); +lean_ctor_set(x_264, 1, x_263); return x_264; } +} +} else { uint8_t x_265; -x_265 = !lean_is_exclusive(x_264); +lean_dec(x_238); +lean_dec(x_223); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_265 = !lean_is_exclusive(x_250); if (x_265 == 0) { lean_object* x_266; -x_266 = lean_ctor_get(x_264, 0); +x_266 = lean_ctor_get(x_250, 0); lean_dec(x_266); -lean_ctor_set_tag(x_264, 0); -lean_ctor_set(x_264, 0, x_3); -return x_264; +lean_ctor_set_tag(x_250, 0); +lean_ctor_set(x_250, 0, x_3); +return x_250; } else { lean_object* x_267; lean_object* x_268; -x_267 = lean_ctor_get(x_264, 1); +x_267 = lean_ctor_get(x_250, 1); lean_inc(x_267); -lean_dec(x_264); +lean_dec(x_250); x_268 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_268, 0, x_3); lean_ctor_set(x_268, 1, x_267); @@ -19933,68 +19962,35 @@ return x_268; } } } -else -{ -uint8_t x_269; -lean_dec(x_241); -lean_dec(x_226); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_269 = !lean_is_exclusive(x_254); -if (x_269 == 0) -{ -lean_object* x_270; -x_270 = lean_ctor_get(x_254, 0); -lean_dec(x_270); -lean_ctor_set_tag(x_254, 0); -lean_ctor_set(x_254, 0, x_3); -return x_254; -} -else -{ -lean_object* x_271; lean_object* x_272; -x_271 = lean_ctor_get(x_254, 1); -lean_inc(x_271); -lean_dec(x_254); -x_272 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_272, 0, x_3); -lean_ctor_set(x_272, 1, x_271); -return x_272; -} -} -} } } else { -uint8_t x_285; -lean_dec(x_226); +uint8_t x_281; +lean_dec(x_223); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_285 = !lean_is_exclusive(x_235); -if (x_285 == 0) +x_281 = !lean_is_exclusive(x_232); +if (x_281 == 0) { -return x_235; +return x_232; } else { -lean_object* x_286; lean_object* x_287; lean_object* x_288; -x_286 = lean_ctor_get(x_235, 0); -x_287 = lean_ctor_get(x_235, 1); -lean_inc(x_287); -lean_inc(x_286); -lean_dec(x_235); -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; +lean_object* x_282; lean_object* x_283; lean_object* x_284; +x_282 = lean_ctor_get(x_232, 0); +x_283 = lean_ctor_get(x_232, 1); +lean_inc(x_283); +lean_inc(x_282); +lean_dec(x_232); +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; } } } @@ -20003,14 +19999,37 @@ return x_288; } case 4: { -lean_object* x_289; +lean_object* x_285; lean_dec(x_7); lean_dec(x_6); -x_289 = l_Lean_Expr_constName_x3f(x_5); +x_285 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); +if (lean_obj_tag(x_285) == 0) +{ +lean_object* x_286; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_286, 0, x_3); +lean_ctor_set(x_286, 1, x_12); +return x_286; +} +else +{ +lean_object* x_287; lean_object* x_288; lean_object* x_289; +x_287 = lean_ctor_get(x_285, 0); +lean_inc(x_287); +lean_dec(x_285); +x_288 = lean_unsigned_to_nat(0u); +x_289 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_288); if (lean_obj_tag(x_289) == 0) { lean_object* x_290; +lean_dec(x_287); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -20024,15 +20043,18 @@ return x_290; } else { -lean_object* x_291; lean_object* x_292; lean_object* x_293; +lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; x_291 = lean_ctor_get(x_289, 0); lean_inc(x_291); lean_dec(x_289); -x_292 = lean_unsigned_to_nat(0u); -x_293 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_292); -if (lean_obj_tag(x_293) == 0) +x_292 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_287, x_8, x_9, x_10, x_11, x_12); +x_293 = lean_ctor_get(x_292, 0); +lean_inc(x_293); +x_294 = lean_unbox(x_293); +lean_dec(x_293); +if (x_294 == 0) { -lean_object* x_294; +uint8_t x_295; lean_dec(x_291); lean_dec(x_11); lean_dec(x_10); @@ -20040,258 +20062,231 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_294 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_294, 0, x_3); -lean_ctor_set(x_294, 1, x_12); -return x_294; +x_295 = !lean_is_exclusive(x_292); +if (x_295 == 0) +{ +lean_object* x_296; +x_296 = lean_ctor_get(x_292, 0); +lean_dec(x_296); +lean_ctor_set(x_292, 0, x_3); +return x_292; } else { -lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; -x_295 = lean_ctor_get(x_293, 0); -lean_inc(x_295); -lean_dec(x_293); -x_296 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_291, x_8, x_9, x_10, x_11, x_12); -x_297 = lean_ctor_get(x_296, 0); +lean_object* x_297; lean_object* x_298; +x_297 = lean_ctor_get(x_292, 1); lean_inc(x_297); -x_298 = lean_unbox(x_297); -lean_dec(x_297); -if (x_298 == 0) -{ -uint8_t x_299; -lean_dec(x_295); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_299 = !lean_is_exclusive(x_296); -if (x_299 == 0) -{ -lean_object* x_300; -x_300 = lean_ctor_get(x_296, 0); -lean_dec(x_300); -lean_ctor_set(x_296, 0, x_3); -return x_296; -} -else -{ -lean_object* x_301; lean_object* x_302; -x_301 = lean_ctor_get(x_296, 1); -lean_inc(x_301); -lean_dec(x_296); -x_302 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_302, 0, x_3); -lean_ctor_set(x_302, 1, x_301); -return x_302; +lean_dec(x_292); +x_298 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_298, 0, x_3); +lean_ctor_set(x_298, 1, x_297); +return x_298; } } else { -lean_object* x_303; lean_object* x_304; -x_303 = lean_ctor_get(x_296, 1); -lean_inc(x_303); -lean_dec(x_296); +lean_object* x_299; lean_object* x_300; +x_299 = lean_ctor_get(x_292, 1); +lean_inc(x_299); +lean_dec(x_292); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_295); +lean_inc(x_291); lean_inc(x_1); -x_304 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_295, x_8, x_9, x_10, x_11, x_303); -if (lean_obj_tag(x_304) == 0) +x_300 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_291, x_8, x_9, x_10, x_11, x_299); +if (lean_obj_tag(x_300) == 0) { -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; uint8_t x_313; lean_object* x_314; lean_object* x_343; lean_object* x_344; lean_object* x_345; uint8_t x_346; -x_305 = lean_ctor_get(x_304, 0); -lean_inc(x_305); -x_306 = lean_ctor_get(x_304, 1); +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; lean_object* x_310; lean_object* x_338; lean_object* x_339; lean_object* x_340; uint8_t x_341; +x_301 = lean_ctor_get(x_300, 0); +lean_inc(x_301); +x_302 = lean_ctor_get(x_300, 1); +lean_inc(x_302); +lean_dec(x_300); +x_303 = lean_ctor_get(x_301, 1); +lean_inc(x_303); +lean_dec(x_301); +x_304 = lean_box(0); +lean_inc(x_8); +x_305 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_303, x_304, x_8, x_9, x_10, x_11, x_302); +x_306 = lean_ctor_get(x_305, 0); lean_inc(x_306); -lean_dec(x_304); x_307 = lean_ctor_get(x_305, 1); lean_inc(x_307); lean_dec(x_305); -x_308 = lean_box(0); -lean_inc(x_8); -x_309 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_307, x_308, x_8, x_9, x_10, x_11, x_306); -x_310 = lean_ctor_get(x_309, 0); -lean_inc(x_310); -x_311 = lean_ctor_get(x_309, 1); -lean_inc(x_311); -lean_dec(x_309); -x_312 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_343 = lean_st_ref_get(x_11, x_311); -x_344 = lean_ctor_get(x_343, 0); -lean_inc(x_344); -x_345 = lean_ctor_get(x_344, 3); -lean_inc(x_345); -lean_dec(x_344); -x_346 = lean_ctor_get_uint8(x_345, sizeof(void*)*1); -lean_dec(x_345); -if (x_346 == 0) +x_308 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_338 = lean_st_ref_get(x_11, x_307); +x_339 = lean_ctor_get(x_338, 0); +lean_inc(x_339); +x_340 = lean_ctor_get(x_339, 3); +lean_inc(x_340); +lean_dec(x_339); +x_341 = lean_ctor_get_uint8(x_340, sizeof(void*)*1); +lean_dec(x_340); +if (x_341 == 0) { -lean_object* x_347; uint8_t x_348; -x_347 = lean_ctor_get(x_343, 1); -lean_inc(x_347); -lean_dec(x_343); -x_348 = 0; -x_313 = x_348; -x_314 = x_347; -goto block_342; +lean_object* x_342; uint8_t x_343; +x_342 = lean_ctor_get(x_338, 1); +lean_inc(x_342); +lean_dec(x_338); +x_343 = 0; +x_309 = x_343; +x_310 = x_342; +goto block_337; } else { -lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; uint8_t x_353; -x_349 = lean_ctor_get(x_343, 1); -lean_inc(x_349); -lean_dec(x_343); -x_350 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_312, x_8, x_9, x_10, x_11, x_349); -x_351 = lean_ctor_get(x_350, 0); -lean_inc(x_351); -x_352 = lean_ctor_get(x_350, 1); -lean_inc(x_352); -lean_dec(x_350); -x_353 = lean_unbox(x_351); -lean_dec(x_351); -x_313 = x_353; -x_314 = x_352; -goto block_342; +lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; uint8_t x_348; +x_344 = lean_ctor_get(x_338, 1); +lean_inc(x_344); +lean_dec(x_338); +x_345 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_308, x_8, x_9, x_10, x_11, x_344); +x_346 = lean_ctor_get(x_345, 0); +lean_inc(x_346); +x_347 = lean_ctor_get(x_345, 1); +lean_inc(x_347); +lean_dec(x_345); +x_348 = lean_unbox(x_346); +lean_dec(x_346); +x_309 = x_348; +x_310 = x_347; +goto block_337; } -block_342: +block_337: { -if (x_313 == 0) +if (x_309 == 0) { -lean_object* x_315; lean_object* x_316; -x_315 = lean_box(0); +lean_object* x_311; lean_object* x_312; +x_311 = lean_box(0); lean_inc(x_3); -x_316 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_310, x_3, x_312, x_1, x_295, x_315, x_8, x_9, x_10, x_11, x_314); -if (lean_obj_tag(x_316) == 0) +x_312 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_306, x_3, x_308, x_1, x_291, x_311, x_8, x_9, x_10, x_11, x_310); +if (lean_obj_tag(x_312) == 0) { lean_dec(x_3); -return x_316; +return x_312; } else { -uint8_t x_317; -x_317 = !lean_is_exclusive(x_316); -if (x_317 == 0) +uint8_t x_313; +x_313 = !lean_is_exclusive(x_312); +if (x_313 == 0) { -lean_object* x_318; -x_318 = lean_ctor_get(x_316, 0); -lean_dec(x_318); -lean_ctor_set_tag(x_316, 0); +lean_object* x_314; +x_314 = lean_ctor_get(x_312, 0); +lean_dec(x_314); +lean_ctor_set_tag(x_312, 0); +lean_ctor_set(x_312, 0, x_3); +return x_312; +} +else +{ +lean_object* x_315; lean_object* x_316; +x_315 = lean_ctor_get(x_312, 1); +lean_inc(x_315); +lean_dec(x_312); +x_316 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_316, 0, x_3); +lean_ctor_set(x_316, 1, x_315); return x_316; } -else -{ -lean_object* x_319; lean_object* x_320; -x_319 = lean_ctor_get(x_316, 1); -lean_inc(x_319); -lean_dec(x_316); -x_320 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_320, 0, x_3); -lean_ctor_set(x_320, 1, x_319); -return x_320; -} } } else { -lean_object* x_321; uint8_t x_322; lean_object* x_323; -x_321 = l_Lean_Expr_mvarId_x21(x_310); -x_322 = 0; +lean_object* x_317; lean_object* x_318; +x_317 = l_Lean_Expr_mvarId_x21(x_306); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_323 = l_Lean_Meta_ppGoal(x_321, x_322, x_8, x_9, x_10, x_11, x_314); -if (lean_obj_tag(x_323) == 0) +x_318 = l_Lean_Meta_ppGoal(x_317, x_8, x_9, x_10, x_11, x_310); +if (lean_obj_tag(x_318) == 0) { -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; -x_324 = lean_ctor_get(x_323, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_323, 1); -lean_inc(x_325); -lean_dec(x_323); -x_326 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_326, 0, x_324); -x_327 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_328 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_328, 0, x_327); -lean_ctor_set(x_328, 1, x_326); -x_329 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_329, 0, x_328); -lean_ctor_set(x_329, 1, x_327); -x_330 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_312, x_329, x_8, x_9, x_10, x_11, x_325); -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); +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; +x_319 = lean_ctor_get(x_318, 0); +lean_inc(x_319); +x_320 = lean_ctor_get(x_318, 1); +lean_inc(x_320); +lean_dec(x_318); +x_321 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_321, 0, x_319); +x_322 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_323 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_323, 0, x_322); +lean_ctor_set(x_323, 1, x_321); +x_324 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_324, 0, x_323); +lean_ctor_set(x_324, 1, x_322); +x_325 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_308, x_324, x_8, x_9, x_10, x_11, x_320); +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); lean_inc(x_3); -x_333 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_310, x_3, x_312, x_1, x_295, x_331, x_8, x_9, x_10, x_11, x_332); -if (lean_obj_tag(x_333) == 0) +x_328 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_306, x_3, x_308, x_1, x_291, x_326, x_8, x_9, x_10, x_11, x_327); +if (lean_obj_tag(x_328) == 0) { lean_dec(x_3); -return x_333; +return x_328; } else { -uint8_t x_334; -x_334 = !lean_is_exclusive(x_333); -if (x_334 == 0) +uint8_t x_329; +x_329 = !lean_is_exclusive(x_328); +if (x_329 == 0) { -lean_object* x_335; -x_335 = lean_ctor_get(x_333, 0); -lean_dec(x_335); -lean_ctor_set_tag(x_333, 0); -lean_ctor_set(x_333, 0, x_3); -return x_333; +lean_object* x_330; +x_330 = lean_ctor_get(x_328, 0); +lean_dec(x_330); +lean_ctor_set_tag(x_328, 0); +lean_ctor_set(x_328, 0, x_3); +return x_328; } else { -lean_object* x_336; lean_object* x_337; -x_336 = lean_ctor_get(x_333, 1); -lean_inc(x_336); -lean_dec(x_333); -x_337 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_337, 0, x_3); -lean_ctor_set(x_337, 1, x_336); -return x_337; +lean_object* x_331; lean_object* x_332; +x_331 = lean_ctor_get(x_328, 1); +lean_inc(x_331); +lean_dec(x_328); +x_332 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_332, 0, x_3); +lean_ctor_set(x_332, 1, x_331); +return x_332; } } } else { -uint8_t x_338; -lean_dec(x_310); -lean_dec(x_295); +uint8_t x_333; +lean_dec(x_306); +lean_dec(x_291); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_1); -x_338 = !lean_is_exclusive(x_323); -if (x_338 == 0) +x_333 = !lean_is_exclusive(x_318); +if (x_333 == 0) { -lean_object* x_339; -x_339 = lean_ctor_get(x_323, 0); -lean_dec(x_339); -lean_ctor_set_tag(x_323, 0); -lean_ctor_set(x_323, 0, x_3); -return x_323; +lean_object* x_334; +x_334 = lean_ctor_get(x_318, 0); +lean_dec(x_334); +lean_ctor_set_tag(x_318, 0); +lean_ctor_set(x_318, 0, x_3); +return x_318; } else { -lean_object* x_340; lean_object* x_341; -x_340 = lean_ctor_get(x_323, 1); -lean_inc(x_340); -lean_dec(x_323); -x_341 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_341, 0, x_3); -lean_ctor_set(x_341, 1, x_340); -return x_341; +lean_object* x_335; lean_object* x_336; +x_335 = lean_ctor_get(x_318, 1); +lean_inc(x_335); +lean_dec(x_318); +x_336 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_336, 0, x_3); +lean_ctor_set(x_336, 1, x_335); +return x_336; } } } @@ -20299,31 +20294,31 @@ return x_341; } else { -uint8_t x_354; -lean_dec(x_295); +uint8_t x_349; +lean_dec(x_291); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_354 = !lean_is_exclusive(x_304); -if (x_354 == 0) +x_349 = !lean_is_exclusive(x_300); +if (x_349 == 0) { -return x_304; +return x_300; } else { -lean_object* x_355; lean_object* x_356; lean_object* x_357; -x_355 = lean_ctor_get(x_304, 0); -x_356 = lean_ctor_get(x_304, 1); -lean_inc(x_356); -lean_inc(x_355); -lean_dec(x_304); -x_357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_357, 0, x_355); -lean_ctor_set(x_357, 1, x_356); -return x_357; +lean_object* x_350; lean_object* x_351; lean_object* x_352; +x_350 = lean_ctor_get(x_300, 0); +x_351 = lean_ctor_get(x_300, 1); +lean_inc(x_351); +lean_inc(x_350); +lean_dec(x_300); +x_352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_352, 0, x_350); +lean_ctor_set(x_352, 1, x_351); +return x_352; } } } @@ -20332,312 +20327,311 @@ return x_357; } case 5: { -lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; -x_358 = lean_ctor_get(x_5, 0); -lean_inc(x_358); -x_359 = lean_ctor_get(x_5, 1); -lean_inc(x_359); +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_5, 0); +lean_inc(x_353); +x_354 = lean_ctor_get(x_5, 1); +lean_inc(x_354); lean_dec(x_5); -x_360 = lean_array_set(x_6, x_7, x_359); -x_361 = lean_unsigned_to_nat(1u); -x_362 = lean_nat_sub(x_7, x_361); +x_355 = lean_array_set(x_6, x_7, x_354); +x_356 = lean_unsigned_to_nat(1u); +x_357 = lean_nat_sub(x_7, x_356); lean_dec(x_7); -x_5 = x_358; -x_6 = x_360; -x_7 = x_362; +x_5 = x_353; +x_6 = x_355; +x_7 = x_357; goto _start; } case 6: { -lean_object* x_364; +lean_object* x_359; lean_dec(x_7); lean_dec(x_6); -x_364 = l_Lean_Expr_constName_x3f(x_5); +x_359 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_364) == 0) +if (lean_obj_tag(x_359) == 0) { -lean_object* x_365; +lean_object* x_360; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_365 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_365, 0, x_3); -lean_ctor_set(x_365, 1, x_12); -return x_365; +x_360 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_360, 0, x_3); +lean_ctor_set(x_360, 1, x_12); +return x_360; } else { -lean_object* x_366; lean_object* x_367; lean_object* x_368; -x_366 = lean_ctor_get(x_364, 0); -lean_inc(x_366); -lean_dec(x_364); -x_367 = lean_unsigned_to_nat(0u); -x_368 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_367); -if (lean_obj_tag(x_368) == 0) +lean_object* x_361; lean_object* x_362; lean_object* x_363; +x_361 = lean_ctor_get(x_359, 0); +lean_inc(x_361); +lean_dec(x_359); +x_362 = lean_unsigned_to_nat(0u); +x_363 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_362); +if (lean_obj_tag(x_363) == 0) { -lean_object* x_369; -lean_dec(x_366); +lean_object* x_364; +lean_dec(x_361); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_369 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_369, 0, x_3); -lean_ctor_set(x_369, 1, x_12); -return x_369; +x_364 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_364, 0, x_3); +lean_ctor_set(x_364, 1, x_12); +return x_364; } else { -lean_object* x_370; lean_object* x_371; lean_object* x_372; uint8_t x_373; -x_370 = lean_ctor_get(x_368, 0); -lean_inc(x_370); -lean_dec(x_368); -x_371 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_366, x_8, x_9, x_10, x_11, x_12); -x_372 = lean_ctor_get(x_371, 0); -lean_inc(x_372); -x_373 = lean_unbox(x_372); -lean_dec(x_372); -if (x_373 == 0) +lean_object* x_365; lean_object* x_366; lean_object* x_367; uint8_t x_368; +x_365 = lean_ctor_get(x_363, 0); +lean_inc(x_365); +lean_dec(x_363); +x_366 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_361, x_8, x_9, x_10, x_11, x_12); +x_367 = lean_ctor_get(x_366, 0); +lean_inc(x_367); +x_368 = lean_unbox(x_367); +lean_dec(x_367); +if (x_368 == 0) { -uint8_t x_374; +uint8_t x_369; +lean_dec(x_365); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_369 = !lean_is_exclusive(x_366); +if (x_369 == 0) +{ +lean_object* x_370; +x_370 = lean_ctor_get(x_366, 0); lean_dec(x_370); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_374 = !lean_is_exclusive(x_371); -if (x_374 == 0) -{ -lean_object* x_375; -x_375 = lean_ctor_get(x_371, 0); -lean_dec(x_375); -lean_ctor_set(x_371, 0, x_3); -return x_371; +lean_ctor_set(x_366, 0, x_3); +return x_366; } else { -lean_object* x_376; lean_object* x_377; -x_376 = lean_ctor_get(x_371, 1); -lean_inc(x_376); -lean_dec(x_371); -x_377 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_377, 0, x_3); -lean_ctor_set(x_377, 1, x_376); -return x_377; +lean_object* x_371; lean_object* x_372; +x_371 = lean_ctor_get(x_366, 1); +lean_inc(x_371); +lean_dec(x_366); +x_372 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_372, 0, x_3); +lean_ctor_set(x_372, 1, x_371); +return x_372; } } else { -lean_object* x_378; lean_object* x_379; -x_378 = lean_ctor_get(x_371, 1); -lean_inc(x_378); -lean_dec(x_371); +lean_object* x_373; lean_object* x_374; +x_373 = lean_ctor_get(x_366, 1); +lean_inc(x_373); +lean_dec(x_366); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_370); +lean_inc(x_365); lean_inc(x_1); -x_379 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_370, x_8, x_9, x_10, x_11, x_378); -if (lean_obj_tag(x_379) == 0) +x_374 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_365, x_8, x_9, x_10, x_11, x_373); +if (lean_obj_tag(x_374) == 0) { -lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; uint8_t x_388; lean_object* x_389; lean_object* x_418; lean_object* x_419; lean_object* x_420; uint8_t x_421; +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; uint8_t x_383; lean_object* x_384; lean_object* x_412; lean_object* x_413; lean_object* x_414; uint8_t x_415; +x_375 = lean_ctor_get(x_374, 0); +lean_inc(x_375); +x_376 = lean_ctor_get(x_374, 1); +lean_inc(x_376); +lean_dec(x_374); +x_377 = lean_ctor_get(x_375, 1); +lean_inc(x_377); +lean_dec(x_375); +x_378 = lean_box(0); +lean_inc(x_8); +x_379 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_377, x_378, x_8, x_9, x_10, x_11, x_376); x_380 = lean_ctor_get(x_379, 0); lean_inc(x_380); x_381 = lean_ctor_get(x_379, 1); lean_inc(x_381); lean_dec(x_379); -x_382 = lean_ctor_get(x_380, 1); -lean_inc(x_382); -lean_dec(x_380); -x_383 = lean_box(0); -lean_inc(x_8); -x_384 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_382, x_383, x_8, x_9, x_10, x_11, x_381); -x_385 = lean_ctor_get(x_384, 0); -lean_inc(x_385); -x_386 = lean_ctor_get(x_384, 1); -lean_inc(x_386); -lean_dec(x_384); -x_387 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_418 = lean_st_ref_get(x_11, x_386); -x_419 = lean_ctor_get(x_418, 0); -lean_inc(x_419); -x_420 = lean_ctor_get(x_419, 3); -lean_inc(x_420); -lean_dec(x_419); -x_421 = lean_ctor_get_uint8(x_420, sizeof(void*)*1); -lean_dec(x_420); -if (x_421 == 0) +x_382 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_412 = lean_st_ref_get(x_11, x_381); +x_413 = lean_ctor_get(x_412, 0); +lean_inc(x_413); +x_414 = lean_ctor_get(x_413, 3); +lean_inc(x_414); +lean_dec(x_413); +x_415 = lean_ctor_get_uint8(x_414, sizeof(void*)*1); +lean_dec(x_414); +if (x_415 == 0) { -lean_object* x_422; uint8_t x_423; -x_422 = lean_ctor_get(x_418, 1); -lean_inc(x_422); -lean_dec(x_418); -x_423 = 0; -x_388 = x_423; -x_389 = x_422; -goto block_417; +lean_object* x_416; uint8_t x_417; +x_416 = lean_ctor_get(x_412, 1); +lean_inc(x_416); +lean_dec(x_412); +x_417 = 0; +x_383 = x_417; +x_384 = x_416; +goto block_411; } else { -lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; uint8_t x_428; -x_424 = lean_ctor_get(x_418, 1); -lean_inc(x_424); -lean_dec(x_418); -x_425 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_387, x_8, x_9, x_10, x_11, x_424); -x_426 = lean_ctor_get(x_425, 0); -lean_inc(x_426); -x_427 = lean_ctor_get(x_425, 1); -lean_inc(x_427); -lean_dec(x_425); -x_428 = lean_unbox(x_426); -lean_dec(x_426); -x_388 = x_428; -x_389 = x_427; -goto block_417; +lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; uint8_t x_422; +x_418 = lean_ctor_get(x_412, 1); +lean_inc(x_418); +lean_dec(x_412); +x_419 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_382, x_8, x_9, x_10, x_11, x_418); +x_420 = lean_ctor_get(x_419, 0); +lean_inc(x_420); +x_421 = lean_ctor_get(x_419, 1); +lean_inc(x_421); +lean_dec(x_419); +x_422 = lean_unbox(x_420); +lean_dec(x_420); +x_383 = x_422; +x_384 = x_421; +goto block_411; } -block_417: +block_411: { -if (x_388 == 0) +if (x_383 == 0) { -lean_object* x_390; lean_object* x_391; -x_390 = lean_box(0); +lean_object* x_385; lean_object* x_386; +x_385 = lean_box(0); lean_inc(x_3); -x_391 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_385, x_3, x_387, x_1, x_370, x_390, x_8, x_9, x_10, x_11, x_389); -if (lean_obj_tag(x_391) == 0) +x_386 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_380, x_3, x_382, x_1, x_365, x_385, x_8, x_9, x_10, x_11, x_384); +if (lean_obj_tag(x_386) == 0) { lean_dec(x_3); -return x_391; +return x_386; } else { -uint8_t x_392; -x_392 = !lean_is_exclusive(x_391); -if (x_392 == 0) +uint8_t x_387; +x_387 = !lean_is_exclusive(x_386); +if (x_387 == 0) { -lean_object* x_393; -x_393 = lean_ctor_get(x_391, 0); -lean_dec(x_393); -lean_ctor_set_tag(x_391, 0); -lean_ctor_set(x_391, 0, x_3); -return x_391; +lean_object* x_388; +x_388 = lean_ctor_get(x_386, 0); +lean_dec(x_388); +lean_ctor_set_tag(x_386, 0); +lean_ctor_set(x_386, 0, x_3); +return x_386; } else { -lean_object* x_394; lean_object* x_395; -x_394 = lean_ctor_get(x_391, 1); -lean_inc(x_394); -lean_dec(x_391); -x_395 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_395, 0, x_3); -lean_ctor_set(x_395, 1, x_394); -return x_395; +lean_object* x_389; lean_object* x_390; +x_389 = lean_ctor_get(x_386, 1); +lean_inc(x_389); +lean_dec(x_386); +x_390 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_390, 0, x_3); +lean_ctor_set(x_390, 1, x_389); +return x_390; } } } else { -lean_object* x_396; uint8_t x_397; lean_object* x_398; -x_396 = l_Lean_Expr_mvarId_x21(x_385); -x_397 = 0; +lean_object* x_391; lean_object* x_392; +x_391 = l_Lean_Expr_mvarId_x21(x_380); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_398 = l_Lean_Meta_ppGoal(x_396, x_397, x_8, x_9, x_10, x_11, x_389); -if (lean_obj_tag(x_398) == 0) +x_392 = l_Lean_Meta_ppGoal(x_391, x_8, x_9, x_10, x_11, x_384); +if (lean_obj_tag(x_392) == 0) { -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; -x_399 = lean_ctor_get(x_398, 0); -lean_inc(x_399); -x_400 = lean_ctor_get(x_398, 1); +lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; +x_393 = lean_ctor_get(x_392, 0); +lean_inc(x_393); +x_394 = lean_ctor_get(x_392, 1); +lean_inc(x_394); +lean_dec(x_392); +x_395 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_395, 0, x_393); +x_396 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_397 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_397, 0, x_396); +lean_ctor_set(x_397, 1, x_395); +x_398 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_398, 0, x_397); +lean_ctor_set(x_398, 1, x_396); +x_399 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_382, x_398, x_8, x_9, x_10, x_11, x_394); +x_400 = lean_ctor_get(x_399, 0); lean_inc(x_400); -lean_dec(x_398); -x_401 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_401, 0, x_399); -x_402 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_403 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_403, 0, x_402); -lean_ctor_set(x_403, 1, x_401); -x_404 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_404, 0, x_403); -lean_ctor_set(x_404, 1, x_402); -x_405 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_387, x_404, x_8, x_9, x_10, x_11, x_400); -x_406 = lean_ctor_get(x_405, 0); -lean_inc(x_406); -x_407 = lean_ctor_get(x_405, 1); -lean_inc(x_407); -lean_dec(x_405); +x_401 = lean_ctor_get(x_399, 1); +lean_inc(x_401); +lean_dec(x_399); lean_inc(x_3); -x_408 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_385, x_3, x_387, x_1, x_370, x_406, x_8, x_9, x_10, x_11, x_407); -if (lean_obj_tag(x_408) == 0) +x_402 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_380, x_3, x_382, x_1, x_365, x_400, x_8, x_9, x_10, x_11, x_401); +if (lean_obj_tag(x_402) == 0) { lean_dec(x_3); -return x_408; +return x_402; } else { -uint8_t x_409; -x_409 = !lean_is_exclusive(x_408); -if (x_409 == 0) +uint8_t x_403; +x_403 = !lean_is_exclusive(x_402); +if (x_403 == 0) { -lean_object* x_410; -x_410 = lean_ctor_get(x_408, 0); -lean_dec(x_410); -lean_ctor_set_tag(x_408, 0); -lean_ctor_set(x_408, 0, x_3); -return x_408; +lean_object* x_404; +x_404 = lean_ctor_get(x_402, 0); +lean_dec(x_404); +lean_ctor_set_tag(x_402, 0); +lean_ctor_set(x_402, 0, x_3); +return x_402; } else { -lean_object* x_411; lean_object* x_412; -x_411 = lean_ctor_get(x_408, 1); -lean_inc(x_411); +lean_object* x_405; lean_object* x_406; +x_405 = lean_ctor_get(x_402, 1); +lean_inc(x_405); +lean_dec(x_402); +x_406 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_406, 0, x_3); +lean_ctor_set(x_406, 1, x_405); +return x_406; +} +} +} +else +{ +uint8_t x_407; +lean_dec(x_380); +lean_dec(x_365); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_407 = !lean_is_exclusive(x_392); +if (x_407 == 0) +{ +lean_object* x_408; +x_408 = lean_ctor_get(x_392, 0); lean_dec(x_408); -x_412 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_412, 0, x_3); -lean_ctor_set(x_412, 1, x_411); -return x_412; -} -} +lean_ctor_set_tag(x_392, 0); +lean_ctor_set(x_392, 0, x_3); +return x_392; } else { -uint8_t x_413; -lean_dec(x_385); -lean_dec(x_370); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_413 = !lean_is_exclusive(x_398); -if (x_413 == 0) -{ -lean_object* x_414; -x_414 = lean_ctor_get(x_398, 0); -lean_dec(x_414); -lean_ctor_set_tag(x_398, 0); -lean_ctor_set(x_398, 0, x_3); -return x_398; -} -else -{ -lean_object* x_415; lean_object* x_416; -x_415 = lean_ctor_get(x_398, 1); -lean_inc(x_415); -lean_dec(x_398); -x_416 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_416, 0, x_3); -lean_ctor_set(x_416, 1, x_415); -return x_416; +lean_object* x_409; lean_object* x_410; +x_409 = lean_ctor_get(x_392, 1); +lean_inc(x_409); +lean_dec(x_392); +x_410 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_410, 0, x_3); +lean_ctor_set(x_410, 1, x_409); +return x_410; } } } @@ -20645,31 +20639,31 @@ return x_416; } else { -uint8_t x_429; -lean_dec(x_370); +uint8_t x_423; +lean_dec(x_365); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_429 = !lean_is_exclusive(x_379); -if (x_429 == 0) +x_423 = !lean_is_exclusive(x_374); +if (x_423 == 0) { -return x_379; +return x_374; } else { -lean_object* x_430; lean_object* x_431; lean_object* x_432; -x_430 = lean_ctor_get(x_379, 0); -x_431 = lean_ctor_get(x_379, 1); -lean_inc(x_431); -lean_inc(x_430); -lean_dec(x_379); -x_432 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_432, 0, x_430); -lean_ctor_set(x_432, 1, x_431); -return x_432; +lean_object* x_424; lean_object* x_425; lean_object* x_426; +x_424 = lean_ctor_get(x_374, 0); +x_425 = lean_ctor_get(x_374, 1); +lean_inc(x_425); +lean_inc(x_424); +lean_dec(x_374); +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; } } } @@ -20678,295 +20672,294 @@ return x_432; } case 7: { -lean_object* x_433; +lean_object* x_427; lean_dec(x_7); lean_dec(x_6); -x_433 = l_Lean_Expr_constName_x3f(x_5); +x_427 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_433) == 0) +if (lean_obj_tag(x_427) == 0) { -lean_object* x_434; +lean_object* x_428; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_434 = lean_alloc_ctor(0, 2, 0); +x_428 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_428, 0, x_3); +lean_ctor_set(x_428, 1, x_12); +return x_428; +} +else +{ +lean_object* x_429; lean_object* x_430; lean_object* x_431; +x_429 = lean_ctor_get(x_427, 0); +lean_inc(x_429); +lean_dec(x_427); +x_430 = lean_unsigned_to_nat(0u); +x_431 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_430); +if (lean_obj_tag(x_431) == 0) +{ +lean_object* x_432; +lean_dec(x_429); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_432 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_432, 0, x_3); +lean_ctor_set(x_432, 1, x_12); +return x_432; +} +else +{ +lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; +x_433 = lean_ctor_get(x_431, 0); +lean_inc(x_433); +lean_dec(x_431); +x_434 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_429, x_8, x_9, x_10, x_11, x_12); +x_435 = lean_ctor_get(x_434, 0); +lean_inc(x_435); +x_436 = lean_unbox(x_435); +lean_dec(x_435); +if (x_436 == 0) +{ +uint8_t x_437; +lean_dec(x_433); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_437 = !lean_is_exclusive(x_434); +if (x_437 == 0) +{ +lean_object* x_438; +x_438 = lean_ctor_get(x_434, 0); +lean_dec(x_438); lean_ctor_set(x_434, 0, x_3); -lean_ctor_set(x_434, 1, x_12); return x_434; } else { -lean_object* x_435; lean_object* x_436; lean_object* x_437; -x_435 = lean_ctor_get(x_433, 0); -lean_inc(x_435); -lean_dec(x_433); -x_436 = lean_unsigned_to_nat(0u); -x_437 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_436); -if (lean_obj_tag(x_437) == 0) -{ -lean_object* x_438; -lean_dec(x_435); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_438 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_438, 0, x_3); -lean_ctor_set(x_438, 1, x_12); -return x_438; -} -else -{ -lean_object* x_439; lean_object* x_440; lean_object* x_441; uint8_t x_442; -x_439 = lean_ctor_get(x_437, 0); +lean_object* x_439; lean_object* x_440; +x_439 = lean_ctor_get(x_434, 1); lean_inc(x_439); -lean_dec(x_437); -x_440 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_435, x_8, x_9, x_10, x_11, x_12); -x_441 = lean_ctor_get(x_440, 0); -lean_inc(x_441); -x_442 = lean_unbox(x_441); -lean_dec(x_441); -if (x_442 == 0) -{ -uint8_t x_443; -lean_dec(x_439); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_443 = !lean_is_exclusive(x_440); -if (x_443 == 0) -{ -lean_object* x_444; -x_444 = lean_ctor_get(x_440, 0); -lean_dec(x_444); +lean_dec(x_434); +x_440 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_440, 0, x_3); +lean_ctor_set(x_440, 1, x_439); return x_440; } -else -{ -lean_object* x_445; lean_object* x_446; -x_445 = lean_ctor_get(x_440, 1); -lean_inc(x_445); -lean_dec(x_440); -x_446 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_446, 0, x_3); -lean_ctor_set(x_446, 1, x_445); -return x_446; -} } else { -lean_object* x_447; lean_object* x_448; -x_447 = lean_ctor_get(x_440, 1); -lean_inc(x_447); -lean_dec(x_440); +lean_object* x_441; lean_object* x_442; +x_441 = lean_ctor_get(x_434, 1); +lean_inc(x_441); +lean_dec(x_434); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_439); +lean_inc(x_433); lean_inc(x_1); -x_448 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_439, x_8, x_9, x_10, x_11, x_447); -if (lean_obj_tag(x_448) == 0) +x_442 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_433, x_8, x_9, x_10, x_11, x_441); +if (lean_obj_tag(x_442) == 0) { -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; uint8_t x_457; lean_object* x_458; lean_object* x_487; lean_object* x_488; lean_object* x_489; uint8_t x_490; -x_449 = lean_ctor_get(x_448, 0); -lean_inc(x_449); -x_450 = lean_ctor_get(x_448, 1); -lean_inc(x_450); -lean_dec(x_448); -x_451 = lean_ctor_get(x_449, 1); -lean_inc(x_451); -lean_dec(x_449); -x_452 = lean_box(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; uint8_t x_451; lean_object* x_452; lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; +x_443 = lean_ctor_get(x_442, 0); +lean_inc(x_443); +x_444 = lean_ctor_get(x_442, 1); +lean_inc(x_444); +lean_dec(x_442); +x_445 = lean_ctor_get(x_443, 1); +lean_inc(x_445); +lean_dec(x_443); +x_446 = lean_box(0); lean_inc(x_8); -x_453 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_451, x_452, x_8, x_9, x_10, x_11, x_450); -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_456 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_487 = lean_st_ref_get(x_11, x_455); +x_447 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_445, x_446, x_8, x_9, x_10, x_11, x_444); +x_448 = lean_ctor_get(x_447, 0); +lean_inc(x_448); +x_449 = lean_ctor_get(x_447, 1); +lean_inc(x_449); +lean_dec(x_447); +x_450 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_480 = lean_st_ref_get(x_11, x_449); +x_481 = lean_ctor_get(x_480, 0); +lean_inc(x_481); +x_482 = lean_ctor_get(x_481, 3); +lean_inc(x_482); +lean_dec(x_481); +x_483 = lean_ctor_get_uint8(x_482, sizeof(void*)*1); +lean_dec(x_482); +if (x_483 == 0) +{ +lean_object* x_484; uint8_t x_485; +x_484 = lean_ctor_get(x_480, 1); +lean_inc(x_484); +lean_dec(x_480); +x_485 = 0; +x_451 = x_485; +x_452 = x_484; +goto block_479; +} +else +{ +lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; uint8_t x_490; +x_486 = lean_ctor_get(x_480, 1); +lean_inc(x_486); +lean_dec(x_480); +x_487 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_450, x_8, x_9, x_10, x_11, x_486); x_488 = lean_ctor_get(x_487, 0); lean_inc(x_488); -x_489 = lean_ctor_get(x_488, 3); +x_489 = lean_ctor_get(x_487, 1); lean_inc(x_489); +lean_dec(x_487); +x_490 = lean_unbox(x_488); lean_dec(x_488); -x_490 = lean_ctor_get_uint8(x_489, sizeof(void*)*1); -lean_dec(x_489); -if (x_490 == 0) -{ -lean_object* x_491; uint8_t x_492; -x_491 = lean_ctor_get(x_487, 1); -lean_inc(x_491); -lean_dec(x_487); -x_492 = 0; -x_457 = x_492; -x_458 = x_491; -goto block_486; +x_451 = x_490; +x_452 = x_489; +goto block_479; } -else +block_479: { -lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; uint8_t x_497; -x_493 = lean_ctor_get(x_487, 1); -lean_inc(x_493); -lean_dec(x_487); -x_494 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_456, x_8, x_9, x_10, x_11, x_493); -x_495 = lean_ctor_get(x_494, 0); -lean_inc(x_495); -x_496 = lean_ctor_get(x_494, 1); -lean_inc(x_496); -lean_dec(x_494); -x_497 = lean_unbox(x_495); -lean_dec(x_495); -x_457 = x_497; -x_458 = x_496; -goto block_486; -} -block_486: +if (x_451 == 0) { -if (x_457 == 0) -{ -lean_object* x_459; lean_object* x_460; -x_459 = lean_box(0); +lean_object* x_453; lean_object* x_454; +x_453 = lean_box(0); lean_inc(x_3); -x_460 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_454, x_3, x_456, x_1, x_439, x_459, x_8, x_9, x_10, x_11, x_458); -if (lean_obj_tag(x_460) == 0) +x_454 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_448, x_3, x_450, x_1, x_433, x_453, x_8, x_9, x_10, x_11, x_452); +if (lean_obj_tag(x_454) == 0) { lean_dec(x_3); -return x_460; +return x_454; } else { -uint8_t x_461; -x_461 = !lean_is_exclusive(x_460); -if (x_461 == 0) +uint8_t x_455; +x_455 = !lean_is_exclusive(x_454); +if (x_455 == 0) { -lean_object* x_462; -x_462 = lean_ctor_get(x_460, 0); -lean_dec(x_462); +lean_object* x_456; +x_456 = lean_ctor_get(x_454, 0); +lean_dec(x_456); +lean_ctor_set_tag(x_454, 0); +lean_ctor_set(x_454, 0, x_3); +return x_454; +} +else +{ +lean_object* x_457; lean_object* x_458; +x_457 = lean_ctor_get(x_454, 1); +lean_inc(x_457); +lean_dec(x_454); +x_458 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_458, 0, x_3); +lean_ctor_set(x_458, 1, x_457); +return x_458; +} +} +} +else +{ +lean_object* x_459; lean_object* x_460; +x_459 = l_Lean_Expr_mvarId_x21(x_448); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_460 = l_Lean_Meta_ppGoal(x_459, x_8, x_9, x_10, x_11, x_452); +if (lean_obj_tag(x_460) == 0) +{ +lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; +x_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_alloc_ctor(0, 1, 0); +lean_ctor_set(x_463, 0, x_461); +x_464 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_465 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_465, 0, x_464); +lean_ctor_set(x_465, 1, x_463); +x_466 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_466, 0, x_465); +lean_ctor_set(x_466, 1, x_464); +x_467 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_450, x_466, x_8, x_9, x_10, x_11, x_462); +x_468 = lean_ctor_get(x_467, 0); +lean_inc(x_468); +x_469 = lean_ctor_get(x_467, 1); +lean_inc(x_469); +lean_dec(x_467); +lean_inc(x_3); +x_470 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_448, x_3, x_450, x_1, x_433, x_468, x_8, x_9, x_10, x_11, x_469); +if (lean_obj_tag(x_470) == 0) +{ +lean_dec(x_3); +return x_470; +} +else +{ +uint8_t x_471; +x_471 = !lean_is_exclusive(x_470); +if (x_471 == 0) +{ +lean_object* x_472; +x_472 = lean_ctor_get(x_470, 0); +lean_dec(x_472); +lean_ctor_set_tag(x_470, 0); +lean_ctor_set(x_470, 0, x_3); +return x_470; +} +else +{ +lean_object* x_473; lean_object* x_474; +x_473 = lean_ctor_get(x_470, 1); +lean_inc(x_473); +lean_dec(x_470); +x_474 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_474, 0, x_3); +lean_ctor_set(x_474, 1, x_473); +return x_474; +} +} +} +else +{ +uint8_t x_475; +lean_dec(x_448); +lean_dec(x_433); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_475 = !lean_is_exclusive(x_460); +if (x_475 == 0) +{ +lean_object* x_476; +x_476 = lean_ctor_get(x_460, 0); +lean_dec(x_476); lean_ctor_set_tag(x_460, 0); lean_ctor_set(x_460, 0, x_3); return x_460; } else { -lean_object* x_463; lean_object* x_464; -x_463 = lean_ctor_get(x_460, 1); -lean_inc(x_463); +lean_object* x_477; lean_object* x_478; +x_477 = lean_ctor_get(x_460, 1); +lean_inc(x_477); lean_dec(x_460); -x_464 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_464, 0, x_3); -lean_ctor_set(x_464, 1, x_463); -return x_464; -} -} -} -else -{ -lean_object* x_465; uint8_t x_466; lean_object* x_467; -x_465 = l_Lean_Expr_mvarId_x21(x_454); -x_466 = 0; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_467 = l_Lean_Meta_ppGoal(x_465, x_466, x_8, x_9, x_10, x_11, x_458); -if (lean_obj_tag(x_467) == 0) -{ -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; -x_468 = lean_ctor_get(x_467, 0); -lean_inc(x_468); -x_469 = lean_ctor_get(x_467, 1); -lean_inc(x_469); -lean_dec(x_467); -x_470 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_470, 0, x_468); -x_471 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_472 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_472, 0, x_471); -lean_ctor_set(x_472, 1, x_470); -x_473 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_473, 0, x_472); -lean_ctor_set(x_473, 1, x_471); -x_474 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_456, x_473, x_8, x_9, x_10, x_11, x_469); -x_475 = lean_ctor_get(x_474, 0); -lean_inc(x_475); -x_476 = lean_ctor_get(x_474, 1); -lean_inc(x_476); -lean_dec(x_474); -lean_inc(x_3); -x_477 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_454, x_3, x_456, x_1, x_439, x_475, x_8, x_9, x_10, x_11, x_476); -if (lean_obj_tag(x_477) == 0) -{ -lean_dec(x_3); -return x_477; -} -else -{ -uint8_t x_478; -x_478 = !lean_is_exclusive(x_477); -if (x_478 == 0) -{ -lean_object* x_479; -x_479 = lean_ctor_get(x_477, 0); -lean_dec(x_479); -lean_ctor_set_tag(x_477, 0); -lean_ctor_set(x_477, 0, x_3); -return x_477; -} -else -{ -lean_object* x_480; lean_object* x_481; -x_480 = lean_ctor_get(x_477, 1); -lean_inc(x_480); -lean_dec(x_477); -x_481 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_481, 0, x_3); -lean_ctor_set(x_481, 1, x_480); -return x_481; -} -} -} -else -{ -uint8_t x_482; -lean_dec(x_454); -lean_dec(x_439); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_482 = !lean_is_exclusive(x_467); -if (x_482 == 0) -{ -lean_object* x_483; -x_483 = lean_ctor_get(x_467, 0); -lean_dec(x_483); -lean_ctor_set_tag(x_467, 0); -lean_ctor_set(x_467, 0, x_3); -return x_467; -} -else -{ -lean_object* x_484; lean_object* x_485; -x_484 = lean_ctor_get(x_467, 1); -lean_inc(x_484); -lean_dec(x_467); -x_485 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_485, 0, x_3); -lean_ctor_set(x_485, 1, x_484); -return x_485; +x_478 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_478, 0, x_3); +lean_ctor_set(x_478, 1, x_477); +return x_478; } } } @@ -20974,31 +20967,31 @@ return x_485; } else { -uint8_t x_498; -lean_dec(x_439); +uint8_t x_491; +lean_dec(x_433); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_498 = !lean_is_exclusive(x_448); -if (x_498 == 0) +x_491 = !lean_is_exclusive(x_442); +if (x_491 == 0) { -return x_448; +return x_442; } else { -lean_object* x_499; lean_object* x_500; lean_object* x_501; -x_499 = lean_ctor_get(x_448, 0); -x_500 = lean_ctor_get(x_448, 1); -lean_inc(x_500); -lean_inc(x_499); -lean_dec(x_448); -x_501 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_501, 0, x_499); -lean_ctor_set(x_501, 1, x_500); -return x_501; +lean_object* x_492; lean_object* x_493; lean_object* x_494; +x_492 = lean_ctor_get(x_442, 0); +x_493 = lean_ctor_get(x_442, 1); +lean_inc(x_493); +lean_inc(x_492); +lean_dec(x_442); +x_494 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_494, 0, x_492); +lean_ctor_set(x_494, 1, x_493); +return x_494; } } } @@ -21007,295 +21000,294 @@ return x_501; } case 8: { -lean_object* x_502; +lean_object* x_495; lean_dec(x_7); lean_dec(x_6); -x_502 = l_Lean_Expr_constName_x3f(x_5); +x_495 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_502) == 0) +if (lean_obj_tag(x_495) == 0) { -lean_object* x_503; +lean_object* x_496; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_503 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_503, 0, x_3); -lean_ctor_set(x_503, 1, x_12); -return x_503; +x_496 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_496, 0, x_3); +lean_ctor_set(x_496, 1, x_12); +return x_496; } else { -lean_object* x_504; lean_object* x_505; lean_object* x_506; -x_504 = lean_ctor_get(x_502, 0); -lean_inc(x_504); -lean_dec(x_502); -x_505 = lean_unsigned_to_nat(0u); -x_506 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_505); -if (lean_obj_tag(x_506) == 0) +lean_object* x_497; lean_object* x_498; lean_object* x_499; +x_497 = lean_ctor_get(x_495, 0); +lean_inc(x_497); +lean_dec(x_495); +x_498 = lean_unsigned_to_nat(0u); +x_499 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_498); +if (lean_obj_tag(x_499) == 0) { -lean_object* x_507; -lean_dec(x_504); +lean_object* x_500; +lean_dec(x_497); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_507 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_507, 0, x_3); -lean_ctor_set(x_507, 1, x_12); -return x_507; +x_500 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_500, 0, x_3); +lean_ctor_set(x_500, 1, x_12); +return x_500; } else { -lean_object* x_508; lean_object* x_509; lean_object* x_510; uint8_t x_511; -x_508 = lean_ctor_get(x_506, 0); -lean_inc(x_508); +lean_object* x_501; lean_object* x_502; lean_object* x_503; uint8_t x_504; +x_501 = lean_ctor_get(x_499, 0); +lean_inc(x_501); +lean_dec(x_499); +x_502 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_497, x_8, x_9, x_10, x_11, x_12); +x_503 = lean_ctor_get(x_502, 0); +lean_inc(x_503); +x_504 = lean_unbox(x_503); +lean_dec(x_503); +if (x_504 == 0) +{ +uint8_t x_505; +lean_dec(x_501); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_505 = !lean_is_exclusive(x_502); +if (x_505 == 0) +{ +lean_object* x_506; +x_506 = lean_ctor_get(x_502, 0); lean_dec(x_506); -x_509 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_504, x_8, x_9, x_10, x_11, x_12); -x_510 = lean_ctor_get(x_509, 0); -lean_inc(x_510); -x_511 = lean_unbox(x_510); -lean_dec(x_510); -if (x_511 == 0) -{ -uint8_t x_512; -lean_dec(x_508); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_512 = !lean_is_exclusive(x_509); -if (x_512 == 0) -{ -lean_object* x_513; -x_513 = lean_ctor_get(x_509, 0); -lean_dec(x_513); -lean_ctor_set(x_509, 0, x_3); -return x_509; +lean_ctor_set(x_502, 0, x_3); +return x_502; } else { -lean_object* x_514; lean_object* x_515; -x_514 = lean_ctor_get(x_509, 1); -lean_inc(x_514); -lean_dec(x_509); -x_515 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_515, 0, x_3); -lean_ctor_set(x_515, 1, x_514); -return x_515; +lean_object* x_507; lean_object* x_508; +x_507 = lean_ctor_get(x_502, 1); +lean_inc(x_507); +lean_dec(x_502); +x_508 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_508, 0, x_3); +lean_ctor_set(x_508, 1, x_507); +return x_508; } } else { -lean_object* x_516; lean_object* x_517; -x_516 = lean_ctor_get(x_509, 1); -lean_inc(x_516); -lean_dec(x_509); +lean_object* x_509; lean_object* x_510; +x_509 = lean_ctor_get(x_502, 1); +lean_inc(x_509); +lean_dec(x_502); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_508); +lean_inc(x_501); lean_inc(x_1); -x_517 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_508, x_8, x_9, x_10, x_11, x_516); -if (lean_obj_tag(x_517) == 0) +x_510 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_501, x_8, x_9, x_10, x_11, x_509); +if (lean_obj_tag(x_510) == 0) { -lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; uint8_t x_526; lean_object* x_527; lean_object* x_556; lean_object* x_557; lean_object* x_558; uint8_t x_559; -x_518 = lean_ctor_get(x_517, 0); -lean_inc(x_518); -x_519 = lean_ctor_get(x_517, 1); -lean_inc(x_519); -lean_dec(x_517); -x_520 = lean_ctor_get(x_518, 1); -lean_inc(x_520); -lean_dec(x_518); -x_521 = lean_box(0); +lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; uint8_t x_519; lean_object* x_520; lean_object* x_548; lean_object* x_549; lean_object* x_550; uint8_t x_551; +x_511 = lean_ctor_get(x_510, 0); +lean_inc(x_511); +x_512 = lean_ctor_get(x_510, 1); +lean_inc(x_512); +lean_dec(x_510); +x_513 = lean_ctor_get(x_511, 1); +lean_inc(x_513); +lean_dec(x_511); +x_514 = lean_box(0); lean_inc(x_8); -x_522 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_520, x_521, x_8, x_9, x_10, x_11, x_519); -x_523 = lean_ctor_get(x_522, 0); -lean_inc(x_523); -x_524 = lean_ctor_get(x_522, 1); -lean_inc(x_524); -lean_dec(x_522); -x_525 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_556 = lean_st_ref_get(x_11, x_524); -x_557 = lean_ctor_get(x_556, 0); -lean_inc(x_557); -x_558 = lean_ctor_get(x_557, 3); -lean_inc(x_558); -lean_dec(x_557); -x_559 = lean_ctor_get_uint8(x_558, sizeof(void*)*1); -lean_dec(x_558); -if (x_559 == 0) -{ -lean_object* x_560; uint8_t x_561; -x_560 = lean_ctor_get(x_556, 1); -lean_inc(x_560); -lean_dec(x_556); -x_561 = 0; -x_526 = x_561; -x_527 = x_560; -goto block_555; -} -else -{ -lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; uint8_t x_566; -x_562 = lean_ctor_get(x_556, 1); -lean_inc(x_562); -lean_dec(x_556); -x_563 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_525, x_8, x_9, x_10, x_11, x_562); -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); -x_566 = lean_unbox(x_564); -lean_dec(x_564); -x_526 = x_566; -x_527 = x_565; -goto block_555; -} -block_555: -{ -if (x_526 == 0) -{ -lean_object* x_528; lean_object* x_529; -x_528 = lean_box(0); -lean_inc(x_3); -x_529 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_523, x_3, x_525, x_1, x_508, x_528, x_8, x_9, x_10, x_11, x_527); -if (lean_obj_tag(x_529) == 0) -{ -lean_dec(x_3); -return x_529; -} -else -{ -uint8_t x_530; -x_530 = !lean_is_exclusive(x_529); -if (x_530 == 0) -{ -lean_object* x_531; -x_531 = lean_ctor_get(x_529, 0); -lean_dec(x_531); -lean_ctor_set_tag(x_529, 0); -lean_ctor_set(x_529, 0, x_3); -return x_529; -} -else -{ -lean_object* x_532; lean_object* x_533; -x_532 = lean_ctor_get(x_529, 1); -lean_inc(x_532); -lean_dec(x_529); -x_533 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_533, 0, x_3); -lean_ctor_set(x_533, 1, x_532); -return x_533; -} -} -} -else -{ -lean_object* x_534; uint8_t x_535; lean_object* x_536; -x_534 = l_Lean_Expr_mvarId_x21(x_523); -x_535 = 0; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_536 = l_Lean_Meta_ppGoal(x_534, x_535, x_8, x_9, x_10, x_11, x_527); -if (lean_obj_tag(x_536) == 0) -{ -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; -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_alloc_ctor(0, 1, 0); -lean_ctor_set(x_539, 0, x_537); -x_540 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_541 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_541, 0, x_540); -lean_ctor_set(x_541, 1, x_539); -x_542 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_542, 0, x_541); -lean_ctor_set(x_542, 1, x_540); -x_543 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_525, x_542, x_8, x_9, x_10, x_11, x_538); -x_544 = lean_ctor_get(x_543, 0); -lean_inc(x_544); -x_545 = lean_ctor_get(x_543, 1); -lean_inc(x_545); -lean_dec(x_543); -lean_inc(x_3); -x_546 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_523, x_3, x_525, x_1, x_508, x_544, x_8, x_9, x_10, x_11, x_545); -if (lean_obj_tag(x_546) == 0) -{ -lean_dec(x_3); -return x_546; -} -else -{ -uint8_t x_547; -x_547 = !lean_is_exclusive(x_546); -if (x_547 == 0) -{ -lean_object* x_548; -x_548 = lean_ctor_get(x_546, 0); -lean_dec(x_548); -lean_ctor_set_tag(x_546, 0); -lean_ctor_set(x_546, 0, x_3); -return x_546; -} -else -{ -lean_object* x_549; lean_object* x_550; -x_549 = lean_ctor_get(x_546, 1); +x_515 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_513, x_514, x_8, x_9, x_10, x_11, x_512); +x_516 = lean_ctor_get(x_515, 0); +lean_inc(x_516); +x_517 = lean_ctor_get(x_515, 1); +lean_inc(x_517); +lean_dec(x_515); +x_518 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_548 = lean_st_ref_get(x_11, x_517); +x_549 = lean_ctor_get(x_548, 0); lean_inc(x_549); -lean_dec(x_546); -x_550 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_550, 0, x_3); -lean_ctor_set(x_550, 1, x_549); -return x_550; -} -} -} -else -{ -uint8_t x_551; -lean_dec(x_523); -lean_dec(x_508); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_551 = !lean_is_exclusive(x_536); +x_550 = lean_ctor_get(x_549, 3); +lean_inc(x_550); +lean_dec(x_549); +x_551 = lean_ctor_get_uint8(x_550, sizeof(void*)*1); +lean_dec(x_550); if (x_551 == 0) { -lean_object* x_552; -x_552 = lean_ctor_get(x_536, 0); -lean_dec(x_552); -lean_ctor_set_tag(x_536, 0); -lean_ctor_set(x_536, 0, x_3); -return x_536; +lean_object* x_552; uint8_t x_553; +x_552 = lean_ctor_get(x_548, 1); +lean_inc(x_552); +lean_dec(x_548); +x_553 = 0; +x_519 = x_553; +x_520 = x_552; +goto block_547; } else { -lean_object* x_553; lean_object* x_554; -x_553 = lean_ctor_get(x_536, 1); -lean_inc(x_553); -lean_dec(x_536); -x_554 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_554, 0, x_3); -lean_ctor_set(x_554, 1, x_553); -return x_554; +lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; uint8_t x_558; +x_554 = lean_ctor_get(x_548, 1); +lean_inc(x_554); +lean_dec(x_548); +x_555 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_518, x_8, x_9, x_10, x_11, x_554); +x_556 = lean_ctor_get(x_555, 0); +lean_inc(x_556); +x_557 = lean_ctor_get(x_555, 1); +lean_inc(x_557); +lean_dec(x_555); +x_558 = lean_unbox(x_556); +lean_dec(x_556); +x_519 = x_558; +x_520 = x_557; +goto block_547; +} +block_547: +{ +if (x_519 == 0) +{ +lean_object* x_521; lean_object* x_522; +x_521 = lean_box(0); +lean_inc(x_3); +x_522 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_516, x_3, x_518, x_1, x_501, x_521, x_8, x_9, x_10, x_11, x_520); +if (lean_obj_tag(x_522) == 0) +{ +lean_dec(x_3); +return x_522; +} +else +{ +uint8_t x_523; +x_523 = !lean_is_exclusive(x_522); +if (x_523 == 0) +{ +lean_object* x_524; +x_524 = lean_ctor_get(x_522, 0); +lean_dec(x_524); +lean_ctor_set_tag(x_522, 0); +lean_ctor_set(x_522, 0, x_3); +return x_522; +} +else +{ +lean_object* x_525; lean_object* x_526; +x_525 = lean_ctor_get(x_522, 1); +lean_inc(x_525); +lean_dec(x_522); +x_526 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_526, 0, x_3); +lean_ctor_set(x_526, 1, x_525); +return x_526; +} +} +} +else +{ +lean_object* x_527; lean_object* x_528; +x_527 = l_Lean_Expr_mvarId_x21(x_516); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_528 = l_Lean_Meta_ppGoal(x_527, x_8, x_9, x_10, x_11, x_520); +if (lean_obj_tag(x_528) == 0) +{ +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; +x_529 = lean_ctor_get(x_528, 0); +lean_inc(x_529); +x_530 = lean_ctor_get(x_528, 1); +lean_inc(x_530); +lean_dec(x_528); +x_531 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_531, 0, x_529); +x_532 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_533 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_533, 0, x_532); +lean_ctor_set(x_533, 1, x_531); +x_534 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_534, 0, x_533); +lean_ctor_set(x_534, 1, x_532); +x_535 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_518, x_534, x_8, x_9, x_10, x_11, x_530); +x_536 = lean_ctor_get(x_535, 0); +lean_inc(x_536); +x_537 = lean_ctor_get(x_535, 1); +lean_inc(x_537); +lean_dec(x_535); +lean_inc(x_3); +x_538 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_516, x_3, x_518, x_1, x_501, x_536, x_8, x_9, x_10, x_11, x_537); +if (lean_obj_tag(x_538) == 0) +{ +lean_dec(x_3); +return x_538; +} +else +{ +uint8_t x_539; +x_539 = !lean_is_exclusive(x_538); +if (x_539 == 0) +{ +lean_object* x_540; +x_540 = lean_ctor_get(x_538, 0); +lean_dec(x_540); +lean_ctor_set_tag(x_538, 0); +lean_ctor_set(x_538, 0, x_3); +return x_538; +} +else +{ +lean_object* x_541; lean_object* x_542; +x_541 = lean_ctor_get(x_538, 1); +lean_inc(x_541); +lean_dec(x_538); +x_542 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_542, 0, x_3); +lean_ctor_set(x_542, 1, x_541); +return x_542; +} +} +} +else +{ +uint8_t x_543; +lean_dec(x_516); +lean_dec(x_501); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_543 = !lean_is_exclusive(x_528); +if (x_543 == 0) +{ +lean_object* x_544; +x_544 = lean_ctor_get(x_528, 0); +lean_dec(x_544); +lean_ctor_set_tag(x_528, 0); +lean_ctor_set(x_528, 0, x_3); +return x_528; +} +else +{ +lean_object* x_545; lean_object* x_546; +x_545 = lean_ctor_get(x_528, 1); +lean_inc(x_545); +lean_dec(x_528); +x_546 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_546, 0, x_3); +lean_ctor_set(x_546, 1, x_545); +return x_546; } } } @@ -21303,31 +21295,31 @@ return x_554; } else { -uint8_t x_567; -lean_dec(x_508); +uint8_t x_559; +lean_dec(x_501); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_567 = !lean_is_exclusive(x_517); -if (x_567 == 0) +x_559 = !lean_is_exclusive(x_510); +if (x_559 == 0) { -return x_517; +return x_510; } else { -lean_object* x_568; lean_object* x_569; lean_object* x_570; -x_568 = lean_ctor_get(x_517, 0); -x_569 = lean_ctor_get(x_517, 1); -lean_inc(x_569); -lean_inc(x_568); -lean_dec(x_517); -x_570 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_570, 0, x_568); -lean_ctor_set(x_570, 1, x_569); -return x_570; +lean_object* x_560; lean_object* x_561; lean_object* x_562; +x_560 = lean_ctor_get(x_510, 0); +x_561 = lean_ctor_get(x_510, 1); +lean_inc(x_561); +lean_inc(x_560); +lean_dec(x_510); +x_562 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_562, 0, x_560); +lean_ctor_set(x_562, 1, x_561); +return x_562; } } } @@ -21336,327 +21328,326 @@ return x_570; } case 9: { -lean_object* x_571; +lean_object* x_563; lean_dec(x_7); lean_dec(x_6); -x_571 = l_Lean_Expr_constName_x3f(x_5); +x_563 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_571) == 0) +if (lean_obj_tag(x_563) == 0) { -lean_object* x_572; +lean_object* x_564; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_572 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_572, 0, x_3); -lean_ctor_set(x_572, 1, x_12); -return x_572; +x_564 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_564, 0, x_3); +lean_ctor_set(x_564, 1, x_12); +return x_564; } else { -lean_object* x_573; lean_object* x_574; lean_object* x_575; -x_573 = lean_ctor_get(x_571, 0); -lean_inc(x_573); -lean_dec(x_571); -x_574 = lean_unsigned_to_nat(0u); -x_575 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_574); -if (lean_obj_tag(x_575) == 0) +lean_object* x_565; lean_object* x_566; lean_object* x_567; +x_565 = lean_ctor_get(x_563, 0); +lean_inc(x_565); +lean_dec(x_563); +x_566 = lean_unsigned_to_nat(0u); +x_567 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_566); +if (lean_obj_tag(x_567) == 0) { -lean_object* x_576; -lean_dec(x_573); +lean_object* x_568; +lean_dec(x_565); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); +x_568 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_568, 0, x_3); +lean_ctor_set(x_568, 1, x_12); +return x_568; +} +else +{ +lean_object* x_569; lean_object* x_570; lean_object* x_571; uint8_t x_572; +x_569 = lean_ctor_get(x_567, 0); +lean_inc(x_569); +lean_dec(x_567); +x_570 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_565, x_8, x_9, x_10, x_11, x_12); +x_571 = lean_ctor_get(x_570, 0); +lean_inc(x_571); +x_572 = lean_unbox(x_571); +lean_dec(x_571); +if (x_572 == 0) +{ +uint8_t x_573; +lean_dec(x_569); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_573 = !lean_is_exclusive(x_570); +if (x_573 == 0) +{ +lean_object* x_574; +x_574 = lean_ctor_get(x_570, 0); +lean_dec(x_574); +lean_ctor_set(x_570, 0, x_3); +return x_570; +} +else +{ +lean_object* x_575; lean_object* x_576; +x_575 = lean_ctor_get(x_570, 1); +lean_inc(x_575); +lean_dec(x_570); x_576 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_576, 0, x_3); -lean_ctor_set(x_576, 1, x_12); +lean_ctor_set(x_576, 1, x_575); return x_576; } +} else { -lean_object* x_577; lean_object* x_578; lean_object* x_579; uint8_t x_580; -x_577 = lean_ctor_get(x_575, 0); +lean_object* x_577; lean_object* x_578; +x_577 = lean_ctor_get(x_570, 1); lean_inc(x_577); -lean_dec(x_575); -x_578 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_573, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_570); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_569); +lean_inc(x_1); +x_578 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_569, x_8, x_9, x_10, x_11, x_577); +if (lean_obj_tag(x_578) == 0) +{ +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; uint8_t x_587; lean_object* x_588; lean_object* x_616; lean_object* x_617; lean_object* x_618; uint8_t x_619; x_579 = lean_ctor_get(x_578, 0); lean_inc(x_579); -x_580 = lean_unbox(x_579); +x_580 = lean_ctor_get(x_578, 1); +lean_inc(x_580); +lean_dec(x_578); +x_581 = lean_ctor_get(x_579, 1); +lean_inc(x_581); lean_dec(x_579); -if (x_580 == 0) +x_582 = lean_box(0); +lean_inc(x_8); +x_583 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_581, x_582, x_8, x_9, x_10, x_11, x_580); +x_584 = lean_ctor_get(x_583, 0); +lean_inc(x_584); +x_585 = lean_ctor_get(x_583, 1); +lean_inc(x_585); +lean_dec(x_583); +x_586 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_616 = lean_st_ref_get(x_11, x_585); +x_617 = lean_ctor_get(x_616, 0); +lean_inc(x_617); +x_618 = lean_ctor_get(x_617, 3); +lean_inc(x_618); +lean_dec(x_617); +x_619 = lean_ctor_get_uint8(x_618, sizeof(void*)*1); +lean_dec(x_618); +if (x_619 == 0) { -uint8_t x_581; -lean_dec(x_577); +lean_object* x_620; uint8_t x_621; +x_620 = lean_ctor_get(x_616, 1); +lean_inc(x_620); +lean_dec(x_616); +x_621 = 0; +x_587 = x_621; +x_588 = x_620; +goto block_615; +} +else +{ +lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; uint8_t x_626; +x_622 = lean_ctor_get(x_616, 1); +lean_inc(x_622); +lean_dec(x_616); +x_623 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_586, x_8, x_9, x_10, x_11, x_622); +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_unbox(x_624); +lean_dec(x_624); +x_587 = x_626; +x_588 = x_625; +goto block_615; +} +block_615: +{ +if (x_587 == 0) +{ +lean_object* x_589; lean_object* x_590; +x_589 = lean_box(0); +lean_inc(x_3); +x_590 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_584, x_3, x_586, x_1, x_569, x_589, x_8, x_9, x_10, x_11, x_588); +if (lean_obj_tag(x_590) == 0) +{ +lean_dec(x_3); +return x_590; +} +else +{ +uint8_t x_591; +x_591 = !lean_is_exclusive(x_590); +if (x_591 == 0) +{ +lean_object* x_592; +x_592 = lean_ctor_get(x_590, 0); +lean_dec(x_592); +lean_ctor_set_tag(x_590, 0); +lean_ctor_set(x_590, 0, x_3); +return x_590; +} +else +{ +lean_object* x_593; lean_object* x_594; +x_593 = lean_ctor_get(x_590, 1); +lean_inc(x_593); +lean_dec(x_590); +x_594 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_594, 0, x_3); +lean_ctor_set(x_594, 1, x_593); +return x_594; +} +} +} +else +{ +lean_object* x_595; lean_object* x_596; +x_595 = l_Lean_Expr_mvarId_x21(x_584); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_596 = l_Lean_Meta_ppGoal(x_595, x_8, x_9, x_10, x_11, x_588); +if (lean_obj_tag(x_596) == 0) +{ +lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; +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_alloc_ctor(0, 1, 0); +lean_ctor_set(x_599, 0, x_597); +x_600 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_601 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_601, 0, x_600); +lean_ctor_set(x_601, 1, x_599); +x_602 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_602, 0, x_601); +lean_ctor_set(x_602, 1, x_600); +x_603 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_586, x_602, x_8, x_9, x_10, x_11, x_598); +x_604 = lean_ctor_get(x_603, 0); +lean_inc(x_604); +x_605 = lean_ctor_get(x_603, 1); +lean_inc(x_605); +lean_dec(x_603); +lean_inc(x_3); +x_606 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_584, x_3, x_586, x_1, x_569, x_604, x_8, x_9, x_10, x_11, x_605); +if (lean_obj_tag(x_606) == 0) +{ +lean_dec(x_3); +return x_606; +} +else +{ +uint8_t x_607; +x_607 = !lean_is_exclusive(x_606); +if (x_607 == 0) +{ +lean_object* x_608; +x_608 = lean_ctor_get(x_606, 0); +lean_dec(x_608); +lean_ctor_set_tag(x_606, 0); +lean_ctor_set(x_606, 0, x_3); +return x_606; +} +else +{ +lean_object* x_609; lean_object* x_610; +x_609 = lean_ctor_get(x_606, 1); +lean_inc(x_609); +lean_dec(x_606); +x_610 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_610, 0, x_3); +lean_ctor_set(x_610, 1, x_609); +return x_610; +} +} +} +else +{ +uint8_t x_611; +lean_dec(x_584); +lean_dec(x_569); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); -x_581 = !lean_is_exclusive(x_578); -if (x_581 == 0) +x_611 = !lean_is_exclusive(x_596); +if (x_611 == 0) +{ +lean_object* x_612; +x_612 = lean_ctor_get(x_596, 0); +lean_dec(x_612); +lean_ctor_set_tag(x_596, 0); +lean_ctor_set(x_596, 0, x_3); +return x_596; +} +else +{ +lean_object* x_613; lean_object* x_614; +x_613 = lean_ctor_get(x_596, 1); +lean_inc(x_613); +lean_dec(x_596); +x_614 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_614, 0, x_3); +lean_ctor_set(x_614, 1, x_613); +return x_614; +} +} +} +} +} +else +{ +uint8_t x_627; +lean_dec(x_569); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_1); +x_627 = !lean_is_exclusive(x_578); +if (x_627 == 0) { -lean_object* x_582; -x_582 = lean_ctor_get(x_578, 0); -lean_dec(x_582); -lean_ctor_set(x_578, 0, x_3); return x_578; } else { -lean_object* x_583; lean_object* x_584; -x_583 = lean_ctor_get(x_578, 1); -lean_inc(x_583); -lean_dec(x_578); -x_584 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_584, 0, x_3); -lean_ctor_set(x_584, 1, x_583); -return x_584; -} -} -else -{ -lean_object* x_585; lean_object* x_586; -x_585 = lean_ctor_get(x_578, 1); -lean_inc(x_585); -lean_dec(x_578); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_577); -lean_inc(x_1); -x_586 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_577, x_8, x_9, x_10, x_11, x_585); -if (lean_obj_tag(x_586) == 0) -{ -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; uint8_t x_595; lean_object* x_596; lean_object* x_625; lean_object* x_626; lean_object* x_627; uint8_t x_628; -x_587 = lean_ctor_get(x_586, 0); -lean_inc(x_587); -x_588 = lean_ctor_get(x_586, 1); -lean_inc(x_588); -lean_dec(x_586); -x_589 = lean_ctor_get(x_587, 1); -lean_inc(x_589); -lean_dec(x_587); -x_590 = lean_box(0); -lean_inc(x_8); -x_591 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_589, x_590, x_8, x_9, x_10, x_11, x_588); -x_592 = lean_ctor_get(x_591, 0); -lean_inc(x_592); -x_593 = lean_ctor_get(x_591, 1); -lean_inc(x_593); -lean_dec(x_591); -x_594 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_625 = lean_st_ref_get(x_11, x_593); -x_626 = lean_ctor_get(x_625, 0); -lean_inc(x_626); -x_627 = lean_ctor_get(x_626, 3); -lean_inc(x_627); -lean_dec(x_626); -x_628 = lean_ctor_get_uint8(x_627, sizeof(void*)*1); -lean_dec(x_627); -if (x_628 == 0) -{ -lean_object* x_629; uint8_t x_630; -x_629 = lean_ctor_get(x_625, 1); +lean_object* x_628; lean_object* x_629; lean_object* x_630; +x_628 = lean_ctor_get(x_578, 0); +x_629 = lean_ctor_get(x_578, 1); lean_inc(x_629); -lean_dec(x_625); -x_630 = 0; -x_595 = x_630; -x_596 = x_629; -goto block_624; -} -else -{ -lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; uint8_t x_635; -x_631 = lean_ctor_get(x_625, 1); -lean_inc(x_631); -lean_dec(x_625); -x_632 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_594, x_8, x_9, x_10, x_11, x_631); -x_633 = lean_ctor_get(x_632, 0); -lean_inc(x_633); -x_634 = lean_ctor_get(x_632, 1); -lean_inc(x_634); -lean_dec(x_632); -x_635 = lean_unbox(x_633); -lean_dec(x_633); -x_595 = x_635; -x_596 = x_634; -goto block_624; -} -block_624: -{ -if (x_595 == 0) -{ -lean_object* x_597; lean_object* x_598; -x_597 = lean_box(0); -lean_inc(x_3); -x_598 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_592, x_3, x_594, x_1, x_577, x_597, x_8, x_9, x_10, x_11, x_596); -if (lean_obj_tag(x_598) == 0) -{ -lean_dec(x_3); -return x_598; -} -else -{ -uint8_t x_599; -x_599 = !lean_is_exclusive(x_598); -if (x_599 == 0) -{ -lean_object* x_600; -x_600 = lean_ctor_get(x_598, 0); -lean_dec(x_600); -lean_ctor_set_tag(x_598, 0); -lean_ctor_set(x_598, 0, x_3); -return x_598; -} -else -{ -lean_object* x_601; lean_object* x_602; -x_601 = lean_ctor_get(x_598, 1); -lean_inc(x_601); -lean_dec(x_598); -x_602 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_602, 0, x_3); -lean_ctor_set(x_602, 1, x_601); -return x_602; -} -} -} -else -{ -lean_object* x_603; uint8_t x_604; lean_object* x_605; -x_603 = l_Lean_Expr_mvarId_x21(x_592); -x_604 = 0; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_605 = l_Lean_Meta_ppGoal(x_603, x_604, x_8, x_9, x_10, x_11, x_596); -if (lean_obj_tag(x_605) == 0) -{ -lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; -x_606 = lean_ctor_get(x_605, 0); -lean_inc(x_606); -x_607 = lean_ctor_get(x_605, 1); -lean_inc(x_607); -lean_dec(x_605); -x_608 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_608, 0, x_606); -x_609 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_610 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_610, 0, x_609); -lean_ctor_set(x_610, 1, x_608); -x_611 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_611, 0, x_610); -lean_ctor_set(x_611, 1, x_609); -x_612 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_594, x_611, x_8, x_9, x_10, x_11, x_607); -x_613 = lean_ctor_get(x_612, 0); -lean_inc(x_613); -x_614 = lean_ctor_get(x_612, 1); -lean_inc(x_614); -lean_dec(x_612); -lean_inc(x_3); -x_615 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_592, x_3, x_594, x_1, x_577, x_613, x_8, x_9, x_10, x_11, x_614); -if (lean_obj_tag(x_615) == 0) -{ -lean_dec(x_3); -return x_615; -} -else -{ -uint8_t x_616; -x_616 = !lean_is_exclusive(x_615); -if (x_616 == 0) -{ -lean_object* x_617; -x_617 = lean_ctor_get(x_615, 0); -lean_dec(x_617); -lean_ctor_set_tag(x_615, 0); -lean_ctor_set(x_615, 0, x_3); -return x_615; -} -else -{ -lean_object* x_618; lean_object* x_619; -x_618 = lean_ctor_get(x_615, 1); -lean_inc(x_618); -lean_dec(x_615); -x_619 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_619, 0, x_3); -lean_ctor_set(x_619, 1, x_618); -return x_619; -} -} -} -else -{ -uint8_t x_620; -lean_dec(x_592); -lean_dec(x_577); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_620 = !lean_is_exclusive(x_605); -if (x_620 == 0) -{ -lean_object* x_621; -x_621 = lean_ctor_get(x_605, 0); -lean_dec(x_621); -lean_ctor_set_tag(x_605, 0); -lean_ctor_set(x_605, 0, x_3); -return x_605; -} -else -{ -lean_object* x_622; lean_object* x_623; -x_622 = lean_ctor_get(x_605, 1); -lean_inc(x_622); -lean_dec(x_605); -x_623 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_623, 0, x_3); -lean_ctor_set(x_623, 1, x_622); -return x_623; -} -} -} -} -} -else -{ -uint8_t x_636; -lean_dec(x_577); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_1); -x_636 = !lean_is_exclusive(x_586); -if (x_636 == 0) -{ -return x_586; -} -else -{ -lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_637 = lean_ctor_get(x_586, 0); -x_638 = lean_ctor_get(x_586, 1); -lean_inc(x_638); -lean_inc(x_637); -lean_dec(x_586); -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; +lean_inc(x_628); +lean_dec(x_578); +x_630 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_630, 0, x_628); +lean_ctor_set(x_630, 1, x_629); +return x_630; } } } @@ -21665,295 +21656,294 @@ return x_639; } case 10: { -lean_object* x_640; +lean_object* x_631; lean_dec(x_7); lean_dec(x_6); -x_640 = l_Lean_Expr_constName_x3f(x_5); +x_631 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_640) == 0) +if (lean_obj_tag(x_631) == 0) { -lean_object* x_641; +lean_object* x_632; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_641 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_641, 0, x_3); -lean_ctor_set(x_641, 1, x_12); -return x_641; +x_632 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_632, 0, x_3); +lean_ctor_set(x_632, 1, x_12); +return x_632; } else { -lean_object* x_642; lean_object* x_643; lean_object* x_644; -x_642 = lean_ctor_get(x_640, 0); -lean_inc(x_642); -lean_dec(x_640); -x_643 = lean_unsigned_to_nat(0u); -x_644 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_643); -if (lean_obj_tag(x_644) == 0) +lean_object* x_633; lean_object* x_634; lean_object* x_635; +x_633 = lean_ctor_get(x_631, 0); +lean_inc(x_633); +lean_dec(x_631); +x_634 = lean_unsigned_to_nat(0u); +x_635 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_634); +if (lean_obj_tag(x_635) == 0) { -lean_object* x_645; +lean_object* x_636; +lean_dec(x_633); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_636 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_636, 0, x_3); +lean_ctor_set(x_636, 1, x_12); +return x_636; +} +else +{ +lean_object* x_637; lean_object* x_638; lean_object* x_639; uint8_t x_640; +x_637 = lean_ctor_get(x_635, 0); +lean_inc(x_637); +lean_dec(x_635); +x_638 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_633, x_8, x_9, x_10, x_11, x_12); +x_639 = lean_ctor_get(x_638, 0); +lean_inc(x_639); +x_640 = lean_unbox(x_639); +lean_dec(x_639); +if (x_640 == 0) +{ +uint8_t x_641; +lean_dec(x_637); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_641 = !lean_is_exclusive(x_638); +if (x_641 == 0) +{ +lean_object* x_642; +x_642 = lean_ctor_get(x_638, 0); lean_dec(x_642); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_645 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_645, 0, x_3); -lean_ctor_set(x_645, 1, x_12); -return x_645; +lean_ctor_set(x_638, 0, x_3); +return x_638; } else { -lean_object* x_646; lean_object* x_647; lean_object* x_648; uint8_t x_649; -x_646 = lean_ctor_get(x_644, 0); -lean_inc(x_646); -lean_dec(x_644); -x_647 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_642, x_8, x_9, x_10, x_11, x_12); -x_648 = lean_ctor_get(x_647, 0); -lean_inc(x_648); -x_649 = lean_unbox(x_648); -lean_dec(x_648); -if (x_649 == 0) -{ -uint8_t x_650; -lean_dec(x_646); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_650 = !lean_is_exclusive(x_647); -if (x_650 == 0) -{ -lean_object* x_651; -x_651 = lean_ctor_get(x_647, 0); -lean_dec(x_651); -lean_ctor_set(x_647, 0, x_3); -return x_647; -} -else -{ -lean_object* x_652; lean_object* x_653; -x_652 = lean_ctor_get(x_647, 1); -lean_inc(x_652); -lean_dec(x_647); -x_653 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_653, 0, x_3); -lean_ctor_set(x_653, 1, x_652); -return x_653; +lean_object* x_643; lean_object* x_644; +x_643 = lean_ctor_get(x_638, 1); +lean_inc(x_643); +lean_dec(x_638); +x_644 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_644, 0, x_3); +lean_ctor_set(x_644, 1, x_643); +return x_644; } } else { -lean_object* x_654; lean_object* x_655; -x_654 = lean_ctor_get(x_647, 1); -lean_inc(x_654); -lean_dec(x_647); +lean_object* x_645; lean_object* x_646; +x_645 = lean_ctor_get(x_638, 1); +lean_inc(x_645); +lean_dec(x_638); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_646); +lean_inc(x_637); lean_inc(x_1); -x_655 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_646, x_8, x_9, x_10, x_11, x_654); -if (lean_obj_tag(x_655) == 0) +x_646 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_637, x_8, x_9, x_10, x_11, x_645); +if (lean_obj_tag(x_646) == 0) { -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; uint8_t x_664; lean_object* x_665; lean_object* x_694; lean_object* x_695; lean_object* x_696; uint8_t x_697; -x_656 = lean_ctor_get(x_655, 0); -lean_inc(x_656); -x_657 = lean_ctor_get(x_655, 1); -lean_inc(x_657); -lean_dec(x_655); -x_658 = lean_ctor_get(x_656, 1); -lean_inc(x_658); -lean_dec(x_656); -x_659 = lean_box(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; uint8_t x_655; lean_object* x_656; lean_object* x_684; lean_object* x_685; lean_object* x_686; uint8_t x_687; +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_ctor_get(x_647, 1); +lean_inc(x_649); +lean_dec(x_647); +x_650 = lean_box(0); lean_inc(x_8); -x_660 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_658, x_659, x_8, x_9, x_10, x_11, x_657); -x_661 = lean_ctor_get(x_660, 0); -lean_inc(x_661); -x_662 = lean_ctor_get(x_660, 1); -lean_inc(x_662); -lean_dec(x_660); -x_663 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_694 = lean_st_ref_get(x_11, x_662); -x_695 = lean_ctor_get(x_694, 0); -lean_inc(x_695); -x_696 = lean_ctor_get(x_695, 3); -lean_inc(x_696); -lean_dec(x_695); -x_697 = lean_ctor_get_uint8(x_696, sizeof(void*)*1); -lean_dec(x_696); -if (x_697 == 0) +x_651 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_649, x_650, x_8, x_9, x_10, x_11, x_648); +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 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_684 = lean_st_ref_get(x_11, x_653); +x_685 = lean_ctor_get(x_684, 0); +lean_inc(x_685); +x_686 = lean_ctor_get(x_685, 3); +lean_inc(x_686); +lean_dec(x_685); +x_687 = lean_ctor_get_uint8(x_686, sizeof(void*)*1); +lean_dec(x_686); +if (x_687 == 0) { -lean_object* x_698; uint8_t x_699; -x_698 = lean_ctor_get(x_694, 1); -lean_inc(x_698); -lean_dec(x_694); -x_699 = 0; -x_664 = x_699; -x_665 = x_698; -goto block_693; +lean_object* x_688; uint8_t x_689; +x_688 = lean_ctor_get(x_684, 1); +lean_inc(x_688); +lean_dec(x_684); +x_689 = 0; +x_655 = x_689; +x_656 = x_688; +goto block_683; } else { -lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; uint8_t x_704; -x_700 = lean_ctor_get(x_694, 1); -lean_inc(x_700); -lean_dec(x_694); -x_701 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_663, x_8, x_9, x_10, x_11, x_700); -x_702 = lean_ctor_get(x_701, 0); -lean_inc(x_702); -x_703 = lean_ctor_get(x_701, 1); -lean_inc(x_703); -lean_dec(x_701); -x_704 = lean_unbox(x_702); -lean_dec(x_702); -x_664 = x_704; -x_665 = x_703; -goto block_693; +lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; uint8_t x_694; +x_690 = lean_ctor_get(x_684, 1); +lean_inc(x_690); +lean_dec(x_684); +x_691 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_654, x_8, x_9, x_10, x_11, x_690); +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_unbox(x_692); +lean_dec(x_692); +x_655 = x_694; +x_656 = x_693; +goto block_683; } -block_693: +block_683: { -if (x_664 == 0) +if (x_655 == 0) { -lean_object* x_666; lean_object* x_667; -x_666 = lean_box(0); +lean_object* x_657; lean_object* x_658; +x_657 = lean_box(0); lean_inc(x_3); -x_667 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_661, x_3, x_663, x_1, x_646, x_666, x_8, x_9, x_10, x_11, x_665); -if (lean_obj_tag(x_667) == 0) +x_658 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_652, x_3, x_654, x_1, x_637, x_657, x_8, x_9, x_10, x_11, x_656); +if (lean_obj_tag(x_658) == 0) { lean_dec(x_3); -return x_667; +return x_658; } else { -uint8_t x_668; -x_668 = !lean_is_exclusive(x_667); -if (x_668 == 0) +uint8_t x_659; +x_659 = !lean_is_exclusive(x_658); +if (x_659 == 0) { -lean_object* x_669; -x_669 = lean_ctor_get(x_667, 0); -lean_dec(x_669); -lean_ctor_set_tag(x_667, 0); -lean_ctor_set(x_667, 0, x_3); -return x_667; +lean_object* x_660; +x_660 = lean_ctor_get(x_658, 0); +lean_dec(x_660); +lean_ctor_set_tag(x_658, 0); +lean_ctor_set(x_658, 0, x_3); +return x_658; } else { -lean_object* x_670; lean_object* x_671; -x_670 = lean_ctor_get(x_667, 1); -lean_inc(x_670); -lean_dec(x_667); -x_671 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_671, 0, x_3); -lean_ctor_set(x_671, 1, x_670); -return x_671; +lean_object* x_661; lean_object* x_662; +x_661 = lean_ctor_get(x_658, 1); +lean_inc(x_661); +lean_dec(x_658); +x_662 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_662, 0, x_3); +lean_ctor_set(x_662, 1, x_661); +return x_662; } } } else { -lean_object* x_672; uint8_t x_673; lean_object* x_674; -x_672 = l_Lean_Expr_mvarId_x21(x_661); -x_673 = 0; +lean_object* x_663; lean_object* x_664; +x_663 = l_Lean_Expr_mvarId_x21(x_652); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_674 = l_Lean_Meta_ppGoal(x_672, x_673, x_8, x_9, x_10, x_11, x_665); +x_664 = l_Lean_Meta_ppGoal(x_663, x_8, x_9, x_10, x_11, x_656); +if (lean_obj_tag(x_664) == 0) +{ +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; +x_665 = lean_ctor_get(x_664, 0); +lean_inc(x_665); +x_666 = lean_ctor_get(x_664, 1); +lean_inc(x_666); +lean_dec(x_664); +x_667 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_667, 0, x_665); +x_668 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_669 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_669, 0, x_668); +lean_ctor_set(x_669, 1, x_667); +x_670 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_670, 0, x_669); +lean_ctor_set(x_670, 1, x_668); +x_671 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_654, x_670, x_8, x_9, x_10, x_11, x_666); +x_672 = lean_ctor_get(x_671, 0); +lean_inc(x_672); +x_673 = lean_ctor_get(x_671, 1); +lean_inc(x_673); +lean_dec(x_671); +lean_inc(x_3); +x_674 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_652, x_3, x_654, x_1, x_637, x_672, x_8, x_9, x_10, x_11, x_673); if (lean_obj_tag(x_674) == 0) { -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; -x_675 = lean_ctor_get(x_674, 0); -lean_inc(x_675); -x_676 = lean_ctor_get(x_674, 1); -lean_inc(x_676); -lean_dec(x_674); -x_677 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_677, 0, x_675); -x_678 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_679 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_679, 0, x_678); -lean_ctor_set(x_679, 1, x_677); -x_680 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_680, 0, x_679); -lean_ctor_set(x_680, 1, x_678); -x_681 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_663, x_680, x_8, x_9, x_10, x_11, x_676); -x_682 = lean_ctor_get(x_681, 0); -lean_inc(x_682); -x_683 = lean_ctor_get(x_681, 1); -lean_inc(x_683); -lean_dec(x_681); -lean_inc(x_3); -x_684 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_661, x_3, x_663, x_1, x_646, x_682, x_8, x_9, x_10, x_11, x_683); -if (lean_obj_tag(x_684) == 0) -{ lean_dec(x_3); -return x_684; +return x_674; } else { -uint8_t x_685; -x_685 = !lean_is_exclusive(x_684); -if (x_685 == 0) +uint8_t x_675; +x_675 = !lean_is_exclusive(x_674); +if (x_675 == 0) { -lean_object* x_686; -x_686 = lean_ctor_get(x_684, 0); -lean_dec(x_686); -lean_ctor_set_tag(x_684, 0); -lean_ctor_set(x_684, 0, x_3); -return x_684; -} -else -{ -lean_object* x_687; lean_object* x_688; -x_687 = lean_ctor_get(x_684, 1); -lean_inc(x_687); -lean_dec(x_684); -x_688 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_688, 0, x_3); -lean_ctor_set(x_688, 1, x_687); -return x_688; -} -} -} -else -{ -uint8_t x_689; -lean_dec(x_661); -lean_dec(x_646); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_689 = !lean_is_exclusive(x_674); -if (x_689 == 0) -{ -lean_object* x_690; -x_690 = lean_ctor_get(x_674, 0); -lean_dec(x_690); +lean_object* x_676; +x_676 = lean_ctor_get(x_674, 0); +lean_dec(x_676); lean_ctor_set_tag(x_674, 0); lean_ctor_set(x_674, 0, x_3); return x_674; } else { -lean_object* x_691; lean_object* x_692; -x_691 = lean_ctor_get(x_674, 1); -lean_inc(x_691); +lean_object* x_677; lean_object* x_678; +x_677 = lean_ctor_get(x_674, 1); +lean_inc(x_677); lean_dec(x_674); -x_692 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_692, 0, x_3); -lean_ctor_set(x_692, 1, x_691); -return x_692; +x_678 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_678, 0, x_3); +lean_ctor_set(x_678, 1, x_677); +return x_678; +} +} +} +else +{ +uint8_t x_679; +lean_dec(x_652); +lean_dec(x_637); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_679 = !lean_is_exclusive(x_664); +if (x_679 == 0) +{ +lean_object* x_680; +x_680 = lean_ctor_get(x_664, 0); +lean_dec(x_680); +lean_ctor_set_tag(x_664, 0); +lean_ctor_set(x_664, 0, x_3); +return x_664; +} +else +{ +lean_object* x_681; lean_object* x_682; +x_681 = lean_ctor_get(x_664, 1); +lean_inc(x_681); +lean_dec(x_664); +x_682 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_682, 0, x_3); +lean_ctor_set(x_682, 1, x_681); +return x_682; } } } @@ -21961,31 +21951,31 @@ return x_692; } else { -uint8_t x_705; -lean_dec(x_646); +uint8_t x_695; +lean_dec(x_637); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_705 = !lean_is_exclusive(x_655); -if (x_705 == 0) +x_695 = !lean_is_exclusive(x_646); +if (x_695 == 0) { -return x_655; +return x_646; } else { -lean_object* x_706; lean_object* x_707; lean_object* x_708; -x_706 = lean_ctor_get(x_655, 0); -x_707 = lean_ctor_get(x_655, 1); -lean_inc(x_707); -lean_inc(x_706); -lean_dec(x_655); -x_708 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_708, 0, x_706); -lean_ctor_set(x_708, 1, x_707); -return x_708; +lean_object* x_696; lean_object* x_697; lean_object* x_698; +x_696 = lean_ctor_get(x_646, 0); +x_697 = lean_ctor_get(x_646, 1); +lean_inc(x_697); +lean_inc(x_696); +lean_dec(x_646); +x_698 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_698, 0, x_696); +lean_ctor_set(x_698, 1, x_697); +return x_698; } } } @@ -21994,327 +21984,326 @@ return x_708; } default: { -lean_object* x_709; +lean_object* x_699; lean_dec(x_7); lean_dec(x_6); -x_709 = l_Lean_Expr_constName_x3f(x_5); +x_699 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_709) == 0) +if (lean_obj_tag(x_699) == 0) { -lean_object* x_710; +lean_object* x_700; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_710 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_710, 0, x_3); -lean_ctor_set(x_710, 1, x_12); -return x_710; +x_700 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_700, 0, x_3); +lean_ctor_set(x_700, 1, x_12); +return x_700; } else { -lean_object* x_711; lean_object* x_712; lean_object* x_713; -x_711 = lean_ctor_get(x_709, 0); -lean_inc(x_711); -lean_dec(x_709); -x_712 = lean_unsigned_to_nat(0u); -x_713 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_712); -if (lean_obj_tag(x_713) == 0) +lean_object* x_701; lean_object* x_702; lean_object* x_703; +x_701 = lean_ctor_get(x_699, 0); +lean_inc(x_701); +lean_dec(x_699); +x_702 = lean_unsigned_to_nat(0u); +x_703 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_702); +if (lean_obj_tag(x_703) == 0) { -lean_object* x_714; -lean_dec(x_711); +lean_object* x_704; +lean_dec(x_701); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_714 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_714, 0, x_3); -lean_ctor_set(x_714, 1, x_12); +x_704 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_704, 0, x_3); +lean_ctor_set(x_704, 1, x_12); +return x_704; +} +else +{ +lean_object* x_705; lean_object* x_706; lean_object* x_707; uint8_t x_708; +x_705 = lean_ctor_get(x_703, 0); +lean_inc(x_705); +lean_dec(x_703); +x_706 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_701, x_8, x_9, x_10, x_11, x_12); +x_707 = lean_ctor_get(x_706, 0); +lean_inc(x_707); +x_708 = lean_unbox(x_707); +lean_dec(x_707); +if (x_708 == 0) +{ +uint8_t x_709; +lean_dec(x_705); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_709 = !lean_is_exclusive(x_706); +if (x_709 == 0) +{ +lean_object* x_710; +x_710 = lean_ctor_get(x_706, 0); +lean_dec(x_710); +lean_ctor_set(x_706, 0, x_3); +return x_706; +} +else +{ +lean_object* x_711; lean_object* x_712; +x_711 = lean_ctor_get(x_706, 1); +lean_inc(x_711); +lean_dec(x_706); +x_712 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_712, 0, x_3); +lean_ctor_set(x_712, 1, x_711); +return x_712; +} +} +else +{ +lean_object* x_713; lean_object* x_714; +x_713 = lean_ctor_get(x_706, 1); +lean_inc(x_713); +lean_dec(x_706); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_705); +lean_inc(x_1); +x_714 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_705, x_8, x_9, x_10, x_11, x_713); +if (lean_obj_tag(x_714) == 0) +{ +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; uint8_t x_723; lean_object* x_724; lean_object* x_752; lean_object* x_753; lean_object* x_754; uint8_t x_755; +x_715 = lean_ctor_get(x_714, 0); +lean_inc(x_715); +x_716 = lean_ctor_get(x_714, 1); +lean_inc(x_716); +lean_dec(x_714); +x_717 = lean_ctor_get(x_715, 1); +lean_inc(x_717); +lean_dec(x_715); +x_718 = lean_box(0); +lean_inc(x_8); +x_719 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_717, x_718, x_8, x_9, x_10, x_11, x_716); +x_720 = lean_ctor_get(x_719, 0); +lean_inc(x_720); +x_721 = lean_ctor_get(x_719, 1); +lean_inc(x_721); +lean_dec(x_719); +x_722 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_752 = lean_st_ref_get(x_11, x_721); +x_753 = lean_ctor_get(x_752, 0); +lean_inc(x_753); +x_754 = lean_ctor_get(x_753, 3); +lean_inc(x_754); +lean_dec(x_753); +x_755 = lean_ctor_get_uint8(x_754, sizeof(void*)*1); +lean_dec(x_754); +if (x_755 == 0) +{ +lean_object* x_756; uint8_t x_757; +x_756 = lean_ctor_get(x_752, 1); +lean_inc(x_756); +lean_dec(x_752); +x_757 = 0; +x_723 = x_757; +x_724 = x_756; +goto block_751; +} +else +{ +lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; uint8_t x_762; +x_758 = lean_ctor_get(x_752, 1); +lean_inc(x_758); +lean_dec(x_752); +x_759 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_722, x_8, x_9, x_10, x_11, x_758); +x_760 = lean_ctor_get(x_759, 0); +lean_inc(x_760); +x_761 = lean_ctor_get(x_759, 1); +lean_inc(x_761); +lean_dec(x_759); +x_762 = lean_unbox(x_760); +lean_dec(x_760); +x_723 = x_762; +x_724 = x_761; +goto block_751; +} +block_751: +{ +if (x_723 == 0) +{ +lean_object* x_725; lean_object* x_726; +x_725 = lean_box(0); +lean_inc(x_3); +x_726 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_720, x_3, x_722, x_1, x_705, x_725, x_8, x_9, x_10, x_11, x_724); +if (lean_obj_tag(x_726) == 0) +{ +lean_dec(x_3); +return x_726; +} +else +{ +uint8_t x_727; +x_727 = !lean_is_exclusive(x_726); +if (x_727 == 0) +{ +lean_object* x_728; +x_728 = lean_ctor_get(x_726, 0); +lean_dec(x_728); +lean_ctor_set_tag(x_726, 0); +lean_ctor_set(x_726, 0, x_3); +return x_726; +} +else +{ +lean_object* x_729; lean_object* x_730; +x_729 = lean_ctor_get(x_726, 1); +lean_inc(x_729); +lean_dec(x_726); +x_730 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_730, 0, x_3); +lean_ctor_set(x_730, 1, x_729); +return x_730; +} +} +} +else +{ +lean_object* x_731; lean_object* x_732; +x_731 = l_Lean_Expr_mvarId_x21(x_720); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_732 = l_Lean_Meta_ppGoal(x_731, x_8, x_9, x_10, x_11, x_724); +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; +x_733 = lean_ctor_get(x_732, 0); +lean_inc(x_733); +x_734 = lean_ctor_get(x_732, 1); +lean_inc(x_734); +lean_dec(x_732); +x_735 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_735, 0, x_733); +x_736 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_737 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_737, 0, x_736); +lean_ctor_set(x_737, 1, x_735); +x_738 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_738, 0, x_737); +lean_ctor_set(x_738, 1, x_736); +x_739 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_722, x_738, x_8, x_9, x_10, x_11, x_734); +x_740 = lean_ctor_get(x_739, 0); +lean_inc(x_740); +x_741 = lean_ctor_get(x_739, 1); +lean_inc(x_741); +lean_dec(x_739); +lean_inc(x_3); +x_742 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_720, x_3, x_722, x_1, x_705, x_740, x_8, x_9, x_10, x_11, x_741); +if (lean_obj_tag(x_742) == 0) +{ +lean_dec(x_3); +return x_742; +} +else +{ +uint8_t x_743; +x_743 = !lean_is_exclusive(x_742); +if (x_743 == 0) +{ +lean_object* x_744; +x_744 = lean_ctor_get(x_742, 0); +lean_dec(x_744); +lean_ctor_set_tag(x_742, 0); +lean_ctor_set(x_742, 0, x_3); +return x_742; +} +else +{ +lean_object* x_745; lean_object* x_746; +x_745 = lean_ctor_get(x_742, 1); +lean_inc(x_745); +lean_dec(x_742); +x_746 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_746, 0, x_3); +lean_ctor_set(x_746, 1, x_745); +return x_746; +} +} +} +else +{ +uint8_t x_747; +lean_dec(x_720); +lean_dec(x_705); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_747 = !lean_is_exclusive(x_732); +if (x_747 == 0) +{ +lean_object* x_748; +x_748 = lean_ctor_get(x_732, 0); +lean_dec(x_748); +lean_ctor_set_tag(x_732, 0); +lean_ctor_set(x_732, 0, x_3); +return x_732; +} +else +{ +lean_object* x_749; lean_object* x_750; +x_749 = lean_ctor_get(x_732, 1); +lean_inc(x_749); +lean_dec(x_732); +x_750 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_750, 0, x_3); +lean_ctor_set(x_750, 1, x_749); +return x_750; +} +} +} +} +} +else +{ +uint8_t x_763; +lean_dec(x_705); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_1); +x_763 = !lean_is_exclusive(x_714); +if (x_763 == 0) +{ return x_714; } else { -lean_object* x_715; lean_object* x_716; lean_object* x_717; uint8_t x_718; -x_715 = lean_ctor_get(x_713, 0); -lean_inc(x_715); -lean_dec(x_713); -x_716 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_711, x_8, x_9, x_10, x_11, x_12); -x_717 = lean_ctor_get(x_716, 0); -lean_inc(x_717); -x_718 = lean_unbox(x_717); -lean_dec(x_717); -if (x_718 == 0) -{ -uint8_t x_719; -lean_dec(x_715); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_719 = !lean_is_exclusive(x_716); -if (x_719 == 0) -{ -lean_object* x_720; -x_720 = lean_ctor_get(x_716, 0); -lean_dec(x_720); -lean_ctor_set(x_716, 0, x_3); -return x_716; -} -else -{ -lean_object* x_721; lean_object* x_722; -x_721 = lean_ctor_get(x_716, 1); -lean_inc(x_721); -lean_dec(x_716); -x_722 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_722, 0, x_3); -lean_ctor_set(x_722, 1, x_721); -return x_722; -} -} -else -{ -lean_object* x_723; lean_object* x_724; -x_723 = lean_ctor_get(x_716, 1); -lean_inc(x_723); -lean_dec(x_716); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_715); -lean_inc(x_1); -x_724 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_715, x_8, x_9, x_10, x_11, x_723); -if (lean_obj_tag(x_724) == 0) -{ -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; uint8_t x_733; lean_object* x_734; lean_object* x_763; lean_object* x_764; lean_object* x_765; uint8_t x_766; -x_725 = lean_ctor_get(x_724, 0); -lean_inc(x_725); -x_726 = lean_ctor_get(x_724, 1); -lean_inc(x_726); -lean_dec(x_724); -x_727 = lean_ctor_get(x_725, 1); -lean_inc(x_727); -lean_dec(x_725); -x_728 = lean_box(0); -lean_inc(x_8); -x_729 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_727, x_728, x_8, x_9, x_10, x_11, x_726); -x_730 = lean_ctor_get(x_729, 0); -lean_inc(x_730); -x_731 = lean_ctor_get(x_729, 1); -lean_inc(x_731); -lean_dec(x_729); -x_732 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_763 = lean_st_ref_get(x_11, x_731); -x_764 = lean_ctor_get(x_763, 0); -lean_inc(x_764); -x_765 = lean_ctor_get(x_764, 3); +lean_object* x_764; lean_object* x_765; lean_object* x_766; +x_764 = lean_ctor_get(x_714, 0); +x_765 = lean_ctor_get(x_714, 1); lean_inc(x_765); -lean_dec(x_764); -x_766 = lean_ctor_get_uint8(x_765, sizeof(void*)*1); -lean_dec(x_765); -if (x_766 == 0) -{ -lean_object* x_767; uint8_t x_768; -x_767 = lean_ctor_get(x_763, 1); -lean_inc(x_767); -lean_dec(x_763); -x_768 = 0; -x_733 = x_768; -x_734 = x_767; -goto block_762; -} -else -{ -lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; uint8_t x_773; -x_769 = lean_ctor_get(x_763, 1); -lean_inc(x_769); -lean_dec(x_763); -x_770 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__8(x_732, x_8, x_9, x_10, x_11, x_769); -x_771 = lean_ctor_get(x_770, 0); -lean_inc(x_771); -x_772 = lean_ctor_get(x_770, 1); -lean_inc(x_772); -lean_dec(x_770); -x_773 = lean_unbox(x_771); -lean_dec(x_771); -x_733 = x_773; -x_734 = x_772; -goto block_762; -} -block_762: -{ -if (x_733 == 0) -{ -lean_object* x_735; lean_object* x_736; -x_735 = lean_box(0); -lean_inc(x_3); -x_736 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_730, x_3, x_732, x_1, x_715, x_735, x_8, x_9, x_10, x_11, x_734); -if (lean_obj_tag(x_736) == 0) -{ -lean_dec(x_3); -return x_736; -} -else -{ -uint8_t x_737; -x_737 = !lean_is_exclusive(x_736); -if (x_737 == 0) -{ -lean_object* x_738; -x_738 = lean_ctor_get(x_736, 0); -lean_dec(x_738); -lean_ctor_set_tag(x_736, 0); -lean_ctor_set(x_736, 0, x_3); -return x_736; -} -else -{ -lean_object* x_739; lean_object* x_740; -x_739 = lean_ctor_get(x_736, 1); -lean_inc(x_739); -lean_dec(x_736); -x_740 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_740, 0, x_3); -lean_ctor_set(x_740, 1, x_739); -return x_740; -} -} -} -else -{ -lean_object* x_741; uint8_t x_742; lean_object* x_743; -x_741 = l_Lean_Expr_mvarId_x21(x_730); -x_742 = 0; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_743 = l_Lean_Meta_ppGoal(x_741, x_742, x_8, x_9, x_10, x_11, x_734); -if (lean_obj_tag(x_743) == 0) -{ -lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; -x_744 = lean_ctor_get(x_743, 0); -lean_inc(x_744); -x_745 = lean_ctor_get(x_743, 1); -lean_inc(x_745); -lean_dec(x_743); -x_746 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_746, 0, x_744); -x_747 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_748 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_748, 0, x_747); -lean_ctor_set(x_748, 1, x_746); -x_749 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_749, 0, x_748); -lean_ctor_set(x_749, 1, x_747); -x_750 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__7(x_732, x_749, x_8, x_9, x_10, x_11, x_745); -x_751 = lean_ctor_get(x_750, 0); -lean_inc(x_751); -x_752 = lean_ctor_get(x_750, 1); -lean_inc(x_752); -lean_dec(x_750); -lean_inc(x_3); -x_753 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_730, x_3, x_732, x_1, x_715, x_751, x_8, x_9, x_10, x_11, x_752); -if (lean_obj_tag(x_753) == 0) -{ -lean_dec(x_3); -return x_753; -} -else -{ -uint8_t x_754; -x_754 = !lean_is_exclusive(x_753); -if (x_754 == 0) -{ -lean_object* x_755; -x_755 = lean_ctor_get(x_753, 0); -lean_dec(x_755); -lean_ctor_set_tag(x_753, 0); -lean_ctor_set(x_753, 0, x_3); -return x_753; -} -else -{ -lean_object* x_756; lean_object* x_757; -x_756 = lean_ctor_get(x_753, 1); -lean_inc(x_756); -lean_dec(x_753); -x_757 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_757, 0, x_3); -lean_ctor_set(x_757, 1, x_756); -return x_757; -} -} -} -else -{ -uint8_t x_758; -lean_dec(x_730); -lean_dec(x_715); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_758 = !lean_is_exclusive(x_743); -if (x_758 == 0) -{ -lean_object* x_759; -x_759 = lean_ctor_get(x_743, 0); -lean_dec(x_759); -lean_ctor_set_tag(x_743, 0); -lean_ctor_set(x_743, 0, x_3); -return x_743; -} -else -{ -lean_object* x_760; lean_object* x_761; -x_760 = lean_ctor_get(x_743, 1); -lean_inc(x_760); -lean_dec(x_743); -x_761 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_761, 0, x_3); -lean_ctor_set(x_761, 1, x_760); -return x_761; -} -} -} -} -} -else -{ -uint8_t x_774; -lean_dec(x_715); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_1); -x_774 = !lean_is_exclusive(x_724); -if (x_774 == 0) -{ -return x_724; -} -else -{ -lean_object* x_775; lean_object* x_776; lean_object* x_777; -x_775 = lean_ctor_get(x_724, 0); -x_776 = lean_ctor_get(x_724, 1); -lean_inc(x_776); -lean_inc(x_775); -lean_dec(x_724); -x_777 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_777, 0, x_775); -lean_ctor_set(x_777, 1, x_776); -return x_777; +lean_inc(x_764); +lean_dec(x_714); +x_766 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_766, 0, x_764); +lean_ctor_set(x_766, 1, x_765); +return x_766; } } } diff --git a/stage0/stdlib/Lean/Meta/PPGoal.c b/stage0/stdlib/Lean/Meta/PPGoal.c index 6118b262d0..902be8e0be 100644 --- a/stage0/stdlib/Lean/Meta/PPGoal.c +++ b/stage0/stdlib/Lean/Meta/PPGoal.c @@ -111,18 +111,16 @@ uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___sp uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__12(lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasVisibleDep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_getGoalTarget_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasVisibleDep___spec__3___boxed(lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__4(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Meta_ppGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_ppGoal_pushPending___closed__4; lean_object* l_Lean_Meta_ToHide_moveToHiddeProp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_ToHide_hasVisibleDep___spec__11(lean_object*, lean_object*); lean_object* l_Lean_Meta_ToHide_visitVisibleExpr_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_getGoalTarget___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_erase___at_Lean_Meta_ToHide_unmark___spec__1___boxed(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__34(lean_object*, lean_object*, size_t, size_t); size_t l_UInt64_toUSize(uint64_t); @@ -174,7 +172,7 @@ static lean_object* l_Lean_Meta_ppGoal___lambda__1___closed__1; lean_object* l_Std_RBNode_appendTrees___rarg(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__28(lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_ppGoal___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_ppGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_balRight___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_RBNode_isBlack___rarg(lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasVisibleDep___spec__31(lean_object*, lean_object*); @@ -230,11 +228,10 @@ uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__34(le size_t lean_usize_of_nat(lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasVisibleDep___spec__37(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; -lean_object* l_Lean_Meta_getGoalTarget_match__1(lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasVisibleDep___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_ppGoal___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_ppGoal___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__3___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); @@ -244,7 +241,6 @@ size_t l_USize_land(size_t, size_t); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); lean_object* l_Lean_Meta_ToHide_visitVisibleExpr_visit_match__1(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__21(lean_object*, lean_object*, size_t, size_t); -lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__10(lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasVisibleDep___spec__16(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ppGoal_ppVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -305,7 +301,6 @@ lean_object* l_Lean_LocalContext_foldlM___at_Lean_Meta_ppGoal___spec__1(lean_obj lean_object* l_Lean_Option_setIfNotSet___at_Lean_Meta_withPPInaccessibleNamesImp___spec__1(lean_object*, lean_object*, uint8_t); lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Meta_ppGoal_ppVars___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_collect___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_getGoalTarget(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__5(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_MetavarContext_findDecl_x3f(lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasVisibleDep___spec__37___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -336,7 +331,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ToHide_fixpointStep___spec lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNames(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instBEqExpr; @@ -14233,220 +14227,6 @@ return x_1; } } } -lean_object* l_Lean_Meta_getGoalTarget_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; -lean_dec(x_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -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); -x_7 = lean_ctor_get(x_5, 0); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_apply_3(x_2, x_7, x_8, x_9); -return x_10; -} -} -} -lean_object* l_Lean_Meta_getGoalTarget_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_getGoalTarget_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Meta_getGoalTarget(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_1, 2); -lean_inc(x_8); -lean_dec(x_1); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_9 = l_Lean_Meta_instantiateMVars(x_8, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_9) == 0) -{ -if (x_2 == 0) -{ -uint8_t x_10; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -return x_9; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_9); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_9, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_9, 1); -lean_inc(x_15); -lean_dec(x_9); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_14); -x_16 = l_Lean_Meta_matchEq_x3f(x_14, x_3, x_4, x_5, x_6, x_15); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) -{ -uint8_t x_18; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_18 = !lean_is_exclusive(x_16); -if (x_18 == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_16, 0); -lean_dec(x_19); -lean_ctor_set(x_16, 0, x_14); -return x_16; -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_dec(x_16); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_14); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_14); -x_22 = lean_ctor_get(x_17, 0); -lean_inc(x_22); -lean_dec(x_17); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_ctor_get(x_16, 1); -lean_inc(x_24); -lean_dec(x_16); -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -lean_dec(x_23); -x_26 = l_Lean_Meta_instantiateMVars(x_25, x_3, x_4, x_5, x_6, x_24); -return x_26; -} -} -else -{ -uint8_t x_27; -lean_dec(x_14); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_27 = !lean_is_exclusive(x_16); -if (x_27 == 0) -{ -return x_16; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_16, 0); -x_29 = lean_ctor_get(x_16, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_16); -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_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_31 = !lean_is_exclusive(x_9); -if (x_31 == 0) -{ -return x_9; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_9, 0); -x_33 = lean_ctor_get(x_9, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_9); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -} -lean_object* l_Lean_Meta_getGoalTarget___boxed(lean_object* x_1, lean_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_getGoalTarget(x_1, x_8, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} lean_object* l_Lean_Meta_ppGoal_pushPending_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -20731,331 +20511,334 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Meta_ppGoal___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Meta_ppGoal___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_12; -lean_inc(x_10); +lean_object* x_11; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_12 = l_Lean_Meta_ToHide_collect(x_1, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) +lean_inc(x_6); +lean_inc(x_1); +x_11 = l_Lean_Meta_ToHide_collect(x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_13 = lean_ctor_get(x_12, 0); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); +lean_dec(x_11); +x_14 = lean_ctor_get(x_12, 0); lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 0); +x_15 = lean_ctor_get(x_12, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_dec(x_13); -x_17 = l_Lean_Meta_ppGoal___lambda__1___closed__2; -x_18 = lean_unsigned_to_nat(0u); -lean_inc(x_10); +lean_dec(x_12); +x_16 = l_Lean_Meta_ppGoal___lambda__1___closed__2; +x_17 = lean_unsigned_to_nat(0u); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_2); -x_19 = l_Lean_LocalContext_foldlM___at_Lean_Meta_ppGoal___spec__1(x_2, x_3, x_15, x_16, x_4, x_17, x_18, x_7, x_8, x_9, x_10, x_14); -lean_dec(x_16); +x_18 = l_Lean_LocalContext_foldlM___at_Lean_Meta_ppGoal___spec__1(x_2, x_3, x_14, x_15, x_4, x_16, x_17, x_6, x_7, x_8, x_9, x_13); lean_dec(x_15); -if (lean_obj_tag(x_19) == 0) +lean_dec(x_14); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_20 = lean_ctor_get(x_19, 0); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); -x_21 = lean_ctor_get(x_20, 1); +x_21 = lean_ctor_get(x_18, 1); lean_inc(x_21); -x_22 = lean_ctor_get(x_19, 1); +lean_dec(x_18); +x_22 = lean_ctor_get(x_19, 0); lean_inc(x_22); lean_dec(x_19); x_23 = lean_ctor_get(x_20, 0); lean_inc(x_23); -lean_dec(x_20); -x_24 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_20, 1); lean_inc(x_24); -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_dec(x_21); +lean_dec(x_20); lean_inc(x_2); -x_26 = l_Lean_Meta_ppGoal_pushPending(x_2, x_23, x_24, x_25, x_7, x_8, x_9, x_10, x_22); -if (lean_obj_tag(x_26) == 0) +x_25 = l_Lean_Meta_ppGoal_pushPending(x_2, x_22, x_23, x_24, x_6, x_7, x_8, x_9, x_21); +if (lean_obj_tag(x_25) == 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_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(x_27); -lean_inc(x_10); +lean_dec(x_25); +x_28 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(x_26); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_5); -x_30 = l_Lean_Meta_getGoalTarget(x_5, x_6, x_7, x_8, x_9, x_10, x_28); -if (lean_obj_tag(x_30) == 0) +lean_inc(x_6); +x_29 = l_Lean_Meta_instantiateMVars(x_1, x_6, x_7, x_8, x_9, x_27); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_30, 0); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = l_Lean_Meta_ppExpr(x_31, x_7, x_8, x_9, x_10, x_32); -lean_dec(x_10); +lean_dec(x_29); +x_32 = l_Lean_Meta_ppExpr(x_30, x_6, x_7, x_8, x_9, x_31); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -if (lean_obj_tag(x_33) == 0) +lean_dec(x_6); +if (lean_obj_tag(x_32) == 0) { -uint8_t x_34; -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_35 = lean_ctor_get(x_33, 0); -x_36 = l_Lean_Meta_ppGoal___lambda__1___closed__4; -x_37 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_37, 0, x_29); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_38, 0, x_2); -lean_ctor_set(x_38, 1, x_35); -x_39 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = lean_ctor_get(x_5, 0); -lean_inc(x_40); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_34 = lean_ctor_get(x_32, 0); +x_35 = l_Lean_Meta_ppGoal___lambda__1___closed__4; +x_36 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_36, 0, x_28); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_37, 0, x_2); +lean_ctor_set(x_37, 1, x_34); +x_38 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_ctor_get(x_5, 0); +lean_inc(x_39); lean_dec(x_5); -if (lean_obj_tag(x_40) == 0) +if (lean_obj_tag(x_39) == 0) { -lean_ctor_set(x_33, 0, x_39); -return x_33; +lean_ctor_set(x_32, 0, x_38); +return x_32; } else { -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; -x_41 = lean_erase_macro_scopes(x_40); -x_42 = 1; -x_43 = l_Lean_Name_toString(x_41, x_42); -x_44 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_45 = l_Lean_Meta_ppGoal___lambda__1___closed__6; -x_46 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = lean_box(1); +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; +x_40 = lean_erase_macro_scopes(x_39); +x_41 = 1; +x_42 = l_Lean_Name_toString(x_40, x_41); +x_43 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_44 = l_Lean_Meta_ppGoal___lambda__1___closed__6; +x_45 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = lean_box(1); +x_47 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); x_48 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_39); -lean_ctor_set(x_33, 0, x_49); -return x_33; +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_38); +lean_ctor_set(x_32, 0, x_48); +return x_32; } } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_50 = lean_ctor_get(x_33, 0); -x_51 = lean_ctor_get(x_33, 1); -lean_inc(x_51); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_49 = lean_ctor_get(x_32, 0); +x_50 = lean_ctor_get(x_32, 1); lean_inc(x_50); -lean_dec(x_33); -x_52 = l_Lean_Meta_ppGoal___lambda__1___closed__4; -x_53 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_53, 0, x_29); -lean_ctor_set(x_53, 1, x_52); -x_54 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_54, 0, x_2); -lean_ctor_set(x_54, 1, x_50); -x_55 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -x_56 = lean_ctor_get(x_5, 0); -lean_inc(x_56); +lean_inc(x_49); +lean_dec(x_32); +x_51 = l_Lean_Meta_ppGoal___lambda__1___closed__4; +x_52 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_52, 0, x_28); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_53, 0, x_2); +lean_ctor_set(x_53, 1, x_49); +x_54 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_ctor_get(x_5, 0); +lean_inc(x_55); lean_dec(x_5); -if (lean_obj_tag(x_56) == 0) +if (lean_obj_tag(x_55) == 0) { -lean_object* x_57; -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_51); -return x_57; +lean_object* x_56; +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_50); +return x_56; } else { -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; lean_object* x_67; -x_58 = lean_erase_macro_scopes(x_56); -x_59 = 1; -x_60 = l_Lean_Name_toString(x_58, x_59); -x_61 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_62 = l_Lean_Meta_ppGoal___lambda__1___closed__6; -x_63 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_61); -x_64 = lean_box(1); +lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_57 = lean_erase_macro_scopes(x_55); +x_58 = 1; +x_59 = l_Lean_Name_toString(x_57, x_58); +x_60 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_60, 0, x_59); +x_61 = l_Lean_Meta_ppGoal___lambda__1___closed__6; +x_62 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = lean_box(1); +x_64 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); x_65 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_54); +x_66 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_55); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_51); -return x_67; +lean_ctor_set(x_66, 1, x_50); +return x_66; } } } else { -uint8_t x_68; -lean_dec(x_29); +uint8_t x_67; +lean_dec(x_28); lean_dec(x_5); lean_dec(x_2); -x_68 = !lean_is_exclusive(x_33); -if (x_68 == 0) +x_67 = !lean_is_exclusive(x_32); +if (x_67 == 0) { -return x_33; +return x_32; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_33, 0); -x_70 = lean_ctor_get(x_33, 1); -lean_inc(x_70); +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_32, 0); +x_69 = lean_ctor_get(x_32, 1); lean_inc(x_69); -lean_dec(x_33); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +lean_inc(x_68); +lean_dec(x_32); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } else { -uint8_t x_72; -lean_dec(x_29); -lean_dec(x_10); +uint8_t x_71; +lean_dec(x_28); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_72 = !lean_is_exclusive(x_30); -if (x_72 == 0) +x_71 = !lean_is_exclusive(x_29); +if (x_71 == 0) { -return x_30; +return x_29; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_30, 0); -x_74 = lean_ctor_get(x_30, 1); -lean_inc(x_74); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_29, 0); +x_73 = lean_ctor_get(x_29, 1); lean_inc(x_73); -lean_dec(x_30); -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_inc(x_72); +lean_dec(x_29); +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_76; -lean_dec(x_10); +uint8_t x_75; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_76 = !lean_is_exclusive(x_26); -if (x_76 == 0) +lean_dec(x_1); +x_75 = !lean_is_exclusive(x_25); +if (x_75 == 0) { -return x_26; +return x_25; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_26, 0); -x_78 = lean_ctor_get(x_26, 1); -lean_inc(x_78); +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_dec(x_26); -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_inc(x_76); +lean_dec(x_25); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; } } } else { -uint8_t x_80; -lean_dec(x_10); +uint8_t x_79; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_80 = !lean_is_exclusive(x_19); -if (x_80 == 0) +lean_dec(x_1); +x_79 = !lean_is_exclusive(x_18); +if (x_79 == 0) { -return x_19; +return x_18; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_19, 0); -x_82 = lean_ctor_get(x_19, 1); -lean_inc(x_82); +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_18, 0); +x_81 = lean_ctor_get(x_18, 1); lean_inc(x_81); -lean_dec(x_19); -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_inc(x_80); +lean_dec(x_18); +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_84; -lean_dec(x_10); +uint8_t x_83; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_84 = !lean_is_exclusive(x_12); -if (x_84 == 0) +lean_dec(x_1); +x_83 = !lean_is_exclusive(x_11); +if (x_83 == 0) { -return x_12; +return x_11; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_12, 0); -x_86 = lean_ctor_get(x_12, 1); -lean_inc(x_86); +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_11, 0); +x_85 = lean_ctor_get(x_11, 1); lean_inc(x_85); -lean_dec(x_12); -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; +lean_inc(x_84); +lean_dec(x_11); +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; } } } @@ -21087,140 +20870,136 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -lean_object* l_Lean_Meta_ppGoal(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Meta_ppGoal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_st_ref_get(x_6, x_7); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_st_ref_get(x_4, x_9); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_st_ref_get(x_3, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_MetavarContext_findDecl_x3f(x_14, x_1); -if (lean_obj_tag(x_15) == 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 = lean_ctor_get(x_9, 1); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_MetavarContext_findDecl_x3f(x_13, x_1); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_16; -lean_dec(x_6); +lean_object* x_15; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_16 = l_Lean_Meta_ppGoal___closed__2; -lean_ctor_set(x_10, 0, x_16); -return x_10; +lean_dec(x_2); +x_15 = l_Lean_Meta_ppGoal___closed__2; +lean_ctor_set(x_9, 0, x_15); +return x_9; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_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_free_object(x_10); -x_17 = lean_ctor_get(x_15, 0); +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_free_object(x_9); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_4, 0); lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_5, 0); -lean_inc(x_18); -x_19 = l_Lean_Meta_pp_auxDecls; -x_20 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_18, x_19); -x_21 = lean_ctor_get(x_17, 1); -lean_inc(x_21); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_23, 0, x_18); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_23, 2, x_22); -x_24 = l_Lean_LocalContext_sanitizeNames(x_21, x_23); -x_25 = lean_ctor_get(x_24, 0); +x_18 = l_Lean_Meta_pp_auxDecls; +x_19 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_17, x_18); +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_21); +lean_ctor_set(x_22, 2, x_21); +x_23 = l_Lean_LocalContext_sanitizeNames(x_20, x_22); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_ctor_get(x_16, 4); lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_ctor_get(x_17, 4); +x_26 = lean_ctor_get(x_16, 2); lean_inc(x_26); -x_27 = lean_ctor_get(x_17, 2); -lean_inc(x_27); -x_28 = l_Lean_Meta_ppGoal___closed__3; -x_29 = lean_box(x_20); -x_30 = lean_box(x_2); -lean_inc(x_25); -x_31 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___lambda__1___boxed), 11, 6); -lean_closure_set(x_31, 0, x_27); -lean_closure_set(x_31, 1, x_28); -lean_closure_set(x_31, 2, x_29); -lean_closure_set(x_31, 3, x_25); -lean_closure_set(x_31, 4, x_17); -lean_closure_set(x_31, 5, x_30); -x_32 = l_Lean_Meta_withLCtx___at_Lean_Meta_ppGoal___spec__15___rarg(x_25, x_26, x_31, x_3, x_4, x_5, x_6, x_13); -return x_32; +x_27 = l_Lean_Meta_ppGoal___closed__3; +x_28 = lean_box(x_19); +lean_inc(x_24); +x_29 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___lambda__1___boxed), 10, 5); +lean_closure_set(x_29, 0, x_26); +lean_closure_set(x_29, 1, x_27); +lean_closure_set(x_29, 2, x_28); +lean_closure_set(x_29, 3, x_24); +lean_closure_set(x_29, 4, x_16); +x_30 = l_Lean_Meta_withLCtx___at_Lean_Meta_ppGoal___spec__15___rarg(x_24, x_25, x_29, x_2, x_3, x_4, x_5, x_12); +return x_30; } } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_10, 0); -x_34 = lean_ctor_get(x_10, 1); -lean_inc(x_34); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_9, 0); +x_32 = lean_ctor_get(x_9, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_9); +x_33 = lean_ctor_get(x_31, 0); lean_inc(x_33); -lean_dec(x_10); -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_35); -lean_dec(x_33); -x_36 = l_Lean_MetavarContext_findDecl_x3f(x_35, x_1); -if (lean_obj_tag(x_36) == 0) +lean_dec(x_31); +x_34 = l_Lean_MetavarContext_findDecl_x3f(x_33, x_1); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_37; lean_object* x_38; -lean_dec(x_6); +lean_object* x_35; lean_object* x_36; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_37 = l_Lean_Meta_ppGoal___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_34); -return x_38; +lean_dec(x_2); +x_35 = l_Lean_Meta_ppGoal___closed__2; +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_32); +return x_36; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_39 = lean_ctor_get(x_36, 0); -lean_inc(x_39); -lean_dec(x_36); -x_40 = lean_ctor_get(x_5, 0); -lean_inc(x_40); -x_41 = l_Lean_Meta_pp_auxDecls; -x_42 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_40, x_41); -x_43 = lean_ctor_get(x_39, 1); -lean_inc(x_43); -x_44 = lean_box(0); -x_45 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_45, 0, x_40); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_44); -x_46 = l_Lean_LocalContext_sanitizeNames(x_43, x_45); -x_47 = lean_ctor_get(x_46, 0); +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_37 = lean_ctor_get(x_34, 0); +lean_inc(x_37); +lean_dec(x_34); +x_38 = lean_ctor_get(x_4, 0); +lean_inc(x_38); +x_39 = l_Lean_Meta_pp_auxDecls; +x_40 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_38, x_39); +x_41 = lean_ctor_get(x_37, 1); +lean_inc(x_41); +x_42 = lean_box(0); +x_43 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_43, 0, x_38); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_42); +x_44 = l_Lean_LocalContext_sanitizeNames(x_41, x_43); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +lean_dec(x_44); +x_46 = lean_ctor_get(x_37, 4); +lean_inc(x_46); +x_47 = lean_ctor_get(x_37, 2); lean_inc(x_47); -lean_dec(x_46); -x_48 = lean_ctor_get(x_39, 4); -lean_inc(x_48); -x_49 = lean_ctor_get(x_39, 2); -lean_inc(x_49); -x_50 = l_Lean_Meta_ppGoal___closed__3; -x_51 = lean_box(x_42); -x_52 = lean_box(x_2); -lean_inc(x_47); -x_53 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___lambda__1___boxed), 11, 6); -lean_closure_set(x_53, 0, x_49); -lean_closure_set(x_53, 1, x_50); -lean_closure_set(x_53, 2, x_51); -lean_closure_set(x_53, 3, x_47); -lean_closure_set(x_53, 4, x_39); -lean_closure_set(x_53, 5, x_52); -x_54 = l_Lean_Meta_withLCtx___at_Lean_Meta_ppGoal___spec__15___rarg(x_47, x_48, x_53, x_3, x_4, x_5, x_6, x_34); -return x_54; +x_48 = l_Lean_Meta_ppGoal___closed__3; +x_49 = lean_box(x_40); +lean_inc(x_45); +x_50 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___lambda__1___boxed), 10, 5); +lean_closure_set(x_50, 0, x_47); +lean_closure_set(x_50, 1, x_48); +lean_closure_set(x_50, 2, x_49); +lean_closure_set(x_50, 3, x_45); +lean_closure_set(x_50, 4, x_37); +x_51 = l_Lean_Meta_withLCtx___at_Lean_Meta_ppGoal___spec__15___rarg(x_45, x_46, x_50, x_2, x_3, x_4, x_5, x_32); +return x_51; } } } @@ -21443,26 +21222,14 @@ lean_dec(x_3); return x_14; } } -lean_object* l_Lean_Meta_ppGoal___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* l_Lean_Meta_ppGoal___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_12; uint8_t x_13; lean_object* x_14; -x_12 = lean_unbox(x_3); +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_3); lean_dec(x_3); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Lean_Meta_ppGoal___lambda__1(x_1, x_2, x_12, x_4, x_5, x_13, x_7, x_8, x_9, x_10, x_11); -return x_14; -} -} -lean_object* l_Lean_Meta_ppGoal___boxed(lean_object* x_1, lean_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_ppGoal(x_1, x_8, x_3, x_4, x_5, x_6, x_7); -return x_9; +x_12 = l_Lean_Meta_ppGoal___lambda__1(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } } lean_object* initialize_Init(lean_object*); diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index 23148a1d5b..79a4ed8934 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -139,7 +139,6 @@ lean_object* l_Lean_Parser_Term_proj_parenthesizer(lean_object*, lean_object*, l lean_object* l_Lean_Parser_Term_letRecDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letrec_formatter___closed__9; static lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__22; lean_object* l___regBuiltin_Lean_Parser_Term_explicit_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_trailing__parser___elambda__1___closed__4; @@ -229,6 +228,7 @@ static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__25; static lean_object* l_Lean_Parser_Term_generalizingParam___closed__9; static lean_object* l_Lean_Parser_Term_binop___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_letRecDecls___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__21; static lean_object* l_Lean_Parser_Term_explicit___closed__2; static lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__3; @@ -259,7 +259,6 @@ lean_object* l_Lean_Parser_Term_proj; static lean_object* l___regBuiltin_Lean_Parser_Term_have_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__23; lean_object* l_Lean_Parser_Term_funImplicitBinder; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__15; static lean_object* l_Lean_Parser_Tactic_quotSeq___closed__6; static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__5; @@ -291,7 +290,6 @@ static lean_object* l_Lean_Parser_Term_trailing__parser___elambda__1___closed__8 static lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_anonymousCtor_formatter___closed__4; lean_object* l_Lean_Parser_Term_binderType_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_optIdent___closed__5; static lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_show___elambda__1___closed__5; @@ -300,7 +298,6 @@ lean_object* l_Lean_Parser_Term_fun_formatter(lean_object*, lean_object*, lean_o static lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_letDecl___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_assert_formatter___closed__1; -static lean_object* l_Lean_Parser_Term_conv_quot___closed__3; lean_object* l_Lean_Parser_Term_letDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_explicitUniv_formatter___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_match_parenthesizer(lean_object*); @@ -317,7 +314,6 @@ static lean_object* l_Lean_Parser_Term_syntheticHole_formatter___closed__3; static lean_object* l_Lean_Parser_Term_argument___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_arrow___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__22; -static lean_object* l_Lean_Parser_Term_conv_quot_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_inaccessible___closed__1; static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket_formatter___closed__3; static lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__6; @@ -363,6 +359,7 @@ static lean_object* l_Lean_Parser_Term_structInst___closed__6; static lean_object* l_Lean_Parser_Level_quot_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__1; static lean_object* l_Lean_Parser_Term_structInstField_formatter___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__13; static lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_unreachable_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_parenthesizer(lean_object*); @@ -373,7 +370,6 @@ static lean_object* l_Lean_Parser_Term_type___closed__3; lean_object* l_Lean_Parser_Term_attributes___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_fun_formatter___closed__3; static lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__7; -static lean_object* l_Lean_Parser_Term_conv_quot___closed__8; static lean_object* l_Lean_Parser_Term_matchDiscr_formatter___closed__8; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_panic_formatter___closed__2; @@ -452,7 +448,6 @@ static lean_object* l_Lean_Parser_Term_show___elambda__1___closed__8; lean_object* l_Lean_Parser_sepBy_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_completion_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_instBinder_parenthesizer___closed__3; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_match; lean_object* l_Lean_Parser_Term_depArrow; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__6; @@ -468,7 +463,6 @@ lean_object* l_Lean_Parser_Tactic_quot_parenthesizer(lean_object*, lean_object*, static lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__22; static lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__10; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__16; static lean_object* l_Lean_Parser_Term_have___closed__2; static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__18; static lean_object* l_Lean_Parser_Term_funBinder_quot___closed__8; @@ -486,13 +480,11 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_panic_formatter___closed__1; static lean_object* l_Lean_Parser_Term_ident_parenthesizer___closed__1; lean_object* l_Lean_Parser_symbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_charLit; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Term_match___elambda__1___closed__21; static lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__15; static lean_object* l___regBuiltin_Lean_Parser_Term_cdot_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_inaccessible___closed__4; -static lean_object* l_Lean_Parser_Term_conv_quot___closed__5; static lean_object* l_Lean_Parser_Term_trueVal___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_match_formatter___closed__3; static lean_object* l_Lean_Parser_Term_subst_parenthesizer___closed__2; @@ -583,6 +575,7 @@ static lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__3; lean_object* l_Lean_Parser_group_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_attrInstance___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_let__fun_formatter(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__33; static lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_funBinder_quot___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_parenthesizer___closed__1; @@ -653,6 +646,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_doubleQuotedName_formatter__ lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed; static lean_object* l_Lean_Parser_Term_suffices_formatter___closed__7; static lean_object* l_Lean_Parser_Term_binderTactic___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__23; static lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_show___elambda__1___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__4; @@ -665,13 +659,11 @@ static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_letRecDecl_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__24; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_formatter___closed__2; extern lean_object* l_Lean_Parser_scientificLit; static lean_object* l_Lean_Parser_Term_doubleQuotedName___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_completion___elambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__21; static lean_object* l_Lean_Parser_Term_macroDollarArg___elambda__1___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Term_binop_formatter___closed__2; static lean_object* l_Lean_Parser_Term_type___closed__6; @@ -718,7 +710,6 @@ static lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_doubleQuotedName_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_explicitBinder_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_conv_quot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_quotedName___closed__3; static lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_subst___closed__6; @@ -826,7 +817,6 @@ lean_object* l_Lean_Parser_Term_nomatch_parenthesizer(lean_object*, lean_object* static lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__8; lean_object* l_Lean_Parser_Term_optExprPrecedence_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_pipeProj_formatter___closed__3; -lean_object* l_Lean_Parser_Term_conv_quot; static lean_object* l_Lean_Parser_Term_scoped_formatter___closed__3; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__11; static lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__11; @@ -843,7 +833,6 @@ static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed_ static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_ellipsis___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__7; static lean_object* l_Lean_Parser_Term_inaccessible_formatter___closed__3; lean_object* l_Lean_Parser_Term_typeOf; static lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__9; @@ -853,7 +842,6 @@ static lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_strictImplicitRightBracket_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_let__delayed_parenthesizer(lean_object*); -static lean_object* l_Lean_Parser_Term_conv_quot___closed__1; lean_object* l_Lean_Parser_Term_attributes_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_letRecDecls; @@ -942,6 +930,7 @@ lean_object* l_Lean_Parser_Command_docComment_formatter(lean_object*, lean_objec static lean_object* l_Lean_Parser_Command_docComment___closed__7; static lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__16; static lean_object* l_Lean_Parser_Term_let___elambda__1___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__22; static lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_optEllipsis___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_assert_parenthesizer___closed__3; @@ -1003,7 +992,6 @@ static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket_formatter___clo static lean_object* l_Lean_Parser_Term_nomatch___closed__7; static lean_object* l_Lean_Parser_Term_byTactic_formatter___closed__2; static lean_object* l_Lean_Parser_Term_forInMacro___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__33; static lean_object* l___regBuiltin_Lean_Parser_Term_explicit_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__17; static lean_object* l_Lean_Parser_Term_generalizingParam_parenthesizer___closed__6; @@ -1041,6 +1029,7 @@ static lean_object* l_Lean_Parser_Term_hole___closed__5; static lean_object* l_Lean_Parser_Term_optEllipsis___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_fun_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__29; static lean_object* l_Lean_Parser_Term_optType___closed__1; static lean_object* l_Lean_Parser_Term_local___closed__4; lean_object* l_Lean_Parser_Term_funBinder; @@ -1076,12 +1065,11 @@ static lean_object* l_Lean_Parser_Term_optExprPrecedence_formatter___closed__1; static lean_object* l_Lean_Parser_Term_sorry_formatter___closed__1; static lean_object* l_Lean_Parser_Term_forall_formatter___closed__12; lean_object* l_Lean_Parser_Term_binderType_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__23; -static lean_object* l_Lean_Parser_Term_conv_quot___closed__7; static lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__1; lean_object* l_Lean_Parser_Term_pipeCompletion_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_funBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__7; static lean_object* l_Lean_Parser_Term_structInstLVal___closed__9; static lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__5; @@ -1116,6 +1104,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_panic_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; lean_object* l_Lean_Parser_checkPrecFn___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_app_formatter___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__24; lean_object* l_Lean_Parser_Term_binop_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_anonymousCtor___closed__9; @@ -1164,7 +1153,6 @@ static lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_paren; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_anonymousCtor___closed__1; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_matchDiscr_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_namedPattern_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1182,13 +1170,13 @@ static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___close static lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot_formatter___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_typeOf_parenthesizer___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__13; static lean_object* l_Lean_Parser_Term_doubleQuotedName_formatter___closed__7; lean_object* l_Lean_Parser_Term_binderType(uint8_t); lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawCh_parenthesizer___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_pipeCompletion___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_letDecl___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__16; static lean_object* l_Lean_Parser_Term_binrel___closed__9; static lean_object* l_Lean_Parser_Term_optIdent___closed__2; lean_object* l_Lean_Parser_Term_structInstLVal_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1409,7 +1397,6 @@ static lean_object* l_Lean_Parser_Term_haveIdDecl___closed__8; static lean_object* l_Lean_Parser_Term_structInstLVal___closed__5; lean_object* l_Lean_Parser_Term_funSimpleBinder_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__20; static lean_object* l_Lean_Parser_Term_structInstArrayRef_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1445,10 +1432,8 @@ static lean_object* l_Lean_Parser_Term_structInstField___elambda__1___closed__12 static lean_object* l_Lean_Parser_Term_funBinder_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_explicitUniv_formatter___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_formatter___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__32; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_quot(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_have_formatter___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__10; lean_object* l_Lean_Parser_Term_bracketedBinder_quot; static lean_object* l___regBuiltin_Lean_Parser_Term_let__delayed_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_trueVal___closed__1; @@ -1470,6 +1455,7 @@ static lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__22; static lean_object* l_Lean_Parser_Term_let__fun___closed__7; static lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_trailing__parser___closed__9; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__30; static lean_object* l_Lean_Parser_Term_byTactic_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_assert_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__4; @@ -1501,6 +1487,7 @@ static lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_stateRefT_parenthesizer(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__18; static lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__13; lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_formatter___closed__5; @@ -1526,7 +1513,6 @@ lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1(lean_object*, static lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_matchDiscr_quot_formatter___closed__5; static lean_object* l_Lean_Parser_Term_letDecl___closed__13; -lean_object* l_Lean_Parser_Term_conv_quot___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_noindex___closed__8; static lean_object* l_Lean_Parser_Term_matchDiscr_quot_formatter___closed__3; static lean_object* l_Lean_Parser_Term_dbgTrace___closed__9; @@ -1550,6 +1536,7 @@ static lean_object* l_Lean_Parser_Term_sorry___closed__7; static lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_let__fun_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__15; lean_object* l_Lean_Parser_Term_sorry_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__4; @@ -1582,7 +1569,6 @@ static lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_quotSeq_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_num___closed__2; -lean_object* l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_noImplicitLambda_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_argument_formatter___closed__5; @@ -1626,7 +1612,6 @@ static lean_object* l_Lean_Parser_Term_matchDiscr_formatter___closed__7; lean_object* l_Lean_Parser_Term_typeAscription; static lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_simpleBinder___closed__4; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__4; static lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__2; static lean_object* l_Lean_Parser_Tactic_seq1_formatter___closed__1; @@ -1662,7 +1647,6 @@ static lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__23; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__2; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__21; static lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__12; -static lean_object* l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_subst_formatter___closed__2; static lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_arrow; @@ -1696,8 +1680,8 @@ static lean_object* l_Lean_Parser_Term_scientific___closed__3; lean_object* l_Lean_Parser_Term_noImplicitLambda_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_type___elambda__1___closed__18; static lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__26; lean_object* l___regBuiltin_Lean_Parser_Term_stateRefT_formatter(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__28; lean_object* l___regBuiltinParser_Lean_Parser_Term_completion(lean_object*); lean_object* l_Lean_Parser_Term_falseVal_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__21; @@ -1726,6 +1710,7 @@ static lean_object* l_Lean_Parser_Term_structInst___closed__8; static lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__6; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__8; static lean_object* l_Lean_Parser_Term_show___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__14; static lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_type___elambda__1___closed__30; @@ -1734,7 +1719,6 @@ static lean_object* l_Lean_Parser_Term_noindex___closed__4; static lean_object* l_Lean_Parser_Term_noindex_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__16; static lean_object* l_Lean_Parser_Term_attrKind___elambda__1___closed__11; -lean_object* l_Lean_Parser_Term_conv_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_match_formatter___closed__8; static lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_funBinder___elambda__1___closed__2; @@ -1754,6 +1738,7 @@ lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__1___boxed(l static lean_object* l_Lean_Parser_Term_assert_parenthesizer___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_letrec_formatter(lean_object*); lean_object* l_Lean_Parser_Command_commentBody_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_suffices_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__3; @@ -1767,7 +1752,6 @@ lean_object* l_Lean_Parser_Term_pipeCompletion_formatter(lean_object*, lean_obje static lean_object* l_Lean_Parser_Term_assert___closed__1; static lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_sufficesDecl___closed__3; -lean_object* l___regBuiltin_Lean_Parser_Term_conv_quot_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_whereDecls___closed__8; @@ -1877,7 +1861,6 @@ static lean_object* l_Lean_Parser_Term_quotedName_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__3; lean_object* l_Lean_Parser_Term_simpleBinderWithoutType_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__12; static lean_object* l_Lean_Parser_Term_falseVal___closed__4; lean_object* l_Lean_Parser_Term_letDecl; lean_object* l_Lean_Parser_scientificLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1900,7 +1883,6 @@ static lean_object* l_Lean_Parser_Term_explicitUniv___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_ensureTypeOf(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo(lean_object*, uint8_t); static lean_object* l_Lean_Parser_Term_arrayRef___closed__7; -static lean_object* l_Lean_Parser_Term_conv_quot___closed__10; static lean_object* l_Lean_Parser_Term_namedArgument_formatter___closed__4; static lean_object* l_Lean_Parser_Term_typeOf_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_parenthesizer(lean_object*); @@ -1912,7 +1894,6 @@ static lean_object* l_Lean_Parser_Term_scoped_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_strictImplicitBinder___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot___closed__3; -static lean_object* l_Lean_Parser_Term_conv_quot_formatter___closed__7; static lean_object* l_Lean_Parser_Term_bracketedBinder_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_attrKind___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_leading__parser_parenthesizer___closed__6; @@ -1922,6 +1903,7 @@ static lean_object* l_Lean_Parser_Term_argument_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_let__delayed_formatter___closed__2; static lean_object* l_Lean_Parser_Term_ellipsis___closed__2; static lean_object* l_Lean_Parser_Term_cdot_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__3; static lean_object* l_Lean_Parser_Term_cdot___closed__9; lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Level_quot_parenthesizer___closed__3; @@ -1949,7 +1931,6 @@ static lean_object* l_Lean_Parser_Term_attrInstance___closed__8; static lean_object* l_Lean_Parser_Term_structInstField___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__7; lean_object* l_Lean_Parser_nodeWithAntiquot_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_initFn____x40_Lean_Parser_Term___hyg_2440____closed__15; lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_parenthesizer___closed__1; lean_object* l_Lean_Parser_sepBy(lean_object*, lean_object*, lean_object*, uint8_t); @@ -1985,7 +1966,6 @@ static lean_object* l_Lean_Parser_Term_let___closed__6; static lean_object* l_Lean_Parser_Term_whereDecls___closed__5; static lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__45; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__18; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_whereDecls_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_sorry___closed__3; @@ -2034,7 +2014,6 @@ static lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_depArrow___closed__9; static lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__30; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__28; lean_object* l_Lean_PrettyPrinter_Formatter_visitAtom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_parenthesizer___closed__1; @@ -2049,7 +2028,6 @@ static lean_object* l_Lean_Parser_Term_stateRefT___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Level_quot_formatter___closed__1; static lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_show_parenthesizer___closed__2; -lean_object* l___regBuiltinParser_Lean_Parser_Term_conv_quot(lean_object*); lean_object* l_Lean_Parser_Term_macroArg_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_explicit_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__7; @@ -2153,6 +2131,7 @@ static lean_object* l_Lean_Parser_Term_fun___closed__1; static lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_sorry___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__12; static lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Term_binrel_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__3; @@ -2178,6 +2157,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_ob static lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_formatter___closed__1; static lean_object* l_Lean_Parser_Term_forInMacro___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__9; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__10; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_forInMacro___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__13; @@ -2215,16 +2195,17 @@ lean_object* l_Lean_Parser_Term_implicitBinder_parenthesizer(uint8_t, lean_objec static lean_object* l_Lean_Parser_convParser___closed__2; static lean_object* l_Lean_Parser_Term_haveIdLhs___closed__1; static lean_object* l_Lean_Parser_Term_attrKind___elambda__1___closed__8; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__20; static lean_object* l_Lean_Parser_Term_structInstField___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_tupleTail_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_quot_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_funImplicitBinder_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__16; extern lean_object* l_Lean_Parser_argPrec; static lean_object* l_Lean_Parser_Term_fromTerm_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_letRecDecls_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__32; static lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__3; lean_object* l_Lean_Parser_Term_fun_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_typeOf___closed__8; @@ -2389,7 +2370,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter static lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__23; static lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_quotedName___elambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__3; static lean_object* l_Lean_Parser_Term_binop___closed__6; lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstField_parenthesizer___closed__3; @@ -2460,7 +2440,6 @@ static lean_object* l_Lean_Parser_Term_doubleQuotedName___elambda__1___closed__1 static lean_object* l_Lean_Parser_Term_local_formatter___closed__1; lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_argument___elambda__1___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__28; lean_object* l_Lean_Parser_Term_namedArgument___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_forInMacro___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_type_formatter___closed__2; @@ -2513,7 +2492,6 @@ static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_49____clo lean_object* l_Lean_Parser_attrParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_anonymousCtor(lean_object*); static lean_object* l_Lean_Parser_Term_generalizingParam___elambda__1___closed__9; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__13; static lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_formatter___closed__2; @@ -2562,10 +2540,10 @@ static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__26; static lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_structInstField___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_sorry_parenthesizer(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__26; static lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_pipeProj_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_proj___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__5; lean_object* l_Lean_Parser_Term_funBinder_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_haveEqnsDecl___closed__5; @@ -2576,7 +2554,6 @@ static lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_type_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_implicitBinder(uint8_t); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__14; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__16; lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__1; @@ -2603,17 +2580,14 @@ static lean_object* l_Lean_Parser_Term_binderDefault_formatter___closed__2; static lean_object* l_Lean_Parser_Term_binop___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_binrel___elambda__1___closed__2; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_binop___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_trailing__parser_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_leading__parser___closed__9; lean_object* l_Lean_Parser_interpolatedStr(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__4; static lean_object* l_Lean_Parser_Term_letPatDecl___closed__7; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__1; -static lean_object* l_Lean_Parser_Term_conv_quot_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__24; static lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_explicitBinder___boxed(lean_object*); @@ -2638,10 +2612,8 @@ lean_object* l_Lean_Parser_Term_let__fun___elambda__1(lean_object*, lean_object* static lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_formatter___closed__1; static lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_argument___elambda__1___closed__2; -static lean_object* l_Lean_Parser_Term_conv_quot_formatter___closed__5; static lean_object* l_Lean_Parser_Term_letDecl___closed__9; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__21; -static lean_object* l___regBuiltin_Lean_Parser_Term_conv_quot_formatter___closed__2; static lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__4; static lean_object* l_Lean_Parser_Term_funBinder_quot_parenthesizer___closed__4; @@ -2650,7 +2622,6 @@ static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__2; lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_doubleQuotedName_formatter___closed__1; static lean_object* l_Lean_Parser_Term_nomatch___closed__8; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__27; static lean_object* l_Lean_Parser_Term_stateRefT_formatter___closed__2; static lean_object* l_Lean_Parser_Term_str___closed__2; static lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__1; @@ -2661,7 +2632,6 @@ lean_object* l_Lean_Parser_tacticParser_parenthesizer(lean_object*, lean_object* static lean_object* l_Lean_Parser_Term_binderTactic___closed__1; static lean_object* l_Lean_Parser_Term_sufficesDecl___closed__9; lean_object* l_Lean_Parser_Command_commentBody___elambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__31; static lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_char_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2733,6 +2703,7 @@ static lean_object* l_Lean_Parser_Term_bracketedBinder_quot_parenthesizer___clos static lean_object* l___regBuiltin_Lean_Parser_Term_show_formatter___closed__2; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___boxed(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__35; lean_object* l_Lean_Parser_Term_app_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_explicitBinder(uint8_t); static lean_object* l_Lean_Parser_Term_type___closed__1; @@ -2747,7 +2718,6 @@ static lean_object* l_Lean_Parser_Term_borrowed_formatter___closed__1; static lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_noImplicitLambda___closed__5; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__2; -static lean_object* l_Lean_Parser_Term_conv_quot_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_simpleBinder_formatter___closed__1; static lean_object* l_Lean_Parser_Term_dbgTrace_formatter___closed__4; static lean_object* l_Lean_Parser_Term_optEllipsis___closed__5; @@ -3003,13 +2973,11 @@ static lean_object* l_Lean_Parser_Term_letIdLhs___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_withPosition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltinParser_Lean_Parser_Term_str___closed__1; static lean_object* l_Lean_Parser_Term_sort___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__17; static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__4; static lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_structInst_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket___elambda__1___closed__3; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_sorry___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_unreachable_parenthesizer___closed__3; @@ -3119,7 +3087,6 @@ static lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_show___elambda__1___closed__10; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__8; static lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__3; static lean_object* l_Lean_Parser_Term_haveEqnsDecl___closed__2; static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__20; @@ -3154,7 +3121,6 @@ static lean_object* l_Lean_Parser_Term_letDecl___closed__1; static lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__5; static lean_object* l_Lean_Parser_Term_forall_formatter___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Term_explicit_formatter___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__9; static lean_object* l_Lean_Parser_Term_argument_formatter___closed__1; static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__22; @@ -3182,7 +3148,6 @@ static lean_object* l_Lean_Parser_Term_haveIdDecl_formatter___closed__4; static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__19; static lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__20; static lean_object* l_Lean_Parser_Term_local___elambda__1___closed__13; -static lean_object* l_Lean_Parser_Term_conv_quot_formatter___closed__6; static lean_object* l_Lean_Parser_Tactic_seq1___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_namedArgument___closed__8; lean_object* l_Lean_Parser_Term_fromTerm_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3227,7 +3192,6 @@ static lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_tupleTail; lean_object* l_Lean_Parser_Term_macroArg; static lean_object* l_Lean_Parser_Term_typeAscription___closed__5; -lean_object* l_Lean_Parser_convParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_generalizingParam___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_let__fun_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_strictImplicitBinder_parenthesizer___closed__3; @@ -3293,7 +3257,6 @@ static lean_object* l_Lean_Parser_Term_funBinder_quot___closed__7; static lean_object* l_Lean_Parser_Term_binderTactic___closed__8; static lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__4; static lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__21; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_match_formatter___closed__2; static lean_object* l_Lean_Parser_Term_anonymousCtor_formatter___closed__6; static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket___closed__5; @@ -3335,7 +3298,6 @@ lean_object* l___regBuiltin_Lean_Parser_Term_sort_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__11; -static lean_object* l_Lean_Parser_Term_conv_quot_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_typeOf_formatter___closed__1; static lean_object* l_Lean_Parser_Term_falseVal_formatter___closed__2; @@ -3381,9 +3343,9 @@ static lean_object* l_Lean_Parser_Term_syntheticHole___closed__8; static lean_object* l_Lean_Parser_Term_panic___closed__1; static lean_object* l_Lean_Parser_Term_attrKind___closed__2; static lean_object* l_Lean_Parser_Term_structInstLVal___closed__4; -static lean_object* l___regBuiltin_Lean_Parser_Term_conv_quot_formatter___closed__1; lean_object* l_Lean_Parser_Term_macroArg_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAlt(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__9; lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__3; @@ -3391,6 +3353,7 @@ static lean_object* l_Lean_Parser_Term_falseVal___closed__1; static lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_optEllipsis_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__27; lean_object* l_Lean_Parser_Term_binderDefault___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_nomatch___closed__2; static lean_object* l_Lean_Parser_Term_haveDecl___closed__1; @@ -3431,6 +3394,7 @@ static lean_object* l_Lean_Parser_Term_let__delayed___closed__3; static lean_object* l_Lean_Parser_Term_sort___closed__6; static lean_object* l_Lean_Parser_Term_funBinder_quot_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__4; static lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__19; static lean_object* l_Lean_Parser_Command_docComment_formatter___closed__3; lean_object* l_Lean_Parser_Term_simpleBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3467,7 +3431,6 @@ static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___elambda__1___clos static lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_suffices_formatter___closed__8; static lean_object* l_Lean_Parser_Term_type___elambda__1___closed__8; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__35; static lean_object* l_Lean_Parser_Term_let__fun_formatter___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_subst(lean_object*); static lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__9; @@ -3483,6 +3446,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_pipeProj(lean_object*); static lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_instBinder___closed__8; static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__31; static lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1___closed__2; static lean_object* l_Lean_Parser_darrow___closed__1; lean_object* l_Lean_Parser_Term_letrec___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -3526,7 +3490,6 @@ static lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__20; static lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__7; -lean_object* l_Lean_Parser_convParser_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_let___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__3; @@ -3610,7 +3573,6 @@ lean_object* l_Lean_PrettyPrinter_Formatter_incQuotDepth_formatter(lean_object*, static lean_object* l_Lean_Parser_Term_binrel___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_noindex_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__15; -static lean_object* l_Lean_Parser_Term_conv_quot_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_suffices_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___closed__2; static lean_object* l_Lean_Parser_Term_falseVal___elambda__1___closed__1; @@ -3720,7 +3682,6 @@ static lean_object* l_Lean_Parser_Term_explicit_formatter___closed__1; static lean_object* l_Lean_Parser_Term_match___closed__9; static lean_object* l_Lean_Parser_Term_tupleTail___closed__5; lean_object* l_Lean_Parser_charLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Term_conv_quot___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_syntheticHole_formatter___closed__1; static lean_object* l_Lean_Parser_Term_generalizingParam___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__8; @@ -3803,7 +3764,6 @@ static lean_object* l_Lean_Parser_Term_forall_formatter___closed__3; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__5; static lean_object* l_Lean_Parser_Term_letrec___closed__5; static lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__6; -static lean_object* l_Lean_Parser_Term_conv_quot___closed__4; static lean_object* l_Lean_Parser_Term_instBinder_formatter___closed__2; static lean_object* l_Lean_Parser_Term_let_formatter___closed__3; static lean_object* l_Lean_Parser_Term_matchAlt_parenthesizer___closed__2; @@ -3818,6 +3778,7 @@ static lean_object* l_Lean_Parser_Term_letRecDecl_formatter___closed__4; lean_object* l_Lean_Parser_Term_forInMacro___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_pipeCompletion___closed__1; static lean_object* l_Lean_Parser_Term_letDecl_parenthesizer___closed__8; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__17; static lean_object* l_Lean_Parser_Term_subst___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_haveIdDecl___closed__1; static lean_object* l_Lean_Parser_Term_doubleQuotedName___elambda__1___closed__12; @@ -3847,7 +3808,6 @@ static lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___close static lean_object* l_Lean_Parser_Term_explicit_formatter___closed__2; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__20; static lean_object* l_Lean_Parser_Term_attrKind_parenthesizer___closed__3; -static lean_object* l_Lean_Parser_Term_conv_quot_formatter___closed__3; static lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_match___closed__8; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__9; @@ -3950,6 +3910,7 @@ static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_letRecDecls___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__14; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__6; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__6; static lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_letIdDecl___closed__2; @@ -3992,11 +3953,11 @@ lean_object* l___regBuiltin_Lean_Parser_Term_arrow_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__2; static lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__1; static lean_object* l_Lean_Parser_Term_ellipsis_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__34; static lean_object* l___regBuiltin_Lean_Parser_Term_arrow_formatter___closed__2; lean_object* l_Lean_Parser_levelParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letRecDecls___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_syntheticHole___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__2; lean_object* l_Lean_Parser_darrow___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_doubleQuotedName___closed__4; @@ -4049,7 +4010,6 @@ static lean_object* l_Lean_Parser_Term_macroDollarArg___closed__9; static lean_object* l_Lean_Parser_Term_dynamicQuot___closed__13; lean_object* l___regBuiltinParser_Lean_Parser_Term_scientific(lean_object*); static lean_object* l_Lean_Parser_Term_app___closed__1; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_have_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_funSimpleBinder___closed__1; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__1; @@ -4076,13 +4036,11 @@ lean_object* l_Lean_ppSpace_formatter___boxed(lean_object*, lean_object*, lean_o static lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_stateRefT_formatter___closed__5; -static lean_object* l_Lean_Parser_Term_conv_quot_formatter___closed__1; lean_object* l_Lean_Parser_Term_haveIdLhs___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_docComment_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_arrow_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_binderTactic_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_optSemicolon___elambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Term_conv_quot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_letIdDecl___closed__1; static lean_object* l_Lean_Parser_Term_funBinder_quot_formatter___closed__5; @@ -4114,7 +4072,6 @@ static lean_object* l_Lean_Parser_Term_binrel_formatter___closed__3; static lean_object* l_Lean_Parser_Term_type_formatter___closed__3; static lean_object* l_Lean_Parser_Term_binderDefault___elambda__1___closed__2; lean_object* l_String_trim(lean_object*); -static lean_object* l_Lean_Parser_Term_conv_quot_formatter___closed__2; static lean_object* l_Lean_Parser_Term_ellipsis_formatter___closed__2; lean_object* l_Lean_Parser_Command_commentBody_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_namedArgument_formatter___closed__5; @@ -4163,7 +4120,6 @@ static lean_object* l_Lean_Parser_Term_panic___closed__3; static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__25; static lean_object* l___regBuiltin_Lean_Parser_Term_num_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_nomatch_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Term_conv_quot_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Term_namedPattern_formatter___closed__1; static lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__8; static lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__4; @@ -4224,7 +4180,6 @@ static lean_object* l_Lean_Parser_Term_local___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_doubleQuotedName_parenthesizer___closed__3___boxed__const__1; static lean_object* l_Lean_Parser_Term_falseVal___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__36; static lean_object* l_Lean_Parser_Term_let__delayed___closed__5; static lean_object* l_Lean_Parser_Term_borrowed___closed__6; static lean_object* l_Lean_Parser_Term_binop___closed__5; @@ -4266,7 +4221,6 @@ static lean_object* l_Lean_Parser_Term_letRecDecls___closed__4; static lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__44; static lean_object* l_Lean_Parser_Term_binop___elambda__1___closed__2; -lean_object* l_Lean_Parser_convParser_formatter___boxed(lean_object*); static lean_object* l_Lean_Parser_Term_unreachable_formatter___closed__1; static lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__2; static lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__13; @@ -4301,6 +4255,7 @@ static lean_object* l_Lean_Parser_Term_generalizingParam_parenthesizer___closed_ static lean_object* l___regBuiltin_Lean_Parser_Term_trailing__parser_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_optEllipsis___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__11; static lean_object* l_Lean_Parser_Term_binrel___closed__11; lean_object* l___regBuiltin_Lean_Parser_Term_num_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__14; @@ -4319,7 +4274,6 @@ static lean_object* l_Lean_Parser_Term_trailing__parser___elambda__1___closed__1 static lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_match___elambda__1___closed__20; static lean_object* l_Lean_Parser_Term_binrel_parenthesizer___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__25; static lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_attr_quot___closed__2; static lean_object* l_Lean_Parser_Term_binop___elambda__1___closed__8; @@ -4335,7 +4289,6 @@ static lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_optExprPrecedence_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_noImplicitLambda___closed__1; static lean_object* l_Lean_Parser_Term_sufficesDecl_formatter___closed__5; -static lean_object* l_Lean_Parser_Term_conv_quot_formatter___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__24; static lean_object* l_Lean_Parser_Term_structInstField_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1(lean_object*, lean_object*); @@ -4395,7 +4348,7 @@ static lean_object* l_Lean_Parser_Term_leading__parser___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__22; lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__13; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__29; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__1; static lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__6; static lean_object* l_Lean_Parser_Term_fun_formatter___closed__1; @@ -4523,7 +4476,7 @@ static lean_object* l_Lean_Parser_Term_pipeProj_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_attr_quot___closed__9; static lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_namedPattern___closed__2; -static lean_object* l_Lean_Parser_Term_conv_quot___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__19; static lean_object* l_Lean_Parser_Term_attrKind_formatter___closed__6; static lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4556,7 +4509,6 @@ static lean_object* l_Lean_Parser_Term_fun___closed__2; static lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Tactic_quotSeq_parenthesizer___closed__2; -static lean_object* l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_letPatDecl___closed__11; static lean_object* l_Lean_Parser_Term_subst___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__8; @@ -4601,7 +4553,6 @@ lean_object* l___regBuiltin_Lean_Parser_Term_str_formatter(lean_object*); lean_object* l_Lean_Parser_Term_subst_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Term_conv_quot___closed__6; static lean_object* l_Lean_Parser_Term_app___closed__2; static lean_object* l_Lean_Parser_Term_namedArgument_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_panic___closed__7; @@ -4630,7 +4581,6 @@ static lean_object* l_Lean_Parser_Term_trueVal_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_scientific___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_attr_quot___closed__8; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_binrel_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_funBinder_quot_formatter___closed__7; static lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__10; @@ -4733,7 +4683,6 @@ static lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_letDecl___closed__14; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_formatter___closed__9; static lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__6; lean_object* l_Lean_Parser_numLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_generalizingParam_parenthesizer___closed__1; lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*, lean_object*); @@ -4791,6 +4740,7 @@ static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_trailing__parser___closed__7; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_Parser_Term_bracketedBinder_formatter(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__2; static lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_binrel_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_generalizingParam___closed__8; @@ -4803,7 +4753,6 @@ lean_object* l_Lean_Parser_Term_trailing__parser_formatter(lean_object*, lean_ob static lean_object* l_Lean_Parser_Command_docComment_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_letDecl___closed__15; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__8; -lean_object* l_Lean_Parser_convParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_docComment___closed__6; static lean_object* l_Lean_Parser_Term_type___elambda__1___closed__29; @@ -4816,7 +4765,7 @@ static lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_trueVal___elambda__1___closed__6; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_49_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417_(lean_object*); static lean_object* l_Lean_Parser_Term_parenSpecial_formatter___closed__3; static lean_object* l_Lean_Parser_Term_have___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__5; @@ -4832,7 +4781,6 @@ static lean_object* l_Lean_Parser_Term_macroLastArg_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_haveIdDecl_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__34; static lean_object* l___regBuiltin_Lean_Parser_Term_arrayRef_formatter___closed__1; static lean_object* l_Lean_Parser_Term_simpleBinderWithoutType___closed__5; lean_object* l_Lean_Parser_Term_dbgTrace_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4887,7 +4835,6 @@ static lean_object* l_Lean_Parser_Term_byTactic___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_subst_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_attrKind___closed__5; static lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__13; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__17; lean_object* l___regBuiltin_Lean_Parser_Term_type_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___closed__5; static lean_object* l_Lean_Parser_Term_letDecl___closed__3; @@ -4897,6 +4844,7 @@ static lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__22; static lean_object* l_Lean_Parser_Term_letrec_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_binop_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_match___closed__10; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__8; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_49____closed__3; lean_object* l_Lean_Parser_symbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_forInMacro_parenthesizer___closed__3; @@ -4907,7 +4855,6 @@ static lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_attrInstance___closed__6; static lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_generalizingParam; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__8; static lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_let__fun; static lean_object* l_Lean_Parser_Term_dbgTrace_formatter___closed__8; @@ -4917,7 +4864,6 @@ static lean_object* l_Lean_Parser_Term_leading__parser___elambda__1___closed__14 static lean_object* l_Lean_Parser_Term_inaccessible_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_generalizingParam___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__1; static lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_matchDiscr_quot___closed__3; static lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1___closed__13; @@ -4969,7 +4915,6 @@ static lean_object* l_Lean_Parser_Term_sort___closed__7; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_formatter___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_forall_formatter___closed__2; static lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__10; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__19; static lean_object* l_Lean_Parser_Term_pipeProj___closed__1; static lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__6; static lean_object* l_Lean_Parser_Term_noImplicitLambda___closed__6; @@ -5038,7 +4983,6 @@ static lean_object* l_Lean_Parser_Term_trueVal_formatter___closed__1; static lean_object* l_Lean_Parser_Term_generalizingParam___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_leading__parser_formatter___closed__2; static lean_object* l_Lean_Parser_Tactic_quot_parenthesizer___closed__4; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__9; lean_object* l_Lean_Parser_many1(lean_object*); static lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_commentBody; @@ -5068,6 +5012,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_parenthesizer(lean_object* static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__22; static lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__36; lean_object* l_Lean_Parser_Level_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ppDedent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_doubleQuotedName_formatter___closed__6; @@ -5113,7 +5058,6 @@ static lean_object* l_Lean_Parser_Term_leading__parser_formatter___closed__4; lean_object* l_Lean_Parser_Term_letrec_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_let__delayed_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__5; -static lean_object* l_Lean_Parser_Term_conv_quot___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_fromTerm_formatter___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_show_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_inaccessible_parenthesizer___closed__3; @@ -5121,6 +5065,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_attr_quot_formatter___closed static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__22; static lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_match___elambda__1___closed__13; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__25; lean_object* l_Lean_Parser_termParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_attributes_formatter___closed__3; @@ -5171,7 +5116,6 @@ static lean_object* l_Lean_Parser_Term_matchDiscr_quot_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_bracketedBinder_quot_formatter___closed__2; static lean_object* l_Lean_Parser_Term_explicitBinder_formatter___closed__5; static lean_object* l_Lean_Parser_Term_namedArgument_formatter___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__11; static lean_object* l_Lean_Parser_Term_argument___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_binop_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_letrec_formatter___closed__8; @@ -66308,764 +66252,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_Term_conv_quot___elambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_byTactic___elambda__1___closed__2; -x_2 = l_Lean_Parser_convParser___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__2; -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__3; -x_2 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__3; -x_3 = 1; -x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("`(conv|"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__5; -x_2 = l_String_trim(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__6; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__7; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_convParser___closed__2; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__11; -x_2 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__9; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_addQuotDepthFn___boxed), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__10; -x_2 = l_Lean_Parser_Term_paren___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_Term_conv_quot___elambda__1___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__8; -x_2 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__11; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__12; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__13; -x_2 = l_Lean_Parser_Command_docComment___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_Term_conv_quot___elambda__1___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_docComment___elambda__1___closed__18; -x_2 = l_Lean_Parser_Term_conv_quot___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_Term_conv_quot___elambda__1___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__6; -x_2 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__6; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__16; -x_2 = l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__6; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Parser_Term_conv_quot___elambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__4; -x_4 = lean_ctor_get(x_3, 1); -lean_inc(x_4); -lean_inc(x_2); -lean_inc(x_1); -x_5 = l_Lean_Parser_tryAnti(x_1, x_2); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -lean_dec(x_4); -x_6 = lean_unsigned_to_nat(1024u); -x_7 = l_Lean_Parser_checkPrecFn(x_6, x_1, x_2); -x_8 = lean_ctor_get(x_7, 4); -lean_inc(x_8); -x_9 = lean_box(0); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); -lean_dec(x_8); -if (x_10 == 0) -{ -lean_dec(x_1); -return x_7; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_25; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -x_12 = lean_array_get_size(x_11); -lean_dec(x_11); -x_13 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__6; -x_14 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__17; -lean_inc(x_1); -x_15 = l_Lean_Parser_symbolFnAux(x_13, x_14, x_1, x_7); -x_16 = lean_ctor_get(x_15, 4); -lean_inc(x_16); -x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_9); -lean_dec(x_16); -if (x_17 == 0) -{ -x_25 = x_15; -goto block_43; -} -else -{ -lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_44 = lean_ctor_get(x_1, 4); -lean_inc(x_44); -x_45 = lean_unsigned_to_nat(0u); -x_46 = lean_nat_dec_eq(x_44, x_45); -lean_dec(x_44); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -lean_inc(x_1); -x_48 = l_Lean_Parser_Command_docComment___elambda__1___lambda__3(x_15, x_1, x_9, x_47); -x_25 = x_48; -goto block_43; -} -else -{ -x_25 = x_15; -goto block_43; -} -} -block_24: -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__2; -x_20 = l_Lean_Parser_ParserState_mkNode(x_18, x_19, x_12); -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_672____at_Lean_Parser_ParserState_hasError___spec__1(x_21, x_9); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_dec(x_1); -return x_20; -} -else -{ -lean_object* x_23; -x_23 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_20); -lean_dec(x_1); -return x_23; -} -} -block_43: -{ -lean_object* x_26; uint8_t x_27; -x_26 = lean_ctor_get(x_25, 4); -lean_inc(x_26); -x_27 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_26, x_9); -lean_dec(x_26); -if (x_27 == 0) -{ -x_18 = x_25; -goto block_24; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_28 = l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__11; -x_29 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__9; -lean_inc(x_1); -x_30 = l_Lean_Parser_addQuotDepthFn(x_28, x_29, x_1, x_25); -x_31 = lean_ctor_get(x_30, 4); -lean_inc(x_31); -x_32 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_31, x_9); -lean_dec(x_31); -if (x_32 == 0) -{ -x_18 = x_30; -goto block_24; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_33 = l_Lean_Parser_Term_paren___elambda__1___closed__15; -x_34 = l_Lean_Parser_Term_paren___elambda__1___closed__26; -lean_inc(x_1); -x_35 = l_Lean_Parser_symbolFnAux(x_33, x_34, x_1, x_30); -x_36 = lean_ctor_get(x_35, 4); -lean_inc(x_36); -x_37 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_36, x_9); -lean_dec(x_36); -if (x_37 == 0) -{ -x_18 = x_35; -goto block_24; -} -else -{ -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_ctor_get(x_1, 4); -lean_inc(x_38); -x_39 = lean_unsigned_to_nat(0u); -x_40 = lean_nat_dec_eq(x_38, x_39); -lean_dec(x_38); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_box(0); -lean_inc(x_1); -x_42 = l_Lean_Parser_Command_docComment___elambda__1___lambda__3(x_35, x_1, x_9, x_41); -x_18 = x_42; -goto block_24; -} -else -{ -x_18 = x_35; -goto block_24; -} -} -} -} -} -} -} -else -{ -lean_object* x_49; uint8_t x_50; lean_object* x_51; -x_49 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__15; -x_50 = 1; -x_51 = l_Lean_Parser_orelseFnCore(x_4, x_49, x_50, x_1, x_2); -return x_51; -} -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__6; -x_2 = l_Lean_Parser_symbolInfo(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_convParser___closed__2; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_categoryParser(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_conv_quot___closed__2; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_paren___closed__2; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot___closed__1; -x_2 = l_Lean_Parser_Term_conv_quot___closed__3; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_conv_quot___closed__4; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot___closed__5; -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_Term_conv_quot___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_Term_conv_quot___closed__6; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__4; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_conv_quot___closed__7; -x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_conv_quot___elambda__1), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot___closed__8; -x_2 = l_Lean_Parser_Term_conv_quot___closed__9; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Term_conv_quot___closed__10; -return x_1; -} -} -lean_object* l___regBuiltinParser_Lean_Parser_Term_conv_quot(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___regBuiltinParser_Lean_Parser_Term_byTactic___closed__2; -x_3 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__2; -x_4 = 1; -x_5 = l_Lean_Parser_Term_conv_quot; -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; -} -} -lean_object* l_Lean_Parser_convParser_formatter___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_6; lean_object* x_7; -x_6 = l_Lean_Parser_convParser___closed__2; -x_7 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(x_6, x_1, x_2, x_3, x_4, x_5); -return x_7; -} -} -lean_object* l_Lean_Parser_convParser_formatter(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_convParser_formatter___rarg), 5, 0); -return x_2; -} -} -lean_object* l_Lean_Parser_convParser_formatter___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Parser_convParser_formatter(x_1); -lean_dec(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot_formatter___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__3; -x_2 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__3; -x_3 = 1; -x_4 = lean_box(x_3); -x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); -lean_closure_set(x_5, 0, x_1); -lean_closure_set(x_5, 1, x_2); -lean_closure_set(x_5, 2, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot_formatter___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__5; -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_Term_conv_quot_formatter___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_convParser_formatter___rarg), 5, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot_formatter___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_conv_quot_formatter___closed__3; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_incQuotDepth_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot_formatter___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot_formatter___closed__4; -x_2 = l_Lean_Parser_Term_paren_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_Term_conv_quot_formatter___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot_formatter___closed__2; -x_2 = l_Lean_Parser_Term_conv_quot_formatter___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot_formatter___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_conv_quot_formatter___closed__6; -x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); -lean_closure_set(x_4, 0, x_1); -lean_closure_set(x_4, 1, x_2); -lean_closure_set(x_4, 2, x_3); -return x_4; -} -} -lean_object* l_Lean_Parser_Term_conv_quot_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_Parser_Term_conv_quot_formatter___closed__1; -x_7 = l_Lean_Parser_Term_conv_quot_formatter___closed__7; -x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Parser_Term_conv_quot_formatter___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__2; -x_2 = l___regBuiltin_Lean_Parser_Term_byTactic_formatter___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Parser_Term_conv_quot_formatter___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_conv_quot_formatter), 5, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Parser_Term_conv_quot_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_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Parser_Term_conv_quot_formatter___closed__1; -x_5 = l___regBuiltin_Lean_Parser_Term_conv_quot_formatter___closed__2; -x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); -return x_6; -} -} -lean_object* l_Lean_Parser_convParser_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Parser_convParser___closed__2; -x_8 = l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot_parenthesizer___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__3; -x_2 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__3; -x_3 = 1; -x_4 = lean_box(x_3); -x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); -lean_closure_set(x_5, 0, x_1); -lean_closure_set(x_5, 1, x_2); -lean_closure_set(x_5, 2, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot_parenthesizer___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__5; -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_Term_conv_quot_parenthesizer___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_convParser_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot_parenthesizer___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_conv_quot_parenthesizer___closed__3; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_incQuotDepth_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot_parenthesizer___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot_parenthesizer___closed__4; -x_2 = l_Lean_Parser_Term_paren_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_Term_conv_quot_parenthesizer___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Term_conv_quot_parenthesizer___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_conv_quot_parenthesizer___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_conv_quot_parenthesizer___closed__6; -x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); -lean_closure_set(x_4, 0, x_1); -lean_closure_set(x_4, 1, x_2); -lean_closure_set(x_4, 2, x_3); -return x_4; -} -} -lean_object* l_Lean_Parser_Term_conv_quot_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_Parser_Term_conv_quot_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_conv_quot_parenthesizer___closed__7; -x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__2; -x_2 = l___regBuiltin_Lean_Parser_Term_byTactic_parenthesizer___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_conv_quot_parenthesizer), 5, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Parser_Term_conv_quot_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_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Lean_Parser_Term_conv_quot___elambda__1___closed__2; -x_4 = l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer___closed__1; -x_5 = l___regBuiltin_Lean_Parser_Term_conv_quot_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_Term_panic___elambda__1___closed__1() { _start: { @@ -74346,7 +73532,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -74356,7 +73542,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -74366,7 +73552,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -74376,7 +73562,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -74386,7 +73572,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -74396,7 +73582,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -74406,7 +73592,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -74416,7 +73602,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -74426,7 +73612,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__9() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -74436,7 +73622,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__10() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -74446,7 +73632,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__11() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -74456,7 +73642,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__12() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -74466,7 +73652,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__13() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -74476,7 +73662,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__14() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -74486,7 +73672,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__15() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -74496,7 +73682,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__16() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__16() { _start: { lean_object* x_1; lean_object* x_2; @@ -74506,7 +73692,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__17() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -74516,7 +73702,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__18() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -74526,7 +73712,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__19() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -74536,7 +73722,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__20() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__20() { _start: { lean_object* x_1; lean_object* x_2; @@ -74546,7 +73732,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__21() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -74556,7 +73742,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__22() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -74566,7 +73752,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__23() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -74576,7 +73762,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__24() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -74586,7 +73772,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__25() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -74596,7 +73782,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__26() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -74606,7 +73792,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__27() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -74616,7 +73802,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__28() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -74626,7 +73812,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__29() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -74636,7 +73822,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__30() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__30() { _start: { lean_object* x_1; lean_object* x_2; @@ -74646,7 +73832,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__31() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__31() { _start: { lean_object* x_1; lean_object* x_2; @@ -74656,7 +73842,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__32() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__32() { _start: { lean_object* x_1; lean_object* x_2; @@ -74666,7 +73852,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__33() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -74676,7 +73862,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__34() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__34() { _start: { lean_object* x_1; lean_object* x_2; @@ -74686,7 +73872,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__35() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__35() { _start: { lean_object* x_1; lean_object* x_2; @@ -74696,7 +73882,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__36() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__36() { _start: { lean_object* x_1; lean_object* x_2; @@ -74706,13 +73892,13 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Parser_parserAliasesRef; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__1; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__1; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__2; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -74721,7 +73907,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); x_7 = l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; -x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__3; +x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__3; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_3, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -74730,7 +73916,7 @@ x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); x_11 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__4; +x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__4; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_3, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -74738,8 +73924,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__5; -x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__6; +x_15 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__5; +x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__6; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -74747,7 +73933,7 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__7; +x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__7; x_20 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_15, x_19, x_18); if (lean_obj_tag(x_20) == 0) { @@ -74755,7 +73941,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__8; +x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__8; x_23 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_15, x_22, x_21); if (lean_obj_tag(x_23) == 0) { @@ -74763,8 +73949,8 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__9; -x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__10; +x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__9; +x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__10; x_27 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_25, x_26, x_24); if (lean_obj_tag(x_27) == 0) { @@ -74772,7 +73958,7 @@ lean_object* x_28; lean_object* x_29; lean_object* x_30; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__11; +x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__11; x_30 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_25, x_29, x_28); if (lean_obj_tag(x_30) == 0) { @@ -74780,7 +73966,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); -x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__12; +x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__12; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_25, x_32, x_31); if (lean_obj_tag(x_33) == 0) { @@ -74788,8 +73974,8 @@ lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__13; -x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__14; +x_35 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__13; +x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__14; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -74797,7 +73983,7 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__15; +x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__15; x_40 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_35, x_39, x_38); if (lean_obj_tag(x_40) == 0) { @@ -74805,7 +73991,7 @@ lean_object* x_41; lean_object* x_42; lean_object* x_43; x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); -x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__16; +x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__16; x_43 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_35, x_42, x_41); if (lean_obj_tag(x_43) == 0) { @@ -74813,8 +73999,8 @@ lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); -x_45 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__17; -x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__18; +x_45 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__17; +x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__18; x_47 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_45, x_46, x_44); if (lean_obj_tag(x_47) == 0) { @@ -74822,7 +74008,7 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; x_48 = lean_ctor_get(x_47, 1); lean_inc(x_48); lean_dec(x_47); -x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__19; +x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__19; x_50 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_45, x_49, x_48); if (lean_obj_tag(x_50) == 0) { @@ -74830,7 +74016,7 @@ lean_object* x_51; lean_object* x_52; lean_object* x_53; x_51 = lean_ctor_get(x_50, 1); lean_inc(x_51); lean_dec(x_50); -x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__20; +x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__20; x_53 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_45, x_52, x_51); if (lean_obj_tag(x_53) == 0) { @@ -74838,8 +74024,8 @@ lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); lean_dec(x_53); -x_55 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__21; -x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__22; +x_55 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__21; +x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__22; x_57 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_55, x_56, x_54); if (lean_obj_tag(x_57) == 0) { @@ -74847,7 +74033,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__23; +x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__23; x_60 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_55, x_59, x_58); if (lean_obj_tag(x_60) == 0) { @@ -74855,7 +74041,7 @@ lean_object* x_61; lean_object* x_62; lean_object* x_63; x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); lean_dec(x_60); -x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__24; +x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__24; x_63 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_55, x_62, x_61); if (lean_obj_tag(x_63) == 0) { @@ -74863,8 +74049,8 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); lean_dec(x_63); -x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__25; -x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__26; +x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__25; +x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__26; x_67 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_65, x_66, x_64); if (lean_obj_tag(x_67) == 0) { @@ -74872,7 +74058,7 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); lean_dec(x_67); -x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__27; +x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__27; x_70 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_65, x_69, x_68); if (lean_obj_tag(x_70) == 0) { @@ -74880,7 +74066,7 @@ lean_object* x_71; lean_object* x_72; lean_object* x_73; x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); lean_dec(x_70); -x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__28; +x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__28; x_73 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_65, x_72, x_71); if (lean_obj_tag(x_73) == 0) { @@ -74888,8 +74074,8 @@ lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); -x_75 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__29; -x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__30; +x_75 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__29; +x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__30; x_77 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_75, x_76, x_74); if (lean_obj_tag(x_77) == 0) { @@ -74897,7 +74083,7 @@ lean_object* x_78; lean_object* x_79; lean_object* x_80; x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); lean_dec(x_77); -x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__31; +x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__31; x_80 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_75, x_79, x_78); if (lean_obj_tag(x_80) == 0) { @@ -74905,7 +74091,7 @@ lean_object* x_81; lean_object* x_82; lean_object* x_83; x_81 = lean_ctor_get(x_80, 1); lean_inc(x_81); lean_dec(x_80); -x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__32; +x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__32; x_83 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_75, x_82, x_81); if (lean_obj_tag(x_83) == 0) { @@ -74913,8 +74099,8 @@ lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; x_84 = lean_ctor_get(x_83, 1); lean_inc(x_84); lean_dec(x_83); -x_85 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__33; -x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__34; +x_85 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__33; +x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__34; x_87 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_85, x_86, x_84); if (lean_obj_tag(x_87) == 0) { @@ -74922,7 +74108,7 @@ lean_object* x_88; lean_object* x_89; lean_object* x_90; x_88 = lean_ctor_get(x_87, 1); lean_inc(x_88); lean_dec(x_87); -x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__35; +x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__35; x_90 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_85, x_89, x_88); if (lean_obj_tag(x_90) == 0) { @@ -74930,7 +74116,7 @@ lean_object* x_91; lean_object* x_92; lean_object* x_93; x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); lean_dec(x_90); -x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__36; +x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__36; x_93 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_85, x_92, x_91); return x_93; } @@ -83688,107 +82874,6 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_attr_quot_parenthesizer___c res = l___regBuiltin_Lean_Parser_Term_attr_quot_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__1 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__1); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__2 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__2); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__3 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__3); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__4 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__4(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__4); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__5 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__5(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__5); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__6 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__6(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__6); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__7 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__7(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__7); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__8 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__8(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__8); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__9 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__9(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__9); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__10 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__10(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__10); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__11 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__11(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__11); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__12 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__12(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__12); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__13 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__13(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__13); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__14 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__14(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__14); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__15 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__15(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__15); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__16 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__16(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__16); -l_Lean_Parser_Term_conv_quot___elambda__1___closed__17 = _init_l_Lean_Parser_Term_conv_quot___elambda__1___closed__17(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___elambda__1___closed__17); -l_Lean_Parser_Term_conv_quot___closed__1 = _init_l_Lean_Parser_Term_conv_quot___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___closed__1); -l_Lean_Parser_Term_conv_quot___closed__2 = _init_l_Lean_Parser_Term_conv_quot___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___closed__2); -l_Lean_Parser_Term_conv_quot___closed__3 = _init_l_Lean_Parser_Term_conv_quot___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___closed__3); -l_Lean_Parser_Term_conv_quot___closed__4 = _init_l_Lean_Parser_Term_conv_quot___closed__4(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___closed__4); -l_Lean_Parser_Term_conv_quot___closed__5 = _init_l_Lean_Parser_Term_conv_quot___closed__5(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___closed__5); -l_Lean_Parser_Term_conv_quot___closed__6 = _init_l_Lean_Parser_Term_conv_quot___closed__6(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___closed__6); -l_Lean_Parser_Term_conv_quot___closed__7 = _init_l_Lean_Parser_Term_conv_quot___closed__7(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___closed__7); -l_Lean_Parser_Term_conv_quot___closed__8 = _init_l_Lean_Parser_Term_conv_quot___closed__8(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___closed__8); -l_Lean_Parser_Term_conv_quot___closed__9 = _init_l_Lean_Parser_Term_conv_quot___closed__9(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___closed__9); -l_Lean_Parser_Term_conv_quot___closed__10 = _init_l_Lean_Parser_Term_conv_quot___closed__10(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot___closed__10); -l_Lean_Parser_Term_conv_quot = _init_l_Lean_Parser_Term_conv_quot(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot); -res = l___regBuiltinParser_Lean_Parser_Term_conv_quot(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Parser_Term_conv_quot_formatter___closed__1 = _init_l_Lean_Parser_Term_conv_quot_formatter___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_formatter___closed__1); -l_Lean_Parser_Term_conv_quot_formatter___closed__2 = _init_l_Lean_Parser_Term_conv_quot_formatter___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_formatter___closed__2); -l_Lean_Parser_Term_conv_quot_formatter___closed__3 = _init_l_Lean_Parser_Term_conv_quot_formatter___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_formatter___closed__3); -l_Lean_Parser_Term_conv_quot_formatter___closed__4 = _init_l_Lean_Parser_Term_conv_quot_formatter___closed__4(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_formatter___closed__4); -l_Lean_Parser_Term_conv_quot_formatter___closed__5 = _init_l_Lean_Parser_Term_conv_quot_formatter___closed__5(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_formatter___closed__5); -l_Lean_Parser_Term_conv_quot_formatter___closed__6 = _init_l_Lean_Parser_Term_conv_quot_formatter___closed__6(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_formatter___closed__6); -l_Lean_Parser_Term_conv_quot_formatter___closed__7 = _init_l_Lean_Parser_Term_conv_quot_formatter___closed__7(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_formatter___closed__7); -l___regBuiltin_Lean_Parser_Term_conv_quot_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_conv_quot_formatter___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_conv_quot_formatter___closed__1); -l___regBuiltin_Lean_Parser_Term_conv_quot_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_conv_quot_formatter___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_conv_quot_formatter___closed__2); -res = l___regBuiltin_Lean_Parser_Term_conv_quot_formatter(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Parser_Term_conv_quot_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_conv_quot_parenthesizer___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_parenthesizer___closed__1); -l_Lean_Parser_Term_conv_quot_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_conv_quot_parenthesizer___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_parenthesizer___closed__2); -l_Lean_Parser_Term_conv_quot_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_conv_quot_parenthesizer___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_parenthesizer___closed__3); -l_Lean_Parser_Term_conv_quot_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_conv_quot_parenthesizer___closed__4(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_parenthesizer___closed__4); -l_Lean_Parser_Term_conv_quot_parenthesizer___closed__5 = _init_l_Lean_Parser_Term_conv_quot_parenthesizer___closed__5(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_parenthesizer___closed__5); -l_Lean_Parser_Term_conv_quot_parenthesizer___closed__6 = _init_l_Lean_Parser_Term_conv_quot_parenthesizer___closed__6(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_parenthesizer___closed__6); -l_Lean_Parser_Term_conv_quot_parenthesizer___closed__7 = _init_l_Lean_Parser_Term_conv_quot_parenthesizer___closed__7(); -lean_mark_persistent(l_Lean_Parser_Term_conv_quot_parenthesizer___closed__7); -l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer___closed__1); -l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer___closed__2); -res = l___regBuiltin_Lean_Parser_Term_conv_quot_parenthesizer(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); l_Lean_Parser_Term_panic___elambda__1___closed__1 = _init_l_Lean_Parser_Term_panic___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_panic___elambda__1___closed__1); l_Lean_Parser_Term_panic___elambda__1___closed__2 = _init_l_Lean_Parser_Term_panic___elambda__1___closed__2(); @@ -84704,79 +83789,79 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Level_quot_parenthesizer___close res = l___regBuiltin_Lean_Parser_Level_quot_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__8); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__9(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__9); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__10(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__10); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__11(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__11); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__12(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__12); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__13(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__13); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__14(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__14); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__15(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__16(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__16); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__17(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__17); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__18(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__18); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__19(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__19); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__20(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__20); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__21(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__21); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__22(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__22); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__23(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__23); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__24(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__24); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__25(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__25); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__26(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__26); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__27(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__27); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__28(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__28); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__29(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__29); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__30(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__30); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__31(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__31); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__32(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__32); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__33(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__33); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__34(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__34); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__35(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__35); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__36(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440____closed__36); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2440_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__9(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__9); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__10(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__10); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__11(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__11); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__12(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__12); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__13(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__13); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__14(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__14); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__15(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__15); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__16(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__16); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__17(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__17); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__18(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__18); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__19(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__19); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__20(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__20); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__21(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__21); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__22(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__22); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__23(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__23); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__24(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__24); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__25(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__25); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__26(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__26); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__27(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__27); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__28(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__28); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__29(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__29); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__30(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__30); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__31(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__31); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__32(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__32); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__33(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__33); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__34(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__34); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__35(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__35); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__36(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__36); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/PrettyPrinter.c b/stage0/stdlib/Lean/PrettyPrinter.c index 5a92750c45..8a41d06a29 100644 --- a/stage0/stdlib/Lean/PrettyPrinter.c +++ b/stage0/stdlib/Lean/PrettyPrinter.c @@ -44,6 +44,7 @@ static lean_object* l_Lean_PPContext_runMetaM___rarg___closed__4; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_PrettyPrinter_0__Lean_PrettyPrinter_noContext___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_PrettyPrinter_0__Lean_PrettyPrinter_withoutContext___rarg(lean_object*, lean_object*); static lean_object* l_Lean_PPContext_runMetaM___rarg___closed__9; extern lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; @@ -113,7 +114,6 @@ lean_object* l___private_Lean_PrettyPrinter_0__Lean_PrettyPrinter_withoutContext lean_object* l_Lean_Parser_Module_module_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserCompiler_registerParserCompiler___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instBEqExpr; lean_object* l___private_Lean_PrettyPrinter_0__Lean_PrettyPrinter_withoutContext___at_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter___hyg_329____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1910,16 +1910,13 @@ return x_6; lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter___hyg_329____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = 0; -x_5 = lean_box(x_4); -x_6 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___boxed), 7, 2); -lean_closure_set(x_6, 0, x_2); -lean_closure_set(x_6, 1, x_5); -x_7 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_0__Lean_PrettyPrinter_withoutContext___at_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter___hyg_329____spec__1), 6, 1); -lean_closure_set(x_7, 0, x_6); -x_8 = l_Lean_PPContext_runMetaM___rarg(x_1, x_7, x_3); -return x_8; +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal), 6, 1); +lean_closure_set(x_4, 0, x_2); +x_5 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_0__Lean_PrettyPrinter_withoutContext___at_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter___hyg_329____spec__1), 6, 1); +lean_closure_set(x_5, 0, x_4); +x_6 = l_Lean_PPContext_runMetaM___rarg(x_1, x_5, x_3); +return x_6; } } static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter___hyg_329____closed__1() { diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c index 490f0f8ec7..26bc692f58 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c @@ -46,6 +46,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___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___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNameMkNum___closed__3; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_PrettyPrinter_Delaborator_delab___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isLHSGoal_x3f(lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___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*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__3___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__4; @@ -58,6 +59,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_unfoldMDatas_match__1(lean_object* lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__3(lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNameMkStr(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_withMDataOptions___spec__2___rarg___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_withMDataOptions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__3___rarg(lean_object*, lean_object*); @@ -120,6 +122,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfScientific_match__2___rarg( static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__2; lean_object* l_Lean_getPPAnalysisNamedArg___boxed(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_isRegularApp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__9; lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); @@ -142,7 +145,6 @@ static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___cl lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNameMkNum(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___lambda__3___closed__15; uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__1(lean_object*, size_t, size_t); lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabDoElems___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -188,7 +190,6 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfScientific_match__1_ lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns_usingNamesAux___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_hasIdent_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataOptions___at_Lean_PrettyPrinter_Delaborator_withMDatasOptions___spec__1(lean_object*); -lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__3; @@ -245,6 +246,7 @@ lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit(lean lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at_Lean_PrettyPrinter_Delaborator_delabLetE___spec__1(lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_pow(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__1; lean_object* l_Lean_PrettyPrinter_Delaborator_reifyName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -392,7 +394,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__2___box uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_hasIdent___spec__1(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__3___closed__6; lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_checkForNameClash(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_isRegularApp___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte_delabBranch_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -409,6 +410,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_hasIdent___boxed(lean_object*, lea lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__15(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNameMkStr___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__14; lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppImplicit(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -446,12 +448,14 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance__ lean_object* l_Lean_PrettyPrinter_Delaborator_reifyName_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__6; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__2; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetE___closed__4; lean_object* l_Lean_PrettyPrinter_Delaborator_delabBVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___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_Expr_fvarId_x21(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__3; lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns_usingNamesAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3; @@ -575,7 +579,6 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withProj___at_Lean_ lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getRevAliases(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; -static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__11; lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns_usingNames(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_firstM___at_Lean_PrettyPrinter_Delaborator_unexpandRegularApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -608,7 +611,6 @@ lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_isRegula static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__4; lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabForall(lean_object*); lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__10; lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop_visitLambda___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabForall___closed__1; @@ -666,7 +668,6 @@ extern lean_object* l_Lean_projectionFnInfoExt; static lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9___closed__1; lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___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_getPPCoercions___boxed(lean_object*); -lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns_usingNamesAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___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_PrettyPrinter_Delaborator_ParamKind_isRegularExplicit___boxed(lean_object*); @@ -731,6 +732,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__4(lean_obj lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_scientificLitKind; +lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___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_PrettyPrinter_Delaborator_maybeAddBlockImplicit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingName_x21(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds_forallTelescopeArgs___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*); @@ -814,7 +816,6 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__ lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfScientific___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns_usingNamesAux___spec__2(lean_object*); -lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__4___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__3___closed__10; lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFnArgs___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -925,7 +926,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandRegularApp_match__1(lean_o static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__6___closed__9; lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds_forallTelescopeArgs___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_ReaderT_instMonadReaderT___rarg(lean_object*); -lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataOptions___at_Lean_PrettyPrinter_Delaborator_withMDatasOptions___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -959,6 +959,7 @@ lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_withMDatasOpt lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___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_PrettyPrinter_Delaborator_delabLetE_match__1(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_reifyName_match__1___rarg___closed__2; lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_HoleIterator_next(lean_object*); @@ -20123,25 +20124,79 @@ return x_37; } } } +lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Expr_appArg_x21(x_10); +lean_dec(x_10); +x_13 = lean_unsigned_to_nat(1u); +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delab___spec__2(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_14; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Expr_appFn_x21(x_10); +lean_dec(x_10); +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delab___spec__2(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_14; +} +} static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__4), 8, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__5), 8, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string("inaccessible"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__7; -x_2 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5() { _start: { lean_object* x_1; @@ -20163,139 +20218,159 @@ x_11 = l_Lean_Meta_Match_inaccessible_x3f(x_9); lean_dec(x_9); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; -x_12 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__2; -x_13 = l_Lean_PrettyPrinter_Delaborator_withMDataOptions___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_10); -return x_13; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_10); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_isLHSGoal_x3f(x_13); +lean_dec(x_13); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__2; +x_17 = l_Lean_PrettyPrinter_Delaborator_withMDataOptions___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(x_16, x_1, x_2, x_3, x_4, x_5, x_6, x_14); +return x_17; } else { -lean_object* x_14; lean_object* x_15; +lean_object* x_18; lean_object* x_19; +lean_dec(x_15); +x_18 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2; +x_19 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_14); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_dec(x_11); -x_14 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__2; +x_20 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__2; lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); -x_15 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3(x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_10); -if (lean_obj_tag(x_15) == 0) +x_21 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3(x_20, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_21) == 0) { -uint8_t x_16; -x_16 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +uint8_t x_22; +x_22 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); lean_dec(x_1); -if (x_16 == 0) +if (x_22 == 0) { -uint8_t x_17; +uint8_t x_23; lean_dec(x_6); lean_dec(x_5); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) { -return x_15; +return x_21; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_15, 0); -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_15); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_21 = lean_ctor_get(x_15, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_15, 1); -lean_inc(x_22); -lean_dec(x_15); -x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_PrettyPrinter_Delaborator_delab___spec__3___rarg(x_5, x_6, x_22); -lean_dec(x_6); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_25 = lean_ctor_get(x_23, 0); -x_26 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3; +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_21, 0); +x_25 = lean_ctor_get(x_21, 1); lean_inc(x_25); -x_27 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__9; -x_29 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_29, 0, x_25); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__10; -x_31 = lean_array_push(x_30, x_27); -x_32 = lean_array_push(x_31, x_21); -x_33 = lean_array_push(x_32, x_29); -x_34 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2; -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -lean_ctor_set(x_23, 0, x_35); -return x_23; +lean_inc(x_24); +lean_dec(x_21); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_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 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3; -lean_inc(x_36); -x_39 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__9; -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_36); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__10; -x_43 = lean_array_push(x_42, x_39); -x_44 = lean_array_push(x_43, x_21); -x_45 = lean_array_push(x_44, x_41); -x_46 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2; -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_37); -return x_48; +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = lean_ctor_get(x_21, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_dec(x_21); +x_29 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_PrettyPrinter_Delaborator_delab___spec__3___rarg(x_5, x_6, x_28); +lean_dec(x_6); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_31 = lean_ctor_get(x_29, 0); +x_32 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5; +lean_inc(x_31); +x_33 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__9; +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_31); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__10; +x_37 = lean_array_push(x_36, x_33); +x_38 = lean_array_push(x_37, x_27); +x_39 = lean_array_push(x_38, x_35); +x_40 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +lean_ctor_set(x_29, 0, x_41); +return x_29; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_42 = lean_ctor_get(x_29, 0); +x_43 = lean_ctor_get(x_29, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_29); +x_44 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5; +lean_inc(x_42); +x_45 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__9; +x_47 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_47, 0, x_42); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__10; +x_49 = lean_array_push(x_48, x_45); +x_50 = lean_array_push(x_49, x_27); +x_51 = lean_array_push(x_50, x_47); +x_52 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_43); +return x_54; } } } else { -uint8_t x_49; +uint8_t x_55; lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_49 = !lean_is_exclusive(x_15); -if (x_49 == 0) +x_55 = !lean_is_exclusive(x_21); +if (x_55 == 0) { -return x_15; +return x_21; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_15, 0); -x_51 = lean_ctor_get(x_15, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_15); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_21, 0); +x_57 = lean_ctor_get(x_21, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_21); +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; } } } @@ -22507,7 +22582,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_delabFVar___closed__2; x_2 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__12; -x_3 = lean_unsigned_to_nat(546u); +x_3 = lean_unsigned_to_nat(548u); x_4 = lean_unsigned_to_nat(44u); x_5 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -25540,7 +25615,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_delabFVar___closed__2; x_2 = l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1; -x_3 = lean_unsigned_to_nat(583u); +x_3 = lean_unsigned_to_nat(585u); x_4 = lean_unsigned_to_nat(38u); x_5 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -26397,7 +26472,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_delabFVar___closed__2; x_2 = l_Lean_PrettyPrinter_Delaborator_delabLit___closed__1; -x_3 = lean_unsigned_to_nat(596u); +x_3 = lean_unsigned_to_nat(598u); x_4 = lean_unsigned_to_nat(31u); x_5 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -28139,7 +28214,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_delabFVar___closed__2; x_2 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__1; -x_3 = lean_unsigned_to_nat(635u); +x_3 = lean_unsigned_to_nat(637u); x_4 = lean_unsigned_to_nat(38u); x_5 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -28451,23 +28526,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectio return x_2; } } -lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Expr_appArg_x21(x_10); -lean_dec(x_10); -x_13 = lean_unsigned_to_nat(1u); -x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delab___spec__2(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); -return x_14; -} -} lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___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: { @@ -28595,7 +28653,7 @@ lean_dec(x_30); x_34 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__2; lean_inc(x_7); lean_inc(x_6); -x_35 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp___spec__1(x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_33); +x_35 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__4(x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_33); if (lean_obj_tag(x_35) == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; @@ -28728,7 +28786,7 @@ lean_object* x_77; lean_object* x_78; x_77 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__2; lean_inc(x_7); lean_inc(x_6); -x_78 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp___spec__1(x_77, x_2, x_3, x_4, x_5, x_6, x_7, x_70); +x_78 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__4(x_77, x_2, x_3, x_4, x_5, x_6, x_7, x_70); if (lean_obj_tag(x_78) == 0) { lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; @@ -29301,24 +29359,7 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Expr_appFn_x21(x_10); -lean_dec(x_10); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delab___spec__2(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); -return x_14; -} -} -lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -29380,7 +29421,7 @@ return x_31; } } } -lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -29393,11 +29434,11 @@ lean_dec(x_9); x_12 = l_Lean_Expr_appArg_x21(x_10); lean_dec(x_10); x_13 = lean_unsigned_to_nat(1u); -x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__3(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__2(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); return x_14; } } -lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -29410,7 +29451,7 @@ lean_dec(x_9); x_12 = l_Lean_Expr_appFn_x21(x_10); lean_dec(x_10); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__3(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__2(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); return x_14; } } @@ -29418,8 +29459,8 @@ static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1 _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp___spec__1), 8, 1); +x_1 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__5), 8, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -29428,43 +29469,23 @@ static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1 _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__1; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__1), 8, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__1), 8, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; x_1 = lean_box(0); x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDIte_delabBranch), 8, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__2), 8, 1); +x_1 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__1), 8, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__4() { _start: { lean_object* x_1; @@ -29472,17 +29493,17 @@ x_1 = lean_mk_string("termDepIfThenElse"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__7() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___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_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__8() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__6() { _start: { lean_object* x_1; @@ -29490,7 +29511,7 @@ x_1 = lean_mk_string("if"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__9() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__7() { _start: { lean_object* x_1; @@ -29498,7 +29519,7 @@ x_1 = lean_mk_string("then"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__10() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__8() { _start: { lean_object* x_1; @@ -29506,7 +29527,7 @@ x_1 = lean_mk_string("else"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__11() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -29561,14 +29582,14 @@ goto block_88; block_88: { lean_object* x_14; lean_object* x_15; -x_14 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__3; +x_14 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__1; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_15 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__1(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +x_15 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__5(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_13); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -29577,14 +29598,14 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__5; +x_18 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__3; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_19 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__4(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_17); +x_19 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__3(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_17); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; @@ -29605,7 +29626,7 @@ x_25 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDIte_del lean_closure_set(x_25, 0, x_24); lean_inc(x_7); lean_inc(x_6); -x_26 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__2(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_21); +x_26 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__1(x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_21); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; @@ -29624,7 +29645,7 @@ if (x_31 == 0) { lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; x_32 = lean_ctor_get(x_30, 0); -x_33 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__8; +x_33 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__6; lean_inc(x_32); x_34 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_34, 0, x_32); @@ -29635,16 +29656,16 @@ lean_inc(x_32); x_37 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_37, 0, x_32); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__9; +x_38 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__7; lean_inc(x_32); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_32); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__10; +x_40 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__8; x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_32); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__11; +x_42 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__9; x_43 = lean_array_push(x_42, x_34); x_44 = lean_array_push(x_43, x_35); x_45 = lean_array_push(x_44, x_37); @@ -29653,7 +29674,7 @@ x_47 = lean_array_push(x_46, x_39); x_48 = lean_array_push(x_47, x_22); x_49 = lean_array_push(x_48, x_41); x_50 = lean_array_push(x_49, x_29); -x_51 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__7; +x_51 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__5; x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_50); @@ -29668,7 +29689,7 @@ x_54 = lean_ctor_get(x_30, 1); lean_inc(x_54); lean_inc(x_53); lean_dec(x_30); -x_55 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__8; +x_55 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__6; lean_inc(x_53); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_53); @@ -29679,16 +29700,16 @@ lean_inc(x_53); x_59 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_59, 0, x_53); lean_ctor_set(x_59, 1, x_58); -x_60 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__9; +x_60 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__7; lean_inc(x_53); x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_53); lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__10; +x_62 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__8; x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_53); lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__11; +x_64 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__9; x_65 = lean_array_push(x_64, x_56); x_66 = lean_array_push(x_65, x_57); x_67 = lean_array_push(x_66, x_59); @@ -29697,7 +29718,7 @@ x_69 = lean_array_push(x_68, x_61); x_70 = lean_array_push(x_69, x_22); x_71 = lean_array_push(x_70, x_63); x_72 = lean_array_push(x_71, x_29); -x_73 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__7; +x_73 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -29826,11 +29847,11 @@ x_10 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_8, x_9, x_1, x_2, x_3, x_ return x_10; } } -lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___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_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delabDIte___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_2); return x_11; } @@ -30009,14 +30030,14 @@ goto block_62; block_62: { lean_object* x_18; lean_object* x_19; -x_18 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__1; +x_18 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_19 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__1(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_17); +x_19 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__5(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_17); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -30028,7 +30049,7 @@ lean_dec(x_19); x_22 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5___closed__2; lean_inc(x_6); lean_inc(x_5); -x_23 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabProjectionApp___spec__1(x_22, x_1, x_2, x_3, x_4, x_5, x_6, x_21); +x_23 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__4(x_22, x_1, x_2, x_3, x_4, x_5, x_6, x_21); if (lean_obj_tag(x_23) == 0) { lean_object* x_24; lean_object* x_25; uint8_t x_26; @@ -30901,7 +30922,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_delabFVar___closed__2; x_2 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__5; -x_3 = lean_unsigned_to_nat(707u); +x_3 = lean_unsigned_to_nat(709u); x_4 = lean_unsigned_to_nat(40u); x_5 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -31219,14 +31240,14 @@ x_84 = l_Lean_instInhabitedExpr; x_85 = lean_unsigned_to_nat(2u); x_86 = lean_array_get(x_84, x_83, x_85); lean_dec(x_83); -x_87 = l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__1; +x_87 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_88 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabDIte___spec__1(x_87, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +x_88 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__5(x_87, x_1, x_2, x_3, x_4, x_5, x_6, x_10); if (lean_obj_tag(x_88) == 0) { lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; @@ -36044,6 +36065,10 @@ l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2 = _init_l_Lean_PrettyPri lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2); l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5); l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__1); l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__2(); @@ -36319,10 +36344,6 @@ l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__8 = _init_l_Lea lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__8); l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__9 = _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__9(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__9); -l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__10 = _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__10); -l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__11 = _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__11(); -lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__11); l_Lean_PrettyPrinter_Delaborator_delabDIte___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDIte___closed__1); l_Lean_PrettyPrinter_Delaborator_delabDIte___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___closed__2(); diff --git a/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c b/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c index c72363337c..ba809579f3 100644 --- a/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c +++ b/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c @@ -13,145 +13,136 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveTermGoal___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_find_x3f___at_Lean_findDeclarationRangesCore_x3f___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3(lean_object*, lean_object*, lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__3; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1___boxed(lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___closed__1; +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__8(lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensRange(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__3___closed__1; extern lean_object* l_instHashableString; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__5; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__13; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5(lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__2(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__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* l_Lean_Server_FileWorker_handleSemanticTokens_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__6; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__8(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__2(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__13; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___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_7008____spec__15___lambda__2___closed__2; lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1517_(lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Server_FileWorker_getInteractiveGoals___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__3; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHoverParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_554_(lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1(lean_object*, lean_object*, 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_297_(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__6; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__7; lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__6; extern lean_object* l_Lean_noConfusionExt; uint8_t l_Std_PersistentHashMap_contains___at_Lean_Server_registerLspRequestHandler___spec__1(lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__7; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__2(lean_object*); -static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2___closed__2; static lean_object* l_Lean_Server_FileWorker_handleHover___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__3; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__4___closed__1; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleDefinition___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__12(size_t, size_t, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__12(size_t, size_t, 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_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__8; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__2___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__10; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1(lean_object*); lean_object* l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_485____boxed(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__2; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__5; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__1(lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5(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_7008____spec__2___closed__1; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__11; +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__12___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7008____spec__19___lambda__3___closed__2; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__2; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__1; lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Completion_find_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__6; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__21; static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__3; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__12; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__1(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__17; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3___closed__1; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__1(lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__8; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__2; uint8_t lean_name_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__8; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__17; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_declRangeExt; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedNat; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__1; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__4; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handlePlainGoal___closed__1; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__2(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___closed__2; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainTermGoalParams____x40_Lean_Data_Lsp_Extra___hyg_484_(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___closed__1; lean_object* l_ReaderT_bind___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_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_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__5(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_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__2; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__4; @@ -160,80 +151,86 @@ static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightRe lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal_match__1(lean_object*); lean_object* l_IO_sleep(uint32_t, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__1(lean_object*); lean_object* l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_485__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__1; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__3___closed__1; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3___closed__1; static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___closed__1; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__2; static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__9; uint8_t l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_485_(uint8_t, uint8_t); -static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__1; lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__2; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010_(lean_object*); +lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008_(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_join___rarg(lean_object*); uint8_t l_USize_decLt(size_t, size_t); -lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__2(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__23; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17(lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__1; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__11___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__23; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__2___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__22(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___boxed(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__9; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___closed__3; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveTermGoal___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_utf8PosToLspPos(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__19; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__2(lean_object*); lean_object* lean_io_bind_task(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__1(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__19; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainTermGoal____x40_Lean_Data_Lsp_Extra___hyg_625_(lean_object*); lean_object* l_Lean_Elab_InfoTree_deepestNodes___rarg(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2(lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__1; lean_object* l_Lean_Widget_InteractiveGoal_pretty(lean_object*); -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__22(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__5; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Except_map___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_getInteractiveGoals_match__3___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__1; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_470_(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_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__1; -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__6(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__3; lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__18(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___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* l_Lean_Server_FileWorker_handleDefinition___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_7010____spec__3___lambda__2___closed__2; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__2___boxed(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__6; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_goalsAt_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_findInfo_x3f(lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2___closed__1; lean_object* l_Lean_Server_Snapshots_parseAhead(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___closed__1; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___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_7008____spec__10___lambda__4___closed__1; 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*); lean_object* l_Lean_Json_compress(lean_object*); @@ -241,82 +238,87 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__6___closed__2; static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__5___closed__2; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__1(lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_683_(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__4___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3(size_t, size_t, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__1(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_SemanticTokenType_toNat(uint8_t); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__4; lean_object* l_Lean_Server_FileWorker_getInteractiveGoals_match__3(lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___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_7008____spec__7___lambda__3___closed__1; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__3; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__2___closed__1; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__2___boxed(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__21; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__2(lean_object*); -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__18(lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__3___closed__2; +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__6(lean_object*); lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_485__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___closed__2; lean_object* l_String_Range_toLspRange(lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___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_7008____spec__19___lambda__4___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__10; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3___closed__2; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3___closed__2; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__1(lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1883_(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(size_t, size_t, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__2; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_decEqGoToKind____x40_Lean_Server_FileWorker_RequestHandling___hyg_485__match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Widget_InteractiveTermGoal_toInteractiveGoal(lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_termGoalAt_x3f(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__2(lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveTermGoal___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDefinition___closed__1; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__9___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___rarg___closed__1; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1763_(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* lean_task_map(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__1(lean_object*); lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__2; +static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__3; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__11(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_7010____closed__11; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___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*); extern lean_object* l_Lean_Server_requestHandlers; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__11; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__2(lean_object*); lean_object* lean_format_pretty(lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__1(lean_object*); lean_object* l_Lean_Server_RequestM_bindTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__5; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_getInteractiveGoals(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___closed__1; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__12; lean_object* l_Lean_SearchPath_findWithExt(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__2___rarg(lean_object*, lean_object*); @@ -324,133 +326,130 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal_ lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__3; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1689_(lean_object*); -static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__7; lean_object* l_Lean_Server_FileWorker_handlePlainGoal(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__4; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__8___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__4___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_RequestM_mapTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__9; uint32_t lean_string_utf8_get(lean_object*, lean_object*); static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__3___closed__1; static lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2___closed__1; lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal_match__2(lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__4___closed__1; lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__4___boxed(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__1; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__4___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_7008____spec__1___closed__1; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_439_(lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3___closed__2; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1073_(lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__4(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_1029_(lean_object*); lean_object* lean_local_ctx_pop(lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__3___closed__1; -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__14(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__1; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__8(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveTermGoal___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__2___boxed(lean_object*, lean_object*, 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_7010____spec__11(lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__14(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___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_7010____spec__19___lambda__3___closed__1; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__1(lean_object*); lean_object* l_Lean_Elab_Info_toElabInfo_x3f(lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__4(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_7008____spec__11(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__9___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveTermGoal___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_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_371_(lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___closed__1; lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleDefinition___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__12___boxed(lean_object*, lean_object*, 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_7010____spec__5___lambda__3___closed__1; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__3___closed__1; lean_object* l_Lean_Elab_Info_range_x3f(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isRec___at___private_Lean_Server_Completion_0__Lean_Server_Completion_isBlackListed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___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_7008____spec__21___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword_match__1(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__2; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__1(lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__15; lean_object* l_String_decEq___boxed(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleCompletion___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__3; lean_object* l_Lean_Server_FileWorker_handleCompletion___lambda__1___boxed(lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleCompletion___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__2(lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__4___closed__1; uint8_t l_Char_isAlpha(uint32_t); -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__16(lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3___closed__2; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3___closed__2; 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*); +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__16(lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__5; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_326_(lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__3; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3___closed__2; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__4; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___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_7008____spec__3___lambda__3___closed__1; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__7; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3___closed__1; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3___closed__2; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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_List_drop___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_instDecidableEqGoToKind___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2; lean_object* l_Lean_Syntax_isIdOrAtom_x3f(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__3(lean_object*); lean_object* l_Lean_Server_FileWorker_getInteractiveGoals_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__14; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__1; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handlePlainGoal___closed__3; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__3___closed__1; lean_object* l_IO_AsyncList_updateFinishedPrefix___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Widget_goalToInteractive___boxed(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_7010____spec__21___lambda__4___closed__1; -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__3___closed__1; lean_object* l_String_intercalate(lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__1(lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__4; lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__10; static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2___closed__2; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__3(lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___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_7010____spec__21___lambda__3___closed__1; static lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___closed__3; lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__1(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__10; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___boxed(lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__1(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__10; lean_object* l_IO_AsyncList_finishedPrefix___rarg(lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__3___rarg(lean_object*, lean_object*); @@ -462,17 +461,14 @@ static lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__ lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__9; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_handleCompletion_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveTermGoal___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__2(lean_object*); lean_object* l_Lean_Elab_Info_tailPos_x3f(lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveTermGoal___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); @@ -483,19 +479,17 @@ lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__1___rarg(lean_ static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__1; lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__16; uint8_t lean_is_aux_recursor(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__20; lean_object* l_Lean_findDeclarationRanges_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withPPInaccessibleNamesImp___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__2___closed__1; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__1(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__20; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__1(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findDeclarationRanges_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2(lean_object*, lean_object*, lean_object*); @@ -505,29 +499,25 @@ lean_object* l_Lean_Elab_Info_fmtHover_x3f(lean_object*, lean_object*, lean_obje lean_object* l_Lean_Json_mkObj(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveTermGoal___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__4___closed__1; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__12; lean_object* lean_nat_shiftl(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__10(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_getInteractiveGoals_match__1(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__12; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightKeyword___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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__2; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3___closed__2; lean_object* l_Lean_Name_getPrefix(lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__1(lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_endPos(lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__4___closed__1; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_addToken(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__2(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__2; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1___closed__2; @@ -536,172 +526,179 @@ lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCo uint8_t l_Lean_Server_FileWorker_instDecidableEqGoToKind(uint8_t, uint8_t); lean_object* l_Lean_Expr_constName_x3f(lean_object*); lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__20(lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); +static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__8; lean_object* l_instBEq___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol(lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_String_instInhabitedRange; 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_7010____spec__15___lambda__2___closed__2; lean_object* l_Lean_Server_toFileUri(lean_object*); -static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__4; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__7; +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__20(lean_object*); lean_object* l_Lean_Environment_allImportedModuleNames(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__6(lean_object*); lean_object* l_Lean_Server_FileWorker_noHighlightKinds; lean_object* l_Lean_Server_RequestM_withWaitFindSnap___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__4; lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1___closed__1; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__5(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_7008____spec__2(lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__1(lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleCompletion___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_getInteractiveGoals_match__1___rarg(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveTermGoal___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__4(lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__24; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__7(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__4___closed__1; 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_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3___closed__6; -lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__24; lean_object* l_Array_anyMUnsafe_any___at_Lean_Server_FileWorker_handleSemanticTokens_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__2(lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleCompletion___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__7; lean_object* lean_io_initializing(lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___boxed(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__9; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__7; -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__1(lean_object*); lean_object* l_Lean_Server_FileWorker_getInteractiveGoals___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__5; lean_object* l_Lean_Server_FileWorker_handleSemanticTokens(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__10___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___lambda__1___boxed(lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__16; lean_object* l_Lean_Server_FileWorker_handleHover_match__3(lean_object*); lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_getInteractiveGoals_match__2(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Server_FileWorker_handleHover___lambda__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__8___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__16; lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__6; lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal___lambda__1(lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols___spec__1___closed__2; -lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___boxed(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_Server_FileWorker_handleSemanticTokens___lambda__2___closed__1; -static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__2; -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__4(lean_object*); lean_object* l_Lean_Elab_Info_pos_x3f(lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__5; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___spec__4___closed__4; lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleCompletion___spec__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__18; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3___closed__1; uint8_t l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__18; -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___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_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__8; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_waitLoop___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5___boxed(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__4; lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveTermGoal___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__8; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__2; lean_object* l_Lean_Elab_Info_lctx(lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1(lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__7(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__11; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__22; 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*); 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_7010____spec__5___lambda__3___closed__2; lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveTermGoal___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3___closed__1; lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleSemanticTokens___spec__1___lambda__4(lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3___closed__2; lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__9(size_t, size_t, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols(lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3(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; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__1; -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__22; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_Server_FileWorker_handleDocumentSymbol___spec__1(lean_object*, lean_object*); lean_object* lean_task_pure(lean_object*); static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___closed__1; static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__1; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__9(size_t, size_t, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveTermGoal___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_7010____closed__14; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__9___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__11(lean_object*); +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3___closed__1; 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_object* l_Lean_Server_FileWorker_handlePlainGoal_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__2(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__9(lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3(lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__8; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__7___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2(lean_object*); lean_object* l_Lean_Syntax_reprint(lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__1(lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__14; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__4(lean_object*); lean_object* l_List_getLast___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__3; +static lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__5; +static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__5___closed__1; lean_object* l_Lean_Server_RequestM_readDoc(lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_getLastD___rarg(lean_object*, lean_object*); -lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__15; +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__3; lean_object* l_Lean_Server_FileWorker_handleDefinition_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__4___closed__1; +static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__15; lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2___closed__1; +lean_object* l_Lean_Widget_goalToInteractive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__2(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentHighlightParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_910_(lean_object*); -static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__3; static lean_object* l_Lean_Server_FileWorker_handlePlainGoal___lambda__1___closed__1; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleCompletion_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -12953,491 +12950,243 @@ return x_16; } } } -lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___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* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -if (lean_obj_tag(x_2) == 0) +if (lean_obj_tag(x_1) == 0) { -lean_object* x_8; lean_object* x_9; -lean_dec(x_6); +lean_object* x_7; lean_object* x_8; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_8 = lean_box(0); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_7); -return x_9; +lean_dec(x_2); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; } else { -uint8_t x_10; -x_10 = !lean_is_exclusive(x_2); -if (x_10 == 0) +uint8_t x_9; +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) { -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_11 = lean_ctor_get(x_2, 0); -x_12 = lean_ctor_get(x_2, 1); -x_13 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); -x_14 = lean_box(x_13); -x_15 = lean_alloc_closure((void*)(l_Lean_Widget_goalToInteractive___boxed), 7, 2); -lean_closure_set(x_15, 0, x_11); -lean_closure_set(x_15, 1, x_14); -x_16 = 1; -lean_inc(x_6); +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_1, 0); +x_11 = lean_ctor_get(x_1, 1); +x_12 = lean_alloc_closure((void*)(l_Lean_Widget_goalToInteractive), 6, 1); +lean_closure_set(x_12, 0, x_10); +x_13 = 1; lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_17 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_getInteractiveGoals___spec__1(x_15, x_16, x_3, x_4, x_5, x_6, x_7); +lean_inc(x_2); +x_14 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_getInteractiveGoals___spec__1(x_12, x_13, x_2, x_3, x_4, x_5, x_6); +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_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2(x_11, x_2, x_3, x_4, x_5, x_16); if (lean_obj_tag(x_17) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_17, 0); +lean_ctor_set(x_1, 1, x_19); +lean_ctor_set(x_1, 0, x_15); +lean_ctor_set(x_17, 0, x_1); +return x_17; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_17, 0); +x_21 = lean_ctor_get(x_17, 1); +lean_inc(x_21); +lean_inc(x_20); lean_dec(x_17); -x_20 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2(x_1, x_12, x_3, x_4, x_5, x_6, 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; -x_22 = lean_ctor_get(x_20, 0); -lean_ctor_set(x_2, 1, x_22); -lean_ctor_set(x_2, 0, x_18); -lean_ctor_set(x_20, 0, x_2); -return x_20; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_20, 0); -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_20); -lean_ctor_set(x_2, 1, x_23); -lean_ctor_set(x_2, 0, x_18); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_2); -lean_ctor_set(x_25, 1, x_24); -return x_25; +lean_ctor_set(x_1, 1, x_20); +lean_ctor_set(x_1, 0, 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_21); +return x_22; } } else { -uint8_t x_26; -lean_dec(x_18); -lean_free_object(x_2); -x_26 = !lean_is_exclusive(x_20); -if (x_26 == 0) -{ -return x_20; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -uint8_t x_30; -lean_free_object(x_2); -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_30 = !lean_is_exclusive(x_17); -if (x_30 == 0) +uint8_t x_23; +lean_dec(x_15); +lean_free_object(x_1); +x_23 = !lean_is_exclusive(x_17); +if (x_23 == 0) { return x_17; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_17, 0); -x_32 = lean_ctor_get(x_17, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_17); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; -x_34 = lean_ctor_get(x_2, 0); -x_35 = lean_ctor_get(x_2, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_2); -x_36 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); -x_37 = lean_box(x_36); -x_38 = lean_alloc_closure((void*)(l_Lean_Widget_goalToInteractive___boxed), 7, 2); -lean_closure_set(x_38, 0, x_34); -lean_closure_set(x_38, 1, x_37); -x_39 = 1; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_40 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_getInteractiveGoals___spec__1(x_38, x_39, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2(x_1, x_35, x_3, x_4, x_5, x_6, x_42); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_46 = x_43; -} else { - lean_dec_ref(x_43); - x_46 = lean_box(0); -} -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_41); -lean_ctor_set(x_47, 1, x_44); -if (lean_is_scalar(x_46)) { - x_48 = lean_alloc_ctor(0, 2, 0); -} else { - x_48 = x_46; -} -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_45); -return x_48; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_41); -x_49 = lean_ctor_get(x_43, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_43, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_51 = x_43; -} else { - lean_dec_ref(x_43); - x_51 = lean_box(0); -} -if (lean_is_scalar(x_51)) { - x_52 = lean_alloc_ctor(1, 2, 0); -} else { - x_52 = x_51; -} -lean_ctor_set(x_52, 0, x_49); -lean_ctor_set(x_52, 1, x_50); -return x_52; -} -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_35); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_53 = lean_ctor_get(x_40, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_40, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_55 = x_40; -} else { - lean_dec_ref(x_40); - x_55 = lean_box(0); -} -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(1, 2, 0); -} else { - x_56 = x_55; -} -lean_ctor_set(x_56, 0, x_53); -lean_ctor_set(x_56, 1, x_54); -return x_56; -} -} -} -} -} -lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_8; lean_object* x_9; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_8 = lean_box(0); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -else -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_2); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_11 = lean_ctor_get(x_2, 0); -x_12 = lean_ctor_get(x_2, 1); -x_13 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); -x_14 = lean_box(x_13); -x_15 = lean_alloc_closure((void*)(l_Lean_Widget_goalToInteractive___boxed), 7, 2); -lean_closure_set(x_15, 0, x_11); -lean_closure_set(x_15, 1, x_14); -x_16 = 1; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_17 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_getInteractiveGoals___spec__1(x_15, x_16, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_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_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3(x_1, x_12, x_3, x_4, x_5, x_6, 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; -x_22 = lean_ctor_get(x_20, 0); -lean_ctor_set(x_2, 1, x_22); -lean_ctor_set(x_2, 0, x_18); -lean_ctor_set(x_20, 0, x_2); -return x_20; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_20, 0); -x_24 = lean_ctor_get(x_20, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_17, 0); +x_25 = lean_ctor_get(x_17, 1); +lean_inc(x_25); lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_20); -lean_ctor_set(x_2, 1, x_23); -lean_ctor_set(x_2, 0, x_18); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_2); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -else -{ -uint8_t x_26; -lean_dec(x_18); -lean_free_object(x_2); -x_26 = !lean_is_exclusive(x_20); -if (x_26 == 0) -{ -return x_20; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_dec(x_17); +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_30; -lean_free_object(x_2); -lean_dec(x_12); -lean_dec(x_6); +uint8_t x_27; +lean_free_object(x_1); +lean_dec(x_11); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_30 = !lean_is_exclusive(x_17); -if (x_30 == 0) +lean_dec(x_2); +x_27 = !lean_is_exclusive(x_14); +if (x_27 == 0) { -return x_17; +return x_14; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_17, 0); -x_32 = lean_ctor_get(x_17, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_14, 0); +x_29 = lean_ctor_get(x_14, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_14); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_1, 0); +x_32 = lean_ctor_get(x_1, 1); lean_inc(x_32); lean_inc(x_31); -lean_dec(x_17); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; -x_34 = lean_ctor_get(x_2, 0); -x_35 = lean_ctor_get(x_2, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_2); -x_36 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); -x_37 = lean_box(x_36); -x_38 = lean_alloc_closure((void*)(l_Lean_Widget_goalToInteractive___boxed), 7, 2); -lean_closure_set(x_38, 0, x_34); -lean_closure_set(x_38, 1, x_37); -x_39 = 1; -lean_inc(x_6); +lean_dec(x_1); +x_33 = lean_alloc_closure((void*)(l_Lean_Widget_goalToInteractive), 6, 1); +lean_closure_set(x_33, 0, x_31); +x_34 = 1; lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_40 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_getInteractiveGoals___spec__1(x_38, x_39, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_40) == 0) +lean_inc(x_2); +x_35 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_getInteractiveGoals___spec__1(x_33, x_34, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3(x_1, x_35, x_3, x_4, x_5, x_6, x_42); -if (lean_obj_tag(x_43) == 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); +x_38 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2(x_32, x_2, x_3, x_4, x_5, x_37); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_46 = x_43; +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); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_41 = x_38; } else { - lean_dec_ref(x_43); + lean_dec_ref(x_38); + x_41 = lean_box(0); +} +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_36); +lean_ctor_set(x_42, 1, x_39); +if (lean_is_scalar(x_41)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_41; +} +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_40); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_36); +x_44 = lean_ctor_get(x_38, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_38, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_46 = x_38; +} else { + lean_dec_ref(x_38); x_46 = lean_box(0); } -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_41); -lean_ctor_set(x_47, 1, x_44); if (lean_is_scalar(x_46)) { - x_48 = lean_alloc_ctor(0, 2, 0); + x_47 = lean_alloc_ctor(1, 2, 0); } else { - x_48 = x_46; + x_47 = x_46; } -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_45); -return x_48; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_41); -x_49 = lean_ctor_get(x_43, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_43, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_51 = x_43; -} else { - lean_dec_ref(x_43); - x_51 = lean_box(0); -} -if (lean_is_scalar(x_51)) { - x_52 = lean_alloc_ctor(1, 2, 0); -} else { - x_52 = x_51; -} -lean_ctor_set(x_52, 0, x_49); -lean_ctor_set(x_52, 1, x_50); -return x_52; +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_45); +return x_47; } } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_35); -lean_dec(x_6); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_32); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_53 = lean_ctor_get(x_40, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_40, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_55 = x_40; +lean_dec(x_2); +x_48 = lean_ctor_get(x_35, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_35, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + lean_ctor_release(x_35, 1); + x_50 = x_35; } else { - lean_dec_ref(x_40); - x_55 = lean_box(0); + lean_dec_ref(x_35); + x_50 = lean_box(0); } -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_50)) { + x_51 = lean_alloc_ctor(1, 2, 0); } else { - x_56 = x_55; + x_51 = x_50; } -lean_ctor_set(x_56, 0, x_53); -lean_ctor_set(x_56, 1, x_54); -return x_56; +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_49); +return x_51; } } } } } -static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__1() { +static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -13447,7 +13196,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__2() { +static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__2() { _start: { lean_object* x_1; @@ -13455,21 +13204,21 @@ x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__3() { +static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__2; +x_1 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__4() { +static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__3; +x_1 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__3; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -13477,7 +13226,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__5() { +static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -13486,23 +13235,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__6() { +static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__5; +x_1 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__5; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__7() { +static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__7() { _start: { size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 5; -x_2 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__6; -x_3 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__5; +x_2 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__6; +x_3 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__5; x_4 = lean_unsigned_to_nat(0u); x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); lean_ctor_set(x_5, 0, x_2); @@ -13513,25 +13262,25 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__8() { +static lean_object* _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__4; -x_2 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__7; +x_1 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__4; +x_2 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) { lean_object* x_4; lean_object* x_5; -x_4 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__1; +x_4 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___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); @@ -13572,10 +13321,10 @@ lean_inc(x_48); lean_ctor_set(x_44, 2, x_48); x_49 = lean_ctor_get(x_45, 2); lean_inc(x_49); -x_50 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2___boxed), 7, 2); -lean_closure_set(x_50, 0, x_45); -lean_closure_set(x_50, 1, x_49); -x_51 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__8; +lean_dec(x_45); +x_50 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2), 6, 1); +lean_closure_set(x_50, 0, x_49); +x_51 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__8; x_52 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_44, x_51, x_50, x_3); lean_dec(x_44); if (lean_obj_tag(x_52) == 0) @@ -13642,10 +13391,10 @@ lean_ctor_set(x_66, 4, x_63); lean_ctor_set(x_66, 5, x_64); x_67 = lean_ctor_get(x_45, 2); lean_inc(x_67); -x_68 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2___boxed), 7, 2); -lean_closure_set(x_68, 0, x_45); -lean_closure_set(x_68, 1, x_67); -x_69 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__8; +lean_dec(x_45); +x_68 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2), 6, 1); +lean_closure_set(x_68, 0, x_67); +x_69 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__8; x_70 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_66, x_69, x_68, x_3); lean_dec(x_66); if (lean_obj_tag(x_70) == 0) @@ -13709,10 +13458,10 @@ lean_inc(x_82); lean_ctor_set(x_78, 2, x_82); x_83 = lean_ctor_get(x_79, 4); lean_inc(x_83); -x_84 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___boxed), 7, 2); -lean_closure_set(x_84, 0, x_79); -lean_closure_set(x_84, 1, x_83); -x_85 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__8; +lean_dec(x_79); +x_84 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2), 6, 1); +lean_closure_set(x_84, 0, x_83); +x_85 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__8; x_86 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_78, x_85, x_84, x_3); lean_dec(x_78); if (lean_obj_tag(x_86) == 0) @@ -13779,10 +13528,10 @@ lean_ctor_set(x_100, 4, x_97); lean_ctor_set(x_100, 5, x_98); x_101 = lean_ctor_get(x_79, 4); lean_inc(x_101); -x_102 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___boxed), 7, 2); -lean_closure_set(x_102, 0, x_79); -lean_closure_set(x_102, 1, x_101); -x_103 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__8; +lean_dec(x_79); +x_102 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2), 6, 1); +lean_closure_set(x_102, 0, x_101); +x_103 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__8; x_104 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_100, x_103, x_102, x_3); lean_dec(x_100); if (lean_obj_tag(x_104) == 0) @@ -13833,7 +13582,7 @@ 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 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4(x_7, x_2, x_10); +x_12 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3(x_7, x_2, x_10); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; @@ -14000,7 +13749,7 @@ return x_41; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___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, size_t x_7, size_t 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_36; @@ -14034,7 +13783,7 @@ lean_inc(x_41); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_43 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6(x_1, x_2, x_3, x_4, x_39, x_41, x_10, x_11); +x_43 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5(x_1, x_2, x_3, x_4, x_39, x_41, x_10, x_11); lean_dec(x_39); if (lean_obj_tag(x_43) == 0) { @@ -14227,7 +13976,7 @@ lean_inc(x_73); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_74 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6(x_1, x_2, x_3, x_4, x_39, x_73, x_10, x_11); +x_74 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5(x_1, x_2, x_3, x_4, x_39, x_73, x_10, x_11); lean_dec(x_39); if (lean_obj_tag(x_74) == 0) { @@ -14476,7 +14225,7 @@ goto _start; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_35; @@ -14527,7 +14276,7 @@ goto block_67; else { lean_object* x_97; -x_97 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4(x_94, x_9, x_10); +x_97 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3(x_94, x_9, x_10); if (lean_obj_tag(x_97) == 0) { lean_object* x_98; @@ -14974,7 +14723,7 @@ goto _start; } } } -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_5) == 0) @@ -14989,7 +14738,7 @@ x_12 = lean_array_get_size(x_9); x_13 = lean_usize_of_nat(x_12); lean_dec(x_12); x_14 = 0; -x_15 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__7(x_1, x_2, x_3, x_4, x_10, x_9, x_13, x_14, x_11, x_7, x_8); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6(x_1, x_2, x_3, x_4, x_10, x_9, x_13, x_14, x_11, x_7, x_8); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; @@ -15192,7 +14941,7 @@ x_58 = lean_array_get_size(x_55); x_59 = lean_usize_of_nat(x_58); lean_dec(x_58); x_60 = 0; -x_61 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__8(x_1, x_2, x_3, x_56, x_55, x_59, x_60, x_57, x_7, x_8); +x_61 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__7(x_1, x_2, x_3, x_56, x_55, x_59, x_60, x_57, x_7, x_8); if (lean_obj_tag(x_61) == 0) { lean_object* x_62; @@ -15385,7 +15134,7 @@ return x_100; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_35; @@ -15436,7 +15185,7 @@ goto block_74; else { lean_object* x_104; -x_104 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4(x_101, x_9, x_10); +x_104 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3(x_101, x_9, x_10); if (lean_obj_tag(x_104) == 0) { lean_object* x_105; @@ -15922,7 +15671,7 @@ goto _start; } } } -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveGoals___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* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -15931,7 +15680,7 @@ lean_inc(x_5); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_9 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6(x_1, x_2, x_3, x_5, x_8, x_5, x_6, x_7); +x_9 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5(x_1, x_2, x_3, x_5, x_8, x_5, x_6, x_7); lean_dec(x_5); if (lean_obj_tag(x_9) == 0) { @@ -16055,7 +15804,7 @@ x_34 = lean_array_get_size(x_31); x_35 = lean_usize_of_nat(x_34); lean_dec(x_34); x_36 = 0; -x_37 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__9(x_1, x_2, x_3, x_32, x_31, x_35, x_36, x_33, x_6, x_29); +x_37 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__8(x_1, x_2, x_3, x_32, x_31, x_35, x_36, x_33, x_6, x_29); if (lean_obj_tag(x_37) == 0) { lean_object* x_38; @@ -16301,7 +16050,7 @@ x_88 = lean_array_get_size(x_85); x_89 = lean_usize_of_nat(x_88); lean_dec(x_88); x_90 = 0; -x_91 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__9(x_1, x_2, x_3, x_86, x_85, x_89, x_90, x_87, x_6, x_83); +x_91 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__8(x_1, x_2, x_3, x_86, x_85, x_89, x_90, x_87, x_6, x_83); if (lean_obj_tag(x_91) == 0) { lean_object* x_92; @@ -16474,7 +16223,7 @@ x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_1); lean_ctor_set(x_11, 1, x_10); lean_inc(x_11); -x_12 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5(x_2, x_3, x_11, x_9, x_11, x_5, x_6); +x_12 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4(x_2, x_3, x_11, x_9, x_11, x_5, x_6); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; @@ -16707,34 +16456,16 @@ x_9 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_getInterac return x_9; } } -lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_8; -} -} -lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_8; -} -} -lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4(x_1, x_2, x_3); +x_4 = l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -16742,13 +16473,38 @@ x_12 = lean_unbox_usize(x_7); lean_dec(x_7); x_13 = lean_unbox_usize(x_8); lean_dec(x_8); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_13, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_13, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_6); lean_dec(x_4); return x_14; } } +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_12 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__7(x_1, x_2, x_3, x_4, x_5, x_11, x_12, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_5); +return x_13; +} +} +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +return x_9; +} +} lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -16763,36 +16519,11 @@ lean_dec(x_5); return x_13; } } -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_getInteractiveGoals___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -return x_9; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -size_t x_11; size_t x_12; lean_object* x_13; -x_11 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_12 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__9(x_1, x_2, x_3, x_4, x_5, x_11, x_12, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_5); -return x_13; -} -} -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_4); return x_8; @@ -17804,7 +17535,7 @@ return x_19; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveTermGoal___spec__4___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: { -uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; +uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; x_7 = 0; x_8 = lean_box(0); lean_inc(x_2); @@ -17816,14 +17547,11 @@ lean_inc(x_11); lean_dec(x_9); x_12 = l_Lean_Expr_mvarId_x21(x_10); lean_dec(x_10); -x_13 = 0; -x_14 = lean_box(x_13); -x_15 = lean_alloc_closure((void*)(l_Lean_Widget_goalToInteractive___boxed), 7, 2); -lean_closure_set(x_15, 0, x_12); -lean_closure_set(x_15, 1, x_14); -x_16 = 1; -x_17 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_getInteractiveGoals___spec__1(x_15, x_16, x_2, x_3, x_4, x_5, x_11); -return x_17; +x_13 = lean_alloc_closure((void*)(l_Lean_Widget_goalToInteractive), 6, 1); +lean_closure_set(x_13, 0, x_12); +x_14 = 1; +x_15 = l_Lean_Meta_withPPInaccessibleNames___at_Lean_Server_FileWorker_getInteractiveGoals___spec__1(x_13, x_14, x_2, x_3, x_4, x_5, x_11); +return x_15; } } lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_getInteractiveTermGoal___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, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -31867,7 +31595,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2___closed__1() { +static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__2___closed__1() { _start: { lean_object* x_1; @@ -31875,7 +31603,7 @@ x_1 = lean_mk_string("Cannot parse request params: "); return x_1; } } -static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2___closed__2() { +static lean_object* _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__2___closed__2() { _start: { lean_object* x_1; @@ -31883,7 +31611,7 @@ x_1 = lean_mk_string("\n"); return x_1; } } -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2(lean_object* x_1) { +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__2(lean_object* x_1) { _start: { lean_object* x_2; @@ -31897,10 +31625,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_7010____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -31920,10 +31648,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_7010____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -31960,11 +31688,11 @@ return x_29; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__2(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -32014,7 +31742,7 @@ return x_11; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -32023,37 +31751,37 @@ x_2 = l_Lean_Json_mkObj(x_1); return x_2; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__2___closed__1; +x_2 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____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_7008____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_7010____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_7008____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_7010____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_7008____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_7010____spec__1___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2(x_2); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__2(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -32161,7 +31889,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3___closed__2; +x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -32173,7 +31901,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3___closed__2; +x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -32197,7 +31925,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3___closed__2; +x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -32238,7 +31966,7 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____spec__1___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -32246,29 +31974,29 @@ x_1 = lean_alloc_closure((void*)(l_String_decEq___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____spec__1___lambda__4___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_7010____spec__1___lambda__4___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__1; x_2 = lean_alloc_closure((void*)(l_instBEq___rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__3() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__3() { _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_7010____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_7008____spec__1___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____spec__1___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -32277,11 +32005,11 @@ 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_7010____spec__1___lambda__4___closed__3; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__3; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2; x_13 = l_instHashableString; x_14 = l_Std_PersistentHashMap_insert___rarg(x_12, x_13, x_8, x_2, x_11); x_15 = lean_st_ref_set(x_6, x_14, x_9); @@ -32305,7 +32033,7 @@ return x_19; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____spec__1___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -32313,7 +32041,7 @@ x_1 = lean_mk_string("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_7010____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_7008____spec__1___lambda__5___closed__2() { _start: { lean_object* x_1; @@ -32321,7 +32049,7 @@ x_1 = lean_mk_string("': already registered"); return x_1; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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; @@ -32341,17 +32069,17 @@ if (x_10 == 0) lean_object* x_11; lean_object* x_12; lean_free_object(x_6); x_11 = lean_box(0); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____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_7010____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -32374,17 +32102,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_7010____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_7008____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_7010____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -32396,7 +32124,7 @@ return x_28; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___closed__1() { _start: { lean_object* x_1; @@ -32404,7 +32132,7 @@ x_1 = lean_mk_string("': only possible during initialization"); return x_1; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -32426,10 +32154,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_7010____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -32443,10 +32171,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_7010____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -32463,7 +32191,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____spec__1___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -32493,7 +32221,7 @@ return x_27; } } } -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__4(lean_object* x_1) { +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__4(lean_object* x_1) { _start: { lean_object* x_2; @@ -32507,10 +32235,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_7010____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -32530,10 +32258,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_7010____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -32570,11 +32298,11 @@ return x_29; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___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_7010____spec__4(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__4(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -32624,7 +32352,7 @@ return x_11; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -32632,21 +32360,21 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__L return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___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_7010____spec__3___lambda__2___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__4(x_2); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__4(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -32754,7 +32482,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2___closed__2; +x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -32766,7 +32494,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2___closed__2; +x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -32790,7 +32518,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2___closed__2; +x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -32831,19 +32559,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___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_7010____spec__3___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_7008____spec__3___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___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_7008____spec__3___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -32852,11 +32580,11 @@ 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_7010____spec__3___lambda__3___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2; x_13 = l_instHashableString; x_14 = l_Std_PersistentHashMap_insert___rarg(x_12, x_13, x_8, x_2, x_11); x_15 = lean_st_ref_set(x_6, x_14, x_9); @@ -32880,7 +32608,7 @@ return x_19; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -32900,17 +32628,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_7010____spec__3___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_7008____spec__3___lambda__3(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -32933,17 +32661,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_7010____spec__3___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_7008____spec__3___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -32955,7 +32683,7 @@ return x_28; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -32977,10 +32705,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_7010____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -32994,10 +32722,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_7010____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -33014,7 +32742,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___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_7008____spec__3___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } @@ -33044,7 +32772,7 @@ return x_27; } } } -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__6(lean_object* x_1) { +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__6(lean_object* x_1) { _start: { lean_object* x_2; @@ -33058,10 +32786,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_7010____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -33081,10 +32809,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_7010____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -33121,11 +32849,11 @@ return x_29; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___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_7010____spec__6(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__6(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -33175,7 +32903,7 @@ return x_11; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -33195,29 +32923,29 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___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_7010____spec__5___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_7008____spec__5___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_7010____spec__5___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___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_7010____spec__5___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__6(x_2); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__6(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -33325,7 +33053,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__3___closed__2; +x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -33337,7 +33065,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__3___closed__2; +x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -33361,7 +33089,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__3___closed__2; +x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -33402,19 +33130,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___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_7010____spec__5___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_7008____spec__5___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___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_7008____spec__5___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -33423,11 +33151,11 @@ 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_7010____spec__5___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2; x_13 = l_instHashableString; x_14 = l_Std_PersistentHashMap_insert___rarg(x_12, x_13, x_8, x_2, x_11); x_15 = lean_st_ref_set(x_6, x_14, x_9); @@ -33451,7 +33179,7 @@ return x_19; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -33471,17 +33199,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_7010____spec__5___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_7008____spec__5___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -33504,17 +33232,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_7010____spec__5___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_7008____spec__5___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -33526,7 +33254,7 @@ return x_28; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -33548,10 +33276,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_7010____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -33565,10 +33293,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_7010____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -33585,7 +33313,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___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_7008____spec__5___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -33615,7 +33343,7 @@ return x_27; } } } -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__8(lean_object* x_1) { +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__8(lean_object* x_1) { _start: { lean_object* x_2; @@ -33629,10 +33357,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_7010____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -33652,10 +33380,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_7010____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -33692,7 +33420,7 @@ return x_29; } } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__9(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__9(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -33721,11 +33449,11 @@ goto _start; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__8(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__8(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -33775,7 +33503,7 @@ return x_11; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -33784,36 +33512,36 @@ x_3 = lean_usize_of_nat(x_2); lean_dec(x_2); x_4 = 0; x_5 = x_1; -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__9(x_3, x_4, x_5); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__9(x_3, x_4, x_5); x_7 = x_6; x_8 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_8, 0, x_7); return x_8; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____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_7010____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_7008____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_7010____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_7008____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_7010____spec__7___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__8(x_2); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__8(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -33921,7 +33649,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3___closed__2; +x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -33933,7 +33661,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3___closed__2; +x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -33957,7 +33685,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3___closed__2; +x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -33998,19 +33726,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____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_7010____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_7008____spec__7___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____spec__7___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -34019,11 +33747,11 @@ 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_7010____spec__7___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2; x_13 = l_instHashableString; x_14 = l_Std_PersistentHashMap_insert___rarg(x_12, x_13, x_8, x_2, x_11); x_15 = lean_st_ref_set(x_6, x_14, x_9); @@ -34047,7 +33775,7 @@ return x_19; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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; @@ -34067,17 +33795,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_7010____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_7008____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_7010____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -34100,17 +33828,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_7010____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_7008____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_7010____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -34122,7 +33850,7 @@ return x_28; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -34144,10 +33872,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_7010____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -34161,10 +33889,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_7010____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -34181,7 +33909,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____spec__7___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -34211,7 +33939,7 @@ return x_27; } } } -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__11(lean_object* x_1) { +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__11(lean_object* x_1) { _start: { lean_object* x_2; @@ -34225,10 +33953,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_7010____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -34248,10 +33976,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_7010____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -34288,7 +34016,7 @@ return x_29; } } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__12(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__12(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -34317,11 +34045,11 @@ goto _start; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__11(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__11(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -34371,7 +34099,7 @@ return x_11; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -34380,36 +34108,36 @@ x_3 = lean_usize_of_nat(x_2); lean_dec(x_2); x_4 = 0; x_5 = x_1; -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__12(x_3, x_4, x_5); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__12(x_3, x_4, x_5); x_7 = x_6; x_8 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_8, 0, x_7); return x_8; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____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_7010____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_7008____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_7010____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_7008____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_7010____spec__10___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__11(x_2); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__11(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -34517,7 +34245,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3___closed__2; +x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -34529,7 +34257,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3___closed__2; +x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -34553,7 +34281,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3___closed__2; +x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -34594,19 +34322,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____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_7010____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_7008____spec__10___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____spec__10___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -34615,11 +34343,11 @@ 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_7010____spec__10___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2; x_13 = l_instHashableString; x_14 = l_Std_PersistentHashMap_insert___rarg(x_12, x_13, x_8, x_2, x_11); x_15 = lean_st_ref_set(x_6, x_14, x_9); @@ -34643,7 +34371,7 @@ return x_19; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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; @@ -34663,17 +34391,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_7010____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_7008____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_7010____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -34696,17 +34424,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_7010____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_7008____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_7010____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -34718,7 +34446,7 @@ return x_28; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -34740,10 +34468,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_7010____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -34757,10 +34485,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_7010____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -34777,7 +34505,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____spec__10___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -34807,7 +34535,7 @@ return x_27; } } } -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__14(lean_object* x_1) { +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__14(lean_object* x_1) { _start: { lean_object* x_2; @@ -34821,10 +34549,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_7010____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -34844,10 +34572,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_7010____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -34884,11 +34612,11 @@ return x_29; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___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_7010____spec__14(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__14(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -34929,7 +34657,7 @@ return x_8; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__2(lean_object* x_1) { _start: { lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -34945,29 +34673,29 @@ lean_ctor_set(x_8, 0, x_7); return x_8; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___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_7010____spec__13___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_7008____spec__13___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_7010____spec__13___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___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_7010____spec__13___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__14(x_2); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__14(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -35075,7 +34803,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3___closed__2; +x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -35087,7 +34815,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3___closed__2; +x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -35111,7 +34839,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3___closed__2; +x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -35152,19 +34880,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___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_7010____spec__13___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_7008____spec__13___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___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_7008____spec__13___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -35173,11 +34901,11 @@ 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_7010____spec__13___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2; x_13 = l_instHashableString; x_14 = l_Std_PersistentHashMap_insert___rarg(x_12, x_13, x_8, x_2, x_11); x_15 = lean_st_ref_set(x_6, x_14, x_9); @@ -35201,7 +34929,7 @@ return x_19; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -35221,17 +34949,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_7010____spec__13___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_7008____spec__13___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -35254,17 +34982,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_7010____spec__13___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_7008____spec__13___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -35276,7 +35004,7 @@ return x_28; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -35298,10 +35026,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_7010____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -35315,10 +35043,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_7010____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -35335,7 +35063,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___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_7008____spec__13___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -35365,7 +35093,7 @@ return x_27; } } } -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__16(lean_object* x_1) { +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__16(lean_object* x_1) { _start: { lean_object* x_2; @@ -35379,10 +35107,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_7010____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -35402,10 +35130,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_7010____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -35442,11 +35170,11 @@ return x_29; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___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_7010____spec__16(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__16(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -35487,7 +35215,7 @@ return x_8; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -35495,21 +35223,21 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__L return x_1; } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___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_7010____spec__15___lambda__2___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__16(x_2); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__16(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -35617,7 +35345,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__2; +x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -35629,7 +35357,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__2; +x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -35653,7 +35381,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__2; +x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -35694,19 +35422,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___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_7010____spec__15___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_7008____spec__15___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___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_7008____spec__15___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -35715,11 +35443,11 @@ 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_7010____spec__15___lambda__3___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2; x_13 = l_instHashableString; x_14 = l_Std_PersistentHashMap_insert___rarg(x_12, x_13, x_8, x_2, x_11); x_15 = lean_st_ref_set(x_6, x_14, x_9); @@ -35743,7 +35471,7 @@ return x_19; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -35763,17 +35491,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_7010____spec__15___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_7008____spec__15___lambda__3(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -35796,17 +35524,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_7010____spec__15___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_7008____spec__15___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -35818,7 +35546,7 @@ return x_28; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -35840,10 +35568,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_7010____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -35857,10 +35585,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_7010____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -35877,7 +35605,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___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_7008____spec__15___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } @@ -35907,7 +35635,7 @@ return x_27; } } } -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__18(lean_object* x_1) { +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__18(lean_object* x_1) { _start: { lean_object* x_2; @@ -35921,10 +35649,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_7010____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -35944,10 +35672,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_7010____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -35984,11 +35712,11 @@ return x_29; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___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_7010____spec__18(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__18(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -36038,11 +35766,11 @@ return x_11; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__18(x_2); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__18(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -36150,7 +35878,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__2; +x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -36162,7 +35890,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__2; +x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -36186,7 +35914,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__2; +x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -36227,19 +35955,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___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_7010____spec__17___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_7008____spec__17___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___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_7008____spec__17___lambda__2), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -36248,11 +35976,11 @@ 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_7010____spec__17___lambda__3___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2; x_13 = l_instHashableString; x_14 = l_Std_PersistentHashMap_insert___rarg(x_12, x_13, x_8, x_2, x_11); x_15 = lean_st_ref_set(x_6, x_14, x_9); @@ -36276,7 +36004,7 @@ return x_19; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -36296,17 +36024,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_7010____spec__17___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_7008____spec__17___lambda__3(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -36329,17 +36057,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_7010____spec__17___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_7008____spec__17___lambda__3(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -36351,7 +36079,7 @@ return x_28; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -36373,10 +36101,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_7010____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -36390,10 +36118,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_7010____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -36410,7 +36138,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___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_7008____spec__17___lambda__4(x_2, x_1, x_22, x_21); return x_23; } } @@ -36440,7 +36168,7 @@ return x_27; } } } -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__20(lean_object* x_1) { +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__20(lean_object* x_1) { _start: { lean_object* x_2; @@ -36454,10 +36182,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_7010____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -36477,10 +36205,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_7010____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -36517,11 +36245,11 @@ return x_29; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___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_7010____spec__20(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__20(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -36571,7 +36299,7 @@ return x_11; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -36591,29 +36319,29 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___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_7010____spec__19___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_7008____spec__19___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_7010____spec__19___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___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_7010____spec__19___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__20(x_2); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__20(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -36721,7 +36449,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3___closed__2; +x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -36733,7 +36461,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3___closed__2; +x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -36757,7 +36485,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3___closed__2; +x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -36798,19 +36526,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___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_7010____spec__19___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_7008____spec__19___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___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_7008____spec__19___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -36819,11 +36547,11 @@ 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_7010____spec__19___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2; x_13 = l_instHashableString; x_14 = l_Std_PersistentHashMap_insert___rarg(x_12, x_13, x_8, x_2, x_11); x_15 = lean_st_ref_set(x_6, x_14, x_9); @@ -36847,7 +36575,7 @@ return x_19; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -36867,17 +36595,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_7010____spec__19___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_7008____spec__19___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -36900,17 +36628,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_7010____spec__19___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_7008____spec__19___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -36922,7 +36650,7 @@ return x_28; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -36944,10 +36672,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_7010____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -36961,10 +36689,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_7010____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -36981,7 +36709,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___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_7008____spec__19___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -37011,7 +36739,7 @@ return x_27; } } } -lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__22(lean_object* x_1) { +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__22(lean_object* x_1) { _start: { lean_object* x_2; @@ -37025,10 +36753,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_7010____spec__2___closed__1; +x_6 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_8 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -37048,10 +36776,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_7010____spec__2___closed__1; +x_17 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__2___closed__2; +x_19 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -37088,11 +36816,11 @@ return x_29; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__22(x_1); +x_2 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__22(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; @@ -37142,7 +36870,7 @@ return x_11; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__2(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) @@ -37162,29 +36890,29 @@ return x_4; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____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_7008____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_7010____spec__21___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_7008____spec__21___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_7010____spec__21___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___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_7010____spec__21___lambda__3___closed__1; +x_1 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3___closed__1; x_2 = lean_alloc_closure((void*)(l_Except_map___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__22(x_2); +x_5 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__22(x_2); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -37292,7 +37020,7 @@ if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = lean_ctor_get(x_13, 0); -x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__3___closed__2; +x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3___closed__2; x_29 = l_Task_Priority_default; x_30 = lean_task_map(x_28, x_27, x_29); lean_ctor_set(x_13, 0, x_30); @@ -37304,7 +37032,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean x_31 = lean_ctor_get(x_13, 0); lean_inc(x_31); lean_dec(x_13); -x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__3___closed__2; +x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3___closed__2; x_33 = l_Task_Priority_default; x_34 = lean_task_map(x_32, x_31, x_33); x_35 = lean_alloc_ctor(1, 1, 0); @@ -37328,7 +37056,7 @@ if (lean_is_exclusive(x_13)) { lean_dec_ref(x_13); x_38 = lean_box(0); } -x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__3___closed__2; +x_39 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3___closed__2; x_40 = l_Task_Priority_default; x_41 = lean_task_map(x_39, x_37, x_40); if (lean_is_scalar(x_38)) { @@ -37369,19 +37097,19 @@ return x_47; } } } -static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__4___closed__1() { +static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___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_7010____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_7008____spec__21___lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_5 = lean_alloc_closure((void*)(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___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_7008____spec__21___lambda__3), 4, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Server_requestHandlers; x_7 = lean_st_ref_take(x_6, x_4); @@ -37390,11 +37118,11 @@ 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_7010____spec__21___lambda__4___closed__1; +x_10 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__4___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_5); -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2; x_13 = l_instHashableString; x_14 = l_Std_PersistentHashMap_insert___rarg(x_12, x_13, x_8, x_2, x_11); x_15 = lean_st_ref_set(x_6, x_14, x_9); @@ -37418,7 +37146,7 @@ return x_19; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -37438,17 +37166,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_7010____spec__21___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_7008____spec__21___lambda__4(x_1, x_2, x_11, x_9); return x_12; } else { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_1); -x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_13 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -37471,17 +37199,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_7010____spec__21___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_7008____spec__21___lambda__4(x_1, x_2, x_21, x_19); return x_22; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1; +x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__5___closed__2; +x_25 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -37493,7 +37221,7 @@ return x_28; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -37515,10 +37243,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_7010____spec__1___lambda__5___closed__1; +x_9 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_11 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -37532,10 +37260,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_7010____spec__1___lambda__5___closed__1; +x_15 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___closed__1; +x_17 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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); @@ -37552,7 +37280,7 @@ x_21 = lean_ctor_get(x_4, 1); lean_inc(x_21); lean_dec(x_4); x_22 = lean_box(0); -x_23 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___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_7008____spec__21___lambda__5(x_2, x_1, x_22, x_21); return x_23; } } @@ -37582,7 +37310,7 @@ return x_27; } } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__1() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__1() { _start: { lean_object* x_1; @@ -37590,7 +37318,7 @@ x_1 = lean_mk_string("textDocument/waitForDiagnostics"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__2() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__2() { _start: { lean_object* x_1; @@ -37598,7 +37326,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_7010____closed__3() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__3() { _start: { lean_object* x_1; @@ -37606,7 +37334,7 @@ x_1 = lean_mk_string("textDocument/completion"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__4() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__4() { _start: { lean_object* x_1; @@ -37614,7 +37342,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_7010____closed__5() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__5() { _start: { lean_object* x_1; @@ -37622,7 +37350,7 @@ x_1 = lean_mk_string("textDocument/hover"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__6() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__6() { _start: { lean_object* x_1; @@ -37630,7 +37358,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_7010____closed__7() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__7() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -37641,7 +37369,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_7010____closed__8() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__8() { _start: { lean_object* x_1; @@ -37649,7 +37377,7 @@ x_1 = lean_mk_string("textDocument/declaration"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__9() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__9() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -37660,7 +37388,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_7010____closed__10() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__10() { _start: { lean_object* x_1; @@ -37668,7 +37396,7 @@ x_1 = lean_mk_string("textDocument/definition"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__11() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__11() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -37679,7 +37407,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_7010____closed__12() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__12() { _start: { lean_object* x_1; @@ -37687,7 +37415,7 @@ x_1 = lean_mk_string("textDocument/typeDefinition"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__13() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__13() { _start: { lean_object* x_1; @@ -37695,7 +37423,7 @@ x_1 = lean_mk_string("textDocument/documentHighlight"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__14() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__14() { _start: { lean_object* x_1; @@ -37703,7 +37431,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_7010____closed__15() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__15() { _start: { lean_object* x_1; @@ -37711,7 +37439,7 @@ x_1 = lean_mk_string("textDocument/documentSymbol"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__16() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__16() { _start: { lean_object* x_1; @@ -37719,7 +37447,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_7010____closed__17() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__17() { _start: { lean_object* x_1; @@ -37727,7 +37455,7 @@ x_1 = lean_mk_string("textDocument/semanticTokens/full"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__18() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__18() { _start: { lean_object* x_1; @@ -37735,7 +37463,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_7010____closed__19() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__19() { _start: { lean_object* x_1; @@ -37743,7 +37471,7 @@ x_1 = lean_mk_string("textDocument/semanticTokens/range"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__20() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__20() { _start: { lean_object* x_1; @@ -37751,7 +37479,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_7010____closed__21() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__21() { _start: { lean_object* x_1; @@ -37759,7 +37487,7 @@ x_1 = lean_mk_string("$/lean/plainGoal"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__22() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__22() { _start: { lean_object* x_1; @@ -37767,7 +37495,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_7010____closed__23() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__23() { _start: { lean_object* x_1; @@ -37775,7 +37503,7 @@ x_1 = lean_mk_string("$/lean/plainTermGoal"); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__24() { +static lean_object* _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__24() { _start: { lean_object* x_1; @@ -37783,112 +37511,112 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handlePlainTermGoal), return x_1; } } -lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010_(lean_object* x_1) { +lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008_(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_7010____closed__1; -x_3 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__2; -x_4 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1(x_2, x_3, x_1); +x_2 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__1; +x_3 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__2; +x_4 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____closed__3; -x_7 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__4; -x_8 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3(x_6, x_7, x_5); +x_6 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__3; +x_7 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__4; +x_8 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3(x_6, x_7, x_5); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); lean_dec(x_8); -x_10 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__5; -x_11 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__6; -x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5(x_10, x_11, x_9); +x_10 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__5; +x_11 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__6; +x_12 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5(x_10, x_11, x_9); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); -x_14 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__8; -x_15 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__7; -x_16 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7(x_14, x_15, x_13); +x_14 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__8; +x_15 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__7; +x_16 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7(x_14, x_15, x_13); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; 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_7010____closed__10; -x_19 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__9; -x_20 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7(x_18, x_19, x_17); +x_18 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__10; +x_19 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__9; +x_20 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7(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_7010____closed__12; -x_23 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__11; -x_24 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7(x_22, x_23, x_21); +x_22 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__12; +x_23 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__11; +x_24 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7(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_7010____closed__13; -x_27 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__14; -x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10(x_26, x_27, x_25); +x_26 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__13; +x_27 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__14; +x_28 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10(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_7010____closed__15; -x_31 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__16; -x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13(x_30, x_31, x_29); +x_30 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__15; +x_31 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__16; +x_32 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13(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_7010____closed__17; -x_35 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__18; -x_36 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15(x_34, x_35, x_33); +x_34 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__17; +x_35 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__18; +x_36 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15(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_7010____closed__19; -x_39 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__20; -x_40 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17(x_38, x_39, x_37); +x_38 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__19; +x_39 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__20; +x_40 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17(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_7010____closed__21; -x_43 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__22; -x_44 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19(x_42, x_43, x_41); +x_42 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__21; +x_43 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__22; +x_44 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19(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_7010____closed__23; -x_47 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__24; -x_48 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21(x_46, x_47, x_45); +x_46 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__23; +x_47 = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__24; +x_48 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21(x_46, x_47, x_45); return x_48; } else @@ -38145,43 +37873,43 @@ return x_92; } } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__2___boxed(lean_object* x_1) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____spec__1___lambda__2(x_1); +x_2 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__2(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____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_7008____spec__1___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___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_7008____spec__3___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___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_7008____spec__5___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -38189,20 +37917,20 @@ 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_7010____spec__9(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__9(x_4, x_5, x_3); return x_6; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____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_7008____spec__7___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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; @@ -38210,60 +37938,60 @@ 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_7010____spec__12(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__12(x_4, x_5, x_3); return x_6; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____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_7010____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_7008____spec__10___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___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_7008____spec__13___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___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_7008____spec__15___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___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_7008____spec__17___lambda__3(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___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_7008____spec__19___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___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_7008____spec__21___lambda__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -38329,22 +38057,22 @@ l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7_ lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__7___lambda__3___closed__1); l_Lean_Server_FileWorker_handleDefinition___closed__1 = _init_l_Lean_Server_FileWorker_handleDefinition___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleDefinition___closed__1); -l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__1 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__1(); -lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__1); -l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__2 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__2(); -lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__2); -l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__3 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__3(); -lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__3); -l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__4 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__4(); -lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__4); -l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__5 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__5(); -lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__5); -l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__6 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__6(); -lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__6); -l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__7 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__7(); -lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__7); -l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__8 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__8(); -lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__4___closed__8); +l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__1 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__1(); +lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__1); +l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__2 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__2(); +lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__2); +l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__3 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__3(); +lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__3); +l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__4 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__4(); +lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__4); +l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__5 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__5(); +lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__5); +l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__6 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__6(); +lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__6); +l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__7 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__7(); +lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__7); +l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__8 = _init_l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__8(); +lean_mark_persistent(l_List_mapM___at_Lean_Server_FileWorker_getInteractiveGoals___spec__3___closed__8); l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__1(); lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__1); l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___closed__2(); @@ -38515,127 +38243,127 @@ l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2 = _ini lean_mark_persistent(l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__3___closed__2); l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1 = _init_l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1); -l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2___closed__1 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2___closed__1(); -lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2___closed__1); -l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2___closed__2 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2___closed__2(); -lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__2___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__2___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__2___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__3 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__3(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__4___closed__3); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___lambda__5___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__1___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__2___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__3___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__5___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__7___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__10___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__13___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__2___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__15___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__17___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__19___lambda__4___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__3___closed__1); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__3___closed__2); -l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__21___lambda__4___closed__1); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__1 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__1); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__2 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__2); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__3 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__3); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__4 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__4); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__5 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__5(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__5); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__6 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__6(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__6); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__7 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__7(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__7); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__8 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__8(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__8); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__9 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__9(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__9); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__10 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__10(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__10); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__11 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__11(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__11); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__12 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__12(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__12); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__13 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__13(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__13); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__14 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__14(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__14); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__15 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__15(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__15); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__16 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__16(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__16); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__17 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__17(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__17); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__18 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__18(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__18); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__19 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__19(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__19); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__20 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__20(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__20); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__21 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__21(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__21); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__22 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__22(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__22); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__23 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__23(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__23); -l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__24 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__24(); -lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____closed__24); -res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010_(lean_io_mk_world()); +l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__2___closed__1 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__2___closed__1(); +lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__2___closed__1); +l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__2___closed__2 = _init_l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__2___closed__2(); +lean_mark_persistent(l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__2___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__2___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__2___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__3 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__4___closed__3); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__5___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__5___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__5___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___lambda__5___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__1___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__2___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__3___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__5___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__7___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__10___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__13___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__2___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__15___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__17___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__19___lambda__4___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3___closed__1); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3___closed__2 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__3___closed__2); +l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__4___closed__1 = _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__21___lambda__4___closed__1); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__1 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__1); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__2 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__2); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__3 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__3); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__4 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__4); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__5 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__5(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__5); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__6 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__6(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__6); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__7 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__7(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__7); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__8 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__8(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__8); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__9 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__9(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__9); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__10 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__10(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__10); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__11 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__11(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__11); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__12 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__12(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__12); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__13 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__13(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__13); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__14 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__14(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__14); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__15 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__15(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__15); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__16 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__16(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__16); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__17 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__17(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__17); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__18 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__18(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__18); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__19 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__19(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__19); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__20 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__20(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__20); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__21 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__21(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__21); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__22 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__22(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__22); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__23 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__23(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__23); +l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__24 = _init_l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__24(); +lean_mark_persistent(l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____closed__24); +res = l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008_(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 35999209e6..4dd99d7f5e 100644 --- a/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c +++ b/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c @@ -110,6 +110,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_F static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_851____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_821____spec__4___closed__1; lean_object* l_Lean_Widget_getInteractiveDiagnostics___rarg___lambda__2(lean_object*); lean_object* l_Lean_Server_registerRpcCallHandler___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_209____spec__1___lambda__7(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_7008____spec__22(lean_object*); static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_209____closed__2; lean_object* l_Lean_Widget_Lean_Widget_InfoPopup_instFromJsonRpcEncodingPacket; static lean_object* l_Lean_Server_registerRpcCallHandler___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_209____spec__1___lambda__5___closed__1; @@ -130,7 +131,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_initFn____x40_Lean_Server_F static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_Lean_Widget_InfoPopup_fromJsonRpcEncodingPacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_322____closed__1; lean_object* l_Lean_Widget_Lean_Widget_InfoPopup_instRpcEncodingInfoPopupRpcEncodingPacket___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Widget_Lean_Widget_InfoPopup_instRpcEncodingInfoPopupRpcEncodingPacket___lambda__5(lean_object*, 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_7010____spec__22(lean_object*); static lean_object* l_Lean_Server_registerRpcCallHandler___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_209____spec__1___closed__1; lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_209____spec__6(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_851____at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_821____spec__4___closed__7; @@ -339,11 +339,11 @@ lean_object* l_Lean_Widget_Lean_Widget_InfoPopup_instRpcEncodingInfoPopupRpcEnco lean_object* l_Lean_Server_registerRpcCallHandler___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_525____spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_525____lambda__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_525____lambda__3(lean_object*, lean_object*, 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_7010____spec__20(lean_object*); static lean_object* l_Lean_Widget_getInteractiveDiagnostics___rarg___closed__2; static lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_209____spec__4___rarg___closed__4; static lean_object* l_Lean_Widget_Lean_Widget_InfoPopup_instRpcEncodingInfoPopupRpcEncodingPacket___closed__2; static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_732____closed__5; +lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__20(lean_object*); lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_1594____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InfoPopup_instRpcEncodingInfoPopupRpcEncodingPacket___spec__16(lean_object*); lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InfoPopup_instRpcEncodingInfoPopupRpcEncodingPacket___spec__15(lean_object*); @@ -8936,7 +8936,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_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__20(x_3); +x_14 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__20(x_3); x_15 = lean_alloc_closure((void*)(l_Lean_Server_registerRpcCallHandler___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_209____spec__1___lambda__1___boxed), 3, 1); lean_closure_set(x_15, 0, x_14); x_16 = l_Lean_Server_registerRpcCallHandler___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_732____spec__1___lambda__3___closed__1; @@ -9634,7 +9634,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_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7010____spec__22(x_3); +x_14 = l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_7008____spec__22(x_3); x_15 = lean_alloc_closure((void*)(l_Lean_Server_registerRpcCallHandler___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_209____spec__1___lambda__1___boxed), 3, 1); lean_closure_set(x_15, 0, x_14); x_16 = l_Lean_Server_registerRpcCallHandler___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_732____spec__1___lambda__3___closed__1; diff --git a/stage0/stdlib/Lean/Widget/InteractiveCode.c b/stage0/stdlib/Lean/Widget/InteractiveCode.c index 3b0fa9e588..a62fb0a528 100644 --- a/stage0/stdlib/Lean/Widget/InteractiveCode.c +++ b/stage0/stdlib/Lean/Widget/InteractiveCode.c @@ -388,19 +388,17 @@ return x_3; static lean_object* _init_l_Lean_Widget_instInhabitedInfoWithCtx___closed__19() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l_Lean_Widget_instInhabitedInfoWithCtx___closed__18; x_3 = l_Lean_Widget_instInhabitedInfoWithCtx___closed__12; -x_4 = 0; -x_5 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_5, 0, x_2); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_1); -lean_ctor_set(x_5, 3, x_3); -lean_ctor_set(x_5, 4, x_1); -lean_ctor_set_uint8(x_5, sizeof(void*)*5, x_4); -return x_5; +x_4 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set(x_4, 2, x_1); +lean_ctor_set(x_4, 3, x_3); +lean_ctor_set(x_4, 4, x_1); +return x_4; } } static lean_object* _init_l_Lean_Widget_instInhabitedInfoWithCtx___closed__20() { diff --git a/stage0/stdlib/Lean/Widget/InteractiveGoal.c b/stage0/stdlib/Lean/Widget/InteractiveGoal.c index 9f4b250319..02f132be13 100644 --- a/stage0/stdlib/Lean/Widget/InteractiveGoal.c +++ b/stage0/stdlib/Lean/Widget/InteractiveGoal.c @@ -313,7 +313,7 @@ static lean_object* l_Lean_Widget_InteractiveGoal_pretty___closed__3; lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__40___rarg___lambda__1(lean_object*, lean_object*, size_t); lean_object* l_Lean_Widget_goalToInteractive_ppVars_match__1(lean_object*); lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__18___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -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_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* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodingInteractiveGoalRpcEncodingPacket___spec__6___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InteractiveHypothesis_instRpcEncodingInteractiveHypothesisRpcEncodingPacket___spec__18(lean_object*); @@ -503,7 +503,6 @@ lean_object* l_Lean_Widget_InteractiveGoal_pretty_match__2(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__6___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_goalToInteractive___closed__1; lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InteractiveHypothesis_instRpcEncodingInteractiveHypothesisRpcEncodingPacket___spec__13(lean_object*); -lean_object* l_Lean_Widget_goalToInteractive___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesis_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_136_(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__3___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); @@ -601,7 +600,6 @@ lean_object* l_Lean_Widget_instInhabitedInteractiveTermGoal; static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_1077____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Widget_goalToInteractive___spec__7(uint8_t, 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___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_344____at___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesis_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveGoal___hyg_78____spec__2___lambda__1___boxed(lean_object*); -lean_object* l_Lean_Meta_getGoalTarget(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Widget_goalToInteractive___spec__4(uint8_t, 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_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__18(lean_object*); lean_object* l_Lean_MetavarContext_findDecl_x3f(lean_object*, lean_object*); @@ -653,7 +651,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypo static lean_object* l_Lean_Widget_goalToInteractive_ppVars___closed__1; lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InteractiveHypothesis_instRpcEncodingInteractiveHypothesisRpcEncodingPacket___spec__11(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_439____spec__1(size_t, size_t, lean_object*); -lean_object* l_Lean_Widget_goalToInteractive___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Widget_goalToInteractive___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoal_pretty___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_InfoWithCtx_encodeUnsafe____x40_Lean_Widget_InteractiveCode___hyg_5____rarg(lean_object*, lean_object*, lean_object*); @@ -757,7 +755,7 @@ static lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodingIn lean_object* l_Lean_LocalContext_sanitizeNames(lean_object*, lean_object*); lean_object* l_ExceptT_bindCont___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodingInteractiveTermGoalRpcEncodingPacket___spec__35(lean_object*); lean_object* l_Lean_Widget_goalToInteractive_ppVars(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_goalToInteractive(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Widget_goalToInteractive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesis_instRpcEncodingInteractiveHypothesisRpcEncodingPacket___spec__3___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodingInteractiveGoalsRpcEncodingPacket___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesis_instRpcEncodingInteractiveHypothesisRpcEncodingPacket___spec__2___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t); @@ -22310,303 +22308,306 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Lean_Widget_goalToInteractive___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Widget_goalToInteractive___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_11; -lean_inc(x_9); +lean_object* x_10; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_11 = l_Lean_Meta_ToHide_collect(x_1, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) +lean_inc(x_5); +lean_inc(x_1); +x_10 = l_Lean_Meta_ToHide_collect(x_1, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_12 = lean_ctor_get(x_11, 0); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_ctor_get(x_12, 0); +x_14 = lean_ctor_get(x_11, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_dec(x_12); -x_16 = lean_box(0); -x_17 = l_Lean_Widget_goalToInteractive___lambda__1___closed__2; -x_18 = lean_unsigned_to_nat(0u); -lean_inc(x_9); +lean_dec(x_11); +x_15 = lean_box(0); +x_16 = l_Lean_Widget_goalToInteractive___lambda__1___closed__2; +x_17 = lean_unsigned_to_nat(0u); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_19 = l_Lean_LocalContext_foldlM___at_Lean_Widget_goalToInteractive___spec__2(x_2, x_14, x_15, x_3, x_17, x_18, x_6, x_7, x_8, x_9, x_13); -lean_dec(x_15); +lean_inc(x_5); +x_18 = l_Lean_LocalContext_foldlM___at_Lean_Widget_goalToInteractive___spec__2(x_2, x_13, x_14, x_3, x_16, x_17, x_5, x_6, x_7, x_8, x_12); lean_dec(x_14); -if (lean_obj_tag(x_19) == 0) +lean_dec(x_13); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_20 = lean_ctor_get(x_19, 0); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); -x_21 = lean_ctor_get(x_20, 1); +x_21 = lean_ctor_get(x_18, 1); lean_inc(x_21); -x_22 = lean_ctor_get(x_19, 1); +lean_dec(x_18); +x_22 = lean_ctor_get(x_19, 0); lean_inc(x_22); lean_dec(x_19); x_23 = lean_ctor_get(x_20, 0); lean_inc(x_23); -lean_dec(x_20); -x_24 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_20, 1); lean_inc(x_24); -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_dec(x_21); -lean_inc(x_9); +lean_dec(x_20); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_26 = l_Lean_Widget_goalToInteractive_pushPending(x_23, x_24, x_25, x_6, x_7, x_8, x_9, x_22); -if (lean_obj_tag(x_26) == 0) +lean_inc(x_5); +x_25 = l_Lean_Widget_goalToInteractive_pushPending(x_22, x_23, x_24, x_5, x_6, x_7, x_8, x_21); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_26, 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); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -lean_inc(x_9); +lean_dec(x_25); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_4); -x_29 = l_Lean_Meta_getGoalTarget(x_4, x_5, x_6, x_7, x_8, x_9, x_28); -if (lean_obj_tag(x_29) == 0) +lean_inc(x_5); +x_28 = l_Lean_Meta_instantiateMVars(x_1, x_5, x_6, x_7, x_8, x_27); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_29, 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); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Widget_exprToInteractive(x_30, x_6, x_7, x_8, x_9, x_31); +lean_dec(x_28); +x_31 = l_Lean_Widget_exprToInteractive(x_29, x_5, x_6, x_7, x_8, x_30); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_4, 0); +lean_inc(x_32); +lean_dec(x_4); if (lean_obj_tag(x_32) == 0) { -lean_object* x_33; -x_33 = lean_ctor_get(x_4, 0); -lean_inc(x_33); -lean_dec(x_4); -if (lean_obj_tag(x_33) == 0) +uint8_t x_33; +x_33 = !lean_is_exclusive(x_31); +if (x_33 == 0) { -uint8_t x_34; -x_34 = !lean_is_exclusive(x_32); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_32, 0); -x_36 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_36, 0, x_27); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_36, 2, x_16); -lean_ctor_set(x_32, 0, x_36); -return x_32; +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 0); +x_35 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_15); +lean_ctor_set(x_31, 0, x_35); +return x_31; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_32, 0); -x_38 = lean_ctor_get(x_32, 1); -lean_inc(x_38); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_31, 0); +x_37 = lean_ctor_get(x_31, 1); lean_inc(x_37); -lean_dec(x_32); -x_39 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_39, 0, x_27); +lean_inc(x_36); +lean_dec(x_31); +x_38 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_38, 0, x_26); +lean_ctor_set(x_38, 1, x_36); +lean_ctor_set(x_38, 2, x_15); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); -lean_ctor_set(x_39, 2, x_16); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -return x_40; +return x_39; } } else { -uint8_t x_41; -x_41 = !lean_is_exclusive(x_32); -if (x_41 == 0) +uint8_t x_40; +x_40 = !lean_is_exclusive(x_31); +if (x_40 == 0) { -lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_42 = lean_ctor_get(x_32, 0); -x_43 = lean_erase_macro_scopes(x_33); -x_44 = 1; -x_45 = l_Lean_Name_toString(x_43, x_44); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_45); -x_47 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_47, 0, x_27); -lean_ctor_set(x_47, 1, x_42); -lean_ctor_set(x_47, 2, x_46); -lean_ctor_set(x_32, 0, x_47); -return x_32; +lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_41 = lean_ctor_get(x_31, 0); +x_42 = lean_erase_macro_scopes(x_32); +x_43 = 1; +x_44 = l_Lean_Name_toString(x_42, x_43); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_46 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_46, 0, x_26); +lean_ctor_set(x_46, 1, x_41); +lean_ctor_set(x_46, 2, x_45); +lean_ctor_set(x_31, 0, x_46); +return x_31; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_48 = lean_ctor_get(x_32, 0); -x_49 = lean_ctor_get(x_32, 1); -lean_inc(x_49); +lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_47 = lean_ctor_get(x_31, 0); +x_48 = lean_ctor_get(x_31, 1); lean_inc(x_48); -lean_dec(x_32); -x_50 = lean_erase_macro_scopes(x_33); -x_51 = 1; -x_52 = l_Lean_Name_toString(x_50, x_51); -x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_52); -x_54 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_54, 0, x_27); +lean_inc(x_47); +lean_dec(x_31); +x_49 = lean_erase_macro_scopes(x_32); +x_50 = 1; +x_51 = l_Lean_Name_toString(x_49, x_50); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_53, 0, x_26); +lean_ctor_set(x_53, 1, x_47); +lean_ctor_set(x_53, 2, x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_48); -lean_ctor_set(x_54, 2, x_53); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_49); -return x_55; +return x_54; } } } else { -uint8_t x_56; -lean_dec(x_27); -lean_dec(x_4); -x_56 = !lean_is_exclusive(x_32); -if (x_56 == 0) -{ -return x_32; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_32, 0); -x_58 = lean_ctor_get(x_32, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_32); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -} -else -{ -uint8_t x_60; -lean_dec(x_27); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -x_60 = !lean_is_exclusive(x_29); -if (x_60 == 0) -{ -return x_29; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_29, 0); -x_62 = lean_ctor_get(x_29, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_29); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; -} -} -} -else -{ -uint8_t x_64; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -x_64 = !lean_is_exclusive(x_26); -if (x_64 == 0) -{ -return x_26; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_26, 0); -x_66 = lean_ctor_get(x_26, 1); -lean_inc(x_66); -lean_inc(x_65); +uint8_t x_55; lean_dec(x_26); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; -} -} -} -else -{ -uint8_t x_68; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_4); -x_68 = !lean_is_exclusive(x_19); -if (x_68 == 0) +x_55 = !lean_is_exclusive(x_31); +if (x_55 == 0) { -return x_19; +return x_31; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_19, 0); -x_70 = lean_ctor_get(x_19, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_19); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_31, 0); +x_57 = lean_ctor_get(x_31, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_31); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } else { -uint8_t x_72; -lean_dec(x_9); +uint8_t x_59; +lean_dec(x_26); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_59 = !lean_is_exclusive(x_28); +if (x_59 == 0) +{ +return x_28; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_28, 0); +x_61 = lean_ctor_get(x_28, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_28); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +else +{ +uint8_t x_63; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_63 = !lean_is_exclusive(x_25); +if (x_63 == 0) +{ +return x_25; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_25, 0); +x_65 = lean_ctor_get(x_25, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_25); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +else +{ +uint8_t x_67; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_67 = !lean_is_exclusive(x_18); +if (x_67 == 0) +{ +return x_18; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_18, 0); +x_69 = lean_ctor_get(x_18, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_18); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +} +else +{ +uint8_t x_71; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_72 = !lean_is_exclusive(x_11); -if (x_72 == 0) +lean_dec(x_1); +x_71 = !lean_is_exclusive(x_10); +if (x_71 == 0) { -return x_11; +return x_10; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_11, 0); -x_74 = lean_ctor_get(x_11, 1); -lean_inc(x_74); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_10, 0); +x_73 = lean_ctor_get(x_10, 1); lean_inc(x_73); -lean_dec(x_11); -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_inc(x_72); +lean_dec(x_10); +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; } } } @@ -22637,82 +22638,80 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Widget_goalToInteractive(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Widget_goalToInteractive(lean_object* x_1, 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; lean_object* x_13; lean_object* x_14; -x_8 = lean_st_ref_get(x_6, x_7); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_st_ref_get(x_4, x_9); -x_11 = lean_ctor_get(x_10, 0); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_st_ref_get(x_3, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); lean_inc(x_12); lean_dec(x_10); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); lean_inc(x_1); -x_14 = l_Lean_MetavarContext_findDecl_x3f(x_13, x_1); -if (lean_obj_tag(x_14) == 0) +x_13 = l_Lean_MetavarContext_findDecl_x3f(x_12, x_1); +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_object* x_20; -x_15 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_15, 0, x_1); -x_16 = l_Lean_Widget_goalToInteractive___closed__2; -x_17 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_Widget_goalToInteractive___closed__3; -x_19 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_throwError___at_Lean_Widget_goalToInteractive___spec__1(x_19, x_3, x_4, x_5, x_6, x_12); -lean_dec(x_6); +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_alloc_ctor(4, 1, 0); +lean_ctor_set(x_14, 0, x_1); +x_15 = l_Lean_Widget_goalToInteractive___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_Widget_goalToInteractive___closed__3; +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_throwError___at_Lean_Widget_goalToInteractive___spec__1(x_18, x_2, x_3, x_4, x_5, x_11); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_20; +lean_dec(x_2); +return x_19; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_dec(x_1); -x_21 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_13, 0); +lean_inc(x_20); +lean_dec(x_13); +x_21 = lean_ctor_get(x_4, 0); lean_inc(x_21); -lean_dec(x_14); -x_22 = lean_ctor_get(x_5, 0); -lean_inc(x_22); -x_23 = l_Lean_Meta_pp_auxDecls; -x_24 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_22, x_23); -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -x_26 = lean_box(0); -x_27 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_27, 0, x_22); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_27, 2, x_26); -x_28 = l_Lean_LocalContext_sanitizeNames(x_25, x_27); -x_29 = lean_ctor_get(x_28, 0); +x_22 = l_Lean_Meta_pp_auxDecls; +x_23 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_21, x_22); +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_26, 0, x_21); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 2, x_25); +x_27 = l_Lean_LocalContext_sanitizeNames(x_24, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_ctor_get(x_20, 4); lean_inc(x_29); -lean_dec(x_28); -x_30 = lean_ctor_get(x_21, 4); +x_30 = lean_ctor_get(x_20, 2); lean_inc(x_30); -x_31 = lean_ctor_get(x_21, 2); -lean_inc(x_31); -x_32 = lean_box(x_24); -x_33 = lean_box(x_2); -lean_inc(x_29); -x_34 = lean_alloc_closure((void*)(l_Lean_Widget_goalToInteractive___lambda__1___boxed), 10, 5); -lean_closure_set(x_34, 0, x_31); -lean_closure_set(x_34, 1, x_32); -lean_closure_set(x_34, 2, x_29); -lean_closure_set(x_34, 3, x_21); -lean_closure_set(x_34, 4, x_33); -x_35 = l_Lean_Meta_withLCtx___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkLeveErrorMessageCore___spec__1___rarg(x_29, x_30, x_34, x_3, x_4, x_5, x_6, x_12); -return x_35; +x_31 = lean_box(x_23); +lean_inc(x_28); +x_32 = lean_alloc_closure((void*)(l_Lean_Widget_goalToInteractive___lambda__1___boxed), 9, 4); +lean_closure_set(x_32, 0, x_30); +lean_closure_set(x_32, 1, x_31); +lean_closure_set(x_32, 2, x_28); +lean_closure_set(x_32, 3, x_20); +x_33 = l_Lean_Meta_withLCtx___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkLeveErrorMessageCore___spec__1___rarg(x_28, x_29, x_32, x_2, x_3, x_4, x_5, x_11); +return x_33; } } } @@ -22946,26 +22945,14 @@ lean_dec(x_2); return x_13; } } -lean_object* l_Lean_Widget_goalToInteractive___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Widget_goalToInteractive___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_11; uint8_t x_12; lean_object* x_13; -x_11 = lean_unbox(x_2); +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Lean_Widget_goalToInteractive___lambda__1(x_1, x_11, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -lean_object* l_Lean_Widget_goalToInteractive___boxed(lean_object* x_1, lean_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_Widget_goalToInteractive(x_1, x_8, x_3, x_4, x_5, x_6, x_7); -return x_9; +x_11 = l_Lean_Widget_goalToInteractive___lambda__1(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; } } lean_object* initialize_Init(lean_object*);