chore: update stage0
This commit is contained in:
parent
ec045bfbb8
commit
7870c24cdd
129 changed files with 29027 additions and 12948 deletions
2
stage0/src/Init/NotationExtra.lean
generated
2
stage0/src/Init/NotationExtra.lean
generated
|
|
@ -212,7 +212,7 @@ macro_rules
|
|||
/-- `· tac` focuses on the main goal and tries to solve it using `tac`, or else fails. -/
|
||||
syntax ("·" <|> ".") ppHardSpace many1Indent(group(tactic ";"? ppLine)) : tactic
|
||||
macro_rules
|
||||
| `(tactic| ·%$dot $[$tacs:tactic $[;]?]*) => `(tactic| {%$dot $[$tacs:tactic]*})
|
||||
| `(tactic| ·%$dot $[$tacs:tactic $[;%$sc]?]*) => `(tactic| {%$dot $[$tacs:tactic $[;%$sc]?]*})
|
||||
|
||||
/--
|
||||
Similar to `first`, but succeeds only if one the given tactics solves the current goal.
|
||||
|
|
|
|||
2
stage0/src/Lean.lean
generated
2
stage0/src/Lean.lean
generated
|
|
@ -33,3 +33,5 @@ import Lean.LazyInitExtension
|
|||
import Lean.LoadDynlib
|
||||
import Lean.Widget
|
||||
import Lean.Log
|
||||
import Lean.Linter
|
||||
import Lean.SubExpr
|
||||
|
|
|
|||
4
stage0/src/Lean/CoreM.lean
generated
4
stage0/src/Lean/CoreM.lean
generated
|
|
@ -214,14 +214,12 @@ instance : MonadLog CoreM where
|
|||
getRef := getRef
|
||||
getFileMap := return (← read).fileMap
|
||||
getFileName := return (← read).fileName
|
||||
hasErrors := return (← get).messages.hasErrors
|
||||
logMessage msg := do
|
||||
let ctx ← read
|
||||
let msg := { msg with data := MessageData.withNamingContext { currNamespace := ctx.currNamespace, openDecls := ctx.openDecls } msg.data };
|
||||
modify fun s => { s with messages := s.messages.add msg }
|
||||
|
||||
def hasErrors : CoreM Bool :=
|
||||
return (← get).messages.hasErrors
|
||||
|
||||
end Core
|
||||
|
||||
export Core (CoreM mkFreshUserName checkMaxHeartbeats withCurrHeartbeats)
|
||||
|
|
|
|||
5
stage0/src/Lean/Elab/Command.lean
generated
5
stage0/src/Lean/Elab/Command.lean
generated
|
|
@ -183,6 +183,7 @@ instance : MonadLog CommandElabM where
|
|||
getRef := getRef
|
||||
getFileMap := return (← read).fileMap
|
||||
getFileName := return (← read).fileName
|
||||
hasErrors := return (← get).messages.hasErrors
|
||||
logMessage msg := do
|
||||
let currNamespace ← getCurrNamespace
|
||||
let openDecls ← getOpenDecls
|
||||
|
|
@ -303,12 +304,12 @@ macro expansion etc.
|
|||
def elabCommandTopLevel (stx : Syntax) : CommandElabM Unit := withRef stx do
|
||||
let initMsgs ← modifyGet fun st => (st.messages, { st with messages := {} })
|
||||
let initInfoTrees ← getResetInfoTrees
|
||||
withLogging do
|
||||
runLinters stx
|
||||
-- We should *not* factor out `elabCommand`'s `withLogging` to here since it would make its error
|
||||
-- recovery more coarse. In particular, If `c` in `set_option ... in $c` fails, the remaining
|
||||
-- `end` command of the `in` macro would be skipped and the option would be leaked to the outside!
|
||||
elabCommand stx
|
||||
withLogging do
|
||||
runLinters stx
|
||||
|
||||
-- note the order: first process current messages & info trees, then add back old messages & trees,
|
||||
-- then convert new traces to messages
|
||||
|
|
|
|||
2
stage0/src/Lean/Elab/Match.lean
generated
2
stage0/src/Lean/Elab/Match.lean
generated
|
|
@ -1112,9 +1112,9 @@ private def elabMatchAux (generalizing? : Option Bool) (discrStxs : Array Syntax
|
|||
let numDiscrs := discrs.size
|
||||
let matcherName ← mkAuxName `match
|
||||
let matcherResult ← mkMatcher { matcherName, matchType, discrInfos := discrs.map fun discr => { hName? := discr.h?.map (·.getId) }, lhss := altLHSS }
|
||||
reportMatcherResultErrors altLHSS matcherResult
|
||||
matcherResult.addMatcher
|
||||
let motive ← forallBoundedTelescope matchType numDiscrs fun xs matchType => mkLambdaFVars xs matchType
|
||||
reportMatcherResultErrors altLHSS matcherResult
|
||||
let r := mkApp matcherResult.matcher motive
|
||||
let r := mkAppN r (discrs.map (·.expr))
|
||||
let r := mkAppN r rhss
|
||||
|
|
|
|||
41
stage0/src/Lean/Elab/MutualDef.lean
generated
41
stage0/src/Lean/Elab/MutualDef.lean
generated
|
|
@ -6,6 +6,7 @@ Authors: Leonardo de Moura
|
|||
import Lean.Parser.Term
|
||||
import Lean.Meta.Closure
|
||||
import Lean.Meta.Check
|
||||
import Lean.PrettyPrinter.Delaborator.Options
|
||||
import Lean.Elab.Command
|
||||
import Lean.Elab.Match
|
||||
import Lean.Elab.DefView
|
||||
|
|
@ -720,6 +721,45 @@ def eraseAuxDiscr (e : Expr) : CoreM Expr := do
|
|||
return TransformStep.visit e
|
||||
| e => return TransformStep.visit e
|
||||
|
||||
partial def checkForHiddenUnivLevels (allUserLevelNames : List Name) (preDefs : Array PreDefinition) : TermElabM Unit :=
|
||||
unless (← MonadLog.hasErrors) do
|
||||
-- We do not report this kind of error if the declaration already contains errors
|
||||
let mut sTypes : CollectLevelParams.State := {}
|
||||
let mut sValues : CollectLevelParams.State := {}
|
||||
for preDef in preDefs do
|
||||
sTypes := collectLevelParams sTypes preDef.type
|
||||
sValues := collectLevelParams sValues preDef.value
|
||||
if sValues.params.all fun u => sTypes.params.contains u || allUserLevelNames.contains u then
|
||||
-- If all universe level occurring in values also occur in types or explicitly provided universes, then everything is fine
|
||||
-- and we just return
|
||||
return ()
|
||||
let checkPreDef (preDef : PreDefinition) : TermElabM Unit :=
|
||||
-- Otherwise, we try to produce an error message containing the expression with the offending universe
|
||||
let rec visitLevel (u : Level) : ReaderT Expr TermElabM Unit := do
|
||||
match u with
|
||||
| .succ u _ => visitLevel u
|
||||
| .imax u v _ | .max u v _ => visitLevel u; visitLevel v
|
||||
| .param n _ =>
|
||||
unless sTypes.visitedLevel.contains u || allUserLevelNames.contains n do
|
||||
let parent ← withOptions (fun o => pp.universes.set o true) do addMessageContext m!"{indentExpr (← read)}"
|
||||
let body ← withOptions (fun o => pp.letVarTypes.setIfNotSet (pp.funBinderTypes.setIfNotSet o true) true) do addMessageContext m!"{indentExpr preDef.value}"
|
||||
throwError "invalid occurrence of universe level '{u}' at '{preDef.declName}', it does not occur at the declaration type, nor it is explicit universe level provided by the user, occurring at expression{parent}\nat declaration body{body}"
|
||||
| _ => pure ()
|
||||
let rec visit (e : Expr) : ReaderT Expr (MonadCacheT ExprStructEq Unit TermElabM) Unit := do
|
||||
checkCache { val := e : ExprStructEq } fun _ => do
|
||||
match e with
|
||||
| .forallE n d b c | .lam n d b c => visit d e; withLocalDecl n c.binderInfo d fun x => visit (b.instantiate1 x) e
|
||||
| .letE n t v b _ => visit t e; visit v e; withLetDecl n t v fun x => visit (b.instantiate1 x) e
|
||||
| .app .. => e.withApp fun f args => do visit f e; args.forM fun arg => visit arg e
|
||||
| .mdata _ b _ => visit b e
|
||||
| .proj _ _ b _ => visit b e
|
||||
| .sort u _ => visitLevel u (← read)
|
||||
| .const _ us _ => us.forM (visitLevel · (← read))
|
||||
| _ => pure ()
|
||||
visit preDef.value preDef.value |>.run {}
|
||||
for preDef in preDefs do
|
||||
checkPreDef preDef
|
||||
|
||||
def elabMutualDef (vars : Array Expr) (views : Array DefView) (hints : TerminationHints) : TermElabM Unit :=
|
||||
if isExample views then
|
||||
withoutModifyingEnv go
|
||||
|
|
@ -753,6 +793,7 @@ where
|
|||
return preDef
|
||||
else
|
||||
return { preDef with value := (← eraseAuxDiscr preDef.value) }
|
||||
checkForHiddenUnivLevels allUserLevelNames preDefs
|
||||
addPreDefinitions preDefs hints
|
||||
processDeriving headers
|
||||
|
||||
|
|
|
|||
1
stage0/src/Lean/Elab/Quotation/Util.lean
generated
1
stage0/src/Lean/Elab/Quotation/Util.lean
generated
|
|
@ -19,6 +19,7 @@ def getAntiquotationIds (stx : Syntax) : TermElabM (Array Syntax) := do
|
|||
if (isAntiquot stx || isTokenAntiquot stx) && !isEscapedAntiquot stx then
|
||||
let anti := getAntiquotTerm stx
|
||||
if anti.isIdent then ids := ids.push anti
|
||||
else if anti.isOfKind ``Parser.Term.hole then pure ()
|
||||
else throwErrorAt stx "complex antiquotation not allowed here"
|
||||
return ids
|
||||
|
||||
|
|
|
|||
2
stage0/src/Lean/Elab/SyntheticMVars.lean
generated
2
stage0/src/Lean/Elab/SyntheticMVars.lean
generated
|
|
@ -233,7 +233,7 @@ def reportStuckSyntheticMVar (mvarSyntheticDecl : SyntheticMVarDecl) (ignoreStuc
|
|||
unless ignoreStuckTC do
|
||||
withMVarContext mvarSyntheticDecl.mvarId do
|
||||
let mvarDecl ← getMVarDecl mvarSyntheticDecl.mvarId
|
||||
unless (← Core.hasErrors) do
|
||||
unless (← MonadLog.hasErrors) do
|
||||
throwError "typeclass instance problem is stuck, it is often due to metavariables{indentExpr mvarDecl.type}"
|
||||
| SyntheticMVarKind.coe header eNew expectedType eType e f? =>
|
||||
let mvarId := eNew.appArg!.mvarId!
|
||||
|
|
|
|||
8
stage0/src/Lean/Elab/Term.lean
generated
8
stage0/src/Lean/Elab/Term.lean
generated
|
|
@ -374,7 +374,7 @@ def withoutErrToSorry (x : TermElabM α) : TermElabM α :=
|
|||
|
||||
/-- For testing `TermElabM` methods. The #eval command will sign the error. -/
|
||||
def throwErrorIfErrors : TermElabM Unit := do
|
||||
if (← Core.hasErrors) then
|
||||
if (← MonadLog.hasErrors) then
|
||||
throwError "Error(s)"
|
||||
|
||||
def traceAtCmdPos (cls : Name) (msg : Unit → MessageData) : TermElabM Unit :=
|
||||
|
|
@ -437,7 +437,7 @@ def registerCustomErrorIfMVar (e : Expr) (ref : Syntax) (msgData : MessageData)
|
|||
cannot continue if there are metavariables in patterns.
|
||||
We only want to log it if we haven't logged any error so far. -/
|
||||
def throwMVarError (m : MessageData) : TermElabM α := do
|
||||
if (← Core.hasErrors) then
|
||||
if (← MonadLog.hasErrors) then
|
||||
throwAbortTerm
|
||||
else
|
||||
throwError m
|
||||
|
|
@ -479,7 +479,7 @@ def logUnassignedUsingErrorInfos (pendingMVarIds : Array MVarId) (extraMsg? : Op
|
|||
if pendingMVarIds.isEmpty then
|
||||
return false
|
||||
else
|
||||
let hasOtherErrors ← Core.hasErrors
|
||||
let hasOtherErrors ← MonadLog.hasErrors
|
||||
let mut hasNewErrors := false
|
||||
let mut alreadyVisited : MVarIdSet := {}
|
||||
let mut errors : Array MVarErrorInfo := #[]
|
||||
|
|
@ -1279,7 +1279,7 @@ def commitIfNoErrors? (x : TermElabM α) : TermElabM (Option α) := do
|
|||
Core.resetMessageLog
|
||||
try
|
||||
let a ← x
|
||||
if (← Core.hasErrors) then
|
||||
if (← MonadLog.hasErrors) then
|
||||
restoreState saved
|
||||
return none
|
||||
else
|
||||
|
|
|
|||
2
stage0/src/Lean/Linter.lean
generated
Normal file
2
stage0/src/Lean/Linter.lean
generated
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
import Lean.Linter.Basic
|
||||
import Lean.Linter.Util
|
||||
189
stage0/src/Lean/Linter/Basic.lean
generated
Normal file
189
stage0/src/Lean/Linter/Basic.lean
generated
Normal file
|
|
@ -0,0 +1,189 @@
|
|||
import Lean.Elab.Command
|
||||
import Lean.Linter.Util
|
||||
import Lean.Elab.InfoTree
|
||||
import Lean.Server.InfoUtils
|
||||
import Lean.Server.References
|
||||
import Std.Data.HashMap
|
||||
|
||||
namespace Lean.Linter
|
||||
open Lean.Server Std
|
||||
|
||||
register_builtin_option linter.unusedVariables : Bool := {
|
||||
defValue := true,
|
||||
descr := "enable the 'unused variables' linter"
|
||||
}
|
||||
register_builtin_option linter.unusedVariables.funArgs : Bool := {
|
||||
defValue := true,
|
||||
descr := "enable the 'unused variables' linter to mark unused function arguments"
|
||||
}
|
||||
register_builtin_option linter.unusedVariables.patternVars : Bool := {
|
||||
defValue := true,
|
||||
descr := "enable the 'unused variables' linter to mark unused pattern variables"
|
||||
}
|
||||
|
||||
def getLinterUnusedVariables (o : Options) : Bool := o.get linter.unusedVariables.name (getLinterAll o)
|
||||
def getLinterUnusedVariablesFunArgs (o : Options) : Bool := o.get linter.unusedVariables.funArgs.name (getLinterUnusedVariables o)
|
||||
def getLinterUnusedVariablesPatternVars (o : Options) : Bool := o.get linter.unusedVariables.patternVars.name (getLinterUnusedVariables o)
|
||||
|
||||
def unusedVariables : Linter := fun stx => do
|
||||
let some stxRange := stx.getRange?
|
||||
| pure ()
|
||||
|
||||
let infoTrees := (← get).infoState.trees.toArray
|
||||
let fileMap := (← read).fileMap
|
||||
|
||||
-- collect references
|
||||
let refs := findModuleRefs fileMap infoTrees
|
||||
|
||||
let mut vars : HashMap FVarId RefInfo := .empty
|
||||
let mut constDecls : HashSet String.Range := .empty
|
||||
|
||||
for (ident, info) in refs.toList do
|
||||
match ident with
|
||||
| .fvar id =>
|
||||
vars := vars.insert id info
|
||||
| .const _ =>
|
||||
if let some definition := info.definition then
|
||||
if let some range := definition.stx.getRange? then
|
||||
constDecls := constDecls.insert range
|
||||
|
||||
-- collect uses from tactic infos
|
||||
let tacticMVarAssignments : HashMap MVarId Expr :=
|
||||
infoTrees.foldr (init := .empty) fun tree assignments =>
|
||||
tree.foldInfo (init := assignments) (fun _ i assignments => match i with
|
||||
| .ofTacticInfo ti =>
|
||||
ti.mctxAfter.eAssignment.foldl (init := assignments) fun assignments mvar expr =>
|
||||
if assignments.contains mvar then
|
||||
assignments
|
||||
else
|
||||
assignments.insert mvar expr
|
||||
| _ =>
|
||||
assignments)
|
||||
|
||||
let tacticFVarUses : HashSet FVarId ←
|
||||
tacticMVarAssignments.foldM (init := .empty) fun uses _ expr => do
|
||||
let (_, s) ← StateT.run (s := uses) <| expr.forEach' (fun expr => do
|
||||
match expr with
|
||||
| .fvar id _ => modify (·.insert id)
|
||||
| _ => pure ()
|
||||
return true)
|
||||
return s
|
||||
|
||||
-- determine unused variables
|
||||
for (id, ⟨decl?, uses⟩) in vars.toList do
|
||||
let some decl := decl?
|
||||
| continue
|
||||
let declStx := skipDeclIdIfPresent decl.stx
|
||||
let some range := declStx.getRange?
|
||||
| continue
|
||||
let some localDecl := decl.info.lctx.find? id
|
||||
| continue
|
||||
if !stxRange.contains range.start then
|
||||
continue
|
||||
|
||||
let opts := decl.ci.options
|
||||
if !getLinterUnusedVariables opts then
|
||||
continue
|
||||
|
||||
let mut ignoredPatternFns := #[
|
||||
isTopLevelDecl constDecls,
|
||||
matchesUnusedPattern,
|
||||
isVariable,
|
||||
isInCtorOrStructBinder,
|
||||
isInConstantOrAxiom,
|
||||
isInDefWithForeignDefinition,
|
||||
isInDepArrow
|
||||
]
|
||||
if !getLinterUnusedVariablesFunArgs opts then
|
||||
ignoredPatternFns := ignoredPatternFns.append #[
|
||||
isInLetDeclaration,
|
||||
isInDeclarationSignature,
|
||||
isInStructure,
|
||||
isInFun
|
||||
]
|
||||
if !getLinterUnusedVariablesPatternVars opts then
|
||||
ignoredPatternFns := ignoredPatternFns.append #[
|
||||
isPatternVar
|
||||
]
|
||||
|
||||
let some stack := findSyntaxStack? stx declStx
|
||||
| continue
|
||||
if ignoredPatternFns.any (· declStx stack) then
|
||||
continue
|
||||
|
||||
if uses.isEmpty && !tacticFVarUses.contains id &&
|
||||
decl.aliases.all (match · with | .fvar id => !tacticFVarUses.contains id | _ => false) then
|
||||
publishMessage s!"unused variable `{localDecl.userName}`" range
|
||||
|
||||
return ()
|
||||
where
|
||||
skipDeclIdIfPresent (stx : Syntax) : Syntax :=
|
||||
if stx.isOfKind `Lean.Parser.Command.declId then
|
||||
stx[0]
|
||||
else
|
||||
stx
|
||||
|
||||
isTopLevelDecl (constDecls : HashSet String.Range) (stx : Syntax) (stack : SyntaxStack) := Id.run <| do
|
||||
let some declRange := stx.getRange?
|
||||
| false
|
||||
constDecls.contains declRange &&
|
||||
!stackMatches stack [`Lean.Parser.Term.letIdDecl]
|
||||
matchesUnusedPattern (stx : Syntax) (_ : SyntaxStack) :=
|
||||
stx.getId.toString.startsWith "_"
|
||||
isVariable (_ : Syntax) (stack : SyntaxStack) :=
|
||||
stackMatches stack [`null, none, `null, `Lean.Parser.Command.variable]
|
||||
isInCtorOrStructBinder (_ : Syntax) (stack : SyntaxStack) :=
|
||||
stackMatches stack [`null, none, `null, `Lean.Parser.Command.optDeclSig, none] &&
|
||||
(stack.get? 4 |>.any fun (stx, _) =>
|
||||
[`Lean.Parser.Command.ctor, `Lean.Parser.Command.structSimpleBinder].any (stx.isOfKind ·))
|
||||
isInConstantOrAxiom (_ : Syntax) (stack : SyntaxStack) :=
|
||||
stackMatches stack [`null, none, `null, `Lean.Parser.Command.declSig, none] &&
|
||||
(stack.get? 4 |>.any fun (stx, _) =>
|
||||
[`Lean.Parser.Command.constant, `Lean.Parser.Command.axiom].any (stx.isOfKind ·))
|
||||
isInDefWithForeignDefinition (_ : Syntax) (stack : SyntaxStack) :=
|
||||
stackMatches stack [`null, none, `null, none, none, `Lean.Parser.Command.declaration] &&
|
||||
(stack.get? 3 |>.any fun (stx, _) =>
|
||||
stx.isOfKind `Lean.Parser.Command.optDeclSig ||
|
||||
stx.isOfKind `Lean.Parser.Command.declSig) &&
|
||||
(stack.get? 5 |>.any fun (stx, _) => Id.run <| do
|
||||
let declModifiers := stx[0]
|
||||
if !declModifiers.isOfKind `Lean.Parser.Command.declModifiers then
|
||||
return false
|
||||
let termAttributes := declModifiers[1][0]
|
||||
if !termAttributes.isOfKind `Lean.Parser.Term.attributes then
|
||||
return false
|
||||
let termAttrInstance := termAttributes[1][0]
|
||||
if !termAttrInstance.isOfKind `Lean.Parser.Term.attrInstance then
|
||||
return false
|
||||
|
||||
let attr := termAttrInstance[1]
|
||||
if attr.isOfKind `Lean.Parser.Attr.extern then
|
||||
return true
|
||||
else if attr.isOfKind `Lean.Parser.Attr.simple then
|
||||
return attr[0].getId == `implementedBy
|
||||
else
|
||||
return false)
|
||||
isInDepArrow (_ : Syntax) (stack : SyntaxStack) :=
|
||||
stackMatches stack [`null, `Lean.Parser.Term.explicitBinder, `Lean.Parser.Term.depArrow]
|
||||
|
||||
isInLetDeclaration (_ : Syntax) (stack : SyntaxStack) :=
|
||||
stackMatches stack [`null, none, `null, `Lean.Parser.Term.letIdDecl, none] &&
|
||||
(stack.get? 3 |>.any fun (_, pos) => pos == 1) &&
|
||||
(stack.get? 5 |>.any fun (stx, _) => !stx.isOfKind `Lean.Parser.Command.whereStructField)
|
||||
isInDeclarationSignature (_ : Syntax) (stack : SyntaxStack) :=
|
||||
stackMatches stack [`null, none, `null, none] &&
|
||||
(stack.get? 3 |>.any fun (stx, pos) =>
|
||||
pos == 0 &&
|
||||
[`Lean.Parser.Command.optDeclSig, `Lean.Parser.Command.declSig].any (stx.isOfKind ·))
|
||||
isInStructure (_ : Syntax) (stack : SyntaxStack) :=
|
||||
stackMatches stack [`null, none, `null, `Lean.Parser.Command.structure]
|
||||
isInFun (_ : Syntax) (stack : SyntaxStack) :=
|
||||
stackMatches stack [`null, `Lean.Parser.Term.basicFun] ||
|
||||
stackMatches stack [`null, `Lean.Parser.Term.paren, `null, `Lean.Parser.Term.basicFun]
|
||||
|
||||
isPatternVar (_ : Syntax) (stack : SyntaxStack) :=
|
||||
stack.any fun (stx, pos) => stx.isOfKind `Lean.Parser.Term.matchAlt && pos == 1
|
||||
|
||||
builtin_initialize addLinter unusedVariables
|
||||
|
||||
end Lean.Linter
|
||||
49
stage0/src/Lean/Linter/Util.lean
generated
Normal file
49
stage0/src/Lean/Linter/Util.lean
generated
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
import Lean.Data.Options
|
||||
import Lean.Elab.Command
|
||||
import Lean.Server.InfoUtils
|
||||
|
||||
namespace Lean.Linter
|
||||
|
||||
register_builtin_option linter.all : Bool := {
|
||||
defValue := true,
|
||||
descr := "enable all linters"
|
||||
}
|
||||
|
||||
def getLinterAll (o : Options) : Bool := o.get linter.all.name linter.all.defValue
|
||||
|
||||
open Lean.Elab Lean.Elab.Command
|
||||
|
||||
def publishMessage
|
||||
(content : String) (range : String.Range) (severity : MessageSeverity := .warning) : CommandElabM Unit :=
|
||||
do
|
||||
let ctx := (← read)
|
||||
let messages := (← get).messages |>.add (mkMessageCore ctx.fileName ctx.fileMap content severity range.start range.stop)
|
||||
modify ({ · with messages := messages })
|
||||
|
||||
abbrev SyntaxStack := List (Syntax × Nat)
|
||||
|
||||
partial def findSyntaxStack? (root child : Syntax) : Option SyntaxStack := Id.run <| do
|
||||
let some childRange := child.getRange?
|
||||
| none
|
||||
let rec go (stack : SyntaxStack) (stx : Syntax) : Option SyntaxStack := Id.run <| do
|
||||
let some range := stx.getRange?
|
||||
| none
|
||||
if !range.contains childRange.start then
|
||||
return none
|
||||
|
||||
if range == childRange && stx.getKind == child.getKind then
|
||||
return stack
|
||||
|
||||
for i in List.range stx.getNumArgs do
|
||||
if let some resultStack := go ((stx, i) :: stack) stx[i] then
|
||||
return resultStack
|
||||
return none
|
||||
go [] root
|
||||
|
||||
def stackMatches (stack : SyntaxStack) (pattern : List $ Option SyntaxNodeKind) : Bool :=
|
||||
stack.length >= pattern.length &&
|
||||
(stack
|
||||
|>.zipWith (fun (s, _) p => p |>.map (s.isOfKind ·) |>.getD true) pattern
|
||||
|>.all id)
|
||||
|
||||
end Lean.Linter
|
||||
2
stage0/src/Lean/Log.lean
generated
2
stage0/src/Lean/Log.lean
generated
|
|
@ -10,6 +10,7 @@ namespace Lean
|
|||
class MonadLog (m : Type → Type) extends MonadFileMap m where
|
||||
getRef : m Syntax
|
||||
getFileName : m String
|
||||
hasErrors : m Bool
|
||||
logMessage : Message → m Unit
|
||||
|
||||
export MonadLog (getFileName logMessage)
|
||||
|
|
@ -18,6 +19,7 @@ instance (m n) [MonadLift m n] [MonadLog m] : MonadLog n where
|
|||
getRef := liftM (MonadLog.getRef : m _)
|
||||
getFileMap := liftM (getFileMap : m _)
|
||||
getFileName := liftM (getFileName : m _)
|
||||
hasErrors := liftM (MonadLog.hasErrors : m _)
|
||||
logMessage := fun msg => liftM (logMessage msg : m _ )
|
||||
|
||||
variable [Monad m] [MonadLog m] [AddMessageContext m]
|
||||
|
|
|
|||
1
stage0/src/Lean/Meta/Constructions.lean
generated
1
stage0/src/Lean/Meta/Constructions.lean
generated
|
|
@ -114,6 +114,7 @@ where
|
|||
hints := ReducibilityHints.abbrev
|
||||
}
|
||||
setReducibleAttribute declName
|
||||
modifyEnv fun env => markNoConfusion env declName
|
||||
|
||||
def mkNoConfusion (declName : Name) : MetaM Unit := do
|
||||
if (← isEnumType declName) then
|
||||
|
|
|
|||
2
stage0/src/Lean/Meta/Tactic/Acyclic.lean
generated
2
stage0/src/Lean/Meta/Tactic/Acyclic.lean
generated
|
|
@ -12,7 +12,7 @@ private def isTarget (lhs rhs : Expr) : MetaM Bool := do
|
|||
if !lhs.isFVar || !lhs.occurs rhs then
|
||||
return false
|
||||
else
|
||||
return rhs.isConstructorApp (← getEnv)
|
||||
return (← whnf rhs).isConstructorApp (← getEnv)
|
||||
|
||||
/--
|
||||
Close the given goal if `h` is a proof for an equality such as `as = a :: as`.
|
||||
|
|
|
|||
3
stage0/src/Lean/Meta/Tactic/Simp/Rewrite.lean
generated
3
stage0/src/Lean/Meta/Tactic/Simp/Rewrite.lean
generated
|
|
@ -27,9 +27,6 @@ def synthesizeArgs (thmName : Name) (xs : Array Expr) (bis : Array BinderInfo) (
|
|||
return false
|
||||
else if (← instantiateMVars x).isMVar then
|
||||
if (← isProp type) then
|
||||
if (← hasAssignableMVar (← instantiateMVars type)) then
|
||||
trace[Meta.Tactic.simp.discharge] "{thmName}, hypothesis contains metavariables{indentExpr type}"
|
||||
return false
|
||||
match (← discharge? type) with
|
||||
| some proof =>
|
||||
unless (← isDefEq x proof) do
|
||||
|
|
|
|||
2
stage0/src/Lean/MonadEnv.lean
generated
2
stage0/src/Lean/MonadEnv.lean
generated
|
|
@ -123,7 +123,7 @@ def getConstInfoRec [Monad m] [MonadEnv m] [MonadError m] (constName : Name) : m
|
|||
| _ => failK ()
|
||||
|
||||
def addDecl [Monad m] [MonadEnv m] [MonadError m] [MonadOptions m] [MonadLog m] [AddMessageContext m] (decl : Declaration) : m Unit := do
|
||||
if decl.hasNonSyntheticSorry then
|
||||
if !(← MonadLog.hasErrors) && decl.hasSorry then
|
||||
logWarning "declaration uses 'sorry'"
|
||||
match (← getEnv).addDecl decl with
|
||||
| Except.ok env => setEnv env
|
||||
|
|
|
|||
4
stage0/src/Lean/Parser/Basic.lean
generated
4
stage0/src/Lean/Parser/Basic.lean
generated
|
|
@ -1670,9 +1670,9 @@ def setExpected (expected : List String) (p : Parser) : Parser :=
|
|||
def pushNone : Parser :=
|
||||
{ fn := fun c s => s.pushSyntax mkNullNode }
|
||||
|
||||
-- We support two kinds of antiquotations: `$id` and `$(t)`, where `id` is a term identifier and `t` is a term.
|
||||
-- We support three kinds of antiquotations: `$id`, `$_`, and `$(t)`, where `id` is a term identifier and `t` is a term.
|
||||
def antiquotNestedExpr : Parser := node `antiquotNestedExpr (symbolNoAntiquot "(" >> decQuotDepth termParser >> symbolNoAntiquot ")")
|
||||
def antiquotExpr : Parser := identNoAntiquot <|> antiquotNestedExpr
|
||||
def antiquotExpr : Parser := identNoAntiquot <|> symbolNoAntiquot "_" <|> antiquotNestedExpr
|
||||
|
||||
def tokenAntiquotFn : ParserFn := fun c s => Id.run do
|
||||
if s.hasError then
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ The delaborator is extensible via the `[delab]` attribute.
|
|||
|
||||
namespace Lean.PrettyPrinter.Delaborator
|
||||
|
||||
open Lean.Meta SubExpr
|
||||
open Lean.Meta Lean.SubExpr SubExpr
|
||||
open Lean.Elab (Info TermInfo Info.ofTermInfo)
|
||||
|
||||
structure Context where
|
||||
|
|
@ -271,7 +271,8 @@ to true or `pp.notation` is set to false, it will not be called at all.",
|
|||
|
||||
end Delaborator
|
||||
|
||||
open Delaborator (OptionsPerPos topDownAnalyze Pos)
|
||||
open SubExpr (Pos)
|
||||
open Delaborator (OptionsPerPos topDownAnalyze)
|
||||
|
||||
def delabCore (e : Expr) (optionsPerPos : OptionsPerPos := {}) (delab := Delaborator.delab) : MetaM (Syntax × Std.RBMap Pos Elab.Info compare) := do
|
||||
/- Using `erasePatternAnnotations` here is a bit hackish, but we do it
|
||||
|
|
@ -294,7 +295,7 @@ def delabCore (e : Expr) (optionsPerPos : OptionsPerPos := {}) (delab := Delabor
|
|||
optionsPerPos := optionsPerPos
|
||||
currNamespace := (← getCurrNamespace)
|
||||
openDecls := (← getOpenDecls)
|
||||
subExpr := Delaborator.SubExpr.mkRoot e
|
||||
subExpr := SubExpr.mkRoot e
|
||||
inPattern := opts.getInPattern }
|
||||
|>.run { : Delaborator.State })
|
||||
(fun _ => unreachable!)
|
||||
|
|
|
|||
|
|
@ -4,31 +4,22 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
Authors: Sebastian Ullrich, Daniel Selsam, Wojciech Nawrocki
|
||||
-/
|
||||
import Lean.Meta.Basic
|
||||
import Lean.SubExpr
|
||||
import Std.Data.RBMap
|
||||
|
||||
/-!
|
||||
# Subexpr utilities for delaborator.
|
||||
This file defines utilities for `MetaM` computations to traverse subexpressions of an expression
|
||||
in sync with the `Nat` "position" values that refer to them. We use a simple encoding scheme:
|
||||
every `Expr` constructor has at most 3 direct expression children. Considering an expression's type
|
||||
to be one extra child as well, we can injectively map a path of `childIdxs` to a natural number
|
||||
by computing the value of the 4-ary representation `1 :: childIdxs`, since n-ary representations
|
||||
without leading zeros are unique. Note that `pos` is initialized to `1` (case `childIdxs == []`).
|
||||
in sync with the `Nat` "position" values that refer to them.
|
||||
-/
|
||||
|
||||
namespace Lean.PrettyPrinter.Delaborator
|
||||
|
||||
abbrev Pos := Nat
|
||||
|
||||
abbrev OptionsPerPos := Std.RBMap Pos Options compare
|
||||
|
||||
structure SubExpr where
|
||||
expr : Expr
|
||||
pos : Pos
|
||||
deriving Inhabited
|
||||
abbrev OptionsPerPos := Std.RBMap SubExpr.Pos Options compare
|
||||
|
||||
namespace SubExpr
|
||||
|
||||
abbrev maxChildren : Pos := 4
|
||||
open Lean.SubExpr
|
||||
|
||||
variable {α : Type} [Inhabited α]
|
||||
variable {m : Type → Type} [Monad m]
|
||||
|
|
@ -39,8 +30,6 @@ variable [MonadReaderOf SubExpr m] [MonadWithReaderOf SubExpr m]
|
|||
variable [MonadLiftT MetaM m] [MonadControlT MetaM m]
|
||||
variable [MonadLiftT IO m]
|
||||
|
||||
def mkRoot (e : Expr) : SubExpr := ⟨e, 1⟩
|
||||
|
||||
def getExpr : m Expr := return (← readThe SubExpr).expr
|
||||
def getPos : m Pos := return (← readThe SubExpr).pos
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ that are not strictly necessary.
|
|||
namespace Lean
|
||||
|
||||
open Lean.Meta
|
||||
open Lean.SubExpr
|
||||
open Std (RBMap)
|
||||
|
||||
register_builtin_option pp.analyze : Bool := {
|
||||
|
|
@ -261,7 +262,7 @@ structure Context where
|
|||
deriving Inhabited
|
||||
|
||||
structure State where
|
||||
annotations : RBMap Pos Options compare := {}
|
||||
annotations : OptionsPerPos := {}
|
||||
postponed : Array (Expr × Expr) := #[] -- not currently used
|
||||
|
||||
abbrev AnalyzeM := ReaderT Context (StateRefT State MetaM)
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ def getInteractiveTermGoal (p : Lsp.PlainTermGoalParams)
|
|||
-- for binders, hide the last hypothesis (the binder itself)
|
||||
let lctx' := if ti.isBinder then i.lctx.pop else i.lctx
|
||||
let goal ← ci.runMetaM lctx' do
|
||||
Meta.withPPInaccessibleNames <| Widget.goalToInteractive (← Meta.mkFreshExprMVar ty).mvarId!
|
||||
Widget.goalToInteractive (← Meta.mkFreshExprMVar ty).mvarId!
|
||||
let range := if let some r := i.range? then r.toLspRange text else ⟨p.position, p.position⟩
|
||||
return some { goal with range }
|
||||
else
|
||||
|
|
@ -214,7 +214,7 @@ partial def handleDocumentHighlight (p : DocumentHighlightParams)
|
|||
|
||||
let highlightRefs? (snaps : Array Snapshot) (pos : Lsp.Position) : Option (Array DocumentHighlight) := Id.run do
|
||||
let trees := snaps.map (·.infoTree)
|
||||
let refs := findModuleRefs text trees
|
||||
let refs : Lsp.ModuleRefs := findModuleRefs text trees
|
||||
let mut ranges := #[]
|
||||
for ident in ← refs.findAt p.position do
|
||||
if let some info ← refs.find? ident then
|
||||
|
|
|
|||
36
stage0/src/Lean/Server/InfoUtils.lean
generated
36
stage0/src/Lean/Server/InfoUtils.lean
generated
|
|
@ -12,7 +12,7 @@ import Lean.Util.Sorry
|
|||
protected structure String.Range where
|
||||
start : String.Pos
|
||||
stop : String.Pos
|
||||
deriving Inhabited, Repr
|
||||
deriving Inhabited, Repr, BEq, Hashable
|
||||
|
||||
def String.Range.contains (r : String.Range) (pos : String.Pos) (includeStop := false) : Bool :=
|
||||
r.start <= pos && (if includeStop then pos <= r.stop else pos < r.stop)
|
||||
|
|
@ -142,18 +142,28 @@ def InfoTree.smallestInfo? (p : Info → Bool) (t : InfoTree) : Option (ContextI
|
|||
|
||||
/-- Find an info node, if any, which should be shown on hover/cursor at position `hoverPos`. -/
|
||||
partial def InfoTree.hoverableInfoAt? (t : InfoTree) (hoverPos : String.Pos) (includeStop := false) : Option (ContextInfo × Info) := Id.run do
|
||||
let (_, res) := StateT.run (m := Id) (s := none) <| t.visitM (postNode := fun ctx i _ _ => do
|
||||
if (i matches Info.ofFieldInfo _ || i.toElabInfo?.isSome) && i.contains hoverPos includeStop then
|
||||
-- prefer results directly *after* the hover position (only matters for `includeStop = true`; see #767)
|
||||
if let some (_, i') := (← get) then
|
||||
if i'.range?.get!.stop == hoverPos && i.range?.get!.start == hoverPos then
|
||||
set <| some (ctx, i)
|
||||
else
|
||||
set <| some (ctx, i))
|
||||
if let some (_, Info.ofTermInfo ti) := res then
|
||||
if ti.expr.isSyntheticSorry then
|
||||
return none
|
||||
res
|
||||
let results := t.visitM (m := Id) (postNode := fun ctx i _ results => do
|
||||
let results := results.bind (·.getD [])
|
||||
if results.isEmpty && (i matches Info.ofFieldInfo _ || i.toElabInfo?.isSome) && i.contains hoverPos includeStop then
|
||||
let r := i.range?.get!
|
||||
let priority :=
|
||||
if r.stop == hoverPos then
|
||||
0 -- prefer results directly *after* the hover position (only matters for `includeStop = true`; see #767)
|
||||
else if i matches .ofTermInfo { expr := .fvar .., .. } then
|
||||
0 -- prefer results for constants over variables (which overlap at declaration names)
|
||||
else 1
|
||||
-- must prioritize smaller nodes because pattern infos are not properly nested
|
||||
let priority := (-(r.stop - r.start |>.byteIdx : Int), priority)
|
||||
[(priority, ctx, i)]
|
||||
else
|
||||
results) |>.getD []
|
||||
let maxPrio? := results.map (·.1) |>.maximum?
|
||||
let res? := results.find? (·.1 == maxPrio?) |>.map (·.2)
|
||||
if let some (_, i) := res? then
|
||||
if let .ofTermInfo ti := i then
|
||||
if ti.expr.isSyntheticSorry then
|
||||
return none
|
||||
return res?
|
||||
|
||||
def Info.type? (i : Info) : MetaM (Option Expr) :=
|
||||
match i with
|
||||
|
|
|
|||
95
stage0/src/Lean/Server/References.lean
generated
95
stage0/src/Lean/Server/References.lean
generated
|
|
@ -16,13 +16,55 @@ import Lean.Server.Snapshots
|
|||
/- Representing collected and deduplicated definitions and usages -/
|
||||
|
||||
namespace Lean.Server
|
||||
open Lsp
|
||||
open Lsp Lean.Elab Std
|
||||
|
||||
structure Reference where
|
||||
ident : RefIdent
|
||||
/-- FVarIds that are logically identical to this reference -/
|
||||
aliases : Array RefIdent := #[]
|
||||
range : Lsp.Range
|
||||
stx : Syntax
|
||||
ci : ContextInfo
|
||||
info : Info
|
||||
isBinder : Bool
|
||||
deriving BEq, Inhabited
|
||||
deriving Inhabited
|
||||
|
||||
structure RefInfo where
|
||||
definition : Option Reference
|
||||
usages : Array Reference
|
||||
|
||||
namespace RefInfo
|
||||
|
||||
def empty : RefInfo := ⟨ none, #[] ⟩
|
||||
|
||||
def addRef : RefInfo → Reference → RefInfo
|
||||
| i@{ definition := none, .. }, ref@{ isBinder := true, .. } =>
|
||||
{ i with definition := ref }
|
||||
| i@{ usages, .. }, ref@{ isBinder := false, .. } =>
|
||||
{ i with usages := usages.push ref }
|
||||
| i, _ => i
|
||||
|
||||
instance : Coe RefInfo Lsp.RefInfo where
|
||||
coe self :=
|
||||
{
|
||||
definition := self.definition.map (·.range)
|
||||
usages := self.usages.map (·.range)
|
||||
}
|
||||
|
||||
end RefInfo
|
||||
|
||||
def ModuleRefs := HashMap RefIdent RefInfo
|
||||
|
||||
namespace ModuleRefs
|
||||
|
||||
def addRef (self : ModuleRefs) (ref : Reference) : ModuleRefs :=
|
||||
let refInfo := self.findD ref.ident RefInfo.empty
|
||||
self.insert ref.ident (refInfo.addRef ref)
|
||||
|
||||
instance : Coe ModuleRefs Lsp.ModuleRefs where
|
||||
coe self := HashMap.ofList <| List.map (fun (k, v) => (k, v)) <| self.toList
|
||||
|
||||
end ModuleRefs
|
||||
|
||||
end Lean.Server
|
||||
|
||||
|
|
@ -37,13 +79,6 @@ def merge (a : RefInfo) (b : RefInfo) : RefInfo :=
|
|||
usages := a.usages.append b.usages
|
||||
}
|
||||
|
||||
def addRef : RefInfo → Reference → RefInfo
|
||||
| i@{ definition := none, .. }, { range, isBinder := true, .. } =>
|
||||
{ i with definition := range }
|
||||
| i@{ usages, .. }, { range, isBinder := false, .. } =>
|
||||
{ i with usages := usages.push range }
|
||||
| i, _ => i
|
||||
|
||||
def contains (self : RefInfo) (pos : Lsp.Position) : Bool := Id.run do
|
||||
if let some range := self.definition then
|
||||
if contains range pos then
|
||||
|
|
@ -61,10 +96,6 @@ end Lean.Lsp.RefInfo
|
|||
namespace Lean.Lsp.ModuleRefs
|
||||
open Server
|
||||
|
||||
def addRef (self : ModuleRefs) (ref : Reference) : ModuleRefs :=
|
||||
let refInfo := self.findD ref.ident RefInfo.empty
|
||||
self.insert ref.ident (refInfo.addRef ref)
|
||||
|
||||
def findAt (self : ModuleRefs) (pos : Lsp.Position) : Array RefIdent := Id.run do
|
||||
let mut result := #[]
|
||||
for (ident, info) in self.toList do
|
||||
|
|
@ -84,7 +115,7 @@ open Elab
|
|||
structure Ilean where
|
||||
version : Nat := 1
|
||||
module : Name
|
||||
references : ModuleRefs
|
||||
references : Lsp.ModuleRefs
|
||||
deriving FromJson, ToJson
|
||||
|
||||
namespace Ilean
|
||||
|
|
@ -109,10 +140,10 @@ def identOf : Info → Option (RefIdent × Bool)
|
|||
def findReferences (text : FileMap) (trees : Array InfoTree) : Array Reference := Id.run do
|
||||
let mut refs := #[]
|
||||
for tree in trees do
|
||||
refs := refs.appendList <| tree.deepestNodes fun _ info _ => Id.run do
|
||||
refs := refs.appendList <| tree.deepestNodes fun ci info _ => Id.run do
|
||||
if let some (ident, isBinder) := identOf info then
|
||||
if let some range := info.range? then
|
||||
return some { ident, range := range.toLspRange text, isBinder }
|
||||
return some { ident, range := range.toLspRange text, stx := info.stx, ci, info, isBinder }
|
||||
return none
|
||||
refs
|
||||
|
||||
|
|
@ -130,7 +161,7 @@ partial def combineFvars (refs : Array Reference) : Array Reference := Id.run do
|
|||
-- Deduplicate definitions based on their exact range
|
||||
let mut posMap : HashMap Lsp.Range FVarId := HashMap.empty
|
||||
for ref in refs do
|
||||
if let { ident := RefIdent.fvar id, range, isBinder := true } := ref then
|
||||
if let { ident := RefIdent.fvar id, range, isBinder := true, .. } := ref then
|
||||
posMap := posMap.insert range id
|
||||
|
||||
-- Map fvar defs to overlapping fvar defs/uses
|
||||
|
|
@ -147,11 +178,13 @@ partial def combineFvars (refs : Array Reference) : Array Reference := Id.run do
|
|||
let mut refs' := #[]
|
||||
for ref in refs do
|
||||
match ref with
|
||||
| { ident := ident@(RefIdent.fvar id), range, isBinder } =>
|
||||
-- downgrade chained definitions to usages
|
||||
-- (we shouldn't completely remove them in case they do not have usages)
|
||||
let isBinder := isBinder && !idMap.contains id
|
||||
refs' := refs'.push { ident := applyIdMap idMap ident, range, isBinder }
|
||||
| { ident := ident@(RefIdent.fvar id), isBinder, .. } =>
|
||||
if isBinder && idMap.contains id then
|
||||
-- downgrade chained definitions to usages
|
||||
-- (we shouldn't completely remove them in case they do not have usages)
|
||||
refs' := refs'.push { ref with ident := applyIdMap idMap ident, isBinder := false, aliases := #[ident] }
|
||||
else
|
||||
refs' := refs'.push { ref with ident := applyIdMap idMap ident }
|
||||
| _ =>
|
||||
refs' := refs'.push ref
|
||||
refs'
|
||||
|
|
@ -168,8 +201,10 @@ where
|
|||
def dedupReferences (refs : Array Reference) : Array Reference := Id.run do
|
||||
let mut refsByIdAndRange : HashMap (RefIdent × Lsp.Range) Reference := HashMap.empty
|
||||
for ref in refs do
|
||||
if ref.isBinder || !(refsByIdAndRange.contains (ref.ident, ref.range)) then
|
||||
refsByIdAndRange := refsByIdAndRange.insert (ref.ident, ref.range) ref
|
||||
let key := (ref.ident, ref.range)
|
||||
refsByIdAndRange := match refsByIdAndRange[key] with
|
||||
| some ref' => refsByIdAndRange.insert key { ref' with isBinder := ref'.isBinder || ref.isBinder, aliases := ref'.aliases ++ ref.aliases }
|
||||
| none => refsByIdAndRange.insert key ref
|
||||
|
||||
let dedupedRefs := refsByIdAndRange.fold (init := #[]) fun refs _ ref => refs.push ref
|
||||
return dedupedRefs.qsort (·.range < ·.range)
|
||||
|
|
@ -187,9 +222,9 @@ def findModuleRefs (text : FileMap) (trees : Array InfoTree) (localVars : Bool :
|
|||
|
||||
structure References where
|
||||
/-- References loaded from ilean files -/
|
||||
ileans : HashMap Name (System.FilePath × ModuleRefs)
|
||||
ileans : HashMap Name (System.FilePath × Lsp.ModuleRefs)
|
||||
/-- References from workers, overriding the corresponding ilean files -/
|
||||
workers : HashMap Name (Nat × ModuleRefs)
|
||||
workers : HashMap Name (Nat × Lsp.ModuleRefs)
|
||||
|
||||
namespace References
|
||||
|
||||
|
|
@ -204,18 +239,18 @@ def removeIlean (self : References) (path : System.FilePath) : References :=
|
|||
namesToRemove.foldl (init := self) fun self name =>
|
||||
{ self with ileans := self.ileans.erase name }
|
||||
|
||||
def updateWorkerRefs (self : References) (name : Name) (version : Nat) (refs : ModuleRefs) : References := Id.run do
|
||||
def updateWorkerRefs (self : References) (name : Name) (version : Nat) (refs : Lsp.ModuleRefs) : References := Id.run do
|
||||
if let some (currVersion, _) := self.workers.find? name then
|
||||
if version > currVersion then
|
||||
return { self with workers := self.workers.insert name (version, refs) }
|
||||
if version == currVersion then
|
||||
let current := self.workers.findD name (version, HashMap.empty)
|
||||
let merged := refs.fold (init := current.snd) fun m ident info =>
|
||||
m.findD ident RefInfo.empty |>.merge info |> m.insert ident
|
||||
m.findD ident Lsp.RefInfo.empty |>.merge info |> m.insert ident
|
||||
return { self with workers := self.workers.insert name (version, merged) }
|
||||
return self
|
||||
|
||||
def finalizeWorkerRefs (self : References) (name : Name) (version : Nat) (refs : ModuleRefs) : References := Id.run do
|
||||
def finalizeWorkerRefs (self : References) (name : Name) (version : Nat) (refs : Lsp.ModuleRefs) : References := Id.run do
|
||||
if let some (currVersion, _) := self.workers.find? name then
|
||||
if version < currVersion then
|
||||
return self
|
||||
|
|
@ -224,7 +259,7 @@ def finalizeWorkerRefs (self : References) (name : Name) (version : Nat) (refs :
|
|||
def removeWorkerRefs (self : References) (name : Name) : References :=
|
||||
{ self with workers := self.workers.erase name }
|
||||
|
||||
def allRefs (self : References) : HashMap Name ModuleRefs :=
|
||||
def allRefs (self : References) : HashMap Name Lsp.ModuleRefs :=
|
||||
let ileanRefs := self.ileans.toList.foldl (init := HashMap.empty) fun m (name, _, refs) => m.insert name refs
|
||||
self.workers.toList.foldl (init := ileanRefs) fun m (name, _, refs) => m.insert name refs
|
||||
|
||||
|
|
|
|||
38
stage0/src/Lean/SubExpr.lean
generated
Normal file
38
stage0/src/Lean/SubExpr.lean
generated
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/-
|
||||
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
Authors: Sebastian Ullrich, Daniel Selsam, Wojciech Nawrocki
|
||||
-/
|
||||
import Lean.Meta.Basic
|
||||
import Std.Data.RBMap
|
||||
|
||||
namespace Lean
|
||||
|
||||
/-- A position of a subexpression in an expression.
|
||||
|
||||
See docstring of `SubExpr` for more detail.-/
|
||||
abbrev SubExpr.Pos := Nat
|
||||
|
||||
/-- An expression and the position of a subexpression within this expression.
|
||||
|
||||
Subexpressions are encoded as the parent root expression `e` and a
|
||||
position `p : Pos` denoting a particular subexpression in `e`.
|
||||
|
||||
We use a simple encoding scheme for expression positions `Pos`:
|
||||
every `Expr` constructor has at most 3 direct expression children. Considering an expression's type
|
||||
to be one extra child as well, we can injectively map a path of `childIdxs` to a natural number
|
||||
by computing the value of the 4-ary representation `1 :: childIdxs`, since n-ary representations
|
||||
without leading zeros are unique. Note that `pos` is initialized to `1` (case `childIdxs == []`).-/
|
||||
structure SubExpr where
|
||||
expr : Expr
|
||||
pos : SubExpr.Pos
|
||||
deriving Inhabited
|
||||
|
||||
namespace SubExpr
|
||||
|
||||
abbrev maxChildren : Pos := 4
|
||||
def mkRoot (e : Expr) : SubExpr := ⟨e, 1⟩
|
||||
|
||||
end SubExpr
|
||||
|
||||
end Lean
|
||||
8
stage0/src/Lean/Syntax.lean
generated
8
stage0/src/Lean/Syntax.lean
generated
|
|
@ -384,9 +384,10 @@ def isAntiquot : Syntax → Bool
|
|||
|
||||
def mkAntiquotNode (term : Syntax) (nesting := 0) (name : Option String := none) (kind := Name.anonymous) : Syntax :=
|
||||
let nesting := mkNullNode (mkArray nesting (mkAtom "$"))
|
||||
let term := match term.isIdent with
|
||||
| true => term
|
||||
| false => mkNode `antiquotNestedExpr #[mkAtom "(", term, mkAtom ")"]
|
||||
let term :=
|
||||
if term.isIdent then term
|
||||
else if term.isOfKind `Lean.Parser.Term.hole then term[0]
|
||||
else mkNode `antiquotNestedExpr #[mkAtom "(", term, mkAtom ")"]
|
||||
let name := match name with
|
||||
| some name => mkNode `antiquotName #[mkAtom ":", mkAtom name]
|
||||
| none => mkNullNode
|
||||
|
|
@ -407,6 +408,7 @@ def unescapeAntiquot (stx : Syntax) : Syntax :=
|
|||
def getAntiquotTerm (stx : Syntax) : Syntax :=
|
||||
let e := if stx.isAntiquot then stx[2] else stx[3]
|
||||
if e.isIdent then e
|
||||
else if e.isAtom then mkNode `Lean.Parser.Term.hole #[e]
|
||||
else
|
||||
-- `e` is from `"(" >> termParser >> ")"`
|
||||
e[1]
|
||||
|
|
|
|||
4
stage0/src/Lean/Widget/InteractiveCode.lean
generated
4
stage0/src/Lean/Widget/InteractiveCode.lean
generated
|
|
@ -26,8 +26,8 @@ structure SubexprInfo where
|
|||
/-- The `Elab.Info` node with the semantics of this part of the output. -/
|
||||
info : WithRpcRef InfoWithCtx
|
||||
/-- The position of this subexpression within the top-level expression.
|
||||
See `Lean.PrettyPrinter.Delaborator.SubExpr`. -/
|
||||
subexprPos : Nat
|
||||
See `Lean.SubExpr`. -/
|
||||
subexprPos : Lean.SubExpr.Pos
|
||||
-- TODO(WN): add fields for semantic highlighting
|
||||
-- kind : Lsp.SymbolKind
|
||||
deriving Inhabited, RpcEncoding
|
||||
|
|
|
|||
1
stage0/src/util/shell.cpp
generated
1
stage0/src/util/shell.cpp
generated
|
|
@ -542,6 +542,7 @@ extern "C" LEAN_EXPORT int lean_main(int argc, char ** argv) {
|
|||
try {
|
||||
check_optarg("D");
|
||||
opts = set_config_option(opts, optarg);
|
||||
forwarded_args.push_back(string_ref("-D" + std::string(optarg)));
|
||||
} catch (lean::exception & ex) {
|
||||
std::cerr << ex.what() << std::endl;
|
||||
return 1;
|
||||
|
|
|
|||
16
stage0/stdlib/Init/Data/Format/Basic.c
generated
16
stage0/stdlib/Init/Data/Format/Basic.c
generated
|
|
@ -66,7 +66,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Std_instToFormatString(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_State_out___default;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_16_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_18_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Std_Format_instMonadPrettyFormatStateMState___lambda__3___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Format_paren___closed__6;
|
||||
static lean_object* l_Std_Format_instMonadPrettyFormatStateMState___closed__1;
|
||||
|
|
@ -93,6 +93,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_spaceU
|
|||
LEAN_EXPORT lean_object* l_Std_Format_instMonadPrettyFormatStateMState___lambda__4___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_be___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_spaceUptoLine___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_18____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_spaceUptoLine_x27___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Format_prefixJoin(lean_object*);
|
||||
static lean_object* l_Std_Format_pretty___closed__1;
|
||||
|
|
@ -110,7 +111,6 @@ lean_object* l_Int_toNat(lean_object*);
|
|||
LEAN_EXPORT uint8_t l_Std_Format_defUnicode;
|
||||
LEAN_EXPORT lean_object* l_StateT_bind___at_Std_Format_instMonadPrettyFormatStateMState___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Format_instMonadPrettyFormatStateMState;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_16____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* lean_format_group(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Format_FlattenBehavior_toCtorIdx(uint8_t);
|
||||
LEAN_EXPORT uint8_t l_Std_Format_instInhabitedFlattenBehavior;
|
||||
|
|
@ -257,7 +257,7 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_16_(uint8_t x_1, uint8_t x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_18_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -269,7 +269,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_16____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_18____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -277,7 +277,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_16_(x_3, x_4);
|
||||
x_5 = l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_18_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -286,7 +286,7 @@ static lean_object* _init_l_Std_Format_instBEqFlattenBehavior___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_16____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_18____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1099,7 +1099,7 @@ _start:
|
|||
{
|
||||
uint8_t x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
||||
x_7 = 0;
|
||||
x_8 = l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_16_(x_1, x_7);
|
||||
x_8 = l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_18_(x_1, x_7);
|
||||
lean_inc(x_2);
|
||||
x_9 = lean_alloc_ctor(0, 1, 2);
|
||||
lean_ctor_set(x_9, 0, x_2);
|
||||
|
|
@ -3667,7 +3667,7 @@ lean_object* x_6; uint8_t x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10;
|
|||
x_6 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_6);
|
||||
x_7 = 0;
|
||||
x_8 = l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_16_(x_1, x_7);
|
||||
x_8 = l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_18_(x_1, x_7);
|
||||
lean_inc(x_2);
|
||||
x_9 = lean_alloc_ctor(0, 1, 2);
|
||||
lean_ctor_set(x_9, 0, x_2);
|
||||
|
|
|
|||
14
stage0/stdlib/Init/Data/Ord.c
generated
14
stage0/stdlib/Init/Data/Ord.c
generated
|
|
@ -38,10 +38,10 @@ uint8_t lean_uint8_dec_lt(uint8_t, uint8_t);
|
|||
LEAN_EXPORT lean_object* l_ltOfOrd___boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t lean_uint32_dec_lt(uint32_t, uint32_t);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_12_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_14_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT uint8_t l_instInhabitedOrdering;
|
||||
LEAN_EXPORT uint8_t l_instOrdUInt16(uint16_t, uint16_t);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_12____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_14____boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_uint64_dec_lt(uint64_t, uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Ordering_toCtorIdx___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instOrdUInt32___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -177,7 +177,7 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_12_(uint8_t x_1, uint8_t x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_14_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -189,7 +189,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_12____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_14____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -197,7 +197,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_12_(x_3, x_4);
|
||||
x_5 = l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_14_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -206,7 +206,7 @@ static lean_object* _init_l_instBEqOrdering___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_12____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_14____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -783,7 +783,7 @@ x_4 = lean_apply_2(x_1, x_2, x_3);
|
|||
x_5 = lean_unbox(x_4);
|
||||
lean_dec(x_4);
|
||||
x_6 = 0;
|
||||
x_7 = l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_12_(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_14_(x_5, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1912
stage0/stdlib/Init/Meta.c
generated
1912
stage0/stdlib/Init/Meta.c
generated
File diff suppressed because it is too large
Load diff
732
stage0/stdlib/Init/NotationExtra.c
generated
732
stage0/stdlib/Init/NotationExtra.c
generated
|
|
@ -76,6 +76,7 @@ static lean_object* l_unexpandSubtype___closed__4;
|
|||
static lean_object* l_Lean_unbracketedExplicitBinders___closed__2;
|
||||
extern lean_object* l_Lean_nullKind;
|
||||
LEAN_EXPORT lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command__Unif__hint______Where___x7c_x2d_u22a2____1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_unifConstraint___closed__8;
|
||||
static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__11;
|
||||
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command__Unif__hint______Where___x7c_x2d_u22a2____1___closed__10;
|
||||
|
|
@ -136,6 +137,7 @@ LEAN_EXPORT lean_object* l_Lean_Loop_toCtorIdx___boxed(lean_object*);
|
|||
static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command__Unif__hint______Where___x7c_x2d_u22a2____1___closed__16;
|
||||
static lean_object* l_tacticFunext_______closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__4(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_explicitBinders___closed__2;
|
||||
static lean_object* l___aux__Init__NotationExtra______macroRules__solve__1___lambda__1___closed__1;
|
||||
static lean_object* l___aux__Init__NotationExtra______macroRules__tacticCalc____1___closed__1;
|
||||
|
|
@ -166,6 +168,7 @@ static lean_object* l___aux__Init__NotationExtra______macroRules__term_u2203___x
|
|||
lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__doElemRepeat____1___closed__10;
|
||||
static lean_object* l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___closed__18;
|
||||
LEAN_EXPORT lean_object* l_Array_sequenceMap___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___closed__15;
|
||||
static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__31;
|
||||
|
|
@ -239,12 +242,14 @@ static lean_object* l___aux__Init__NotationExtra______macroRules__tacticFunext__
|
|||
static lean_object* l_calcStep___closed__6;
|
||||
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__solve__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_tactic_xb7_x2e_____x3b_____closed__1;
|
||||
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__doElemWhile__Do____1___closed__3;
|
||||
static lean_object* l_solve___closed__11;
|
||||
static lean_object* l_calc___closed__11;
|
||||
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__term__Matches___x7c__1___closed__16;
|
||||
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command__Unif__hint______Where___x7c_x2d_u22a2____1___closed__20;
|
||||
lean_object* l_Array_zip___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l___aux__Init__NotationExtra______macroRules__solve__1___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_expandBrackedBindersAux_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_term_u03a3___x2c_____closed__7;
|
||||
|
|
@ -332,6 +337,7 @@ static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__ter
|
|||
static lean_object* l_Array_foldrMUnsafe_fold___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__4___closed__4;
|
||||
static lean_object* l_Lean_doElemRepeat__Until_____closed__7;
|
||||
static lean_object* l___aux__Init__NotationExtra______macroRules__solve__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___lambda__2(lean_object*);
|
||||
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__27;
|
||||
static lean_object* l___aux__Init__NotationExtra______macroRules__tacticFunext______1___closed__1;
|
||||
static lean_object* l_Lean_unifConstraintElem___closed__8;
|
||||
|
|
@ -370,6 +376,7 @@ static lean_object* l_term___xd7____1___closed__2;
|
|||
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__doElemRepeat____1___closed__9;
|
||||
static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__10;
|
||||
static lean_object* l___aux__Init__NotationExtra______macroRules__term_u03a3___x2c____1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_tacticCalc_____closed__4;
|
||||
static lean_object* l_unexpandExists___closed__2;
|
||||
static lean_object* l_Lean_unifConstraint___closed__4;
|
||||
|
|
@ -424,6 +431,7 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_expandExplicitBinders___spe
|
|||
extern lean_object* l_Lean_instInhabitedSyntax;
|
||||
static lean_object* l_Lean_unifConstraintElem___closed__5;
|
||||
LEAN_EXPORT lean_object* l_unexpandUnit(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_tacticCalc_____closed__6;
|
||||
lean_object* l_Lean_mkSepArray(lean_object*, lean_object*);
|
||||
static lean_object* l_calcStep___closed__1;
|
||||
|
|
@ -514,7 +522,6 @@ static lean_object* l_solve___closed__7;
|
|||
static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_unexpandSubtype(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_calcStep___closed__4;
|
||||
static lean_object* l_Array_foldrMUnsafe_fold___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__4___closed__6;
|
||||
static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__6;
|
||||
|
|
@ -548,6 +555,7 @@ static lean_object* l_Lean_unbracketedExplicitBinders___closed__10;
|
|||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__command__Unif__hint______Where___x7c_x2d_u22a2____1___closed__8;
|
||||
lean_object* l_Lean_MacroScopesView_review(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_tactic_xb7_x2e_____x3b_____closed__4;
|
||||
static lean_object* l_tacticFunext_______closed__11;
|
||||
static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__25;
|
||||
|
|
@ -645,6 +653,7 @@ static lean_object* l___aux__Init__NotationExtra______macroRules__term_x25_x5b__
|
|||
LEAN_EXPORT lean_object* l_Lean_unbracketedExplicitBinders;
|
||||
static lean_object* l_term_u03a3___x2c_____closed__1;
|
||||
static lean_object* l_tactic_xb7_x2e_____x3b_____closed__20;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_tacticFunext_______closed__12;
|
||||
static lean_object* l_Lean_unbracketedExplicitBinders___closed__5;
|
||||
static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__26;
|
||||
|
|
@ -652,6 +661,7 @@ static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__ter
|
|||
static lean_object* l___aux__Init__NotationExtra______macroRules__tacticFunext______1___closed__7;
|
||||
static lean_object* l___aux__Init__NotationExtra______macroRules__command__ClassAbbrev_____x3a___x3a_x3d_____x2c__1___lambda__3___closed__3;
|
||||
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__term___xd7____1__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_sequenceMap___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__term__Matches___x7c__1___closed__27;
|
||||
static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
static lean_object* l_term_u03a3_x27___x2c_____closed__5;
|
||||
|
|
@ -678,7 +688,6 @@ static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__com
|
|||
static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__5;
|
||||
static lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
static lean_object* l_solve___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__30;
|
||||
static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__5;
|
||||
static lean_object* l_Lean_doElemWhile__Do_____closed__8;
|
||||
|
|
@ -687,6 +696,8 @@ static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__ter
|
|||
static lean_object* l_calc___closed__7;
|
||||
static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__13;
|
||||
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__term__Matches___x7c__1___closed__19;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__7;
|
||||
static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__21;
|
||||
static lean_object* l_Lean_termMacro_x2etrace_x5b_____x5d_____closed__15;
|
||||
|
|
@ -702,6 +713,7 @@ static lean_object* l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____cl
|
|||
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__command__ClassAbbrev_____x3a___x3a_x3d_____x2c__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_doElemWhile__Do_____closed__9;
|
||||
static lean_object* l_Lean_unifConstraintElem___closed__10;
|
||||
static lean_object* l___aux__Init__NotationExtra______macroRules__tacticCalc____1___closed__5;
|
||||
|
|
@ -752,6 +764,7 @@ static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__ter
|
|||
lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_unexpandEqNDRec___closed__1;
|
||||
static lean_object* l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__3;
|
||||
uint8_t l_Lean_Syntax_isIdent(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_explicitBinders;
|
||||
static lean_object* l_calc___closed__1;
|
||||
|
|
@ -13533,61 +13546,356 @@ x_1 = l_tactic_xb7_x2e_____x3b_____closed__23;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_6;
|
||||
x_6 = lean_usize_dec_lt(x_4, x_3);
|
||||
if (x_6 == 0)
|
||||
lean_object* x_6; uint8_t x_7;
|
||||
x_6 = lean_array_get_size(x_1);
|
||||
x_7 = lean_nat_dec_lt(x_4, x_6);
|
||||
lean_dec(x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
x_8 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_8, 0, x_5);
|
||||
return x_8;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19;
|
||||
x_7 = lean_array_uget(x_5, x_4);
|
||||
x_8 = lean_unsigned_to_nat(0u);
|
||||
x_9 = lean_array_uset(x_5, x_4, x_8);
|
||||
x_10 = lean_box(2);
|
||||
lean_object* x_9; uint8_t x_10;
|
||||
x_9 = lean_unsigned_to_nat(0u);
|
||||
x_10 = lean_nat_dec_eq(x_3, x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_11 = lean_unsigned_to_nat(1u);
|
||||
x_12 = lean_nat_sub(x_3, x_11);
|
||||
lean_dec(x_3);
|
||||
x_13 = lean_array_fget(x_1, x_4);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_11 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
lean_ctor_set(x_11, 1, x_1);
|
||||
lean_ctor_set(x_11, 2, x_2);
|
||||
x_12 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__26;
|
||||
x_13 = lean_array_push(x_12, x_7);
|
||||
x_14 = lean_array_push(x_13, x_11);
|
||||
x_15 = l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__22;
|
||||
x_16 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_16, 0, x_10);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
lean_ctor_set(x_16, 2, x_14);
|
||||
x_17 = 1;
|
||||
x_18 = lean_usize_add(x_4, x_17);
|
||||
x_19 = lean_array_uset(x_9, x_4, x_16);
|
||||
x_4 = x_18;
|
||||
x_5 = x_19;
|
||||
x_14 = lean_apply_1(x_2, x_13);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
lean_object* x_15;
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
x_15 = lean_box(0);
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_16 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_14);
|
||||
x_17 = lean_nat_add(x_4, x_11);
|
||||
lean_dec(x_4);
|
||||
x_18 = lean_array_push(x_5, x_16);
|
||||
x_3 = x_12;
|
||||
x_4 = x_17;
|
||||
x_5 = x_18;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_20 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_20, 0, x_5);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_sequenceMap___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_3 = lean_array_get_size(x_1);
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__27;
|
||||
x_6 = l_Array_sequenceMap_loop___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__2(x_1, x_2, x_3, x_4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__3(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = lean_usize_dec_lt(x_2, x_1);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_5 = lean_array_uget(x_3, x_2);
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = lean_array_uset(x_3, x_2, x_6);
|
||||
x_8 = 1;
|
||||
x_9 = lean_usize_add(x_2, x_8);
|
||||
x_10 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_5);
|
||||
x_11 = lean_array_uset(x_7, x_2, x_10);
|
||||
x_2 = x_9;
|
||||
x_3 = x_11;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__4(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = lean_usize_dec_lt(x_2, x_1);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_5 = lean_array_uget(x_3, x_2);
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = lean_array_uset(x_3, x_2, x_6);
|
||||
x_8 = 1;
|
||||
x_9 = lean_usize_add(x_2, x_8);
|
||||
x_10 = lean_ctor_get(x_5, 0);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_5);
|
||||
x_11 = lean_array_uset(x_7, x_2, x_10);
|
||||
x_2 = x_9;
|
||||
x_3 = x_11;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_7;
|
||||
x_7 = lean_usize_dec_lt(x_5, x_4);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_8 = lean_array_uget(x_6, x_5);
|
||||
x_9 = lean_unsigned_to_nat(0u);
|
||||
x_10 = lean_array_uset(x_6, x_5, x_9);
|
||||
x_11 = 1;
|
||||
x_12 = lean_usize_add(x_5, x_11);
|
||||
x_13 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_13);
|
||||
x_14 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_8);
|
||||
x_15 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__26;
|
||||
x_16 = lean_array_push(x_15, x_13);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
lean_inc_n(x_3, 2);
|
||||
x_17 = l_Array_append___rarg(x_3, x_3);
|
||||
x_18 = lean_box(2);
|
||||
lean_inc(x_2);
|
||||
x_19 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
lean_ctor_set(x_19, 1, x_2);
|
||||
lean_ctor_set(x_19, 2, x_17);
|
||||
x_20 = lean_array_push(x_16, x_19);
|
||||
x_21 = l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__22;
|
||||
x_22 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_22, 0, x_18);
|
||||
lean_ctor_set(x_22, 1, x_21);
|
||||
lean_ctor_set(x_22, 2, x_20);
|
||||
x_23 = lean_array_uset(x_10, x_5, x_22);
|
||||
x_5 = x_12;
|
||||
x_6 = x_23;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26;
|
||||
x_25 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_14);
|
||||
x_26 = l_Lean_Syntax_getHeadInfo_x3f(x_25);
|
||||
lean_dec(x_25);
|
||||
if (lean_obj_tag(x_26) == 0)
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_27 = l___aux__Init__NotationExtra______macroRules__tacticFunext______1___closed__9;
|
||||
lean_inc(x_1);
|
||||
x_28 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_1);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
x_29 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__35;
|
||||
x_30 = lean_array_push(x_29, x_28);
|
||||
lean_inc(x_3);
|
||||
x_31 = l_Array_append___rarg(x_3, x_30);
|
||||
x_32 = lean_box(2);
|
||||
lean_inc(x_2);
|
||||
x_33 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_33, 0, x_32);
|
||||
lean_ctor_set(x_33, 1, x_2);
|
||||
lean_ctor_set(x_33, 2, x_31);
|
||||
x_34 = lean_array_push(x_16, x_33);
|
||||
x_35 = l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__22;
|
||||
x_36 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_36, 0, x_32);
|
||||
lean_ctor_set(x_36, 1, x_35);
|
||||
lean_ctor_set(x_36, 2, x_34);
|
||||
x_37 = lean_array_uset(x_10, x_5, x_36);
|
||||
x_5 = x_12;
|
||||
x_6 = x_37;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
x_39 = lean_ctor_get(x_26, 0);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_26);
|
||||
x_40 = l___aux__Init__NotationExtra______macroRules__tacticFunext______1___closed__9;
|
||||
x_41 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_39);
|
||||
lean_ctor_set(x_41, 1, x_40);
|
||||
x_42 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__35;
|
||||
x_43 = lean_array_push(x_42, x_41);
|
||||
lean_inc(x_3);
|
||||
x_44 = l_Array_append___rarg(x_3, x_43);
|
||||
x_45 = lean_box(2);
|
||||
lean_inc(x_2);
|
||||
x_46 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_46, 0, x_45);
|
||||
lean_ctor_set(x_46, 1, x_2);
|
||||
lean_ctor_set(x_46, 2, x_44);
|
||||
x_47 = lean_array_push(x_16, x_46);
|
||||
x_48 = l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__22;
|
||||
x_49 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_49, 0, x_45);
|
||||
lean_ctor_set(x_49, 1, x_48);
|
||||
lean_ctor_set(x_49, 2, x_47);
|
||||
x_50 = lean_array_uset(x_10, x_5, x_49);
|
||||
x_5 = x_12;
|
||||
x_6 = x_50;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_alloc_ctor(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);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___lambda__2(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3;
|
||||
x_2 = l_command__ClassAbbrev_____x3a___x3a_x3d_____x2c___closed__22;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Syntax_isOfKind(x_1, x_2);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_4;
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(0);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
|
||||
x_7 = lean_unsigned_to_nat(1u);
|
||||
x_8 = l_Lean_Syntax_getArg(x_1, x_7);
|
||||
lean_dec(x_1);
|
||||
x_9 = l_Lean_Syntax_isNone(x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; uint8_t x_11;
|
||||
x_10 = l_Lean_nullKind;
|
||||
lean_inc(x_8);
|
||||
x_11 = l_Lean_Syntax_isNodeOf(x_8, x_10, x_7);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12;
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
x_12 = lean_box(0);
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_13 = l_Lean_Syntax_getArg(x_8, x_5);
|
||||
lean_dec(x_8);
|
||||
x_14 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
x_15 = lean_box(0);
|
||||
x_16 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___lambda__1(x_6, x_15, x_14);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
lean_dec(x_8);
|
||||
x_17 = lean_box(0);
|
||||
x_18 = lean_box(0);
|
||||
x_19 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___lambda__1(x_6, x_18, x_17);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("tacticSeqBracketed", 18);
|
||||
x_1 = lean_alloc_closure((void*)(l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___lambda__2), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("tacticSeqBracketed", 18);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___aux__Init__NotationExtra______macroRules__tacticCalc____1___closed__2;
|
||||
x_2 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__1;
|
||||
x_2 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__2;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -13620,8 +13928,8 @@ x_11 = l_Lean_Syntax_getArg(x_1, x_10);
|
|||
lean_dec(x_1);
|
||||
x_12 = l_Lean_Syntax_getArgs(x_11);
|
||||
lean_dec(x_11);
|
||||
x_13 = l___aux__Init__NotationExtra______macroRules__command__ClassAbbrev_____x3a___x3a_x3d_____x2c__1___lambda__3___closed__1;
|
||||
x_14 = l_Array_sequenceMap___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__1(x_12, x_13);
|
||||
x_13 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__1;
|
||||
x_14 = l_Array_sequenceMap___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1(x_12, x_13);
|
||||
lean_dec(x_12);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
|
|
@ -13636,168 +13944,232 @@ return x_16;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; uint8_t x_19;
|
||||
lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24;
|
||||
x_17 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_14);
|
||||
x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3);
|
||||
x_19 = !lean_is_exclusive(x_18);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_20 = lean_ctor_get(x_18, 0);
|
||||
x_21 = l_Lean_Syntax_getHeadInfo_x3f(x_9);
|
||||
lean_dec(x_9);
|
||||
x_22 = lean_array_get_size(x_17);
|
||||
x_23 = lean_usize_of_nat(x_22);
|
||||
lean_dec(x_22);
|
||||
x_24 = 0;
|
||||
x_25 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__19;
|
||||
x_26 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__27;
|
||||
x_27 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1(x_25, x_26, x_23, x_24, x_17);
|
||||
x_28 = l_Array_append___rarg(x_26, x_27);
|
||||
x_29 = lean_box(2);
|
||||
x_30 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_30, 0, x_29);
|
||||
lean_ctor_set(x_30, 1, x_25);
|
||||
lean_ctor_set(x_30, 2, x_28);
|
||||
x_31 = l_unexpandSubtype___closed__5;
|
||||
lean_inc(x_20);
|
||||
x_32 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_20);
|
||||
lean_ctor_set(x_32, 1, x_31);
|
||||
if (lean_obj_tag(x_21) == 0)
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_33 = l_unexpandSubtype___closed__3;
|
||||
x_34 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_34, 0, x_20);
|
||||
lean_ctor_set(x_34, 1, x_33);
|
||||
x_35 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__30;
|
||||
x_36 = lean_array_push(x_35, x_34);
|
||||
x_37 = lean_array_push(x_36, x_30);
|
||||
x_38 = lean_array_push(x_37, x_32);
|
||||
x_39 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__2;
|
||||
x_40 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_40, 0, x_29);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
lean_ctor_set(x_40, 2, x_38);
|
||||
lean_ctor_set(x_18, 0, x_40);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49;
|
||||
lean_dec(x_20);
|
||||
x_41 = lean_ctor_get(x_21, 0);
|
||||
lean_inc(x_41);
|
||||
lean_dec(x_21);
|
||||
x_42 = l_unexpandSubtype___closed__3;
|
||||
x_43 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_41);
|
||||
lean_ctor_set(x_43, 1, x_42);
|
||||
x_44 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__30;
|
||||
x_45 = lean_array_push(x_44, x_43);
|
||||
x_46 = lean_array_push(x_45, x_30);
|
||||
x_47 = lean_array_push(x_46, x_32);
|
||||
x_48 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__2;
|
||||
x_49 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_49, 0, x_29);
|
||||
lean_ctor_set(x_49, 1, x_48);
|
||||
lean_ctor_set(x_49, 2, x_47);
|
||||
lean_ctor_set(x_18, 0, x_49);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; size_t x_54; size_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63;
|
||||
x_50 = lean_ctor_get(x_18, 0);
|
||||
x_51 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_51);
|
||||
lean_inc(x_50);
|
||||
x_18 = lean_array_get_size(x_17);
|
||||
x_19 = lean_usize_of_nat(x_18);
|
||||
lean_dec(x_18);
|
||||
x_52 = l_Lean_Syntax_getHeadInfo_x3f(x_9);
|
||||
lean_dec(x_9);
|
||||
x_53 = lean_array_get_size(x_17);
|
||||
x_54 = lean_usize_of_nat(x_53);
|
||||
lean_dec(x_53);
|
||||
x_55 = 0;
|
||||
x_56 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__19;
|
||||
x_57 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__27;
|
||||
x_58 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1(x_56, x_57, x_54, x_55, x_17);
|
||||
x_59 = l_Array_append___rarg(x_57, x_58);
|
||||
x_60 = lean_box(2);
|
||||
x_61 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_61, 0, x_60);
|
||||
lean_ctor_set(x_61, 1, x_56);
|
||||
lean_ctor_set(x_61, 2, x_59);
|
||||
x_62 = l_unexpandSubtype___closed__5;
|
||||
lean_inc(x_50);
|
||||
x_63 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_63, 0, x_50);
|
||||
lean_ctor_set(x_63, 1, x_62);
|
||||
if (lean_obj_tag(x_52) == 0)
|
||||
x_20 = 0;
|
||||
lean_inc(x_17);
|
||||
x_21 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__3(x_19, x_20, x_17);
|
||||
x_22 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__4(x_19, x_20, x_17);
|
||||
x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3);
|
||||
x_24 = !lean_is_exclusive(x_23);
|
||||
if (x_24 == 0)
|
||||
{
|
||||
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72;
|
||||
x_64 = l_unexpandSubtype___closed__3;
|
||||
x_65 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_50);
|
||||
lean_ctor_set(x_65, 1, x_64);
|
||||
x_66 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__30;
|
||||
x_67 = lean_array_push(x_66, x_65);
|
||||
x_68 = lean_array_push(x_67, x_61);
|
||||
x_69 = lean_array_push(x_68, x_63);
|
||||
x_70 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__2;
|
||||
x_71 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_71, 0, x_60);
|
||||
lean_ctor_set(x_71, 1, x_70);
|
||||
lean_ctor_set(x_71, 2, x_69);
|
||||
x_72 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_72, 0, x_71);
|
||||
lean_ctor_set(x_72, 1, x_51);
|
||||
return x_72;
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_25 = lean_ctor_get(x_23, 0);
|
||||
x_26 = l_Lean_Syntax_getHeadInfo_x3f(x_9);
|
||||
lean_dec(x_9);
|
||||
x_27 = l_Array_zip___rarg(x_22, x_21);
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_22);
|
||||
x_28 = lean_array_get_size(x_27);
|
||||
x_29 = lean_usize_of_nat(x_28);
|
||||
lean_dec(x_28);
|
||||
x_30 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__19;
|
||||
x_31 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__27;
|
||||
lean_inc(x_25);
|
||||
x_32 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__5(x_25, x_30, x_31, x_29, x_20, x_27);
|
||||
x_33 = l_Array_append___rarg(x_31, x_32);
|
||||
x_34 = lean_box(2);
|
||||
x_35 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
lean_ctor_set(x_35, 1, x_30);
|
||||
lean_ctor_set(x_35, 2, x_33);
|
||||
x_36 = l_unexpandSubtype___closed__5;
|
||||
lean_inc(x_25);
|
||||
x_37 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_25);
|
||||
lean_ctor_set(x_37, 1, x_36);
|
||||
if (lean_obj_tag(x_26) == 0)
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_38 = l_unexpandSubtype___closed__3;
|
||||
x_39 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_25);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
x_40 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__30;
|
||||
x_41 = lean_array_push(x_40, x_39);
|
||||
x_42 = lean_array_push(x_41, x_35);
|
||||
x_43 = lean_array_push(x_42, x_37);
|
||||
x_44 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__3;
|
||||
x_45 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_45, 0, x_34);
|
||||
lean_ctor_set(x_45, 1, x_44);
|
||||
lean_ctor_set(x_45, 2, x_43);
|
||||
lean_ctor_set(x_23, 0, x_45);
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82;
|
||||
lean_dec(x_50);
|
||||
x_73 = lean_ctor_get(x_52, 0);
|
||||
lean_inc(x_73);
|
||||
lean_dec(x_52);
|
||||
x_74 = l_unexpandSubtype___closed__3;
|
||||
x_75 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_73);
|
||||
lean_ctor_set(x_75, 1, x_74);
|
||||
x_76 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__30;
|
||||
x_77 = lean_array_push(x_76, x_75);
|
||||
x_78 = lean_array_push(x_77, x_61);
|
||||
x_79 = lean_array_push(x_78, x_63);
|
||||
x_80 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__2;
|
||||
x_81 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_81, 0, x_60);
|
||||
lean_ctor_set(x_81, 1, x_80);
|
||||
lean_ctor_set(x_81, 2, x_79);
|
||||
x_82 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_82, 0, x_81);
|
||||
lean_ctor_set(x_82, 1, x_51);
|
||||
return x_82;
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54;
|
||||
lean_dec(x_25);
|
||||
x_46 = lean_ctor_get(x_26, 0);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_26);
|
||||
x_47 = l_unexpandSubtype___closed__3;
|
||||
x_48 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_46);
|
||||
lean_ctor_set(x_48, 1, x_47);
|
||||
x_49 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__30;
|
||||
x_50 = lean_array_push(x_49, x_48);
|
||||
x_51 = lean_array_push(x_50, x_35);
|
||||
x_52 = lean_array_push(x_51, x_37);
|
||||
x_53 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__3;
|
||||
x_54 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_54, 0, x_34);
|
||||
lean_ctor_set(x_54, 1, x_53);
|
||||
lean_ctor_set(x_54, 2, x_52);
|
||||
lean_ctor_set(x_23, 0, x_54);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; size_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68;
|
||||
x_55 = lean_ctor_get(x_23, 0);
|
||||
x_56 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_56);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_23);
|
||||
x_57 = l_Lean_Syntax_getHeadInfo_x3f(x_9);
|
||||
lean_dec(x_9);
|
||||
x_58 = l_Array_zip___rarg(x_22, x_21);
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_22);
|
||||
x_59 = lean_array_get_size(x_58);
|
||||
x_60 = lean_usize_of_nat(x_59);
|
||||
lean_dec(x_59);
|
||||
x_61 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__19;
|
||||
x_62 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__27;
|
||||
lean_inc(x_55);
|
||||
x_63 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__5(x_55, x_61, x_62, x_60, x_20, x_58);
|
||||
x_64 = l_Array_append___rarg(x_62, x_63);
|
||||
x_65 = lean_box(2);
|
||||
x_66 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_66, 0, x_65);
|
||||
lean_ctor_set(x_66, 1, x_61);
|
||||
lean_ctor_set(x_66, 2, x_64);
|
||||
x_67 = l_unexpandSubtype___closed__5;
|
||||
lean_inc(x_55);
|
||||
x_68 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_68, 0, x_55);
|
||||
lean_ctor_set(x_68, 1, x_67);
|
||||
if (lean_obj_tag(x_57) == 0)
|
||||
{
|
||||
lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77;
|
||||
x_69 = l_unexpandSubtype___closed__3;
|
||||
x_70 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_70, 0, x_55);
|
||||
lean_ctor_set(x_70, 1, x_69);
|
||||
x_71 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__30;
|
||||
x_72 = lean_array_push(x_71, x_70);
|
||||
x_73 = lean_array_push(x_72, x_66);
|
||||
x_74 = lean_array_push(x_73, x_68);
|
||||
x_75 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__3;
|
||||
x_76 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_76, 0, x_65);
|
||||
lean_ctor_set(x_76, 1, x_75);
|
||||
lean_ctor_set(x_76, 2, x_74);
|
||||
x_77 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_77, 0, x_76);
|
||||
lean_ctor_set(x_77, 1, x_56);
|
||||
return x_77;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87;
|
||||
lean_dec(x_55);
|
||||
x_78 = lean_ctor_get(x_57, 0);
|
||||
lean_inc(x_78);
|
||||
lean_dec(x_57);
|
||||
x_79 = l_unexpandSubtype___closed__3;
|
||||
x_80 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_80, 0, x_78);
|
||||
lean_ctor_set(x_80, 1, x_79);
|
||||
x_81 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b_____x5d____1___closed__30;
|
||||
x_82 = lean_array_push(x_81, x_80);
|
||||
x_83 = lean_array_push(x_82, x_66);
|
||||
x_84 = lean_array_push(x_83, x_68);
|
||||
x_85 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__3;
|
||||
x_86 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_86, 0, x_65);
|
||||
lean_ctor_set(x_86, 1, x_85);
|
||||
lean_ctor_set(x_86, 2, x_84);
|
||||
x_87 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_87, 0, x_86);
|
||||
lean_ctor_set(x_87, 1, x_56);
|
||||
return x_87;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
size_t x_6; size_t x_7; lean_object* x_8;
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
lean_object* x_6;
|
||||
x_6 = l_Array_sequenceMap_loop___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__2(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_sequenceMap___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Array_sequenceMap___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1(x_1, x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; size_t x_5; lean_object* x_6;
|
||||
x_4 = lean_unbox_usize(x_1);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__3(x_4, x_5, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; size_t x_5; lean_object* x_6;
|
||||
x_4 = lean_unbox_usize(x_1);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__4(x_4, x_5, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
size_t x_7; size_t x_8; lean_object* x_9;
|
||||
x_7 = lean_unbox_usize(x_4);
|
||||
lean_dec(x_4);
|
||||
x_8 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1(x_1, x_2, x_6, x_7, x_5);
|
||||
return x_8;
|
||||
x_8 = lean_unbox_usize(x_5);
|
||||
lean_dec(x_5);
|
||||
x_9 = l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__5(x_1, x_2, x_3, x_7, x_8, x_6);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___lambda__1(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_solve___closed__1() {
|
||||
|
|
@ -17863,6 +18235,8 @@ l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___clos
|
|||
lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__1);
|
||||
l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__2 = _init_l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__2();
|
||||
lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__2);
|
||||
l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__3 = _init_l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__3();
|
||||
lean_mark_persistent(l___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___closed__3);
|
||||
l_solve___closed__1 = _init_l_solve___closed__1();
|
||||
lean_mark_persistent(l_solve___closed__1);
|
||||
l_solve___closed__2 = _init_l_solve___closed__2();
|
||||
|
|
|
|||
742
stage0/stdlib/Init/System/IO.c
generated
742
stage0/stdlib/Init/System/IO.c
generated
File diff suppressed because it is too large
Load diff
10
stage0/stdlib/Lean.c
generated
10
stage0/stdlib/Lean.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean
|
||||
// Imports: Init Lean.Data Lean.Compiler Lean.Environment Lean.Modifiers Lean.ProjFns Lean.Runtime Lean.ResolveName Lean.Attributes Lean.Parser Lean.ReducibilityAttrs Lean.Elab Lean.Class Lean.LocalContext Lean.MetavarContext Lean.AuxRecursor Lean.Meta Lean.Util Lean.Eval Lean.Structure Lean.PrettyPrinter Lean.CoreM Lean.InternalExceptionId Lean.Server Lean.ScopedEnvExtension Lean.DocString Lean.DeclarationRange Lean.LazyInitExtension Lean.LoadDynlib Lean.Widget Lean.Log
|
||||
// Imports: Init Lean.Data Lean.Compiler Lean.Environment Lean.Modifiers Lean.ProjFns Lean.Runtime Lean.ResolveName Lean.Attributes Lean.Parser Lean.ReducibilityAttrs Lean.Elab Lean.Class Lean.LocalContext Lean.MetavarContext Lean.AuxRecursor Lean.Meta Lean.Util Lean.Eval Lean.Structure Lean.PrettyPrinter Lean.CoreM Lean.InternalExceptionId Lean.Server Lean.ScopedEnvExtension Lean.DocString Lean.DeclarationRange Lean.LazyInitExtension Lean.LoadDynlib Lean.Widget Lean.Log Lean.Linter Lean.SubExpr
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -44,6 +44,8 @@ lean_object* initialize_Lean_LazyInitExtension(uint8_t builtin, lean_object*);
|
|||
lean_object* initialize_Lean_LoadDynlib(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Widget(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Log(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Linter(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_SubExpr(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -142,6 +144,12 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Log(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_SubExpr(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
190
stage0/stdlib/Lean/Attributes.c
generated
190
stage0/stdlib/Lean/Attributes.c
generated
|
|
@ -43,7 +43,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Attribute_add___spec__2(lea
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_getBuiltinAttributeNames___spec__3(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerParametricAttribute___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____lambda__2(lean_object*);
|
||||
extern lean_object* l_Lean_NameSet_instInhabitedNameSet;
|
||||
LEAN_EXPORT lean_object* l_Lean_registerParametricAttribute___rarg___lambda__4(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_getAttrParamOptPrio___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -53,10 +52,10 @@ uint8_t lean_usize_dec_eq(size_t, size_t);
|
|||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
static lean_object* l_Lean_Attribute_Builtin_getIdent_x3f___closed__2;
|
||||
lean_object* lean_io_error_to_string(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_2637____spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instMonadLiftImportMAttrM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_getBuiltinAttributeImpl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_PersistentHashMap_containsAtAux___at_Lean_registerBuiltinAttribute___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_2641____spec__1(lean_object*);
|
||||
static lean_object* l_Lean_ParametricAttribute_setParam___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Attributes_0__Lean_AttributeExtension_mkInitial(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Attributes_0__Lean_AttributeExtension_addImported___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -68,15 +67,14 @@ static lean_object* l_Lean_Attribute_Builtin_getIdent_x3f___closed__4;
|
|||
LEAN_EXPORT lean_object* lean_attribute_application_time(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_foldlM___at_Lean_registerAttributeImplBuilder___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getBuiltinAttributeImpl(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_2641____spec__1___boxed(lean_object*);
|
||||
uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedTagAttribute___closed__2;
|
||||
static lean_object* l_Lean_Attribute_Builtin_getIdent_x3f___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_registerEnumAttributes___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_EnumAttributes_getValue___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__7;
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
static lean_object* l_Lean_ParametricAttribute_setParam___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____lambda__2___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_EnumAttributes_getValue___spec__1___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_AttributeExtensionState_newEntries___default;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_contains___at_Lean_registerBuiltinAttribute___spec__5___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -100,12 +98,14 @@ lean_object* l_Lean_PersistentEnvExtension_setState___rarg(lean_object*, lean_ob
|
|||
static lean_object* l_Lean_getAttrParamOptPrio___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_isAttribute___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_attributeExtension;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____lambda__2(lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerEnumAttributes___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_registerEnumAttributes___rarg___lambda__3___closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__7;
|
||||
static lean_object* l_Lean_Attribute_Builtin_ensureNoArgs___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_fold___at_Lean_registerEnumAttributes___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_attributeMapRef;
|
||||
|
|
@ -113,9 +113,9 @@ LEAN_EXPORT lean_object* l_Lean_attributeImplBuilderTableRef;
|
|||
lean_object* l_Array_qpartition_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_shift_right(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_fold___at_Lean_registerParametricAttribute___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_231_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_2637_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_235_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_2641_(lean_object*);
|
||||
static lean_object* l_Lean_Attribute_Builtin_ensureNoArgs___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_getAttrParamOptPrio___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerEnumAttributes___rarg___lambda__3___boxed(lean_object*);
|
||||
|
|
@ -142,7 +142,6 @@ static lean_object* l_Lean_registerTagAttribute___closed__5;
|
|||
static lean_object* l_Lean_AttributeImpl_erase___default___rarg___closed__1;
|
||||
static lean_object* l_Lean_registerTagAttribute___lambda__4___closed__3;
|
||||
LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_registerEnumAttributes___spec__3___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_fold___at_Lean_registerTagAttribute___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_AttributeImpl_erase___default___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_EnumAttributes_getValue___spec__1___rarg___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -162,17 +161,18 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_getBuiltinAt
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_updateEnvAttributesImpl___spec__3(lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_instToStringAttributeKind___closed__3;
|
||||
LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_registerEnumAttributes___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_getBuiltinAttributeNames___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_registerAttributeImplBuilder___lambda__1___closed__1;
|
||||
extern lean_object* l_Lean_numLitKind;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_updateEnvAttributesImpl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Attribute_Builtin_ensureNoArgs___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____lambda__1(lean_object*);
|
||||
static lean_object* l_Lean_instBEqAttributeKind___closed__1;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_registerEnumAttributes___spec__3___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedEnumAttributes(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instMonadLiftImportMAttrM(lean_object*);
|
||||
lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -182,13 +182,12 @@ LEAN_EXPORT lean_object* l_Lean_ParametricAttributeImpl_afterSet___default___rar
|
|||
LEAN_EXPORT lean_object* l_Lean_registerAttributeOfBuilder(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToStringAttributeKind___boxed(lean_object*);
|
||||
static lean_object* l_Lean_instToStringAttributeKind___closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__1;
|
||||
static lean_object* l_Lean_instInhabitedEnumAttributes___closed__1;
|
||||
LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_registerEnumAttributes___spec__3___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_AttributeApplicationTime_toCtorIdx___boxed(lean_object*);
|
||||
static lean_object* l_Lean_instToStringAttributeKind___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedAttributeImplCore;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__8;
|
||||
LEAN_EXPORT lean_object* lean_is_attribute(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_registerEnumAttributes___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
|
||||
|
|
@ -212,8 +211,11 @@ static lean_object* l_Lean_instInhabitedTagAttribute___closed__4;
|
|||
LEAN_EXPORT lean_object* l_Lean_getAttributeNames___boxed(lean_object*);
|
||||
uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_registerParametricAttribute___spec__2(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__2;
|
||||
lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____lambda__2___boxed(lean_object*);
|
||||
uint64_t l_Lean_Name_hash(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_15____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedParametricAttribute___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_registerTagAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Attribute_Builtin_getIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -223,7 +225,6 @@ LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_registerEnumAttributes___spec
|
|||
static lean_object* l_Lean_Attribute_Builtin_ensureNoArgs___closed__2;
|
||||
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedAttributeImpl;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__2;
|
||||
static lean_object* l_Lean_mkAttributeImplOfBuilder___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Attribute_Builtin_getPrio(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_fold___at_Lean_registerEnumAttributes___spec__1___rarg___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -246,13 +247,12 @@ static lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_getBuiltinAttrib
|
|||
LEAN_EXPORT lean_object* l_Lean_registerEnumAttributes___rarg___lambda__3(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerTagAttribute___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedTagAttribute___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_2637____spec__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_registerBuiltinAttribute___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
lean_object* l_Array_qsort_sort___at_Lean_mkTagDeclarationExtension___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____lambda__1(lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedTagAttribute___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_EnumAttributes_getValue___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Attribute_add___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__3;
|
||||
static lean_object* l_Lean_registerParametricAttribute___rarg___closed__1;
|
||||
static lean_object* l_Lean_registerTagAttribute___lambda__6___closed__3;
|
||||
static lean_object* l_Lean_registerTagAttribute___lambda__4___closed__6;
|
||||
|
|
@ -266,7 +266,6 @@ static lean_object* l_Lean_ParametricAttribute_setParam___rarg___closed__3;
|
|||
static lean_object* l_Lean_Attribute_Builtin_ensureNoArgs___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_registerParametricAttribute___rarg___lambda__4___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkAttributeImplOfEntry(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_EnumAttributes_getValue___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -278,15 +277,13 @@ LEAN_EXPORT lean_object* l_Lean_instInhabitedTagAttribute___lambda__1___boxed(le
|
|||
static size_t l_Std_PersistentHashMap_insertAux___at_Lean_registerBuiltinAttribute___spec__2___closed__2;
|
||||
static lean_object* l_Lean_registerParametricAttribute___rarg___lambda__4___closed__2;
|
||||
lean_object* l_Std_RBNode_fold___at_Std_RBMap_size___spec__1___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_instInhabitedAttributeApplicationTime;
|
||||
LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_mkAttributeImplOfBuilder___spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_13____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Attributes_0__Lean_AttributeExtension_addImported___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
static uint32_t l_Lean_instInhabitedTagAttribute___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedTagAttribute___lambda__4(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__2;
|
||||
static lean_object* l_Lean_registerAttributeImplBuilder___closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_AttributeKind_noConfusion(lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParametricAttributeImpl_afterImport___default(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -302,6 +299,7 @@ static lean_object* l_Lean_registerTagAttribute___lambda__4___closed__2;
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_getBuiltinAttributeNames___spec__2___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_mkAttributeImplOfConstantUnsafe___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__5;
|
||||
static lean_object* l_Lean_setEnv___at_Lean_registerTagAttribute___spec__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Attribute_add(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_mkAttributeImplOfBuilder___spec__3___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -317,8 +315,10 @@ LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_registerTagAttribute___spec__2(
|
|||
LEAN_EXPORT lean_object* l_Std_AssocList_replace___at_Lean_registerAttributeImplBuilder___spec__6(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_updateEnvAttributesImpl___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_mkAttributeImplOfBuilder___spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__3;
|
||||
lean_object* l_List_redLength___rarg(lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedAttributeImplCore___closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Attributes_0__Lean_addAttrEntry(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_isAttribute(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_registerBuiltinAttribute___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -358,13 +358,13 @@ LEAN_EXPORT lean_object* l_Lean_ParametricAttribute_getParam___rarg(lean_object*
|
|||
static lean_object* l_Lean_registerTagAttribute___lambda__6___closed__1;
|
||||
static lean_object* l_Lean_instInhabitedAttributeImpl___lambda__1___closed__1;
|
||||
LEAN_EXPORT uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__1;
|
||||
static lean_object* l_Lean_EnumAttributes_setValue___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_mkAttributeImplOfBuilder___spec__2___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_registerParametricAttribute___rarg___lambda__4___closed__1;
|
||||
static lean_object* l_Lean_Attribute_Builtin_getIdent_x3f___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_registerAttributeImplBuilder___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Attribute_Builtin_getIdent_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerEnumAttributes___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_registerBuiltinAttribute___lambda__2___closed__1;
|
||||
|
|
@ -372,7 +372,7 @@ LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_ParametricAttribute_getPara
|
|||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_registerBuiltinAttribute___closed__2;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_13_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_15_(uint8_t, uint8_t);
|
||||
extern lean_object* l_Lean_instInhabitedName;
|
||||
static lean_object* l_Lean_Attribute_Builtin_getIdent___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_registerBuiltinAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -425,11 +425,9 @@ LEAN_EXPORT lean_object* l_Lean_mkAttributeImplOfConstantUnsafe___boxed(lean_obj
|
|||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_registerEnumAttributes___spec__2(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_AttributeImplCore_applicationTime___default;
|
||||
static lean_object* l_Lean_Attribute_Builtin_getIdent___closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Attributes_0__Lean_AttributeExtension_addImported___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParametricAttributeImpl_afterImport___default___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_getBuiltinAttributeImpl___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__3;
|
||||
static lean_object* l_Lean_AttributeApplicationTime_noConfusion___rarg___closed__1;
|
||||
static lean_object* l_Lean_Attribute_Builtin_getPrio___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_HashMapImp_expand___at_Lean_registerAttributeImplBuilder___spec__3(lean_object*, lean_object*);
|
||||
|
|
@ -461,6 +459,7 @@ static lean_object* l_Lean_Attribute_Builtin_ensureNoArgs___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Attribute_Builtin_getIdent___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_EnumAttributes_setValue(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerTagAttribute___lambda__4___boxed(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__6;
|
||||
static lean_object* l_Lean_registerTagAttribute___lambda__4___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_getAttributeImpl(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*);
|
||||
|
|
@ -468,6 +467,7 @@ LEAN_EXPORT lean_object* l_Lean_AttributeImpl_erase___default___boxed(lean_objec
|
|||
LEAN_EXPORT lean_object* l_Lean_mkAttributeImplOfBuilder(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerEnumAttributes(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Attribute_Builtin_getId_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__3;
|
||||
static lean_object* l_Lean_registerBuiltinAttribute___closed__1;
|
||||
static lean_object* l_Lean_Attribute_Builtin_ensureNoArgs___closed__10;
|
||||
lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -574,7 +574,7 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_13_(uint8_t x_1, uint8_t x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_15_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -586,7 +586,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_13____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_15____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -594,7 +594,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_13_(x_3, x_4);
|
||||
x_5 = l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_15_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -603,7 +603,7 @@ static lean_object* _init_l_Lean_instBEqAttributeApplicationTime___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_13____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_15____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -821,7 +821,7 @@ x_6 = l_Lean_AttributeKind_noConfusion___rarg(x_4, x_5, x_3);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128_(uint8_t x_1, uint8_t x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -833,7 +833,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -841,7 +841,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128_(x_3, x_4);
|
||||
x_5 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -850,7 +850,7 @@ static lean_object* _init_l_Lean_instBEqAttributeKind___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1129,7 +1129,7 @@ lean_dec(x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1137,21 +1137,21 @@ x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0));
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__1;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__1;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__2;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__2;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -1159,11 +1159,11 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_231_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_235_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__3;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__3;
|
||||
x_3 = lean_st_mk_ref(x_2, x_1);
|
||||
x_4 = !lean_is_exclusive(x_3);
|
||||
if (x_4 == 0)
|
||||
|
|
@ -3575,7 +3575,7 @@ static lean_object* _init_l_Lean_setEnv___at_Lean_registerTagAttribute___spec__2
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__3;
|
||||
x_2 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
lean_ctor_set(x_2, 1, x_1);
|
||||
|
|
@ -4009,7 +4009,7 @@ x_11 = lean_ctor_get(x_10, 1);
|
|||
lean_inc(x_11);
|
||||
lean_dec(x_10);
|
||||
x_12 = 0;
|
||||
x_13 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128_(x_6, x_12);
|
||||
x_13 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132_(x_6, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
|
|
@ -5019,7 +5019,7 @@ _start:
|
|||
{
|
||||
uint8_t x_10; uint8_t x_11;
|
||||
x_10 = 0;
|
||||
x_11 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128_(x_6, x_10);
|
||||
x_11 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132_(x_6, x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18;
|
||||
|
|
@ -6253,7 +6253,7 @@ x_12 = lean_ctor_get(x_11, 1);
|
|||
lean_inc(x_12);
|
||||
lean_dec(x_11);
|
||||
x_13 = 0;
|
||||
x_14 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128_(x_7, x_13);
|
||||
x_14 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132_(x_7, x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
|
|
@ -7226,7 +7226,7 @@ lean_dec(x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_2637____spec__1(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_2641____spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
|
|
@ -7234,7 +7234,7 @@ x_2 = l_Std_mkHashMapImp___rarg(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_2637_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_2641_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -7261,11 +7261,11 @@ return x_8;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_2637____spec__1___boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_2641____spec__1___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_2637____spec__1(x_1);
|
||||
x_2 = l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_2641____spec__1(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -7989,7 +7989,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__3;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__3;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -8752,7 +8752,7 @@ lean_ctor_set(x_11, 1, x_10);
|
|||
return x_11;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____lambda__1(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____lambda__1(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;
|
||||
|
|
@ -8767,7 +8767,7 @@ x_6 = l_List_toArrayAux___rarg(x_3, x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____lambda__2(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____lambda__2(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
|
|
@ -8784,7 +8784,7 @@ lean_ctor_set(x_8, 1, x_6);
|
|||
return x_8;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8792,17 +8792,17 @@ x_1 = lean_mk_string_from_bytes("attrExt", 7);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8810,7 +8810,7 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Attributes_0__Lean_AttributeEx
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__4() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8818,7 +8818,7 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Attributes_0__Lean_AttributeEx
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__5() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8826,32 +8826,32 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Attributes_0__Lean_addAttrEntr
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__6() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Attributes___hyg_3214____lambda__1), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Attributes___hyg_3218____lambda__1), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__7() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Attributes___hyg_3214____lambda__2___boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Attributes___hyg_3218____lambda__2___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__8() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__3;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__5;
|
||||
x_5 = l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__6;
|
||||
x_6 = l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__7;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__3;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__5;
|
||||
x_5 = l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__6;
|
||||
x_6 = l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__7;
|
||||
x_7 = lean_alloc_ctor(0, 6, 0);
|
||||
lean_ctor_set(x_7, 0, x_1);
|
||||
lean_ctor_set(x_7, 1, x_2);
|
||||
|
|
@ -8862,20 +8862,20 @@ lean_ctor_set(x_7, 5, x_6);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__8;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__8;
|
||||
x_3 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3214____lambda__2___boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_3218____lambda__2___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_3214____lambda__2(x_1);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_3218____lambda__2(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -10367,13 +10367,13 @@ l_Lean_instInhabitedAttributeImpl___closed__3 = _init_l_Lean_instInhabitedAttrib
|
|||
lean_mark_persistent(l_Lean_instInhabitedAttributeImpl___closed__3);
|
||||
l_Lean_instInhabitedAttributeImpl = _init_l_Lean_instInhabitedAttributeImpl();
|
||||
lean_mark_persistent(l_Lean_instInhabitedAttributeImpl);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__1 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__2 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__3 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_231____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Attributes___hyg_231_(lean_io_mk_world());
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__1 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__2 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__3 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_235____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Attributes___hyg_235_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_attributeMapRef = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_attributeMapRef);
|
||||
|
|
@ -10537,7 +10537,7 @@ l_Lean_EnumAttributes_setValue___rarg___closed__1 = _init_l_Lean_EnumAttributes_
|
|||
lean_mark_persistent(l_Lean_EnumAttributes_setValue___rarg___closed__1);
|
||||
l_Lean_EnumAttributes_setValue___rarg___closed__2 = _init_l_Lean_EnumAttributes_setValue___rarg___closed__2();
|
||||
lean_mark_persistent(l_Lean_EnumAttributes_setValue___rarg___closed__2);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Attributes___hyg_2637_(lean_io_mk_world());
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Attributes___hyg_2641_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_attributeImplBuilderTableRef = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_attributeImplBuilderTableRef);
|
||||
|
|
@ -10566,23 +10566,23 @@ l_Lean_mkAttributeImplOfConstantUnsafe___closed__3 = _init_l_Lean_mkAttributeImp
|
|||
lean_mark_persistent(l_Lean_mkAttributeImplOfConstantUnsafe___closed__3);
|
||||
l_Lean_mkAttributeImplOfConstantUnsafe___closed__4 = _init_l_Lean_mkAttributeImplOfConstantUnsafe___closed__4();
|
||||
lean_mark_persistent(l_Lean_mkAttributeImplOfConstantUnsafe___closed__4);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__1 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__2 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__3 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__4 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__5 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__6 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__7 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__8 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3214____closed__8);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Attributes___hyg_3214_(lean_io_mk_world());
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__1 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__2 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__3 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__4 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__5 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__6 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__7 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__8 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_3218____closed__8);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Attributes___hyg_3218_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_attributeExtension = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_attributeExtension);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Class.c
generated
4
stage0/stdlib/Lean/Class.c
generated
|
|
@ -72,7 +72,7 @@ LEAN_EXPORT lean_object* l_Lean_addClass___lambda__2(lean_object*, lean_object*,
|
|||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_872____lambda__3___closed__1;
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_replace___at_Lean_ClassState_addEntry___spec__11___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_ClassState_hasOutParam___default___spec__2___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Class___hyg_872____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3152,7 +3152,7 @@ x_12 = lean_ctor_get(x_11, 1);
|
|||
lean_inc(x_12);
|
||||
lean_dec(x_11);
|
||||
x_13 = 0;
|
||||
x_14 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128_(x_3, x_13);
|
||||
x_14 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132_(x_3, x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; uint8_t x_17;
|
||||
|
|
|
|||
314
stage0/stdlib/Lean/Compiler/InlineAttrs.c
generated
314
stage0/stdlib/Lean/Compiler/InlineAttrs.c
generated
|
|
@ -14,75 +14,75 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_instInhabitedInlineAttributeKind;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__1;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_toCtorIdx___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__2;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__1;
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_instBEqInlineAttributeKind;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__4;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__27;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__17;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__8;
|
||||
LEAN_EXPORT uint8_t lean_has_noinline_attribute(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__17;
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_13_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__8;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_15_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__27;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__7;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__4;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_noConfusion___rarg___lambda__1(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__5;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__14;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_noConfusion(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__18;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__15;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_hasMacroInlineAttribute___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__5;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__18;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__22;
|
||||
LEAN_EXPORT uint8_t lean_has_macro_inline_attribute(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__15;
|
||||
static lean_object* l_Lean_Compiler_InlineAttributeKind_noConfusion___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__14;
|
||||
uint8_t lean_is_eager_lambda_lifting_name(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__22;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_inlineAttrs;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_noConfusion___rarg___lambda__1___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__25;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__25;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_hasInlineAttribute___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Name_isInternal(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_hasInlineIfReduceAttribute___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__10;
|
||||
lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__20;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__10;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__24;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__16;
|
||||
lean_object* l_Lean_Compiler_checkIsDefinition(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_toCtorIdx(uint8_t);
|
||||
LEAN_EXPORT uint8_t lean_has_inline_attribute(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__16;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_13____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__20;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__24;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_15____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_instBEqInlineAttributeKind___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_hasNoInlineAttribute___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_hasInlineAttrAux(lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_setInlineAttribute___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__11;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__19;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__19;
|
||||
lean_object* l_Lean_Name_getPrefix(lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__11;
|
||||
LEAN_EXPORT uint8_t lean_has_inline_if_reduce_attribute(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__26;
|
||||
lean_object* l_Lean_EnumAttributes_getValue___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__26;
|
||||
lean_object* l_Lean_EnumAttributes_setValue___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__12;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_setInlineAttribute(lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_hasInlineAttrAux___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_hasInlineAttrAux___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30_(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__21;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__23;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32_(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__23;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__13;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__21;
|
||||
lean_object* l_Lean_registerEnumAttributes___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_toCtorIdx(uint8_t x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -184,7 +184,7 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_13_(uint8_t x_1, uint8_t x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_15_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -196,7 +196,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_13____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_15____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -204,7 +204,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_13_(x_3, x_4);
|
||||
x_5 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_15_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -213,7 +213,7 @@ static lean_object* _init_l_Lean_Compiler_instBEqInlineAttributeKind___closed__1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_13____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_15____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -225,7 +225,7 @@ x_1 = l_Lean_Compiler_instBEqInlineAttributeKind___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
|
|
@ -252,7 +252,7 @@ return x_10;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____lambda__1(lean_object* x_1, uint8_t 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;
|
||||
|
|
@ -266,14 +266,14 @@ x_9 = lean_ctor_get(x_7, 0);
|
|||
lean_inc(x_9);
|
||||
lean_dec(x_7);
|
||||
x_10 = l_Lean_Compiler_checkIsDefinition(x_9, x_1);
|
||||
x_11 = l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____spec__1(x_10, x_3, x_4, x_8);
|
||||
x_11 = l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____spec__1(x_10, x_3, x_4, x_8);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_10);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__1() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -281,17 +281,17 @@ x_1 = lean_mk_string_from_bytes("inlineAttrs", 11);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__2() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__1;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__3() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -299,17 +299,17 @@ x_1 = lean_mk_string_from_bytes("inline", 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__4() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__3;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__5() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -317,11 +317,11 @@ x_1 = lean_mk_string_from_bytes("mark definition to always be inlined", 36);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__6() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__5;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__5;
|
||||
x_2 = 0;
|
||||
x_3 = lean_box(x_2);
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -330,19 +330,19 @@ lean_ctor_set(x_4, 1, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__7() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__4;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__6;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__4;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__6;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__8() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -350,17 +350,17 @@ x_1 = lean_mk_string_from_bytes("inlineIfReduce", 14);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__9() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__8;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__8;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__10() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -368,11 +368,11 @@ x_1 = lean_mk_string_from_bytes("mark definition to be inlined when resultant te
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__11() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__10;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__10;
|
||||
x_2 = 3;
|
||||
x_3 = lean_box(x_2);
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -381,19 +381,19 @@ lean_ctor_set(x_4, 1, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__12() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__9;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__11;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__9;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__11;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__13() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -401,17 +401,17 @@ x_1 = lean_mk_string_from_bytes("noinline", 8);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__14() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__13;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__13;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__15() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -419,11 +419,11 @@ x_1 = lean_mk_string_from_bytes("mark definition to never be inlined", 35);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__16() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__15;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__15;
|
||||
x_2 = 1;
|
||||
x_3 = lean_box(x_2);
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -432,19 +432,19 @@ lean_ctor_set(x_4, 1, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__17() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__14;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__16;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__14;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__16;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__18() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -452,17 +452,17 @@ x_1 = lean_mk_string_from_bytes("macroInline", 11);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__19() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__18;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__18;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__20() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -470,11 +470,11 @@ x_1 = lean_mk_string_from_bytes("mark definition to always be inlined before ANF
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__21() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__20;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__20;
|
||||
x_2 = 2;
|
||||
x_3 = lean_box(x_2);
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -483,106 +483,106 @@ lean_ctor_set(x_4, 1, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__22() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__19;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__21;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__19;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__21;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__23() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__23() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__22;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__22;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__24() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__24() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__17;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__23;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__17;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__23;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__25() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__25() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__12;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__24;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__12;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__24;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__26() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__26() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__7;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__25;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__7;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__25;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__27() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__27() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____lambda__1___boxed), 5, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____lambda__1___boxed), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_2 = l_Lean_Compiler_instInhabitedInlineAttributeKind;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__2;
|
||||
x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__26;
|
||||
x_5 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__27;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__2;
|
||||
x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__26;
|
||||
x_5 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__27;
|
||||
x_6 = 0;
|
||||
x_7 = lean_box(x_2);
|
||||
x_8 = l_Lean_registerEnumAttributes___rarg(x_7, x_3, x_4, x_5, x_6, x_1);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____spec__1(x_1, x_2, x_3, x_4);
|
||||
x_5 = l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____spec__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_6; lean_object* x_7;
|
||||
x_6 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_7 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____lambda__1(x_1, x_6, x_3, x_4, x_5);
|
||||
x_7 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____lambda__1(x_1, x_6, x_3, x_4, x_5);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
|
|
@ -640,7 +640,7 @@ lean_inc(x_13);
|
|||
lean_dec(x_8);
|
||||
x_14 = lean_unbox(x_13);
|
||||
lean_dec(x_13);
|
||||
x_15 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_13_(x_2, x_14);
|
||||
x_15 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_15_(x_2, x_14);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
|
|
@ -781,61 +781,61 @@ l_Lean_Compiler_instBEqInlineAttributeKind___closed__1 = _init_l_Lean_Compiler_i
|
|||
lean_mark_persistent(l_Lean_Compiler_instBEqInlineAttributeKind___closed__1);
|
||||
l_Lean_Compiler_instBEqInlineAttributeKind = _init_l_Lean_Compiler_instBEqInlineAttributeKind();
|
||||
lean_mark_persistent(l_Lean_Compiler_instBEqInlineAttributeKind);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__1 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__1();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__1);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__2 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__2();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__2);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__3 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__3();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__3);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__4 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__4();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__4);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__5 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__5();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__5);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__6 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__6();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__6);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__7 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__7();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__7);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__8 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__8();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__8);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__9 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__9();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__9);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__10 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__10();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__10);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__11 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__11();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__11);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__12 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__12();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__12);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__13 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__13();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__13);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__14 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__14();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__14);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__15 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__15();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__15);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__16 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__16();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__16);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__17 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__17();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__17);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__18 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__18();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__18);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__19 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__19();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__19);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__20 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__20();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__20);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__21 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__21();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__21);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__22 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__22();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__22);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__23 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__23();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__23);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__24 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__24();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__24);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__25 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__25();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__25);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__26 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__26();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__26);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__27 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__27();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30____closed__27);
|
||||
if (builtin) {res = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_30_(lean_io_mk_world());
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__1 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__1();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__1);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__2 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__2();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__2);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__3 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__3();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__3);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__4 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__4();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__4);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__5 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__5();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__5);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__6 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__6();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__6);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__7 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__7();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__7);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__8 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__8();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__8);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__9 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__9();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__9);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__10 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__10();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__10);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__11 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__11();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__11);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__12 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__12();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__12);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__13 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__13();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__13);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__14 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__14();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__14);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__15 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__15();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__15);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__16 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__16();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__16);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__17 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__17();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__17);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__18 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__18();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__18);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__19 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__19();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__19);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__20 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__20();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__20);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__21 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__21();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__21);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__22 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__22();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__22);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__23 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__23();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__23);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__24 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__24();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__24);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__25 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__25();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__25);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__26 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__26();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__26);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__27 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__27();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32____closed__27);
|
||||
if (builtin) {res = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_32_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Compiler_inlineAttrs = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Compiler_inlineAttrs);
|
||||
|
|
|
|||
266
stage0/stdlib/Lean/Compiler/Specialize.c
generated
266
stage0/stdlib/Lean/Compiler/Specialize.c
generated
|
|
@ -13,7 +13,6 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__9;
|
||||
LEAN_EXPORT lean_object* lean_get_specialization_info(lean_object*, lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_Specialize_0__Lean_Compiler_hasSpecializeAttrAux___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -25,13 +24,16 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
|||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Compiler_getCachedSpecialization___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__3(lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__11;
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Compiler_getSpecializationInfo___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__3(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecState_specInfo___default;
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Compiler_getSpecializationInfo___spec__6___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Compiler_getSpecializationInfo___spec__2(lean_object*, lean_object*);
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__1;
|
||||
static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_SpecState_addEntry___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -41,15 +43,15 @@ LEAN_EXPORT uint8_t l___private_Lean_Compiler_Specialize_0__Lean_Compiler_hasSpe
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_SpecState_addEntry___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_specializeAttrs;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__8;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_15____boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_contains___at_Lean_Compiler_SpecState_addEntry___spec__7___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__2;
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_foldlM___at_Lean_Compiler_SpecState_addEntry___spec__10(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_replace___at_Lean_Compiler_SpecState_addEntry___spec__11(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_getCachedSpecialization___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecArgKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecializeAttributeKind_noConfusion(lean_object*);
|
||||
|
|
@ -61,32 +63,33 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_Compiler_SpecS
|
|||
LEAN_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_Compiler_SpecState_switch___spec__2(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_addSpecializationInfo___closed__1;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__12;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_13____boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg(lean_object*, lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Compiler_getCachedSpecialization___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecArgKind_toCtorIdx(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_Compiler_SpecState_addEntry___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__4;
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Compiler_SpecState_addEntry___spec__20(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_specExtension;
|
||||
LEAN_EXPORT lean_object* l_Std_HashMapImp_expand___at_Lean_Compiler_SpecState_addEntry___spec__19(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Compiler_getCachedSpecialization___spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__2;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__9;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__8;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__4;
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_instInhabitedSpecializeAttributeKind;
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_foldlM___at_Lean_Compiler_SpecState_addEntry___spec__21(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__2(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_SpecState_specInfo___default___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__2(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_instInhabitedSpecEntry;
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Name_isInternal(lean_object*);
|
||||
lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_replace___at_Lean_Compiler_SpecState_addEntry___spec__22(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__1(lean_object*, lean_object*);
|
||||
uint64_t l_Lean_Name_hash(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecializeAttributeKind_noConfusion___rarg___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecializeAttributeKind_toCtorIdx___boxed(lean_object*);
|
||||
|
|
@ -94,48 +97,45 @@ LEAN_EXPORT lean_object* l_Std_HashMap_insert___at_Lean_Compiler_SpecState_addEn
|
|||
uint64_t l_Lean_Expr_hash(lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_hasSpecializeAttribute___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__3;
|
||||
size_t lean_usize_shift_left(size_t, size_t);
|
||||
LEAN_EXPORT uint8_t lean_has_specialize_attribute(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__15;
|
||||
LEAN_EXPORT uint8_t l_Std_AssocList_contains___at_Lean_Compiler_SpecState_addEntry___spec__7(lean_object*, lean_object*);
|
||||
size_t lean_usize_modn(size_t, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_Compiler_SpecState_addEntry___spec__12(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__7;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecArgKind_toCtorIdx___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_instInhabitedSpecState___closed__4;
|
||||
static lean_object* l_Lean_Compiler_SpecState_cache___default___closed__1;
|
||||
LEAN_EXPORT lean_object* lean_add_specialization_info(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__2;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__6;
|
||||
size_t lean_usize_mul(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_Compiler_SpecState_addEntry___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_instInhabitedSpecEntry___closed__1;
|
||||
static lean_object* l_Lean_Compiler_instInhabitedSpecState___closed__1;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_SpecState_addEntry___spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_instInhabitedSpecState___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Compiler_getCachedSpecialization___spec__5(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__14;
|
||||
lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_land(size_t, size_t);
|
||||
static lean_object* l_Lean_Compiler_instInhabitedSpecInfo___closed__1;
|
||||
lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__11;
|
||||
LEAN_EXPORT lean_object* lean_cache_specialization(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_instInhabitedSpecArgKind;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecializeAttributeKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Compiler_getSpecializationInfo___spec__6(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_13_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__4;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_15_(uint8_t, uint8_t);
|
||||
uint8_t lean_expr_eqv(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32_(lean_object*);
|
||||
lean_object* lean_list_to_array(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_instInhabitedSpecState___closed__3;
|
||||
LEAN_EXPORT uint8_t lean_has_nospecialize_attribute(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__10;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_le(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_getSpecializationInfo___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -144,16 +144,17 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Compiler_ge
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Compiler_getSpecializationInfo___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_AssocList_contains___at_Lean_Compiler_SpecState_addEntry___spec__18(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_instInhabitedSpecInfo;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Compiler_SpecState_cache___default___spec__1___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____lambda__1(lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_getPrefix(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Compiler_getCachedSpecialization___spec__3(lean_object*, size_t, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Compiler_getSpecializationInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__13;
|
||||
LEAN_EXPORT lean_object* lean_get_cached_specialization(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Compiler_SpecState_specInfo___default___spec__1(lean_object*);
|
||||
static size_t l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___closed__1;
|
||||
|
|
@ -171,20 +172,19 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_L
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecState_switch(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecArgKind_noConfusion(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecState_addEntry(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__14(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Compiler_SpecState_cache___default___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Compiler_getSpecializationInfo___spec__5(lean_object*, lean_object*);
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Compiler_getSpecializationInfo___spec__3(lean_object*, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecializeAttributeKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__15;
|
||||
lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_instBEqSpecializeAttributeKind___closed__1;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_contains___at_Lean_Compiler_SpecState_addEntry___spec__18___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecializeAttributeKind_noConfusion___rarg___lambda__1___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__3;
|
||||
lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerEnumAttributes___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_instInhabitedSpecState;
|
||||
|
|
@ -278,7 +278,7 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_13_(uint8_t x_1, uint8_t x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_15_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -290,7 +290,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_13____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_15____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -298,7 +298,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_13_(x_3, x_4);
|
||||
x_5 = l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_15_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -307,7 +307,7 @@ static lean_object* _init_l_Lean_Compiler_instBEqSpecializeAttributeKind___close
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_13____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_15____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -319,7 +319,7 @@ x_1 = l_Lean_Compiler_instBEqSpecializeAttributeKind___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
|
|
@ -330,7 +330,7 @@ lean_ctor_set(x_7, 1, x_5);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__1() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -338,17 +338,17 @@ x_1 = lean_mk_string_from_bytes("specializeAttrs", 15);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__2() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__1;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__3() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -356,17 +356,17 @@ x_1 = lean_mk_string_from_bytes("specialize", 10);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__4() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__3;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__5() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -374,11 +374,11 @@ x_1 = lean_mk_string_from_bytes("mark definition to always be specialized", 40);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__6() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__5;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__5;
|
||||
x_2 = 0;
|
||||
x_3 = lean_box(x_2);
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -387,19 +387,19 @@ lean_ctor_set(x_4, 1, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__7() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__4;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__6;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__4;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__6;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__8() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -407,17 +407,17 @@ x_1 = lean_mk_string_from_bytes("nospecialize", 12);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__9() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__8;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__8;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__10() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -425,11 +425,11 @@ x_1 = lean_mk_string_from_bytes("mark definition to never be specialized", 39);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__11() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__10;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__10;
|
||||
x_2 = 1;
|
||||
x_3 = lean_box(x_2);
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -438,71 +438,71 @@ lean_ctor_set(x_4, 1, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__12() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__9;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__11;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__9;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__11;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__13() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__12;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__12;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__14() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__7;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__13;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__7;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__13;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__15() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____lambda__1___boxed), 5, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____lambda__1___boxed), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_2 = l_Lean_Compiler_instInhabitedSpecializeAttributeKind;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__2;
|
||||
x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__14;
|
||||
x_5 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__15;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__2;
|
||||
x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__14;
|
||||
x_5 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__15;
|
||||
x_6 = 2;
|
||||
x_7 = lean_box(x_2);
|
||||
x_8 = l_Lean_registerEnumAttributes___rarg(x_7, x_3, x_4, x_5, x_6, x_1);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_6; lean_object* x_7;
|
||||
x_6 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_7 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____lambda__1(x_1, x_6, x_3, x_4, x_5);
|
||||
x_7 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____lambda__1(x_1, x_6, x_3, x_4, x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
|
|
@ -558,7 +558,7 @@ lean_inc(x_12);
|
|||
lean_dec(x_7);
|
||||
x_13 = lean_unbox(x_12);
|
||||
lean_dec(x_12);
|
||||
x_14 = l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_13_(x_2, x_13);
|
||||
x_14 = l___private_Lean_Compiler_Specialize_0__Lean_Compiler_beqSpecializeAttributeKind____x40_Lean_Compiler_Specialize___hyg_15_(x_2, x_13);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
|
|
@ -3018,7 +3018,7 @@ return x_11;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
|
|
@ -3040,7 +3040,7 @@ return x_4;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
|
|
@ -3078,7 +3078,7 @@ size_t x_15; size_t x_16; lean_object* x_17;
|
|||
x_15 = 0;
|
||||
x_16 = lean_usize_of_nat(x_7);
|
||||
lean_dec(x_7);
|
||||
x_17 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__2(x_6, x_15, x_16, x_4);
|
||||
x_17 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__2(x_6, x_15, x_16, x_4);
|
||||
lean_dec(x_6);
|
||||
x_2 = x_11;
|
||||
x_4 = x_17;
|
||||
|
|
@ -3092,7 +3092,7 @@ return x_4;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -3121,24 +3121,24 @@ size_t x_7; size_t x_8; lean_object* x_9;
|
|||
x_7 = 0;
|
||||
x_8 = lean_usize_of_nat(x_3);
|
||||
lean_dec(x_3);
|
||||
x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__3(x_2, x_7, x_8, x_1);
|
||||
x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__3(x_2, x_7, x_8, x_1);
|
||||
lean_dec(x_2);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____lambda__1(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____lambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Compiler_instInhabitedSpecState___closed__4;
|
||||
x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__1(x_2, x_1);
|
||||
x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__1(x_2, x_1);
|
||||
x_4 = l_Lean_Compiler_SpecState_switch(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__1() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -3147,7 +3147,7 @@ lean_closure_set(x_1, 0, lean_box(0));
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__2() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -3155,22 +3155,22 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_SpecState_addEntry), 2, 0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__3() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____lambda__1), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____lambda__1), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__4() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__4;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__2;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__3;
|
||||
x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__1;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__4;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__2;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__3;
|
||||
x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__1;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
@ -3179,16 +3179,16 @@ lean_ctor_set(x_5, 3, x_4);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__4;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__4;
|
||||
x_3 = l_Lean_registerSimplePersistentEnvExtension___rarg(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__2___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;
|
||||
|
|
@ -3196,12 +3196,12 @@ x_5 = lean_unbox_usize(x_2);
|
|||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__2(x_1, x_5, x_6, x_4);
|
||||
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__2(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_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____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;
|
||||
|
|
@ -3209,7 +3209,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_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____spec__3(x_1, x_5, x_6, x_4);
|
||||
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____spec__3(x_1, x_5, x_6, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_7;
|
||||
}
|
||||
|
|
@ -3844,37 +3844,37 @@ l_Lean_Compiler_instBEqSpecializeAttributeKind___closed__1 = _init_l_Lean_Compil
|
|||
lean_mark_persistent(l_Lean_Compiler_instBEqSpecializeAttributeKind___closed__1);
|
||||
l_Lean_Compiler_instBEqSpecializeAttributeKind = _init_l_Lean_Compiler_instBEqSpecializeAttributeKind();
|
||||
lean_mark_persistent(l_Lean_Compiler_instBEqSpecializeAttributeKind);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__1 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__1();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__1);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__2 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__2();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__2);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__3 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__3();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__3);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__4 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__4();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__4);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__5 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__5();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__5);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__6 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__6();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__6);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__7 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__7();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__7);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__8 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__8();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__8);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__9 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__9();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__9);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__10 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__10();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__10);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__11 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__11();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__11);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__12 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__12();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__12);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__13 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__13();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__13);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__14 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__14();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__14);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__15 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__15();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30____closed__15);
|
||||
if (builtin) {res = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_30_(lean_io_mk_world());
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__1 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__1();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__1);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__2 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__2();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__2);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__3 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__3();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__3);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__4 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__4();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__4);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__5 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__5();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__5);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__6 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__6();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__6);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__7 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__7();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__7);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__8 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__8();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__8);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__9 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__9();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__9);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__10 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__10();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__10);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__11 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__11();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__11);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__12 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__12();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__12);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__13 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__13();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__13);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__14 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__14();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__14);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__15 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__15();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__15);
|
||||
if (builtin) {res = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Compiler_specializeAttrs = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Compiler_specializeAttrs);
|
||||
|
|
@ -3916,15 +3916,15 @@ l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__
|
|||
l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___closed__2 = _init_l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___closed__2();
|
||||
l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___closed__3 = _init_l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___closed__3();
|
||||
lean_mark_persistent(l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_SpecState_addEntry___spec__3___closed__3);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__1 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__1();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__1);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__2 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__2();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__2);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__3 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__3();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__3);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__4 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__4();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328____closed__4);
|
||||
if (builtin) {res = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_328_(lean_io_mk_world());
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__1 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__1();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__1);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__2 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__2();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__2);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__3 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__3();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__3);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__4 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__4();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__4);
|
||||
if (builtin) {res = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Compiler_specExtension = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Compiler_specExtension);
|
||||
|
|
|
|||
159
stage0/stdlib/Lean/CoreM.c
generated
159
stage0/stdlib/Lean/CoreM.c
generated
|
|
@ -22,7 +22,7 @@ static lean_object* l_Lean_Core_instMonadQuotationCoreM___closed__3;
|
|||
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLiftIOCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_Context_maxHeartbeats___default___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__3(lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
static lean_object* l_Lean_Core_instMonadEnvCoreM___closed__2;
|
||||
lean_object* lean_io_get_num_heartbeats(lean_object*);
|
||||
|
|
@ -192,7 +192,6 @@ size_t lean_usize_shift_left(size_t, size_t);
|
|||
static lean_object* l_Lean_Core_instMetaEvalCoreM___rarg___lambda__1___closed__1;
|
||||
static lean_object* l_Lean_Core_instMonadLogCoreM___closed__1;
|
||||
static lean_object* l_Lean_Core_instMetaEvalCoreM___rarg___lambda__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_hasErrors___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_printTraces___at_Lean_Core_instMetaEvalCoreM___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Core_instMonadLogCoreM___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Core_instantiateTypeLevelParams___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -216,7 +215,6 @@ LEAN_EXPORT lean_object* l_Lean_Core_instMonadCoreM___lambda__1(lean_object*, le
|
|||
LEAN_EXPORT lean_object* l_Lean_Core_instMetaEvalCoreM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadQuotationCoreM;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_hasErrors___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withCurrHeartbeats(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Core_instantiateTypeLevelParams___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -232,6 +230,7 @@ LEAN_EXPORT lean_object* l_Lean_Core_modifyInstLevelTypeCache___boxed(lean_objec
|
|||
LEAN_EXPORT lean_object* l_Lean_catchInternalIds___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_Context_initHeartbeats___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadResolveNameCoreM___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMetaEvalCoreM(lean_object*);
|
||||
static lean_object* l_Lean_Core_instMonadQuotationCoreM___closed__4;
|
||||
static lean_object* l_Lean_Core_initFn____x40_Lean_CoreM___hyg_7____closed__4;
|
||||
|
|
@ -262,7 +261,6 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
|||
uint8_t lean_usize_dec_le(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_State_ngen___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_hasErrors(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadRecDepthCoreM___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Core_instantiateTypeLevelParams___spec__6___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadCoreM;
|
||||
|
|
@ -289,6 +287,7 @@ static lean_object* l_Lean_Core_instMonadQuotationCoreM___closed__2;
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Core_instantiateTypeLevelParams___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_State_cache___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_catchInternalId___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Core_instMonadLogCoreM___closed__5;
|
||||
static lean_object* l_Lean_Core_instMonadNameGeneratorCoreM___closed__1;
|
||||
static lean_object* l_Lean_Core_CoreM_toIO___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadEnvCoreM___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -305,7 +304,7 @@ static lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessag
|
|||
LEAN_EXPORT lean_object* l_Lean_Core_instantiateTypeLevelParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Core_State_ngen___default___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instAddMessageContextCoreM;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadWithOptionsCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_CoreM_run_x27(lean_object*);
|
||||
static lean_object* l_Lean_Core_instInhabitedCoreM___rarg___closed__2;
|
||||
|
|
@ -330,11 +329,11 @@ LEAN_EXPORT lean_object* l_Lean_Core_instMonadCoreM___lambda__2(lean_object*, le
|
|||
static lean_object* l_Lean_Core_throwMaxHeartbeat___closed__3;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_initFn____x40_Lean_CoreM___hyg_7_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_hasErrors___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_List_elem___at_Lean_catchInternalIds___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Core_instMonadNameGeneratorCoreM___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_CoreM_toIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_liftIOCore___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_Context_maxHeartbeats___default(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_modifyInstLevelValueCache___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -6753,7 +6752,45 @@ lean_ctor_set(x_5, 1, x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
x_4 = lean_st_ref_get(x_2, x_3);
|
||||
x_5 = !lean_is_exclusive(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
x_7 = lean_ctor_get(x_6, 5);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_6);
|
||||
x_8 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_7);
|
||||
x_9 = lean_box(x_8);
|
||||
lean_ctor_set(x_4, 0, x_9);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_10 = lean_ctor_get(x_4, 0);
|
||||
x_11 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_4);
|
||||
x_12 = lean_ctor_get(x_10, 5);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_12);
|
||||
x_14 = lean_box(x_13);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_11);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
|
|
@ -6973,31 +7010,41 @@ static lean_object* _init_l_Lean_Core_instMonadLogCoreM___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Core_instMonadLogCoreM___lambda__3___boxed), 4, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Core_instMonadLogCoreM___lambda__3___boxed), 3, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Core_instMonadLogCoreM___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Core_instMonadLogCoreM___lambda__4___boxed), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Core_instMonadLogCoreM___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Core_instMonadLogCoreM___closed__1;
|
||||
x_2 = l_Lean_Core_instMonadRefCoreM___closed__1;
|
||||
x_3 = l_Lean_Core_instMonadLogCoreM___closed__2;
|
||||
x_4 = l_Lean_Core_instMonadLogCoreM___closed__3;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set(x_5, 3, x_4);
|
||||
return x_5;
|
||||
x_5 = l_Lean_Core_instMonadLogCoreM___closed__4;
|
||||
x_6 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_6, 0, x_1);
|
||||
lean_ctor_set(x_6, 1, x_2);
|
||||
lean_ctor_set(x_6, 2, x_3);
|
||||
lean_ctor_set(x_6, 3, x_4);
|
||||
lean_ctor_set(x_6, 4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Core_instMonadLogCoreM() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Core_instMonadLogCoreM___closed__4;
|
||||
x_1 = l_Lean_Core_instMonadLogCoreM___closed__5;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -7021,80 +7068,26 @@ lean_dec(x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Core_instMonadLogCoreM___lambda__3(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_Core_instMonadLogCoreM___lambda__3(x_1, x_2, x_3, x_4);
|
||||
x_5 = l_Lean_Core_instMonadLogCoreM___lambda__4(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_hasErrors___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
x_3 = lean_st_ref_get(x_1, x_2);
|
||||
x_4 = !lean_is_exclusive(x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
x_6 = lean_ctor_get(x_5, 5);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_5);
|
||||
x_7 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_6);
|
||||
x_8 = lean_box(x_7);
|
||||
lean_ctor_set(x_3, 0, x_8);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_9 = lean_ctor_get(x_3, 0);
|
||||
x_10 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_3);
|
||||
x_11 = lean_ctor_get(x_9, 5);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_9);
|
||||
x_12 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_11);
|
||||
x_13 = lean_box(x_12);
|
||||
x_14 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
lean_ctor_set(x_14, 1, x_10);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_hasErrors(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Core_hasErrors___rarg___boxed), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_hasErrors___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Core_hasErrors___rarg(x_1, x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_hasErrors___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Core_hasErrors(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_catchInternalId___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -7622,6 +7615,8 @@ l_Lean_Core_instMonadLogCoreM___closed__3 = _init_l_Lean_Core_instMonadLogCoreM_
|
|||
lean_mark_persistent(l_Lean_Core_instMonadLogCoreM___closed__3);
|
||||
l_Lean_Core_instMonadLogCoreM___closed__4 = _init_l_Lean_Core_instMonadLogCoreM___closed__4();
|
||||
lean_mark_persistent(l_Lean_Core_instMonadLogCoreM___closed__4);
|
||||
l_Lean_Core_instMonadLogCoreM___closed__5 = _init_l_Lean_Core_instMonadLogCoreM___closed__5();
|
||||
lean_mark_persistent(l_Lean_Core_instMonadLogCoreM___closed__5);
|
||||
l_Lean_Core_instMonadLogCoreM = _init_l_Lean_Core_instMonadLogCoreM();
|
||||
lean_mark_persistent(l_Lean_Core_instMonadLogCoreM);
|
||||
l_Lean_Exception_isMaxHeartbeat___closed__1 = _init_l_Lean_Exception_isMaxHeartbeat___closed__1();
|
||||
|
|
|
|||
62
stage0/stdlib/Lean/Data/JsonRpc.c
generated
62
stage0/stdlib/Lean/Data/JsonRpc.c
generated
|
|
@ -24,7 +24,6 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponseError(lean_object*);
|
|||
LEAN_EXPORT uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequestID____x40_Lean_Data_JsonRpc___hyg_34_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instOfNatRequestID(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeStringRequestID(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_954____rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___boxed(lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readMessage___closed__1;
|
||||
|
|
@ -75,7 +74,7 @@ static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__6;
|
|||
LEAN_EXPORT uint8_t l_Lean_JsonRpc_instDecidableLtRequestIDInstLTRequestID(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_ErrorCode_noConfusion___rarg___lambda__1(lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1106_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1108_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqRequestID;
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqErrorCode;
|
||||
lean_object* l_Lean_Json_compress(lean_object*);
|
||||
|
|
@ -86,7 +85,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedNotification___rarg(lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__7;
|
||||
static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__29;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_298_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_300_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponse___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_readResponseAs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__25;
|
||||
|
|
@ -97,6 +96,7 @@ static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__39;
|
|||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__35;
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonMessage___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_956____rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__7;
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___closed__5;
|
||||
static lean_object* l_Lean_JsonRpc_instInhabitedResponseError___closed__1;
|
||||
|
|
@ -129,7 +129,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instToJsonRequestID(lean_object*);
|
|||
static lean_object* l_IO_FS_Stream_readNotificationAs___closed__1;
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_readNotificationAs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_int_neg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_785_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_787_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeNotificationMessage(lean_object*);
|
||||
|
|
@ -148,6 +148,7 @@ static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__32;
|
|||
static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__10;
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_writeResponseError(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__20;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_787____rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeResponseMessage(lean_object*);
|
||||
|
|
@ -158,7 +159,6 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_ErrorCode_noConfusion___rarg(uint8_t, ui
|
|||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instDecidableLtRequestIDInstLTRequestID___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__40;
|
||||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_785____rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeRequestMessage(lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__6;
|
||||
|
|
@ -183,19 +183,19 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonErrorCode(lean_object*);
|
|||
static lean_object* l_IO_FS_Stream_readRequestAs___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeResponseErrorMessage___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqNotification(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1273_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1275_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedResponseError(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_954_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_956_(lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_298____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1273____rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instToJsonMessage___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instOrdRequestID;
|
||||
LEAN_EXPORT uint8_t l_Lean_JsonRpc_instInhabitedErrorCode;
|
||||
static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_ErrorCode_noConfusion(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_300____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instOrdRequestID___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1275____rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_writeRequest(lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instFromJsonRequestID___closed__1;
|
||||
lean_object* l_IO_FS_Stream_writeJson(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -227,11 +227,11 @@ static lean_object* l_Lean_JsonRpc_instBEqRequestID___closed__1;
|
|||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_812____rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_writeRequest___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1106____rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_RequestID_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instFromJsonRequestID___closed__2;
|
||||
uint8_t lean_string_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__9;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1108____rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequestID____x40_Lean_Data_JsonRpc___hyg_34____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedNotification(lean_object*);
|
||||
static lean_object* l_Lean_JsonRpc_instToStringRequestID___closed__2;
|
||||
|
|
@ -694,7 +694,7 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_298_(uint8_t x_1, uint8_t x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_300_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -706,7 +706,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_298____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_300____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -714,7 +714,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_298_(x_3, x_4);
|
||||
x_5 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_300_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -723,7 +723,7 @@ static lean_object* _init_l_Lean_JsonRpc_instBEqErrorCode___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_298____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_300____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1665,7 +1665,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_JsonRpc_instInhabitedRequest___rarg), 1,
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_785____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_787____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10;
|
||||
|
|
@ -1723,11 +1723,11 @@ return x_16;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_785_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_787_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_785____rarg), 3, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_787____rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
|
|
@ -1735,7 +1735,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqRequest___rarg(lean_object* x_1)
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_785____rarg), 3, 1);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_787____rarg), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -1814,7 +1814,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_JsonRpc_instInhabitedNotification___rarg
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_954____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_956____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
|
|
@ -1849,11 +1849,11 @@ return x_11;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_954_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_956_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_954____rarg), 3, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_956____rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
|
|
@ -1861,7 +1861,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqNotification___rarg(lean_object*
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_954____rarg), 3, 1);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_956____rarg), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -1936,7 +1936,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_JsonRpc_instInhabitedResponse___rarg), 1
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1106____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1108____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
|
|
@ -1971,11 +1971,11 @@ return x_11;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1106_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1108_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1106____rarg), 3, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1108____rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
|
|
@ -1983,7 +1983,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponse___rarg(lean_object* x_1)
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1106____rarg), 3, 1);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1108____rarg), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -2052,7 +2052,7 @@ x_2 = l_Lean_JsonRpc_instInhabitedResponseError___closed__1;
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1273____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1275____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12;
|
||||
|
|
@ -2090,7 +2090,7 @@ return x_14;
|
|||
else
|
||||
{
|
||||
uint8_t x_15;
|
||||
x_15 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_298_(x_5, x_9);
|
||||
x_15 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqErrorCode____x40_Lean_Data_JsonRpc___hyg_300_(x_5, x_9);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
uint8_t x_16; lean_object* x_17;
|
||||
|
|
@ -2129,11 +2129,11 @@ return x_21;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1273_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1275_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1273____rarg), 3, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1275____rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
|
|
@ -2141,7 +2141,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponseError___rarg(lean_object*
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1273____rarg), 3, 1);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1275____rarg), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Data/LBool.c
generated
12
stage0/stdlib/Lean/Data/LBool.c
generated
|
|
@ -17,7 +17,7 @@ LEAN_EXPORT lean_object* l_Lean_LBool_toCtorIdx___boxed(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_LBool_noConfusion___rarg___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LBool_toString(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_toLBoolM___rarg___lambda__1(lean_object*, uint8_t);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_LBool_instToStringLBool;
|
||||
static lean_object* l_Lean_LBool_noConfusion___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_LBool_toString___boxed(lean_object*);
|
||||
|
|
@ -39,8 +39,8 @@ LEAN_EXPORT lean_object* l_Lean_instBEqLBool;
|
|||
LEAN_EXPORT uint8_t l_Lean_LBool_neg(uint8_t);
|
||||
LEAN_EXPORT uint8_t l_Bool_toLBool(uint8_t);
|
||||
static lean_object* l_Lean_LBool_toString___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15____boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LBool_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_toLBoolM___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_LBool_instToStringLBool___closed__1;
|
||||
|
|
@ -139,7 +139,7 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(uint8_t x_1, uint8_t x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -151,7 +151,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -159,7 +159,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(x_3, x_4);
|
||||
x_5 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -168,7 +168,7 @@ static lean_object* _init_l_Lean_instBEqLBool___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
194
stage0/stdlib/Lean/Data/Lsp/Basic.c
generated
194
stage0/stdlib/Lean/Data/Lsp/Basic.c
generated
|
|
@ -22,6 +22,7 @@ static lean_object* l_Lean_Lsp_instToJsonMarkupKind___closed__2;
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_hashRange____x40_Lean_Data_Lsp_Basic___hyg_580____boxed(lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCancelParams;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2323_(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonTextDocumentEdit___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_MarkupKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
|
|
@ -54,12 +55,13 @@ LEAN_EXPORT uint64_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_hashRange____x4
|
|||
LEAN_EXPORT uint8_t l_Lean_Lsp_WorkDoneProgressReport_cancellable___default;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonTextEditBatch___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_509____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__2;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1019____closed__4;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_617____closed__2;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2095____closed__2;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1536____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2553____rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonPosition;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2551____rarg(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_81____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonVersionedTextDocumentIdentifier;
|
||||
static lean_object* l_Lean_Lsp_instBEqLocation___closed__1;
|
||||
|
|
@ -72,13 +74,12 @@ LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_ordRange____x40_
|
|||
LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqPosition____x40_Lean_Data_Lsp_Basic___hyg_177_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_DocumentFilter_language_x3f___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_WorkDoneProgressReport_message_x3f___default;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToStringTextDocumentPositionParams(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instBEqCancelParams___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRange;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentItem;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1640_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__6;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonPosition;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1569____spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getStr_x3f(lean_object*);
|
||||
|
|
@ -89,12 +90,11 @@ lean_object* lean_string_append(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_657____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonTextDocumentPositionParams___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1192____closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__2;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1192____closed__2;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__2;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1640____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1536____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToStringPosition___closed__2;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__1;
|
||||
static lean_object* l_Lean_Lsp_instToJsonTextDocumentIdentifier___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentPositionParams;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1934____closed__1;
|
||||
|
|
@ -102,8 +102,8 @@ lean_object* l_List_join___rarg(lean_object*);
|
|||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLocationLink;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1767_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2792____boxed(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonDocumentFilter___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2790____boxed(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_WorkDoneProgressBegin_kind___default___closed__1;
|
||||
static lean_object* l_Lean_Lsp_instToJsonWorkDoneProgressEnd___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_931_(lean_object*);
|
||||
|
|
@ -168,6 +168,7 @@ static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelPara
|
|||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonMarkupContent;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_ordPosition____x40_Lean_Data_Lsp_Basic___hyg_248____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2095____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2553____rarg___closed__1;
|
||||
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentPositionParams___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqLocation;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1974____boxed(lean_object*);
|
||||
|
|
@ -212,23 +213,22 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCan
|
|||
LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqLocation____x40_Lean_Data_Lsp_Basic___hyg_820_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instOrdPosition;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentItem;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2478____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2478____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instLTRange;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2551_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2553_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedCancelParams;
|
||||
static lean_object* l_Lean_Lsp_instToJsonStaticRegistrationOptions___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2125____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2476____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2476_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressBegin____x40_Lean_Data_Lsp_Basic___hyg_2710_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2478_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressBegin____x40_Lean_Data_Lsp_Basic___hyg_2712_(lean_object*);
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1074____spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1074____boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2551____rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1074____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1829____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqCancelParams;
|
||||
lean_object* l_Lean_JsonNumber_fromNat(lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2476____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonMarkupKind(uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1236____boxed(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instInhabitedCancelParams___closed__1;
|
||||
|
|
@ -263,11 +263,12 @@ LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__L
|
|||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2095____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_WorkDoneProgressEnd_message_x3f___default;
|
||||
static lean_object* l_Lean_Lsp_instInhabitedLocation___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2301____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonVersionedTextDocumentIdentifier___closed__1;
|
||||
static lean_object* l_Lean_Lsp_instFromJsonCancelParams___closed__1;
|
||||
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__3;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2095_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_81____closed__5;
|
||||
|
|
@ -276,43 +277,40 @@ static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocume
|
|||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1680____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonStaticRegistrationOptions;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1192_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__3;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__5;
|
||||
static lean_object* l_Lean_Lsp_instToStringPosition___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2301_(lean_object*);
|
||||
uint64_t lean_uint64_mix_hash(uint64_t, uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLocation;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2125_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1236____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2323____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_931____spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkDoneProgressEnd;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instOrdRange;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_hashPosition____x40_Lean_Data_Lsp_Basic___hyg_322____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextEditBatch(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_WorkDoneProgressBegin_kind___default;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1324_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonRange;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonMarkupKind___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2790_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2792_(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonMarkupKind___closed__1;
|
||||
static lean_object* l_Lean_Lsp_instOrdPosition___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_617_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCommand;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonProgressParams(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonLocation___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__4;
|
||||
static lean_object* l_Lean_Lsp_instFromJsonLocation___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1680____spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1480____boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1480_(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonMarkupKind___closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2476____boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentEdit;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1536_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextEdit;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2231_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instHashablePosition;
|
||||
|
|
@ -331,6 +329,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Ls
|
|||
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentRegistrationOptions___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedRange;
|
||||
static lean_object* l_Lean_Lsp_instToJsonTextDocumentRegistrationOptions___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2478____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_MarkupKind_toCtorIdx(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_399____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentIdentifier;
|
||||
|
|
@ -342,9 +341,10 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLocation;
|
|||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1569_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__1;
|
||||
static lean_object* l_Lean_Lsp_instInhabitedPosition___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1019____closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____boxed(lean_object*);
|
||||
static lean_object* _init_l_Lean_Lsp_instInhabitedCancelParams___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -5155,7 +5155,7 @@ x_3 = l_Lean_Lsp_instToJsonMarkupKind(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5163,7 +5163,7 @@ x_1 = lean_mk_string_from_bytes("value", 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5171,11 +5171,11 @@ x_1 = lean_mk_string_from_bytes("kind", 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__3() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__2;
|
||||
x_1 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__2;
|
||||
x_2 = l_Lean_Lsp_instToJsonMarkupKind___closed__1;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -5183,23 +5183,23 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__4() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__3;
|
||||
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__3;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__5() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__2;
|
||||
x_1 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__2;
|
||||
x_2 = l_Lean_Lsp_instToJsonMarkupKind___closed__2;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -5207,19 +5207,19 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__6() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__5;
|
||||
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__5;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
|
|
@ -5229,7 +5229,7 @@ x_4 = lean_ctor_get(x_1, 0);
|
|||
lean_inc(x_4);
|
||||
x_5 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__1;
|
||||
x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__1;
|
||||
x_7 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_5);
|
||||
|
|
@ -5242,7 +5242,7 @@ lean_ctor_set(x_9, 1, x_3);
|
|||
if (x_2 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__4;
|
||||
x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__4;
|
||||
x_11 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
lean_ctor_set(x_11, 1, x_9);
|
||||
|
|
@ -5253,7 +5253,7 @@ return x_13;
|
|||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__6;
|
||||
x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__6;
|
||||
x_15 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_9);
|
||||
|
|
@ -5263,11 +5263,11 @@ return x_17;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438_(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -5276,7 +5276,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonMarkupContent___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -5288,7 +5288,7 @@ x_1 = l_Lean_Lsp_instToJsonMarkupContent___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2476____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2478____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
|
|
@ -5337,12 +5337,12 @@ return x_12;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2476_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2478_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__2;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2476____spec__1(x_1, x_2);
|
||||
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__2;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2478____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -5368,7 +5368,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
|||
x_7 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_3);
|
||||
x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__1;
|
||||
x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__1;
|
||||
x_9 = l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(x_1, x_8);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
|
|
@ -5425,21 +5425,21 @@ return x_20;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2476____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2478____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2476____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2478____spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2476____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2478____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2476_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2478_(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -5448,7 +5448,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonMarkupContent___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2476____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2478____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -5460,7 +5460,7 @@ x_1 = l_Lean_Lsp_instFromJsonMarkupContent___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2551____rarg___closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2553____rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5468,7 +5468,7 @@ x_1 = lean_mk_string_from_bytes("token", 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2551____rarg(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2553____rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
|
|
@ -5479,7 +5479,7 @@ lean_inc(x_4);
|
|||
lean_dec(x_2);
|
||||
x_5 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_5, 0, x_3);
|
||||
x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2551____rarg___closed__1;
|
||||
x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2553____rarg___closed__1;
|
||||
x_7 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_5);
|
||||
|
|
@ -5488,7 +5488,7 @@ x_9 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_9, 0, x_7);
|
||||
lean_ctor_set(x_9, 1, x_8);
|
||||
x_10 = lean_apply_1(x_1, x_4);
|
||||
x_11 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__1;
|
||||
x_11 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__1;
|
||||
x_12 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
lean_ctor_set(x_12, 1, x_10);
|
||||
|
|
@ -5506,11 +5506,11 @@ x_17 = l_Lean_Json_mkObj(x_16);
|
|||
return x_17;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2551_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2553_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2551____rarg), 2, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2553____rarg), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
|
|
@ -5518,7 +5518,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonProgressParams___rarg(lean_object*
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2551____rarg), 2, 1);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2553____rarg), 2, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -5571,7 +5571,7 @@ x_1 = lean_box(0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5579,7 +5579,7 @@ x_1 = lean_mk_string_from_bytes("message", 7);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5587,7 +5587,7 @@ x_1 = lean_mk_string_from_bytes("cancellable", 11);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__3() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5595,7 +5595,7 @@ x_1 = lean_mk_string_from_bytes("percentage", 10);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
|
|
@ -5609,7 +5609,7 @@ lean_inc(x_5);
|
|||
lean_dec(x_1);
|
||||
x_6 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_6, 0, x_2);
|
||||
x_7 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__2;
|
||||
x_7 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__2;
|
||||
x_8 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_7);
|
||||
lean_ctor_set(x_8, 1, x_6);
|
||||
|
|
@ -5617,19 +5617,19 @@ x_9 = lean_box(0);
|
|||
x_10 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_8);
|
||||
lean_ctor_set(x_10, 1, x_9);
|
||||
x_11 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__1;
|
||||
x_11 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__1;
|
||||
x_12 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2095____spec__1(x_11, x_3);
|
||||
lean_dec(x_3);
|
||||
x_13 = lean_alloc_ctor(1, 0, 1);
|
||||
lean_ctor_set_uint8(x_13, 0, x_4);
|
||||
x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__2;
|
||||
x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__2;
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_13);
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_9);
|
||||
x_17 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__3;
|
||||
x_17 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__3;
|
||||
x_18 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1536____spec__1(x_17, x_5);
|
||||
x_19 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
|
|
@ -5652,7 +5652,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonWorkDoneProgressReport___closed__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -5680,7 +5680,7 @@ x_1 = l_Lean_Lsp_WorkDoneProgressBegin_kind___default___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressBegin____x40_Lean_Data_Lsp_Basic___hyg_2710_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressBegin____x40_Lean_Data_Lsp_Basic___hyg_2712_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
|
|
@ -5696,7 +5696,7 @@ lean_inc(x_6);
|
|||
lean_dec(x_2);
|
||||
x_7 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_7, 0, x_3);
|
||||
x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__2;
|
||||
x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__2;
|
||||
x_9 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_9, 0, x_8);
|
||||
lean_ctor_set(x_9, 1, x_7);
|
||||
|
|
@ -5704,19 +5704,19 @@ x_10 = lean_box(0);
|
|||
x_11 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_9);
|
||||
lean_ctor_set(x_11, 1, x_10);
|
||||
x_12 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__1;
|
||||
x_12 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__1;
|
||||
x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2095____spec__1(x_12, x_4);
|
||||
lean_dec(x_4);
|
||||
x_14 = lean_alloc_ctor(1, 0, 1);
|
||||
lean_ctor_set_uint8(x_14, 0, x_5);
|
||||
x_15 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__2;
|
||||
x_15 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__2;
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
x_17 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
lean_ctor_set(x_17, 1, x_10);
|
||||
x_18 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__3;
|
||||
x_18 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__3;
|
||||
x_19 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1536____spec__1(x_18, x_6);
|
||||
x_20 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_20);
|
||||
|
|
@ -5754,7 +5754,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonWorkDoneProgressBegin___closed__1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressBegin____x40_Lean_Data_Lsp_Basic___hyg_2710_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressBegin____x40_Lean_Data_Lsp_Basic___hyg_2712_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -5782,7 +5782,7 @@ x_1 = lean_box(0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2790_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2792_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
|
|
@ -5791,7 +5791,7 @@ x_3 = lean_ctor_get(x_1, 1);
|
|||
lean_inc(x_2);
|
||||
x_4 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_4, 0, x_2);
|
||||
x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__2;
|
||||
x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__2;
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
lean_ctor_set(x_6, 1, x_4);
|
||||
|
|
@ -5799,7 +5799,7 @@ x_7 = lean_box(0);
|
|||
x_8 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_6);
|
||||
lean_ctor_set(x_8, 1, x_7);
|
||||
x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__1;
|
||||
x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__1;
|
||||
x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2095____spec__1(x_9, x_3);
|
||||
x_11 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
|
|
@ -5812,11 +5812,11 @@ x_14 = l_Lean_Json_mkObj(x_13);
|
|||
return x_14;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2790____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2792____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2790_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2792_(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -5825,7 +5825,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonWorkDoneProgressEnd___closed__1()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2790____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2792____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -6138,18 +6138,18 @@ l_Lean_Lsp_instToJsonMarkupKind___closed__1 = _init_l_Lean_Lsp_instToJsonMarkupK
|
|||
lean_mark_persistent(l_Lean_Lsp_instToJsonMarkupKind___closed__1);
|
||||
l_Lean_Lsp_instToJsonMarkupKind___closed__2 = _init_l_Lean_Lsp_instToJsonMarkupKind___closed__2();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonMarkupKind___closed__2);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__1);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__2);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__3 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__3);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__4 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__4);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__5 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__5);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__6 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2436____closed__6);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__1);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__2);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__3 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__3);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__4 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__4);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__5 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__5);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__6 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2438____closed__6);
|
||||
l_Lean_Lsp_instToJsonMarkupContent___closed__1 = _init_l_Lean_Lsp_instToJsonMarkupContent___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonMarkupContent___closed__1);
|
||||
l_Lean_Lsp_instToJsonMarkupContent = _init_l_Lean_Lsp_instToJsonMarkupContent();
|
||||
|
|
@ -6158,8 +6158,8 @@ l_Lean_Lsp_instFromJsonMarkupContent___closed__1 = _init_l_Lean_Lsp_instFromJson
|
|||
lean_mark_persistent(l_Lean_Lsp_instFromJsonMarkupContent___closed__1);
|
||||
l_Lean_Lsp_instFromJsonMarkupContent = _init_l_Lean_Lsp_instFromJsonMarkupContent();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFromJsonMarkupContent);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2551____rarg___closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2551____rarg___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2551____rarg___closed__1);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2553____rarg___closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2553____rarg___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2553____rarg___closed__1);
|
||||
l_Lean_Lsp_WorkDoneProgressReport_kind___default___closed__1 = _init_l_Lean_Lsp_WorkDoneProgressReport_kind___default___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_WorkDoneProgressReport_kind___default___closed__1);
|
||||
l_Lean_Lsp_WorkDoneProgressReport_kind___default = _init_l_Lean_Lsp_WorkDoneProgressReport_kind___default();
|
||||
|
|
@ -6169,12 +6169,12 @@ lean_mark_persistent(l_Lean_Lsp_WorkDoneProgressReport_message_x3f___default);
|
|||
l_Lean_Lsp_WorkDoneProgressReport_cancellable___default = _init_l_Lean_Lsp_WorkDoneProgressReport_cancellable___default();
|
||||
l_Lean_Lsp_WorkDoneProgressReport_percentage_x3f___default = _init_l_Lean_Lsp_WorkDoneProgressReport_percentage_x3f___default();
|
||||
lean_mark_persistent(l_Lean_Lsp_WorkDoneProgressReport_percentage_x3f___default);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__1);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__2);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__3 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2642____closed__3);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__1);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__2);
|
||||
l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__3 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2644____closed__3);
|
||||
l_Lean_Lsp_instToJsonWorkDoneProgressReport___closed__1 = _init_l_Lean_Lsp_instToJsonWorkDoneProgressReport___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonWorkDoneProgressReport___closed__1);
|
||||
l_Lean_Lsp_instToJsonWorkDoneProgressReport = _init_l_Lean_Lsp_instToJsonWorkDoneProgressReport();
|
||||
|
|
|
|||
16
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
16
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
|
|
@ -44,7 +44,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_from
|
|||
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_705____spec__3___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerCapabilities;
|
||||
static lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__1;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3405_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3415_(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_workspaceSymbolProvider___default;
|
||||
LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_hoverProvider___default;
|
||||
lean_object* l_List_join___rarg(lean_object*);
|
||||
|
|
@ -57,11 +57,11 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities;
|
|||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_304____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_576____closed__6;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_112_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3336_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3346_(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;
|
||||
lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_684_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_686_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_384____spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_410____boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_159____closed__1;
|
||||
|
|
@ -126,7 +126,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJs
|
|||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_159____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_576____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_181____spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_750_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_752_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____boxed(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities___closed__1;
|
||||
|
|
@ -1721,7 +1721,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_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_684_(x_4);
|
||||
x_5 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_686_(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);
|
||||
|
|
@ -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_3405_(x_4);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3415_(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);
|
||||
|
|
@ -2064,7 +2064,7 @@ return x_4;
|
|||
else
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_750_(x_3);
|
||||
x_5 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_752_(x_3);
|
||||
lean_dec(x_3);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
|
|
@ -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_3336_(x_3);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3346_(x_3);
|
||||
lean_dec(x_3);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
|
|
|
|||
798
stage0/stdlib/Lean/Data/Lsp/Diagnostics.c
generated
798
stage0/stdlib/Lean/Data/Lsp/Diagnostics.c
generated
File diff suppressed because it is too large
Load diff
962
stage0/stdlib/Lean/Data/Lsp/Extra.c
generated
962
stage0/stdlib/Lean/Data/Lsp/Extra.c
generated
File diff suppressed because it is too large
Load diff
356
stage0/stdlib/Lean/Data/Lsp/InitShutdown.c
generated
356
stage0/stdlib/Lean/Data/Lsp/InitShutdown.c
generated
|
|
@ -15,24 +15,22 @@ extern "C" {
|
|||
#endif
|
||||
static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__1;
|
||||
static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699_(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__13;
|
||||
static lean_object* l_Lean_Lsp_instToJsonInitializeResult___closed__1;
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTrace___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonClientInfo;
|
||||
static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonInitializeParams(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__5___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonInitializationOptions___closed__1;
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_InitializeResult_serverInfo_x3f___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__13;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_556____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_589_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_560____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_593_(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_Trace_hasToJson___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_InitializedParams_noConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_InitializeParams_processId_x3f___default;
|
||||
|
|
@ -41,12 +39,12 @@ static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__6;
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonInitializeParams___spec__7(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonServerInfo;
|
||||
lean_object* l_Lean_Json_getStr_x3f(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__3;
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonInitializedParams___boxed(lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_hasToJson___boxed(lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__12;
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_hasToJson(uint8_t);
|
||||
lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1536____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_noConfusion___rarg___lambda__1___boxed(lean_object*);
|
||||
|
|
@ -58,54 +56,54 @@ static lean_object* l_Lean_Lsp_instFromJsonServerInfo___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonInitializeParams;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonInitializedParams___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__2___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonInitializationOptions;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_InitializedParams_noConfusion___rarg___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonInitializedParams___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_InitializeParams_clientInfo_x3f___default;
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__2___closed__1;
|
||||
static lean_object* l_Lean_Lsp_instToJsonServerInfo___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_60____boxed(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonWorkspaceFolder____x40_Lean_Data_Lsp_Workspace___hyg_24_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_noConfusion___rarg___lambda__1(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Lsp_InitializeParams_trace___default;
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__6___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__4___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_Trace_hasToJson___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_InitializedParams_noConfusion(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_toCtorIdx(uint8_t);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__10;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2125____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getInt_x3f(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1569____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__1;
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__6___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_60_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__5(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__5(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2095____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_246____boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_27_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_ServerInfo_version_x3f___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_248____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__5___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__4(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonInitializedParams(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonInitializationOptions;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonInitializeResult;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_705_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_556_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_246_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_560_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_248_(lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__5(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonClientInfo___closed__1;
|
||||
|
|
@ -113,58 +111,60 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_noConfusion___rarg___boxed(lean_object
|
|||
LEAN_EXPORT lean_object* l_Lean_Lsp_InitializedParams_toCtorIdx___boxed(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_384_(lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__3___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonInitializeResult;
|
||||
static lean_object* l_Lean_Lsp_Trace_noConfusion___rarg___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__6;
|
||||
lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonClientInfo;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTrace(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__5;
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_27____closed__2;
|
||||
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_27____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_27____boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__4;
|
||||
static lean_object* l_Lean_Lsp_instFromJsonInitializeResult___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__2___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonInitializeParams___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerInfo;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_589____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_InitializedParams_noConfusion___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_593____boxed(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_576_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_InitializeParams_rootUri_x3f___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_InitializeParams_initializationOptions_x3f___default;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonInitializeParams___spec__7___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonWorkspaceFolder____x40_Lean_Data_Lsp_Workspace___hyg_64_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__5;
|
||||
lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_410_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__9;
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__7;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__8;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__2___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__2;
|
||||
static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__8;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonInitializationOptions___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_InitializeParams_workspaceFolders_x3f___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_ClientInfo_version_x3f___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_toCtorIdx___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__3(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__5___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonClientInfo___closed__1;
|
||||
static lean_object* l_Lean_Lsp_Trace_hasToJson___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_InitializedParams_toCtorIdx(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__1(lean_object*, lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__9;
|
||||
static lean_object* _init_l_Lean_Lsp_ClientInfo_version_x3f___default() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -651,7 +651,7 @@ x_3 = l_Lean_Lsp_Trace_hasToJson(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -659,7 +659,7 @@ x_1 = lean_mk_string_from_bytes("editDelay", 9);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -667,18 +667,18 @@ x_1 = lean_mk_string_from_bytes("hasWidgets", 10);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__1;
|
||||
x_3 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__1;
|
||||
x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1536____spec__1(x_3, x_2);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_1);
|
||||
x_6 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__2;
|
||||
x_6 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__2;
|
||||
x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____spec__1(x_6, x_5);
|
||||
lean_dec(x_5);
|
||||
x_8 = lean_box(0);
|
||||
|
|
@ -697,7 +697,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonInitializationOptions___closed__1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -709,11 +709,11 @@ x_1 = l_Lean_Lsp_instToJsonInitializationOptions___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_246_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_248_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__1;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1569____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
|
|
@ -740,7 +740,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
|||
x_7 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_3);
|
||||
x_8 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__2;
|
||||
x_8 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__2;
|
||||
x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1(x_1, x_8);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
|
|
@ -793,11 +793,11 @@ return x_18;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_246____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_248____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_246_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_248_(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -806,7 +806,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonInitializationOptions___closed_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_246____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_248____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -866,7 +866,7 @@ x_1 = lean_box(0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
|
|
@ -898,7 +898,7 @@ return x_10;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__2(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__2(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
|
|
@ -924,7 +924,7 @@ return x_8;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__3(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__3(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
|
|
@ -940,7 +940,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_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220_(x_4);
|
||||
x_5 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222_(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);
|
||||
|
|
@ -952,7 +952,7 @@ return x_8;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__5(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__5(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -978,7 +978,7 @@ goto _start;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__4(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__4(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
|
|
@ -998,7 +998,7 @@ x_5 = lean_array_get_size(x_4);
|
|||
x_6 = lean_usize_of_nat(x_5);
|
||||
lean_dec(x_5);
|
||||
x_7 = 0;
|
||||
x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__5(x_6, x_7, x_4);
|
||||
x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__5(x_6, x_7, x_4);
|
||||
x_9 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_9, 0, x_8);
|
||||
x_10 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -1012,7 +1012,7 @@ return x_12;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1020,7 +1020,7 @@ x_1 = lean_mk_string_from_bytes("processId", 9);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1028,7 +1028,7 @@ x_1 = lean_mk_string_from_bytes("clientInfo", 10);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__3() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1036,7 +1036,7 @@ x_1 = lean_mk_string_from_bytes("rootUri", 7);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__4() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1044,7 +1044,7 @@ x_1 = lean_mk_string_from_bytes("initializationOptions", 21);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__5() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1052,7 +1052,7 @@ x_1 = lean_mk_string_from_bytes("capabilities", 12);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__6() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1060,7 +1060,7 @@ x_1 = lean_mk_string_from_bytes("workspaceFolders", 16);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__7() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1068,11 +1068,11 @@ x_1 = lean_mk_string_from_bytes("trace", 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__8() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__7;
|
||||
x_1 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__7;
|
||||
x_2 = l_Lean_Lsp_Trace_hasToJson___closed__1;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -1080,23 +1080,23 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__9() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__8;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__8;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__10() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__7;
|
||||
x_1 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__7;
|
||||
x_2 = l_Lean_Lsp_Trace_hasToJson___closed__2;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -1104,23 +1104,23 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__11() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__10;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__10;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__12() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__7;
|
||||
x_1 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__7;
|
||||
x_2 = l_Lean_Lsp_Trace_hasToJson___closed__3;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -1128,45 +1128,45 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__13() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__12;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__12;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__1;
|
||||
x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__1(x_3, x_2);
|
||||
x_3 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__1;
|
||||
x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__1(x_3, x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_5);
|
||||
x_6 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__2;
|
||||
x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__2(x_6, x_5);
|
||||
x_6 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__2;
|
||||
x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__2(x_6, x_5);
|
||||
lean_dec(x_5);
|
||||
x_8 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_8);
|
||||
x_9 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__3;
|
||||
x_9 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__3;
|
||||
x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2095____spec__1(x_9, x_8);
|
||||
lean_dec(x_8);
|
||||
x_11 = lean_ctor_get(x_1, 3);
|
||||
lean_inc(x_11);
|
||||
x_12 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__4;
|
||||
x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__3(x_12, x_11);
|
||||
x_12 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__4;
|
||||
x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__3(x_12, x_11);
|
||||
x_14 = lean_ctor_get(x_1, 4);
|
||||
lean_inc(x_14);
|
||||
x_15 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_384_(x_14);
|
||||
x_16 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__5;
|
||||
x_16 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__5;
|
||||
x_17 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
lean_ctor_set(x_17, 1, x_15);
|
||||
|
|
@ -1178,8 +1178,8 @@ x_20 = lean_ctor_get_uint8(x_1, sizeof(void*)*6);
|
|||
x_21 = lean_ctor_get(x_1, 5);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_1);
|
||||
x_22 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__6;
|
||||
x_23 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__4(x_22, x_21);
|
||||
x_22 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__6;
|
||||
x_23 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__4(x_22, x_21);
|
||||
x_24 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_24, 1, x_18);
|
||||
|
|
@ -1187,7 +1187,7 @@ switch (x_20) {
|
|||
case 0:
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_25 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__9;
|
||||
x_25 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__9;
|
||||
x_26 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_25);
|
||||
lean_ctor_set(x_26, 1, x_24);
|
||||
|
|
@ -1213,7 +1213,7 @@ return x_33;
|
|||
case 1:
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42;
|
||||
x_34 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__11;
|
||||
x_34 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__11;
|
||||
x_35 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
lean_ctor_set(x_35, 1, x_24);
|
||||
|
|
@ -1239,7 +1239,7 @@ return x_42;
|
|||
default:
|
||||
{
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51;
|
||||
x_43 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__13;
|
||||
x_43 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__13;
|
||||
x_44 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_43);
|
||||
lean_ctor_set(x_44, 1, x_24);
|
||||
|
|
@ -1265,25 +1265,25 @@ return x_51;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__2___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__2___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__2(x_1, x_2);
|
||||
x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__2(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; size_t x_5; lean_object* x_6;
|
||||
|
|
@ -1291,7 +1291,7 @@ x_4 = lean_unbox_usize(x_1);
|
|||
lean_dec(x_1);
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____spec__5(x_4, x_5, x_3);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____spec__5(x_4, x_5, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
|
|
@ -1299,7 +1299,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonInitializeParams___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1336,7 +1336,7 @@ _start:
|
|||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
|
||||
x_4 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_246_(x_3);
|
||||
x_4 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_248_(x_3);
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -1527,15 +1527,15 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonInitializeParams(lean_object* x_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__1;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__1(x_1, x_2);
|
||||
x_4 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__2;
|
||||
x_4 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__2;
|
||||
x_5 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__2(x_1, x_4);
|
||||
x_6 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__3;
|
||||
x_6 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__3;
|
||||
x_7 = l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(x_1, x_6);
|
||||
x_8 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__4;
|
||||
x_8 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__4;
|
||||
x_9 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__3(x_1, x_8);
|
||||
x_10 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__5;
|
||||
x_10 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__5;
|
||||
x_11 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__4(x_1, x_10);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
|
|
@ -1567,9 +1567,9 @@ lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean
|
|||
x_15 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_11);
|
||||
x_16 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__7;
|
||||
x_16 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__7;
|
||||
x_17 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__5(x_1, x_16);
|
||||
x_18 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__6;
|
||||
x_18 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__6;
|
||||
x_19 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__6(x_1, x_18);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
|
|
@ -2544,7 +2544,7 @@ x_1 = lean_box(0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_556_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_560_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
|
|
@ -2574,11 +2574,11 @@ x_14 = l_Lean_Json_mkObj(x_13);
|
|||
return x_14;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_556____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_560____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_556_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_560_(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -2587,7 +2587,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonServerInfo___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_556____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_560____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -2599,7 +2599,7 @@ x_1 = l_Lean_Lsp_instToJsonServerInfo___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_589_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_593_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -2683,11 +2683,11 @@ return x_18;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_589____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_593____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_589_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_593_(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -2696,7 +2696,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonServerInfo___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_589____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_593____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -2716,7 +2716,7 @@ x_1 = lean_box(0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
|
|
@ -2730,7 +2730,7 @@ else
|
|||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_556_(x_4);
|
||||
x_5 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_560_(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);
|
||||
|
|
@ -2742,7 +2742,7 @@ return x_8;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2750,14 +2750,14 @@ x_1 = lean_mk_string_from_bytes("serverInfo", 10);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_576_(x_2);
|
||||
x_4 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__5;
|
||||
x_4 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__5;
|
||||
x_5 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
|
|
@ -2768,8 +2768,8 @@ lean_ctor_set(x_7, 1, x_6);
|
|||
x_8 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_1);
|
||||
x_9 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____closed__1;
|
||||
x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____spec__1(x_9, x_8);
|
||||
x_9 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____closed__1;
|
||||
x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____spec__1(x_9, x_8);
|
||||
lean_dec(x_8);
|
||||
x_11 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
|
|
@ -2782,11 +2782,11 @@ x_14 = l_Lean_Json_mkObj(x_13);
|
|||
return x_14;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -2795,7 +2795,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonInitializeResult___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -2807,7 +2807,7 @@ x_1 = l_Lean_Lsp_instToJsonInitializeResult___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
|
|
@ -2817,7 +2817,7 @@ lean_dec(x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__2___closed__1() {
|
||||
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -2827,7 +2827,7 @@ lean_ctor_set(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__2(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__2(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
|
|
@ -2835,13 +2835,13 @@ x_3 = l_Lean_Json_getObjValD(x_1, x_2);
|
|||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__2___closed__1;
|
||||
x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__2___closed__1;
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_589_(x_3);
|
||||
x_5 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_593_(x_3);
|
||||
lean_dec(x_3);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
|
|
@ -2891,12 +2891,12 @@ return x_14;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__5;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__1(x_1, x_2);
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__5;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -2922,8 +2922,8 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
|||
x_7 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_3);
|
||||
x_8 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____closed__1;
|
||||
x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__2(x_1, x_8);
|
||||
x_8 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____closed__1;
|
||||
x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__2(x_1, x_8);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
uint8_t x_10;
|
||||
|
|
@ -2975,31 +2975,31 @@ return x_18;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__2___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__2___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__2(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__2(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699_(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -3008,7 +3008,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonInitializeResult___closed__1()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -3079,10 +3079,10 @@ l_Lean_Lsp_Trace_hasToJson___closed__2 = _init_l_Lean_Lsp_Trace_hasToJson___clos
|
|||
lean_mark_persistent(l_Lean_Lsp_Trace_hasToJson___closed__2);
|
||||
l_Lean_Lsp_Trace_hasToJson___closed__3 = _init_l_Lean_Lsp_Trace_hasToJson___closed__3();
|
||||
lean_mark_persistent(l_Lean_Lsp_Trace_hasToJson___closed__3);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__1 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__1);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__2 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_220____closed__2);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__1 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__1);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__2 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_222____closed__2);
|
||||
l_Lean_Lsp_instToJsonInitializationOptions___closed__1 = _init_l_Lean_Lsp_instToJsonInitializationOptions___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonInitializationOptions___closed__1);
|
||||
l_Lean_Lsp_instToJsonInitializationOptions = _init_l_Lean_Lsp_instToJsonInitializationOptions();
|
||||
|
|
@ -3102,32 +3102,32 @@ lean_mark_persistent(l_Lean_Lsp_InitializeParams_initializationOptions_x3f___def
|
|||
l_Lean_Lsp_InitializeParams_trace___default = _init_l_Lean_Lsp_InitializeParams_trace___default();
|
||||
l_Lean_Lsp_InitializeParams_workspaceFolders_x3f___default = _init_l_Lean_Lsp_InitializeParams_workspaceFolders_x3f___default();
|
||||
lean_mark_persistent(l_Lean_Lsp_InitializeParams_workspaceFolders_x3f___default);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__1 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__1);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__2 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__2);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__3 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__3);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__4 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__4);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__5 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__5);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__6 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__6);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__7 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__7();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__7);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__8 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__8();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__8);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__9 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__9();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__9);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__10 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__10();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__10);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__11 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__11();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__11);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__12 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__12();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__12);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__13 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__13();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_371____closed__13);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__1 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__1);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__2 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__2);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__3 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__3);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__4 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__4);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__5 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__5);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__6 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__6);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__7 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__7();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__7);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__8 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__8();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__8);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__9 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__9();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__9);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__10 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__10();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__10);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__11 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__11();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__11);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__12 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__12();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__12);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__13 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__13();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_373____closed__13);
|
||||
l_Lean_Lsp_instToJsonInitializeParams___closed__1 = _init_l_Lean_Lsp_instToJsonInitializeParams___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonInitializeParams___closed__1);
|
||||
l_Lean_Lsp_instToJsonInitializeParams = _init_l_Lean_Lsp_instToJsonInitializeParams();
|
||||
|
|
@ -3150,14 +3150,14 @@ l_Lean_Lsp_instFromJsonServerInfo = _init_l_Lean_Lsp_instFromJsonServerInfo();
|
|||
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerInfo);
|
||||
l_Lean_Lsp_InitializeResult_serverInfo_x3f___default = _init_l_Lean_Lsp_InitializeResult_serverInfo_x3f___default();
|
||||
lean_mark_persistent(l_Lean_Lsp_InitializeResult_serverInfo_x3f___default);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____closed__1 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_662____closed__1);
|
||||
l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____closed__1 = _init_l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_666____closed__1);
|
||||
l_Lean_Lsp_instToJsonInitializeResult___closed__1 = _init_l_Lean_Lsp_instToJsonInitializeResult___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonInitializeResult___closed__1);
|
||||
l_Lean_Lsp_instToJsonInitializeResult = _init_l_Lean_Lsp_instToJsonInitializeResult();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonInitializeResult);
|
||||
l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__2___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__2___closed__1();
|
||||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_695____spec__2___closed__1);
|
||||
l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__2___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__2___closed__1();
|
||||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_699____spec__2___closed__1);
|
||||
l_Lean_Lsp_instFromJsonInitializeResult___closed__1 = _init_l_Lean_Lsp_instFromJsonInitializeResult___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFromJsonInitializeResult___closed__1);
|
||||
l_Lean_Lsp_instFromJsonInitializeResult = _init_l_Lean_Lsp_instFromJsonInitializeResult();
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Data/Lsp/Internal.c
generated
4
stage0/stdlib/Lean/Data/Lsp/Internal.c
generated
|
|
@ -21,7 +21,7 @@ lean_object* l___private_Std_Data_HashMap_0__Std_numBucketsForCapacity(lean_obje
|
|||
LEAN_EXPORT lean_object* l_Std_HashMapImp_expand___at_Lean_Lsp_instFromJsonModuleRefs___spec__3(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(lean_object*);
|
||||
uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_foldM___at_Lean_Lsp_instFromJsonModuleRefs___spec__8(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonRefInfo___spec__2(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT uint64_t l___private_Lean_Data_Lsp_Internal_0__Lean_Lsp_hashRefIdent____x40_Lean_Data_Lsp_Internal___hyg_106_(lean_object*);
|
||||
|
|
@ -219,7 +219,7 @@ else
|
|||
lean_object* x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9;
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
x_7 = 1;
|
||||
x_8 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_6);
|
||||
x_8 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_6);
|
||||
x_9 = lean_uint64_mix_hash(x_7, x_8);
|
||||
return x_9;
|
||||
}
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Data/Lsp/Ipc.c
generated
10
stage0/stdlib/Lean/Data/Lsp/Ipc.c
generated
|
|
@ -20,7 +20,7 @@ uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequestID____x40_Lean_D
|
|||
LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspRequest___at_Lean_Lsp_Ipc_collectDiagnostics___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_Ipc_ipcStdioConfig___closed__1;
|
||||
static lean_object* l_Lean_Lsp_Ipc_collectDiagnostics___closed__1;
|
||||
lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1347_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1351_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_Ipc_readResponseAs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Lsp_Ipc_collectDiagnostics___spec__3(lean_object*);
|
||||
lean_object* l_IO_FS_Stream_readLspMessage(lean_object*, lean_object*);
|
||||
|
|
@ -311,7 +311,7 @@ lean_inc(x_18);
|
|||
lean_dec(x_17);
|
||||
x_19 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
x_20 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1347_(x_19);
|
||||
x_20 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1351_(x_19);
|
||||
if (lean_obj_tag(x_20) == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
|
|
@ -408,7 +408,7 @@ lean_inc(x_42);
|
|||
lean_dec(x_17);
|
||||
x_43 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_43, 0, x_42);
|
||||
x_44 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1347_(x_43);
|
||||
x_44 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1351_(x_43);
|
||||
if (lean_obj_tag(x_44) == 0)
|
||||
{
|
||||
lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
|
|
@ -541,7 +541,7 @@ lean_inc(x_74);
|
|||
lean_dec(x_73);
|
||||
x_75 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_75, 0, x_74);
|
||||
x_76 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1347_(x_75);
|
||||
x_76 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1351_(x_75);
|
||||
if (lean_obj_tag(x_76) == 0)
|
||||
{
|
||||
lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83;
|
||||
|
|
@ -633,7 +633,7 @@ lean_inc(x_96);
|
|||
lean_dec(x_73);
|
||||
x_97 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_97, 0, x_96);
|
||||
x_98 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1347_(x_97);
|
||||
x_98 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1351_(x_97);
|
||||
if (lean_obj_tag(x_98) == 0)
|
||||
{
|
||||
lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105;
|
||||
|
|
|
|||
2776
stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c
generated
2776
stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c
generated
File diff suppressed because it is too large
Load diff
416
stage0/stdlib/Lean/Data/Lsp/TextSync.c
generated
416
stage0/stdlib/Lean/Data/Lsp/TextSync.c
generated
File diff suppressed because it is too large
Load diff
200
stage0/stdlib/Lean/Data/Lsp/Workspace.c
generated
200
stage0/stdlib/Lean/Data/Lsp/Workspace.c
generated
|
|
@ -15,8 +15,9 @@ extern "C" {
|
|||
#endif
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonFileChangeType(uint8_t);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_FileChangeType_noConfusion(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_FileChangeType_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonFileChangeType___closed__3;
|
||||
|
|
@ -33,28 +34,27 @@ static lean_object* l_Lean_Lsp_instToJsonFileChangeType___closed__1;
|
|||
lean_object* lean_array_get_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDidChangeWatchedFilesRegistrationOptions;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonDidChangeWatchedFilesRegistrationOptions___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_FileChangeType_toCtorIdx___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonFileChangeType___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesRegistrationOptions____x40_Lean_Data_Lsp_Workspace___hyg_287_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonFileChangeType___boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____closed__1;
|
||||
static lean_object* l_Lean_Lsp_instToJsonFileChangeType___closed__2;
|
||||
lean_object* l_List_join___rarg(lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_573____spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_575____spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileSystemWatcher____x40_Lean_Data_Lsp_Workspace___hyg_137____closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_575____spec__1(size_t, size_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__9;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonWorkspaceFolder____x40_Lean_Data_Lsp_Workspace___hyg_64____boxed(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonFileChangeType___closed__4;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_573____spec__1(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonWorkspaceFolder____x40_Lean_Data_Lsp_Workspace___hyg_24____boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonWorkspaceFolder____x40_Lean_Data_Lsp_Workspace___hyg_24____closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonWorkspaceFolder____x40_Lean_Data_Lsp_Workspace___hyg_24_(lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_FileSystemWatcher_change;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceFolder___closed__1;
|
||||
static lean_object* l_Lean_Lsp_instToJsonFileChangeType___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonFileSystemWatcher;
|
||||
|
|
@ -62,52 +62,51 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonFileEvent;
|
|||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonFileSystemWatcher;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1569____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonFileSystemWatcher___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____spec__2(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDidChangeWatchedFilesRegistrationOptions;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDidChangeWatchedFilesParams;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_FileChangeType_toCtorIdx(uint8_t);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_931____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____spec__2(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540_(lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_FileChangeType_noConfusion___rarg___lambda__1(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_FileSystemWatcher_create;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_FileChangeType_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__6;
|
||||
static lean_object* l_Lean_Lsp_instToJsonFileChangeType___closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileSystemWatcher____x40_Lean_Data_Lsp_Workspace___hyg_189____closed__1;
|
||||
static lean_object* l_Lean_Lsp_FileChangeType_noConfusion___rarg___closed__1;
|
||||
lean_object* l_Lean_JsonNumber_fromNat(lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonWorkspaceFolder___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonFileChangeType(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonFileChangeType___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileSystemWatcher____x40_Lean_Data_Lsp_Workspace___hyg_137____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileSystemWatcher____x40_Lean_Data_Lsp_Workspace___hyg_189____closed__3;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonWorkspaceFolder____x40_Lean_Data_Lsp_Workspace___hyg_24____closed__1;
|
||||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_FileSystemWatcher_delete;
|
||||
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__3;
|
||||
static lean_object* l_Lean_Lsp_instToJsonFileChangeType___closed__4;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileSystemWatcher____x40_Lean_Data_Lsp_Workspace___hyg_137_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDidChangeWatchedFilesParams;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesRegistrationOptions____x40_Lean_Data_Lsp_Workspace___hyg_252____spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesRegistrationOptions____x40_Lean_Data_Lsp_Workspace___hyg_252____spec__2(size_t, size_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__1;
|
||||
static lean_object* l_Lean_Lsp_instFromJsonDidChangeWatchedFilesRegistrationOptions___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileSystemWatcher____x40_Lean_Data_Lsp_Workspace___hyg_189_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_FileChangeType_noConfusion___rarg___lambda__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_573_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_575_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonWorkspaceFolder____x40_Lean_Data_Lsp_Workspace___hyg_64_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_FileSystemWatcher_kind___default;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesRegistrationOptions____x40_Lean_Data_Lsp_Workspace___hyg_287____spec__1(size_t, size_t, lean_object*);
|
||||
|
|
@ -117,12 +116,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJso
|
|||
static lean_object* l_Lean_Lsp_instFromJsonFileSystemWatcher___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesRegistrationOptions____x40_Lean_Data_Lsp_Workspace___hyg_252____closed__1;
|
||||
static lean_object* l_Lean_Lsp_instToJsonDidChangeWatchedFilesParams___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonFileEvent;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__8;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__4;
|
||||
static lean_object* l_Lean_Lsp_instFromJsonDidChangeWatchedFilesParams___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesRegistrationOptions____x40_Lean_Data_Lsp_Workspace___hyg_252____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesRegistrationOptions____x40_Lean_Data_Lsp_Workspace___hyg_287____spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkspaceFolder;
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonWorkspaceFolder____x40_Lean_Data_Lsp_Workspace___hyg_24____closed__1() {
|
||||
_start:
|
||||
|
|
@ -1228,7 +1228,7 @@ x_3 = l_Lean_Lsp_instToJsonFileChangeType(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
|
|
@ -1380,7 +1380,7 @@ return x_41;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1388,7 +1388,7 @@ x_1 = lean_mk_string_from_bytes("type", 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -1419,8 +1419,8 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
|||
x_7 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_3);
|
||||
x_8 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____closed__1;
|
||||
x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____spec__1(x_1, x_8);
|
||||
x_8 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____closed__1;
|
||||
x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____spec__1(x_1, x_8);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
uint8_t x_10;
|
||||
|
|
@ -1476,21 +1476,21 @@ return x_20;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436_(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -1499,7 +1499,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonFileEvent___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1511,11 +1511,11 @@ x_1 = l_Lean_Lsp_instFromJsonFileEvent___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____closed__1;
|
||||
x_1 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____closed__1;
|
||||
x_2 = l_Lean_Lsp_instToJsonFileChangeType___closed__2;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -1523,35 +1523,35 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__1;
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__1;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__3() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__2;
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__2;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__4() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____closed__1;
|
||||
x_1 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____closed__1;
|
||||
x_2 = l_Lean_Lsp_instToJsonFileChangeType___closed__4;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -1559,35 +1559,35 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__5() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__4;
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__4;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__6() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__5;
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__5;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__7() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____closed__1;
|
||||
x_1 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____closed__1;
|
||||
x_2 = l_Lean_Lsp_instToJsonFileChangeType___closed__6;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -1595,31 +1595,31 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__8() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__7;
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__7;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__9() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__8;
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__8;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
|
|
@ -1640,7 +1640,7 @@ switch (x_3) {
|
|||
case 0:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_9 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__3;
|
||||
x_9 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__3;
|
||||
x_10 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_8);
|
||||
lean_ctor_set(x_10, 1, x_9);
|
||||
|
|
@ -1651,7 +1651,7 @@ return x_12;
|
|||
case 1:
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_13 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__6;
|
||||
x_13 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__6;
|
||||
x_14 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_8);
|
||||
lean_ctor_set(x_14, 1, x_13);
|
||||
|
|
@ -1662,7 +1662,7 @@ return x_16;
|
|||
default:
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_17 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__9;
|
||||
x_17 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__9;
|
||||
x_18 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_8);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
|
|
@ -1673,11 +1673,11 @@ return x_20;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486_(x_1);
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488_(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -1686,7 +1686,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonFileEvent___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1698,7 +1698,7 @@ x_1 = l_Lean_Lsp_instToJsonFileEvent___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -1716,7 +1716,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
|||
x_6 = lean_array_uget(x_3, x_2);
|
||||
x_7 = lean_unsigned_to_nat(0u);
|
||||
x_8 = lean_array_uset(x_3, x_2, x_7);
|
||||
x_9 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434_(x_6);
|
||||
x_9 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436_(x_6);
|
||||
lean_dec(x_6);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
|
|
@ -1754,7 +1754,7 @@ goto _start;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
|
|
@ -1771,7 +1771,7 @@ x_5 = lean_array_get_size(x_4);
|
|||
x_6 = lean_usize_of_nat(x_5);
|
||||
lean_dec(x_5);
|
||||
x_7 = 0;
|
||||
x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____spec__2(x_6, x_7, x_4);
|
||||
x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____spec__2(x_6, x_7, x_4);
|
||||
return x_8;
|
||||
}
|
||||
else
|
||||
|
|
@ -1790,7 +1790,7 @@ return x_15;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1798,12 +1798,12 @@ x_1 = lean_mk_string_from_bytes("changes", 7);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____spec__1(x_1, x_2);
|
||||
x_2 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -1844,7 +1844,7 @@ return x_9;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; size_t x_5; lean_object* x_6;
|
||||
|
|
@ -1852,7 +1852,7 @@ x_4 = lean_unbox_usize(x_1);
|
|||
lean_dec(x_1);
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____spec__2(x_4, x_5, x_3);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____spec__2(x_4, x_5, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
|
|
@ -1860,7 +1860,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonDidChangeWatchedFilesParams___c
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1872,7 +1872,7 @@ x_1 = l_Lean_Lsp_instFromJsonDidChangeWatchedFilesParams___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_573____spec__1(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_575____spec__1(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -1887,7 +1887,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_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486_(x_5);
|
||||
x_8 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488_(x_5);
|
||||
lean_dec(x_5);
|
||||
x_9 = 1;
|
||||
x_10 = lean_usize_add(x_2, x_9);
|
||||
|
|
@ -1898,7 +1898,7 @@ goto _start;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_573_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_575_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
|
|
@ -1906,10 +1906,10 @@ x_2 = lean_array_get_size(x_1);
|
|||
x_3 = lean_usize_of_nat(x_2);
|
||||
lean_dec(x_2);
|
||||
x_4 = 0;
|
||||
x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_573____spec__1(x_3, x_4, x_1);
|
||||
x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_575____spec__1(x_3, x_4, x_1);
|
||||
x_6 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
x_7 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____closed__1;
|
||||
x_7 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____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);
|
||||
|
|
@ -1925,7 +1925,7 @@ x_13 = l_Lean_Json_mkObj(x_12);
|
|||
return x_13;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_573____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_575____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; size_t x_5; lean_object* x_6;
|
||||
|
|
@ -1933,7 +1933,7 @@ x_4 = lean_unbox_usize(x_1);
|
|||
lean_dec(x_1);
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_573____spec__1(x_4, x_5, x_3);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_575____spec__1(x_4, x_5, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
|
|
@ -1941,7 +1941,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonDidChangeWatchedFilesParams___clo
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_573_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_575_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -2046,36 +2046,36 @@ l_Lean_Lsp_instToJsonFileChangeType___closed__5 = _init_l_Lean_Lsp_instToJsonFil
|
|||
lean_mark_persistent(l_Lean_Lsp_instToJsonFileChangeType___closed__5);
|
||||
l_Lean_Lsp_instToJsonFileChangeType___closed__6 = _init_l_Lean_Lsp_instToJsonFileChangeType___closed__6();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonFileChangeType___closed__6);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____closed__1 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_434____closed__1);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____closed__1 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_436____closed__1);
|
||||
l_Lean_Lsp_instFromJsonFileEvent___closed__1 = _init_l_Lean_Lsp_instFromJsonFileEvent___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFromJsonFileEvent___closed__1);
|
||||
l_Lean_Lsp_instFromJsonFileEvent = _init_l_Lean_Lsp_instFromJsonFileEvent();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFromJsonFileEvent);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__1 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__1);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__2 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__2);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__3 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__3);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__4 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__4);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__5 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__5);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__6 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__6);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__7 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__7();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__7);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__8 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__8();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__8);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__9 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__9();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_486____closed__9);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__1 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__1);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__2 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__2);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__3 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__3);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__4 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__4);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__5 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__5);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__6 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__6);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__7 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__7();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__7);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__8 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__8();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__8);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__9 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__9();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_488____closed__9);
|
||||
l_Lean_Lsp_instToJsonFileEvent___closed__1 = _init_l_Lean_Lsp_instToJsonFileEvent___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonFileEvent___closed__1);
|
||||
l_Lean_Lsp_instToJsonFileEvent = _init_l_Lean_Lsp_instToJsonFileEvent();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonFileEvent);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____closed__1 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_538____closed__1);
|
||||
l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____closed__1 = _init_l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_540____closed__1);
|
||||
l_Lean_Lsp_instFromJsonDidChangeWatchedFilesParams___closed__1 = _init_l_Lean_Lsp_instFromJsonDidChangeWatchedFilesParams___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFromJsonDidChangeWatchedFilesParams___closed__1);
|
||||
l_Lean_Lsp_instFromJsonDidChangeWatchedFilesParams = _init_l_Lean_Lsp_instFromJsonDidChangeWatchedFilesParams();
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Data/Name.c
generated
6
stage0/stdlib/Lean/Data/Name.c
generated
|
|
@ -110,7 +110,7 @@ LEAN_EXPORT lean_object* l_Lean_NameMap_insert(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_List_foldl___at_String_toName___spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_12_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_14_(uint8_t, uint8_t);
|
||||
uint64_t l_Lean_Name_hash(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Name_eqStr___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_NameMap_contains___spec__1___rarg___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -767,7 +767,7 @@ _start:
|
|||
uint8_t x_3; uint8_t x_4; uint8_t x_5;
|
||||
x_3 = l_Lean_Name_cmp(x_1, x_2);
|
||||
x_4 = 0;
|
||||
x_5 = l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_12_(x_3, x_4);
|
||||
x_5 = l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_14_(x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
|
|
@ -954,7 +954,7 @@ _start:
|
|||
uint8_t x_3; uint8_t x_4; uint8_t x_5;
|
||||
x_3 = l_Lean_Name_quickCmp(x_1, x_2);
|
||||
x_4 = 0;
|
||||
x_5 = l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_12_(x_3, x_4);
|
||||
x_5 = l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_14_(x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
240
stage0/stdlib/Lean/Declaration.c
generated
240
stage0/stdlib/Lean/Declaration.c
generated
|
|
@ -13,13 +13,13 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__6;
|
||||
static lean_object* l_Lean_mkRecName___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_mkReducibilityHintsRegularEx___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Declaration_forExprM___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ReducibilityHints_lt___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_QuotKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_RecursorVal_getFirstIndexIdx(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_ReducibilityHints_isAbbrev(lean_object*);
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
|
|
@ -39,7 +39,7 @@ LEAN_EXPORT lean_object* lean_mk_reducibility_hints_regular(uint32_t);
|
|||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Declaration_forExprM___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Declaration_forExprM___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t lean_opaque_val_is_unsafe(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__6;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__10;
|
||||
LEAN_EXPORT uint8_t l_Lean_ConstantInfo_isInductive(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Declaration_forExprM___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ReducibilityHints_isRegular___boxed(lean_object*);
|
||||
|
|
@ -50,15 +50,16 @@ lean_object* l_List_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean
|
|||
LEAN_EXPORT lean_object* l_Lean_mkConstructorValEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static uint64_t l_Lean_instInhabitedConstantVal___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_QuotKind_toCtorIdx(uint8_t);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__10;
|
||||
static lean_object* l_Lean_instInhabitedAxiomVal___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ConstantInfo_value_x3f___boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__20;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__20;
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedOpaqueVal;
|
||||
LEAN_EXPORT lean_object* l_Lean_RecursorVal_getMajorIdx___boxed(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RecursorVal_getFirstMinorIdx(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__7;
|
||||
static lean_object* l_Lean_ConstantInfo_value_x21___closed__1;
|
||||
static lean_object* l_Lean_instInhabitedDefinitionVal___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ConstantInfo_value_x21___boxed(lean_object*);
|
||||
|
|
@ -69,11 +70,11 @@ static lean_object* l_Lean_instInhabitedInductiveVal___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ConstantInfo_value_x21___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_AxiomVal_isUnsafeEx___boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__3;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_QuotKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ConstantInfo_levelParams(lean_object*);
|
||||
LEAN_EXPORT uint8_t lean_inductive_val_is_nested(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__16;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ConstantInfo_instantiateTypeLevelParams___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedAxiomVal;
|
||||
|
|
@ -83,12 +84,10 @@ LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Declaration_forExprM___spec__4(
|
|||
LEAN_EXPORT uint8_t lean_definition_val_get_safety(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedRecursorRule;
|
||||
LEAN_EXPORT lean_object* l_Lean_mkRecName(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_QuotVal_kindEx___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ConstructorVal_isUnsafeEx___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_DefinitionSafety_noConfusion___rarg___lambda__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* lean_mk_inductive_val(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_261____boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_uint32_dec_lt(uint32_t, uint32_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_DefinitionSafety_toCtorIdx___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_DefinitionSafety_toCtorIdx(uint8_t);
|
||||
|
|
@ -99,6 +98,7 @@ LEAN_EXPORT lean_object* l_Lean_ConstantInfo_toConstantVal(lean_object*);
|
|||
LEAN_EXPORT uint8_t l_Lean_ReducibilityHints_isRegular(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Declaration_forExprM___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_InductiveVal_numCtors___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_263____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_DefinitionSafety_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_instantiate_type_lparams(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RecursorVal_isUnsafeEx___boxed(lean_object*);
|
||||
|
|
@ -107,19 +107,20 @@ LEAN_EXPORT lean_object* l_Lean_ConstantInfo_name(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_ReducibilityHints_isAbbrev___boxed(lean_object*);
|
||||
static lean_object* l_Lean_DefinitionSafety_noConfusion___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_InductiveVal_isNestedEx___boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_RecursorVal_getFirstMinorIdx___boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__18;
|
||||
LEAN_EXPORT lean_object* l_Lean_ConstantInfo_toConstantVal___boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__15;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__5;
|
||||
LEAN_EXPORT uint8_t lean_inductive_val_is_reflexive(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__18;
|
||||
static lean_object* l_Lean_ConstantInfo_value_x21___closed__4;
|
||||
static lean_object* l_Lean_instBEqDefinitionSafety___closed__1;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__15;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__11;
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Declaration_forExprM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedInductiveType;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__11;
|
||||
LEAN_EXPORT uint8_t l_Lean_ConstantInfo_hasValue(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkOpaqueValEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_RecursorVal_getFirstIndexIdx___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Declaration_isUnsafeInductiveDeclEx___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RecursorVal_kEx___boxed(lean_object*);
|
||||
|
|
@ -136,7 +137,6 @@ LEAN_EXPORT lean_object* l_Lean_ConstantInfo_hints(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_mkQuotValEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ConstantInfo_type(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ConstantInfo_value_x3f(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__12;
|
||||
LEAN_EXPORT lean_object* lean_mk_recursor_val(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedConstructor;
|
||||
LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Declaration_forExprM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -148,25 +148,23 @@ LEAN_EXPORT lean_object* lean_mk_constructor_val(lean_object*, lean_object*, lea
|
|||
LEAN_EXPORT lean_object* l_Lean_mkDefinitionValEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedDeclaration___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ReducibilityHints_getHeightEx___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_OpaqueVal_isUnsafeEx___boxed(lean_object*);
|
||||
lean_object* lean_instantiate_value_lparams(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_261_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_263_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkAxiomValEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__17;
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Declaration_forExprM___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__17;
|
||||
LEAN_EXPORT uint8_t l_Lean_ConstantInfo_isCtor(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instReprDefinitionSafety;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedQuotVal___closed__1;
|
||||
LEAN_EXPORT uint8_t lean_is_unsafe_inductive_decl(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedConstantVal;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___rarg___lambda__4(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__9;
|
||||
LEAN_EXPORT uint8_t lean_inductive_val_is_unsafe(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__2;
|
||||
LEAN_EXPORT uint8_t lean_quot_val_kind(lean_object*);
|
||||
lean_object* l_Lean_Name_getPrefix(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Declaration_forExprM___spec__4___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -175,25 +173,27 @@ LEAN_EXPORT lean_object* l_Lean_instInhabitedQuotVal;
|
|||
LEAN_EXPORT lean_object* l_Lean_mkInductiveDeclEs___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedConstantVal___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_ConstantInfo_name___boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__19;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__19;
|
||||
LEAN_EXPORT lean_object* lean_mk_definition_val(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Declaration_forExprM___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedConstantInfo___closed__1;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__1;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedRecursorVal;
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedDeclaration;
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedTheoremVal;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__9;
|
||||
LEAN_EXPORT lean_object* lean_mk_opaque_val(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_ConstantInfo_numLevelParams___boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__4;
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Declaration_forExprM___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ConstantInfo_value_x21___closed__3;
|
||||
lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedInductiveVal;
|
||||
LEAN_EXPORT lean_object* l_Lean_ConstantInfo_value_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkRecursorValEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277_(uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279_(uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedRecursorVal___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_DefinitionSafety_noConfusion(lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedInductiveType___closed__1;
|
||||
|
|
@ -215,8 +215,8 @@ LEAN_EXPORT lean_object* l_Lean_mkInductiveValEx___boxed(lean_object*, lean_obje
|
|||
LEAN_EXPORT lean_object* l_Lean_ConstantInfo_isUnsafe___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ConstantInfo_type___boxed(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_ReducibilityHints_lt(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__14;
|
||||
static lean_object* l_Lean_instInhabitedConstructorVal___closed__1;
|
||||
static lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__14;
|
||||
LEAN_EXPORT uint8_t l_Lean_instInhabitedQuotKind;
|
||||
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedRecursorRule___closed__1;
|
||||
|
|
@ -593,7 +593,7 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_261_(uint8_t x_1, uint8_t x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_263_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -605,7 +605,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_261____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_263____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -613,7 +613,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_261_(x_3, x_4);
|
||||
x_5 = l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_263_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -622,7 +622,7 @@ static lean_object* _init_l_Lean_instBEqDefinitionSafety___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_261____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_263____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -634,7 +634,7 @@ x_1 = l_Lean_instBEqDefinitionSafety___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -642,17 +642,17 @@ x_1 = lean_mk_string_from_bytes("Lean.DefinitionSafety.unsafe", 28);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__1;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__1;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__3() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -661,23 +661,23 @@ x_2 = lean_nat_to_int(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__4() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__3;
|
||||
x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__2;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__3;
|
||||
x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__2;
|
||||
x_3 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__5() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__4;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__4;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(5, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -685,7 +685,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__6() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -694,23 +694,23 @@ x_2 = lean_nat_to_int(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__7() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__6;
|
||||
x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__2;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__6;
|
||||
x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__2;
|
||||
x_3 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__8() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__7;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__7;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(5, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -718,7 +718,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__9() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -726,33 +726,33 @@ x_1 = lean_mk_string_from_bytes("Lean.DefinitionSafety.safe", 26);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__10() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__9;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__9;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__11() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__3;
|
||||
x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__10;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__3;
|
||||
x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__10;
|
||||
x_3 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__12() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__11;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__11;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(5, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -760,23 +760,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__13() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__6;
|
||||
x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__10;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__6;
|
||||
x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__10;
|
||||
x_3 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__14() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__13;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__13;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(5, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -784,7 +784,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__15() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -792,33 +792,33 @@ x_1 = lean_mk_string_from_bytes("Lean.DefinitionSafety.partial", 29);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__16() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__15;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__15;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__17() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__3;
|
||||
x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__16;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__3;
|
||||
x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__16;
|
||||
x_3 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__18() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__17;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__17;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(5, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -826,23 +826,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__19() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__6;
|
||||
x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__16;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__6;
|
||||
x_2 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__16;
|
||||
x_3 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__20() {
|
||||
static lean_object* _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__19;
|
||||
x_1 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__19;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(5, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -850,7 +850,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277_(uint8_t x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279_(uint8_t x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
switch (x_1) {
|
||||
|
|
@ -862,14 +862,14 @@ x_4 = lean_nat_dec_le(x_3, x_2);
|
|||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
x_5 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__5;
|
||||
x_5 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__5;
|
||||
x_6 = l_Repr_addAppParen(x_5, x_2);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8;
|
||||
x_7 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__8;
|
||||
x_7 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__8;
|
||||
x_8 = l_Repr_addAppParen(x_7, x_2);
|
||||
return x_8;
|
||||
}
|
||||
|
|
@ -882,14 +882,14 @@ x_10 = lean_nat_dec_le(x_9, x_2);
|
|||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__12;
|
||||
x_11 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__12;
|
||||
x_12 = l_Repr_addAppParen(x_11, x_2);
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
x_13 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__14;
|
||||
x_13 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__14;
|
||||
x_14 = l_Repr_addAppParen(x_13, x_2);
|
||||
return x_14;
|
||||
}
|
||||
|
|
@ -902,14 +902,14 @@ x_16 = lean_nat_dec_le(x_15, x_2);
|
|||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18;
|
||||
x_17 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__18;
|
||||
x_17 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__18;
|
||||
x_18 = l_Repr_addAppParen(x_17, x_2);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
x_19 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__20;
|
||||
x_19 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__20;
|
||||
x_20 = l_Repr_addAppParen(x_19, x_2);
|
||||
return x_20;
|
||||
}
|
||||
|
|
@ -917,13 +917,13 @@ return x_20;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_4 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277_(x_3, x_2);
|
||||
x_4 = l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279_(x_3, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -932,7 +932,7 @@ static lean_object* _init_l_Lean_instReprDefinitionSafety___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -2351,7 +2351,7 @@ lean_object* x_4; uint8_t x_5; uint8_t x_6; uint8_t x_7;
|
|||
x_4 = lean_ctor_get(x_1, 0);
|
||||
x_5 = lean_ctor_get_uint8(x_4, sizeof(void*)*3);
|
||||
x_6 = 0;
|
||||
x_7 = l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_261_(x_5, x_6);
|
||||
x_7 = l___private_Lean_Declaration_0__Lean_beqDefinitionSafety____x40_Lean_Declaration___hyg_263_(x_5, x_6);
|
||||
return x_7;
|
||||
}
|
||||
case 3:
|
||||
|
|
@ -2786,46 +2786,46 @@ l_Lean_instBEqDefinitionSafety___closed__1 = _init_l_Lean_instBEqDefinitionSafet
|
|||
lean_mark_persistent(l_Lean_instBEqDefinitionSafety___closed__1);
|
||||
l_Lean_instBEqDefinitionSafety = _init_l_Lean_instBEqDefinitionSafety();
|
||||
lean_mark_persistent(l_Lean_instBEqDefinitionSafety);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__1 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__1);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__2 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__2);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__3 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__3);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__4 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__4);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__5 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__5);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__6 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__6);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__7 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__7();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__7);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__8 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__8();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__8);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__9 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__9();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__9);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__10 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__10();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__10);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__11 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__11();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__11);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__12 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__12();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__12);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__13 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__13();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__13);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__14 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__14();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__14);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__15 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__15();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__15);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__16 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__16();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__16);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__17 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__17();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__17);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__18 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__18();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__18);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__19 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__19();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__19);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__20 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__20();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_277____closed__20);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__1 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__1);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__2 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__2);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__3 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__3);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__4 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__4);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__5 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__5);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__6 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__6);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__7 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__7();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__7);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__8 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__8();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__8);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__9 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__9();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__9);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__10 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__10();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__10);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__11 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__11();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__11);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__12 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__12();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__12);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__13 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__13();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__13);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__14 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__14();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__14);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__15 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__15();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__15);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__16 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__16();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__16);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__17 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__17();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__17);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__18 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__18();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__18);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__19 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__19();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__19);
|
||||
l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__20 = _init_l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__20();
|
||||
lean_mark_persistent(l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_279____closed__20);
|
||||
l_Lean_instReprDefinitionSafety___closed__1 = _init_l_Lean_instReprDefinitionSafety___closed__1();
|
||||
lean_mark_persistent(l_Lean_instReprDefinitionSafety___closed__1);
|
||||
l_Lean_instReprDefinitionSafety = _init_l_Lean_instReprDefinitionSafety();
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/App.c
generated
10
stage0/stdlib/Lean/Elab/App.c
generated
|
|
@ -697,7 +697,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrayRef_declRange___close
|
|||
lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeProj_declRange___closed__6;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrayRef_declRange___closed__1;
|
||||
uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrayRef___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -12436,7 +12436,7 @@ lean_inc(x_65);
|
|||
lean_dec(x_48);
|
||||
x_66 = l_Lean_LocalDecl_binderInfo(x_65);
|
||||
x_67 = 4;
|
||||
x_68 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_66, x_67);
|
||||
x_68 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_66, x_67);
|
||||
if (x_68 == 0)
|
||||
{
|
||||
lean_object* x_69; lean_object* x_70;
|
||||
|
|
@ -12623,7 +12623,7 @@ lean_inc(x_110);
|
|||
lean_dec(x_94);
|
||||
x_111 = l_Lean_LocalDecl_binderInfo(x_110);
|
||||
x_112 = 4;
|
||||
x_113 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_111, x_112);
|
||||
x_113 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_111, x_112);
|
||||
if (x_113 == 0)
|
||||
{
|
||||
lean_object* x_114;
|
||||
|
|
@ -12843,7 +12843,7 @@ lean_inc(x_160);
|
|||
lean_dec(x_142);
|
||||
x_161 = l_Lean_LocalDecl_binderInfo(x_160);
|
||||
x_162 = 4;
|
||||
x_163 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_161, x_162);
|
||||
x_163 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_161, x_162);
|
||||
if (x_163 == 0)
|
||||
{
|
||||
lean_object* x_164; lean_object* x_165;
|
||||
|
|
@ -13034,7 +13034,7 @@ lean_inc(x_208);
|
|||
lean_dec(x_191);
|
||||
x_209 = l_Lean_LocalDecl_binderInfo(x_208);
|
||||
x_210 = 4;
|
||||
x_211 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_209, x_210);
|
||||
x_211 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_209, x_210);
|
||||
if (x_211 == 0)
|
||||
{
|
||||
lean_object* x_212;
|
||||
|
|
|
|||
291
stage0/stdlib/Lean/Elab/Command.c
generated
291
stage0/stdlib/Lean/Elab/Command.c
generated
|
|
@ -34,7 +34,6 @@ static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_e
|
|||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___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*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_io_get_num_heartbeats(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__8(lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -57,7 +56,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___boxed__const__1;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instAddMessageContextCommandElabM___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___boxed(lean_object*);
|
||||
|
|
@ -91,6 +89,7 @@ static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftIO(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___elambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_commandElabAttribute;
|
||||
extern lean_object* l_Lean_maxRecDepthErrorMessage;
|
||||
|
|
@ -197,9 +196,8 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Comma
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScopes___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Elab_Command_runLinters___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_modifyScope___closed__3;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_State_messages___default;
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___closed__2;
|
||||
static lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___closed__1;
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
|
|
@ -279,6 +277,7 @@ static lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___close
|
|||
static lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Command_runLinters___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -300,6 +299,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Comm
|
|||
static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__16(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_Scope_varDecls___default;
|
||||
static lean_object* l_Lean_Elab_Command_elabCommand___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_Scope_openDecls___default;
|
||||
|
|
@ -344,14 +344,15 @@ static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_addUnivLevel___lambda__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__6;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__4;
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__13;
|
||||
lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__14(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_414_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1711_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1734_(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_State_ngen___default;
|
||||
extern lean_object* l_Lean_Expr_instHashableExpr;
|
||||
|
|
@ -380,7 +381,6 @@ static lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instA
|
|||
extern lean_object* l_Lean_protectedExt;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_Context_currRecDepth___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_liftAttrM(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -399,9 +399,10 @@ static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__2;
|
|||
uint8_t l_Array_isEmpty___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM;
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___lambda__1___closed__4;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
extern lean_object* l_Lean_firstFrontendMacroScope;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -477,6 +478,7 @@ lean_object* lean_environment_main_module(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__6;
|
||||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__1;
|
||||
|
|
@ -486,6 +488,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabComma
|
|||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__1;
|
||||
lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getMainModule(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__8;
|
||||
|
|
@ -525,7 +528,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM(lean_o
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___lambda__1___closed__3;
|
||||
static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -557,7 +559,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM;
|
|||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getLevelNames(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_Context_currMacroScope___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand___spec__1___closed__2;
|
||||
static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -613,7 +615,6 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_ela
|
|||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7;
|
||||
static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4;
|
||||
static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__9;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___lambda__4(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*);
|
||||
|
|
@ -623,6 +624,7 @@ static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__4;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___lambda__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_State_nextMacroScope___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__14___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instAddErrorMessageContextCommandElabM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -661,6 +663,7 @@ static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__8;
|
|||
static lean_object* l_Lean_Elab_Command_instInhabitedScope___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__18;
|
||||
|
|
@ -4949,7 +4952,45 @@ lean_ctor_set(x_5, 1, x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
x_4 = lean_st_ref_get(x_2, x_3);
|
||||
x_5 = !lean_is_exclusive(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
x_7 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_6);
|
||||
x_8 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_7);
|
||||
x_9 = lean_box(x_8);
|
||||
lean_ctor_set(x_4, 0, x_9);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_10 = lean_ctor_get(x_4, 0);
|
||||
x_11 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_4);
|
||||
x_12 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_12);
|
||||
x_14 = lean_box(x_13);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_11);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
|
|
@ -5200,31 +5241,41 @@ static lean_object* _init_l_Lean_Elab_Command_instMonadLogCommandElabM___closed_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3___boxed), 4, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3___boxed), 3, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__4___boxed), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_instMonadLogCommandElabM___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Elab_Command_instMonadLogCommandElabM___closed__1;
|
||||
x_2 = l_Lean_Elab_Command_instMonadRefCommandElabM___closed__1;
|
||||
x_3 = l_Lean_Elab_Command_instMonadLogCommandElabM___closed__2;
|
||||
x_4 = l_Lean_Elab_Command_instMonadLogCommandElabM___closed__3;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set(x_5, 3, x_4);
|
||||
return x_5;
|
||||
x_5 = l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4;
|
||||
x_6 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_6, 0, x_1);
|
||||
lean_ctor_set(x_6, 1, x_2);
|
||||
lean_ctor_set(x_6, 2, x_3);
|
||||
lean_ctor_set(x_6, 3, x_4);
|
||||
lean_ctor_set(x_6, 4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_instMonadLogCommandElabM() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4;
|
||||
x_1 = l_Lean_Elab_Command_instMonadLogCommandElabM___closed__5;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -5248,11 +5299,21 @@ lean_dec(x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3(x_1, x_2, x_3, x_4);
|
||||
x_5 = l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__4(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_5;
|
||||
|
|
@ -5263,7 +5324,7 @@ _start:
|
|||
{
|
||||
lean_object* x_7; uint8_t x_339; uint8_t x_340;
|
||||
x_339 = 2;
|
||||
x_340 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(x_3, x_339);
|
||||
x_340 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(x_3, x_339);
|
||||
if (x_340 == 0)
|
||||
{
|
||||
lean_object* x_341;
|
||||
|
|
@ -7676,7 +7737,7 @@ x_8 = l_Lean_Elab_mkElabAttribute___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_1);
|
|||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1711_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1734_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
|
|
@ -9145,7 +9206,7 @@ lean_dec(x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -9153,17 +9214,17 @@ x_1 = lean_mk_string_from_bytes("showPartialSyntaxErrors", 23);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__1;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__3() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -9171,13 +9232,13 @@ x_1 = lean_mk_string_from_bytes("show elaboration errors from partial syntax tre
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__4() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__4() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = 0;
|
||||
x_2 = l_Lean_Elab_Command_instInhabitedScope___closed__1;
|
||||
x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__3;
|
||||
x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__3;
|
||||
x_4 = lean_box(x_1);
|
||||
x_5 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
|
|
@ -9186,12 +9247,12 @@ lean_ctor_set(x_5, 2, x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__2;
|
||||
x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__4;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__2;
|
||||
x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__4;
|
||||
x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -9539,7 +9600,7 @@ return x_86;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -9549,21 +9610,21 @@ x_3 = lean_name_mk_string(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__1;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__1;
|
||||
x_2 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__18;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__2;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__2;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -11678,7 +11739,7 @@ if (x_8 == 0)
|
|||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
lean_dec(x_6);
|
||||
x_9 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__2;
|
||||
x_9 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__2;
|
||||
lean_inc(x_1);
|
||||
x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__3), 6, 3);
|
||||
lean_closure_set(x_10, 0, x_1);
|
||||
|
|
@ -12201,7 +12262,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCo
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__1;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__1;
|
||||
x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -13069,7 +13130,7 @@ static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabC
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__1;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__1;
|
||||
x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___lambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -13699,7 +13760,7 @@ lean_dec(x_11);
|
|||
x_14 = !lean_is_exclusive(x_12);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_15 = lean_ctor_get(x_12, 1);
|
||||
x_16 = l_Lean_Elab_Command_State_messages___default___closed__3;
|
||||
lean_ctor_set(x_12, 1, x_16);
|
||||
|
|
@ -13713,22 +13774,22 @@ lean_inc(x_20);
|
|||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
lean_inc(x_1);
|
||||
x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLinters), 4, 1);
|
||||
lean_closure_set(x_22, 0, x_1);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_23 = l_Lean_Elab_Command_withLogging(x_22, x_2, x_3, x_21);
|
||||
if (lean_obj_tag(x_23) == 0)
|
||||
lean_inc(x_1);
|
||||
x_22 = l_Lean_Elab_Command_elabCommand(x_1, x_2, x_3, x_21);
|
||||
if (lean_obj_tag(x_22) == 0)
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25;
|
||||
x_24 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_23);
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
x_23 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_22);
|
||||
lean_inc(x_1);
|
||||
x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLinters), 4, 1);
|
||||
lean_closure_set(x_24, 0, x_1);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_25 = l_Lean_Elab_Command_elabCommand(x_1, x_2, x_3, x_24);
|
||||
x_25 = l_Lean_Elab_Command_withLogging(x_24, x_2, x_3, x_23);
|
||||
if (lean_obj_tag(x_25) == 0)
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39;
|
||||
|
|
@ -13844,19 +13905,19 @@ lean_dec(x_15);
|
|||
lean_dec(x_2);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_57 = !lean_is_exclusive(x_23);
|
||||
x_57 = !lean_is_exclusive(x_22);
|
||||
if (x_57 == 0)
|
||||
{
|
||||
return x_23;
|
||||
return x_22;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60;
|
||||
x_58 = lean_ctor_get(x_23, 0);
|
||||
x_59 = lean_ctor_get(x_23, 1);
|
||||
x_58 = lean_ctor_get(x_22, 0);
|
||||
x_59 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_59);
|
||||
lean_inc(x_58);
|
||||
lean_dec(x_23);
|
||||
lean_dec(x_22);
|
||||
x_60 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_60, 0, x_58);
|
||||
lean_ctor_set(x_60, 1, x_59);
|
||||
|
|
@ -13866,7 +13927,7 @@ return x_60;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78;
|
||||
lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77;
|
||||
x_61 = lean_ctor_get(x_12, 0);
|
||||
x_62 = lean_ctor_get(x_12, 1);
|
||||
x_63 = lean_ctor_get(x_12, 2);
|
||||
|
|
@ -13907,22 +13968,22 @@ lean_inc(x_75);
|
|||
x_76 = lean_ctor_get(x_74, 1);
|
||||
lean_inc(x_76);
|
||||
lean_dec(x_74);
|
||||
lean_inc(x_1);
|
||||
x_77 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLinters), 4, 1);
|
||||
lean_closure_set(x_77, 0, x_1);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_78 = l_Lean_Elab_Command_withLogging(x_77, x_2, x_3, x_76);
|
||||
if (lean_obj_tag(x_78) == 0)
|
||||
lean_inc(x_1);
|
||||
x_77 = l_Lean_Elab_Command_elabCommand(x_1, x_2, x_3, x_76);
|
||||
if (lean_obj_tag(x_77) == 0)
|
||||
{
|
||||
lean_object* x_79; lean_object* x_80;
|
||||
x_79 = lean_ctor_get(x_78, 1);
|
||||
lean_inc(x_79);
|
||||
lean_dec(x_78);
|
||||
lean_object* x_78; lean_object* x_79; lean_object* x_80;
|
||||
x_78 = lean_ctor_get(x_77, 1);
|
||||
lean_inc(x_78);
|
||||
lean_dec(x_77);
|
||||
lean_inc(x_1);
|
||||
x_79 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLinters), 4, 1);
|
||||
lean_closure_set(x_79, 0, x_1);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_80 = l_Lean_Elab_Command_elabCommand(x_1, x_2, x_3, x_79);
|
||||
x_80 = l_Lean_Elab_Command_withLogging(x_79, x_2, x_3, x_78);
|
||||
if (lean_obj_tag(x_80) == 0)
|
||||
{
|
||||
lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94;
|
||||
|
|
@ -14040,16 +14101,16 @@ lean_dec(x_62);
|
|||
lean_dec(x_2);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_112 = lean_ctor_get(x_78, 0);
|
||||
x_112 = lean_ctor_get(x_77, 0);
|
||||
lean_inc(x_112);
|
||||
x_113 = lean_ctor_get(x_78, 1);
|
||||
x_113 = lean_ctor_get(x_77, 1);
|
||||
lean_inc(x_113);
|
||||
if (lean_is_exclusive(x_78)) {
|
||||
lean_ctor_release(x_78, 0);
|
||||
lean_ctor_release(x_78, 1);
|
||||
x_114 = x_78;
|
||||
if (lean_is_exclusive(x_77)) {
|
||||
lean_ctor_release(x_77, 0);
|
||||
lean_ctor_release(x_77, 1);
|
||||
x_114 = x_77;
|
||||
} else {
|
||||
lean_dec_ref(x_78);
|
||||
lean_dec_ref(x_77);
|
||||
x_114 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_114)) {
|
||||
|
|
@ -14065,7 +14126,7 @@ return x_115;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145;
|
||||
lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144;
|
||||
x_116 = lean_ctor_get(x_2, 0);
|
||||
x_117 = lean_ctor_get(x_2, 1);
|
||||
x_118 = lean_ctor_get(x_2, 2);
|
||||
|
|
@ -14154,22 +14215,22 @@ lean_inc(x_142);
|
|||
x_143 = lean_ctor_get(x_141, 1);
|
||||
lean_inc(x_143);
|
||||
lean_dec(x_141);
|
||||
lean_inc(x_1);
|
||||
x_144 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLinters), 4, 1);
|
||||
lean_closure_set(x_144, 0, x_1);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_123);
|
||||
x_145 = l_Lean_Elab_Command_withLogging(x_144, x_123, x_3, x_143);
|
||||
if (lean_obj_tag(x_145) == 0)
|
||||
lean_inc(x_1);
|
||||
x_144 = l_Lean_Elab_Command_elabCommand(x_1, x_123, x_3, x_143);
|
||||
if (lean_obj_tag(x_144) == 0)
|
||||
{
|
||||
lean_object* x_146; lean_object* x_147;
|
||||
x_146 = lean_ctor_get(x_145, 1);
|
||||
lean_inc(x_146);
|
||||
lean_dec(x_145);
|
||||
lean_object* x_145; lean_object* x_146; lean_object* x_147;
|
||||
x_145 = lean_ctor_get(x_144, 1);
|
||||
lean_inc(x_145);
|
||||
lean_dec(x_144);
|
||||
lean_inc(x_1);
|
||||
x_146 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLinters), 4, 1);
|
||||
lean_closure_set(x_146, 0, x_1);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_123);
|
||||
lean_inc(x_1);
|
||||
x_147 = l_Lean_Elab_Command_elabCommand(x_1, x_123, x_3, x_146);
|
||||
x_147 = l_Lean_Elab_Command_withLogging(x_146, x_123, x_3, x_145);
|
||||
if (lean_obj_tag(x_147) == 0)
|
||||
{
|
||||
lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161;
|
||||
|
|
@ -14287,16 +14348,16 @@ lean_dec(x_128);
|
|||
lean_dec(x_123);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_179 = lean_ctor_get(x_145, 0);
|
||||
x_179 = lean_ctor_get(x_144, 0);
|
||||
lean_inc(x_179);
|
||||
x_180 = lean_ctor_get(x_145, 1);
|
||||
x_180 = lean_ctor_get(x_144, 1);
|
||||
lean_inc(x_180);
|
||||
if (lean_is_exclusive(x_145)) {
|
||||
lean_ctor_release(x_145, 0);
|
||||
lean_ctor_release(x_145, 1);
|
||||
x_181 = x_145;
|
||||
if (lean_is_exclusive(x_144)) {
|
||||
lean_ctor_release(x_144, 0);
|
||||
lean_ctor_release(x_144, 1);
|
||||
x_181 = x_144;
|
||||
} else {
|
||||
lean_dec_ref(x_145);
|
||||
lean_dec_ref(x_144);
|
||||
x_181 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_181)) {
|
||||
|
|
@ -17852,7 +17913,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Elab_Command_modifyScope___closed__1;
|
||||
x_2 = l_Lean_Elab_Command_modifyScope___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(423u);
|
||||
x_3 = lean_unsigned_to_nat(424u);
|
||||
x_4 = lean_unsigned_to_nat(16u);
|
||||
x_5 = l_Lean_Elab_Command_modifyScope___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -21983,6 +22044,8 @@ l_Lean_Elab_Command_instMonadLogCommandElabM___closed__3 = _init_l_Lean_Elab_Com
|
|||
lean_mark_persistent(l_Lean_Elab_Command_instMonadLogCommandElabM___closed__3);
|
||||
l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4 = _init_l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4);
|
||||
l_Lean_Elab_Command_instMonadLogCommandElabM___closed__5 = _init_l_Lean_Elab_Command_instMonadLogCommandElabM___closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_instMonadLogCommandElabM___closed__5);
|
||||
l_Lean_Elab_Command_instMonadLogCommandElabM = _init_l_Lean_Elab_Command_instMonadLogCommandElabM();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_instMonadLogCommandElabM);
|
||||
l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__1 = _init_l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__1();
|
||||
|
|
@ -22039,7 +22102,7 @@ l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__17 = _init_l_Lean_Ela
|
|||
lean_mark_persistent(l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__17);
|
||||
l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__18 = _init_l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__18();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__18);
|
||||
if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1711_(lean_io_mk_world());
|
||||
if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1734_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Elab_Command_commandElabAttribute = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Elab_Command_commandElabAttribute);
|
||||
|
|
@ -22072,15 +22135,15 @@ l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4 = _init_l_Lean_Ela
|
|||
lean_mark_persistent(l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4);
|
||||
l_Lean_Elab_Command_instMonadRecDepthCommandElabM = _init_l_Lean_Elab_Command_instMonadRecDepthCommandElabM();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_instMonadRecDepthCommandElabM);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__3);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072____closed__4);
|
||||
if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2072_(lean_io_mk_world());
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__3);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095____closed__4);
|
||||
if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2095_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Elab_Command_showPartialSyntaxErrors = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Elab_Command_showPartialSyntaxErrors);
|
||||
|
|
@ -22089,11 +22152,11 @@ lean_dec_ref(res);
|
|||
lean_mark_persistent(l_Lean_Elab_Command_withLogging___closed__1);
|
||||
l_Lean_Elab_Command_withLogging___closed__2 = _init_l_Lean_Elab_Command_withLogging___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_withLogging___closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189____closed__2);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2189_(lean_io_mk_world());
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212____closed__2);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2212_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand___spec__1___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand___spec__1___closed__1();
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/DeclUtil.c
generated
4
stage0/stdlib/Lean/Elab/DeclUtil.c
generated
|
|
@ -156,7 +156,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeCompatibleAux___rarg(lean_ob
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeCompatible___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__20___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_mkFreshInstanceName___closed__1;
|
||||
|
|
@ -1319,7 +1319,7 @@ uint8_t x_16; uint8_t x_17; uint8_t x_18;
|
|||
lean_dec(x_10);
|
||||
x_16 = (uint8_t)((x_1 << 24) >> 61);
|
||||
x_17 = (uint8_t)((x_9 << 24) >> 61);
|
||||
x_18 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_16, x_17);
|
||||
x_18 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_16, x_17);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25;
|
||||
|
|
|
|||
58
stage0/stdlib/Lean/Elab/DefView.c
generated
58
stage0/stdlib/Lean/Elab/DefView.c
generated
|
|
@ -31,8 +31,8 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*);
|
||||
uint8_t l_Lean_Expr_isProp(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkInstanceName___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_15____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_13____boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SourceInfo_fromRef(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_maxRecDepthErrorMessage;
|
||||
|
|
@ -166,13 +166,13 @@ lean_object* l_Lean_Syntax_getKind(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkInstanceName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkFreshInstanceName___boxed(lean_object*);
|
||||
static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467_(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__3;
|
||||
static lean_object* l_Lean_Elab_Command_mkInstanceName___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__2;
|
||||
static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__2;
|
||||
static lean_object* l_Lean_Elab_Command_isDefLike___closed__6;
|
||||
lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -186,16 +186,17 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
|||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefView___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__3;
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__10(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__3;
|
||||
static lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__9;
|
||||
lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__4;
|
||||
lean_object* l_Lean_Elab_expandOptNamedPrio___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -214,13 +215,11 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__15;
|
|||
static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__18;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_noConfusion(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__1;
|
||||
static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__2;
|
||||
static lean_object* l_Lean_Elab_Command_mkDefView___closed__1;
|
||||
lean_object* l_Lean_Core_resetMessageLog(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -228,6 +227,7 @@ static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mk
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__10___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__14;
|
||||
static lean_object* l_Lean_Elab_instInhabitedDefView___closed__2;
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__5;
|
||||
|
|
@ -242,7 +242,7 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__3;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_isDefLike___closed__7;
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__7;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_13_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_15_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isSort(lean_object*);
|
||||
|
|
@ -358,7 +358,7 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_13_(uint8_t x_1, uint8_t x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_15_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -370,7 +370,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_13____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_15____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -378,7 +378,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_13_(x_3, x_4);
|
||||
x_5 = l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_15_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -387,7 +387,7 @@ static lean_object* _init_l_Lean_Elab_instBEqDefKind___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_13____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_15____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -4448,7 +4448,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4456,17 +4456,17 @@ x_1 = lean_mk_string_from_bytes("Elab", 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__1;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__3() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4474,21 +4474,21 @@ x_1 = lean_mk_string_from_bytes("definition", 10);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__4() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__2;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__2;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__4;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__4;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -4683,15 +4683,15 @@ l_Lean_Elab_Command_mkDefView___closed__1 = _init_l_Lean_Elab_Command_mkDefView_
|
|||
lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__1);
|
||||
l_Lean_Elab_Command_mkDefView___closed__2 = _init_l_Lean_Elab_Command_mkDefView___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__3);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465____closed__4);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1465_(lean_io_mk_world());
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__3);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467____closed__4);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1467_(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));
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Deriving/BEq.c
generated
6
stage0/stdlib/Lean/Elab/Deriving/BEq.c
generated
|
|
@ -26,7 +26,6 @@ static lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__14;
|
|||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqEnumFun___closed__23;
|
||||
lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__14(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqEnumFun___closed__13;
|
||||
lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -249,6 +248,7 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_m
|
|||
static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqEnumFun___closed__11;
|
||||
lean_object* l_Lean_mkConst(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__8;
|
||||
lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__10(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__12;
|
||||
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___lambda__1___closed__6;
|
||||
static lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__5;
|
||||
|
|
@ -6120,7 +6120,7 @@ x_9 = lean_ctor_get(x_1, 1);
|
|||
lean_inc(x_9);
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_2);
|
||||
x_17 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__14(x_8, x_2, x_3, x_4);
|
||||
x_17 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__10(x_8, x_2, x_3, x_4);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_18;
|
||||
|
|
@ -6211,7 +6211,7 @@ _start:
|
|||
{
|
||||
lean_object* x_5;
|
||||
lean_inc(x_2);
|
||||
x_5 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__14(x_1, x_2, x_3, x_4);
|
||||
x_5 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__10(x_1, x_2, x_3, x_4);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
lean_object* x_6;
|
||||
|
|
|
|||
571
stage0/stdlib/Lean/Elab/Deriving/Basic.c
generated
571
stage0/stdlib/Lean/Elab/Deriving/Basic.c
generated
File diff suppressed because it is too large
Load diff
8
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
8
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
|
|
@ -41,7 +41,6 @@ static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAl
|
|||
lean_object* lean_nat_div(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__2;
|
||||
lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__14(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__14;
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__24;
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__1;
|
||||
|
|
@ -407,6 +406,7 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__6;
|
|||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__3___closed__5;
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__3___closed__2;
|
||||
lean_object* l_Lean_mkConst(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__10(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___closed__1;
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__19;
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__20;
|
||||
|
|
@ -6559,7 +6559,7 @@ _start:
|
|||
lean_object* x_5;
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_5 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__14(x_1, x_2, x_3, x_4);
|
||||
x_5 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__10(x_1, x_2, x_3, x_4);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
lean_object* x_6;
|
||||
|
|
@ -9383,7 +9383,7 @@ x_9 = lean_ctor_get(x_1, 1);
|
|||
lean_inc(x_9);
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_2);
|
||||
x_17 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__14(x_8, x_2, x_3, x_4);
|
||||
x_17 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__10(x_8, x_2, x_3, x_4);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_18;
|
||||
|
|
@ -9474,7 +9474,7 @@ _start:
|
|||
{
|
||||
lean_object* x_5;
|
||||
lean_inc(x_2);
|
||||
x_5 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__14(x_1, x_2, x_3, x_4);
|
||||
x_5 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__10(x_1, x_2, x_3, x_4);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
lean_object* x_6;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Deriving/FromToJson.c
generated
4
stage0/stdlib/Lean/Elab/Deriving/FromToJson.c
generated
|
|
@ -34,7 +34,6 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
|||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___lambda__1___closed__21;
|
||||
lean_object* lean_nat_div(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___lambda__1___closed__13;
|
||||
lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__14(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__11;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___lambda__1___closed__23;
|
||||
lean_object* l_Lean_LocalDecl_userName(lean_object*);
|
||||
|
|
@ -404,6 +403,7 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkConst(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__8;
|
||||
lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__10(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1828,7 +1828,7 @@ _start:
|
|||
lean_object* x_5;
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_5 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__14(x_1, x_2, x_3, x_4);
|
||||
x_5 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__10(x_1, x_2, x_3, x_4);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
lean_object* x_6;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Deriving/Inhabited.c
generated
4
stage0/stdlib/Lean/Elab/Deriving/Inhabited.c
generated
|
|
@ -30,7 +30,6 @@ static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInha
|
|||
static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__10;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__20;
|
||||
lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__14(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_instBinder;
|
||||
|
|
@ -273,6 +272,7 @@ static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInha
|
|||
LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__6;
|
||||
lean_object* l_Lean_mkConst(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__10(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_findCore___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__5___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_mkInhabitedInstanceHandler___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ForEachExpr_visit___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -11606,7 +11606,7 @@ _start:
|
|||
lean_object* x_5;
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_5 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__14(x_1, x_2, x_3, x_4);
|
||||
x_5 = l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__10(x_1, x_2, x_3, x_4);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
lean_object* x_6;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Do.c
generated
6
stage0/stdlib/Lean/Elab/Do.c
generated
|
|
@ -858,7 +858,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(lea
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__5(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_29103_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_29105_(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__9;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__3;
|
||||
|
|
@ -42997,7 +42997,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_29103_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_29105_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -45025,7 +45025,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Do_elabDo_declRange___closed_
|
|||
res = l___regBuiltin_Lean_Elab_Term_Do_elabDo_declRange(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_29103_(lean_io_mk_world());
|
||||
res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Do___hyg_29105_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandTermFor___closed__1();
|
||||
|
|
|
|||
135
stage0/stdlib/Lean/Elab/Frontend.c
generated
135
stage0/stdlib/Lean/Elab/Frontend.c
generated
|
|
@ -13,6 +13,7 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_List_mapTRAux___at_Lean_Server_ModuleRefs_instCoeModuleRefsModuleRefs___spec__4(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Frontend___hyg_801____closed__3;
|
||||
lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_runFrontend___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -73,9 +74,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg___boxed(lea
|
|||
static lean_object* l_Lean_Elab_Frontend_processCommand___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_processCommand(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg___closed__2;
|
||||
lean_object* l___private_Lean_Server_References_0__Lean_Server_toJsonIlean____x40_Lean_Server_References___hyg_752_(lean_object*);
|
||||
lean_object* l___private_Lean_Server_References_0__Lean_Server_toJsonIlean____x40_Lean_Server_References___hyg_854_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_updateCmdPos___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Elab_Frontend_processCommand___spec__1(lean_object*);
|
||||
lean_object* l_Std_HashMap_ofList___at_Lean_Server_ModuleRefs_instCoeModuleRefsModuleRefs___spec__5(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Elab_Frontend_processCommand___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_findModuleRefs(lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_elabCommandAtFrontend___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -92,6 +94,7 @@ lean_object* lean_register_option(lean_object*, lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_runCommandElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_setParserState(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMap_toList___at_Lean_Server_ModuleRefs_instCoeModuleRefsModuleRefs___spec__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_profileitIOUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Frontend_updateCmdPos___boxed(lean_object*);
|
||||
|
|
@ -2352,7 +2355,7 @@ return x_21;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_22 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_19);
|
||||
|
|
@ -2367,76 +2370,50 @@ x_26 = l_Lean_FileMap_ofString(x_5);
|
|||
x_27 = 0;
|
||||
x_28 = l_Lean_Server_findModuleRefs(x_26, x_25, x_27);
|
||||
lean_dec(x_25);
|
||||
x_29 = lean_unsigned_to_nat(1u);
|
||||
x_30 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_30, 0, x_29);
|
||||
lean_ctor_set(x_30, 1, x_6);
|
||||
lean_ctor_set(x_30, 2, x_28);
|
||||
x_31 = l___private_Lean_Server_References_0__Lean_Server_toJsonIlean____x40_Lean_Server_References___hyg_752_(x_30);
|
||||
x_32 = l_Lean_Json_compress(x_31);
|
||||
x_33 = l_IO_FS_writeFile(x_23, x_32, x_22);
|
||||
lean_dec(x_32);
|
||||
x_29 = l_Std_HashMap_toList___at_Lean_Server_ModuleRefs_instCoeModuleRefsModuleRefs___spec__1(x_28);
|
||||
x_30 = lean_box(0);
|
||||
x_31 = l_List_mapTRAux___at_Lean_Server_ModuleRefs_instCoeModuleRefsModuleRefs___spec__4(x_29, x_30);
|
||||
x_32 = l_Std_HashMap_ofList___at_Lean_Server_ModuleRefs_instCoeModuleRefsModuleRefs___spec__5(x_31);
|
||||
x_33 = lean_unsigned_to_nat(1u);
|
||||
x_34 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_34, 0, x_33);
|
||||
lean_ctor_set(x_34, 1, x_6);
|
||||
lean_ctor_set(x_34, 2, x_32);
|
||||
x_35 = l___private_Lean_Server_References_0__Lean_Server_toJsonIlean____x40_Lean_Server_References___hyg_854_(x_34);
|
||||
x_36 = l_Lean_Json_compress(x_35);
|
||||
x_37 = l_IO_FS_writeFile(x_23, x_36, x_22);
|
||||
lean_dec(x_36);
|
||||
lean_dec(x_23);
|
||||
if (lean_obj_tag(x_33) == 0)
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
x_34 = lean_ctor_get(x_33, 0);
|
||||
lean_inc(x_34);
|
||||
x_35 = lean_ctor_get(x_33, 1);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_33);
|
||||
x_36 = l_Lean_Elab_runFrontend___lambda__1(x_15, x_14, x_34, x_35);
|
||||
lean_dec(x_34);
|
||||
return x_36;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_37;
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_14);
|
||||
x_37 = !lean_is_exclusive(x_33);
|
||||
if (x_37 == 0)
|
||||
{
|
||||
return x_33;
|
||||
}
|
||||
else
|
||||
if (lean_obj_tag(x_37) == 0)
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_38 = lean_ctor_get(x_33, 0);
|
||||
x_39 = lean_ctor_get(x_33, 1);
|
||||
lean_inc(x_39);
|
||||
x_38 = lean_ctor_get(x_37, 0);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_33);
|
||||
x_40 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_38);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
x_39 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_37);
|
||||
x_40 = l_Lean_Elab_runFrontend___lambda__1(x_15, x_14, x_38, x_39);
|
||||
lean_dec(x_38);
|
||||
return x_40;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_41;
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_41 = !lean_is_exclusive(x_19);
|
||||
x_41 = !lean_is_exclusive(x_37);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
return x_19;
|
||||
return x_37;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_42 = lean_ctor_get(x_19, 0);
|
||||
x_43 = lean_ctor_get(x_19, 1);
|
||||
x_42 = lean_ctor_get(x_37, 0);
|
||||
x_43 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_43);
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_37);
|
||||
x_44 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_42);
|
||||
lean_ctor_set(x_44, 1, x_43);
|
||||
|
|
@ -2444,30 +2421,60 @@ return x_44;
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_45;
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_45 = !lean_is_exclusive(x_19);
|
||||
if (x_45 == 0)
|
||||
{
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
x_46 = lean_ctor_get(x_19, 0);
|
||||
x_47 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_47);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_19);
|
||||
x_48 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_46);
|
||||
lean_ctor_set(x_48, 1, x_47);
|
||||
return x_48;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_49;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_45 = !lean_is_exclusive(x_10);
|
||||
if (x_45 == 0)
|
||||
x_49 = !lean_is_exclusive(x_10);
|
||||
if (x_49 == 0)
|
||||
{
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
x_46 = lean_ctor_get(x_10, 0);
|
||||
x_47 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_47);
|
||||
lean_inc(x_46);
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_50 = lean_ctor_get(x_10, 0);
|
||||
x_51 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_51);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_10);
|
||||
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;
|
||||
x_52 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_50);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
return x_52;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Inductive.c
generated
4
stage0/stdlib/Lean/Elab/Inductive.c
generated
|
|
@ -299,6 +299,7 @@ lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__2(lean_object*,
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_accLevelAtCtor___lambda__2___closed__4;
|
||||
lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkBInductionOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -727,7 +728,6 @@ static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__
|
|||
static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__4;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5892____closed__1;
|
||||
LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_accLevelAtCtor___lambda__2___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -13238,7 +13238,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5892____closed__4;
|
||||
x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5892____closed__6;
|
||||
x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(x_2, x_3, x_1);
|
||||
x_4 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
119
stage0/stdlib/Lean/Elab/Match.c
generated
119
stage0/stdlib/Lean/Elab/Match.c
generated
|
|
@ -38232,43 +38232,12 @@ lean_inc(x_9);
|
|||
x_39 = l_Lean_Meta_Match_mkMatcher(x_38, x_9, x_10, x_11, x_12, x_34);
|
||||
if (lean_obj_tag(x_39) == 0)
|
||||
{
|
||||
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43;
|
||||
lean_object* x_40; lean_object* x_41; lean_object* x_42;
|
||||
x_40 = lean_ctor_get(x_39, 0);
|
||||
lean_inc(x_40);
|
||||
x_41 = lean_ctor_get(x_39, 1);
|
||||
lean_inc(x_41);
|
||||
lean_dec(x_39);
|
||||
x_42 = lean_ctor_get(x_40, 3);
|
||||
lean_inc(x_42);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
x_43 = lean_apply_5(x_42, x_9, x_10, x_11, x_12, x_41);
|
||||
if (lean_obj_tag(x_43) == 0)
|
||||
{
|
||||
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47;
|
||||
x_44 = lean_ctor_get(x_43, 1);
|
||||
lean_inc(x_44);
|
||||
lean_dec(x_43);
|
||||
x_45 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_45, 0, x_30);
|
||||
x_46 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4___closed__1;
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
x_47 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_23, x_45, x_46, x_7, x_8, x_9, x_10, x_11, x_12, x_44);
|
||||
if (lean_obj_tag(x_47) == 0)
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
x_48 = lean_ctor_get(x_47, 0);
|
||||
lean_inc(x_48);
|
||||
x_49 = lean_ctor_get(x_47, 1);
|
||||
lean_inc(x_49);
|
||||
lean_dec(x_47);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
|
|
@ -38276,24 +38245,55 @@ lean_inc(x_9);
|
|||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_40);
|
||||
x_50 = l_Lean_Elab_Term_reportMatcherResultErrors(x_24, x_40, x_7, x_8, x_9, x_10, x_11, x_12, x_49);
|
||||
if (lean_obj_tag(x_50) == 0)
|
||||
x_42 = l_Lean_Elab_Term_reportMatcherResultErrors(x_24, x_40, x_7, x_8, x_9, x_10, x_11, x_12, x_41);
|
||||
if (lean_obj_tag(x_42) == 0)
|
||||
{
|
||||
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76;
|
||||
x_51 = lean_ctor_get(x_50, 1);
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_43 = lean_ctor_get(x_42, 1);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_42);
|
||||
x_44 = lean_ctor_get(x_40, 3);
|
||||
lean_inc(x_44);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
x_45 = lean_apply_5(x_44, x_9, x_10, x_11, x_12, x_43);
|
||||
if (lean_obj_tag(x_45) == 0)
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49;
|
||||
x_46 = lean_ctor_get(x_45, 1);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_45);
|
||||
x_47 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_47, 0, x_30);
|
||||
x_48 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4___closed__1;
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
x_49 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_23, x_47, x_48, x_7, x_8, x_9, x_10, x_11, x_12, x_46);
|
||||
if (lean_obj_tag(x_49) == 0)
|
||||
{
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76;
|
||||
x_50 = lean_ctor_get(x_49, 0);
|
||||
lean_inc(x_50);
|
||||
x_51 = lean_ctor_get(x_49, 1);
|
||||
lean_inc(x_51);
|
||||
if (lean_is_exclusive(x_50)) {
|
||||
lean_ctor_release(x_50, 0);
|
||||
lean_ctor_release(x_50, 1);
|
||||
x_52 = x_50;
|
||||
if (lean_is_exclusive(x_49)) {
|
||||
lean_ctor_release(x_49, 0);
|
||||
lean_ctor_release(x_49, 1);
|
||||
x_52 = x_49;
|
||||
} else {
|
||||
lean_dec_ref(x_50);
|
||||
lean_dec_ref(x_49);
|
||||
x_52 = lean_box(0);
|
||||
}
|
||||
x_53 = lean_ctor_get(x_40, 0);
|
||||
lean_inc(x_53);
|
||||
lean_dec(x_40);
|
||||
x_54 = l_Lean_mkApp(x_53, x_48);
|
||||
x_54 = l_Lean_mkApp(x_53, x_50);
|
||||
x_55 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__1(x_35, x_36, x_22);
|
||||
x_56 = l_Lean_mkAppN(x_54, x_55);
|
||||
x_57 = l_Lean_mkAppN(x_56, x_26);
|
||||
|
|
@ -38403,7 +38403,6 @@ return x_71;
|
|||
else
|
||||
{
|
||||
uint8_t x_84;
|
||||
lean_dec(x_48);
|
||||
lean_dec(x_40);
|
||||
lean_dec(x_26);
|
||||
lean_dec(x_22);
|
||||
|
|
@ -38413,19 +38412,19 @@ lean_dec(x_10);
|
|||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
x_84 = !lean_is_exclusive(x_50);
|
||||
x_84 = !lean_is_exclusive(x_49);
|
||||
if (x_84 == 0)
|
||||
{
|
||||
return x_50;
|
||||
return x_49;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_85; lean_object* x_86; lean_object* x_87;
|
||||
x_85 = lean_ctor_get(x_50, 0);
|
||||
x_86 = lean_ctor_get(x_50, 1);
|
||||
x_85 = lean_ctor_get(x_49, 0);
|
||||
x_86 = lean_ctor_get(x_49, 1);
|
||||
lean_inc(x_86);
|
||||
lean_inc(x_85);
|
||||
lean_dec(x_50);
|
||||
lean_dec(x_49);
|
||||
x_87 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_87, 0, x_85);
|
||||
lean_ctor_set(x_87, 1, x_86);
|
||||
|
|
@ -38437,8 +38436,9 @@ else
|
|||
{
|
||||
uint8_t x_88;
|
||||
lean_dec(x_40);
|
||||
lean_dec(x_30);
|
||||
lean_dec(x_26);
|
||||
lean_dec(x_24);
|
||||
lean_dec(x_23);
|
||||
lean_dec(x_22);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
|
|
@ -38446,19 +38446,19 @@ lean_dec(x_10);
|
|||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
x_88 = !lean_is_exclusive(x_47);
|
||||
x_88 = !lean_is_exclusive(x_45);
|
||||
if (x_88 == 0)
|
||||
{
|
||||
return x_47;
|
||||
return x_45;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_89; lean_object* x_90; lean_object* x_91;
|
||||
x_89 = lean_ctor_get(x_47, 0);
|
||||
x_90 = lean_ctor_get(x_47, 1);
|
||||
x_89 = lean_ctor_get(x_45, 0);
|
||||
x_90 = lean_ctor_get(x_45, 1);
|
||||
lean_inc(x_90);
|
||||
lean_inc(x_89);
|
||||
lean_dec(x_47);
|
||||
lean_dec(x_45);
|
||||
x_91 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_91, 0, x_89);
|
||||
lean_ctor_set(x_91, 1, x_90);
|
||||
|
|
@ -38472,7 +38472,6 @@ uint8_t x_92;
|
|||
lean_dec(x_40);
|
||||
lean_dec(x_30);
|
||||
lean_dec(x_26);
|
||||
lean_dec(x_24);
|
||||
lean_dec(x_23);
|
||||
lean_dec(x_22);
|
||||
lean_dec(x_12);
|
||||
|
|
@ -38481,19 +38480,19 @@ lean_dec(x_10);
|
|||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
x_92 = !lean_is_exclusive(x_43);
|
||||
x_92 = !lean_is_exclusive(x_42);
|
||||
if (x_92 == 0)
|
||||
{
|
||||
return x_43;
|
||||
return x_42;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_93; lean_object* x_94; lean_object* x_95;
|
||||
x_93 = lean_ctor_get(x_43, 0);
|
||||
x_94 = lean_ctor_get(x_43, 1);
|
||||
x_93 = lean_ctor_get(x_42, 0);
|
||||
x_94 = lean_ctor_get(x_42, 1);
|
||||
lean_inc(x_94);
|
||||
lean_inc(x_93);
|
||||
lean_dec(x_43);
|
||||
lean_dec(x_42);
|
||||
x_95 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_95, 0, x_93);
|
||||
lean_ctor_set(x_95, 1, x_94);
|
||||
|
|
|
|||
4604
stage0/stdlib/Lean/Elab/MutualDef.c
generated
4604
stage0/stdlib/Lean/Elab/MutualDef.c
generated
File diff suppressed because it is too large
Load diff
8
stage0/stdlib/Lean/Elab/PreDefinition/Main.c
generated
8
stage0/stdlib/Lean/Elab/PreDefinition/Main.c
generated
|
|
@ -367,7 +367,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions
|
|||
lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_TerminationHints_decreasingBy_x3f___default;
|
||||
lean_object* l_instMonadControlT__1___rarg(lean_object*);
|
||||
uint8_t l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_13_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_15_(uint8_t, uint8_t);
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__20(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__17(lean_object*, size_t, size_t);
|
||||
|
|
@ -6025,7 +6025,7 @@ x_5 = lean_array_uget(x_1, x_2);
|
|||
x_6 = lean_ctor_get_uint8(x_5, sizeof(void*)*6);
|
||||
lean_dec(x_5);
|
||||
x_7 = 4;
|
||||
x_8 = l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_13_(x_6, x_7);
|
||||
x_8 = l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_15_(x_6, x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
uint8_t x_9;
|
||||
|
|
@ -6061,7 +6061,7 @@ x_9 = lean_array_uget(x_5, x_6);
|
|||
x_10 = lean_ctor_get_uint8(x_9, sizeof(void*)*6);
|
||||
lean_dec(x_9);
|
||||
x_11 = 0;
|
||||
x_12 = l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_13_(x_10, x_11);
|
||||
x_12 = l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_15_(x_10, x_11);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13; uint8_t x_14;
|
||||
|
|
@ -6137,7 +6137,7 @@ x_5 = lean_array_uget(x_1, x_2);
|
|||
x_6 = lean_ctor_get_uint8(x_5, sizeof(void*)*6);
|
||||
lean_dec(x_5);
|
||||
x_7 = 1;
|
||||
x_8 = l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_13_(x_6, x_7);
|
||||
x_8 = l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_15_(x_6, x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
uint8_t x_9;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c
generated
6
stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c
generated
|
|
@ -175,7 +175,7 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinitio
|
|||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__4;
|
||||
uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t);
|
||||
uint8_t l_Lean_Expr_binderInfo(lean_object*);
|
||||
static lean_object* l_Lean_Elab_getFixedPrefix___lambda__2___closed__1;
|
||||
static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__2;
|
||||
|
|
@ -1748,7 +1748,7 @@ x_28 = l_Lean_Expr_binderInfo(x_13);
|
|||
lean_dec(x_13);
|
||||
x_29 = l_Lean_Expr_binderInfo(x_17);
|
||||
lean_dec(x_17);
|
||||
x_30 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_28, x_29);
|
||||
x_30 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_28, x_29);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
uint8_t x_31; lean_object* x_32;
|
||||
|
|
@ -1829,7 +1829,7 @@ x_47 = l_Lean_Expr_binderInfo(x_13);
|
|||
lean_dec(x_13);
|
||||
x_48 = l_Lean_Expr_binderInfo(x_17);
|
||||
lean_dec(x_17);
|
||||
x_49 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_47, x_48);
|
||||
x_49 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_47, x_48);
|
||||
if (x_49 == 0)
|
||||
{
|
||||
uint8_t x_50; lean_object* x_51; lean_object* x_52;
|
||||
|
|
|
|||
392
stage0/stdlib/Lean/Elab/Quotation/Util.c
generated
392
stage0/stdlib/Lean/Elab/Quotation/Util.c
generated
|
|
@ -17,7 +17,6 @@ uint8_t l_Lean_Syntax_isQuot(lean_object*);
|
|||
size_t lean_usize_add(size_t, size_t);
|
||||
uint8_t l_Lean_Syntax_isTokenAntiquot(lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__13;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
extern lean_object* l_Lean_nullKind;
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
|
|
@ -26,31 +25,32 @@ lean_object* lean_array_uget(lean_object*, size_t);
|
|||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_getPatternVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__15;
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__7;
|
||||
lean_object* l_Lean_Syntax_getAntiquotTerm(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_getPatternsVars___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Util___hyg_7_(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_getPatternsVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__6;
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_getPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__10;
|
||||
static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__11;
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__5;
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__14;
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__2;
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Util___hyg_7____closed__1;
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Util___hyg_7____closed__4;
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__9;
|
||||
static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__9;
|
||||
lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_getPatternsVars___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*);
|
||||
extern lean_object* l_Lean_choiceKind;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -63,12 +63,12 @@ uint8_t l_Lean_Syntax_isAntiquot(lean_object*);
|
|||
static lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds___closed__1;
|
||||
uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__8;
|
||||
static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__1;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__4;
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getPatternVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -76,6 +76,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_getPatternsVars___boxed(lean
|
|||
static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__2;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__5;
|
||||
lean_object* l_Lean_indentD(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isEscapedAntiquot(lean_object*);
|
||||
|
|
@ -83,9 +84,8 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_getPatt
|
|||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Util___hyg_7____closed__2;
|
||||
lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__11;
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_hygiene;
|
||||
static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__6;
|
||||
static lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__3;
|
||||
lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
|
|
@ -529,15 +529,87 @@ static lean_object* _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_El
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("complex antiquotation not allowed here", 38);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__2;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Parser", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__3;
|
||||
x_2 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__4;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Term", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__5;
|
||||
x_2 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__6;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("hole", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__7;
|
||||
x_2 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__8;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("complex antiquotation not allowed here", 38);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__2;
|
||||
x_1 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__10;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -545,52 +617,14 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_61; uint8_t x_69;
|
||||
x_69 = l_Lean_Syntax_isAntiquot(x_2);
|
||||
if (x_69 == 0)
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_61; uint8_t x_76;
|
||||
x_76 = l_Lean_Syntax_isAntiquot(x_2);
|
||||
if (x_76 == 0)
|
||||
{
|
||||
uint8_t x_70;
|
||||
uint8_t x_77;
|
||||
lean_inc(x_2);
|
||||
x_70 = l_Lean_Syntax_isTokenAntiquot(x_2);
|
||||
if (x_70 == 0)
|
||||
{
|
||||
lean_object* x_71;
|
||||
x_71 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_71, 0, x_3);
|
||||
x_12 = x_71;
|
||||
x_13 = x_11;
|
||||
goto block_60;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_72;
|
||||
x_72 = l_Lean_Syntax_isEscapedAntiquot(x_2);
|
||||
if (x_72 == 0)
|
||||
{
|
||||
lean_object* x_73; uint8_t x_74;
|
||||
x_73 = l_Lean_Syntax_getAntiquotTerm(x_2);
|
||||
x_74 = l_Lean_Syntax_isIdent(x_73);
|
||||
if (x_74 == 0)
|
||||
{
|
||||
lean_object* x_75;
|
||||
lean_dec(x_73);
|
||||
lean_dec(x_3);
|
||||
x_75 = lean_box(0);
|
||||
x_61 = x_75;
|
||||
goto block_68;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77;
|
||||
x_76 = lean_array_push(x_3, x_73);
|
||||
x_77 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_77, 0, x_76);
|
||||
x_12 = x_77;
|
||||
x_13 = x_11;
|
||||
goto block_60;
|
||||
}
|
||||
}
|
||||
else
|
||||
x_77 = l_Lean_Syntax_isTokenAntiquot(x_2);
|
||||
if (x_77 == 0)
|
||||
{
|
||||
lean_object* x_78;
|
||||
x_78 = lean_alloc_ctor(1, 1, 0);
|
||||
|
|
@ -599,43 +633,45 @@ x_12 = x_78;
|
|||
x_13 = x_11;
|
||||
goto block_60;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_79;
|
||||
x_79 = l_Lean_Syntax_isEscapedAntiquot(x_2);
|
||||
if (x_79 == 0)
|
||||
{
|
||||
lean_object* x_80; uint8_t x_81;
|
||||
x_80 = l_Lean_Syntax_getAntiquotTerm(x_2);
|
||||
x_81 = l_Lean_Syntax_isIdent(x_80);
|
||||
if (x_81 == 0)
|
||||
{
|
||||
lean_object* x_82;
|
||||
lean_dec(x_80);
|
||||
lean_dec(x_3);
|
||||
x_82 = lean_box(0);
|
||||
x_61 = x_82;
|
||||
goto block_68;
|
||||
lean_object* x_80;
|
||||
x_80 = lean_box(0);
|
||||
x_61 = x_80;
|
||||
goto block_75;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_83; lean_object* x_84;
|
||||
x_83 = lean_array_push(x_3, x_80);
|
||||
x_84 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_84, 0, x_83);
|
||||
x_12 = x_84;
|
||||
lean_object* x_81;
|
||||
x_81 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_81, 0, x_3);
|
||||
x_12 = x_81;
|
||||
x_13 = x_11;
|
||||
goto block_60;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_85;
|
||||
x_85 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_85, 0, x_3);
|
||||
x_12 = x_85;
|
||||
uint8_t x_82;
|
||||
x_82 = l_Lean_Syntax_isEscapedAntiquot(x_2);
|
||||
if (x_82 == 0)
|
||||
{
|
||||
lean_object* x_83;
|
||||
x_83 = lean_box(0);
|
||||
x_61 = x_83;
|
||||
goto block_75;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_84;
|
||||
x_84 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_84, 0, x_3);
|
||||
x_12 = x_84;
|
||||
x_13 = x_11;
|
||||
goto block_60;
|
||||
}
|
||||
|
|
@ -847,34 +883,66 @@ x_59 = lean_apply_9(x_15, x_14, x_58, x_5, x_6, x_7, x_8, x_9, x_10, x_13);
|
|||
return x_59;
|
||||
}
|
||||
}
|
||||
block_68:
|
||||
block_75:
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63; uint8_t x_64;
|
||||
lean_object* x_62; uint8_t x_63;
|
||||
lean_dec(x_61);
|
||||
x_62 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__3;
|
||||
x_63 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(x_2, x_62, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
|
||||
x_62 = l_Lean_Syntax_getAntiquotTerm(x_2);
|
||||
x_63 = l_Lean_Syntax_isIdent(x_62);
|
||||
if (x_63 == 0)
|
||||
{
|
||||
lean_object* x_64; uint8_t x_65;
|
||||
x_64 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__9;
|
||||
x_65 = l_Lean_Syntax_isOfKind(x_62, x_64);
|
||||
if (x_65 == 0)
|
||||
{
|
||||
lean_object* x_66; lean_object* x_67; uint8_t x_68;
|
||||
lean_dec(x_3);
|
||||
x_66 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__11;
|
||||
x_67 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__1(x_2, x_66, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_2);
|
||||
x_64 = !lean_is_exclusive(x_63);
|
||||
if (x_64 == 0)
|
||||
x_68 = !lean_is_exclusive(x_67);
|
||||
if (x_68 == 0)
|
||||
{
|
||||
return x_63;
|
||||
return x_67;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_65; lean_object* x_66; lean_object* x_67;
|
||||
x_65 = lean_ctor_get(x_63, 0);
|
||||
x_66 = lean_ctor_get(x_63, 1);
|
||||
lean_inc(x_66);
|
||||
lean_inc(x_65);
|
||||
lean_dec(x_63);
|
||||
x_67 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_67, 0, x_65);
|
||||
lean_ctor_set(x_67, 1, x_66);
|
||||
return x_67;
|
||||
lean_object* x_69; lean_object* x_70; lean_object* x_71;
|
||||
x_69 = lean_ctor_get(x_67, 0);
|
||||
x_70 = lean_ctor_get(x_67, 1);
|
||||
lean_inc(x_70);
|
||||
lean_inc(x_69);
|
||||
lean_dec(x_67);
|
||||
x_71 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_69);
|
||||
lean_ctor_set(x_71, 1, x_70);
|
||||
return x_71;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_72;
|
||||
x_72 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_72, 0, x_3);
|
||||
x_12 = x_72;
|
||||
x_13 = x_11;
|
||||
goto block_60;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_73; lean_object* x_74;
|
||||
x_73 = lean_array_push(x_3, x_62);
|
||||
x_74 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_74, 0, x_73);
|
||||
x_12 = x_74;
|
||||
x_13 = x_11;
|
||||
goto block_60;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1129,7 +1197,7 @@ static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__1(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
x_1 = lean_mk_string_from_bytes("ident", 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1147,7 +1215,7 @@ static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__3(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Parser", 6);
|
||||
x_1 = lean_mk_string_from_bytes("namedPattern", 12);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1155,7 +1223,7 @@ static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__4(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__2;
|
||||
x_1 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__7;
|
||||
x_2 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -1165,92 +1233,20 @@ static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__5(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Term", 4);
|
||||
x_1 = lean_mk_string_from_bytes("unsupported pattern in syntax match", 35);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__4;
|
||||
x_2 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__5;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("hole", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__6;
|
||||
x_2 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__7;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("ident", 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__9;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("namedPattern", 12);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__6;
|
||||
x_2 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__11;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("unsupported pattern in syntax match", 35);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__13;
|
||||
x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__5;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__15() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -1259,7 +1255,7 @@ x_2 = l_Lean_stringToMessageData(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__16() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -1276,19 +1272,19 @@ x_9 = l_Lean_Syntax_isQuot(x_1);
|
|||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; uint8_t x_11;
|
||||
x_10 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__8;
|
||||
x_10 = l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__9;
|
||||
lean_inc(x_1);
|
||||
x_11 = l_Lean_Syntax_isOfKind(x_1, x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; uint8_t x_13;
|
||||
x_12 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__10;
|
||||
x_12 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__2;
|
||||
lean_inc(x_1);
|
||||
x_13 = l_Lean_Syntax_isOfKind(x_1, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; uint8_t x_15;
|
||||
x_14 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__12;
|
||||
x_14 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__4;
|
||||
lean_inc(x_1);
|
||||
x_15 = l_Lean_Syntax_isOfKind(x_1, x_14);
|
||||
if (x_15 == 0)
|
||||
|
|
@ -1298,11 +1294,11 @@ lean_inc(x_1);
|
|||
x_16 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_16, 0, x_1);
|
||||
x_17 = l_Lean_indentD(x_16);
|
||||
x_18 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__14;
|
||||
x_18 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__6;
|
||||
x_19 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
lean_ctor_set(x_19, 1, x_17);
|
||||
x_20 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__15;
|
||||
x_20 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__7;
|
||||
x_21 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_19);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
|
|
@ -1324,11 +1320,11 @@ lean_inc(x_1);
|
|||
x_26 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_26, 0, x_1);
|
||||
x_27 = l_Lean_indentD(x_26);
|
||||
x_28 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__14;
|
||||
x_28 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__6;
|
||||
x_29 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
lean_ctor_set(x_29, 1, x_27);
|
||||
x_30 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__15;
|
||||
x_30 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__7;
|
||||
x_31 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_29);
|
||||
lean_ctor_set(x_31, 1, x_30);
|
||||
|
|
@ -1350,11 +1346,11 @@ lean_inc(x_1);
|
|||
x_37 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_37, 0, x_1);
|
||||
x_38 = l_Lean_indentD(x_37);
|
||||
x_39 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__14;
|
||||
x_39 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__6;
|
||||
x_40 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_39);
|
||||
lean_ctor_set(x_40, 1, x_38);
|
||||
x_41 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__15;
|
||||
x_41 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__7;
|
||||
x_42 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_40);
|
||||
lean_ctor_set(x_42, 1, x_41);
|
||||
|
|
@ -1431,7 +1427,7 @@ lean_dec(x_5);
|
|||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_58 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__16;
|
||||
x_58 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__8;
|
||||
x_59 = lean_array_push(x_58, x_1);
|
||||
x_60 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_60, 0, x_59);
|
||||
|
|
@ -1667,6 +1663,22 @@ l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiq
|
|||
lean_mark_persistent(l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__2);
|
||||
l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__3 = _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__3();
|
||||
lean_mark_persistent(l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__3);
|
||||
l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__4 = _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__4();
|
||||
lean_mark_persistent(l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__4);
|
||||
l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__5 = _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__5();
|
||||
lean_mark_persistent(l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__5);
|
||||
l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__6 = _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__6();
|
||||
lean_mark_persistent(l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__6);
|
||||
l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__7 = _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__7();
|
||||
lean_mark_persistent(l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__7);
|
||||
l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__8 = _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__8();
|
||||
lean_mark_persistent(l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__8);
|
||||
l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__9 = _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__9();
|
||||
lean_mark_persistent(l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__9);
|
||||
l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__10 = _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__10();
|
||||
lean_mark_persistent(l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__10);
|
||||
l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__11 = _init_l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__11();
|
||||
lean_mark_persistent(l_Lean_Syntax_instForInTopDownSyntax_loop___at_Lean_Elab_Term_Quotation_getAntiquotationIds___spec__2___closed__11);
|
||||
l_Lean_Elab_Term_Quotation_getAntiquotationIds___closed__1 = _init_l_Lean_Elab_Term_Quotation_getAntiquotationIds___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getAntiquotationIds___closed__1);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__1 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__1();
|
||||
|
|
@ -1685,22 +1697,6 @@ l_Lean_Elab_Term_Quotation_getPatternVars___closed__7 = _init_l_Lean_Elab_Term_Q
|
|||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__7);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__8 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__8);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__9 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__9);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__10 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__10();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__10);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__11 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__11();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__11);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__12 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__12();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__12);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__13 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__13();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__13);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__14 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__14();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__14);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__15 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__15();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__15);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__16 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__16();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__16);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
670
stage0/stdlib/Lean/Elab/Structure.c
generated
670
stage0/stdlib/Lean/Elab/Structure.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/Elab/Syntax.c
generated
4
stage0/stdlib/Lean/Elab/Syntax.c
generated
|
|
@ -523,7 +523,7 @@ lean_object* l_Lean_Syntax_getKind(lean_object*);
|
|||
uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__5___closed__11;
|
||||
static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__4;
|
||||
uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_8586_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_8588_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNestedParser___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_checkLeftRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3726,7 +3726,7 @@ _start:
|
|||
lean_object* x_12; uint8_t x_60; uint8_t x_61; uint8_t x_62;
|
||||
x_60 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2);
|
||||
x_61 = 0;
|
||||
x_62 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_8586_(x_60, x_61);
|
||||
x_62 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_8588_(x_60, x_61);
|
||||
if (x_62 == 0)
|
||||
{
|
||||
uint8_t x_63;
|
||||
|
|
|
|||
104
stage0/stdlib/Lean/Elab/SyntheticMVars.c
generated
104
stage0/stdlib/Lean/Elab/SyntheticMVars.c
generated
|
|
@ -296,7 +296,7 @@ lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_objec
|
|||
lean_object* l_Lean_Elab_Term_reportUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t);
|
||||
uint64_t lean_uint64_mix_hash(uint64_t, uint64_t);
|
||||
lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_HashSetImp_expand___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__5(lean_object*, lean_object*);
|
||||
|
|
@ -315,6 +315,7 @@ LEAN_EXPORT lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVa
|
|||
LEAN_EXPORT lean_object* l_Std_HashSetImp_moveEntries___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__6(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getDefaultInstancesPriorities___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefault___spec__1___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__15;
|
||||
static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__18;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefault___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -333,7 +334,6 @@ lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_o
|
|||
lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_forIn_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefault___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_hasErrors___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3(lean_object*, lean_object*);
|
||||
lean_object* l_List_appendTR___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_reportStuckSyntheticMVar(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -4495,7 +4495,7 @@ x_22 = lean_array_get(x_21, x_2, x_4);
|
|||
x_23 = lean_unbox(x_22);
|
||||
lean_dec(x_22);
|
||||
x_24 = 3;
|
||||
x_25 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_23, x_24);
|
||||
x_25 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_23, x_24);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
lean_object* x_26;
|
||||
|
|
@ -6382,65 +6382,93 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_reportStuckSyntheticMVar___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_9 = l_Lean_Elab_Term_getMVarDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
x_10 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_9);
|
||||
x_12 = l_Lean_Core_hasErrors___rarg(x_7, x_11);
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_13);
|
||||
x_14 = lean_unbox(x_13);
|
||||
lean_dec(x_13);
|
||||
if (x_14 == 0)
|
||||
x_12 = lean_st_ref_get(x_7, x_11);
|
||||
x_13 = !lean_is_exclusive(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17;
|
||||
x_14 = lean_ctor_get(x_12, 0);
|
||||
x_15 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_12);
|
||||
x_16 = lean_ctor_get(x_10, 2);
|
||||
x_16 = lean_ctor_get(x_14, 5);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_14);
|
||||
x_17 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_16);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
lean_free_object(x_12);
|
||||
x_18 = lean_ctor_get(x_10, 2);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_10);
|
||||
x_17 = l_Lean_indentExpr(x_16);
|
||||
x_18 = l_Lean_Elab_Term_reportStuckSyntheticMVar___lambda__1___closed__2;
|
||||
x_19 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
lean_ctor_set(x_19, 1, x_17);
|
||||
x_20 = l_Lean_Elab_Term_reportStuckSyntheticMVar___lambda__1___closed__4;
|
||||
x_19 = l_Lean_indentExpr(x_18);
|
||||
x_20 = l_Lean_Elab_Term_reportStuckSyntheticMVar___lambda__1___closed__2;
|
||||
x_21 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_19);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
x_22 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_15);
|
||||
return x_22;
|
||||
lean_ctor_set(x_21, 0, x_20);
|
||||
lean_ctor_set(x_21, 1, x_19);
|
||||
x_22 = l_Lean_Elab_Term_reportStuckSyntheticMVar___lambda__1___closed__4;
|
||||
x_23 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_21);
|
||||
lean_ctor_set(x_23, 1, x_22);
|
||||
x_24 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_15);
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_23;
|
||||
lean_object* x_25;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_2);
|
||||
x_23 = !lean_is_exclusive(x_12);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25;
|
||||
x_24 = lean_ctor_get(x_12, 0);
|
||||
lean_dec(x_24);
|
||||
x_25 = lean_box(0);
|
||||
lean_ctor_set(x_12, 0, x_25);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_26 = lean_ctor_get(x_12, 1);
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29;
|
||||
x_26 = lean_ctor_get(x_12, 0);
|
||||
x_27 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_27);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_12);
|
||||
x_27 = lean_box(0);
|
||||
x_28 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_26);
|
||||
return x_28;
|
||||
x_28 = lean_ctor_get(x_26, 5);
|
||||
lean_inc(x_28);
|
||||
lean_dec(x_26);
|
||||
x_29 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_28);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
x_30 = lean_ctor_get(x_10, 2);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_10);
|
||||
x_31 = l_Lean_indentExpr(x_30);
|
||||
x_32 = l_Lean_Elab_Term_reportStuckSyntheticMVar___lambda__1___closed__2;
|
||||
x_33 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_32);
|
||||
lean_ctor_set(x_33, 1, x_31);
|
||||
x_34 = l_Lean_Elab_Term_reportStuckSyntheticMVar___lambda__1___closed__4;
|
||||
x_35 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_33);
|
||||
lean_ctor_set(x_35, 1, x_34);
|
||||
x_36 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_27);
|
||||
return x_36;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_2);
|
||||
x_37 = lean_box(0);
|
||||
x_38 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_37);
|
||||
lean_ctor_set(x_38, 1, x_27);
|
||||
return x_38;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
|
|
@ -108,7 +108,7 @@ static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__4;
|
|||
LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___rarg(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_done___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__1;
|
||||
|
|
@ -7233,7 +7233,7 @@ _start:
|
|||
{
|
||||
lean_object* x_13; uint8_t x_256; uint8_t x_257;
|
||||
x_256 = 2;
|
||||
x_257 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(x_3, x_256);
|
||||
x_257 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(x_3, x_256);
|
||||
if (x_257 == 0)
|
||||
{
|
||||
lean_object* x_258;
|
||||
|
|
|
|||
18
stage0/stdlib/Lean/Elab/Tactic/Simp.c
generated
18
stage0/stdlib/Lean/Elab/Tactic/Simp.c
generated
|
|
@ -51,7 +51,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_SimpKind_toCtorIdx(uint8_t);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticToDischarge___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SimpExtension_getTheorems(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_368_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_370_(uint8_t, uint8_t);
|
||||
lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstCore___spec__2(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Format_defWidth;
|
||||
|
|
@ -133,10 +133,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpContext___boxed(lean_object*,
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__1___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_LocalContext_empty;
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimp(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_368____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAll(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpTheorem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_370____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_PersistentHashMap_contains___at_Lean_Meta_SimpTheorems_erase___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_elabSimpArgs___spec__1___rarg___closed__2;
|
||||
|
|
@ -2803,7 +2803,7 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_368_(uint8_t x_1, uint8_t x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_370_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -2815,7 +2815,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_368____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_370____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -2823,7 +2823,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_368_(x_3, x_4);
|
||||
x_5 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_370_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -2832,7 +2832,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_instBEqSimpKind___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_368____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_370____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -4081,7 +4081,7 @@ _start:
|
|||
{
|
||||
uint8_t x_10; uint8_t x_11;
|
||||
x_10 = 2;
|
||||
x_11 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_368_(x_1, x_10);
|
||||
x_11 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_370_(x_1, x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12;
|
||||
|
|
@ -11537,7 +11537,7 @@ _start:
|
|||
{
|
||||
uint8_t x_13; uint8_t x_14;
|
||||
x_13 = 2;
|
||||
x_14 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_368_(x_1, x_13);
|
||||
x_14 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_370_(x_1, x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
|
|
@ -11619,7 +11619,7 @@ if (x_20 == 0)
|
|||
uint8_t x_21; uint8_t x_22;
|
||||
lean_dec(x_1);
|
||||
x_21 = 1;
|
||||
x_22 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_368_(x_3, x_21);
|
||||
x_22 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_370_(x_3, x_21);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24;
|
||||
|
|
|
|||
465
stage0/stdlib/Lean/Elab/Term.c
generated
465
stage0/stdlib/Lean/Elab/Term.c
generated
|
|
@ -330,7 +330,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg(lean_object*, lean
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_collectUnassignedMVars_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_collectUnassignedMVars_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__6;
|
||||
static lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__2;
|
||||
|
|
@ -403,7 +403,6 @@ static lean_object* l_Lean_Elab_Term_instToStringMVarErrorKind___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDeclId___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(lean_object*, uint8_t);
|
||||
uint8_t l_Lean_MetavarContext_isExprAssigned(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1042,7 +1041,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_instAddErrorMessageContextTermElabM___
|
|||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__1(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__8;
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_13_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_15_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__3;
|
||||
lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
|
|
@ -1199,6 +1198,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__1(lean_object*,
|
|||
static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__11;
|
||||
lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__2;
|
||||
uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_resetMessageLog(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1223,6 +1223,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(lea
|
|||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5883____closed__1;
|
||||
uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwMVarError(lean_object*);
|
||||
uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(lean_object*, uint8_t);
|
||||
static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_observing___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__2___closed__1;
|
||||
|
|
@ -1295,7 +1296,6 @@ static lean_object* l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___close
|
|||
static lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__2___closed__3;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
extern lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors;
|
||||
lean_object* l_Lean_Core_hasErrors___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_throwMVarError___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -9421,58 +9421,84 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwErrorIfErrors(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; uint8_t x_10;
|
||||
x_8 = l_Lean_Core_hasErrors___rarg(x_6, x_7);
|
||||
x_9 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_unbox(x_9);
|
||||
lean_dec(x_9);
|
||||
if (x_10 == 0)
|
||||
lean_object* x_8; uint8_t x_9;
|
||||
x_8 = lean_st_ref_get(x_6, x_7);
|
||||
x_9 = !lean_is_exclusive(x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
uint8_t x_11;
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_10 = lean_ctor_get(x_8, 0);
|
||||
x_11 = lean_ctor_get(x_8, 1);
|
||||
x_12 = lean_ctor_get(x_10, 5);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_11 = !lean_is_exclusive(x_8);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13;
|
||||
x_12 = lean_ctor_get(x_8, 0);
|
||||
lean_dec(x_12);
|
||||
x_13 = lean_box(0);
|
||||
lean_ctor_set(x_8, 0, x_13);
|
||||
x_14 = lean_box(0);
|
||||
lean_ctor_set(x_8, 0, x_14);
|
||||
return x_8;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_14 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_8);
|
||||
x_15 = lean_box(0);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_17 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_8);
|
||||
x_18 = l_Lean_Elab_Term_throwErrorIfErrors___closed__2;
|
||||
x_19 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_17);
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
lean_free_object(x_8);
|
||||
x_15 = l_Lean_Elab_Term_throwErrorIfErrors___closed__2;
|
||||
x_16 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_11);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_19;
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
x_17 = lean_ctor_get(x_8, 0);
|
||||
x_18 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_18);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_8);
|
||||
x_19 = lean_ctor_get(x_17, 5);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_17);
|
||||
x_20 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_21 = lean_box(0);
|
||||
x_22 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_21);
|
||||
lean_ctor_set(x_22, 1, x_18);
|
||||
return x_22;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24;
|
||||
x_23 = l_Lean_Elab_Term_throwErrorIfErrors___closed__2;
|
||||
x_24 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_23, x_1, x_2, x_3, x_4, x_5, x_6, x_18);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -9494,7 +9520,7 @@ _start:
|
|||
{
|
||||
lean_object* x_11; uint8_t x_254; uint8_t x_255;
|
||||
x_254 = 2;
|
||||
x_255 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(x_3, x_254);
|
||||
x_255 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(x_3, x_254);
|
||||
if (x_255 == 0)
|
||||
{
|
||||
lean_object* x_256;
|
||||
|
|
@ -14459,30 +14485,29 @@ return x_8;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwMVarError___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_9 = l_Lean_Core_hasErrors___rarg(x_7, x_8);
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_9 = lean_st_ref_get(x_7, x_8);
|
||||
x_10 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_unbox(x_10);
|
||||
lean_dec(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13;
|
||||
x_12 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_12);
|
||||
x_11 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_9);
|
||||
x_13 = l_Lean_throwError___at_Lean_Elab_Term_throwMVarError___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_12);
|
||||
return x_13;
|
||||
x_12 = lean_ctor_get(x_10, 5);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14;
|
||||
x_14 = l_Lean_throwError___at_Lean_Elab_Term_throwMVarError___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
lean_object* x_15;
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_14 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_9);
|
||||
x_15 = l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_throwMVarError___spec__2___rarg(x_14);
|
||||
x_15 = l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_throwMVarError___spec__2___rarg(x_11);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
|
|
@ -16218,112 +16243,114 @@ uint8_t x_10;
|
|||
x_10 = l_Array_isEmpty___rarg(x_1);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_11 = l_Lean_Core_hasErrors___rarg(x_8, x_9);
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_11 = lean_st_ref_get(x_8, x_9);
|
||||
x_12 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_12);
|
||||
x_13 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_11);
|
||||
x_14 = lean_st_ref_get(x_8, x_13);
|
||||
x_15 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_14);
|
||||
x_16 = lean_st_ref_get(x_4, x_15);
|
||||
x_17 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_16);
|
||||
x_19 = lean_ctor_get(x_17, 2);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_17);
|
||||
x_39 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos___closed__2;
|
||||
x_40 = lean_unbox(x_12);
|
||||
x_14 = lean_ctor_get(x_12, 5);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_12);
|
||||
x_15 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_14);
|
||||
x_16 = lean_st_ref_get(x_8, x_13);
|
||||
x_17 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_16);
|
||||
x_18 = lean_st_ref_get(x_4, x_17);
|
||||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_18);
|
||||
x_21 = lean_ctor_get(x_19, 2);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
x_41 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos___closed__2;
|
||||
lean_inc(x_6);
|
||||
x_41 = l_Std_RBNode_forIn_visit___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__6___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__7(x_1, x_40, x_19, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_18);
|
||||
x_42 = lean_ctor_get(x_41, 0);
|
||||
lean_inc(x_42);
|
||||
x_43 = lean_ctor_get(x_41, 1);
|
||||
x_42 = l_Std_RBNode_forIn_visit___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__6___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__7(x_1, x_15, x_21, x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_20);
|
||||
x_43 = lean_ctor_get(x_42, 0);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_41);
|
||||
x_44 = lean_ctor_get(x_42, 0);
|
||||
x_44 = lean_ctor_get(x_42, 1);
|
||||
lean_inc(x_44);
|
||||
lean_dec(x_42);
|
||||
x_20 = x_44;
|
||||
x_21 = x_43;
|
||||
goto block_38;
|
||||
block_38:
|
||||
x_45 = lean_ctor_get(x_43, 0);
|
||||
lean_inc(x_45);
|
||||
lean_dec(x_43);
|
||||
x_22 = x_45;
|
||||
x_23 = x_44;
|
||||
goto block_40;
|
||||
block_40:
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_22 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_20);
|
||||
x_23 = lean_ctor_get(x_22, 0);
|
||||
lean_inc(x_23);
|
||||
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_24 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_22);
|
||||
x_25 = lean_array_get_size(x_23);
|
||||
x_26 = lean_usize_of_nat(x_25);
|
||||
lean_dec(x_25);
|
||||
x_27 = 0;
|
||||
x_28 = lean_box(0);
|
||||
x_29 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5(x_2, x_23, x_26, x_27, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_21);
|
||||
lean_dec(x_23);
|
||||
if (lean_obj_tag(x_29) == 0)
|
||||
{
|
||||
uint8_t x_30;
|
||||
x_30 = !lean_is_exclusive(x_29);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
lean_object* x_31;
|
||||
x_31 = lean_ctor_get(x_29, 0);
|
||||
lean_dec(x_31);
|
||||
lean_ctor_set(x_29, 0, x_24);
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
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(0, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_24);
|
||||
lean_ctor_set(x_33, 1, x_32);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_34;
|
||||
x_25 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_25);
|
||||
x_26 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_24);
|
||||
x_34 = !lean_is_exclusive(x_29);
|
||||
if (x_34 == 0)
|
||||
x_27 = lean_array_get_size(x_25);
|
||||
x_28 = lean_usize_of_nat(x_27);
|
||||
lean_dec(x_27);
|
||||
x_29 = 0;
|
||||
x_30 = lean_box(0);
|
||||
x_31 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5(x_2, x_25, x_28, x_29, x_30, x_3, x_4, x_5, x_6, x_7, x_8, x_23);
|
||||
lean_dec(x_25);
|
||||
if (lean_obj_tag(x_31) == 0)
|
||||
{
|
||||
return x_29;
|
||||
uint8_t x_32;
|
||||
x_32 = !lean_is_exclusive(x_31);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
lean_object* x_33;
|
||||
x_33 = lean_ctor_get(x_31, 0);
|
||||
lean_dec(x_33);
|
||||
lean_ctor_set(x_31, 0, x_26);
|
||||
return x_31;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_35 = lean_ctor_get(x_29, 0);
|
||||
x_36 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_36);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_29);
|
||||
x_37 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_35);
|
||||
lean_ctor_set(x_37, 1, x_36);
|
||||
return x_37;
|
||||
lean_object* x_34; lean_object* x_35;
|
||||
x_34 = lean_ctor_get(x_31, 1);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_31);
|
||||
x_35 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_26);
|
||||
lean_ctor_set(x_35, 1, x_34);
|
||||
return x_35;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_36;
|
||||
lean_dec(x_26);
|
||||
x_36 = !lean_is_exclusive(x_31);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
return x_31;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38; lean_object* x_39;
|
||||
x_37 = lean_ctor_get(x_31, 0);
|
||||
x_38 = lean_ctor_get(x_31, 1);
|
||||
lean_inc(x_38);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_31);
|
||||
x_39 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_37);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
return x_39;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_45; lean_object* x_46; lean_object* x_47;
|
||||
uint8_t x_46; lean_object* x_47; lean_object* x_48;
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
|
|
@ -16331,12 +16358,12 @@ lean_dec(x_5);
|
|||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_45 = 0;
|
||||
x_46 = lean_box(x_45);
|
||||
x_47 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_46);
|
||||
lean_ctor_set(x_47, 1, x_9);
|
||||
return x_47;
|
||||
x_46 = 0;
|
||||
x_47 = lean_box(x_46);
|
||||
x_48 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_47);
|
||||
lean_ctor_set(x_48, 1, x_9);
|
||||
return x_48;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -17330,7 +17357,7 @@ x_53 = lean_ctor_get_uint8(x_52, sizeof(void*)*2);
|
|||
lean_dec(x_52);
|
||||
x_54 = lean_unbox(x_51);
|
||||
lean_dec(x_51);
|
||||
x_55 = l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_13_(x_54, x_53);
|
||||
x_55 = l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_15_(x_54, x_53);
|
||||
if (x_55 == 0)
|
||||
{
|
||||
lean_object* x_56;
|
||||
|
|
@ -37753,80 +37780,79 @@ lean_inc(x_2);
|
|||
x_24 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13);
|
||||
if (lean_obj_tag(x_24) == 0)
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29;
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31;
|
||||
x_25 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_25);
|
||||
x_26 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_24);
|
||||
x_27 = l_Lean_Core_hasErrors___rarg(x_7, x_26);
|
||||
x_27 = lean_st_ref_get(x_7, x_26);
|
||||
x_28 = lean_ctor_get(x_27, 0);
|
||||
lean_inc(x_28);
|
||||
x_29 = lean_unbox(x_28);
|
||||
x_29 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_27);
|
||||
x_30 = lean_ctor_get(x_28, 5);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_28);
|
||||
if (x_29 == 0)
|
||||
x_31 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_30);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39;
|
||||
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40;
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_30 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_27);
|
||||
x_31 = l_Lean_Core_getMessageLog___rarg(x_7, x_30);
|
||||
x_32 = lean_ctor_get(x_31, 0);
|
||||
lean_inc(x_32);
|
||||
x_33 = lean_ctor_get(x_31, 1);
|
||||
x_32 = l_Lean_Core_getMessageLog___rarg(x_7, x_29);
|
||||
x_33 = lean_ctor_get(x_32, 0);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_31);
|
||||
x_34 = lean_ctor_get(x_10, 0);
|
||||
x_34 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_10);
|
||||
x_35 = lean_ctor_get(x_34, 0);
|
||||
lean_dec(x_32);
|
||||
x_35 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_34);
|
||||
x_36 = lean_ctor_get(x_35, 5);
|
||||
lean_dec(x_10);
|
||||
x_36 = lean_ctor_get(x_35, 0);
|
||||
lean_inc(x_36);
|
||||
lean_dec(x_35);
|
||||
x_37 = l_Std_PersistentArray_append___rarg(x_36, x_32);
|
||||
x_38 = l_Lean_Core_setMessageLog(x_37, x_6, x_7, x_33);
|
||||
x_37 = lean_ctor_get(x_36, 5);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_36);
|
||||
x_38 = l_Std_PersistentArray_append___rarg(x_37, x_33);
|
||||
x_39 = l_Lean_Core_setMessageLog(x_38, x_6, x_7, x_34);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_39 = !lean_is_exclusive(x_38);
|
||||
if (x_39 == 0)
|
||||
x_40 = !lean_is_exclusive(x_39);
|
||||
if (x_40 == 0)
|
||||
{
|
||||
lean_object* x_40; lean_object* x_41;
|
||||
x_40 = lean_ctor_get(x_38, 0);
|
||||
lean_dec(x_40);
|
||||
x_41 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_41, 0, x_25);
|
||||
lean_ctor_set(x_38, 0, x_41);
|
||||
return x_38;
|
||||
lean_object* x_41; lean_object* x_42;
|
||||
x_41 = lean_ctor_get(x_39, 0);
|
||||
lean_dec(x_41);
|
||||
x_42 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_42, 0, x_25);
|
||||
lean_ctor_set(x_39, 0, x_42);
|
||||
return x_39;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_42 = lean_ctor_get(x_38, 1);
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_38);
|
||||
x_43 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_43, 0, x_25);
|
||||
x_44 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_43);
|
||||
lean_ctor_set(x_44, 1, x_42);
|
||||
return x_44;
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_43 = lean_ctor_get(x_39, 1);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_39);
|
||||
x_44 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_44, 0, x_25);
|
||||
x_45 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_44);
|
||||
lean_ctor_set(x_45, 1, x_43);
|
||||
return x_45;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_45; uint8_t x_46; lean_object* x_47; uint8_t x_48;
|
||||
uint8_t x_46; lean_object* x_47; uint8_t x_48;
|
||||
lean_dec(x_25);
|
||||
x_45 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_45);
|
||||
lean_dec(x_27);
|
||||
x_46 = 0;
|
||||
x_47 = l_Lean_Elab_Term_SavedState_restore(x_10, x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_45);
|
||||
x_47 = l_Lean_Elab_Term_SavedState_restore(x_10, x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_29);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -46957,36 +46983,57 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9; uint8_t x_10;
|
||||
x_9 = 0;
|
||||
lean_inc(x_1);
|
||||
x_10 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(x_1, x_9);
|
||||
if (x_10 == 0)
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_9 = lean_st_ref_get(x_7, x_8);
|
||||
x_10 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_9);
|
||||
x_12 = lean_ctor_get(x_10, 5);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = lean_box(0);
|
||||
x_12 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__2___lambda__1(x_1, x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_12;
|
||||
uint8_t x_14; uint8_t x_15;
|
||||
x_14 = 0;
|
||||
lean_inc(x_1);
|
||||
x_15 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(x_1, x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17;
|
||||
x_16 = lean_box(0);
|
||||
x_17 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__2___lambda__1(x_1, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_11);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_13 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__2___closed__3;
|
||||
x_14 = 1;
|
||||
lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_18 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__2___closed__3;
|
||||
x_19 = 1;
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_15 = l_Lean_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
x_16 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_16);
|
||||
x_17 = lean_ctor_get(x_15, 1);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_15);
|
||||
x_18 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__2___lambda__1(x_1, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_17);
|
||||
return x_18;
|
||||
x_20 = l_Lean_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_18, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_11);
|
||||
x_21 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_21);
|
||||
x_22 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_20);
|
||||
x_23 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__2___lambda__1(x_1, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_22);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25;
|
||||
x_24 = lean_box(0);
|
||||
x_25 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__2___lambda__1(x_1, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_11);
|
||||
return x_25;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1090
stage0/stdlib/Lean/Expr.c
generated
1090
stage0/stdlib/Lean/Expr.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/HeadIndex.c
generated
4
stage0/stdlib/Lean/HeadIndex.c
generated
|
|
@ -19,7 +19,7 @@ static lean_object* l___private_Lean_HeadIndex_0__Lean_reprHeadIndex____x40_Lean
|
|||
static lean_object* l___private_Lean_HeadIndex_0__Lean_reprHeadIndex____x40_Lean_HeadIndex___hyg_278____closed__1;
|
||||
static lean_object* l___private_Lean_HeadIndex_0__Lean_reprHeadIndex____x40_Lean_HeadIndex___hyg_278____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Expr_head___boxed(lean_object*);
|
||||
uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(lean_object*);
|
||||
uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(lean_object*);
|
||||
static lean_object* l___private_Lean_HeadIndex_0__Lean_reprHeadIndex____x40_Lean_HeadIndex___hyg_278____closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_HeadIndex_0__Lean_reprHeadIndex____x40_Lean_HeadIndex___hyg_278____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_HeadIndex_0__Lean_reprHeadIndex____x40_Lean_HeadIndex___hyg_278____closed__23;
|
||||
|
|
@ -983,7 +983,7 @@ case 0:
|
|||
lean_object* x_2; uint64_t x_3; uint64_t x_4; uint64_t x_5;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
x_3 = 11;
|
||||
x_4 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_2);
|
||||
x_4 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_2);
|
||||
x_5 = lean_uint64_mix_hash(x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/KeyedDeclsAttribute.c
generated
4
stage0/stdlib/Lean/KeyedDeclsAttribute.c
generated
|
|
@ -148,7 +148,7 @@ static lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__9___closed_
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert___spec__26___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_filterAux___at_Lean_KeyedDeclsAttribute_getEntries___spec__13___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_KeyedDeclsAttribute_getEntries___spec__10___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -6374,7 +6374,7 @@ _start:
|
|||
{
|
||||
uint8_t x_12; uint8_t x_13;
|
||||
x_12 = 0;
|
||||
x_13 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128_(x_8, x_12);
|
||||
x_13 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132_(x_8, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
|
|
|
|||
37
stage0/stdlib/Lean/Linter.c
generated
Normal file
37
stage0/stdlib/Lean/Linter.c
generated
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Linter
|
||||
// Imports: Init Lean.Linter.Basic Lean.Linter.Util
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
#pragma clang diagnostic ignored "-Wunused-label"
|
||||
#elif defined(__GNUC__) && !defined(__CLANG__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* initialize_Init(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Linter_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Linter_Util(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Linter(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Init(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Basic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Util(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
7275
stage0/stdlib/Lean/Linter/Basic.c
generated
Normal file
7275
stage0/stdlib/Lean/Linter/Basic.c
generated
Normal file
File diff suppressed because it is too large
Load diff
807
stage0/stdlib/Lean/Linter/Util.c
generated
Normal file
807
stage0/stdlib/Lean/Linter/Util.c
generated
Normal file
|
|
@ -0,0 +1,807 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Linter.Util
|
||||
// Imports: Init Lean.Data.Options Lean.Elab.Command Lean.Server.InfoUtils
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
#pragma clang diagnostic ignored "-Wunused-label"
|
||||
#elif defined(__GNUC__) && !defined(__CLANG__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6_(lean_object*);
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__2;
|
||||
uint8_t l___private_Lean_Server_InfoUtils_0__String_beqRange____x40_Lean_Server_InfoUtils___hyg_75_(lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_List_range(lean_object*);
|
||||
lean_object* l_List_zipWith___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_stackMatches___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__6;
|
||||
static lean_object* l_Lean_Linter_stackMatches___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_stackMatches___lambda__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_publishMessage___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_stackMatches(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__3;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__5;
|
||||
lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_String_Range_contains(lean_object*, lean_object*, uint8_t);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_linter_all;
|
||||
static lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2___closed__1;
|
||||
lean_object* l_Lean_Elab_mkMessageCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___lambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_publishMessage(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_getLinterAll(lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__1;
|
||||
uint8_t l_List_foldr___at_List_and___spec__1(uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___lambda__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getNumArgs(lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_stackMatches___lambda__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t);
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Linter_findSyntaxStack_x3f_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_getLinterAll___boxed(lean_object*);
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KVMap_findCore(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Linter_findSyntaxStack_x3f_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__4;
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("linter", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("all", 3);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__2;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("", 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("enable all linters", 18);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__7() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = 1;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__5;
|
||||
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__6;
|
||||
x_4 = lean_box(x_1);
|
||||
x_5 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__4;
|
||||
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__7;
|
||||
x_4 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_getLinterAll(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Linter_linter_all;
|
||||
x_3 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_3);
|
||||
x_4 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_4);
|
||||
x_5 = l_Lean_KVMap_findCore(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
uint8_t x_6;
|
||||
x_6 = lean_unbox(x_4);
|
||||
lean_dec(x_4);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7;
|
||||
x_7 = lean_ctor_get(x_5, 0);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_5);
|
||||
if (lean_obj_tag(x_7) == 1)
|
||||
{
|
||||
uint8_t x_8;
|
||||
lean_dec(x_4);
|
||||
x_8 = lean_ctor_get_uint8(x_7, 0);
|
||||
lean_dec(x_7);
|
||||
return x_8;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_9;
|
||||
lean_dec(x_7);
|
||||
x_9 = lean_unbox(x_4);
|
||||
lean_dec(x_4);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_getLinterAll___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Linter_getLinterAll(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_box(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_publishMessage(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22;
|
||||
x_7 = lean_st_ref_get(x_5, x_6);
|
||||
x_8 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_7);
|
||||
x_10 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_4);
|
||||
x_12 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_12, 0, x_1);
|
||||
x_13 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
x_14 = lean_ctor_get(x_2, 0);
|
||||
x_15 = lean_ctor_get(x_2, 1);
|
||||
x_16 = l_Lean_Elab_mkMessageCore(x_10, x_11, x_13, x_3, x_14, x_15);
|
||||
lean_dec(x_11);
|
||||
x_17 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_8);
|
||||
x_18 = l_Std_PersistentArray_push___rarg(x_17, x_16);
|
||||
x_19 = lean_st_ref_take(x_5, x_9);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
x_22 = !lean_is_exclusive(x_20);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; uint8_t x_25;
|
||||
x_23 = lean_ctor_get(x_20, 1);
|
||||
lean_dec(x_23);
|
||||
lean_ctor_set(x_20, 1, x_18);
|
||||
x_24 = lean_st_ref_set(x_5, x_20, x_21);
|
||||
x_25 = !lean_is_exclusive(x_24);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27;
|
||||
x_26 = lean_ctor_get(x_24, 0);
|
||||
lean_dec(x_26);
|
||||
x_27 = lean_box(0);
|
||||
lean_ctor_set(x_24, 0, x_27);
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_28 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_28);
|
||||
lean_dec(x_24);
|
||||
x_29 = lean_box(0);
|
||||
x_30 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_29);
|
||||
lean_ctor_set(x_30, 1, x_28);
|
||||
return x_30;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_31 = lean_ctor_get(x_20, 0);
|
||||
x_32 = lean_ctor_get(x_20, 2);
|
||||
x_33 = lean_ctor_get(x_20, 3);
|
||||
x_34 = lean_ctor_get(x_20, 4);
|
||||
x_35 = lean_ctor_get(x_20, 5);
|
||||
x_36 = lean_ctor_get(x_20, 6);
|
||||
x_37 = lean_ctor_get(x_20, 7);
|
||||
x_38 = lean_ctor_get(x_20, 8);
|
||||
lean_inc(x_38);
|
||||
lean_inc(x_37);
|
||||
lean_inc(x_36);
|
||||
lean_inc(x_35);
|
||||
lean_inc(x_34);
|
||||
lean_inc(x_33);
|
||||
lean_inc(x_32);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_20);
|
||||
x_39 = lean_alloc_ctor(0, 9, 0);
|
||||
lean_ctor_set(x_39, 0, x_31);
|
||||
lean_ctor_set(x_39, 1, x_18);
|
||||
lean_ctor_set(x_39, 2, x_32);
|
||||
lean_ctor_set(x_39, 3, x_33);
|
||||
lean_ctor_set(x_39, 4, x_34);
|
||||
lean_ctor_set(x_39, 5, x_35);
|
||||
lean_ctor_set(x_39, 6, x_36);
|
||||
lean_ctor_set(x_39, 7, x_37);
|
||||
lean_ctor_set(x_39, 8, x_38);
|
||||
x_40 = lean_st_ref_set(x_5, x_39, x_21);
|
||||
x_41 = lean_ctor_get(x_40, 1);
|
||||
lean_inc(x_41);
|
||||
if (lean_is_exclusive(x_40)) {
|
||||
lean_ctor_release(x_40, 0);
|
||||
lean_ctor_release(x_40, 1);
|
||||
x_42 = x_40;
|
||||
} else {
|
||||
lean_dec_ref(x_40);
|
||||
x_42 = lean_box(0);
|
||||
}
|
||||
x_43 = lean_box(0);
|
||||
if (lean_is_scalar(x_42)) {
|
||||
x_44 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_44 = x_42;
|
||||
}
|
||||
lean_ctor_set(x_44, 0, x_43);
|
||||
lean_ctor_set(x_44, 1, x_41);
|
||||
return x_44;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_publishMessage___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_7; lean_object* x_8;
|
||||
x_7 = lean_unbox(x_3);
|
||||
lean_dec(x_3);
|
||||
x_8 = l_Lean_Linter_publishMessage(x_1, x_2, x_7, x_4, x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_2);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Linter_findSyntaxStack_x3f_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
{
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_7);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_8;
|
||||
x_8 = !lean_is_exclusive(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_9 = lean_ctor_get(x_6, 0);
|
||||
x_10 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_4);
|
||||
x_11 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_4);
|
||||
lean_ctor_set(x_11, 1, x_9);
|
||||
lean_inc(x_3);
|
||||
lean_ctor_set(x_6, 1, x_3);
|
||||
lean_ctor_set(x_6, 0, x_11);
|
||||
x_12 = l_Lean_Syntax_getArg(x_4, x_9);
|
||||
lean_dec(x_9);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_13 = l_Lean_Linter_findSyntaxStack_x3f_go(x_1, x_2, x_6, x_12);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
{
|
||||
lean_object* _tmp_5 = x_10;
|
||||
lean_object* _tmp_6 = x_5;
|
||||
x_6 = _tmp_5;
|
||||
x_7 = _tmp_6;
|
||||
}
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_15;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_15 = !lean_is_exclusive(x_13);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17;
|
||||
x_16 = lean_box(0);
|
||||
x_17 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_13);
|
||||
lean_ctor_set(x_17, 1, x_16);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_18 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_13);
|
||||
x_19 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
x_20 = lean_box(0);
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_19);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_22 = lean_ctor_get(x_6, 0);
|
||||
x_23 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_6);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_4);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_4);
|
||||
lean_ctor_set(x_24, 1, x_22);
|
||||
lean_inc(x_3);
|
||||
x_25 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_25, 0, x_24);
|
||||
lean_ctor_set(x_25, 1, x_3);
|
||||
x_26 = l_Lean_Syntax_getArg(x_4, x_22);
|
||||
lean_dec(x_22);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_27 = l_Lean_Linter_findSyntaxStack_x3f_go(x_1, x_2, x_25, x_26);
|
||||
if (lean_obj_tag(x_27) == 0)
|
||||
{
|
||||
{
|
||||
lean_object* _tmp_5 = x_23;
|
||||
lean_object* _tmp_6 = x_5;
|
||||
x_6 = _tmp_5;
|
||||
x_7 = _tmp_6;
|
||||
}
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
lean_dec(x_23);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_29 = lean_ctor_get(x_27, 0);
|
||||
lean_inc(x_29);
|
||||
if (lean_is_exclusive(x_27)) {
|
||||
lean_ctor_release(x_27, 0);
|
||||
x_30 = x_27;
|
||||
} else {
|
||||
lean_dec_ref(x_27);
|
||||
x_30 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_30)) {
|
||||
x_31 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
x_31 = x_30;
|
||||
}
|
||||
lean_ctor_set(x_31, 0, x_29);
|
||||
x_32 = lean_box(0);
|
||||
x_33 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_31);
|
||||
lean_ctor_set(x_33, 1, x_32);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_inc(x_1);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = lean_box(0);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_6 = l_Lean_Syntax_getNumArgs(x_1);
|
||||
x_7 = l_List_range(x_6);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2___closed__1;
|
||||
x_10 = l_List_forIn_loop___at_Lean_Linter_findSyntaxStack_x3f_go___spec__1(x_2, x_3, x_4, x_1, x_9, x_7, x_9);
|
||||
x_11 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_10);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
return x_8;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_12;
|
||||
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(1, 1, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___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:
|
||||
{
|
||||
uint8_t x_7;
|
||||
x_7 = l___private_Lean_Server_InfoUtils_0__String_beqRange____x40_Lean_Server_InfoUtils___hyg_75_(x_5, x_3);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2(x_1, x_2, x_3, x_4, x_8);
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; uint8_t x_12;
|
||||
lean_inc(x_1);
|
||||
x_10 = l_Lean_Syntax_getKind(x_1);
|
||||
lean_inc(x_2);
|
||||
x_11 = l_Lean_Syntax_getKind(x_2);
|
||||
x_12 = lean_name_eq(x_10, x_11);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
x_13 = lean_box(0);
|
||||
x_14 = l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2(x_1, x_2, x_3, x_4, x_13);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_15;
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_15 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_15, 0, x_4);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5; lean_object* x_6;
|
||||
x_5 = 0;
|
||||
lean_inc(x_4);
|
||||
x_6 = l_Lean_Syntax_getRange_x3f(x_4, x_5);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
{
|
||||
lean_object* x_7;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_box(0);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; uint8_t x_10;
|
||||
x_8 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_6);
|
||||
x_9 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_9);
|
||||
x_10 = l_String_Range_contains(x_8, x_9, x_5);
|
||||
lean_dec(x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11;
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_11 = lean_box(0);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13;
|
||||
x_12 = lean_box(0);
|
||||
x_13 = l_Lean_Linter_findSyntaxStack_x3f_go___lambda__3(x_4, x_1, x_2, x_3, x_8, x_12);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Linter_findSyntaxStack_x3f_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_8;
|
||||
x_8 = l_List_forIn_loop___at_Lean_Linter_findSyntaxStack_x3f_go___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_5);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Linter_findSyntaxStack_x3f_go___lambda__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f_go___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7;
|
||||
x_7 = l_Lean_Linter_findSyntaxStack_x3f_go___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_findSyntaxStack_x3f(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = 0;
|
||||
lean_inc(x_2);
|
||||
x_4 = l_Lean_Syntax_getRange_x3f(x_2, x_3);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
lean_object* x_5;
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_box(0);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_4);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l_Lean_Linter_findSyntaxStack_x3f_go(x_2, x_6, x_7, x_1);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_stackMatches___lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
lean_dec(x_1);
|
||||
x_3 = 1;
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; uint8_t x_6;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
x_6 = l_Lean_Syntax_isOfKind(x_4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_stackMatches___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_stackMatches___lambda__1___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_stackMatches(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6;
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
x_4 = l_List_lengthTRAux___rarg(x_2, x_3);
|
||||
x_5 = l_List_lengthTRAux___rarg(x_1, x_3);
|
||||
x_6 = lean_nat_dec_le(x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
uint8_t x_7;
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_7 = 0;
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11;
|
||||
x_8 = l_Lean_Linter_stackMatches___closed__1;
|
||||
x_9 = l_List_zipWith___rarg(x_8, x_1, x_2);
|
||||
x_10 = 1;
|
||||
x_11 = l_List_foldr___at_List_and___spec__1(x_10, x_9);
|
||||
lean_dec(x_9);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_stackMatches___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Linter_stackMatches___lambda__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_stackMatches___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Linter_stackMatches(x_1, x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_Options(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Elab_Command(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Server_InfoUtils(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Linter_Util(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Init(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Data_Options(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_Command(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Server_InfoUtils(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__1 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__1();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__1);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__2 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__2();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__2);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__3 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__3();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__3);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__4 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__4();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__4);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__5 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__5();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__5);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__6 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__6();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__6);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__7 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__7();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6____closed__7);
|
||||
if (builtin) {res = l_Lean_Linter_initFn____x40_Lean_Linter_Util___hyg_6_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Linter_linter_all = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Linter_linter_all);
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2___closed__1 = _init_l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Lean_Linter_findSyntaxStack_x3f_go___lambda__2___closed__1);
|
||||
l_Lean_Linter_stackMatches___closed__1 = _init_l_Lean_Linter_stackMatches___closed__1();
|
||||
lean_mark_persistent(l_Lean_Linter_stackMatches___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
16
stage0/stdlib/Lean/LocalContext.c
generated
16
stage0/stdlib/Lean/LocalContext.c
generated
|
|
@ -59,7 +59,7 @@ lean_object* lean_array_uget(lean_object*, size_t);
|
|||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_allM___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_any___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint64_t lean_uint64_of_nat(lean_object*);
|
||||
uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(lean_object*);
|
||||
uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalDecl_isAuxDecl___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_foldl___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_foldl___spec__9___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -1551,7 +1551,7 @@ else
|
|||
lean_object* x_9; lean_object* x_10; uint64_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_9 = lean_array_fget(x_2, x_5);
|
||||
x_10 = lean_array_fget(x_3, x_5);
|
||||
x_11 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_9);
|
||||
x_11 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_9);
|
||||
x_12 = lean_uint64_to_usize(x_11);
|
||||
x_13 = 1;
|
||||
x_14 = lean_usize_sub(x_1, x_13);
|
||||
|
|
@ -2063,7 +2063,7 @@ if (x_4 == 0)
|
|||
lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_5 = lean_ctor_get(x_1, 0);
|
||||
x_6 = lean_ctor_get(x_1, 1);
|
||||
x_7 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_2);
|
||||
x_7 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_2);
|
||||
x_8 = lean_uint64_to_usize(x_7);
|
||||
x_9 = 1;
|
||||
x_10 = l_Std_PersistentHashMap_insertAux___at_Lean_LocalContext_mkLocalDecl___spec__2(x_5, x_8, x_9, x_2, x_3);
|
||||
|
|
@ -2082,7 +2082,7 @@ x_14 = lean_ctor_get(x_1, 1);
|
|||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_1);
|
||||
x_15 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_2);
|
||||
x_15 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_2);
|
||||
x_16 = lean_uint64_to_usize(x_15);
|
||||
x_17 = 1;
|
||||
x_18 = l_Std_PersistentHashMap_insertAux___at_Lean_LocalContext_mkLocalDecl___spec__2(x_13, x_16, x_17, x_2, x_3);
|
||||
|
|
@ -2430,7 +2430,7 @@ lean_object* x_3; uint64_t x_4; size_t x_5; lean_object* x_6;
|
|||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_1);
|
||||
x_4 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_2);
|
||||
x_4 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_2);
|
||||
x_5 = lean_uint64_to_usize(x_4);
|
||||
x_6 = l_Std_PersistentHashMap_findAux___at_Lean_LocalContext_find_x3f___spec__2(x_3, x_5, x_2);
|
||||
lean_dec(x_2);
|
||||
|
|
@ -2649,7 +2649,7 @@ lean_object* x_3; uint64_t x_4; size_t x_5; uint8_t x_6;
|
|||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_1);
|
||||
x_4 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_2);
|
||||
x_4 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_2);
|
||||
x_5 = lean_uint64_to_usize(x_4);
|
||||
x_6 = l_Std_PersistentHashMap_containsAux___at_Lean_LocalContext_contains___spec__2(x_3, x_5, x_2);
|
||||
lean_dec(x_2);
|
||||
|
|
@ -3837,7 +3837,7 @@ if (x_3 == 0)
|
|||
lean_object* x_4; lean_object* x_5; uint64_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
x_6 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_2);
|
||||
x_6 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_2);
|
||||
x_7 = lean_uint64_to_usize(x_6);
|
||||
x_8 = l_Std_PersistentHashMap_eraseAux___at_Lean_LocalContext_erase___spec__2(x_4, x_7, x_2);
|
||||
x_9 = lean_ctor_get(x_8, 1);
|
||||
|
|
@ -3875,7 +3875,7 @@ x_16 = lean_ctor_get(x_1, 1);
|
|||
lean_inc(x_16);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_1);
|
||||
x_17 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_2);
|
||||
x_17 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_2);
|
||||
x_18 = lean_uint64_to_usize(x_17);
|
||||
x_19 = l_Std_PersistentHashMap_eraseAux___at_Lean_LocalContext_erase___spec__2(x_15, x_18, x_2);
|
||||
x_20 = lean_ctor_get(x_19, 1);
|
||||
|
|
|
|||
39
stage0/stdlib/Lean/Log.c
generated
39
stage0/stdlib/Lean/Log.c
generated
|
|
@ -32,7 +32,7 @@ LEAN_EXPORT lean_object* l_Lean_logAt___rarg___lambda__2___boxed(lean_object*, l
|
|||
static lean_object* l_Lean_logUnknownDecl___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_logAt___rarg___lambda__8(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instMonadLog___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_logAt___rarg___lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getRefPosition___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_logTrace___rarg___closed__3;
|
||||
|
|
@ -96,7 +96,7 @@ LEAN_EXPORT lean_object* l_Lean_instMonadLog___rarg___lambda__1(lean_object* x_1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = lean_ctor_get(x_1, 3);
|
||||
x_4 = lean_ctor_get(x_1, 4);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_apply_1(x_4, x_3);
|
||||
|
|
@ -107,7 +107,7 @@ return x_6;
|
|||
LEAN_EXPORT lean_object* l_Lean_instMonadLog___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 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_3 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_1);
|
||||
|
|
@ -120,15 +120,20 @@ x_7 = lean_ctor_get(x_2, 2);
|
|||
lean_inc(x_7);
|
||||
lean_inc(x_1);
|
||||
x_8 = lean_apply_2(x_1, lean_box(0), x_7);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_instMonadLog___rarg___lambda__1), 3, 2);
|
||||
lean_closure_set(x_9, 0, x_2);
|
||||
lean_closure_set(x_9, 1, x_1);
|
||||
x_10 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_10, 0, x_4);
|
||||
lean_ctor_set(x_10, 1, x_6);
|
||||
lean_ctor_set(x_10, 2, x_8);
|
||||
lean_ctor_set(x_10, 3, x_9);
|
||||
return x_10;
|
||||
x_9 = lean_ctor_get(x_2, 3);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_1);
|
||||
x_10 = lean_apply_2(x_1, lean_box(0), x_9);
|
||||
x_11 = lean_alloc_closure((void*)(l_Lean_instMonadLog___rarg___lambda__1), 3, 2);
|
||||
lean_closure_set(x_11, 0, x_2);
|
||||
lean_closure_set(x_11, 1, x_1);
|
||||
x_12 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_12, 0, x_4);
|
||||
lean_ctor_set(x_12, 1, x_6);
|
||||
lean_ctor_set(x_12, 2, x_8);
|
||||
lean_ctor_set(x_12, 3, x_10);
|
||||
lean_ctor_set(x_12, 4, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instMonadLog(lean_object* x_1, lean_object* x_2) {
|
||||
|
|
@ -276,7 +281,7 @@ LEAN_EXPORT lean_object* l_Lean_logAt___rarg___lambda__1(lean_object* x_1, lean_
|
|||
_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, 3);
|
||||
x_6 = lean_ctor_get(x_1, 4);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_unsigned_to_nat(0u);
|
||||
|
|
@ -332,7 +337,7 @@ LEAN_EXPORT lean_object* l_Lean_logAt___rarg___lambda__4(lean_object* x_1, lean_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_7 = lean_ctor_get(x_1, 3);
|
||||
x_7 = lean_ctor_get(x_1, 4);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_1);
|
||||
x_8 = lean_unsigned_to_nat(0u);
|
||||
|
|
@ -390,7 +395,7 @@ LEAN_EXPORT lean_object* l_Lean_logAt___rarg___lambda__7(lean_object* x_1, lean_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_7 = lean_ctor_get(x_1, 3);
|
||||
x_7 = lean_ctor_get(x_1, 4);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_1);
|
||||
x_8 = l_Lean_FileMap_toPosition(x_2, x_3);
|
||||
|
|
@ -447,7 +452,7 @@ LEAN_EXPORT lean_object* l_Lean_logAt___rarg___lambda__10(lean_object* x_1, lean
|
|||
_start:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_8 = lean_ctor_get(x_1, 3);
|
||||
x_8 = lean_ctor_get(x_1, 4);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_1);
|
||||
x_9 = l_Lean_FileMap_toPosition(x_2, x_3);
|
||||
|
|
@ -603,7 +608,7 @@ _start:
|
|||
{
|
||||
lean_object* x_7; uint8_t x_14; uint8_t x_15;
|
||||
x_14 = 2;
|
||||
x_15 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(x_6, x_14);
|
||||
x_15 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(x_6, x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16;
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Message.c
generated
12
stage0/stdlib/Lean/Message.c
generated
|
|
@ -18,9 +18,9 @@ static lean_object* l_Lean_KernelException_toMessageData___closed__32;
|
|||
LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_MessageLog_toList___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_KernelException_toMessageData___closed__10;
|
||||
static lean_object* l_Lean_instToMessageDataOption___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_MessageData_isEmpty(lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_MessageData_instCoeArrayExprMessageData___closed__2;
|
||||
LEAN_EXPORT lean_object* l_String_splitAux___at_Lean_stringToMessageData___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -102,7 +102,7 @@ static lean_object* l_Lean_instInhabitedMessageLog___closed__4;
|
|||
LEAN_EXPORT lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_MessageData_instCoeListMessageData___closed__1;
|
||||
static lean_object* l_Lean_KernelException_toMessageData___closed__20;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
static lean_object* l_Lean_instToMessageDataOption___rarg___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -594,7 +594,7 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(uint8_t x_1, uint8_t x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -606,7 +606,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -614,7 +614,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(x_3, x_4);
|
||||
x_5 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -623,7 +623,7 @@ static lean_object* _init_l_Lean_instBEqMessageSeverity___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
24
stage0/stdlib/Lean/Meta/Basic.c
generated
24
stage0/stdlib/Lean/Meta/Basic.c
generated
|
|
@ -252,7 +252,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallMetaBoundedTelescope(lean_object*, le
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_instMonadEnvMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassExpensive_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8507_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8509_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Meta_instAlternativeMetaM___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_setInlineAttribute___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withConfig___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -851,7 +851,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshLevelMVars(lean_object*, lean_object
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedState;
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Expr_0__Lean_mkAppRangeAux(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_sortFVarIds___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_withLocalDeclsD___spec__1(lean_object*);
|
||||
|
|
@ -1252,7 +1252,7 @@ _start:
|
|||
uint8_t x_2; uint8_t x_3; uint8_t x_4;
|
||||
x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*1);
|
||||
x_3 = 1;
|
||||
x_4 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_2, x_3);
|
||||
x_4 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -1272,7 +1272,7 @@ _start:
|
|||
uint8_t x_2; uint8_t x_3; uint8_t x_4;
|
||||
x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*1);
|
||||
x_3 = 3;
|
||||
x_4 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_2, x_3);
|
||||
x_4 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -1292,7 +1292,7 @@ _start:
|
|||
uint8_t x_2; uint8_t x_3; uint8_t x_4;
|
||||
x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*1);
|
||||
x_3 = 2;
|
||||
x_4 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_2, x_3);
|
||||
x_4 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -1312,12 +1312,12 @@ _start:
|
|||
uint8_t x_2; uint8_t x_3; uint8_t x_4;
|
||||
x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*1);
|
||||
x_3 = 0;
|
||||
x_4 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_2, x_3);
|
||||
x_4 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_2, x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
uint8_t x_5; uint8_t x_6;
|
||||
x_5 = 4;
|
||||
x_6 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_360_(x_2, x_5);
|
||||
x_6 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_362_(x_2, x_5);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
|
|
@ -1444,7 +1444,7 @@ x_5 = lean_ctor_get(x_1, 1);
|
|||
x_6 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
|
||||
x_7 = lean_ctor_get(x_2, 0);
|
||||
x_8 = lean_ctor_get(x_2, 1);
|
||||
x_9 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8507_(x_3, x_6);
|
||||
x_9 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8509_(x_3, x_6);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
uint8_t x_10;
|
||||
|
|
@ -7122,7 +7122,7 @@ x_8 = lean_ctor_get(x_6, 0);
|
|||
x_9 = 0;
|
||||
x_10 = lean_unbox(x_8);
|
||||
lean_dec(x_8);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8507_(x_10, x_9);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8509_(x_10, x_9);
|
||||
x_12 = lean_box(x_11);
|
||||
lean_ctor_set(x_6, 0, x_12);
|
||||
return x_6;
|
||||
|
|
@ -7138,7 +7138,7 @@ lean_dec(x_6);
|
|||
x_15 = 0;
|
||||
x_16 = lean_unbox(x_13);
|
||||
lean_dec(x_13);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8507_(x_16, x_15);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8509_(x_16, x_15);
|
||||
x_18 = lean_box(x_17);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
|
|
@ -7172,7 +7172,7 @@ x_8 = lean_ctor_get(x_6, 0);
|
|||
x_9 = 2;
|
||||
x_10 = lean_unbox(x_8);
|
||||
lean_dec(x_8);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8507_(x_10, x_9);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8509_(x_10, x_9);
|
||||
x_12 = lean_box(x_11);
|
||||
lean_ctor_set(x_6, 0, x_12);
|
||||
return x_6;
|
||||
|
|
@ -7188,7 +7188,7 @@ lean_dec(x_6);
|
|||
x_15 = 2;
|
||||
x_16 = lean_unbox(x_13);
|
||||
lean_dec(x_13);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8507_(x_16, x_15);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8509_(x_16, x_15);
|
||||
x_18 = lean_box(x_17);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
|
|
|
|||
68
stage0/stdlib/Lean/Meta/Closure.c
generated
68
stage0/stdlib/Lean/Meta/Closure.c
generated
|
|
@ -63,7 +63,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_nextExprIdx___default;
|
|||
uint8_t l_Lean_Level_hasParam(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_levelArgs___default;
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_contains___at_Lean_Meta_Closure_visitLevel___spec__4___boxed(lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_findCore___at_Lean_Meta_Closure_process___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mkAuxDefinitionFor(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -84,7 +84,6 @@ uint8_t l_Lean_Environment_hasUnsafe(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__2;
|
||||
static lean_object* l_Lean_Meta_Closure_collectLevelAux___closed__8;
|
||||
uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Meta_Closure_collectLevelAux___closed__4;
|
||||
lean_object* lean_expr_lower_loose_bvars(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -250,12 +249,14 @@ static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__4;
|
|||
LEAN_EXPORT lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkForall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Closure_collectExprAux___closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Closure_collectExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Closure_State_visitedExpr___default___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Closure_collectLevel(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkLevelParam(lean_object*);
|
||||
uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(lean_object*, uint8_t);
|
||||
lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_level_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Closure_State_newLetDecls___default;
|
||||
|
|
@ -11606,7 +11607,7 @@ _start:
|
|||
{
|
||||
lean_object* x_9; uint8_t x_252; uint8_t x_253;
|
||||
x_252 = 2;
|
||||
x_253 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(x_3, x_252);
|
||||
x_253 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(x_3, x_252);
|
||||
if (x_253 == 0)
|
||||
{
|
||||
lean_object* x_254;
|
||||
|
|
@ -12517,34 +12518,55 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_7; uint8_t x_8;
|
||||
x_7 = 0;
|
||||
lean_inc(x_1);
|
||||
x_8 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(x_1, x_7);
|
||||
if (x_8 == 0)
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_7 = lean_st_ref_get(x_5, x_6);
|
||||
x_8 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_7);
|
||||
x_10 = lean_ctor_get(x_8, 5);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_8);
|
||||
x_11 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1___lambda__1(x_1, x_9, x_2, x_3, x_4, x_5, x_6);
|
||||
return x_10;
|
||||
uint8_t x_12; uint8_t x_13;
|
||||
x_12 = 0;
|
||||
lean_inc(x_1);
|
||||
x_13 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(x_1, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
x_14 = lean_box(0);
|
||||
x_15 = l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1___lambda__1(x_1, x_14, x_2, x_3, x_4, x_5, x_9);
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_11 = l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1___closed__3;
|
||||
x_12 = 1;
|
||||
lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_16 = l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1___closed__3;
|
||||
x_17 = 1;
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_13 = l_Lean_log___at_Lean_Meta_mkAuxDefinition___spec__3(x_11, x_12, x_2, x_3, x_4, x_5, x_6);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1___lambda__1(x_1, x_14, x_2, x_3, x_4, x_5, x_15);
|
||||
return x_16;
|
||||
x_18 = l_Lean_log___at_Lean_Meta_mkAuxDefinition___spec__3(x_16, x_17, x_2, x_3, x_4, x_5, x_9);
|
||||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_18);
|
||||
x_21 = l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1___lambda__1(x_1, x_19, x_2, x_3, x_4, x_5, x_20);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
x_22 = lean_box(0);
|
||||
x_23 = l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1___lambda__1(x_1, x_22, x_2, x_3, x_4, x_5, x_9);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
378
stage0/stdlib/Lean/Meta/Constructions.c
generated
378
stage0/stdlib/Lean/Meta/Constructions.c
generated
|
|
@ -33,6 +33,7 @@ LEAN_EXPORT lean_object* l_Lean_mkBInductionOn___rarg(lean_object*, lean_object*
|
|||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isProp(lean_object*);
|
||||
extern lean_object* l_Lean_noConfusionExt;
|
||||
lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_foldlM___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__11___closed__4;
|
||||
static lean_object* l_Lean_mkNoConfusionEnum_mkToCtorIdx___closed__4;
|
||||
|
|
@ -57,7 +58,7 @@ lean_object* lean_mk_no_confusion(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_0__Lean_adaptFn___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkCasesOn___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkBelow___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -69,7 +70,6 @@ lean_object* l_Lean_mkAppN(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Expr_FindImpl_findUnsafe_x3f(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_mkNoConfusionEnum_mkNoConfusionType___closed__4;
|
||||
static lean_object* l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__14___closed__7;
|
||||
uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(lean_object*, uint8_t);
|
||||
lean_object* lean_mk_ibelow(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__14___closed__10;
|
||||
static lean_object* l_Lean_mkNoConfusionEnum_mkToCtorIdx___closed__6;
|
||||
|
|
@ -94,6 +94,7 @@ lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__14___closed__5;
|
||||
static lean_object* l_Lean_logAt___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__7___closed__1;
|
||||
static lean_object* l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1___closed__8;
|
||||
static lean_object* l_List_foldlM___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__11___closed__1;
|
||||
static lean_object* l_List_foldlM___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__11___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_mkBRecOn(lean_object*);
|
||||
|
|
@ -196,6 +197,7 @@ static lean_object* l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkT
|
|||
lean_object* l_Lean_mkNatLit(lean_object*);
|
||||
lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkNoConfusionEnum_mkNoConfusionType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_mkNoConfusionEnum_mkNoConfusionType___lambda__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_mkNoConfusionCore___at_Lean_mkNoConfusionEnum___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_mkNoConfusionEnum_mkNoConfusionType___lambda__1___closed__4;
|
||||
|
|
@ -203,6 +205,7 @@ uint8_t l_List_isEmpty___rarg(lean_object*);
|
|||
lean_object* lean_mk_rec_on(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__14___closed__11;
|
||||
lean_object* l_Lean_mkLevelParam(lean_object*);
|
||||
uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkNoConfusionCore(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkCasesOn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkNoConfusionEnum_mkNoConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -210,6 +213,7 @@ extern lean_object* l_Lean_levelOne;
|
|||
LEAN_EXPORT lean_object* l_Lean_mkRecOn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_mkNoConfusionEnum_mkNoConfusionType___closed__5;
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_mkNoConfusionEnum_mkToCtorIdx___closed__8;
|
||||
|
|
@ -945,7 +949,7 @@ _start:
|
|||
{
|
||||
lean_object* x_9; uint8_t x_252; uint8_t x_253;
|
||||
x_252 = 2;
|
||||
x_253 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(x_3, x_252);
|
||||
x_253 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(x_3, x_252);
|
||||
if (x_253 == 0)
|
||||
{
|
||||
lean_object* x_254;
|
||||
|
|
@ -1856,34 +1860,55 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_7; uint8_t x_8;
|
||||
x_7 = 0;
|
||||
lean_inc(x_1);
|
||||
x_8 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(x_1, x_7);
|
||||
if (x_8 == 0)
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_7 = lean_st_ref_get(x_5, x_6);
|
||||
x_8 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_7);
|
||||
x_10 = lean_ctor_get(x_8, 5);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_8);
|
||||
x_11 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l_Lean_addDecl___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__4___lambda__1(x_1, x_9, x_2, x_3, x_4, x_5, x_6);
|
||||
return x_10;
|
||||
uint8_t x_12; uint8_t x_13;
|
||||
x_12 = 0;
|
||||
lean_inc(x_1);
|
||||
x_13 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(x_1, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
x_14 = lean_box(0);
|
||||
x_15 = l_Lean_addDecl___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__4___lambda__1(x_1, x_14, x_2, x_3, x_4, x_5, x_9);
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_11 = l_Lean_addDecl___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__4___closed__3;
|
||||
x_12 = 1;
|
||||
lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_16 = l_Lean_addDecl___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__4___closed__3;
|
||||
x_17 = 1;
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_13 = l_Lean_log___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__6(x_11, x_12, x_2, x_3, x_4, x_5, x_6);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = l_Lean_addDecl___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__4___lambda__1(x_1, x_14, x_2, x_3, x_4, x_5, x_15);
|
||||
return x_16;
|
||||
x_18 = l_Lean_log___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__6(x_16, x_17, x_2, x_3, x_4, x_5, x_9);
|
||||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_18);
|
||||
x_21 = l_Lean_addDecl___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__4___lambda__1(x_1, x_19, x_2, x_3, x_4, x_5, x_20);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
x_22 = lean_box(0);
|
||||
x_23 = l_Lean_addDecl___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__4___lambda__1(x_1, x_22, x_2, x_3, x_4, x_5, x_9);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4466,6 +4491,14 @@ x_1 = lean_mk_string_from_bytes("noConfusion", 11);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_noConfusionExt;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -4561,49 +4594,242 @@ lean_inc(x_10);
|
|||
x_53 = l_Lean_addAndCompile___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__3(x_52, x_10, x_11, x_12, x_13, x_44);
|
||||
if (lean_obj_tag(x_53) == 0)
|
||||
{
|
||||
lean_object* x_54; uint8_t x_55; lean_object* x_56;
|
||||
lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61;
|
||||
x_54 = lean_ctor_get(x_53, 1);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_53);
|
||||
x_55 = 0;
|
||||
lean_inc(x_46);
|
||||
x_56 = l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__14(x_46, x_55, x_10, x_11, x_12, x_13, x_54);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
return x_56;
|
||||
x_57 = lean_ctor_get(x_56, 1);
|
||||
lean_inc(x_57);
|
||||
lean_dec(x_56);
|
||||
x_58 = lean_st_ref_take(x_13, x_57);
|
||||
x_59 = lean_ctor_get(x_58, 0);
|
||||
lean_inc(x_59);
|
||||
x_60 = lean_ctor_get(x_58, 1);
|
||||
lean_inc(x_60);
|
||||
lean_dec(x_58);
|
||||
x_61 = !lean_is_exclusive(x_59);
|
||||
if (x_61 == 0)
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74;
|
||||
x_62 = lean_ctor_get(x_59, 0);
|
||||
x_63 = lean_ctor_get(x_59, 4);
|
||||
lean_dec(x_63);
|
||||
x_64 = l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1___closed__8;
|
||||
x_65 = l_Lean_TagDeclarationExtension_tag(x_64, x_62, x_46);
|
||||
x_66 = l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__14___closed__4;
|
||||
lean_ctor_set(x_59, 4, x_66);
|
||||
lean_ctor_set(x_59, 0, x_65);
|
||||
x_67 = lean_st_ref_set(x_13, x_59, x_60);
|
||||
x_68 = lean_ctor_get(x_67, 1);
|
||||
lean_inc(x_68);
|
||||
lean_dec(x_67);
|
||||
x_69 = lean_st_ref_get(x_13, x_68);
|
||||
lean_dec(x_13);
|
||||
x_70 = lean_ctor_get(x_69, 1);
|
||||
lean_inc(x_70);
|
||||
lean_dec(x_69);
|
||||
x_71 = lean_st_ref_take(x_11, x_70);
|
||||
x_72 = lean_ctor_get(x_71, 0);
|
||||
lean_inc(x_72);
|
||||
x_73 = lean_ctor_get(x_71, 1);
|
||||
lean_inc(x_73);
|
||||
lean_dec(x_71);
|
||||
x_74 = !lean_is_exclusive(x_72);
|
||||
if (x_74 == 0)
|
||||
{
|
||||
lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78;
|
||||
x_75 = lean_ctor_get(x_72, 1);
|
||||
lean_dec(x_75);
|
||||
x_76 = l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__14___closed__12;
|
||||
lean_ctor_set(x_72, 1, x_76);
|
||||
x_77 = lean_st_ref_set(x_11, x_72, x_73);
|
||||
lean_dec(x_11);
|
||||
x_78 = !lean_is_exclusive(x_77);
|
||||
if (x_78 == 0)
|
||||
{
|
||||
lean_object* x_79; lean_object* x_80;
|
||||
x_79 = lean_ctor_get(x_77, 0);
|
||||
lean_dec(x_79);
|
||||
x_80 = lean_box(0);
|
||||
lean_ctor_set(x_77, 0, x_80);
|
||||
return x_77;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_57;
|
||||
lean_object* x_81; lean_object* x_82; lean_object* x_83;
|
||||
x_81 = lean_ctor_get(x_77, 1);
|
||||
lean_inc(x_81);
|
||||
lean_dec(x_77);
|
||||
x_82 = lean_box(0);
|
||||
x_83 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_83, 0, x_82);
|
||||
lean_ctor_set(x_83, 1, x_81);
|
||||
return x_83;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93;
|
||||
x_84 = lean_ctor_get(x_72, 0);
|
||||
x_85 = lean_ctor_get(x_72, 2);
|
||||
x_86 = lean_ctor_get(x_72, 3);
|
||||
lean_inc(x_86);
|
||||
lean_inc(x_85);
|
||||
lean_inc(x_84);
|
||||
lean_dec(x_72);
|
||||
x_87 = l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__14___closed__12;
|
||||
x_88 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_88, 0, x_84);
|
||||
lean_ctor_set(x_88, 1, x_87);
|
||||
lean_ctor_set(x_88, 2, x_85);
|
||||
lean_ctor_set(x_88, 3, x_86);
|
||||
x_89 = lean_st_ref_set(x_11, x_88, x_73);
|
||||
lean_dec(x_11);
|
||||
x_90 = lean_ctor_get(x_89, 1);
|
||||
lean_inc(x_90);
|
||||
if (lean_is_exclusive(x_89)) {
|
||||
lean_ctor_release(x_89, 0);
|
||||
lean_ctor_release(x_89, 1);
|
||||
x_91 = x_89;
|
||||
} else {
|
||||
lean_dec_ref(x_89);
|
||||
x_91 = lean_box(0);
|
||||
}
|
||||
x_92 = lean_box(0);
|
||||
if (lean_is_scalar(x_91)) {
|
||||
x_93 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_93 = x_91;
|
||||
}
|
||||
lean_ctor_set(x_93, 0, x_92);
|
||||
lean_ctor_set(x_93, 1, x_90);
|
||||
return x_93;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120;
|
||||
x_94 = lean_ctor_get(x_59, 0);
|
||||
x_95 = lean_ctor_get(x_59, 1);
|
||||
x_96 = lean_ctor_get(x_59, 2);
|
||||
x_97 = lean_ctor_get(x_59, 3);
|
||||
x_98 = lean_ctor_get(x_59, 5);
|
||||
lean_inc(x_98);
|
||||
lean_inc(x_97);
|
||||
lean_inc(x_96);
|
||||
lean_inc(x_95);
|
||||
lean_inc(x_94);
|
||||
lean_dec(x_59);
|
||||
x_99 = l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1___closed__8;
|
||||
x_100 = l_Lean_TagDeclarationExtension_tag(x_99, x_94, x_46);
|
||||
x_101 = l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__14___closed__4;
|
||||
x_102 = lean_alloc_ctor(0, 6, 0);
|
||||
lean_ctor_set(x_102, 0, x_100);
|
||||
lean_ctor_set(x_102, 1, x_95);
|
||||
lean_ctor_set(x_102, 2, x_96);
|
||||
lean_ctor_set(x_102, 3, x_97);
|
||||
lean_ctor_set(x_102, 4, x_101);
|
||||
lean_ctor_set(x_102, 5, x_98);
|
||||
x_103 = lean_st_ref_set(x_13, x_102, x_60);
|
||||
x_104 = lean_ctor_get(x_103, 1);
|
||||
lean_inc(x_104);
|
||||
lean_dec(x_103);
|
||||
x_105 = lean_st_ref_get(x_13, x_104);
|
||||
lean_dec(x_13);
|
||||
x_106 = lean_ctor_get(x_105, 1);
|
||||
lean_inc(x_106);
|
||||
lean_dec(x_105);
|
||||
x_107 = lean_st_ref_take(x_11, x_106);
|
||||
x_108 = lean_ctor_get(x_107, 0);
|
||||
lean_inc(x_108);
|
||||
x_109 = lean_ctor_get(x_107, 1);
|
||||
lean_inc(x_109);
|
||||
lean_dec(x_107);
|
||||
x_110 = lean_ctor_get(x_108, 0);
|
||||
lean_inc(x_110);
|
||||
x_111 = lean_ctor_get(x_108, 2);
|
||||
lean_inc(x_111);
|
||||
x_112 = lean_ctor_get(x_108, 3);
|
||||
lean_inc(x_112);
|
||||
if (lean_is_exclusive(x_108)) {
|
||||
lean_ctor_release(x_108, 0);
|
||||
lean_ctor_release(x_108, 1);
|
||||
lean_ctor_release(x_108, 2);
|
||||
lean_ctor_release(x_108, 3);
|
||||
x_113 = x_108;
|
||||
} else {
|
||||
lean_dec_ref(x_108);
|
||||
x_113 = lean_box(0);
|
||||
}
|
||||
x_114 = l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__14___closed__12;
|
||||
if (lean_is_scalar(x_113)) {
|
||||
x_115 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
x_115 = x_113;
|
||||
}
|
||||
lean_ctor_set(x_115, 0, x_110);
|
||||
lean_ctor_set(x_115, 1, x_114);
|
||||
lean_ctor_set(x_115, 2, x_111);
|
||||
lean_ctor_set(x_115, 3, x_112);
|
||||
x_116 = lean_st_ref_set(x_11, x_115, x_109);
|
||||
lean_dec(x_11);
|
||||
x_117 = lean_ctor_get(x_116, 1);
|
||||
lean_inc(x_117);
|
||||
if (lean_is_exclusive(x_116)) {
|
||||
lean_ctor_release(x_116, 0);
|
||||
lean_ctor_release(x_116, 1);
|
||||
x_118 = x_116;
|
||||
} else {
|
||||
lean_dec_ref(x_116);
|
||||
x_118 = lean_box(0);
|
||||
}
|
||||
x_119 = lean_box(0);
|
||||
if (lean_is_scalar(x_118)) {
|
||||
x_120 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_120 = x_118;
|
||||
}
|
||||
lean_ctor_set(x_120, 0, x_119);
|
||||
lean_ctor_set(x_120, 1, x_117);
|
||||
return x_120;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_121;
|
||||
lean_dec(x_46);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
x_57 = !lean_is_exclusive(x_53);
|
||||
if (x_57 == 0)
|
||||
x_121 = !lean_is_exclusive(x_53);
|
||||
if (x_121 == 0)
|
||||
{
|
||||
return x_53;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60;
|
||||
x_58 = lean_ctor_get(x_53, 0);
|
||||
x_59 = lean_ctor_get(x_53, 1);
|
||||
lean_inc(x_59);
|
||||
lean_inc(x_58);
|
||||
lean_object* x_122; lean_object* x_123; lean_object* x_124;
|
||||
x_122 = lean_ctor_get(x_53, 0);
|
||||
x_123 = lean_ctor_get(x_53, 1);
|
||||
lean_inc(x_123);
|
||||
lean_inc(x_122);
|
||||
lean_dec(x_53);
|
||||
x_60 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_60, 0, x_58);
|
||||
lean_ctor_set(x_60, 1, x_59);
|
||||
return x_60;
|
||||
x_124 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_124, 0, x_122);
|
||||
lean_ctor_set(x_124, 1, x_123);
|
||||
return x_124;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_61;
|
||||
uint8_t x_125;
|
||||
lean_dec(x_25);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
|
|
@ -4612,29 +4838,29 @@ lean_dec(x_10);
|
|||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_61 = !lean_is_exclusive(x_42);
|
||||
if (x_61 == 0)
|
||||
x_125 = !lean_is_exclusive(x_42);
|
||||
if (x_125 == 0)
|
||||
{
|
||||
return x_42;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63; lean_object* x_64;
|
||||
x_62 = lean_ctor_get(x_42, 0);
|
||||
x_63 = lean_ctor_get(x_42, 1);
|
||||
lean_inc(x_63);
|
||||
lean_inc(x_62);
|
||||
lean_object* x_126; lean_object* x_127; lean_object* x_128;
|
||||
x_126 = lean_ctor_get(x_42, 0);
|
||||
x_127 = lean_ctor_get(x_42, 1);
|
||||
lean_inc(x_127);
|
||||
lean_inc(x_126);
|
||||
lean_dec(x_42);
|
||||
x_64 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_64, 0, x_62);
|
||||
lean_ctor_set(x_64, 1, x_63);
|
||||
return x_64;
|
||||
x_128 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_128, 0, x_126);
|
||||
lean_ctor_set(x_128, 1, x_127);
|
||||
return x_128;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_65;
|
||||
uint8_t x_129;
|
||||
lean_dec(x_25);
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_13);
|
||||
|
|
@ -4644,29 +4870,29 @@ lean_dec(x_10);
|
|||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_65 = !lean_is_exclusive(x_39);
|
||||
if (x_65 == 0)
|
||||
x_129 = !lean_is_exclusive(x_39);
|
||||
if (x_129 == 0)
|
||||
{
|
||||
return x_39;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_66; lean_object* x_67; lean_object* x_68;
|
||||
x_66 = lean_ctor_get(x_39, 0);
|
||||
x_67 = lean_ctor_get(x_39, 1);
|
||||
lean_inc(x_67);
|
||||
lean_inc(x_66);
|
||||
lean_object* x_130; lean_object* x_131; lean_object* x_132;
|
||||
x_130 = lean_ctor_get(x_39, 0);
|
||||
x_131 = lean_ctor_get(x_39, 1);
|
||||
lean_inc(x_131);
|
||||
lean_inc(x_130);
|
||||
lean_dec(x_39);
|
||||
x_68 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_68, 0, x_66);
|
||||
lean_ctor_set(x_68, 1, x_67);
|
||||
return x_68;
|
||||
x_132 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_132, 0, x_130);
|
||||
lean_ctor_set(x_132, 1, x_131);
|
||||
return x_132;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_69;
|
||||
uint8_t x_133;
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
|
|
@ -4680,23 +4906,23 @@ lean_dec(x_5);
|
|||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_69 = !lean_is_exclusive(x_24);
|
||||
if (x_69 == 0)
|
||||
x_133 = !lean_is_exclusive(x_24);
|
||||
if (x_133 == 0)
|
||||
{
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_70; lean_object* x_71; lean_object* x_72;
|
||||
x_70 = lean_ctor_get(x_24, 0);
|
||||
x_71 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_71);
|
||||
lean_inc(x_70);
|
||||
lean_object* x_134; lean_object* x_135; lean_object* x_136;
|
||||
x_134 = lean_ctor_get(x_24, 0);
|
||||
x_135 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_135);
|
||||
lean_inc(x_134);
|
||||
lean_dec(x_24);
|
||||
x_72 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_72, 0, x_70);
|
||||
lean_ctor_set(x_72, 1, x_71);
|
||||
return x_72;
|
||||
x_136 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_136, 0, x_134);
|
||||
lean_ctor_set(x_136, 1, x_135);
|
||||
return x_136;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5996,6 +6222,8 @@ l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1___closed__6 = _init_l_Lean_mk
|
|||
lean_mark_persistent(l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1___closed__6);
|
||||
l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1___closed__7 = _init_l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1___closed__7();
|
||||
lean_mark_persistent(l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1___closed__7);
|
||||
l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1___closed__8 = _init_l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1___closed__8();
|
||||
lean_mark_persistent(l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__1___closed__8);
|
||||
l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__2___closed__1 = _init_l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__2___closed__1);
|
||||
l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__2___closed__2 = _init_l_Lean_mkNoConfusionEnum_mkNoConfusion___lambda__2___closed__2();
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/DiscrTreeTypes.c
generated
4
stage0/stdlib/Lean/Meta/DiscrTreeTypes.c
generated
|
|
@ -16,7 +16,7 @@ extern "C" {
|
|||
static lean_object* l_Lean_Meta_DiscrTree_root___default___closed__2;
|
||||
static lean_object* l_Lean_Meta_DiscrTree_instBEqKey___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_DiscrTree_root___default(lean_object*);
|
||||
uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(lean_object*);
|
||||
uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_reprKey____x40_Lean_Meta_DiscrTreeTypes___hyg_312_(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_DiscrTree_instInhabitedKey___closed__1;
|
||||
static lean_object* l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_reprKey____x40_Lean_Meta_DiscrTreeTypes___hyg_312____closed__31;
|
||||
|
|
@ -938,7 +938,7 @@ lean_object* x_9; lean_object* x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13
|
|||
x_9 = lean_ctor_get(x_1, 0);
|
||||
x_10 = lean_ctor_get(x_1, 1);
|
||||
x_11 = 3541;
|
||||
x_12 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_9);
|
||||
x_12 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_9);
|
||||
x_13 = lean_uint64_of_nat(x_10);
|
||||
x_14 = lean_uint64_mix_hash(x_12, x_13);
|
||||
x_15 = lean_uint64_mix_hash(x_11, x_14);
|
||||
|
|
|
|||
68
stage0/stdlib/Lean/Meta/Eqns.c
generated
68
stage0/stdlib/Lean/Meta/Eqns.c
generated
|
|
@ -48,7 +48,7 @@ lean_object* lean_array_get_size(lean_object*);
|
|||
lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*);
|
||||
static lean_object* l_Lean_addDecl___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___closed__3;
|
||||
size_t lean_usize_shift_right(size_t, size_t);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t);
|
||||
static size_t l_Std_PersistentHashMap_findAux___at_Lean_Meta_getEqnsFor_x3f___spec__2___closed__1;
|
||||
static lean_object* l_Lean_Meta_registerGetEqnsFn___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getEqnsFor_x3f___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -62,7 +62,6 @@ lean_object* l_Lean_mkAppN(lean_object*, lean_object*);
|
|||
size_t lean_uint64_to_usize(uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_log___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_getEqnsFor_x3f___spec__2(lean_object*, size_t, lean_object*);
|
||||
uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(lean_object*, uint8_t);
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__5(lean_object*);
|
||||
static lean_object* l_Lean_addDecl___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___closed__1;
|
||||
|
|
@ -145,7 +144,9 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getEqnsFor_x3f___lambda__3(lean_object*, ui
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_EqnsExtState_map___default___closed__1;
|
||||
static lean_object* l_Lean_Meta_getEqnsFor_x3f___closed__4;
|
||||
uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(lean_object*, uint8_t);
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_getEqnsFor_x3f___spec__4(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -698,7 +699,7 @@ _start:
|
|||
{
|
||||
lean_object* x_9; uint8_t x_252; uint8_t x_253;
|
||||
x_252 = 2;
|
||||
x_253 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(x_3, x_252);
|
||||
x_253 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(x_3, x_252);
|
||||
if (x_253 == 0)
|
||||
{
|
||||
lean_object* x_254;
|
||||
|
|
@ -1609,34 +1610,55 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l_Lean_addDecl___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_7; uint8_t x_8;
|
||||
x_7 = 0;
|
||||
lean_inc(x_1);
|
||||
x_8 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(x_1, x_7);
|
||||
if (x_8 == 0)
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_7 = lean_st_ref_get(x_5, x_6);
|
||||
x_8 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_7);
|
||||
x_10 = lean_ctor_get(x_8, 5);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_8);
|
||||
x_11 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l_Lean_addDecl___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___lambda__1(x_1, x_9, x_2, x_3, x_4, x_5, x_6);
|
||||
return x_10;
|
||||
uint8_t x_12; uint8_t x_13;
|
||||
x_12 = 0;
|
||||
lean_inc(x_1);
|
||||
x_13 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(x_1, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
x_14 = lean_box(0);
|
||||
x_15 = l_Lean_addDecl___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___lambda__1(x_1, x_14, x_2, x_3, x_4, x_5, x_9);
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_11 = l_Lean_addDecl___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___closed__3;
|
||||
x_12 = 1;
|
||||
lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_16 = l_Lean_addDecl___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___closed__3;
|
||||
x_17 = 1;
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_13 = l_Lean_log___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__3(x_11, x_12, x_2, x_3, x_4, x_5, x_6);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = l_Lean_addDecl___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___lambda__1(x_1, x_14, x_2, x_3, x_4, x_5, x_15);
|
||||
return x_16;
|
||||
x_18 = l_Lean_log___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__3(x_16, x_17, x_2, x_3, x_4, x_5, x_9);
|
||||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_18);
|
||||
x_21 = l_Lean_addDecl___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___lambda__1(x_1, x_19, x_2, x_3, x_4, x_5, x_20);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
x_22 = lean_box(0);
|
||||
x_23 = l_Lean_addDecl___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___lambda__1(x_1, x_22, x_2, x_3, x_4, x_5, x_9);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
12
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
|
|
@ -76,7 +76,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_isDefEqStringLit(lean_object*, lean_object*
|
|||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldNonProjFnDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___spec__13(lean_object*, lean_object*);
|
||||
uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(lean_object*);
|
||||
uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_expr_update_mdata(lean_object*, lean_object*);
|
||||
|
|
@ -10910,7 +10910,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8;
|
|||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
x_6 = lean_array_get_size(x_1);
|
||||
x_7 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_4);
|
||||
x_7 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_4);
|
||||
x_8 = lean_uint64_to_usize(x_7);
|
||||
x_9 = lean_usize_modn(x_8, x_6);
|
||||
lean_dec(x_6);
|
||||
|
|
@ -10930,7 +10930,7 @@ lean_inc(x_14);
|
|||
lean_inc(x_13);
|
||||
lean_dec(x_2);
|
||||
x_15 = lean_array_get_size(x_1);
|
||||
x_16 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_13);
|
||||
x_16 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_13);
|
||||
x_17 = lean_uint64_to_usize(x_16);
|
||||
x_18 = lean_usize_modn(x_17, x_15);
|
||||
lean_dec(x_15);
|
||||
|
|
@ -11070,7 +11070,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8;
|
|||
x_4 = lean_ctor_get(x_1, 0);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
x_6 = lean_array_get_size(x_5);
|
||||
x_7 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_2);
|
||||
x_7 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_2);
|
||||
x_8 = lean_uint64_to_usize(x_7);
|
||||
x_9 = lean_usize_modn(x_8, x_6);
|
||||
x_10 = lean_array_uget(x_5, x_9);
|
||||
|
|
@ -11122,7 +11122,7 @@ lean_inc(x_21);
|
|||
lean_inc(x_20);
|
||||
lean_dec(x_1);
|
||||
x_22 = lean_array_get_size(x_21);
|
||||
x_23 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_2);
|
||||
x_23 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_2);
|
||||
x_24 = lean_uint64_to_usize(x_23);
|
||||
x_25 = lean_usize_modn(x_24, x_22);
|
||||
x_26 = lean_array_uget(x_21, x_25);
|
||||
|
|
@ -12945,7 +12945,7 @@ _start:
|
|||
lean_object* x_3; lean_object* x_4; uint64_t x_5; size_t x_6; size_t x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
x_4 = lean_array_get_size(x_3);
|
||||
x_5 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1843_(x_2);
|
||||
x_5 = l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1845_(x_2);
|
||||
x_6 = lean_uint64_to_usize(x_5);
|
||||
x_7 = lean_usize_modn(x_6, x_4);
|
||||
lean_dec(x_4);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Meta/GetConst.c
generated
6
stage0/stdlib/Lean/Meta/GetConst.c
generated
|
|
@ -21,7 +21,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_getConstNoEx_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isReducible___at___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getConst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8507_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8509_(uint8_t, uint8_t);
|
||||
lean_object* l_Lean_ConstantInfo_name(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -315,7 +315,7 @@ x_39 = lean_ctor_get(x_38, 0);
|
|||
lean_inc(x_39);
|
||||
lean_dec(x_38);
|
||||
x_40 = 3;
|
||||
x_41 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8507_(x_6, x_40);
|
||||
x_41 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8509_(x_6, x_40);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
uint8_t x_42; lean_object* x_43;
|
||||
|
|
@ -360,7 +360,7 @@ x_51 = lean_ctor_get(x_49, 0);
|
|||
lean_inc(x_51);
|
||||
lean_dec(x_49);
|
||||
x_52 = 3;
|
||||
x_53 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8507_(x_6, x_52);
|
||||
x_53 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_8509_(x_6, x_52);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
uint8_t x_54; lean_object* x_55; lean_object* x_56;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Instances.c
generated
4
stage0/stdlib/Lean/Meta/Instances.c
generated
|
|
@ -128,7 +128,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getGlobalInstancesIndex___rarg___boxed(lean
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_1131____lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_1131_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_299_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_469_(lean_object*);
|
||||
|
|
@ -7983,7 +7983,7 @@ x_11 = lean_ctor_get(x_9, 1);
|
|||
lean_inc(x_11);
|
||||
lean_dec(x_9);
|
||||
x_12 = 0;
|
||||
x_13 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_128_(x_3, x_12);
|
||||
x_13 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_132_(x_3, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
|
|
|
|||
22
stage0/stdlib/Lean/Meta/LevelDefEq.c
generated
22
stage0/stdlib/Lean/Meta/LevelDefEq.c
generated
|
|
@ -24,7 +24,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_isLevelDefEqAuxImpl___lambda__1___boxed(lea
|
|||
static lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax___closed__6;
|
||||
static lean_object* l_Lean_Meta_isLevelDefEqAuxImpl___closed__1;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(uint8_t, uint8_t);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_isLevelDefEqAuxImpl___closed__2;
|
||||
static lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__8;
|
||||
|
|
@ -2205,7 +2205,7 @@ x_24 = lean_ctor_get(x_22, 0);
|
|||
x_25 = lean_ctor_get(x_22, 1);
|
||||
x_26 = 2;
|
||||
x_27 = lean_unbox(x_24);
|
||||
x_28 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(x_27, x_26);
|
||||
x_28 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(x_27, x_26);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
uint8_t x_29; uint8_t x_30; uint8_t x_31; lean_object* x_32;
|
||||
|
|
@ -2219,7 +2219,7 @@ lean_dec(x_1);
|
|||
x_29 = 1;
|
||||
x_30 = lean_unbox(x_24);
|
||||
lean_dec(x_24);
|
||||
x_31 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(x_30, x_29);
|
||||
x_31 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(x_30, x_29);
|
||||
x_32 = lean_box(x_31);
|
||||
lean_ctor_set(x_22, 0, x_32);
|
||||
return x_22;
|
||||
|
|
@ -2246,7 +2246,7 @@ lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38;
|
|||
x_35 = lean_ctor_get(x_33, 0);
|
||||
x_36 = lean_ctor_get(x_33, 1);
|
||||
x_37 = lean_unbox(x_35);
|
||||
x_38 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(x_37, x_26);
|
||||
x_38 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(x_37, x_26);
|
||||
if (x_38 == 0)
|
||||
{
|
||||
uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42;
|
||||
|
|
@ -2260,7 +2260,7 @@ lean_dec(x_1);
|
|||
x_39 = 1;
|
||||
x_40 = lean_unbox(x_35);
|
||||
lean_dec(x_35);
|
||||
x_41 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(x_40, x_39);
|
||||
x_41 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(x_40, x_39);
|
||||
x_42 = lean_box(x_41);
|
||||
lean_ctor_set(x_33, 0, x_42);
|
||||
return x_33;
|
||||
|
|
@ -2760,7 +2760,7 @@ lean_inc(x_180);
|
|||
lean_inc(x_179);
|
||||
lean_dec(x_33);
|
||||
x_181 = lean_unbox(x_179);
|
||||
x_182 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(x_181, x_26);
|
||||
x_182 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(x_181, x_26);
|
||||
if (x_182 == 0)
|
||||
{
|
||||
uint8_t x_183; uint8_t x_184; uint8_t x_185; lean_object* x_186; lean_object* x_187;
|
||||
|
|
@ -2774,7 +2774,7 @@ lean_dec(x_1);
|
|||
x_183 = 1;
|
||||
x_184 = lean_unbox(x_179);
|
||||
lean_dec(x_179);
|
||||
x_185 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(x_184, x_183);
|
||||
x_185 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(x_184, x_183);
|
||||
x_186 = lean_box(x_185);
|
||||
x_187 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_187, 0, x_186);
|
||||
|
|
@ -3083,7 +3083,7 @@ lean_inc(x_260);
|
|||
lean_dec(x_22);
|
||||
x_262 = 2;
|
||||
x_263 = lean_unbox(x_260);
|
||||
x_264 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(x_263, x_262);
|
||||
x_264 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(x_263, x_262);
|
||||
if (x_264 == 0)
|
||||
{
|
||||
uint8_t x_265; uint8_t x_266; uint8_t x_267; lean_object* x_268; lean_object* x_269;
|
||||
|
|
@ -3097,7 +3097,7 @@ lean_dec(x_1);
|
|||
x_265 = 1;
|
||||
x_266 = lean_unbox(x_260);
|
||||
lean_dec(x_260);
|
||||
x_267 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(x_266, x_265);
|
||||
x_267 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(x_266, x_265);
|
||||
x_268 = lean_box(x_267);
|
||||
x_269 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_269, 0, x_268);
|
||||
|
|
@ -3131,7 +3131,7 @@ if (lean_is_exclusive(x_270)) {
|
|||
x_273 = lean_box(0);
|
||||
}
|
||||
x_274 = lean_unbox(x_271);
|
||||
x_275 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(x_274, x_262);
|
||||
x_275 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(x_274, x_262);
|
||||
if (x_275 == 0)
|
||||
{
|
||||
uint8_t x_276; uint8_t x_277; uint8_t x_278; lean_object* x_279; lean_object* x_280;
|
||||
|
|
@ -3145,7 +3145,7 @@ lean_dec(x_1);
|
|||
x_276 = 1;
|
||||
x_277 = lean_unbox(x_271);
|
||||
lean_dec(x_271);
|
||||
x_278 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_13_(x_277, x_276);
|
||||
x_278 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_15_(x_277, x_276);
|
||||
x_279 = lean_box(x_278);
|
||||
if (lean_is_scalar(x_273)) {
|
||||
x_280 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Match/MatchEqs.c
generated
4
stage0/stdlib/Lean/Meta/Match/MatchEqs.c
generated
|
|
@ -135,7 +135,7 @@ lean_object* lean_string_append(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofList(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__3___closed__5;
|
||||
lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_99_(uint8_t, lean_object*);
|
||||
lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_101_(uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Match_proveCondEqThm___lambda__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -22241,7 +22241,7 @@ lean_ctor_set(x_25, 1, x_24);
|
|||
x_26 = lean_ctor_get_uint8(x_15, sizeof(void*)*7);
|
||||
lean_dec(x_15);
|
||||
x_27 = lean_unsigned_to_nat(0u);
|
||||
x_28 = l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_99_(x_26, x_27);
|
||||
x_28 = l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_101_(x_26, x_27);
|
||||
x_29 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
x_30 = lean_alloc_ctor(10, 2, 0);
|
||||
|
|
|
|||
131
stage0/stdlib/Lean/Meta/SizeOf.c
generated
131
stage0/stdlib/Lean/Meta/SizeOf.c
generated
|
|
@ -113,7 +113,7 @@ static lean_object* l_Lean_setEnv___at___private_Lean_Meta_SizeOf_0__Lean_Meta_S
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_head_x21___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3___closed__3;
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
lean_object* l_Lean_Meta_whnfI(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -147,7 +147,6 @@ LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Meta_mkSizeOfFn___spec__6(lean_o
|
|||
static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwKernelException___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isInductivePredicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1___closed__5;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_6107____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at_Lean_Meta_mkSizeOfFns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -432,8 +431,10 @@ static lean_object* l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta
|
|||
static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isInductiveHypothesis_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__5;
|
||||
uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Meta_mkSizeOfSpecLemmaInstance___closed__3;
|
||||
static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__7;
|
||||
uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_mkSizeOf___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -4682,7 +4683,7 @@ _start:
|
|||
{
|
||||
lean_object* x_9; uint8_t x_252; uint8_t x_253;
|
||||
x_252 = 2;
|
||||
x_253 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(x_3, x_252);
|
||||
x_253 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(x_3, x_252);
|
||||
if (x_253 == 0)
|
||||
{
|
||||
lean_object* x_254;
|
||||
|
|
@ -5593,34 +5594,55 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_7; uint8_t x_8;
|
||||
x_7 = 0;
|
||||
lean_inc(x_1);
|
||||
x_8 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(x_1, x_7);
|
||||
if (x_8 == 0)
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_7 = lean_st_ref_get(x_5, x_6);
|
||||
x_8 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_7);
|
||||
x_10 = lean_ctor_get(x_8, 5);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_8);
|
||||
x_11 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3___lambda__1(x_1, x_9, x_2, x_3, x_4, x_5, x_6);
|
||||
return x_10;
|
||||
uint8_t x_12; uint8_t x_13;
|
||||
x_12 = 0;
|
||||
lean_inc(x_1);
|
||||
x_13 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(x_1, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
x_14 = lean_box(0);
|
||||
x_15 = l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3___lambda__1(x_1, x_14, x_2, x_3, x_4, x_5, x_9);
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_11 = l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3___closed__3;
|
||||
x_12 = 1;
|
||||
lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_16 = l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3___closed__3;
|
||||
x_17 = 1;
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_13 = l_Lean_log___at_Lean_Meta_mkSizeOfFn___spec__5(x_11, x_12, x_2, x_3, x_4, x_5, x_6);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3___lambda__1(x_1, x_14, x_2, x_3, x_4, x_5, x_15);
|
||||
return x_16;
|
||||
x_18 = l_Lean_log___at_Lean_Meta_mkSizeOfFn___spec__5(x_16, x_17, x_2, x_3, x_4, x_5, x_9);
|
||||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_18);
|
||||
x_21 = l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3___lambda__1(x_1, x_19, x_2, x_3, x_4, x_5, x_20);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
x_22 = lean_box(0);
|
||||
x_23 = l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3___lambda__1(x_1, x_22, x_2, x_3, x_4, x_5, x_9);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -10330,7 +10352,7 @@ _start:
|
|||
{
|
||||
lean_object* x_10; uint8_t x_253; uint8_t x_254;
|
||||
x_253 = 2;
|
||||
x_254 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(x_3, x_253);
|
||||
x_254 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(x_3, x_253);
|
||||
if (x_254 == 0)
|
||||
{
|
||||
lean_object* x_255;
|
||||
|
|
@ -11216,35 +11238,56 @@ return x_17;
|
|||
LEAN_EXPORT lean_object* l_Lean_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_8; uint8_t x_9;
|
||||
x_8 = 0;
|
||||
lean_inc(x_1);
|
||||
x_9 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(x_1, x_8);
|
||||
if (x_9 == 0)
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12;
|
||||
x_8 = lean_st_ref_get(x_6, x_7);
|
||||
x_9 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_8);
|
||||
x_11 = lean_ctor_get(x_9, 5);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_9);
|
||||
x_12 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_11);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
x_10 = lean_box(0);
|
||||
x_11 = l_Lean_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__2___lambda__1(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
return x_11;
|
||||
uint8_t x_13; uint8_t x_14;
|
||||
x_13 = 0;
|
||||
lean_inc(x_1);
|
||||
x_14 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(x_1, x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
x_15 = lean_box(0);
|
||||
x_16 = l_Lean_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__2___lambda__1(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_10);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_12 = l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3___closed__3;
|
||||
x_13 = 1;
|
||||
lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_17 = l_Lean_addDecl___at_Lean_Meta_mkSizeOfFn___spec__3___closed__3;
|
||||
x_18 = 1;
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_14 = l_Lean_log___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__6(x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
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_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__2___lambda__1(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_16);
|
||||
return x_17;
|
||||
x_19 = l_Lean_log___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__6(x_17, x_18, x_2, x_3, x_4, x_5, x_6, x_10);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
x_22 = l_Lean_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__2___lambda__1(x_1, x_20, x_2, x_3, x_4, x_5, x_6, x_21);
|
||||
return x_22;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24;
|
||||
x_23 = lean_box(0);
|
||||
x_24 = l_Lean_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__2___lambda__1(x_1, x_23, x_2, x_3, x_4, x_5, x_6, x_10);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
207
stage0/stdlib/Lean/Meta/Tactic/Acyclic.c
generated
207
stage0/stdlib/Lean/Meta/Tactic/Acyclic.c
generated
|
|
@ -45,7 +45,7 @@ static lean_object* l_Lean_Meta_acyclic_go___closed__13;
|
|||
static lean_object* l_Lean_Meta_acyclic_go___closed__23;
|
||||
static lean_object* l_Lean_Meta_acyclic_go___closed__14;
|
||||
static lean_object* l_Lean_Meta_acyclic_go___closed__28;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Acyclic___hyg_779_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Acyclic___hyg_797_(lean_object*);
|
||||
lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_acyclic_go___closed__15;
|
||||
static lean_object* l_Lean_Meta_acyclic_go___closed__30;
|
||||
|
|
@ -65,6 +65,7 @@ static lean_object* l_Lean_Meta_acyclic_go___closed__10;
|
|||
static lean_object* l_Lean_Meta_acyclic_go___closed__32;
|
||||
uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_acyclic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_acyclic_go___closed__3;
|
||||
lean_object* l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_acyclic___lambda__1___closed__1;
|
||||
|
|
@ -84,7 +85,6 @@ uint8_t l_Lean_Expr_isFVar(lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Acyclic_0__Lean_Meta_isTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkFalseElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Acyclic_0__Lean_Meta_isTarget___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_acyclic_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_acyclic_go___closed__6;
|
||||
|
|
@ -104,6 +104,10 @@ x_8 = l_Lean_Expr_isFVar(x_1);
|
|||
if (x_8 == 0)
|
||||
{
|
||||
uint8_t x_9; lean_object* x_10; lean_object* x_11;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_9 = 0;
|
||||
|
|
@ -121,6 +125,10 @@ x_12 = l_Lean_Expr_occurs(x_1, x_2);
|
|||
if (x_12 == 0)
|
||||
{
|
||||
uint8_t x_13; lean_object* x_14; lean_object* x_15;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_13 = 0;
|
||||
x_14 = lean_box(x_13);
|
||||
|
|
@ -131,56 +139,79 @@ return x_15;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_16; uint8_t x_17;
|
||||
x_16 = lean_st_ref_get(x_6, x_7);
|
||||
x_17 = !lean_is_exclusive(x_16);
|
||||
if (x_17 == 0)
|
||||
lean_object* x_16;
|
||||
lean_inc(x_6);
|
||||
x_16 = lean_whnf(x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
x_17 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_16);
|
||||
x_19 = lean_st_ref_get(x_6, x_18);
|
||||
lean_dec(x_6);
|
||||
x_20 = !lean_is_exclusive(x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24;
|
||||
x_21 = lean_ctor_get(x_19, 0);
|
||||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_21);
|
||||
x_23 = l_Lean_Expr_isConstructorApp(x_22, x_17);
|
||||
lean_dec(x_17);
|
||||
x_24 = lean_box(x_23);
|
||||
lean_ctor_set(x_19, 0, x_24);
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_25 = lean_ctor_get(x_19, 0);
|
||||
x_26 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_26);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_19);
|
||||
x_27 = lean_ctor_get(x_25, 0);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_25);
|
||||
x_28 = l_Lean_Expr_isConstructorApp(x_27, x_17);
|
||||
lean_dec(x_17);
|
||||
x_29 = lean_box(x_28);
|
||||
x_30 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_29);
|
||||
lean_ctor_set(x_30, 1, x_26);
|
||||
return x_30;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_31;
|
||||
lean_dec(x_6);
|
||||
x_31 = !lean_is_exclusive(x_16);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21;
|
||||
x_18 = lean_ctor_get(x_16, 0);
|
||||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_18);
|
||||
x_20 = l_Lean_Expr_isConstructorApp(x_19, x_2);
|
||||
lean_dec(x_2);
|
||||
x_21 = lean_box(x_20);
|
||||
lean_ctor_set(x_16, 0, x_21);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_22 = lean_ctor_get(x_16, 0);
|
||||
x_23 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_object* x_32; lean_object* x_33; lean_object* x_34;
|
||||
x_32 = lean_ctor_get(x_16, 0);
|
||||
x_33 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_33);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_16);
|
||||
x_24 = lean_ctor_get(x_22, 0);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_22);
|
||||
x_25 = l_Lean_Expr_isConstructorApp(x_24, x_2);
|
||||
lean_dec(x_2);
|
||||
x_26 = lean_box(x_25);
|
||||
x_27 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_26);
|
||||
lean_ctor_set(x_27, 1, x_23);
|
||||
return x_27;
|
||||
x_34 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_34, 0, x_32);
|
||||
lean_ctor_set(x_34, 1, x_33);
|
||||
return x_34;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Acyclic_0__Lean_Meta_isTarget___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_8;
|
||||
x_8 = l___private_Lean_Meta_Tactic_Acyclic_0__Lean_Meta_isTarget(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_acyclic_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
|
|
@ -1223,27 +1254,41 @@ return x_15;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_16 = l_Lean_Expr_appFn_x21(x_1);
|
||||
x_17 = l_Lean_Expr_appArg_x21(x_16);
|
||||
lean_dec(x_16);
|
||||
x_18 = l_Lean_Expr_appArg_x21(x_1);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_18);
|
||||
lean_inc(x_17);
|
||||
x_19 = l___private_Lean_Meta_Tactic_Acyclic_0__Lean_Meta_isTarget(x_17, x_18, x_5, x_6, x_7, x_8, x_9);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
{
|
||||
lean_object* x_20; uint8_t x_21;
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_unbox(x_20);
|
||||
lean_dec(x_20);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25;
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
x_22 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_19);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_17);
|
||||
lean_inc(x_18);
|
||||
x_23 = l___private_Lean_Meta_Tactic_Acyclic_0__Lean_Meta_isTarget(x_18, x_17, x_5, x_6, x_7, x_8, x_22);
|
||||
if (lean_obj_tag(x_23) == 0)
|
||||
{
|
||||
lean_object* x_24; uint8_t x_25;
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_unbox(x_24);
|
||||
|
|
@ -1339,12 +1384,74 @@ return x_42;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_43; lean_object* x_44;
|
||||
x_43 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_43);
|
||||
uint8_t x_43;
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_43 = !lean_is_exclusive(x_23);
|
||||
if (x_43 == 0)
|
||||
{
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_44; lean_object* x_45; lean_object* x_46;
|
||||
x_44 = lean_ctor_get(x_23, 0);
|
||||
x_45 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_45);
|
||||
lean_inc(x_44);
|
||||
lean_dec(x_23);
|
||||
x_46 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_44);
|
||||
lean_ctor_set(x_46, 1, x_45);
|
||||
return x_46;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_47; lean_object* x_48;
|
||||
x_47 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_47);
|
||||
lean_dec(x_19);
|
||||
x_44 = l_Lean_Meta_acyclic_go(x_3, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_43);
|
||||
return x_44;
|
||||
x_48 = l_Lean_Meta_acyclic_go(x_3, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_47);
|
||||
return x_48;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_49;
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_49 = !lean_is_exclusive(x_19);
|
||||
if (x_49 == 0)
|
||||
{
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_50 = lean_ctor_get(x_19, 0);
|
||||
x_51 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_51);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_19);
|
||||
x_52 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_50);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
return x_52;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1553,7 +1660,7 @@ lean_dec(x_1);
|
|||
return x_10;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Acyclic___hyg_779_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Acyclic___hyg_797_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -1653,7 +1760,7 @@ l_Lean_Meta_acyclic___lambda__2___closed__1 = _init_l_Lean_Meta_acyclic___lambda
|
|||
lean_mark_persistent(l_Lean_Meta_acyclic___lambda__2___closed__1);
|
||||
l_Lean_Meta_acyclic___lambda__2___closed__2 = _init_l_Lean_Meta_acyclic___lambda__2___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_acyclic___lambda__2___closed__2);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Acyclic___hyg_779_(lean_io_mk_world());
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Acyclic___hyg_797_(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));
|
||||
|
|
|
|||
68
stage0/stdlib/Lean/Meta/Tactic/AuxLemma.c
generated
68
stage0/stdlib/Lean/Meta/Tactic/AuxLemma.c
generated
|
|
@ -32,13 +32,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_AuxLemma___h
|
|||
static lean_object* l_Lean_Meta_mkAuxLemma___closed__3;
|
||||
size_t lean_usize_shift_right(size_t, size_t);
|
||||
static lean_object* l_Lean_Meta_mkAuxLemma___closed__7;
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_mkAuxLemma___closed__2;
|
||||
static lean_object* l_Lean_Meta_instInhabitedAuxLemmas___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mkAuxLemma___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(lean_object*, uint8_t);
|
||||
static size_t l_Std_PersistentHashMap_findAux___at_Lean_Meta_mkAuxLemma___spec__2___closed__1;
|
||||
static lean_object* l_Lean_Meta_AuxLemmas_lemmas___default___closed__1;
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
|
|
@ -105,6 +104,8 @@ extern lean_object* l_Lean_Expr_instBEqExpr;
|
|||
static lean_object* l_Lean_Meta_mkAuxLemma___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_mkAuxLemma___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_AuxLemma___hyg_50____closed__2;
|
||||
uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*);
|
||||
uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(lean_object*, uint8_t);
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_List_beq___at_Lean_OpenDecl_instToStringOpenDecl___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -392,7 +393,7 @@ _start:
|
|||
{
|
||||
lean_object* x_9; uint8_t x_252; uint8_t x_253;
|
||||
x_252 = 2;
|
||||
x_253 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_99_(x_3, x_252);
|
||||
x_253 = l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(x_3, x_252);
|
||||
if (x_253 == 0)
|
||||
{
|
||||
lean_object* x_254;
|
||||
|
|
@ -1303,34 +1304,55 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Meta_mkAuxLemma___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_7; uint8_t x_8;
|
||||
x_7 = 0;
|
||||
lean_inc(x_1);
|
||||
x_8 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasNonSyntheticSorry___spec__1(x_1, x_7);
|
||||
if (x_8 == 0)
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_7 = lean_st_ref_get(x_5, x_6);
|
||||
x_8 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_7);
|
||||
x_10 = lean_ctor_get(x_8, 5);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_8);
|
||||
x_11 = l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l_Lean_addDecl___at_Lean_Meta_mkAuxLemma___spec__4___lambda__1(x_1, x_9, x_2, x_3, x_4, x_5, x_6);
|
||||
return x_10;
|
||||
uint8_t x_12; uint8_t x_13;
|
||||
x_12 = 0;
|
||||
lean_inc(x_1);
|
||||
x_13 = l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(x_1, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
x_14 = lean_box(0);
|
||||
x_15 = l_Lean_addDecl___at_Lean_Meta_mkAuxLemma___spec__4___lambda__1(x_1, x_14, x_2, x_3, x_4, x_5, x_9);
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_11 = l_Lean_addDecl___at_Lean_Meta_mkAuxLemma___spec__4___closed__3;
|
||||
x_12 = 1;
|
||||
lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_16 = l_Lean_addDecl___at_Lean_Meta_mkAuxLemma___spec__4___closed__3;
|
||||
x_17 = 1;
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_13 = l_Lean_log___at_Lean_Meta_mkAuxLemma___spec__6(x_11, x_12, x_2, x_3, x_4, x_5, x_6);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = l_Lean_addDecl___at_Lean_Meta_mkAuxLemma___spec__4___lambda__1(x_1, x_14, x_2, x_3, x_4, x_5, x_15);
|
||||
return x_16;
|
||||
x_18 = l_Lean_log___at_Lean_Meta_mkAuxLemma___spec__6(x_16, x_17, x_2, x_3, x_4, x_5, x_9);
|
||||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_18);
|
||||
x_21 = l_Lean_addDecl___at_Lean_Meta_mkAuxLemma___spec__4___lambda__1(x_1, x_19, x_2, x_3, x_4, x_5, x_20);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
x_22 = lean_box(0);
|
||||
x_23 = l_Lean_addDecl___at_Lean_Meta_mkAuxLemma___spec__4___lambda__1(x_1, x_22, x_2, x_3, x_4, x_5, x_9);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
412
stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c
generated
412
stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c
generated
File diff suppressed because it is too large
Load diff
3128
stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c
generated
3128
stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c
generated
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue