chore: update stage0
This commit is contained in:
parent
8e07e80f72
commit
ce0a0166e8
43 changed files with 61314 additions and 21769 deletions
3
stage0/src/Init/Data/List/Control.lean
generated
3
stage0/src/Init/Data/List/Control.lean
generated
|
|
@ -193,4 +193,7 @@ instance : ForM m (List α) α where
|
|||
@[simp] theorem forM_cons [Monad m] (f : α → m PUnit) (a : α) (as : List α) : forM (a::as) f = f a >>= fun _ => forM as f :=
|
||||
rfl
|
||||
|
||||
instance : Functor List where
|
||||
map := List.map
|
||||
|
||||
end List
|
||||
|
|
|
|||
5
stage0/src/Init/NotationExtra.lean
generated
5
stage0/src/Init/NotationExtra.lean
generated
|
|
@ -262,6 +262,11 @@ syntax "repeat " doSeq : doElem
|
|||
macro_rules
|
||||
| `(doElem| repeat $seq) => `(doElem| for _ in Loop.mk do $seq)
|
||||
|
||||
syntax "while " ident " : " termBeforeDo " do " doSeq : doElem
|
||||
|
||||
macro_rules
|
||||
| `(doElem| while $h : $cond do $seq) => `(doElem| repeat if $h : $cond then $seq else break)
|
||||
|
||||
syntax "while " termBeforeDo " do " doSeq : doElem
|
||||
|
||||
macro_rules
|
||||
|
|
|
|||
15
stage0/src/Init/Prelude.lean
generated
15
stage0/src/Init/Prelude.lean
generated
|
|
@ -316,6 +316,7 @@ theorem of_decide_eq_self_eq_true [inst : DecidableEq α] (a : α) : Eq (decide
|
|||
| true, true => isTrue rfl
|
||||
|
||||
class BEq (α : Type u) where
|
||||
/-- Boolean equality. -/
|
||||
beq : α → α → Bool
|
||||
|
||||
open BEq (beq)
|
||||
|
|
@ -379,6 +380,7 @@ instance [dp : Decidable p] : Decidable (Not p) :=
|
|||
| true => false
|
||||
| false => true
|
||||
|
||||
/-- The type of natural numbers. `0`, `1`, `2`, ...-/
|
||||
inductive Nat where
|
||||
| zero : Nat
|
||||
| succ (n : Nat) : Nat
|
||||
|
|
@ -799,12 +801,15 @@ instance : Sub Nat where
|
|||
@[extern "lean_system_platform_nbits"] opaque System.Platform.getNumBits : Unit → Subtype fun (n : Nat) => Or (Eq n 32) (Eq n 64) :=
|
||||
fun _ => ⟨64, Or.inr rfl⟩ -- inhabitant
|
||||
|
||||
/-- Gets the word size of the platform.
|
||||
That is, whether the platform is 64 or 32 bits. -/
|
||||
def System.Platform.numBits : Nat :=
|
||||
(getNumBits ()).val
|
||||
|
||||
theorem System.Platform.numBits_eq : Or (Eq numBits 32) (Eq numBits 64) :=
|
||||
(getNumBits ()).property
|
||||
|
||||
/-- `Fin n` is a natural number `i` with the constraint that `0 ≤ i < n`. -/
|
||||
structure Fin (n : Nat) where
|
||||
val : Nat
|
||||
isLt : LT.lt val n
|
||||
|
|
@ -834,6 +839,7 @@ instance Fin.decLt {n} (a b : Fin n) : Decidable (LT.lt a b) := Nat.decLt ..
|
|||
instance Fin.decLe {n} (a b : Fin n) : Decidable (LE.le a b) := Nat.decLe ..
|
||||
|
||||
def UInt8.size : Nat := 256
|
||||
/-- Unsigned 8-bit integer. -/
|
||||
structure UInt8 where
|
||||
val : Fin UInt8.size
|
||||
|
||||
|
|
@ -858,6 +864,7 @@ instance : Inhabited UInt8 where
|
|||
default := UInt8.ofNatCore 0 (by decide)
|
||||
|
||||
def UInt16.size : Nat := 65536
|
||||
/-- Unsigned 16-bit integer. -/
|
||||
structure UInt16 where
|
||||
val : Fin UInt16.size
|
||||
|
||||
|
|
@ -882,6 +889,7 @@ instance : Inhabited UInt16 where
|
|||
default := UInt16.ofNatCore 0 (by decide)
|
||||
|
||||
def UInt32.size : Nat := 4294967296
|
||||
/-- Unsigned, 32-bit integer. -/
|
||||
structure UInt32 where
|
||||
val : Fin UInt32.size
|
||||
|
||||
|
|
@ -930,6 +938,7 @@ instance (a b : UInt32) : Decidable (LT.lt a b) := UInt32.decLt a b
|
|||
instance (a b : UInt32) : Decidable (LE.le a b) := UInt32.decLe a b
|
||||
|
||||
def UInt64.size : Nat := 18446744073709551616
|
||||
/-- Unsigned, 64-bit integer. -/
|
||||
structure UInt64 where
|
||||
val : Fin UInt64.size
|
||||
|
||||
|
|
@ -961,6 +970,12 @@ theorem usize_size_eq : Or (Eq USize.size 4294967296) (Eq USize.size 18446744073
|
|||
| _, Or.inl rfl => Or.inl (by decide)
|
||||
| _, Or.inr rfl => Or.inr (by decide)
|
||||
|
||||
/-- A USize is an unsigned integer with the size of a word
|
||||
for the platform's architecture.
|
||||
|
||||
For example, if running on a 32-bit machine, USize is equivalent to UInt32.
|
||||
Or on a 64-bit machine, UInt64.
|
||||
-/
|
||||
structure USize where
|
||||
val : Fin USize.size
|
||||
|
||||
|
|
|
|||
14
stage0/src/Lean/Data/Lsp/LanguageFeatures.lean
generated
14
stage0/src/Lean/Data/Lsp/LanguageFeatures.lean
generated
|
|
@ -252,6 +252,7 @@ inductive SemanticTokenType where
|
|||
| regexp
|
||||
| operator
|
||||
| decorator
|
||||
deriving ToJson, FromJson
|
||||
|
||||
-- must be in the same order as the constructors
|
||||
def SemanticTokenType.names : Array String :=
|
||||
|
|
@ -263,6 +264,11 @@ def SemanticTokenType.names : Array String :=
|
|||
def SemanticTokenType.toNat (type : SemanticTokenType) : Nat :=
|
||||
type.toCtorIdx
|
||||
|
||||
-- sanity check
|
||||
example {v : SemanticTokenType} : open SemanticTokenType in
|
||||
names[v.toNat]?.map (toString <| toJson ·) = some (toString <| toJson v) := by
|
||||
cases v <;> native_decide
|
||||
|
||||
/--
|
||||
The semantic token modifiers included by default in the LSP specification.
|
||||
Not used by the Lean core, but implementing them here allows them to be
|
||||
|
|
@ -279,15 +285,21 @@ inductive SemanticTokenModifier where
|
|||
| modification
|
||||
| documentation
|
||||
| defaultLibrary
|
||||
deriving ToJson, FromJson
|
||||
|
||||
-- must be in the same order as the constructors
|
||||
def SemanticTokenModifier.names : Array String :=
|
||||
#["declaration", "definition", "readonly", "static", "deprecated", "abstract",
|
||||
"async", "modification", "documentation", "defaultLibrary"]
|
||||
|
||||
def SemanticTokenModifier.toNat (modifier : SemanticTokenType) : Nat :=
|
||||
def SemanticTokenModifier.toNat (modifier : SemanticTokenModifier) : Nat :=
|
||||
modifier.toCtorIdx
|
||||
|
||||
-- sanity check
|
||||
example {v : SemanticTokenModifier} : open SemanticTokenModifier in
|
||||
names[v.toNat]?.map (toString <| toJson ·) = some (toString <| toJson v) := by
|
||||
cases v <;> native_decide
|
||||
|
||||
structure SemanticTokensLegend where
|
||||
tokenTypes : Array String
|
||||
tokenModifiers : Array String
|
||||
|
|
|
|||
12
stage0/src/Lean/Elab/Declaration.lean
generated
12
stage0/src/Lean/Elab/Declaration.lean
generated
|
|
@ -332,14 +332,12 @@ def elabMutual : CommandElab := fun stx => do
|
|||
if let (some id, some type) := (id?, type?) then
|
||||
let `(Parser.Command.declModifiersT| $[$doc?:docComment]? $[@[$attrs?,*]]? $(vis?)? $[unsafe%$unsafe?]?) := stx[0]
|
||||
| Macro.throwErrorAt declModifiers "invalid initialization command, unexpected modifiers"
|
||||
let declModifiers ← `(Parser.Command.declModifiersT| $[$doc?:docComment]? @[$attrId:ident initFn, $(attrs?.getD ∅),*] $(vis?)? $[unsafe%$unsafe?]?)
|
||||
`(def initFn : IO $type := do $doSeq
|
||||
$(⟨declModifiers⟩):declModifiers opaque $id : $type)
|
||||
`($[unsafe%$unsafe?]? def initFn : IO $type := do $doSeq
|
||||
$[$doc?:docComment]? @[$attrId:ident initFn, $(attrs?.getD ∅),*] $(vis?)? opaque $id : $type)
|
||||
else
|
||||
if let `(Parser.Command.declModifiersT| ) := declModifiers then
|
||||
`(@[$attrId:ident] def initFn : IO Unit := do $doSeq)
|
||||
else
|
||||
Macro.throwErrorAt declModifiers "invalid initialization command, unexpected modifiers"
|
||||
let `(Parser.Command.declModifiersT| ) := declModifiers
|
||||
| Macro.throwErrorAt declModifiers "invalid initialization command, unexpected modifiers"
|
||||
`(@[$attrId:ident] def initFn : IO Unit := do $doSeq)
|
||||
| _ => Macro.throwUnsupported
|
||||
|
||||
builtin_initialize
|
||||
|
|
|
|||
14
stage0/src/Lean/Elab/Tactic/Basic.lean
generated
14
stage0/src/Lean/Elab/Tactic/Basic.lean
generated
|
|
@ -100,8 +100,8 @@ def run (mvarId : MVarId) (x : TacticM Unit) : TermElabM (List MVarId) :=
|
|||
protected def saveState : TacticM SavedState :=
|
||||
return { term := (← Term.saveState), tactic := (← get) }
|
||||
|
||||
def SavedState.restore (b : SavedState) : TacticM Unit := do
|
||||
b.term.restore
|
||||
def SavedState.restore (b : SavedState) (restoreInfo := false) : TacticM Unit := do
|
||||
b.term.restore restoreInfo
|
||||
set b.tactic
|
||||
|
||||
protected def getCurrMacroScope : TacticM MacroScope := do pure (← readThe Core.Context).currMacroScope
|
||||
|
|
@ -170,7 +170,7 @@ where
|
|||
let exs := failures.filterMap fun | .abort _ => none | .exception ex => some ex
|
||||
if exs.isEmpty then
|
||||
if let some (.abort s) := failures.find? fun | .abort _ => true | _ => false then
|
||||
s.restore
|
||||
s.restore (restoreInfo := true)
|
||||
throwAbortTactic
|
||||
else
|
||||
throwErrorAt stx "unexpected syntax {indentD stx}"
|
||||
|
|
@ -181,14 +181,14 @@ where
|
|||
|
||||
@[inline] handleEx (s : SavedState) (failures : Array EvalTacticFailure) (ex : Exception) (k : Array EvalTacticFailure → TacticM Unit) := do
|
||||
match ex with
|
||||
| .error .. => s.restore; k (failures.push (.exception ex))
|
||||
| .error .. => s.restore (restoreInfo := true); k (failures.push (.exception ex))
|
||||
| .internal id _ =>
|
||||
if id == unsupportedSyntaxExceptionId then
|
||||
-- We do not store `unsupportedSyntaxExceptionId`, see throwExs
|
||||
s.restore; k failures
|
||||
s.restore (restoreInfo := true); k failures
|
||||
else if id == abortTacticExceptionId then
|
||||
let failures := failures.push (.abort (← Tactic.saveState))
|
||||
s.restore; k failures
|
||||
s.restore (restoreInfo := true); k failures
|
||||
else
|
||||
throw ex -- (*)
|
||||
|
||||
|
|
@ -365,6 +365,8 @@ def closeMainGoal (val : Expr) (checkUnassigned := true): TacticM Unit := do
|
|||
replaceMainGoal mvarIds
|
||||
pure a
|
||||
|
||||
/-- Get the mvarid of the main goal, run the given `tactic`,
|
||||
then set the new goals to be the resulting goal list.-/
|
||||
@[inline] def liftMetaTactic (tactic : MVarId → MetaM (List MVarId)) : TacticM Unit :=
|
||||
liftMetaTacticAux fun mvarId => do
|
||||
let gs ← tactic mvarId
|
||||
|
|
|
|||
5
stage0/src/Lean/Elab/Tactic/Conv/Basic.lean
generated
5
stage0/src/Lean/Elab/Tactic/Conv/Basic.lean
generated
|
|
@ -12,6 +12,8 @@ import Lean.Elab.Tactic.BuiltinTactic
|
|||
namespace Lean.Elab.Tactic.Conv
|
||||
open Meta
|
||||
|
||||
/-- Given `lhs`, returns a pair of metavariables `(?rhs, ?newGoal)`
|
||||
where `?newGoal : lhs = ?rhs`.-/
|
||||
def mkConvGoalFor (lhs : Expr) : MetaM (Expr × Expr) := do
|
||||
let lhsType ← inferType lhs
|
||||
let rhs ← mkFreshExprMVar lhsType
|
||||
|
|
@ -25,6 +27,9 @@ def markAsConvGoal (mvarId : MVarId) : MetaM MVarId := do
|
|||
return mvarId -- it is already tagged as LHS goal
|
||||
replaceTargetDefEq mvarId (mkLHSGoal (← getMVarType mvarId))
|
||||
|
||||
/-- Given `lhs`, runs the `conv` tactic with the goal `⊢ lhs = ?rhs`.
|
||||
`conv` should produce no remaining goals that are not solvable with refl.
|
||||
Returns a pair of instantiated expressions `(?rhs, ?p)` where `?p : lhs = ?rhs`. -/
|
||||
def convert (lhs : Expr) (conv : TacticM Unit) : TacticM (Expr × Expr) := do
|
||||
let (rhs, newGoal) ← mkConvGoalFor lhs
|
||||
let savedGoals ← getGoals
|
||||
|
|
|
|||
11
stage0/src/Lean/Elab/Tactic/Location.lean
generated
11
stage0/src/Lean/Elab/Tactic/Location.lean
generated
|
|
@ -8,9 +8,13 @@ import Lean.Elab.Tactic.ElabTerm
|
|||
|
||||
namespace Lean.Elab.Tactic
|
||||
|
||||
/-- Denotes a set of locations where a tactic should be applied for the main goal. See also `withLocation`. -/
|
||||
inductive Location where
|
||||
| wildcard
|
||||
| targets (hypotheses : Array Syntax) (type : Bool)
|
||||
| /-- Apply the tactic everywhere. -/
|
||||
wildcard
|
||||
| /-- `hypotheses` are hypothesis names in the main goal that the tactic should be applied to.
|
||||
If `type` is true, then the tactic should also be applied to the target type. -/
|
||||
targets (hypotheses : Array Syntax) (type : Bool)
|
||||
|
||||
/-
|
||||
Recall that
|
||||
|
|
@ -35,6 +39,9 @@ def expandOptLocation (stx : Syntax) : Location :=
|
|||
|
||||
open Meta
|
||||
|
||||
/-- Runs the given `atLocal` and `atTarget` methods on each of the locations selected by the given `loc`.
|
||||
If any of the selected tactic applications fail, it will call `failed` with the main goal mvar.
|
||||
-/
|
||||
def withLocation (loc : Location) (atLocal : FVarId → TacticM Unit) (atTarget : TacticM Unit) (failed : MVarId → TacticM Unit) : TacticM Unit := do
|
||||
match loc with
|
||||
| Location.targets hyps type =>
|
||||
|
|
|
|||
4
stage0/src/Lean/Elab/Tactic/Simp.lean
generated
4
stage0/src/Lean/Elab/Tactic/Simp.lean
generated
|
|
@ -126,11 +126,11 @@ inductive ResolveSimpIdResult where
|
|||
| ext (ext : SimpExtension)
|
||||
|
||||
/--
|
||||
Elaborate extra simp theorems provided to `simp`. `stx` is of the `simpTheorem,*`
|
||||
Elaborate extra simp theorems provided to `simp`. `stx` is of the form `"[" simpTheorem,* "]"`
|
||||
If `eraseLocal == true`, then we consider local declarations when resolving names for erased theorems (`- id`),
|
||||
this option only makes sense for `simp_all`.
|
||||
-/
|
||||
private def elabSimpArgs (stx : Syntax) (ctx : Simp.Context) (eraseLocal : Bool) (kind : SimpKind) : TacticM ElabSimpArgsResult := do
|
||||
def elabSimpArgs (stx : Syntax) (ctx : Simp.Context) (eraseLocal : Bool) (kind : SimpKind) : TacticM ElabSimpArgsResult := do
|
||||
if stx.isNone then
|
||||
return { ctx }
|
||||
else
|
||||
|
|
|
|||
3
stage0/src/Lean/LocalContext.lean
generated
3
stage0/src/Lean/LocalContext.lean
generated
|
|
@ -318,6 +318,9 @@ instance : ForIn m LocalContext LocalDecl where
|
|||
@[inline] def foldr (lctx : LocalContext) (f : LocalDecl → β → β) (init : β) : β :=
|
||||
Id.run <| lctx.foldrM f init
|
||||
|
||||
def size (lctx : LocalContext) : Nat :=
|
||||
lctx.foldl (fun n _ => n+1) 0
|
||||
|
||||
@[inline] def findDecl? (lctx : LocalContext) (f : LocalDecl → Option β) : Option β :=
|
||||
Id.run <| lctx.findDeclM? f
|
||||
|
||||
|
|
|
|||
15
stage0/src/Lean/Meta/AppBuilder.lean
generated
15
stage0/src/Lean/Meta/AppBuilder.lean
generated
|
|
@ -24,11 +24,13 @@ def mkExpectedTypeHint (e : Expr) (expectedType : Expr) : MetaM Expr := do
|
|||
let u ← getLevel expectedType
|
||||
return mkApp2 (mkConst ``id [u]) expectedType e
|
||||
|
||||
/-- Return `a = b`. -/
|
||||
def mkEq (a b : Expr) : MetaM Expr := do
|
||||
let aType ← inferType a
|
||||
let u ← getLevel aType
|
||||
return mkApp3 (mkConst ``Eq [u]) aType a b
|
||||
|
||||
/-- Return `HEq a b`. -/
|
||||
def mkHEq (a b : Expr) : MetaM Expr := do
|
||||
let aType ← inferType a
|
||||
let bType ← inferType b
|
||||
|
|
@ -47,21 +49,25 @@ def mkEqHEq (a b : Expr) : MetaM Expr := do
|
|||
else
|
||||
return mkApp4 (mkConst ``HEq [u]) aType a bType b
|
||||
|
||||
/-- Return a proof of `a = a`. -/
|
||||
def mkEqRefl (a : Expr) : MetaM Expr := do
|
||||
let aType ← inferType a
|
||||
let u ← getLevel aType
|
||||
return mkApp2 (mkConst ``Eq.refl [u]) aType a
|
||||
|
||||
/-- Return a proof of `HEq a a`. -/
|
||||
def mkHEqRefl (a : Expr) : MetaM Expr := do
|
||||
let aType ← inferType a
|
||||
let u ← getLevel aType
|
||||
return mkApp2 (mkConst ``HEq.refl [u]) aType a
|
||||
|
||||
/-- Given `hp : P` and `nhp : Not P` returns an instance of type `e`. -/
|
||||
def mkAbsurd (e : Expr) (hp hnp : Expr) : MetaM Expr := do
|
||||
let p ← inferType hp
|
||||
let u ← getLevel e
|
||||
return mkApp4 (mkConst ``absurd [u]) p e hp hnp
|
||||
|
||||
/-- Given `h : False`, return an instance of type `e`. -/
|
||||
def mkFalseElim (e : Expr) (h : Expr) : MetaM Expr := do
|
||||
let u ← getLevel e
|
||||
return mkApp2 (mkConst ``False.elim [u]) e h
|
||||
|
|
@ -76,6 +82,7 @@ private def hasTypeMsg (e type : Expr) : MessageData :=
|
|||
private def throwAppBuilderException {α} (op : Name) (msg : MessageData) : MetaM α :=
|
||||
throwError "AppBuilder for '{op}', {msg}"
|
||||
|
||||
/-- Given `h : a = b`, returns a proof of `b = a`. -/
|
||||
def mkEqSymm (h : Expr) : MetaM Expr := do
|
||||
if h.isAppOf ``Eq.refl then
|
||||
return h
|
||||
|
|
@ -87,6 +94,7 @@ def mkEqSymm (h : Expr) : MetaM Expr := do
|
|||
return mkApp4 (mkConst ``Eq.symm [u]) α a b h
|
||||
| none => throwAppBuilderException ``Eq.symm ("equality proof expected" ++ hasTypeMsg h hType)
|
||||
|
||||
/-- Given `h₁ : a = b` and `h₂ : b = c` returns a proof of `a = c`. -/
|
||||
def mkEqTrans (h₁ h₂ : Expr) : MetaM Expr := do
|
||||
if h₁.isAppOf ``Eq.refl then
|
||||
return h₂
|
||||
|
|
@ -102,6 +110,7 @@ def mkEqTrans (h₁ h₂ : Expr) : MetaM Expr := do
|
|||
| none, _ => throwAppBuilderException ``Eq.trans ("equality proof expected" ++ hasTypeMsg h₁ hType₁)
|
||||
| _, none => throwAppBuilderException ``Eq.trans ("equality proof expected" ++ hasTypeMsg h₂ hType₂)
|
||||
|
||||
/-- Given `h : HEq a b`, returns a proof of `HEq b a`. -/
|
||||
def mkHEqSymm (h : Expr) : MetaM Expr := do
|
||||
if h.isAppOf ``HEq.refl then
|
||||
return h
|
||||
|
|
@ -114,6 +123,7 @@ def mkHEqSymm (h : Expr) : MetaM Expr := do
|
|||
| none =>
|
||||
throwAppBuilderException ``HEq.symm ("heterogeneous equality proof expected" ++ hasTypeMsg h hType)
|
||||
|
||||
/-- Given `h₁ : HEq a b`, `h₂ : HEq b c`, returns a proof of `HEq a c`. -/
|
||||
def mkHEqTrans (h₁ h₂ : Expr) : MetaM Expr := do
|
||||
if h₁.isAppOf ``HEq.refl then
|
||||
return h₂
|
||||
|
|
@ -129,6 +139,7 @@ def mkHEqTrans (h₁ h₂ : Expr) : MetaM Expr := do
|
|||
| none, _ => throwAppBuilderException ``HEq.trans ("heterogeneous equality proof expected" ++ hasTypeMsg h₁ hType₁)
|
||||
| _, none => throwAppBuilderException ``HEq.trans ("heterogeneous equality proof expected" ++ hasTypeMsg h₂ hType₂)
|
||||
|
||||
/-- Given `h : Eq a b`, returns a proof of `HEq a b`. -/
|
||||
def mkEqOfHEq (h : Expr) : MetaM Expr := do
|
||||
let hType ← infer h
|
||||
match hType.heq? with
|
||||
|
|
@ -140,6 +151,7 @@ def mkEqOfHEq (h : Expr) : MetaM Expr := do
|
|||
| _ =>
|
||||
throwAppBuilderException ``HEq.trans m!"heterogeneous equality proof expected{indentExpr h}"
|
||||
|
||||
/-- Given `f : α → β` and `h : a = b`, returns a proof of `f a = f b`.-/
|
||||
def mkCongrArg (f h : Expr) : MetaM Expr := do
|
||||
if h.isAppOf ``Eq.refl then
|
||||
mkEqRefl (mkApp f h.appArg!)
|
||||
|
|
@ -154,6 +166,7 @@ def mkCongrArg (f h : Expr) : MetaM Expr := do
|
|||
| none, _ => throwAppBuilderException ``congrArg ("non-dependent function expected" ++ hasTypeMsg f fType)
|
||||
| _, none => throwAppBuilderException ``congrArg ("equality proof expected" ++ hasTypeMsg h hType)
|
||||
|
||||
/-- Given `h : f = g` and `a : α`, returns a proof of `f a = g a`.-/
|
||||
def mkCongrFun (h a : Expr) : MetaM Expr := do
|
||||
if h.isAppOf ``Eq.refl then
|
||||
mkEqRefl (mkApp h.appArg! a)
|
||||
|
|
@ -171,6 +184,7 @@ def mkCongrFun (h a : Expr) : MetaM Expr := do
|
|||
| _ => throwAppBuilderException ``congrFun ("equality proof between functions expected" ++ hasTypeMsg h hType)
|
||||
| _ => throwAppBuilderException ``congrFun ("equality proof expected" ++ hasTypeMsg h hType)
|
||||
|
||||
/-- Given `h₁ : f = g` and `h₂ : a = b`, returns a proof of `f a = g b`. -/
|
||||
def mkCongr (h₁ h₂ : Expr) : MetaM Expr := do
|
||||
if h₁.isAppOf ``Eq.refl then
|
||||
mkCongrArg h₁.appArg! h₂
|
||||
|
|
@ -369,6 +383,7 @@ def mkNoConfusion (target : Expr) (h : Expr) : MetaM Expr := do
|
|||
let u ← getLevel target
|
||||
return mkAppN (mkConst (Name.mkStr v.name "noConfusion") (u :: us)) (α.getAppArgs ++ #[target, a, b, h])
|
||||
|
||||
/-- Given a `monad` and `e : α`, makes `pure e`.-/
|
||||
def mkPure (monad : Expr) (e : Expr) : MetaM Expr :=
|
||||
mkAppOptM ``Pure.pure #[monad, none, none, e]
|
||||
|
||||
|
|
|
|||
18
stage0/src/Lean/Meta/Basic.lean
generated
18
stage0/src/Lean/Meta/Basic.lean
generated
|
|
@ -50,15 +50,15 @@ structure Config where
|
|||
/--
|
||||
If `foApprox` is set to true, and some `aᵢ` is not a free variable,
|
||||
then we use first-order unification
|
||||
```
|
||||
?m a_1 ... a_i a_{i+1} ... a_{i+k} =?= f b_1 ... b_k
|
||||
```
|
||||
reduces to
|
||||
```
|
||||
?m a_1 ... a_i =?= f
|
||||
a_{i+1} =?= b_1
|
||||
...
|
||||
a_{i+k} =?= b_k
|
||||
```
|
||||
?m a_1 ... a_i a_{i+1} ... a_{i+k} =?= f b_1 ... b_k
|
||||
```
|
||||
reduces to
|
||||
```
|
||||
?m a_1 ... a_i =?= f
|
||||
a_{i+1} =?= b_1
|
||||
...
|
||||
a_{i+k} =?= b_k
|
||||
```
|
||||
-/
|
||||
foApprox : Bool := false
|
||||
|
|
|
|||
3
stage0/src/Lean/Meta/ExprDefEq.lean
generated
3
stage0/src/Lean/Meta/ExprDefEq.lean
generated
|
|
@ -890,12 +890,13 @@ def checkAssignment (mvarId : MVarId) (fvars : Array Expr) (v : Expr) : MetaM (O
|
|||
|
||||
private def processAssignmentFOApproxAux (mvar : Expr) (args : Array Expr) (v : Expr) : MetaM Bool :=
|
||||
match v with
|
||||
| .mdata _ e => processAssignmentFOApproxAux mvar args e
|
||||
| Expr.app f a =>
|
||||
if args.isEmpty then
|
||||
pure false
|
||||
else
|
||||
Meta.isExprDefEqAux args.back a <&&> Meta.isExprDefEqAux (mkAppRange mvar 0 (args.size - 1) args) f
|
||||
| _ => pure false
|
||||
| _ => pure false
|
||||
|
||||
/-
|
||||
Auxiliary method for applying first-order unification. It is an approximation.
|
||||
|
|
|
|||
1
stage0/src/Lean/Meta/MatchUtil.lean
generated
1
stage0/src/Lean/Meta/MatchUtil.lean
generated
|
|
@ -19,6 +19,7 @@ namespace Lean.Meta
|
|||
| none => p? (← whnf e)
|
||||
| s => return s
|
||||
|
||||
/-- Matches `e` with `lhs = (rhs : α)` and returns `(α, lhs, rhs)`. -/
|
||||
def matchEq? (e : Expr) : MetaM (Option (Expr × Expr × Expr)) :=
|
||||
matchHelper? e fun e => return Expr.eq? e
|
||||
|
||||
|
|
|
|||
6
stage0/src/Lean/MetavarContext.lean
generated
6
stage0/src/Lean/MetavarContext.lean
generated
|
|
@ -420,6 +420,12 @@ def hasAssignableMVar [Monad m] [MonadMCtx m] : Expr → m Bool
|
|||
def assignLevelMVar [MonadMCtx m] (mvarId : MVarId) (val : Level) : m Unit :=
|
||||
modifyMCtx fun m => { m with lAssignment := m.lAssignment.insert mvarId val, usedAssignment := true }
|
||||
|
||||
/--
|
||||
Add `mvarId := x` to the metavariable assignment.
|
||||
This method does not check whether `mvarId` is already assigned, nor it checks whether
|
||||
a cycle is being introduced, or whether the expression has the right type.
|
||||
This is a low-level API, and it is safer to use `isDefEq (mkMVar mvarId) x`.
|
||||
-/
|
||||
def assignExprMVar [MonadMCtx m] (mvarId : MVarId) (val : Expr) : m Unit :=
|
||||
modifyMCtx fun m => { m with eAssignment := m.eAssignment.insert mvarId val, usedAssignment := true }
|
||||
|
||||
|
|
|
|||
1
stage0/src/Lean/Parser/Command.lean
generated
1
stage0/src/Lean/Parser/Command.lean
generated
|
|
@ -153,6 +153,7 @@ builtin_initialize
|
|||
register_parser_alias declVal
|
||||
register_parser_alias optDeclSig
|
||||
register_parser_alias openDecl
|
||||
register_parser_alias docComment
|
||||
|
||||
end Command
|
||||
|
||||
|
|
|
|||
5
stage0/src/Lean/Parser/Extension.lean
generated
5
stage0/src/Lean/Parser/Extension.lean
generated
|
|
@ -358,7 +358,10 @@ def leadingIdentBehavior (env : Environment) (catName : Name) : LeadingIdentBeha
|
|||
unsafe def evalParserConstUnsafe (declName : Name) : ParserFn := fun ctx s => unsafeBaseIO do
|
||||
let categories := (parserExtension.getState ctx.env).categories
|
||||
match (← (mkParserOfConstant categories declName { env := ctx.env, opts := ctx.options }).toBaseIO) with
|
||||
| .ok (_, p) => return p.fn ctx s
|
||||
| .ok (_, p) =>
|
||||
-- We should manually register `p`'s tokens before invoking it as it might not be part of any syntax category (yet)
|
||||
let ctx := { ctx with tokens := p.info.collectTokens [] |>.foldl (fun tks tk => tks.insert tk tk) ctx.tokens }
|
||||
return p.fn ctx s
|
||||
| .error e => return s.mkUnexpectedError e.toString
|
||||
|
||||
@[implementedBy evalParserConstUnsafe]
|
||||
|
|
|
|||
127
stage0/stdlib/Init/Data/List/Control.c
generated
127
stage0/stdlib/Init/Data/List/Control.c
generated
|
|
@ -21,6 +21,7 @@ LEAN_EXPORT lean_object* l_List_instForIn_x27ListInferInstanceMembershipInstMemb
|
|||
LEAN_EXPORT lean_object* l_List_findSomeM_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_filterAuxM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_instForIn_x27ListInferInstanceMembershipInstMembershipList(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_instFunctorList___closed__1;
|
||||
LEAN_EXPORT lean_object* l_List_mapM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_firstM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_anyM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -34,6 +35,7 @@ LEAN_EXPORT lean_object* l_List_findM_x3f___rarg___lambda__1(lean_object*, lean_
|
|||
LEAN_EXPORT lean_object* l_List_anyM(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_allM___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapA___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_instFunctorList___closed__3;
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -43,12 +45,15 @@ LEAN_EXPORT lean_object* l_List_findSomeM_x3f___rarg___lambda__1(lean_object*, l
|
|||
LEAN_EXPORT lean_object* l_List_filterRevM___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_instForInList(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_findM_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapTRAux___at_List_instFunctorList___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_instFunctorList___closed__2;
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forA___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forA___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_allM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_filterAuxM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_instFunctorList___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_filterMapM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_filterMapM_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_instForMList___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -75,6 +80,7 @@ LEAN_EXPORT lean_object* l_List_filterRevM(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_List_filterM(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_anyM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapM___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapTRAux___at_List_instFunctorList___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_filterAuxM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_List_findSomeM_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -82,12 +88,15 @@ LEAN_EXPORT lean_object* l___private_Init_Data_List_Control_0__List_forIn_x27_lo
|
|||
LEAN_EXPORT lean_object* l_List_findM_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Control_0__List_forIn_loop_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forM(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_instFunctorList;
|
||||
LEAN_EXPORT lean_object* l_List_foldrM(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_instFunctorList___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Control_0__List_forIn_loop_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_findM_x3f___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapA___rarg___lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_List_mapTRAux___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_List_Control_0__List_forIn_loop_match__2_splitter(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapM___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
|
|
@ -1413,6 +1422,116 @@ x_3 = lean_alloc_closure((void*)(l_List_instForMList___rarg), 3, 0);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_mapTRAux___at_List_instFunctorList___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_4;
|
||||
lean_dec(x_1);
|
||||
x_4 = l_List_reverse___rarg(x_3);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = !lean_is_exclusive(x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
x_6 = lean_ctor_get(x_2, 1);
|
||||
x_7 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_7);
|
||||
lean_inc(x_1);
|
||||
lean_ctor_set(x_2, 1, x_3);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
{
|
||||
lean_object* _tmp_1 = x_6;
|
||||
lean_object* _tmp_2 = x_2;
|
||||
x_2 = _tmp_1;
|
||||
x_3 = _tmp_2;
|
||||
}
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
x_9 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_1);
|
||||
x_10 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_1);
|
||||
lean_ctor_set(x_10, 1, x_3);
|
||||
x_2 = x_9;
|
||||
x_3 = x_10;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_mapTRAux___at_List_instFunctorList___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_List_mapTRAux___at_List_instFunctorList___spec__1___rarg), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_instFunctorList___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
x_5 = lean_box(0);
|
||||
x_6 = l_List_mapTRAux___rarg(x_3, x_4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_instFunctorList___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
x_5 = lean_box(0);
|
||||
x_6 = l_List_mapTRAux___at_List_instFunctorList___spec__1___rarg(x_3, x_4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_List_instFunctorList___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_List_instFunctorList___lambda__1), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_List_instFunctorList___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_List_instFunctorList___lambda__2), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_List_instFunctorList___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_List_instFunctorList___closed__1;
|
||||
x_2 = l_List_instFunctorList___closed__2;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_List_instFunctorList() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_List_instFunctorList___closed__3;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Control_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_Basic(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
|
|
@ -1428,6 +1547,14 @@ if (lean_io_result_is_error(res)) return res;
|
|||
lean_dec_ref(res);
|
||||
l_List_mapA___rarg___closed__1 = _init_l_List_mapA___rarg___closed__1();
|
||||
lean_mark_persistent(l_List_mapA___rarg___closed__1);
|
||||
l_List_instFunctorList___closed__1 = _init_l_List_instFunctorList___closed__1();
|
||||
lean_mark_persistent(l_List_instFunctorList___closed__1);
|
||||
l_List_instFunctorList___closed__2 = _init_l_List_instFunctorList___closed__2();
|
||||
lean_mark_persistent(l_List_instFunctorList___closed__2);
|
||||
l_List_instFunctorList___closed__3 = _init_l_List_instFunctorList___closed__3();
|
||||
lean_mark_persistent(l_List_instFunctorList___closed__3);
|
||||
l_List_instFunctorList = _init_l_List_instFunctorList();
|
||||
lean_mark_persistent(l_List_instFunctorList);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
975
stage0/stdlib/Init/NotationExtra.c
generated
975
stage0/stdlib/Init/NotationExtra.c
generated
File diff suppressed because it is too large
Load diff
8
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
8
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
|
|
@ -41,7 +41,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerCapabilities;
|
|||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_399____spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_594____closed__2;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3532_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5019_(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_workspaceSymbolProvider___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_425____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_hoverProvider___default;
|
||||
|
|
@ -59,7 +59,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_from
|
|||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_399____spec__2(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_115_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_723____spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4947_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_ClientCapabilities_textDocument_x3f___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities;
|
||||
static lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__1;
|
||||
|
|
@ -1777,7 +1777,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj
|
|||
x_4 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3532_(x_4);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5019_(x_4);
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_1);
|
||||
lean_ctor_set(x_6, 1, x_5);
|
||||
|
|
@ -2192,7 +2192,7 @@ return x_4;
|
|||
else
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3460_(x_3);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4947_(x_3);
|
||||
lean_dec(x_3);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
|
|
|
|||
4284
stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c
generated
4284
stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c
generated
File diff suppressed because it is too large
Load diff
2016
stage0/stdlib/Lean/Data/Options.c
generated
2016
stage0/stdlib/Lean/Data/Options.c
generated
File diff suppressed because it is too large
Load diff
1444
stage0/stdlib/Lean/Elab/Declaration.c
generated
1444
stage0/stdlib/Lean/Elab/Declaration.c
generated
File diff suppressed because it is too large
Load diff
850
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
850
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
File diff suppressed because it is too large
Load diff
1150
stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c
generated
1150
stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c
generated
File diff suppressed because it is too large
Load diff
123
stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c
generated
123
stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c
generated
|
|
@ -41,7 +41,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_declRang
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__14;
|
||||
lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq_declRange(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Elab_Tactic_Conv_remarkAsConvGoal___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*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalReduce___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -762,18 +762,19 @@ goto _start;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_23 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_19);
|
||||
x_24 = l_Lean_Elab_Tactic_SavedState_restore(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23);
|
||||
x_25 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_24);
|
||||
x_26 = lean_box(0);
|
||||
x_24 = 0;
|
||||
x_25 = l_Lean_Elab_Tactic_SavedState_restore(x_16, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23);
|
||||
x_26 = lean_ctor_get(x_25, 1);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_25);
|
||||
x_27 = lean_box(0);
|
||||
x_1 = x_14;
|
||||
x_2 = x_26;
|
||||
x_11 = x_25;
|
||||
x_2 = x_27;
|
||||
x_11 = x_26;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
|
|
@ -2315,7 +2316,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf_declRang
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(74u);
|
||||
x_1 = lean_unsigned_to_nat(79u);
|
||||
x_2 = lean_unsigned_to_nat(46u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -2327,7 +2328,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf_declRang
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(76u);
|
||||
x_1 = lean_unsigned_to_nat(81u);
|
||||
x_2 = lean_unsigned_to_nat(34u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -2355,7 +2356,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf_declRang
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(74u);
|
||||
x_1 = lean_unsigned_to_nat(79u);
|
||||
x_2 = lean_unsigned_to_nat(50u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -2367,7 +2368,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf_declRang
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(74u);
|
||||
x_1 = lean_unsigned_to_nat(79u);
|
||||
x_2 = lean_unsigned_to_nat(58u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -2608,7 +2609,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce_declRa
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(78u);
|
||||
x_1 = lean_unsigned_to_nat(83u);
|
||||
x_2 = lean_unsigned_to_nat(48u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -2620,7 +2621,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce_declRa
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(80u);
|
||||
x_1 = lean_unsigned_to_nat(85u);
|
||||
x_2 = lean_unsigned_to_nat(36u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -2648,7 +2649,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce_declRa
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(78u);
|
||||
x_1 = lean_unsigned_to_nat(83u);
|
||||
x_2 = lean_unsigned_to_nat(52u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -2660,7 +2661,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce_declRa
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(78u);
|
||||
x_1 = lean_unsigned_to_nat(83u);
|
||||
x_2 = lean_unsigned_to_nat(62u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -2919,7 +2920,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRang
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(82u);
|
||||
x_1 = lean_unsigned_to_nat(87u);
|
||||
x_2 = lean_unsigned_to_nat(46u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -2931,7 +2932,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRang
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(84u);
|
||||
x_1 = lean_unsigned_to_nat(89u);
|
||||
x_2 = lean_unsigned_to_nat(40u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -2959,7 +2960,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRang
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(82u);
|
||||
x_1 = lean_unsigned_to_nat(87u);
|
||||
x_2 = lean_unsigned_to_nat(50u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -2971,7 +2972,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRang
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(82u);
|
||||
x_1 = lean_unsigned_to_nat(87u);
|
||||
x_2 = lean_unsigned_to_nat(58u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3094,7 +3095,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Inden
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(86u);
|
||||
x_1 = lean_unsigned_to_nat(91u);
|
||||
x_2 = lean_unsigned_to_nat(58u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3106,7 +3107,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Inden
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(87u);
|
||||
x_1 = lean_unsigned_to_nat(92u);
|
||||
x_2 = lean_unsigned_to_nat(28u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3134,7 +3135,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Inden
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(86u);
|
||||
x_1 = lean_unsigned_to_nat(91u);
|
||||
x_2 = lean_unsigned_to_nat(62u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3146,7 +3147,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Inden
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(86u);
|
||||
x_1 = lean_unsigned_to_nat(91u);
|
||||
x_2 = lean_unsigned_to_nat(82u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3883,7 +3884,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracke
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(89u);
|
||||
x_1 = lean_unsigned_to_nat(94u);
|
||||
x_2 = lean_unsigned_to_nat(58u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3895,7 +3896,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracke
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(95u);
|
||||
x_1 = lean_unsigned_to_nat(100u);
|
||||
x_2 = lean_unsigned_to_nat(49u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3923,7 +3924,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracke
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(89u);
|
||||
x_1 = lean_unsigned_to_nat(94u);
|
||||
x_2 = lean_unsigned_to_nat(62u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3935,7 +3936,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracke
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(89u);
|
||||
x_1 = lean_unsigned_to_nat(94u);
|
||||
x_2 = lean_unsigned_to_nat(82u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4060,7 +4061,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_de
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(97u);
|
||||
x_1 = lean_unsigned_to_nat(102u);
|
||||
x_2 = lean_unsigned_to_nat(52u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4072,7 +4073,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_de
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(98u);
|
||||
x_1 = lean_unsigned_to_nat(103u);
|
||||
x_2 = lean_unsigned_to_nat(29u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4100,7 +4101,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_de
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(97u);
|
||||
x_1 = lean_unsigned_to_nat(102u);
|
||||
x_2 = lean_unsigned_to_nat(56u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4112,7 +4113,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_de
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(97u);
|
||||
x_1 = lean_unsigned_to_nat(102u);
|
||||
x_2 = lean_unsigned_to_nat(70u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4237,7 +4238,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq_declR
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(100u);
|
||||
x_1 = lean_unsigned_to_nat(105u);
|
||||
x_2 = lean_unsigned_to_nat(49u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4249,7 +4250,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq_declR
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(101u);
|
||||
x_1 = lean_unsigned_to_nat(106u);
|
||||
x_2 = lean_unsigned_to_nat(19u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4277,7 +4278,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq_declR
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(100u);
|
||||
x_1 = lean_unsigned_to_nat(105u);
|
||||
x_2 = lean_unsigned_to_nat(53u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4289,7 +4290,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq_declR
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(100u);
|
||||
x_1 = lean_unsigned_to_nat(105u);
|
||||
x_2 = lean_unsigned_to_nat(64u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4530,7 +4531,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq_d
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(103u);
|
||||
x_1 = lean_unsigned_to_nat(108u);
|
||||
x_2 = lean_unsigned_to_nat(53u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4542,7 +4543,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq_d
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(106u);
|
||||
x_1 = lean_unsigned_to_nat(111u);
|
||||
x_2 = lean_unsigned_to_nat(26u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4570,7 +4571,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq_d
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(103u);
|
||||
x_1 = lean_unsigned_to_nat(108u);
|
||||
x_2 = lean_unsigned_to_nat(57u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4582,7 +4583,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq_d
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(103u);
|
||||
x_1 = lean_unsigned_to_nat(108u);
|
||||
x_2 = lean_unsigned_to_nat(72u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4699,7 +4700,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen_declRan
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(108u);
|
||||
x_1 = lean_unsigned_to_nat(113u);
|
||||
x_2 = lean_unsigned_to_nat(47u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4711,7 +4712,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen_declRan
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(109u);
|
||||
x_1 = lean_unsigned_to_nat(114u);
|
||||
x_2 = lean_unsigned_to_nat(19u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4739,7 +4740,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen_declRan
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(108u);
|
||||
x_1 = lean_unsigned_to_nat(113u);
|
||||
x_2 = lean_unsigned_to_nat(51u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4751,7 +4752,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen_declRan
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(108u);
|
||||
x_1 = lean_unsigned_to_nat(113u);
|
||||
x_2 = lean_unsigned_to_nat(60u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -5450,7 +5451,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticC
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(124u);
|
||||
x_1 = lean_unsigned_to_nat(129u);
|
||||
x_2 = lean_unsigned_to_nat(58u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -5462,7 +5463,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticC
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(126u);
|
||||
x_1 = lean_unsigned_to_nat(131u);
|
||||
x_2 = lean_unsigned_to_nat(34u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -5490,7 +5491,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticC
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(124u);
|
||||
x_1 = lean_unsigned_to_nat(129u);
|
||||
x_2 = lean_unsigned_to_nat(62u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -5502,7 +5503,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticC
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(124u);
|
||||
x_1 = lean_unsigned_to_nat(129u);
|
||||
x_2 = lean_unsigned_to_nat(82u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -5921,7 +5922,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(128u);
|
||||
x_1 = lean_unsigned_to_nat(133u);
|
||||
x_2 = lean_unsigned_to_nat(54u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -5933,7 +5934,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(134u);
|
||||
x_1 = lean_unsigned_to_nat(139u);
|
||||
x_2 = lean_unsigned_to_nat(43u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -5961,7 +5962,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(128u);
|
||||
x_1 = lean_unsigned_to_nat(133u);
|
||||
x_2 = lean_unsigned_to_nat(58u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -5973,7 +5974,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(128u);
|
||||
x_1 = lean_unsigned_to_nat(133u);
|
||||
x_2 = lean_unsigned_to_nat(74u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -7196,7 +7197,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRang
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(148u);
|
||||
x_1 = lean_unsigned_to_nat(153u);
|
||||
x_2 = lean_unsigned_to_nat(46u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -7208,7 +7209,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRang
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(159u);
|
||||
x_1 = lean_unsigned_to_nat(164u);
|
||||
x_2 = lean_unsigned_to_nat(31u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -7236,7 +7237,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRang
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(148u);
|
||||
x_1 = lean_unsigned_to_nat(153u);
|
||||
x_2 = lean_unsigned_to_nat(50u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -7248,7 +7249,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRang
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(148u);
|
||||
x_1 = lean_unsigned_to_nat(153u);
|
||||
x_2 = lean_unsigned_to_nat(58u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -7371,7 +7372,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalFirst_declRan
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(161u);
|
||||
x_1 = lean_unsigned_to_nat(166u);
|
||||
x_2 = lean_unsigned_to_nat(55u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -7383,7 +7384,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalFirst_declRan
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(162u);
|
||||
x_1 = lean_unsigned_to_nat(167u);
|
||||
x_2 = lean_unsigned_to_nat(18u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -7411,7 +7412,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalFirst_declRan
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(161u);
|
||||
x_1 = lean_unsigned_to_nat(166u);
|
||||
x_2 = lean_unsigned_to_nat(59u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -7423,7 +7424,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalFirst_declRan
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(161u);
|
||||
x_1 = lean_unsigned_to_nat(166u);
|
||||
x_2 = lean_unsigned_to_nat(68u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Conv/Unfold.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Conv/Unfold.c
generated
|
|
@ -16,6 +16,7 @@ extern "C" {
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalUnfold___closed__16;
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalUnfold___closed__10;
|
||||
lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_elabSimpArgs___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_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalUnfold_declRange___closed__7;
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -34,7 +35,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalUnfold___closed__13
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalUnfold_declRange___closed__5;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalUnfold___closed__1;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalUnfold___closed__5;
|
||||
lean_object* l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___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_Meta_unfold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalUnfold___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_evalUnfold_declRange___closed__4;
|
||||
|
|
@ -65,7 +65,7 @@ lean_inc(x_5);
|
|||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_11 = l_Lean_resolveGlobalConstNoOverload___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___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_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_elabSimpArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
|
|
|
|||
158
stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c
generated
158
stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c
generated
|
|
@ -43,7 +43,7 @@ lean_object* l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(le
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_elabTermWithHoles___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll___closed__4;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalApply_declRange___closed__6;
|
||||
lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact(lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
|
|
@ -8543,13 +8543,14 @@ lean_inc(x_2);
|
|||
x_14 = lean_apply_9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18;
|
||||
lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; uint8_t x_19;
|
||||
x_15 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_14);
|
||||
x_17 = l_Lean_Elab_Tactic_SavedState_restore(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16);
|
||||
x_17 = 0;
|
||||
x_18 = l_Lean_Elab_Tactic_SavedState_restore(x_12, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
|
|
@ -8558,36 +8559,37 @@ lean_dec(x_5);
|
|||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_18 = !lean_is_exclusive(x_17);
|
||||
if (x_18 == 0)
|
||||
x_19 = !lean_is_exclusive(x_18);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
lean_object* x_19;
|
||||
x_19 = lean_ctor_get(x_17, 0);
|
||||
lean_dec(x_19);
|
||||
lean_ctor_set(x_17, 0, x_15);
|
||||
return x_17;
|
||||
lean_object* x_20;
|
||||
x_20 = lean_ctor_get(x_18, 0);
|
||||
lean_dec(x_20);
|
||||
lean_ctor_set(x_18, 0, x_15);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_17);
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_15);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
return x_21;
|
||||
lean_object* x_21; lean_object* x_22;
|
||||
x_21 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_18);
|
||||
x_22 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_15);
|
||||
lean_ctor_set(x_22, 1, x_21);
|
||||
return x_22;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25;
|
||||
x_22 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_ctor_get(x_14, 1);
|
||||
lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; uint8_t x_27;
|
||||
x_23 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_23);
|
||||
x_24 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_14);
|
||||
x_24 = l_Lean_Elab_Tactic_SavedState_restore(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23);
|
||||
x_25 = 0;
|
||||
x_26 = l_Lean_Elab_Tactic_SavedState_restore(x_12, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_24);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
|
|
@ -8596,26 +8598,26 @@ lean_dec(x_5);
|
|||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_25 = !lean_is_exclusive(x_24);
|
||||
if (x_25 == 0)
|
||||
x_27 = !lean_is_exclusive(x_26);
|
||||
if (x_27 == 0)
|
||||
{
|
||||
lean_object* x_26;
|
||||
x_26 = lean_ctor_get(x_24, 0);
|
||||
lean_dec(x_26);
|
||||
lean_ctor_set_tag(x_24, 1);
|
||||
lean_ctor_set(x_24, 0, x_22);
|
||||
return x_24;
|
||||
lean_object* x_28;
|
||||
x_28 = lean_ctor_get(x_26, 0);
|
||||
lean_dec(x_28);
|
||||
lean_ctor_set_tag(x_26, 1);
|
||||
lean_ctor_set(x_26, 0, x_23);
|
||||
return x_26;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28;
|
||||
x_27 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_24);
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_22);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
return x_28;
|
||||
lean_object* x_29; lean_object* x_30;
|
||||
x_29 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_26);
|
||||
x_30 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_23);
|
||||
lean_ctor_set(x_30, 1, x_29);
|
||||
return x_30;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -8841,13 +8843,14 @@ lean_inc(x_3);
|
|||
x_17 = l_Lean_Meta_withNewMCtxDepth___at_Lean_Elab_Tactic_evalRename___spec__7___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; uint8_t x_22;
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
lean_inc(x_18);
|
||||
x_19 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_17);
|
||||
x_20 = l_Lean_Elab_Tactic_SavedState_restore(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19);
|
||||
x_20 = 0;
|
||||
x_21 = l_Lean_Elab_Tactic_SavedState_restore(x_15, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
|
|
@ -8856,36 +8859,37 @@ lean_dec(x_6);
|
|||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_21 = !lean_is_exclusive(x_20);
|
||||
if (x_21 == 0)
|
||||
x_22 = !lean_is_exclusive(x_21);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_22;
|
||||
x_22 = lean_ctor_get(x_20, 0);
|
||||
lean_dec(x_22);
|
||||
lean_ctor_set(x_20, 0, x_18);
|
||||
return x_20;
|
||||
lean_object* x_23;
|
||||
x_23 = lean_ctor_get(x_21, 0);
|
||||
lean_dec(x_23);
|
||||
lean_ctor_set(x_21, 0, x_18);
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24;
|
||||
x_23 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_20);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_18);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
return x_24;
|
||||
lean_object* x_24; lean_object* x_25;
|
||||
x_24 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_21);
|
||||
x_25 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_25, 0, x_18);
|
||||
lean_ctor_set(x_25, 1, x_24);
|
||||
return x_25;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28;
|
||||
x_25 = lean_ctor_get(x_17, 0);
|
||||
lean_inc(x_25);
|
||||
x_26 = lean_ctor_get(x_17, 1);
|
||||
lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; uint8_t x_30;
|
||||
x_26 = lean_ctor_get(x_17, 0);
|
||||
lean_inc(x_26);
|
||||
x_27 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_17);
|
||||
x_27 = l_Lean_Elab_Tactic_SavedState_restore(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26);
|
||||
x_28 = 0;
|
||||
x_29 = l_Lean_Elab_Tactic_SavedState_restore(x_15, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
|
|
@ -8894,26 +8898,26 @@ lean_dec(x_6);
|
|||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_28 = !lean_is_exclusive(x_27);
|
||||
if (x_28 == 0)
|
||||
x_30 = !lean_is_exclusive(x_29);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
lean_object* x_29;
|
||||
x_29 = lean_ctor_get(x_27, 0);
|
||||
lean_dec(x_29);
|
||||
lean_ctor_set_tag(x_27, 1);
|
||||
lean_ctor_set(x_27, 0, x_25);
|
||||
return x_27;
|
||||
lean_object* x_31;
|
||||
x_31 = lean_ctor_get(x_29, 0);
|
||||
lean_dec(x_31);
|
||||
lean_ctor_set_tag(x_29, 1);
|
||||
lean_ctor_set(x_29, 0, x_26);
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31;
|
||||
x_30 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_27);
|
||||
x_31 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_25);
|
||||
lean_ctor_set(x_31, 1, x_30);
|
||||
return x_31;
|
||||
lean_object* x_32; lean_object* x_33;
|
||||
x_32 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_29);
|
||||
x_33 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_26);
|
||||
lean_ctor_set(x_33, 1, x_32);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
599
stage0/stdlib/Lean/Elab/Tactic/Rewrite.c
generated
599
stage0/stdlib/Lean/Elab/Tactic/Rewrite.c
generated
|
|
@ -36,7 +36,7 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq_
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_filterTRAux___at_Lean_resolveGlobalConstCore___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabRewriteConfig___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___closed__1;
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__2___closed__2;
|
||||
|
|
@ -1048,16 +1048,17 @@ return x_29;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_30 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_29);
|
||||
x_31 = l_Lean_Elab_Tactic_SavedState_restore(x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_30);
|
||||
x_32 = lean_ctor_get(x_31, 1);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_31);
|
||||
x_31 = 0;
|
||||
x_32 = l_Lean_Elab_Tactic_SavedState_restore(x_27, x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_30);
|
||||
x_33 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_32);
|
||||
x_5 = x_22;
|
||||
x_14 = x_32;
|
||||
x_14 = x_33;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
|
|
@ -2009,59 +2010,60 @@ return x_35;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
lean_dec(x_25);
|
||||
x_36 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_36);
|
||||
lean_dec(x_32);
|
||||
x_37 = l_Lean_Elab_Tactic_SavedState_restore(x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_36);
|
||||
x_38 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_37);
|
||||
x_39 = lean_box(x_5);
|
||||
x_40 = lean_apply_11(x_4, x_39, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_38);
|
||||
if (lean_obj_tag(x_40) == 0)
|
||||
x_37 = 0;
|
||||
x_38 = l_Lean_Elab_Tactic_SavedState_restore(x_30, x_37, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_36);
|
||||
x_39 = lean_ctor_get(x_38, 1);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_38);
|
||||
x_40 = lean_box(x_5);
|
||||
x_41 = lean_apply_11(x_4, x_40, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_39);
|
||||
if (lean_obj_tag(x_41) == 0)
|
||||
{
|
||||
uint8_t x_41;
|
||||
x_41 = !lean_is_exclusive(x_40);
|
||||
if (x_41 == 0)
|
||||
uint8_t x_42;
|
||||
x_42 = !lean_is_exclusive(x_41);
|
||||
if (x_42 == 0)
|
||||
{
|
||||
return x_40;
|
||||
return x_41;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_42 = lean_ctor_get(x_40, 0);
|
||||
x_43 = lean_ctor_get(x_40, 1);
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_43 = lean_ctor_get(x_41, 0);
|
||||
x_44 = lean_ctor_get(x_41, 1);
|
||||
lean_inc(x_44);
|
||||
lean_inc(x_43);
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_40);
|
||||
x_44 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_42);
|
||||
lean_ctor_set(x_44, 1, x_43);
|
||||
return x_44;
|
||||
lean_dec(x_41);
|
||||
x_45 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_43);
|
||||
lean_ctor_set(x_45, 1, x_44);
|
||||
return x_45;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_45;
|
||||
x_45 = !lean_is_exclusive(x_40);
|
||||
if (x_45 == 0)
|
||||
uint8_t x_46;
|
||||
x_46 = !lean_is_exclusive(x_41);
|
||||
if (x_46 == 0)
|
||||
{
|
||||
return x_40;
|
||||
return x_41;
|
||||
}
|
||||
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_object* x_47; lean_object* x_48; lean_object* x_49;
|
||||
x_47 = lean_ctor_get(x_41, 0);
|
||||
x_48 = lean_ctor_get(x_41, 1);
|
||||
lean_inc(x_48);
|
||||
lean_inc(x_47);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_40);
|
||||
x_48 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_46);
|
||||
lean_ctor_set(x_48, 1, x_47);
|
||||
return x_48;
|
||||
lean_dec(x_41);
|
||||
x_49 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_49, 0, x_47);
|
||||
lean_ctor_set(x_49, 1, x_48);
|
||||
return x_49;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2070,14 +2072,14 @@ return x_48;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
lean_dec(x_7);
|
||||
x_49 = l_Lean_Elab_Tactic_saveState___rarg(x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
x_50 = lean_ctor_get(x_49, 0);
|
||||
lean_inc(x_50);
|
||||
x_51 = lean_ctor_get(x_49, 1);
|
||||
x_50 = l_Lean_Elab_Tactic_saveState___rarg(x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
x_51 = lean_ctor_get(x_50, 0);
|
||||
lean_inc(x_51);
|
||||
lean_dec(x_49);
|
||||
x_52 = lean_ctor_get(x_50, 1);
|
||||
lean_inc(x_52);
|
||||
lean_dec(x_50);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
|
|
@ -2087,74 +2089,75 @@ lean_inc(x_10);
|
|||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_3);
|
||||
x_52 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_withRWRulesSeq___spec__1(x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_51);
|
||||
if (lean_obj_tag(x_52) == 0)
|
||||
x_53 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_withRWRulesSeq___spec__1(x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_52);
|
||||
if (lean_obj_tag(x_53) == 0)
|
||||
{
|
||||
lean_object* x_53; lean_object* x_54; lean_object* x_55;
|
||||
lean_dec(x_50);
|
||||
x_53 = lean_ctor_get(x_52, 0);
|
||||
lean_inc(x_53);
|
||||
x_54 = lean_ctor_get(x_52, 1);
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
lean_dec(x_51);
|
||||
x_54 = lean_ctor_get(x_53, 0);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_52);
|
||||
x_55 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__1(x_4, x_5, x_6, x_3, x_53, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_54);
|
||||
return x_55;
|
||||
x_55 = lean_ctor_get(x_53, 1);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_53);
|
||||
x_56 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__1(x_4, x_5, x_6, x_3, x_54, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_55);
|
||||
return x_56;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60;
|
||||
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_dec(x_3);
|
||||
x_56 = lean_ctor_get(x_52, 1);
|
||||
lean_inc(x_56);
|
||||
lean_dec(x_52);
|
||||
x_57 = l_Lean_Elab_Tactic_SavedState_restore(x_50, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_56);
|
||||
x_58 = lean_ctor_get(x_57, 1);
|
||||
lean_inc(x_58);
|
||||
lean_dec(x_57);
|
||||
x_59 = lean_box(x_5);
|
||||
x_60 = lean_apply_11(x_4, x_59, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_58);
|
||||
if (lean_obj_tag(x_60) == 0)
|
||||
x_57 = lean_ctor_get(x_53, 1);
|
||||
lean_inc(x_57);
|
||||
lean_dec(x_53);
|
||||
x_58 = 0;
|
||||
x_59 = l_Lean_Elab_Tactic_SavedState_restore(x_51, x_58, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_57);
|
||||
x_60 = lean_ctor_get(x_59, 1);
|
||||
lean_inc(x_60);
|
||||
lean_dec(x_59);
|
||||
x_61 = lean_box(x_5);
|
||||
x_62 = lean_apply_11(x_4, x_61, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_60);
|
||||
if (lean_obj_tag(x_62) == 0)
|
||||
{
|
||||
uint8_t x_61;
|
||||
x_61 = !lean_is_exclusive(x_60);
|
||||
if (x_61 == 0)
|
||||
uint8_t x_63;
|
||||
x_63 = !lean_is_exclusive(x_62);
|
||||
if (x_63 == 0)
|
||||
{
|
||||
return x_60;
|
||||
return x_62;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63; lean_object* x_64;
|
||||
x_62 = lean_ctor_get(x_60, 0);
|
||||
x_63 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_63);
|
||||
lean_inc(x_62);
|
||||
lean_dec(x_60);
|
||||
x_64 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_64, 0, x_62);
|
||||
lean_ctor_set(x_64, 1, x_63);
|
||||
return x_64;
|
||||
lean_object* x_64; lean_object* x_65; lean_object* x_66;
|
||||
x_64 = lean_ctor_get(x_62, 0);
|
||||
x_65 = lean_ctor_get(x_62, 1);
|
||||
lean_inc(x_65);
|
||||
lean_inc(x_64);
|
||||
lean_dec(x_62);
|
||||
x_66 = lean_alloc_ctor(0, 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_65;
|
||||
x_65 = !lean_is_exclusive(x_60);
|
||||
if (x_65 == 0)
|
||||
uint8_t x_67;
|
||||
x_67 = !lean_is_exclusive(x_62);
|
||||
if (x_67 == 0)
|
||||
{
|
||||
return x_60;
|
||||
return x_62;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_66; lean_object* x_67; lean_object* x_68;
|
||||
x_66 = lean_ctor_get(x_60, 0);
|
||||
x_67 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_67);
|
||||
lean_inc(x_66);
|
||||
lean_dec(x_60);
|
||||
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_68; lean_object* x_69; lean_object* x_70;
|
||||
x_68 = lean_ctor_get(x_62, 0);
|
||||
x_69 = lean_ctor_get(x_62, 1);
|
||||
lean_inc(x_69);
|
||||
lean_inc(x_68);
|
||||
lean_dec(x_62);
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2162,18 +2165,20 @@ return x_68;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81;
|
||||
x_69 = lean_ctor_get(x_14, 0);
|
||||
x_70 = lean_ctor_get(x_14, 1);
|
||||
x_71 = lean_ctor_get(x_14, 2);
|
||||
x_72 = lean_ctor_get(x_14, 3);
|
||||
x_73 = lean_ctor_get(x_14, 4);
|
||||
x_74 = lean_ctor_get(x_14, 5);
|
||||
x_75 = lean_ctor_get(x_14, 6);
|
||||
x_76 = lean_ctor_get(x_14, 7);
|
||||
x_77 = lean_ctor_get(x_14, 8);
|
||||
x_78 = lean_ctor_get(x_14, 9);
|
||||
x_79 = lean_ctor_get(x_14, 10);
|
||||
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_71 = lean_ctor_get(x_14, 0);
|
||||
x_72 = lean_ctor_get(x_14, 1);
|
||||
x_73 = lean_ctor_get(x_14, 2);
|
||||
x_74 = lean_ctor_get(x_14, 3);
|
||||
x_75 = lean_ctor_get(x_14, 4);
|
||||
x_76 = lean_ctor_get(x_14, 5);
|
||||
x_77 = lean_ctor_get(x_14, 6);
|
||||
x_78 = lean_ctor_get(x_14, 7);
|
||||
x_79 = lean_ctor_get(x_14, 8);
|
||||
x_80 = lean_ctor_get(x_14, 9);
|
||||
x_81 = lean_ctor_get(x_14, 10);
|
||||
lean_inc(x_81);
|
||||
lean_inc(x_80);
|
||||
lean_inc(x_79);
|
||||
lean_inc(x_78);
|
||||
lean_inc(x_77);
|
||||
|
|
@ -2183,238 +2188,214 @@ lean_inc(x_74);
|
|||
lean_inc(x_73);
|
||||
lean_inc(x_72);
|
||||
lean_inc(x_71);
|
||||
lean_inc(x_70);
|
||||
lean_inc(x_69);
|
||||
lean_dec(x_14);
|
||||
x_80 = l_Lean_replaceRef(x_1, x_74);
|
||||
lean_dec(x_74);
|
||||
x_82 = l_Lean_replaceRef(x_1, x_76);
|
||||
lean_dec(x_76);
|
||||
lean_dec(x_1);
|
||||
x_81 = lean_alloc_ctor(0, 11, 0);
|
||||
lean_ctor_set(x_81, 0, x_69);
|
||||
lean_ctor_set(x_81, 1, x_70);
|
||||
lean_ctor_set(x_81, 2, x_71);
|
||||
lean_ctor_set(x_81, 3, x_72);
|
||||
lean_ctor_set(x_81, 4, x_73);
|
||||
lean_ctor_set(x_81, 5, x_80);
|
||||
lean_ctor_set(x_81, 6, x_75);
|
||||
lean_ctor_set(x_81, 7, x_76);
|
||||
lean_ctor_set(x_81, 8, x_77);
|
||||
lean_ctor_set(x_81, 9, x_78);
|
||||
lean_ctor_set(x_81, 10, x_79);
|
||||
x_83 = lean_alloc_ctor(0, 11, 0);
|
||||
lean_ctor_set(x_83, 0, x_71);
|
||||
lean_ctor_set(x_83, 1, x_72);
|
||||
lean_ctor_set(x_83, 2, x_73);
|
||||
lean_ctor_set(x_83, 3, x_74);
|
||||
lean_ctor_set(x_83, 4, x_75);
|
||||
lean_ctor_set(x_83, 5, x_82);
|
||||
lean_ctor_set(x_83, 6, x_77);
|
||||
lean_ctor_set(x_83, 7, x_78);
|
||||
lean_ctor_set(x_83, 8, x_79);
|
||||
lean_ctor_set(x_83, 9, x_80);
|
||||
lean_ctor_set(x_83, 10, x_81);
|
||||
if (x_2 == 0)
|
||||
{
|
||||
lean_object* x_82; uint8_t x_83;
|
||||
x_82 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__2___closed__8;
|
||||
lean_object* x_84; uint8_t x_85;
|
||||
x_84 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__2___closed__8;
|
||||
lean_inc(x_3);
|
||||
x_83 = l_Lean_Syntax_isOfKind(x_3, x_82);
|
||||
if (x_83 == 0)
|
||||
x_85 = l_Lean_Syntax_isOfKind(x_3, x_84);
|
||||
if (x_85 == 0)
|
||||
{
|
||||
lean_object* x_84; lean_object* x_85;
|
||||
lean_object* x_86; lean_object* x_87;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_3);
|
||||
x_84 = lean_box(x_5);
|
||||
x_85 = lean_apply_11(x_4, x_84, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_81, x_15, x_16);
|
||||
return x_85;
|
||||
x_86 = lean_box(x_5);
|
||||
x_87 = lean_apply_11(x_4, x_86, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_83, x_15, x_16);
|
||||
return x_87;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_86; lean_object* x_87; uint8_t x_88;
|
||||
x_86 = lean_unsigned_to_nat(1u);
|
||||
x_87 = l_Lean_Syntax_getArg(x_3, x_86);
|
||||
lean_object* x_88; lean_object* x_89; uint8_t x_90;
|
||||
x_88 = lean_unsigned_to_nat(1u);
|
||||
x_89 = l_Lean_Syntax_getArg(x_3, x_88);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_87);
|
||||
x_88 = l_Lean_Syntax_isOfKind(x_87, x_7);
|
||||
lean_inc(x_89);
|
||||
x_90 = l_Lean_Syntax_isOfKind(x_89, x_7);
|
||||
lean_dec(x_7);
|
||||
if (x_88 == 0)
|
||||
if (x_90 == 0)
|
||||
{
|
||||
lean_object* x_89; lean_object* x_90;
|
||||
lean_dec(x_87);
|
||||
x_89 = lean_box(x_5);
|
||||
x_90 = lean_apply_11(x_4, x_89, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_81, x_15, x_16);
|
||||
return x_90;
|
||||
lean_object* x_91; lean_object* x_92;
|
||||
lean_dec(x_89);
|
||||
x_91 = lean_box(x_5);
|
||||
x_92 = lean_apply_11(x_4, x_91, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_83, x_15, x_16);
|
||||
return x_92;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94;
|
||||
x_91 = l_Lean_Elab_Tactic_saveState___rarg(x_9, x_10, x_11, x_12, x_13, x_81, x_15, x_16);
|
||||
x_92 = lean_ctor_get(x_91, 0);
|
||||
lean_inc(x_92);
|
||||
x_93 = lean_ctor_get(x_91, 1);
|
||||
lean_inc(x_93);
|
||||
lean_dec(x_91);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_81);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_87);
|
||||
x_94 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_withRWRulesSeq___spec__1(x_87, x_8, x_9, x_10, x_11, x_12, x_13, x_81, x_15, x_93);
|
||||
if (lean_obj_tag(x_94) == 0)
|
||||
{
|
||||
lean_object* x_95; lean_object* x_96; lean_object* x_97;
|
||||
lean_dec(x_92);
|
||||
x_95 = lean_ctor_get(x_94, 0);
|
||||
lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96;
|
||||
x_93 = l_Lean_Elab_Tactic_saveState___rarg(x_9, x_10, x_11, x_12, x_13, x_83, x_15, x_16);
|
||||
x_94 = lean_ctor_get(x_93, 0);
|
||||
lean_inc(x_94);
|
||||
x_95 = lean_ctor_get(x_93, 1);
|
||||
lean_inc(x_95);
|
||||
x_96 = lean_ctor_get(x_94, 1);
|
||||
lean_inc(x_96);
|
||||
lean_dec(x_94);
|
||||
x_97 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__1(x_4, x_5, x_6, x_87, x_95, x_8, x_9, x_10, x_11, x_12, x_13, x_81, x_15, x_96);
|
||||
return x_97;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102;
|
||||
lean_dec(x_87);
|
||||
x_98 = lean_ctor_get(x_94, 1);
|
||||
lean_inc(x_98);
|
||||
lean_dec(x_94);
|
||||
x_99 = l_Lean_Elab_Tactic_SavedState_restore(x_92, x_8, x_9, x_10, x_11, x_12, x_13, x_81, x_15, x_98);
|
||||
x_100 = lean_ctor_get(x_99, 1);
|
||||
lean_inc(x_100);
|
||||
lean_dec(x_99);
|
||||
x_101 = lean_box(x_5);
|
||||
x_102 = lean_apply_11(x_4, x_101, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_81, x_15, x_100);
|
||||
if (lean_obj_tag(x_102) == 0)
|
||||
{
|
||||
lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106;
|
||||
x_103 = lean_ctor_get(x_102, 0);
|
||||
lean_inc(x_103);
|
||||
x_104 = lean_ctor_get(x_102, 1);
|
||||
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;
|
||||
} else {
|
||||
lean_dec_ref(x_102);
|
||||
x_105 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_105)) {
|
||||
x_106 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_106 = x_105;
|
||||
}
|
||||
lean_ctor_set(x_106, 0, x_103);
|
||||
lean_ctor_set(x_106, 1, x_104);
|
||||
return x_106;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110;
|
||||
x_107 = lean_ctor_get(x_102, 0);
|
||||
lean_inc(x_107);
|
||||
x_108 = lean_ctor_get(x_102, 1);
|
||||
lean_inc(x_108);
|
||||
if (lean_is_exclusive(x_102)) {
|
||||
lean_ctor_release(x_102, 0);
|
||||
lean_ctor_release(x_102, 1);
|
||||
x_109 = x_102;
|
||||
} else {
|
||||
lean_dec_ref(x_102);
|
||||
x_109 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_109)) {
|
||||
x_110 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_110 = x_109;
|
||||
}
|
||||
lean_ctor_set(x_110, 0, x_107);
|
||||
lean_ctor_set(x_110, 1, x_108);
|
||||
return x_110;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114;
|
||||
lean_dec(x_7);
|
||||
x_111 = l_Lean_Elab_Tactic_saveState___rarg(x_9, x_10, x_11, x_12, x_13, x_81, x_15, x_16);
|
||||
x_112 = lean_ctor_get(x_111, 0);
|
||||
lean_inc(x_112);
|
||||
x_113 = lean_ctor_get(x_111, 1);
|
||||
lean_inc(x_113);
|
||||
lean_dec(x_111);
|
||||
lean_dec(x_93);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_81);
|
||||
lean_inc(x_83);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_3);
|
||||
x_114 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_withRWRulesSeq___spec__1(x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_81, x_15, x_113);
|
||||
if (lean_obj_tag(x_114) == 0)
|
||||
lean_inc(x_89);
|
||||
x_96 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_withRWRulesSeq___spec__1(x_89, x_8, x_9, x_10, x_11, x_12, x_13, x_83, x_15, x_95);
|
||||
if (lean_obj_tag(x_96) == 0)
|
||||
{
|
||||
lean_object* x_115; lean_object* x_116; lean_object* x_117;
|
||||
lean_dec(x_112);
|
||||
lean_object* x_97; lean_object* x_98; lean_object* x_99;
|
||||
lean_dec(x_94);
|
||||
x_97 = lean_ctor_get(x_96, 0);
|
||||
lean_inc(x_97);
|
||||
x_98 = lean_ctor_get(x_96, 1);
|
||||
lean_inc(x_98);
|
||||
lean_dec(x_96);
|
||||
x_99 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__1(x_4, x_5, x_6, x_89, x_97, x_8, x_9, x_10, x_11, x_12, x_13, x_83, x_15, x_98);
|
||||
return x_99;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105;
|
||||
lean_dec(x_89);
|
||||
x_100 = lean_ctor_get(x_96, 1);
|
||||
lean_inc(x_100);
|
||||
lean_dec(x_96);
|
||||
x_101 = 0;
|
||||
x_102 = l_Lean_Elab_Tactic_SavedState_restore(x_94, x_101, x_8, x_9, x_10, x_11, x_12, x_13, x_83, x_15, x_100);
|
||||
x_103 = lean_ctor_get(x_102, 1);
|
||||
lean_inc(x_103);
|
||||
lean_dec(x_102);
|
||||
x_104 = lean_box(x_5);
|
||||
x_105 = lean_apply_11(x_4, x_104, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_83, x_15, x_103);
|
||||
if (lean_obj_tag(x_105) == 0)
|
||||
{
|
||||
lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109;
|
||||
x_106 = lean_ctor_get(x_105, 0);
|
||||
lean_inc(x_106);
|
||||
x_107 = lean_ctor_get(x_105, 1);
|
||||
lean_inc(x_107);
|
||||
if (lean_is_exclusive(x_105)) {
|
||||
lean_ctor_release(x_105, 0);
|
||||
lean_ctor_release(x_105, 1);
|
||||
x_108 = x_105;
|
||||
} else {
|
||||
lean_dec_ref(x_105);
|
||||
x_108 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_108)) {
|
||||
x_109 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_109 = x_108;
|
||||
}
|
||||
lean_ctor_set(x_109, 0, x_106);
|
||||
lean_ctor_set(x_109, 1, x_107);
|
||||
return x_109;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113;
|
||||
x_110 = lean_ctor_get(x_105, 0);
|
||||
lean_inc(x_110);
|
||||
x_111 = lean_ctor_get(x_105, 1);
|
||||
lean_inc(x_111);
|
||||
if (lean_is_exclusive(x_105)) {
|
||||
lean_ctor_release(x_105, 0);
|
||||
lean_ctor_release(x_105, 1);
|
||||
x_112 = x_105;
|
||||
} else {
|
||||
lean_dec_ref(x_105);
|
||||
x_112 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_112)) {
|
||||
x_113 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_113 = x_112;
|
||||
}
|
||||
lean_ctor_set(x_113, 0, x_110);
|
||||
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_dec(x_7);
|
||||
x_114 = l_Lean_Elab_Tactic_saveState___rarg(x_9, x_10, x_11, x_12, x_13, x_83, x_15, x_16);
|
||||
x_115 = lean_ctor_get(x_114, 0);
|
||||
lean_inc(x_115);
|
||||
x_116 = lean_ctor_get(x_114, 1);
|
||||
lean_inc(x_116);
|
||||
lean_dec(x_114);
|
||||
x_117 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__1(x_4, x_5, x_6, x_3, x_115, x_8, x_9, x_10, x_11, x_12, x_13, x_81, x_15, x_116);
|
||||
return x_117;
|
||||
}
|
||||
else
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_83);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_3);
|
||||
x_117 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_withRWRulesSeq___spec__1(x_3, x_8, x_9, x_10, x_11, x_12, x_13, x_83, x_15, x_116);
|
||||
if (lean_obj_tag(x_117) == 0)
|
||||
{
|
||||
lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122;
|
||||
lean_dec(x_3);
|
||||
x_118 = lean_ctor_get(x_114, 1);
|
||||
lean_object* x_118; lean_object* x_119; lean_object* x_120;
|
||||
lean_dec(x_115);
|
||||
x_118 = lean_ctor_get(x_117, 0);
|
||||
lean_inc(x_118);
|
||||
lean_dec(x_114);
|
||||
x_119 = l_Lean_Elab_Tactic_SavedState_restore(x_112, x_8, x_9, x_10, x_11, x_12, x_13, x_81, x_15, x_118);
|
||||
x_120 = lean_ctor_get(x_119, 1);
|
||||
lean_inc(x_120);
|
||||
lean_dec(x_119);
|
||||
x_121 = lean_box(x_5);
|
||||
x_122 = lean_apply_11(x_4, x_121, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_81, x_15, x_120);
|
||||
if (lean_obj_tag(x_122) == 0)
|
||||
{
|
||||
lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126;
|
||||
x_123 = lean_ctor_get(x_122, 0);
|
||||
lean_inc(x_123);
|
||||
x_124 = lean_ctor_get(x_122, 1);
|
||||
lean_inc(x_124);
|
||||
if (lean_is_exclusive(x_122)) {
|
||||
lean_ctor_release(x_122, 0);
|
||||
lean_ctor_release(x_122, 1);
|
||||
x_125 = x_122;
|
||||
} else {
|
||||
lean_dec_ref(x_122);
|
||||
x_125 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_125)) {
|
||||
x_126 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_126 = x_125;
|
||||
}
|
||||
lean_ctor_set(x_126, 0, x_123);
|
||||
lean_ctor_set(x_126, 1, x_124);
|
||||
return x_126;
|
||||
x_119 = lean_ctor_get(x_117, 1);
|
||||
lean_inc(x_119);
|
||||
lean_dec(x_117);
|
||||
x_120 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___lambda__1(x_4, x_5, x_6, x_3, x_118, x_8, x_9, x_10, x_11, x_12, x_13, x_83, x_15, x_119);
|
||||
return x_120;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126;
|
||||
lean_dec(x_3);
|
||||
x_121 = lean_ctor_get(x_117, 1);
|
||||
lean_inc(x_121);
|
||||
lean_dec(x_117);
|
||||
x_122 = 0;
|
||||
x_123 = l_Lean_Elab_Tactic_SavedState_restore(x_115, x_122, x_8, x_9, x_10, x_11, x_12, x_13, x_83, x_15, x_121);
|
||||
x_124 = lean_ctor_get(x_123, 1);
|
||||
lean_inc(x_124);
|
||||
lean_dec(x_123);
|
||||
x_125 = lean_box(x_5);
|
||||
x_126 = lean_apply_11(x_4, x_125, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_83, x_15, x_124);
|
||||
if (lean_obj_tag(x_126) == 0)
|
||||
{
|
||||
lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130;
|
||||
x_127 = lean_ctor_get(x_122, 0);
|
||||
x_127 = lean_ctor_get(x_126, 0);
|
||||
lean_inc(x_127);
|
||||
x_128 = lean_ctor_get(x_122, 1);
|
||||
x_128 = lean_ctor_get(x_126, 1);
|
||||
lean_inc(x_128);
|
||||
if (lean_is_exclusive(x_122)) {
|
||||
lean_ctor_release(x_122, 0);
|
||||
lean_ctor_release(x_122, 1);
|
||||
x_129 = x_122;
|
||||
if (lean_is_exclusive(x_126)) {
|
||||
lean_ctor_release(x_126, 0);
|
||||
lean_ctor_release(x_126, 1);
|
||||
x_129 = x_126;
|
||||
} else {
|
||||
lean_dec_ref(x_122);
|
||||
lean_dec_ref(x_126);
|
||||
x_129 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_129)) {
|
||||
x_130 = lean_alloc_ctor(1, 2, 0);
|
||||
x_130 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_130 = x_129;
|
||||
}
|
||||
|
|
@ -2422,6 +2403,30 @@ lean_ctor_set(x_130, 0, x_127);
|
|||
lean_ctor_set(x_130, 1, x_128);
|
||||
return x_130;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134;
|
||||
x_131 = lean_ctor_get(x_126, 0);
|
||||
lean_inc(x_131);
|
||||
x_132 = lean_ctor_get(x_126, 1);
|
||||
lean_inc(x_132);
|
||||
if (lean_is_exclusive(x_126)) {
|
||||
lean_ctor_release(x_126, 0);
|
||||
lean_ctor_release(x_126, 1);
|
||||
x_133 = x_126;
|
||||
} else {
|
||||
lean_dec_ref(x_126);
|
||||
x_133 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_133)) {
|
||||
x_134 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_134 = x_133;
|
||||
}
|
||||
lean_ctor_set(x_134, 0, x_131);
|
||||
lean_ctor_set(x_134, 1, x_132);
|
||||
return x_134;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
835
stage0/stdlib/Lean/Elab/Tactic/Simp.c
generated
835
stage0/stdlib/Lean/Elab/Tactic/Simp.c
generated
File diff suppressed because it is too large
Load diff
436
stage0/stdlib/Lean/LocalContext.c
generated
436
stage0/stdlib/Lean/LocalContext.c
generated
|
|
@ -88,6 +88,7 @@ static lean_object* l_Nat_foldRev_loop___at_Lean_LocalContext_mkBinding___spec__
|
|||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__21___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__12___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_findSomeRevM_x3f___at_Lean_LocalContext_findFromUserName_x3f___spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_LocalContext_size___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* lean_local_ctx_erase(lean_object*, lean_object*);
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
|
|
@ -133,6 +134,7 @@ LEAN_EXPORT lean_object* l_Lean_LocalContext_findDeclM_x3f___rarg(lean_object*,
|
|||
lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__22(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_allM___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Nat_foldRev_loop___at_Lean_LocalContext_mkBinding___spec__1___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -164,7 +166,9 @@ lean_object* lean_nat_add(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___at_Lean_LocalContext_foldr___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_LocalContext_mkEmpty___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__5___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_LocalContext_size___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_PersistentHashMap_containsAtAux___at_Lean_LocalContext_contains___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_size(lean_object*);
|
||||
static lean_object* l_Lean_LocalDecl_value___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_getFVarIds___spec__5(lean_object*, size_t, size_t, lean_object*);
|
||||
uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*);
|
||||
|
|
@ -237,6 +241,7 @@ static size_t l_Std_PersistentHashMap_insertAux___at_Lean_LocalContext_mkLocalDe
|
|||
LEAN_EXPORT lean_object* l_Lean_LocalContext_findDeclM_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_foldl___spec__14___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_LocalContext_allM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_LocalContext_size___spec__3(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_LocalContext_any___spec__4(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
static size_t l_Std_PersistentHashMap_insertAux___at_Lean_LocalContext_mkLocalDecl___spec__2___closed__1;
|
||||
|
|
@ -349,6 +354,7 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr_
|
|||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedLocalDecl___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_anyM___spec__4___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_LocalContext_size___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_findDeclRev_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalDecl_index(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -391,6 +397,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_LocalContext_instFor
|
|||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_anyM___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_LocalContext_any___spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_LocalDecl_hasExprMVar(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__6(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__24___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_LocalContext_get_x21___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_LocalContext_anyM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -432,6 +439,7 @@ static lean_object* l_Nat_foldRev_loop___at_Lean_LocalContext_mkBinding___spec__
|
|||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_LocalContext_findDecl_x3f___spec__3___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_LocalContext_size___spec__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_LocalContext_findDecl_x3f___spec__3___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instMonadLCtx___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_LocalContext_mkLocalDecl___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -479,6 +487,7 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr_
|
|||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_anyM___spec__4(lean_object*);
|
||||
LEAN_EXPORT lean_object* lean_local_ctx_find(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_allM(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__5(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_anyM(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_mkForall(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalDecl_binderInfoEx___boxed(lean_object*);
|
||||
|
|
@ -494,6 +503,7 @@ LEAN_EXPORT lean_object* l_Lean_LocalContext_contains___boxed(lean_object*, lean
|
|||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_allM___spec__3___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_allM___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_pp_sanitizeNames;
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalDecl_hasValue___boxed(lean_object*);
|
||||
|
|
@ -8495,6 +8505,430 @@ lean_dec(x_2);
|
|||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = lean_usize_dec_eq(x_2, x_3);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9;
|
||||
x_6 = lean_array_uget(x_1, x_2);
|
||||
x_7 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_LocalContext_size___spec__4(x_6, x_4);
|
||||
x_8 = 1;
|
||||
x_9 = lean_usize_add(x_2, x_8);
|
||||
x_2 = x_9;
|
||||
x_4 = x_7;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = lean_usize_dec_eq(x_2, x_3);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; size_t x_7; size_t x_8;
|
||||
x_6 = lean_array_uget(x_1, x_2);
|
||||
x_7 = 1;
|
||||
x_8 = lean_usize_add(x_2, x_7);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
{
|
||||
x_2 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
lean_dec(x_6);
|
||||
x_10 = lean_unsigned_to_nat(1u);
|
||||
x_11 = lean_nat_add(x_4, x_10);
|
||||
lean_dec(x_4);
|
||||
x_2 = x_8;
|
||||
x_4 = x_11;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_LocalContext_size___spec__4(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_array_get_size(x_3);
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = lean_nat_dec_lt(x_5, x_4);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_7;
|
||||
x_7 = lean_nat_dec_le(x_4, x_4);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_8; size_t x_9; lean_object* x_10;
|
||||
x_8 = 0;
|
||||
x_9 = lean_usize_of_nat(x_4);
|
||||
lean_dec(x_4);
|
||||
x_10 = l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__5(x_3, x_8, x_9, x_2);
|
||||
lean_dec(x_3);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_11 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_1);
|
||||
x_12 = lean_array_get_size(x_11);
|
||||
x_13 = lean_unsigned_to_nat(0u);
|
||||
x_14 = lean_nat_dec_lt(x_13, x_12);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_15;
|
||||
x_15 = lean_nat_dec_le(x_12, x_12);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_16; size_t x_17; lean_object* x_18;
|
||||
x_16 = 0;
|
||||
x_17 = lean_usize_of_nat(x_12);
|
||||
lean_dec(x_12);
|
||||
x_18 = l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__6(x_11, x_16, x_17, x_2);
|
||||
lean_dec(x_11);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_LocalContext_size___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_5; size_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
x_5 = lean_ctor_get(x_1, 0);
|
||||
x_6 = lean_usize_shift_right(x_2, x_3);
|
||||
x_7 = lean_usize_to_nat(x_6);
|
||||
x_8 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_LocalContext_getFVarIds___spec__2___closed__1;
|
||||
x_9 = lean_array_get(x_8, x_5, x_7);
|
||||
x_10 = 1;
|
||||
x_11 = lean_usize_shift_left(x_10, x_3);
|
||||
x_12 = lean_usize_sub(x_11, x_10);
|
||||
x_13 = lean_usize_land(x_2, x_12);
|
||||
x_14 = 5;
|
||||
x_15 = lean_usize_sub(x_3, x_14);
|
||||
x_16 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_LocalContext_size___spec__3(x_9, x_13, x_15, x_4);
|
||||
lean_dec(x_9);
|
||||
x_17 = lean_unsigned_to_nat(1u);
|
||||
x_18 = lean_nat_add(x_7, x_17);
|
||||
lean_dec(x_7);
|
||||
x_19 = lean_array_get_size(x_5);
|
||||
x_20 = lean_nat_dec_lt(x_18, x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_18);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_21;
|
||||
x_21 = lean_nat_dec_le(x_19, x_19);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_18);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_22; size_t x_23; lean_object* x_24;
|
||||
x_22 = lean_usize_of_nat(x_18);
|
||||
lean_dec(x_18);
|
||||
x_23 = lean_usize_of_nat(x_19);
|
||||
lean_dec(x_19);
|
||||
x_24 = l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__5(x_5, x_22, x_23, x_16);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28;
|
||||
x_25 = lean_ctor_get(x_1, 0);
|
||||
x_26 = lean_usize_to_nat(x_2);
|
||||
x_27 = lean_array_get_size(x_25);
|
||||
x_28 = lean_nat_dec_lt(x_26, x_27);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_26);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_29;
|
||||
x_29 = lean_nat_dec_le(x_27, x_27);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_26);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_30; size_t x_31; lean_object* x_32;
|
||||
x_30 = lean_usize_of_nat(x_26);
|
||||
lean_dec(x_26);
|
||||
x_31 = lean_usize_of_nat(x_27);
|
||||
lean_dec(x_27);
|
||||
x_32 = l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__6(x_25, x_30, x_31, x_4);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_LocalContext_size___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = lean_nat_dec_eq(x_3, x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; uint8_t x_7;
|
||||
x_6 = lean_ctor_get(x_1, 3);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_nat_dec_le(x_6, x_3);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
lean_dec(x_6);
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_usize_of_nat(x_3);
|
||||
lean_dec(x_3);
|
||||
x_10 = lean_ctor_get_usize(x_1, 4);
|
||||
x_11 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_LocalContext_size___spec__3(x_8, x_9, x_10, x_2);
|
||||
lean_dec(x_8);
|
||||
x_12 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_1);
|
||||
x_13 = lean_array_get_size(x_12);
|
||||
x_14 = lean_nat_dec_lt(x_4, x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_15;
|
||||
x_15 = lean_nat_dec_le(x_13, x_13);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_16; size_t x_17; lean_object* x_18;
|
||||
x_16 = 0;
|
||||
x_17 = lean_usize_of_nat(x_13);
|
||||
lean_dec(x_13);
|
||||
x_18 = l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__6(x_12, x_16, x_17, x_11);
|
||||
lean_dec(x_12);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22;
|
||||
x_19 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_1);
|
||||
x_20 = lean_nat_sub(x_3, x_6);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_3);
|
||||
x_21 = lean_array_get_size(x_19);
|
||||
x_22 = lean_nat_dec_lt(x_20, x_21);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_19);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_23;
|
||||
x_23 = lean_nat_dec_le(x_21, x_21);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_19);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_24; size_t x_25; lean_object* x_26;
|
||||
x_24 = lean_usize_of_nat(x_20);
|
||||
lean_dec(x_20);
|
||||
x_25 = lean_usize_of_nat(x_21);
|
||||
lean_dec(x_21);
|
||||
x_26 = l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__6(x_19, x_24, x_25, x_2);
|
||||
lean_dec(x_19);
|
||||
return x_26;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31;
|
||||
lean_dec(x_3);
|
||||
x_27 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_27);
|
||||
x_28 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_LocalContext_size___spec__4(x_27, x_2);
|
||||
x_29 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_1);
|
||||
x_30 = lean_array_get_size(x_29);
|
||||
x_31 = lean_nat_dec_lt(x_4, x_30);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
lean_dec(x_30);
|
||||
lean_dec(x_29);
|
||||
return x_28;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_32;
|
||||
x_32 = lean_nat_dec_le(x_30, x_30);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
lean_dec(x_30);
|
||||
lean_dec(x_29);
|
||||
return x_28;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_33; size_t x_34; lean_object* x_35;
|
||||
x_33 = 0;
|
||||
x_34 = lean_usize_of_nat(x_30);
|
||||
lean_dec(x_30);
|
||||
x_35 = l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__6(x_29, x_33, x_34, x_28);
|
||||
lean_dec(x_29);
|
||||
return x_35;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_LocalContext_size___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = l_Std_PersistentArray_foldlM___at_Lean_LocalContext_size___spec__2(x_4, x_2, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_size(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_Lean_LocalContext_foldlM___at_Lean_LocalContext_size___spec__1(x_1, x_2, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7;
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__5(x_1, x_5, x_6, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7;
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_size___spec__6(x_1, x_5, x_6, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_LocalContext_size___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7;
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_LocalContext_size___spec__3(x_1, x_5, x_6, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_LocalContext_findDecl_x3f___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -9759,7 +10193,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_LocalDecl_value___closed__1;
|
||||
x_2 = l_Nat_foldRev_loop___at_Lean_LocalContext_mkBinding___spec__1___closed__5;
|
||||
x_3 = lean_unsigned_to_nat(365u);
|
||||
x_3 = lean_unsigned_to_nat(368u);
|
||||
x_4 = lean_unsigned_to_nat(14u);
|
||||
x_5 = l_Lean_LocalContext_get_x21___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
|
|||
35
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
35
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
|
|
@ -748,7 +748,7 @@ LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentA
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___spec__46___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__4(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_16288_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_16302_(lean_object*);
|
||||
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -52051,7 +52051,8 @@ return x_15;
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApproxAux(lean_object* x_1, lean_object* x_2, lean_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_3) == 5)
|
||||
switch (lean_obj_tag(x_3)) {
|
||||
case 5:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_9 = lean_ctor_get(x_3, 0);
|
||||
|
|
@ -52170,21 +52171,31 @@ lean_ctor_set(x_34, 1, x_8);
|
|||
return x_34;
|
||||
}
|
||||
}
|
||||
else
|
||||
case 10:
|
||||
{
|
||||
uint8_t x_35; lean_object* x_36; lean_object* x_37;
|
||||
lean_object* x_35;
|
||||
x_35 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_3);
|
||||
x_3 = x_35;
|
||||
goto _start;
|
||||
}
|
||||
default:
|
||||
{
|
||||
uint8_t x_37; lean_object* x_38; lean_object* x_39;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_35 = 0;
|
||||
x_36 = lean_box(x_35);
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set(x_37, 1, x_8);
|
||||
return x_37;
|
||||
x_37 = 0;
|
||||
x_38 = lean_box(x_37);
|
||||
x_39 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_38);
|
||||
lean_ctor_set(x_39, 1, x_8);
|
||||
return x_39;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -85531,7 +85542,7 @@ lean_dec(x_4);
|
|||
return x_10;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_16288_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_16302_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -86181,7 +86192,7 @@ l_Lean_Meta_isExprDefEqAuxImpl___closed__1 = _init_l_Lean_Meta_isExprDefEqAuxImp
|
|||
lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__1);
|
||||
l_Lean_Meta_isExprDefEqAuxImpl___closed__2 = _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__2);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_16288_(lean_io_mk_world());
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_16302_(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));
|
||||
|
|
|
|||
1315
stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c
generated
1315
stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c
generated
File diff suppressed because it is too large
Load diff
2
stage0/stdlib/Lean/MetavarContext.c
generated
2
stage0/stdlib/Lean/MetavarContext.c
generated
|
|
@ -53553,7 +53553,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_isLevelMVarAssignable___rarg___lambda__1___closed__1;
|
||||
x_2 = l_Lean_MetavarContext_getLevelDepth___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(785u);
|
||||
x_3 = lean_unsigned_to_nat(791u);
|
||||
x_4 = lean_unsigned_to_nat(14u);
|
||||
x_5 = l_Lean_MetavarContext_getDecl___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
|
|||
696
stage0/stdlib/Lean/Parser/Command.c
generated
696
stage0/stdlib/Lean/Parser/Command.c
generated
File diff suppressed because it is too large
Load diff
503
stage0/stdlib/Lean/Parser/Extension.c
generated
503
stage0/stdlib/Lean/Parser/Extension.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -237,7 +237,7 @@ static lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymb
|
|||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__33(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__34___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__9___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5339_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleFoldingRange_addCommandRange___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(size_t, size_t, lean_object*);
|
||||
|
|
@ -250,7 +250,7 @@ static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorke
|
|||
lean_object* l_Std_PersistentHashMap_insert___at_Lean_Server_registerLspRequestHandler___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Widget_InteractiveTermGoal_toInteractiveGoal(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__21___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3896_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5383_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__18___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__2(lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__20;
|
||||
|
|
@ -263,7 +263,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight___lamb
|
|||
static lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_locationLinksOfInfo___lambda__3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3680_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5167_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokensFull(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__14___lambda__4___closed__1;
|
||||
|
|
@ -295,7 +295,7 @@ static lean_object* l_Lean_Server_FileWorker_noHighlightKinds___closed__12;
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_to_list(lean_object*, lean_object*);
|
||||
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_3594_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5081_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePlainGoal(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Environment_contains(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_RefInfo_instCoeRefInfoRefInfo___spec__1(size_t, size_t, lean_object*);
|
||||
|
|
@ -545,7 +545,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Serve
|
|||
static lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2___closed__4;
|
||||
static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__7___lambda__4___closed__1;
|
||||
LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5504_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__8;
|
||||
static lean_object* l_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_9629____closed__21;
|
||||
|
|
@ -19763,7 +19763,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileW
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3594_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5081_(x_1);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
|
|
@ -19910,7 +19910,7 @@ static lean_object* _init_l_Lean_Server_registerLspRequestHandler___at_Lean_Serv
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3852_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5339_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -20207,7 +20207,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileW
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3680_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5167_(x_1);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
|
|
@ -20642,7 +20642,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileW
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3896_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5383_(x_1);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
|
|
@ -20755,7 +20755,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x
|
|||
x_5 = lean_array_uget(x_3, x_2);
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = lean_array_uset(x_3, x_2, x_6);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4017_(x_5);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5504_(x_5);
|
||||
x_9 = 1;
|
||||
x_10 = lean_usize_add(x_2, x_9);
|
||||
x_11 = lean_array_uset(x_7, x_2, x_8);
|
||||
|
|
|
|||
19206
stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c
generated
19206
stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c
generated
File diff suppressed because it is too large
Load diff
138
stage0/stdlib/Lean/Server/GoTo.c
generated
138
stage0/stdlib/Lean/Server/GoTo.c
generated
|
|
@ -13,9 +13,7 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___closed__2;
|
||||
static lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_locationLinksFromDecl___spec__1___closed__2;
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___closed__1;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_locationLinksFromDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_locationLinksFromDecl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -24,19 +22,21 @@ static lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_locationLinksFromDe
|
|||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_toJsonGoToKind____x40_Lean_Server_GoTo___hyg_24____closed__2;
|
||||
lean_object* lean_io_error_to_string(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_toJsonGoToKind____x40_Lean_Server_GoTo___hyg_24____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___at_Lean_Server_locationLinksFromDecl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_noConfusionExt;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_instFromJsonGoToKind;
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Except_orElseLazy___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___closed__2;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___boxed(lean_object*);
|
||||
extern lean_object* l_Lean_declRangeExt;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_locationLinksFromDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__3___closed__1;
|
||||
static lean_object* l_Lean_Server_instToJsonGoToKind___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_locationLinksFromDecl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_locationLinksFromDecl___spec__3___closed__1;
|
||||
|
|
@ -45,41 +45,39 @@ static lean_object* l_Lean_Server_documentUriFromModule___closed__1;
|
|||
static lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_locationLinksFromDecl___spec__1___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_locationLinksFromDecl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_locationLinksFromDecl___lambda__2___closed__1;
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_locationLinksFromDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_instBEqGoToKind;
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_parseTagged(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_instToJsonGoToKind;
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__3;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* lean_io_realpath(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_locationLinksFromDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_documentUriFromModule(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__3;
|
||||
static lean_object* l_Lean_Server_instBEqGoToKind___closed__1;
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_GoToKind_toCtorIdx(uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1(lean_object*);
|
||||
lean_object* l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_GoToKind_noConfusion___rarg___closed__1;
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__1;
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__1;
|
||||
static lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_locationLinksFromDecl___spec__1___closed__3;
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__2;
|
||||
static lean_object* l_Lean_Server_instFromJsonGoToKind___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_GoToKind_noConfusion(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_toJsonGoToKind____x40_Lean_Server_GoTo___hyg_24_(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_GoToKind_toCtorIdx___boxed(lean_object*);
|
||||
lean_object* l_Lean_isRec___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_find___at_Lean_findDeclarationRanges_x3f___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___at_Lean_Server_locationLinksFromDecl___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_findDeclarationRanges_x3f___at_Lean_Server_locationLinksFromDecl___spec__2___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_locationLinksFromDecl___lambda__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__3;
|
||||
uint8_t lean_is_aux_recursor(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_findDeclarationRanges_x3f___at_Lean_Server_locationLinksFromDecl___spec__2___closed__1;
|
||||
extern lean_object* l_Lean_instInhabitedDeclarationRanges;
|
||||
|
|
@ -96,14 +94,16 @@ LEAN_EXPORT lean_object* l_Lean_findModuleOf_x3f___at_Lean_Server_locationLinksF
|
|||
uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_locationLinksFromDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_GoToKind_noConfusion___rarg___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49_(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_toJsonGoToKind____x40_Lean_Server_GoTo___hyg_24____closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_GoToKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SearchPath_findModuleWithExt(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_toJsonGoToKind____x40_Lean_Server_GoTo___hyg_24____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_GoToKind_noConfusion___rarg___lambda__1___boxed(lean_object*);
|
||||
extern lean_object* l_Lean_builtinDeclRanges;
|
||||
lean_object* l_Lean_Lsp_DocumentUri_ofPath(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_GoToKind_toCtorIdx(uint8_t x_1) {
|
||||
_start:
|
||||
|
|
@ -338,7 +338,7 @@ x_1 = l_Lean_Server_instToJsonGoToKind___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -346,33 +346,33 @@ x_1 = lean_mk_string_from_bytes("no inductive constructor matched", 32);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___closed__1;
|
||||
x_1 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___closed__1;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___closed__2;
|
||||
x_2 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___closed__2;
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -383,17 +383,17 @@ lean_ctor_set(x_3, 0, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__3() {
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__2;
|
||||
x_2 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__1;
|
||||
x_1 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__2;
|
||||
x_2 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__1;
|
||||
x_3 = l_Except_orElseLazy___rarg(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
|
|
@ -407,7 +407,7 @@ x_7 = !lean_is_exclusive(x_6);
|
|||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
x_8 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__1;
|
||||
x_8 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__1;
|
||||
x_9 = l_Except_orElseLazy___rarg(x_6, x_8);
|
||||
return x_9;
|
||||
}
|
||||
|
|
@ -419,7 +419,7 @@ lean_inc(x_10);
|
|||
lean_dec(x_6);
|
||||
x_11 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
x_12 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__1;
|
||||
x_12 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__1;
|
||||
x_13 = l_Except_orElseLazy___rarg(x_11, x_12);
|
||||
return x_13;
|
||||
}
|
||||
|
|
@ -428,12 +428,12 @@ else
|
|||
{
|
||||
lean_object* x_14;
|
||||
lean_dec(x_6);
|
||||
x_14 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__3;
|
||||
x_14 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__3;
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__3___closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__3___closed__1() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -444,14 +444,14 @@ lean_ctor_set(x_3, 0, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_4 = l___private_Lean_Server_GoTo_0__Lean_Server_toJsonGoToKind____x40_Lean_Server_GoTo___hyg_24____closed__1;
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = l_Lean_Json_parseTagged(x_1, x_4, x_5, x_2);
|
||||
x_7 = lean_alloc_closure((void*)(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___boxed), 3, 2);
|
||||
x_7 = lean_alloc_closure((void*)(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___boxed), 3, 2);
|
||||
lean_closure_set(x_7, 0, x_1);
|
||||
lean_closure_set(x_7, 1, x_2);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
|
|
@ -480,13 +480,13 @@ else
|
|||
{
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
lean_dec(x_6);
|
||||
x_13 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__3___closed__1;
|
||||
x_13 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__3___closed__1;
|
||||
x_14 = l_Except_orElseLazy___rarg(x_13, x_7);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -495,17 +495,17 @@ x_2 = lean_mk_empty_array_with_capacity(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__1;
|
||||
x_1 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__1;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__3() {
|
||||
static lean_object* _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__3() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -516,15 +516,15 @@ lean_ctor_set(x_3, 0, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l___private_Lean_Server_GoTo_0__Lean_Server_toJsonGoToKind____x40_Lean_Server_GoTo___hyg_24____closed__5;
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
x_4 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__2;
|
||||
x_4 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__2;
|
||||
x_5 = l_Lean_Json_parseTagged(x_1, x_2, x_3, x_4);
|
||||
x_6 = lean_alloc_closure((void*)(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__3___boxed), 3, 2);
|
||||
x_6 = lean_alloc_closure((void*)(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__3___boxed), 3, 2);
|
||||
lean_closure_set(x_6, 0, x_1);
|
||||
lean_closure_set(x_6, 1, x_4);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
|
|
@ -553,37 +553,37 @@ else
|
|||
{
|
||||
lean_object* x_12; lean_object* x_13;
|
||||
lean_dec(x_5);
|
||||
x_12 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__3;
|
||||
x_12 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__3;
|
||||
x_13 = l_Except_orElseLazy___rarg(x_12, x_6);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1(x_1);
|
||||
x_2 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2(x_1, x_2, x_3);
|
||||
x_4 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__3(x_1, x_2, x_3);
|
||||
x_4 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__3(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -592,7 +592,7 @@ static lean_object* _init_l_Lean_Server_instFromJsonGoToKind___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1373,7 +1373,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_locationLinksFromDecl___lambda__1(lean_ob
|
|||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8;
|
||||
x_7 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__1;
|
||||
x_7 = l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__1;
|
||||
x_8 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_7);
|
||||
lean_ctor_set(x_8, 1, x_6);
|
||||
|
|
@ -1875,24 +1875,24 @@ l_Lean_Server_instToJsonGoToKind___closed__1 = _init_l_Lean_Server_instToJsonGoT
|
|||
lean_mark_persistent(l_Lean_Server_instToJsonGoToKind___closed__1);
|
||||
l_Lean_Server_instToJsonGoToKind = _init_l_Lean_Server_instToJsonGoToKind();
|
||||
lean_mark_persistent(l_Lean_Server_instToJsonGoToKind);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___closed__1 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___closed__1);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___closed__2 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__1___closed__2);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__1 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__1);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__2 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__2);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__3 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__2___closed__3);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__3___closed__1 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__3___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____lambda__3___closed__1);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__1 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__1);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__2 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__2);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__3 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_51____closed__3);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___closed__1 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___closed__1);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___closed__2 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__1___closed__2);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__1 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__1);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__2 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__2);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__3 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__2___closed__3);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__3___closed__1 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__3___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____lambda__3___closed__1);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__1 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__1);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__2 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__2);
|
||||
l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__3 = _init_l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_49____closed__3);
|
||||
l_Lean_Server_instFromJsonGoToKind___closed__1 = _init_l_Lean_Server_instFromJsonGoToKind___closed__1();
|
||||
lean_mark_persistent(l_Lean_Server_instFromJsonGoToKind___closed__1);
|
||||
l_Lean_Server_instFromJsonGoToKind = _init_l_Lean_Server_instFromJsonGoToKind();
|
||||
|
|
|
|||
441
stage0/stdlib/Lean/Widget/Basic.c
generated
441
stage0/stdlib/Lean/Widget/Basic.c
generated
|
|
@ -16,88 +16,77 @@ extern "C" {
|
|||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__1;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonFVarId(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2(lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___lambda__1(size_t);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__17;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1(lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Widget_instFromJsonFVarId___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg(lean_object*, lean_object*, size_t);
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__1;
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getStr_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg(lean_object*, lean_object*, size_t);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___closed__1;
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedInfoWithCtx;
|
||||
static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__3;
|
||||
static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__2___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___lambda__1___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___lambda__1___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__2;
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Widget_instFromJsonFVarId___closed__3;
|
||||
lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonMVarId(lean_object*);
|
||||
static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__2(lean_object*, lean_object*, lean_object*, size_t);
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__2___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__13;
|
||||
static lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__3;
|
||||
static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__1;
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__4;
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__3;
|
||||
static lean_object* l_Lean_Widget_instFromJsonFVarId___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___lambda__1(size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76_;
|
||||
static uint32_t l_Lean_Widget_instInhabitedInfoWithCtx___closed__7;
|
||||
static lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instFromJsonFVarId___closed__5;
|
||||
static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonMVarId(lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef;
|
||||
static lean_object* l_Lean_Widget_instFromJsonFVarId___closed__1;
|
||||
static lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__4;
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__1;
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg(lean_object*, lean_object*, size_t);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__19;
|
||||
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__6;
|
||||
lean_object* l_Lean_Syntax_decodeNameLit(lean_object*);
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__2;
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__15;
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__18;
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__5;
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonFVarId(lean_object*);
|
||||
static lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__1;
|
||||
static lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__2(lean_object*, lean_object*, lean_object*, size_t);
|
||||
uint32_t lean_uint32_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg(lean_object*, lean_object*, size_t);
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__2;
|
||||
static lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__3;
|
||||
lean_object* l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef;
|
||||
static lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__3;
|
||||
static lean_object* l_Lean_Widget_instInhabitedInfoWithCtx___closed__12;
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
static lean_object* _init_l_Lean_Widget_instInhabitedInfoWithCtx___closed__1() {
|
||||
|
|
@ -351,7 +340,7 @@ x_1 = l_Lean_Widget_instInhabitedInfoWithCtx___closed__19;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__1() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -359,17 +348,17 @@ x_1 = lean_mk_string_from_bytes("Lean", 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__2() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__1;
|
||||
x_2 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__3() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -377,17 +366,17 @@ x_1 = lean_mk_string_from_bytes("Widget", 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__4() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__2;
|
||||
x_2 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__3;
|
||||
x_1 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__2;
|
||||
x_2 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__5() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -395,70 +384,34 @@ x_1 = lean_mk_string_from_bytes("InfoWithCtx", 11);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__4;
|
||||
x_2 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__5;
|
||||
x_1 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__4;
|
||||
x_2 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg(lean_object* x_1, lean_object* x_2, size_t x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6;
|
||||
x_5 = l_Lean_Server_WithRpcRef_encodeUnsafe___rarg(x_2, lean_box(0), x_1, x_4, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___boxed), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg(lean_object* x_1, lean_object* x_2, size_t x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6;
|
||||
x_4 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__6;
|
||||
x_5 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg(x_1, x_2, lean_box(0), x_4, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___boxed), 3, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___boxed), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; lean_object* x_5;
|
||||
x_4 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_5 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg(x_1, x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___lambda__1(size_t x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___lambda__1(size_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -468,15 +421,15 @@ lean_ctor_set(x_3, 0, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1() {
|
||||
static lean_object* _init_l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___lambda__1___boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___lambda__1___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
|
|
@ -493,109 +446,101 @@ lean_dec(x_7);
|
|||
x_9 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_8);
|
||||
x_10 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1;
|
||||
x_10 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___closed__1;
|
||||
x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_10, x_6);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg), 4, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg), 4, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6;
|
||||
x_5 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg(x_1, x_2, x_4, x_3);
|
||||
x_4 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__6;
|
||||
x_5 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg(x_1, x_2, x_4, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__1(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__1___rarg), 3, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__1___rarg(x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg(x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__1() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__1), 4, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__2() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__2___boxed), 4, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__3() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__1;
|
||||
x_2 = l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__2;
|
||||
x_1 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__1;
|
||||
x_2 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__2;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__3;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; lean_object* x_5;
|
||||
x_4 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_5 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg(x_1, x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___lambda__1___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
size_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox_usize(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___lambda__1(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__3;
|
||||
x_1 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4_;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___lambda__1___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
size_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox_usize(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___lambda__1(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; lean_object* x_6;
|
||||
x_5 = lean_unbox_usize(x_4);
|
||||
lean_dec(x_4);
|
||||
x_6 = l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___lambda__2(x_1, x_2, x_3, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__1() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -603,70 +548,34 @@ x_1 = lean_mk_string_from_bytes("MessageData", 11);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__2() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__2;
|
||||
x_2 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__1;
|
||||
x_1 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__2;
|
||||
x_2 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg(lean_object* x_1, lean_object* x_2, size_t x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__2;
|
||||
x_5 = l_Lean_Server_WithRpcRef_encodeUnsafe___rarg(x_2, lean_box(0), x_1, x_4, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___boxed), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg(lean_object* x_1, lean_object* x_2, size_t x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__2;
|
||||
x_4 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__2;
|
||||
x_5 = l_Lean_Server_WithRpcRef_decodeUnsafeAs___rarg(x_1, x_2, lean_box(0), x_4, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___boxed), 3, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___boxed), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; lean_object* x_5;
|
||||
x_4 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_5 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg(x_1, x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__2___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
|
|
@ -683,98 +592,90 @@ lean_dec(x_7);
|
|||
x_9 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_8);
|
||||
x_10 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1;
|
||||
x_10 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___closed__1;
|
||||
x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_10, x_6);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__2(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__2___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__2___rarg), 4, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__2___spec__1___rarg), 4, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__2;
|
||||
x_5 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__2___rarg(x_1, x_2, x_4, x_3);
|
||||
x_4 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__2;
|
||||
x_5 = l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__2___spec__1___rarg(x_1, x_2, x_4, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__1(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__2(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__1___rarg), 3, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__2___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____at_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___spec__1___rarg(x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_Widget_decodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg(x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__1() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__1), 4, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__2), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__2() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__2___boxed), 4, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__3() {
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__1;
|
||||
x_2 = l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__2;
|
||||
x_1 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__1;
|
||||
x_2 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__2;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__3;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; lean_object* x_5;
|
||||
x_4 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_5 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg(x_1, x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__3;
|
||||
x_1 = l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76_;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; lean_object* x_6;
|
||||
x_5 = lean_unbox_usize(x_4);
|
||||
lean_dec(x_4);
|
||||
x_6 = l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___lambda__2(x_1, x_2, x_3, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonFVarId(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1159,38 +1060,42 @@ l_Lean_Widget_instInhabitedInfoWithCtx___closed__19 = _init_l_Lean_Widget_instIn
|
|||
lean_mark_persistent(l_Lean_Widget_instInhabitedInfoWithCtx___closed__19);
|
||||
l_Lean_Widget_instInhabitedInfoWithCtx = _init_l_Lean_Widget_instInhabitedInfoWithCtx();
|
||||
lean_mark_persistent(l_Lean_Widget_instInhabitedInfoWithCtx);
|
||||
l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__1 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__1);
|
||||
l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__2 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__2();
|
||||
lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__2);
|
||||
l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__3 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__3();
|
||||
lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__3);
|
||||
l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__4 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__4();
|
||||
lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__4);
|
||||
l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__5 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__5();
|
||||
lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__5);
|
||||
l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6();
|
||||
lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_4____rarg___closed__6);
|
||||
l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1 = _init_l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___spec__2___rarg___closed__1);
|
||||
l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__1 = _init_l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__1);
|
||||
l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__2 = _init_l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__2();
|
||||
lean_mark_persistent(l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__2);
|
||||
l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__3 = _init_l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__3();
|
||||
lean_mark_persistent(l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef___closed__3);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__1 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__1);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__2 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__2();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__2);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__3 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__3();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__3);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__4 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__4();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__4);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__5 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__5();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__5);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__6 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__6();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__1___rarg___closed__6);
|
||||
l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___closed__1 = _init_l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Server_WithRpcRef_encodeUnsafe___at_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____elambda__2___spec__1___rarg___closed__1);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__1 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__1);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__2 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__2();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__2);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__3 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__3();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4____closed__3);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4_ = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4_();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_4_);
|
||||
l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef = _init_l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef();
|
||||
lean_mark_persistent(l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef);
|
||||
l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__1 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__1);
|
||||
l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__2 = _init_l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__2();
|
||||
lean_mark_persistent(l_Lean_Widget_encodeUnsafe____x40_Lean_Widget_Basic___hyg_144____rarg___closed__2);
|
||||
l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__1 = _init_l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__1);
|
||||
l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__2 = _init_l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__2();
|
||||
lean_mark_persistent(l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__2);
|
||||
l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__3 = _init_l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__3();
|
||||
lean_mark_persistent(l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef___closed__3);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__1 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__1);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__2 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__2();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____elambda__1___rarg___closed__2);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__1 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__1);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__2 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__2();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__2);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__3 = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__3();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76____closed__3);
|
||||
l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76_ = _init_l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76_();
|
||||
lean_mark_persistent(l_Lean_Widget_unsafeInst____x40_Lean_Widget_Basic___hyg_76_);
|
||||
l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef = _init_l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef();
|
||||
lean_mark_persistent(l_Lean_Widget_instRpcEncodingWithRpcRefMessageDataRpcRef);
|
||||
l_Lean_Widget_instFromJsonFVarId___closed__1 = _init_l_Lean_Widget_instFromJsonFVarId___closed__1();
|
||||
|
|
|
|||
720
stage0/stdlib/Lean/Widget/InteractiveCode.c
generated
720
stage0/stdlib/Lean/Widget/InteractiveCode.c
generated
|
|
@ -13,97 +13,110 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____spec__2___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___closed__3;
|
||||
lean_object* l_Lean_KVMap_setBool(lean_object*, lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Widget_ppExprTagged___closed__6;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__19;
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__4(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_ppExprTagged(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Format_defWidth;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket(lean_object*);
|
||||
lean_object* l_Lean_Widget_TaggedText_prettyTagged(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBMap_ofList___at_Lean_Widget_ppExprTagged___spec__1(lean_object*);
|
||||
lean_object* l_Lean_SubExpr_Pos_toString(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__2(lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_insert___at_Lean_Widget_ppExprTagged___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket___closed__1;
|
||||
lean_object* l_Lean_Json_getStr_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60_(lean_object*);
|
||||
lean_object* l_List_join___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__11;
|
||||
extern lean_object* l_Lean_SubExpr_Pos_root;
|
||||
lean_object* l_Lean_Widget_TaggedText_stripTags___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo;
|
||||
static lean_object* l_Lean_Widget_ppExprTagged___closed__7;
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__13;
|
||||
static lean_object* l_Lean_Widget_ppExprTagged___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__1(size_t, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_setBlack___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__12;
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__6;
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__1;
|
||||
lean_object* l_Lean_Widget_TaggedText_rewrite___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SubExpr_Pos_fromString_x3f(lean_object*);
|
||||
lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__2(lean_object*, lean_object*, size_t);
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__17;
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Widget_tagExprInfos_go___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___closed__1;
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_tagExprInfos(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_tagExprInfos_go(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__8;
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__4(lean_object*);
|
||||
static lean_object* l_Lean_Widget_ppExprTagged___closed__5;
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__4;
|
||||
lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__2;
|
||||
static lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___closed__2;
|
||||
static uint32_t l_Lean_Widget_instInhabitedSubexprInfo___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Data_Lsp_Extra___hyg_1065_(size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__5(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_CodeWithInfos_pretty(lean_object*);
|
||||
static lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket___closed__1;
|
||||
static lean_object* l_Lean_Widget_ppExprTagged___closed__12;
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__2;
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__3;
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_tagExprInfos_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Widget_tagExprInfos_go___spec__1___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef;
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__5;
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__2(lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__5___boxed(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_RBNode_isRed___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_KVMap_empty;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__4(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__18;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__3(lean_object*);
|
||||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__14;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcRef____x40_Lean_Data_Lsp_Extra___hyg_1027_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_ins___at_Lean_Widget_ppExprTagged___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedSubexprInfo;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__10;
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__20;
|
||||
static lean_object* l_Lean_Widget_ppExprTagged___closed__2;
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__3(lean_object*);
|
||||
static lean_object* l_Lean_Widget_ppExprTagged___closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_ppExprTagged___closed__9;
|
||||
static lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__2;
|
||||
static lean_object* l_Lean_Widget_ppExprTagged___closed__8;
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__4(lean_object*);
|
||||
static lean_object* l_Lean_Widget_ppExprTagged___closed__3;
|
||||
static lean_object* l_Lean_Widget_ppExprTagged___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_ppExprTagged___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____spec__1(lean_object*, lean_object*);
|
||||
uint32_t lean_uint32_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_ppExprTagged___closed__11;
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedSubexprInfo___closed__16;
|
||||
lean_object* l_Lean_PrettyPrinter_ppExprWithInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_115_(lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* _init_l_Lean_Widget_instInhabitedSubexprInfo___closed__1() {
|
||||
_start:
|
||||
|
|
@ -368,7 +381,53 @@ x_1 = l_Lean_Widget_instInhabitedSubexprInfo___closed__20;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__1() {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
|
||||
x_4 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcRef____x40_Lean_Data_Lsp_Extra___hyg_1027_(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____spec__2(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
|
||||
x_4 = l_Lean_Json_getStr_x3f(x_3);
|
||||
lean_dec(x_3);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = !lean_is_exclusive(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_4);
|
||||
x_7 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
x_8 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_4);
|
||||
x_9 = l_Lean_SubExpr_Pos_fromString_x3f(x_8);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -376,7 +435,7 @@ x_1 = lean_mk_string_from_bytes("info", 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -384,190 +443,193 @@ x_1 = lean_mk_string_from_bytes("subexprPos", 10);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__1;
|
||||
x_5 = l_Lean_Json_getObjValAs_x3f(x_3, lean_box(0), x_1, x_4);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_6;
|
||||
lean_dec(x_2);
|
||||
x_6 = !lean_is_exclusive(x_5);
|
||||
if (x_6 == 0)
|
||||
uint8_t x_4;
|
||||
x_4 = !lean_is_exclusive(x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
return x_5;
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8;
|
||||
x_7 = lean_ctor_get(x_5, 0);
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_3);
|
||||
x_6 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_7 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_5);
|
||||
x_8 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_8, 0, x_7);
|
||||
return x_8;
|
||||
}
|
||||
lean_dec(x_3);
|
||||
x_8 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__2;
|
||||
x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____spec__2(x_1, x_8);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
uint8_t x_10;
|
||||
lean_dec(x_7);
|
||||
x_10 = !lean_is_exclusive(x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_9 = lean_ctor_get(x_5, 0);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_5);
|
||||
x_10 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__2;
|
||||
x_11 = l_Lean_Json_getObjValAs_x3f(x_3, lean_box(0), x_2, x_10);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
uint8_t x_12;
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_9);
|
||||
x_12 = !lean_is_exclusive(x_11);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
x_13 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_11);
|
||||
x_14 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
return x_14;
|
||||
x_12 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_15;
|
||||
x_15 = !lean_is_exclusive(x_11);
|
||||
if (x_15 == 0)
|
||||
uint8_t x_13;
|
||||
x_13 = !lean_is_exclusive(x_9);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17;
|
||||
x_16 = lean_ctor_get(x_11, 0);
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
x_14 = lean_ctor_get(x_9, 0);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_7);
|
||||
lean_ctor_set(x_15, 1, x_14);
|
||||
lean_ctor_set(x_9, 0, x_15);
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_16 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_9);
|
||||
x_17 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_9);
|
||||
lean_ctor_set(x_17, 0, x_7);
|
||||
lean_ctor_set(x_17, 1, x_16);
|
||||
lean_ctor_set(x_11, 0, x_17);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_18 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_11);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_9);
|
||||
lean_ctor_set(x_19, 1, x_18);
|
||||
x_20 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_20, 0, x_19);
|
||||
return x_20;
|
||||
x_18 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_18, 0, x_17);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93_(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___boxed), 3, 0);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____spec__2___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___boxed), 3, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____spec__2(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodingPacket(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Widget_instFromJsonRpcEncodingPacket___rarg), 2, 0);
|
||||
return x_3;
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60_(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodingPacket___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_4 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_apply_1(x_1, x_4);
|
||||
x_6 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__1;
|
||||
x_7 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_5);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_9, 0, x_7);
|
||||
lean_ctor_set(x_9, 1, x_8);
|
||||
x_10 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_3);
|
||||
x_11 = lean_apply_1(x_2, x_10);
|
||||
x_12 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__2;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodingPacket() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Widget_instFromJsonRpcEncodingPacket___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_115_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; size_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_4 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Data_Lsp_Extra___hyg_1065_(x_3);
|
||||
x_5 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__1;
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
lean_ctor_set(x_6, 1, x_4);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_6);
|
||||
lean_ctor_set(x_8, 1, x_7);
|
||||
x_9 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_1);
|
||||
x_10 = l_Lean_SubExpr_Pos_toString(x_9);
|
||||
x_11 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
x_12 = l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__2;
|
||||
x_13 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
lean_ctor_set(x_13, 1, x_11);
|
||||
x_14 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
lean_ctor_set(x_14, 1, x_8);
|
||||
lean_ctor_set(x_14, 1, x_7);
|
||||
x_15 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_8);
|
||||
lean_ctor_set(x_15, 1, x_7);
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_9);
|
||||
lean_ctor_set(x_16, 0, x_8);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
x_17 = l_List_join___rarg(x_16);
|
||||
x_18 = l_Lean_Json_mkObj(x_17);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194_(lean_object* x_1, lean_object* x_2) {
|
||||
static lean_object* _init_l_Lean_Widget_instToJsonRpcEncodingPacket___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____rarg), 3, 0);
|
||||
return x_3;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_115_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
static lean_object* _init_l_Lean_Widget_instToJsonRpcEncodingPacket() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_194____rarg), 3, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Widget_instToJsonRpcEncodingPacket___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodingPacket(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Widget_instToJsonRpcEncodingPacket___rarg), 2, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
|
|
@ -617,15 +679,15 @@ return x_16;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__1(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__1___rarg), 5, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__1___rarg), 5, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
|
|
@ -675,15 +737,15 @@ return x_16;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__2(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__2(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__2___rarg), 5, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__2___rarg), 5, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
|
|
@ -733,15 +795,15 @@ return x_16;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__3(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__3(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__3___rarg), 5, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__3___rarg), 5, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
|
|
@ -791,53 +853,77 @@ return x_16;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__4(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__4(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__4___rarg), 5, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__4___rarg), 5, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_3);
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_4 = lean_box_usize(x_1);
|
||||
x_5 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
x_6 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
x_7 = lean_apply_2(x_2, lean_box(0), x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__2(lean_object* x_1, lean_object* x_2, size_t 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;
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_inc(x_4);
|
||||
x_7 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_7, 0, x_4);
|
||||
lean_inc(x_6);
|
||||
x_8 = lean_apply_2(x_6, lean_box(0), x_7);
|
||||
return x_8;
|
||||
x_9 = lean_box_usize(x_3);
|
||||
x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__1___boxed), 3, 2);
|
||||
lean_closure_set(x_10, 0, x_9);
|
||||
lean_closure_set(x_10, 1, x_6);
|
||||
x_11 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__1___rarg), 5, 4);
|
||||
lean_closure_set(x_12, 0, x_2);
|
||||
lean_closure_set(x_12, 1, lean_box(0));
|
||||
lean_closure_set(x_12, 2, lean_box(0));
|
||||
lean_closure_set(x_12, 3, x_10);
|
||||
x_13 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_8, x_12);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_5 = l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef;
|
||||
x_6 = lean_ctor_get(x_5, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_ctor_get(x_2, 1);
|
||||
x_7 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_3);
|
||||
x_8 = lean_apply_4(x_6, lean_box(0), x_3, x_4, x_7);
|
||||
lean_inc(x_3);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__1), 3, 2);
|
||||
lean_closure_set(x_9, 0, x_5);
|
||||
lean_closure_set(x_9, 1, x_3);
|
||||
x_10 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_2);
|
||||
x_8 = lean_apply_4(x_6, lean_box(0), x_2, x_3, x_7);
|
||||
lean_inc(x_2);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__2___boxed), 3, 2);
|
||||
lean_closure_set(x_9, 0, x_4);
|
||||
lean_closure_set(x_9, 1, x_2);
|
||||
x_10 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__1___rarg), 5, 4);
|
||||
lean_closure_set(x_11, 0, x_3);
|
||||
x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__2___rarg), 5, 4);
|
||||
lean_closure_set(x_11, 0, x_2);
|
||||
lean_closure_set(x_11, 1, lean_box(0));
|
||||
lean_closure_set(x_11, 2, lean_box(0));
|
||||
lean_closure_set(x_11, 3, x_9);
|
||||
|
|
@ -845,134 +931,138 @@ x_12 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_8, x_11);
|
|||
return x_12;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_7 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_1);
|
||||
x_8 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_9 = lean_apply_4(x_7, lean_box(0), x_4, x_5, x_8);
|
||||
lean_inc(x_4);
|
||||
x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__2), 5, 4);
|
||||
lean_closure_set(x_10, 0, x_2);
|
||||
lean_closure_set(x_10, 1, x_6);
|
||||
lean_closure_set(x_10, 2, x_4);
|
||||
lean_closure_set(x_10, 3, x_5);
|
||||
x_11 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__2___rarg), 5, 4);
|
||||
lean_closure_set(x_12, 0, x_4);
|
||||
lean_closure_set(x_12, 1, lean_box(0));
|
||||
lean_closure_set(x_12, 2, lean_box(0));
|
||||
lean_closure_set(x_12, 3, x_10);
|
||||
x_13 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_9, x_12);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_3);
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_5);
|
||||
x_7 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_7, 0, x_4);
|
||||
x_8 = lean_apply_2(x_6, lean_box(0), x_7);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_6 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_3);
|
||||
x_8 = lean_apply_4(x_6, lean_box(0), x_3, x_4, x_7);
|
||||
lean_inc(x_3);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__4), 3, 2);
|
||||
lean_closure_set(x_9, 0, x_5);
|
||||
lean_closure_set(x_9, 1, x_3);
|
||||
x_10 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__3___rarg), 5, 4);
|
||||
lean_closure_set(x_11, 0, x_3);
|
||||
lean_closure_set(x_11, 1, lean_box(0));
|
||||
lean_closure_set(x_11, 2, lean_box(0));
|
||||
lean_closure_set(x_11, 3, x_9);
|
||||
x_12 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_8, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_7 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_1);
|
||||
x_8 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_9 = lean_apply_4(x_7, lean_box(0), x_4, x_5, x_8);
|
||||
lean_inc(x_4);
|
||||
x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__5), 5, 4);
|
||||
lean_closure_set(x_10, 0, x_2);
|
||||
lean_closure_set(x_10, 1, x_6);
|
||||
lean_closure_set(x_10, 2, x_4);
|
||||
lean_closure_set(x_10, 3, x_5);
|
||||
x_11 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___spec__4___rarg), 5, 4);
|
||||
lean_closure_set(x_12, 0, x_4);
|
||||
lean_closure_set(x_12, 1, lean_box(0));
|
||||
lean_closure_set(x_12, 2, lean_box(0));
|
||||
lean_closure_set(x_12, 3, x_10);
|
||||
x_13 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_9, x_12);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__4(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_inc(x_3);
|
||||
lean_inc(x_1);
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__3), 6, 2);
|
||||
lean_closure_set(x_4, 0, x_1);
|
||||
lean_closure_set(x_4, 1, x_3);
|
||||
x_5 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg___lambda__6), 6, 2);
|
||||
lean_closure_set(x_5, 0, x_1);
|
||||
lean_closure_set(x_5, 1, x_3);
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_4);
|
||||
lean_ctor_set(x_6, 1, x_5);
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_3);
|
||||
x_5 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
x_6 = lean_apply_2(x_2, lean_box(0), x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfoRpcEncodingPacket___rarg), 3, 0);
|
||||
return x_2;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_inc(x_4);
|
||||
x_7 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_7, 0, x_4);
|
||||
lean_inc(x_6);
|
||||
x_8 = lean_apply_2(x_6, lean_box(0), x_7);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__4), 3, 2);
|
||||
lean_closure_set(x_9, 0, x_3);
|
||||
lean_closure_set(x_9, 1, x_6);
|
||||
x_10 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__3___rarg), 5, 4);
|
||||
lean_closure_set(x_11, 0, x_2);
|
||||
lean_closure_set(x_11, 1, lean_box(0));
|
||||
lean_closure_set(x_11, 2, lean_box(0));
|
||||
lean_closure_set(x_11, 3, x_9);
|
||||
x_12 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_8, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__6(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;
|
||||
x_5 = l_Lean_Widget_instRpcEncodingWithRpcRefInfoWithCtxRpcRef;
|
||||
x_6 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_2);
|
||||
x_8 = lean_apply_4(x_6, lean_box(0), x_2, x_3, x_7);
|
||||
lean_inc(x_2);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__5___boxed), 3, 2);
|
||||
lean_closure_set(x_9, 0, x_4);
|
||||
lean_closure_set(x_9, 1, x_2);
|
||||
x_10 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_instRpcEncodingSubexprInfo___spec__4___rarg), 5, 4);
|
||||
lean_closure_set(x_11, 0, x_2);
|
||||
lean_closure_set(x_11, 1, lean_box(0));
|
||||
lean_closure_set(x_11, 2, lean_box(0));
|
||||
lean_closure_set(x_11, 3, x_9);
|
||||
x_12 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_8, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instRpcEncodingSubexprInfo___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__3), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instRpcEncodingSubexprInfo___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__6), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instRpcEncodingSubexprInfo___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Widget_instRpcEncodingSubexprInfo___closed__1;
|
||||
x_2 = l_Lean_Widget_instRpcEncodingSubexprInfo___closed__2;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Widget_instRpcEncodingSubexprInfo() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Widget_instRpcEncodingSubexprInfo___closed__3;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; lean_object* x_5;
|
||||
x_4 = lean_unbox_usize(x_1);
|
||||
lean_dec(x_1);
|
||||
x_5 = l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__1(x_4, x_2, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; lean_object* x_5;
|
||||
x_4 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_5 = l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__2(x_1, x_2, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Widget_instRpcEncodingSubexprInfo___lambda__5(x_1, x_2, x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_CodeWithInfos_pretty(lean_object* x_1) {
|
||||
|
|
@ -3951,10 +4041,26 @@ l_Lean_Widget_instInhabitedSubexprInfo___closed__20 = _init_l_Lean_Widget_instIn
|
|||
lean_mark_persistent(l_Lean_Widget_instInhabitedSubexprInfo___closed__20);
|
||||
l_Lean_Widget_instInhabitedSubexprInfo = _init_l_Lean_Widget_instInhabitedSubexprInfo();
|
||||
lean_mark_persistent(l_Lean_Widget_instInhabitedSubexprInfo);
|
||||
l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__1 = _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__1);
|
||||
l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__2 = _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_93____rarg___closed__2);
|
||||
l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__1 = _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__1);
|
||||
l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__2 = _init_l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodingPacket____x40_Lean_Widget_InteractiveCode___hyg_60____closed__2);
|
||||
l_Lean_Widget_instFromJsonRpcEncodingPacket___closed__1 = _init_l_Lean_Widget_instFromJsonRpcEncodingPacket___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodingPacket___closed__1);
|
||||
l_Lean_Widget_instFromJsonRpcEncodingPacket = _init_l_Lean_Widget_instFromJsonRpcEncodingPacket();
|
||||
lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodingPacket);
|
||||
l_Lean_Widget_instToJsonRpcEncodingPacket___closed__1 = _init_l_Lean_Widget_instToJsonRpcEncodingPacket___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_instToJsonRpcEncodingPacket___closed__1);
|
||||
l_Lean_Widget_instToJsonRpcEncodingPacket = _init_l_Lean_Widget_instToJsonRpcEncodingPacket();
|
||||
lean_mark_persistent(l_Lean_Widget_instToJsonRpcEncodingPacket);
|
||||
l_Lean_Widget_instRpcEncodingSubexprInfo___closed__1 = _init_l_Lean_Widget_instRpcEncodingSubexprInfo___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_instRpcEncodingSubexprInfo___closed__1);
|
||||
l_Lean_Widget_instRpcEncodingSubexprInfo___closed__2 = _init_l_Lean_Widget_instRpcEncodingSubexprInfo___closed__2();
|
||||
lean_mark_persistent(l_Lean_Widget_instRpcEncodingSubexprInfo___closed__2);
|
||||
l_Lean_Widget_instRpcEncodingSubexprInfo___closed__3 = _init_l_Lean_Widget_instRpcEncodingSubexprInfo___closed__3();
|
||||
lean_mark_persistent(l_Lean_Widget_instRpcEncodingSubexprInfo___closed__3);
|
||||
l_Lean_Widget_instRpcEncodingSubexprInfo = _init_l_Lean_Widget_instRpcEncodingSubexprInfo();
|
||||
lean_mark_persistent(l_Lean_Widget_instRpcEncodingSubexprInfo);
|
||||
l_Lean_Widget_ppExprTagged___closed__1 = _init_l_Lean_Widget_ppExprTagged___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_ppExprTagged___closed__1);
|
||||
l_Lean_Widget_ppExprTagged___closed__2 = _init_l_Lean_Widget_ppExprTagged___closed__2();
|
||||
|
|
|
|||
16659
stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c
generated
16659
stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c
generated
File diff suppressed because it is too large
Load diff
30204
stage0/stdlib/Lean/Widget/InteractiveGoal.c
generated
30204
stage0/stdlib/Lean/Widget/InteractiveGoal.c
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue