chore: update stage0
This commit is contained in:
parent
759a7d771f
commit
defaa52f64
51 changed files with 12329 additions and 7135 deletions
32
stage0/src/Lean/Attributes.lean
generated
32
stage0/src/Lean/Attributes.lean
generated
|
|
@ -19,6 +19,8 @@ instance : MonadLift ImportM AttrM where
|
|||
monadLift x := do liftM (m := IO) (x { env := (← getEnv), opts := (← getOptions) })
|
||||
|
||||
structure AttributeImplCore where
|
||||
/-- This is used as the target for go-to-definition queries for simple attributes -/
|
||||
ref : Name := by exact decl_name%
|
||||
name : Name
|
||||
descr : String
|
||||
applicationTime := AttributeApplicationTime.afterTypeChecking
|
||||
|
|
@ -136,7 +138,8 @@ structure TagAttribute where
|
|||
ext : PersistentEnvExtension Name Name NameSet
|
||||
deriving Inhabited
|
||||
|
||||
def registerTagAttribute (name : Name) (descr : String) (validate : Name → AttrM Unit := fun _ => pure ()) : IO TagAttribute := do
|
||||
def registerTagAttribute (name : Name) (descr : String)
|
||||
(validate : Name → AttrM Unit := fun _ => pure ()) (ref : Name := by exact decl_name%) : IO TagAttribute := do
|
||||
let ext : PersistentEnvExtension Name Name NameSet ← registerPersistentEnvExtension {
|
||||
name := name
|
||||
mkInitial := pure {}
|
||||
|
|
@ -148,6 +151,7 @@ def registerTagAttribute (name : Name) (descr : String) (validate : Name → Att
|
|||
statsFn := fun s => "tag attribute" ++ Format.line ++ "number of local entries: " ++ format s.size
|
||||
}
|
||||
let attrImpl : AttributeImpl := {
|
||||
ref := ref
|
||||
name := name
|
||||
descr := descr
|
||||
add := fun decl stx kind => do
|
||||
|
|
@ -184,6 +188,7 @@ structure ParametricAttribute (α : Type) where
|
|||
deriving Inhabited
|
||||
|
||||
structure ParametricAttributeImpl (α : Type) extends AttributeImplCore where
|
||||
/-- This is used as the target for go-to-definition queries for simple attributes -/
|
||||
getParam : Name → Syntax → AttrM α
|
||||
afterSet : Name → α → AttrM Unit := fun _ _ _ => pure ()
|
||||
afterImport : Array (Array (Name × α)) → ImportM Unit := fun _ => pure ()
|
||||
|
|
@ -200,6 +205,7 @@ def registerParametricAttribute {α : Type} [Inhabited α] (impl : ParametricAtt
|
|||
statsFn := fun s => "parametric attribute" ++ Format.line ++ "number of local entries: " ++ format s.size
|
||||
}
|
||||
let attrImpl : AttributeImpl := {
|
||||
ref := impl.ref
|
||||
name := impl.name
|
||||
descr := impl.descr
|
||||
add := fun decl stx kind => do
|
||||
|
|
@ -246,7 +252,8 @@ structure EnumAttributes (α : Type) where
|
|||
|
||||
def registerEnumAttributes {α : Type} [Inhabited α] (extName : Name) (attrDescrs : List (Name × String × α))
|
||||
(validate : Name → α → AttrM Unit := fun _ _ => pure ())
|
||||
(applicationTime := AttributeApplicationTime.afterTypeChecking) : IO (EnumAttributes α) := do
|
||||
(applicationTime := AttributeApplicationTime.afterTypeChecking)
|
||||
(ref : Name := by exact decl_name%) : IO (EnumAttributes α) := do
|
||||
let ext : PersistentEnvExtension (Name × α) (Name × α) (NameMap α) ← registerPersistentEnvExtension {
|
||||
name := extName
|
||||
mkInitial := pure {}
|
||||
|
|
@ -258,6 +265,7 @@ def registerEnumAttributes {α : Type} [Inhabited α] (extName : Name) (attrDesc
|
|||
statsFn := fun s => "enumeration attribute extension" ++ Format.line ++ "number of local entries: " ++ format s.size
|
||||
}
|
||||
let attrs := attrDescrs.map fun (name, descr, val) => {
|
||||
ref := ref
|
||||
name := name
|
||||
descr := descr
|
||||
add := fun decl stx kind => do
|
||||
|
|
@ -298,7 +306,7 @@ end EnumAttributes
|
|||
Attribute extension and builders. We use builders to implement attribute factories for parser categories.
|
||||
-/
|
||||
|
||||
abbrev AttributeImplBuilder := List DataValue → Except String AttributeImpl
|
||||
abbrev AttributeImplBuilder := Name → List DataValue → Except String AttributeImpl
|
||||
abbrev AttributeImplBuilderTable := Std.HashMap Name AttributeImplBuilder
|
||||
|
||||
builtin_initialize attributeImplBuilderTableRef : IO.Ref AttributeImplBuilderTable ← IO.mkRef {}
|
||||
|
|
@ -308,15 +316,15 @@ def registerAttributeImplBuilder (builderId : Name) (builder : AttributeImplBuil
|
|||
if table.contains builderId then throw (IO.userError ("attribute implementation builder '" ++ toString builderId ++ "' has already been declared"))
|
||||
attributeImplBuilderTableRef.modify fun table => table.insert builderId builder
|
||||
|
||||
def mkAttributeImplOfBuilder (builderId : Name) (args : List DataValue) : IO AttributeImpl := do
|
||||
def mkAttributeImplOfBuilder (builderId ref : Name) (args : List DataValue) : IO AttributeImpl := do
|
||||
let table ← attributeImplBuilderTableRef.get
|
||||
match table.find? builderId with
|
||||
| none => throw (IO.userError ("unknown attribute implementation builder '" ++ toString builderId ++ "'"))
|
||||
| some builder => IO.ofExcept <| builder args
|
||||
| some builder => IO.ofExcept <| builder ref args
|
||||
|
||||
inductive AttributeExtensionOLeanEntry where
|
||||
| decl (declName : Name) -- `declName` has type `AttributeImpl`
|
||||
| builder (builderId : Name) (args : List DataValue)
|
||||
| builder (builderId ref : Name) (args : List DataValue)
|
||||
|
||||
structure AttributeExtensionState where
|
||||
newEntries : List AttributeExtensionOLeanEntry := []
|
||||
|
|
@ -342,8 +350,8 @@ opaque mkAttributeImplOfConstant (env : Environment) (opts : Options) (declName
|
|||
|
||||
def mkAttributeImplOfEntry (env : Environment) (opts : Options) (e : AttributeExtensionOLeanEntry) : IO AttributeImpl :=
|
||||
match e with
|
||||
| AttributeExtensionOLeanEntry.decl declName => IO.ofExcept <| mkAttributeImplOfConstant env opts declName
|
||||
| AttributeExtensionOLeanEntry.builder builderId args => mkAttributeImplOfBuilder builderId args
|
||||
| .decl declName => IO.ofExcept <| mkAttributeImplOfConstant env opts declName
|
||||
| .builder builderId ref args => mkAttributeImplOfBuilder builderId ref args
|
||||
|
||||
private def AttributeExtension.addImported (es : Array (Array AttributeExtensionOLeanEntry)) : ImportM AttributeExtensionState := do
|
||||
let ctx ← read
|
||||
|
|
@ -409,14 +417,14 @@ def registerAttributeOfDecl (env : Environment) (opts : Options) (attrDeclName :
|
|||
if isAttribute env attrImpl.name then
|
||||
throw ("invalid builtin attribute declaration, '" ++ toString attrImpl.name ++ "' has already been used")
|
||||
else
|
||||
return attributeExtension.addEntry env (AttributeExtensionOLeanEntry.decl attrDeclName, attrImpl)
|
||||
return attributeExtension.addEntry env (.decl attrDeclName, attrImpl)
|
||||
|
||||
def registerAttributeOfBuilder (env : Environment) (builderId : Name) (args : List DataValue) : IO Environment := do
|
||||
let attrImpl ← mkAttributeImplOfBuilder builderId args
|
||||
def registerAttributeOfBuilder (env : Environment) (builderId ref : Name) (args : List DataValue) : IO Environment := do
|
||||
let attrImpl ← mkAttributeImplOfBuilder builderId ref args
|
||||
if isAttribute env attrImpl.name then
|
||||
throw (IO.userError ("invalid builtin attribute declaration, '" ++ toString attrImpl.name ++ "' has already been used"))
|
||||
else
|
||||
return attributeExtension.addEntry env (AttributeExtensionOLeanEntry.builder builderId args, attrImpl)
|
||||
return attributeExtension.addEntry env (.builder builderId ref args, attrImpl)
|
||||
|
||||
def Attribute.add (declName : Name) (attrName : Name) (stx : Syntax) (kind := AttributeKind.global) : AttrM Unit := do
|
||||
let attr ← ofExcept <| getAttributeImpl (← getEnv) attrName
|
||||
|
|
|
|||
13
stage0/src/Lean/Compiler/InitAttr.lean
generated
13
stage0/src/Lean/Compiler/InitAttr.lean
generated
|
|
@ -32,10 +32,11 @@ unsafe opaque runModInit (mod : Name) : IO Bool
|
|||
@[extern "lean_run_init"]
|
||||
unsafe opaque runInit (env : @& Environment) (opts : @& Options) (decl initDecl : @& Name) : IO Unit
|
||||
|
||||
unsafe def registerInitAttrUnsafe (attrName : Name) (runAfterImport : Bool) : IO (ParametricAttribute Name) :=
|
||||
unsafe def registerInitAttrUnsafe (attrName : Name) (runAfterImport : Bool) (ref : Name) : IO (ParametricAttribute Name) :=
|
||||
registerParametricAttribute {
|
||||
name := attrName,
|
||||
descr := "initialization procedure for global references",
|
||||
ref := ref
|
||||
name := attrName
|
||||
descr := "initialization procedure for global references"
|
||||
getParam := fun declName stx => do
|
||||
let decl ← getConstInfo declName
|
||||
match (← Attribute.Builtin.getIdent? stx) with
|
||||
|
|
@ -70,7 +71,11 @@ unsafe def registerInitAttrUnsafe (attrName : Name) (runAfterImport : Bool) : IO
|
|||
}
|
||||
|
||||
@[implementedBy registerInitAttrUnsafe]
|
||||
opaque registerInitAttr (attrName : Name) (runAfterImport : Bool) : IO (ParametricAttribute Name)
|
||||
private opaque registerInitAttrInner (attrName : Name) (runAfterImport : Bool) (ref : Name) : IO (ParametricAttribute Name)
|
||||
|
||||
@[inline]
|
||||
def registerInitAttr (attrName : Name) (runAfterImport : Bool) (ref : Name := by exact decl_name%) : IO (ParametricAttribute Name) :=
|
||||
registerInitAttrInner attrName runAfterImport ref
|
||||
|
||||
builtin_initialize regularInitAttr : ParametricAttribute Name ← registerInitAttr `init true
|
||||
builtin_initialize builtinInitAttr : ParametricAttribute Name ← registerInitAttr `builtinInit false
|
||||
|
|
|
|||
4
stage0/src/Lean/Compiler/Specialize.lean
generated
4
stage0/src/Lean/Compiler/Specialize.lean
generated
|
|
@ -25,9 +25,7 @@ builtin_initialize specializeAttrs : EnumAttributes SpecializeAttributeKind ←
|
|||
In the new equation compiler we should pass all attributes and allow it to apply them to auxiliary definitions.
|
||||
In the current implementation, we workaround this issue by using functions such as `hasSpecializeAttrAux`.
|
||||
-/
|
||||
(fun _ _ => pure ())
|
||||
AttributeApplicationTime.beforeElaboration
|
||||
|
||||
(applicationTime := .beforeElaboration)
|
||||
private partial def hasSpecializeAttrAux (env : Environment) (kind : SpecializeAttributeKind) (n : Name) : Bool :=
|
||||
match specializeAttrs.getValue env n with
|
||||
| some k => kind == k
|
||||
|
|
|
|||
17
stage0/src/Lean/Elab/App.lean
generated
17
stage0/src/Lean/Elab/App.lean
generated
|
|
@ -660,16 +660,15 @@ end
|
|||
end ElabAppArgs
|
||||
|
||||
builtin_initialize elabAsElim : TagAttribute ←
|
||||
registerTagAttribute
|
||||
`elabAsElim
|
||||
registerTagAttribute `elabAsElim
|
||||
"instructs elaborator that the arguments of the function application should be elaborated as were an eliminator"
|
||||
fun declName => do
|
||||
let go : MetaM Unit := do
|
||||
discard <| getElimInfo declName
|
||||
let info ← getConstInfo declName
|
||||
if (← hasOptAutoParams info.type) then
|
||||
throwError "[elabAsElim] attribute cannot be used in declarations containing optional and auto parameters"
|
||||
go.run' {} {}
|
||||
fun declName => do
|
||||
let go : MetaM Unit := do
|
||||
discard <| getElimInfo declName
|
||||
let info ← getConstInfo declName
|
||||
if (← hasOptAutoParams info.type) then
|
||||
throwError "[elabAsElim] attribute cannot be used in declarations containing optional and auto parameters"
|
||||
go.run' {} {}
|
||||
|
||||
/-! # Eliminator-like function application elaborator -/
|
||||
namespace ElabElim
|
||||
|
|
|
|||
23
stage0/src/Lean/Elab/Attributes.lean
generated
23
stage0/src/Lean/Elab/Attributes.lean
generated
|
|
@ -51,20 +51,17 @@ def elabAttr [Monad m] [MonadEnv m] [MonadResolveName m] [MonadError m] [MonadMa
|
|||
else match attr.getKind with
|
||||
| .str _ s => pure <| Name.mkSimple s
|
||||
| _ => throwErrorAt attr "unknown attribute"
|
||||
unless isAttribute (← getEnv) attrName do
|
||||
throwError "unknown attribute [{attrName}]"
|
||||
let .ok impl := getAttributeImpl (← getEnv) attrName
|
||||
| throwError "unknown attribute [{attrName}]"
|
||||
let attrSyntaxNodeKind := attrInstance[1].getKind
|
||||
unless attrSyntaxNodeKind == ``Lean.Parser.Attr.simple do
|
||||
-- `Lean.Parser.Attr.simple` is a generic `attribute` parser used in simple attributes.
|
||||
-- We don't want to create an info tree node from a simple attribute to the generic parser.
|
||||
if (← getEnv).contains attrSyntaxNodeKind && (← getInfoState).enabled then
|
||||
pushInfoLeaf <| Info.ofTermInfo {
|
||||
elaborator := .anonymous
|
||||
lctx := {}
|
||||
expr := mkConst attrSyntaxNodeKind
|
||||
stx := attrInstance[1][0] -- We want to associate the information to the first atom only
|
||||
expectedType? := none
|
||||
}
|
||||
-- `Lean.Parser.Attr.simple` is a generic `attribute` parser used in simple attributes.
|
||||
-- We don't want to create an info tree node from a simple attribute to the generic parser.
|
||||
let declTarget := if attrSyntaxNodeKind == ``Lean.Parser.Attr.simple then impl.ref else attrSyntaxNodeKind
|
||||
if (← getEnv).contains declTarget && (← getInfoState).enabled then
|
||||
pushInfoLeaf <| .ofCommandInfo {
|
||||
elaborator := declTarget -- not truly an elaborator, but a sensible target for go-to-definition
|
||||
stx := attrInstance[1][0] -- We want to associate the information to the first atom only
|
||||
}
|
||||
/- The `AttrM` does not have sufficient information for expanding macros in `args`.
|
||||
So, we expand them before here before we invoke the attributer handlers implemented using `AttrM`. -/
|
||||
return { kind := attrKind, name := attrName, stx := attr }
|
||||
|
|
|
|||
6
stage0/src/Lean/Elab/Syntax.lean
generated
6
stage0/src/Lean/Elab/Syntax.lean
generated
|
|
@ -272,9 +272,9 @@ private def declareSyntaxCatQuotParser (catName : Name) : CommandElabM Unit := d
|
|||
else
|
||||
Parser.LeadingIdentBehavior.symbol
|
||||
let attrName := catName.appendAfter "Parser"
|
||||
setEnv (← Parser.registerParserCategory (← getEnv) attrName catName catBehavior)
|
||||
let catDeclName := `_root_ ++ ``Lean.Parser.Category ++ catName
|
||||
let cmd ← `($[$docString?]? def $(mkIdentFrom stx[2] catDeclName) : Lean.Parser.Category := {})
|
||||
let catDeclName := ``Lean.Parser.Category ++ catName
|
||||
setEnv (← Parser.registerParserCategory (← getEnv) attrName catName catBehavior catDeclName)
|
||||
let cmd ← `($[$docString?]? def $(mkIdentFrom stx[2] (`_root_ ++ catDeclName)) : Lean.Parser.Category := {})
|
||||
declareSyntaxCatQuotParser catName
|
||||
elabCommand cmd
|
||||
|
||||
|
|
|
|||
2
stage0/src/Lean/Elab/Term.lean
generated
2
stage0/src/Lean/Elab/Term.lean
generated
|
|
@ -870,7 +870,7 @@ Extensions for monads.
|
|||
|
||||
```
|
||||
|
||||
3. If there is a monad lif from `m` to `n` and a coercion from `α` to `β`, we use
|
||||
3. If there is a monad lift from `m` to `n` and a coercion from `α` to `β`, we use
|
||||
```
|
||||
liftCoeM {m : Type u → Type v} {n : Type u → Type w} {α β : Type u} [MonadLiftT m n] [∀ a, CoeT α a β] [Monad n] (x : m α) : n β
|
||||
```
|
||||
|
|
|
|||
2
stage0/src/Lean/KeyedDeclsAttribute.lean
generated
2
stage0/src/Lean/KeyedDeclsAttribute.lean
generated
|
|
@ -117,6 +117,7 @@ protected unsafe def init {γ} (df : Def γ) (attrDeclName : Name) : IO (KeyedDe
|
|||
}
|
||||
unless df.builtinName.isAnonymous do
|
||||
registerBuiltinAttribute {
|
||||
ref := attrDeclName
|
||||
name := df.builtinName
|
||||
descr := "(builtin) " ++ df.descr
|
||||
add := fun declName stx kind => do
|
||||
|
|
@ -135,6 +136,7 @@ protected unsafe def init {γ} (df : Def γ) (attrDeclName : Name) : IO (KeyedDe
|
|||
applicationTime := AttributeApplicationTime.afterCompilation
|
||||
}
|
||||
registerBuiltinAttribute {
|
||||
ref := attrDeclName
|
||||
name := df.name
|
||||
descr := df.descr
|
||||
erase := fun declName => do
|
||||
|
|
|
|||
12
stage0/src/Lean/Meta/Tactic/Simp/SimpTheorems.lean
generated
12
stage0/src/Lean/Meta/Tactic/Simp/SimpTheorems.lean
generated
|
|
@ -274,8 +274,10 @@ def addSimpTheorem (ext : SimpExtension) (declName : Name) (post : Bool) (inv :
|
|||
for simpThm in simpThms do
|
||||
ext.add (SimpEntry.thm simpThm) attrKind
|
||||
|
||||
def mkSimpAttr (attrName : Name) (attrDescr : String) (ext : SimpExtension) : IO Unit :=
|
||||
def mkSimpAttr (attrName : Name) (attrDescr : String) (ext : SimpExtension)
|
||||
(ref : Name := by exact decl_name%) : IO Unit :=
|
||||
registerBuiltinAttribute {
|
||||
ref := ref
|
||||
name := attrName
|
||||
descr := attrDescr
|
||||
applicationTime := AttributeApplicationTime.afterCompilation
|
||||
|
|
@ -319,9 +321,11 @@ abbrev SimpExtensionMap := Std.HashMap Name SimpExtension
|
|||
|
||||
builtin_initialize simpExtensionMapRef : IO.Ref SimpExtensionMap ← IO.mkRef {}
|
||||
|
||||
def registerSimpAttr (attrName : Name) (attrDescr : String) (extName : Name := attrName.appendAfter "Ext") : IO SimpExtension := do
|
||||
def registerSimpAttr (attrName : Name) (attrDescr : String)
|
||||
(ref : Name := by exact decl_name%)
|
||||
(extName : Name := attrName.appendAfter "Ext") : IO SimpExtension := do
|
||||
let ext ← mkSimpExt extName
|
||||
mkSimpAttr attrName attrDescr ext -- Remark: it will fail if it is not performed during initialization
|
||||
mkSimpAttr attrName attrDescr ext ref -- Remark: it will fail if it is not performed during initialization
|
||||
simpExtensionMapRef.modify fun map => map.insert attrName ext
|
||||
return ext
|
||||
|
||||
|
|
@ -414,7 +418,7 @@ def SimpTheoremsArray.isDeclToUnfold (thmsArray : SimpTheoremsArray) (declName :
|
|||
macro doc?:(docComment)? "register_simp_attr" id:ident descr:str : command => do
|
||||
let str := id.getId.toString
|
||||
let idParser := mkIdentFrom id (`Parser.Attr ++ id.getId)
|
||||
`($[$doc?]? initialize ext : SimpExtension ← registerSimpAttr $(quote id.getId) $descr
|
||||
`($[$doc?]? initialize ext : SimpExtension ← registerSimpAttr $(quote id.getId) $descr $(quote id.getId)
|
||||
$[$doc?]? syntax (name := $idParser:ident) $(quote str):str (Parser.Tactic.simpPre <|> Parser.Tactic.simpPost)? (prio)? : attr)
|
||||
|
||||
end Meta
|
||||
|
|
|
|||
36
stage0/src/Lean/Parser/Extension.lean
generated
36
stage0/src/Lean/Parser/Extension.lean
generated
|
|
@ -308,8 +308,8 @@ def runParserAttributeHooks (catName : Name) (declName : Name) (builtin : Bool)
|
|||
|
||||
builtin_initialize
|
||||
registerBuiltinAttribute {
|
||||
name := `runBuiltinParserAttributeHooks,
|
||||
descr := "explicitly run hooks normally activated by builtin parser attributes",
|
||||
name := `runBuiltinParserAttributeHooks
|
||||
descr := "explicitly run hooks normally activated by builtin parser attributes"
|
||||
add := fun decl stx _ => do
|
||||
Attribute.Builtin.ensureNoArgs stx
|
||||
runParserAttributeHooks Name.anonymous decl (builtin := true)
|
||||
|
|
@ -317,8 +317,8 @@ builtin_initialize
|
|||
|
||||
builtin_initialize
|
||||
registerBuiltinAttribute {
|
||||
name := `runParserAttributeHooks,
|
||||
descr := "explicitly run hooks normally activated by parser attributes",
|
||||
name := `runParserAttributeHooks
|
||||
descr := "explicitly run hooks normally activated by parser attributes"
|
||||
add := fun decl stx _ => do
|
||||
Attribute.Builtin.ensureNoArgs stx
|
||||
runParserAttributeHooks Name.anonymous decl (builtin := false)
|
||||
|
|
@ -502,13 +502,15 @@ private def BuiltinParserAttribute.add (attrName : Name) (catName : Name)
|
|||
/--
|
||||
The parsing tables for builtin parsers are "stored" in the extracted source code.
|
||||
-/
|
||||
def registerBuiltinParserAttribute (attrName : Name) (catName : Name) (behavior := LeadingIdentBehavior.default) : IO Unit := do
|
||||
def registerBuiltinParserAttribute (attrName : Name) (catName : Name)
|
||||
(behavior := LeadingIdentBehavior.default) (ref : Name := by exact decl_name%) : IO Unit := do
|
||||
addBuiltinParserCategory catName behavior
|
||||
registerBuiltinAttribute {
|
||||
name := attrName,
|
||||
descr := "Builtin parser",
|
||||
add := fun declName stx kind => liftM $ BuiltinParserAttribute.add attrName catName declName stx kind,
|
||||
applicationTime := AttributeApplicationTime.afterCompilation
|
||||
ref := ref
|
||||
name := attrName
|
||||
descr := "Builtin parser"
|
||||
add := fun declName stx kind => liftM $ BuiltinParserAttribute.add attrName catName declName stx kind
|
||||
applicationTime := AttributeApplicationTime.afterCompilation
|
||||
}
|
||||
|
||||
private def ParserAttribute.add (_attrName : Name) (catName : Name) (declName : Name) (stx : Syntax) (attrKind : AttributeKind) : AttrM Unit := do
|
||||
|
|
@ -533,25 +535,27 @@ private def ParserAttribute.add (_attrName : Name) (catName : Name) (declName :
|
|||
| Except.ok _ => parserExtension.add entry attrKind
|
||||
runParserAttributeHooks catName declName (builtin := false)
|
||||
|
||||
def mkParserAttributeImpl (attrName : Name) (catName : Name) : AttributeImpl where
|
||||
def mkParserAttributeImpl (attrName catName : Name) (ref : Name := by exact decl_name%) : AttributeImpl where
|
||||
ref := ref
|
||||
name := attrName
|
||||
descr := "parser"
|
||||
add declName stx attrKind := ParserAttribute.add attrName catName declName stx attrKind
|
||||
applicationTime := AttributeApplicationTime.afterCompilation
|
||||
|
||||
/-- A builtin parser attribute that can be extended by users. -/
|
||||
def registerBuiltinDynamicParserAttribute (attrName : Name) (catName : Name) : IO Unit := do
|
||||
registerBuiltinAttribute (mkParserAttributeImpl attrName catName)
|
||||
def registerBuiltinDynamicParserAttribute (attrName catName : Name) (ref : Name := by exact decl_name%) : IO Unit := do
|
||||
registerBuiltinAttribute (mkParserAttributeImpl attrName catName ref)
|
||||
|
||||
builtin_initialize
|
||||
registerAttributeImplBuilder `parserAttr fun args =>
|
||||
registerAttributeImplBuilder `parserAttr fun ref args =>
|
||||
match args with
|
||||
| [DataValue.ofName attrName, DataValue.ofName catName] => pure $ mkParserAttributeImpl attrName catName
|
||||
| [DataValue.ofName attrName, DataValue.ofName catName] => pure $ mkParserAttributeImpl attrName catName ref
|
||||
| _ => throw "invalid parser attribute implementation builder arguments"
|
||||
|
||||
def registerParserCategory (env : Environment) (attrName : Name) (catName : Name) (behavior := LeadingIdentBehavior.default) : IO Environment := do
|
||||
def registerParserCategory (env : Environment) (attrName catName : Name)
|
||||
(behavior := LeadingIdentBehavior.default) (ref : Name := by exact decl_name%) : IO Environment := do
|
||||
let env ← IO.ofExcept $ addParserCategory env catName behavior
|
||||
registerAttributeOfBuilder env `parserAttr [DataValue.ofName attrName, DataValue.ofName catName]
|
||||
registerAttributeOfBuilder env `parserAttr ref [DataValue.ofName attrName, DataValue.ofName catName]
|
||||
|
||||
-- declare `termParser` here since it is used everywhere via antiquotations
|
||||
|
||||
|
|
|
|||
2146
stage0/stdlib/Lean/Attributes.c
generated
2146
stage0/stdlib/Lean/Attributes.c
generated
File diff suppressed because it is too large
Load diff
182
stage0/stdlib/Lean/Class.c
generated
182
stage0/stdlib/Lean/Class.c
generated
|
|
@ -13,6 +13,7 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__10;
|
||||
lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
|
|
@ -69,7 +70,8 @@ LEAN_EXPORT lean_object* l_Lean_addClass___lambda__2(lean_object*, lean_object*,
|
|||
uint64_t l_Lean_Name_hash___override(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__6;
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_138_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_192_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__15;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_ClassState_addEntry___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -83,6 +85,7 @@ lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
|||
uint8_t lean_is_out_param(lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Class___hyg_78____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__14;
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_PersistentHashMap_containsAtAux___at_Lean_isClass___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -90,7 +93,9 @@ static lean_object* l_Lean_isClass___closed__1;
|
|||
static lean_object* l_Lean_SMap_empty___at_Lean_ClassState_outParamMap___default___spec__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_isClass___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Class___hyg_78____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__16;
|
||||
lean_object* l_Nat_repr(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__18;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__7;
|
||||
static lean_object* l___private_Lean_Class_0__Lean_checkOutParam___closed__2;
|
||||
lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
|
|
@ -98,18 +103,21 @@ LEAN_EXPORT lean_object* l_Lean_addClass(lean_object*, lean_object*);
|
|||
LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at___private_Lean_Class_0__Lean_checkOutParam___spec__3(lean_object*, lean_object*);
|
||||
size_t lean_usize_shift_left(size_t, size_t);
|
||||
size_t lean_usize_modn(size_t, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__8;
|
||||
lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_HashMap_insert___at_Lean_ClassState_addEntry___spec__6(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_empty___at_Lean_ClassState_outParamMap___default___spec__1;
|
||||
lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Array_isEmpty___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_initFn____x40_Lean_Class___hyg_587____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__9;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_78____closed__6;
|
||||
size_t lean_usize_mul(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_addClass___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Class___hyg_78____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_getOutParamPositions_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__13;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Expr_hasAnyFVar_visit___at___private_Lean_Class_0__Lean_checkOutParam___spec__3___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ConstantInfo_type(lean_object*);
|
||||
|
|
@ -164,7 +172,9 @@ static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_78____closed__4;
|
|||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_ClassState_addEntry___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_ClassState_addEntry___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__11;
|
||||
lean_object* l_Lean_Attribute_Builtin_ensureNoArgs(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__12;
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Class_0__Lean_checkOutParam___spec__2(lean_object*, lean_object*, size_t, size_t);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_78____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_ClassState_outParamMap___default___spec__2___boxed(lean_object*);
|
||||
|
|
@ -172,12 +182,14 @@ lean_object* lean_usize_to_nat(size_t);
|
|||
LEAN_EXPORT lean_object* l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_addClass___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_getOutParamPositions_x3f___spec__3(lean_object*, size_t, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__19;
|
||||
uint8_t l_Lean_Expr_hasFVar(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Class___hyg_78____lambda__1(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_SMap_contains___at_Lean_isClass___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t lean_has_out_params(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_hasOutParams___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587____closed__17;
|
||||
LEAN_EXPORT uint8_t lean_is_class(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_getOutParamPositions_x3f___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_ClassState_addEntry___spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2881,7 +2893,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_138_(x_3, x_13);
|
||||
x_14 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_192_(x_3, x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; uint8_t x_17;
|
||||
|
|
@ -2978,7 +2990,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("class", 5);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -2996,33 +3008,145 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__3
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("type class", 10);
|
||||
x_1 = lean_mk_string_from_bytes("initFn", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_@", 2);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__6;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Class", 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__7;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__8;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_hyg", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__9;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__10;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__11;
|
||||
x_2 = lean_unsigned_to_nat(587u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("class", 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__14() {
|
||||
_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_Class___hyg_587____closed__13;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("type class", 10);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__12;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__14;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__15;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Class___hyg_587____lambda__2___boxed), 6, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__6() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -3030,13 +3154,13 @@ x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Class___hyg_587____la
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__7() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__5;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__6;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__16;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__17;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__18;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -3048,7 +3172,7 @@ LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Class___hyg_587_(lean_object*
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__7;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Class___hyg_587____closed__19;
|
||||
x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -3199,6 +3323,30 @@ l_Lean_initFn____x40_Lean_Class___hyg_587____closed__6 = _init_l_Lean_initFn____
|
|||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__7 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__8 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__8);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__9 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__9();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__9);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__10 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__10();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__10);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__11 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__11();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__11);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__12 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__12();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__12);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__13 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__13();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__13);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__14 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__14();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__14);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__15 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__15();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__15);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__16 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__16();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__16);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__17 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__17();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__17);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__18 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__18();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__18);
|
||||
l_Lean_initFn____x40_Lean_Class___hyg_587____closed__19 = _init_l_Lean_initFn____x40_Lean_Class___hyg_587____closed__19();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Class___hyg_587____closed__19);
|
||||
res = l_Lean_initFn____x40_Lean_Class___hyg_587_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
240
stage0/stdlib/Lean/Compiler/CSimpAttr.c
generated
240
stage0/stdlib/Lean/Compiler/CSimpAttr.c
generated
|
|
@ -15,14 +15,18 @@ extern "C" {
|
|||
#endif
|
||||
lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__11;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Compiler_CSimp_add___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Std_Data_HashMap_0__Std_numBucketsForCapacity(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__17;
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__8;
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Compiler_CSimp_replaceConstants___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Compiler_CSimp_replaceConstants___spec__5(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__4;
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
|
|
@ -36,6 +40,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
|||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_appFn_x21(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__19;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*);
|
||||
|
|
@ -61,13 +66,16 @@ LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_CSimp_replaceCo
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Compiler_CSimp_replaceConstants___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__12;
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getConstInfo___at___private_Lean_Compiler_CSimpAttr_0__Lean_Compiler_CSimp_isConstantReplacement_x3f___spec__1___closed__4;
|
||||
lean_object* l_Lean_ScopedEnvExtension_addLocalEntry___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_CSimp_add___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_constLevels_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_instInhabitedEntry;
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_State_thmNames___default;
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_replace___at_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____spec__11(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_State_map___default___closed__3;
|
||||
|
|
@ -78,6 +86,7 @@ lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____closed__4;
|
||||
lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__20;
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_shift_left(size_t, size_t);
|
||||
|
|
@ -86,6 +95,7 @@ uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*);
|
|||
size_t lean_usize_modn(size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_State_map___default;
|
||||
lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__14;
|
||||
lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isConst(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_add___closed__3;
|
||||
|
|
@ -93,6 +103,7 @@ static lean_object* l_Lean_Compiler_CSimp_instInhabitedState___closed__1;
|
|||
size_t lean_usize_mul(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_HashMapImp_expand___at_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____spec__8(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_ext;
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_hasCSimpAttribute___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_instInhabitedState;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -107,6 +118,8 @@ size_t lean_usize_land(size_t, size_t);
|
|||
static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____spec__3___closed__3;
|
||||
static lean_object* l_Lean_Compiler_CSimp_State_map___default___closed__1;
|
||||
uint8_t l_Lean_SMap_contains___at_Lean_NameSSet_contains___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__16;
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__6;
|
||||
LEAN_EXPORT lean_object* lean_csimp_replace_constants(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getConstInfo___at___private_Lean_Compiler_CSimpAttr_0__Lean_Compiler_CSimp_isConstantReplacement_x3f___spec__1___closed__2;
|
||||
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
|
||||
|
|
@ -126,6 +139,8 @@ static lean_object* l___private_Lean_Compiler_CSimpAttr_0__Lean_Compiler_CSimp_i
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Compiler_CSimp_add___spec__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Compiler_CSimp_State_map___default___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__18;
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Compiler_CSimp_add___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -134,6 +149,7 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Compiler_CSimp_State_thmNames___default___closed__1;
|
||||
lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4908____spec__4(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____spec__9(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__22;
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____closed__3;
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_CSimp_add___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -149,10 +165,12 @@ static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr_
|
|||
lean_object* lean_usize_to_nat(size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Compiler_CSimp_State_map___default___spec__1___boxed(lean_object*);
|
||||
lean_object* l_Lean_SMap_insert___at_Lean_NameSSet_insert___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__13;
|
||||
lean_object* l_Lean_Expr_constName_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__21;
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Compiler_CSimpAttr_0__Lean_Compiler_CSimp_isConstantReplacement_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__2;
|
||||
|
|
@ -2477,33 +2495,191 @@ static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSim
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("simplification theorem for the compiler", 39);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____closed__2;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__1;
|
||||
x_3 = 0;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Compiler", 8);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__2;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("CSimp", 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__4;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("initFn", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__6;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_@", 2);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__8;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__10;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__11;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("CSimpAttr", 9);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__12;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__13;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_hyg", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__14;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__15;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__16;
|
||||
x_2 = lean_unsigned_to_nat(437u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("simplification theorem for the compiler", 39);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__17;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_123____closed__2;
|
||||
x_3 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__18;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____lambda__1___boxed), 6, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__4() {
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2511,13 +2687,13 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compil
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__5() {
|
||||
static lean_object* _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__2;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__3;
|
||||
x_3 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__4;
|
||||
x_1 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__19;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__20;
|
||||
x_3 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__21;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -2529,7 +2705,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimp
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__5;
|
||||
x_2 = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__22;
|
||||
x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -3018,6 +3194,40 @@ l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed_
|
|||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__4);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__5 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__5();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__5);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__6 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__6();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__6);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__7 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__7();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__7);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__8 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__8();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__8);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__9 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__9();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__9);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__10 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__10();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__10);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__11 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__11();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__11);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__12 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__12();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__12);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__13 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__13();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__13);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__14 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__14();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__14);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__15 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__15();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__15);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__16 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__16();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__16);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__17 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__17();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__17);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__18 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__18();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__18);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__19 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__19();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__19);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__20 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__20();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__20);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__21 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__21();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__21);
|
||||
l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__22 = _init_l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__22();
|
||||
lean_mark_persistent(l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437____closed__22);
|
||||
res = l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_437_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
84
stage0/stdlib/Lean/Compiler/ExportAttr.c
generated
84
stage0/stdlib/Lean/Compiler/ExportAttr.c
generated
|
|
@ -18,6 +18,7 @@ LEAN_EXPORT lean_object* l_Lean_isExport___boxed(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__12;
|
||||
lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__7;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___lambda__1___boxed(lean_object*);
|
||||
|
|
@ -32,6 +33,7 @@ lean_object* lean_string_utf8_byte_size(lean_object*);
|
|||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* lean_get_export_name_for(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____lambda__4(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__10;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__6;
|
||||
lean_object* l_Lean_ParametricAttribute_getParam_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -59,7 +61,9 @@ static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____cl
|
|||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__8;
|
||||
extern lean_object* l_Lean_instInhabitedName;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__4;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__9;
|
||||
lean_object* l_Lean_registerParametricAttribute___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Attribute_Builtin_getId(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_ExportAttr_0__Lean_isValidCppId___lambda__1(uint32_t x_1) {
|
||||
|
|
@ -419,7 +423,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("export", 6);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -437,33 +441,71 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("name to be used by code generators", 34);
|
||||
x_1 = lean_mk_string_from_bytes("exportAttr", 10);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("export", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__6() {
|
||||
_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_Compiler_ExportAttr___hyg_86____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("name to be used by code generators", 34);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__6;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__7;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____lambda__2___boxed), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__6() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -471,7 +513,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExportAttr__
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__7() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -479,14 +521,14 @@ x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExportAttr__
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__8() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__12() {
|
||||
_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_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__5;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__6;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__7;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__8;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__9;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__10;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__11;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
@ -500,7 +542,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_instInhabitedName;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__8;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__12;
|
||||
x_4 = l_Lean_registerParametricAttribute___rarg(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -653,6 +695,14 @@ l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__7 = _init_l_Le
|
|||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__8 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__8);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__9 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__9();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__9);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__10 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__10();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__10);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__11 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__11();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__11);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__12 = _init_l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__12();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86____closed__12);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Compiler_ExportAttr___hyg_86_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_exportAttr = lean_io_result_get_value(res);
|
||||
|
|
|
|||
84
stage0/stdlib/Lean/Compiler/ExternAttr.c
generated
84
stage0/stdlib/Lean/Compiler/ExternAttr.c
generated
|
|
@ -46,6 +46,7 @@ static lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstA
|
|||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__7;
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__10;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
|
|
@ -82,6 +83,7 @@ static lean_object* l_Lean_getExternConstArityExport___closed__5;
|
|||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____lambda__3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getExternAttrData_x3f___closed__1;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_ExternAttrData_arity_x3f___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_expandExternPatternAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getExternConstArityExport___closed__3;
|
||||
|
|
@ -135,6 +137,7 @@ static lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstA
|
|||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
uint32_t l_String_Iterator_curr(lean_object*);
|
||||
lean_object* l_List_intersperse___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_addExtern___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getExternEntryFor(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getExternConstArityExport___closed__6;
|
||||
|
|
@ -171,6 +174,7 @@ LEAN_EXPORT lean_object* l_Lean_getExternEntryFor___boxed(lean_object*, lean_obj
|
|||
LEAN_EXPORT lean_object* l_Lean_externAttr;
|
||||
static lean_object* l_Lean_getExternConstArityExport___closed__10;
|
||||
lean_object* lean_uint32_to_nat(uint32_t);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getExternConstArityExport___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1025,7 +1029,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_65
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("extern", 6);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1043,33 +1047,71 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_65
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("builtin and foreign functions", 29);
|
||||
x_1 = lean_mk_string_from_bytes("externAttr", 10);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("extern", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__6() {
|
||||
_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_Compiler_ExternAttr___hyg_659____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("builtin and foreign functions", 29);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__6;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__7;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____lambda__1___boxed), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__6() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1077,7 +1119,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExternAttr__
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__7() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1085,14 +1127,14 @@ x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_ExternAttr__
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__8() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__12() {
|
||||
_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_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__5;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__6;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__7;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__8;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__9;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__10;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__11;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
@ -1106,7 +1148,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_instInhabitedExternAttrData;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__8;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__12;
|
||||
x_4 = l_Lean_registerParametricAttribute___rarg(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -3070,6 +3112,14 @@ l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__7 = _init_l_L
|
|||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__8 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__8);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__9 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__9();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__9);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__10 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__10();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__10);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__11 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__11();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__11);
|
||||
l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__12 = _init_l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__12();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659____closed__12);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_659_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_externAttr = lean_io_result_get_value(res);
|
||||
|
|
|
|||
111
stage0/stdlib/Lean/Compiler/IR/UnboxResult.c
generated
111
stage0/stdlib/Lean/Compiler/IR/UnboxResult.c
generated
|
|
@ -27,7 +27,11 @@ LEAN_EXPORT lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_Un
|
|||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getConstInfo___at_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____spec__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4_(lean_object*);
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__7;
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__2;
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__12;
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__10;
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__5;
|
||||
static lean_object* l_Lean_getConstInfo___at_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____spec__1___closed__1;
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____lambda__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnboxResult_unboxAttr;
|
||||
|
|
@ -35,16 +39,20 @@ static lean_object* l_Lean_getConstInfo___at_Lean_IR_UnboxResult_initFn____x40_L
|
|||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__3;
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__9;
|
||||
lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnboxResult_hasUnboxAttr___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_IR_UnboxResult_hasUnboxAttr(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__11;
|
||||
static lean_object* l_Lean_IR_UnboxResult_hasUnboxAttr___closed__1;
|
||||
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____lambda__1___closed__4;
|
||||
lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__8;
|
||||
lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__1;
|
||||
static lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -356,13 +364,85 @@ static lean_object* _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_U
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("compiler tries to unbox result values if their types are tagged with `[unbox]`", 78);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("IR", 2);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__4;
|
||||
x_2 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("UnboxResult", 11);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__6;
|
||||
x_2 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("unboxAttr", 9);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__8;
|
||||
x_2 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("compiler tries to unbox result values if their types are tagged with `[unbox]`", 78);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____lambda__1___boxed), 4, 0);
|
||||
return x_1;
|
||||
|
|
@ -371,12 +451,13 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__2;
|
||||
x_3 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__3;
|
||||
x_4 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__4;
|
||||
x_5 = l_Lean_registerTagAttribute(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
x_3 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__11;
|
||||
x_4 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__12;
|
||||
x_5 = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__10;
|
||||
x_6 = l_Lean_registerTagAttribute(x_2, x_3, x_4, x_5, x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -476,6 +557,22 @@ l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____clos
|
|||
lean_mark_persistent(l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__3);
|
||||
l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__4 = _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__4();
|
||||
lean_mark_persistent(l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__4);
|
||||
l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__5 = _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__5();
|
||||
lean_mark_persistent(l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__5);
|
||||
l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__6 = _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__6();
|
||||
lean_mark_persistent(l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__6);
|
||||
l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__7 = _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__7();
|
||||
lean_mark_persistent(l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__7);
|
||||
l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__8 = _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__8();
|
||||
lean_mark_persistent(l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__8);
|
||||
l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__9 = _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__9();
|
||||
lean_mark_persistent(l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__9);
|
||||
l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__10 = _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__10();
|
||||
lean_mark_persistent(l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__10);
|
||||
l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__11 = _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__11();
|
||||
lean_mark_persistent(l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__11);
|
||||
l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__12 = _init_l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__12();
|
||||
lean_mark_persistent(l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4____closed__12);
|
||||
if (builtin) {res = l_Lean_IR_UnboxResult_initFn____x40_Lean_Compiler_IR_UnboxResult___hyg_4_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_IR_UnboxResult_unboxAttr = lean_io_result_get_value(res);
|
||||
|
|
|
|||
108
stage0/stdlib/Lean/Compiler/ImplementedByAttr.c
generated
108
stage0/stdlib/Lean/Compiler/ImplementedByAttr.c
generated
|
|
@ -30,6 +30,7 @@ lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstCore___spec__2(lean_obj
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____lambda__1___closed__1;
|
||||
extern lean_object* l_Std_Format_defWidth;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__11;
|
||||
lean_object* l_List_filterMap___at_Lean_resolveGlobalConst___spec__1(lean_object*);
|
||||
lean_object* lean_environment_find(lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
|
|
@ -40,6 +41,7 @@ lean_object* lean_string_append(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_getImplementedBy_x3f___closed__1;
|
||||
static lean_object* l_Lean_resolveGlobalConst___at_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____spec__5___closed__2;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__12;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____lambda__1___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____lambda__5___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_implementedByAttr;
|
||||
|
|
@ -57,6 +59,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_initFn____x40_Lean
|
|||
LEAN_EXPORT lean_object* l_Lean_setImplementedBy(lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_setImplementedBy(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
|
|
@ -71,11 +74,13 @@ static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Compiler_initFn____x40_Le
|
|||
LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__13;
|
||||
lean_object* l_Lean_ConstantInfo_type(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____lambda__3___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____lambda__2___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____spec__13(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__14;
|
||||
lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -130,6 +135,7 @@ static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Compiler_initFn____x40_Le
|
|||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__6;
|
||||
static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__9;
|
||||
static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____spec__4___closed__3;
|
||||
lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____spec__8(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2010,7 +2016,7 @@ static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Implemente
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("implementedBy", 13);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -2028,33 +2034,89 @@ static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Implemente
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("name of the Lean (probably unsafe) function that implements opaque constant", 75);
|
||||
x_1 = lean_mk_string_from_bytes("Compiler", 8);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__2;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("implementedByAttr", 17);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__4;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("implementedBy", 13);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__8() {
|
||||
_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_ImplementedByAttr___hyg_4____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("name of the Lean (probably unsafe) function that implements opaque constant", 75);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__6;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__8;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__9;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____lambda__3), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__6() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2062,7 +2124,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_Imp
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__7() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2070,14 +2132,14 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_Imp
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__8() {
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__14() {
|
||||
_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_ImplementedByAttr___hyg_4____closed__4;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__5;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__6;
|
||||
x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__7;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__10;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__11;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__12;
|
||||
x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__13;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
@ -2091,7 +2153,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_instInhabitedName;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__8;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__14;
|
||||
x_4 = l_Lean_registerParametricAttribute___rarg(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -2425,6 +2487,18 @@ l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed_
|
|||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__7);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__8 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__8();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__8);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__9 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__9();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__9);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__10 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__10();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__10);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__11 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__11();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__11);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__12 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__12();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__12);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__13 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__13();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__13);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__14 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__14();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4____closed__14);
|
||||
if (builtin) {res = l_Lean_Compiler_initFn____x40_Lean_Compiler_ImplementedByAttr___hyg_4_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Compiler_implementedByAttr = lean_io_result_get_value(res);
|
||||
|
|
|
|||
718
stage0/stdlib/Lean/Compiler/InitAttr.c
generated
718
stage0/stdlib/Lean/Compiler/InitAttr.c
generated
|
|
@ -13,16 +13,20 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__13;
|
||||
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_throwError___at_Lean_registerInitAttrUnsafe___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttrUnsafe(lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttrUnsafe(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_setEnv___at_Lean_declareBuiltin___spec__3___closed__1;
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__38;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__21;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_InitAttr_0__Lean_isUnitType___boxed(lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
static lean_object* l___private_Lean_Compiler_InitAttr_0__Lean_isUnitType___closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808____closed__1;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__23;
|
||||
LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_declareBuiltin___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_declareBuiltin___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_declareBuiltin___closed__6;
|
||||
|
|
@ -30,71 +34,93 @@ static lean_object* l_Lean_getBuiltinInitFnNameFor_x3f___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Lean_builtinInitAttr;
|
||||
lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_filterTRAux___at_Lean_resolveGlobalConstCore___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_registerInitAttrUnsafe___spec__10(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786____closed__1;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__2;
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
lean_object* lean_io_error_to_string(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808____closed__2;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__34;
|
||||
lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstCore___spec__2(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Format_defWidth;
|
||||
LEAN_EXPORT lean_object* l_Lean_setBuiltinInitAttr(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__32;
|
||||
static lean_object* l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1___closed__2;
|
||||
static lean_object* l_Lean_declareBuiltin___closed__5;
|
||||
static lean_object* l_Lean_setEnv___at_Lean_declareBuiltin___spec__3___closed__4;
|
||||
lean_object* l_List_filterMap___at_Lean_resolveGlobalConst___spec__1(lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__10;
|
||||
static lean_object* l_Lean_declareBuiltin___closed__3;
|
||||
LEAN_EXPORT uint8_t lean_is_io_unit_regular_init_fn(lean_object*, lean_object*);
|
||||
lean_object* lean_environment_find(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__16;
|
||||
static lean_object* l_Lean_registerInitAttrUnsafe___closed__3;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_registerInitAttrUnsafe___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_declareBuiltin___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
static lean_object* l_Lean_setEnv___at_Lean_declareBuiltin___spec__3___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttr(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_declareBuiltin___closed__8;
|
||||
static lean_object* l_Lean_registerInitAttrUnsafe___lambda__1___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_registerInitAttrUnsafe___spec__13(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttrUnsafe___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttrUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_run_mod_init(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_registerInitAttrUnsafe___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_registerInitAttrUnsafe___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__37;
|
||||
static lean_object* l_Lean_declareBuiltin___closed__4;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__24;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_InitAttr_0__Lean_getIOTypeArg___boxed(lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__19;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttrUnsafe___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__4;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttrUnsafe___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__1;
|
||||
lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_registerInitAttrUnsafe___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_registerInitAttrUnsafe___spec__9(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalConst___at_Lean_registerInitAttrUnsafe___spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__33;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__1;
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_registerInitAttrUnsafe___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_registerInitAttrUnsafe___spec__12___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* lean_get_init_fn_name_for(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__39;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__4;
|
||||
lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ParametricAttribute_getParam_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_isIOUnitInitFnCore(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_declareBuiltin___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_registerInitAttrUnsafe___lambda__1___closed__3;
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__2;
|
||||
static lean_object* l_Lean_declareBuiltin___closed__1;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__31;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_InitAttr_0__Lean_isIOUnit___boxed(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttrUnsafe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_registerInitAttrUnsafe___spec__4___closed__1;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__11;
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_declareBuiltin___closed__2;
|
||||
static lean_object* l_Lean_declareBuiltin___closed__12;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__3;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__25;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_registerInitAttrUnsafe___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_registerInitAttrUnsafe___spec__4___closed__2;
|
||||
lean_object* l_Lean_isInitializerExecutionEnabled(lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__29;
|
||||
static lean_object* l_Lean_registerInitAttrUnsafe___lambda__1___closed__5;
|
||||
lean_object* l_Lean_Attribute_Builtin_getIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_registerInitAttrUnsafe___lambda__1___closed__7;
|
||||
|
|
@ -114,6 +140,7 @@ LEAN_EXPORT lean_object* lean_get_regular_init_fn_name_for(lean_object*, lean_ob
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_declareBuiltin___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_registerInitAttrUnsafe___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1___closed__4;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_registerInitAttrUnsafe___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttrUnsafe___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -124,45 +151,65 @@ static lean_object* l_Lean_declareBuiltin___closed__11;
|
|||
static lean_object* l_Lean_resolveGlobalConst___at_Lean_registerInitAttrUnsafe___spec__5___closed__1;
|
||||
LEAN_EXPORT uint8_t l_Lean_hasInitAttr(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__20;
|
||||
LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_declareBuiltin___spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_registerInitAttrUnsafe___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_registerInitAttrUnsafe___spec__8(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__17;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__8;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__27;
|
||||
static lean_object* l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1___closed__3;
|
||||
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_InitAttr_0__Lean_isIOUnit(lean_object*);
|
||||
uint8_t lean_expr_eqv(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isIOUnitInitFnCore___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1___closed__1;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_isIOUnitRegularInitFn___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__36;
|
||||
lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_addAndCompile(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Name_isAnonymous(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791_;
|
||||
static lean_object* l_Lean_declareBuiltin___closed__7;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_regularInitAttr;
|
||||
LEAN_EXPORT uint8_t l_Lean_isIOUnitInitFn(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__35;
|
||||
static lean_object* l_Lean_resolveGlobalConst___at_Lean_registerInitAttrUnsafe___spec__5___closed__2;
|
||||
static lean_object* l___private_Lean_Compiler_InitAttr_0__Lean_getIOTypeArg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_declareBuiltin(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_registerInitAttrUnsafe___spec__7(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_registerInitAttrUnsafe___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_declareBuiltin___spec__2___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedName;
|
||||
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_registerInitAttrUnsafe___spec__12(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__15;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__18;
|
||||
LEAN_EXPORT lean_object* l_Lean_isIOUnitInitFn___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_registerInitAttrUnsafe___spec__14(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* lean_get_builtin_init_fn_name_for(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_InitAttr_0__Lean_getIOTypeArg(lean_object*);
|
||||
lean_object* l_Lean_registerParametricAttribute___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_runInit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__30;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__22;
|
||||
static lean_object* l_Lean_resolveGlobalConst___at_Lean_registerInitAttrUnsafe___spec__5___closed__3;
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__28;
|
||||
lean_object* lean_run_init(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttr___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_isEmpty___rarg(lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__14;
|
||||
static lean_object* l_Lean_registerInitAttrUnsafe___lambda__1___closed__2;
|
||||
static lean_object* l_Lean_registerInitAttrUnsafe___lambda__1___closed__1;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_InitAttr_0__Lean_isUnitType(lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__26;
|
||||
LEAN_EXPORT lean_object* l_Lean_getInitFnNameForCore_x3f(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__2(lean_object*);
|
||||
static lean_object* l_Lean_declareBuiltin___closed__10;
|
||||
|
|
@ -170,6 +217,7 @@ static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_registerInitAt
|
|||
static lean_object* l_Lean_registerInitAttrUnsafe___lambda__1___closed__8;
|
||||
lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_registerInitAttrUnsafe___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__12;
|
||||
static lean_object* l_Lean_registerInitAttrUnsafe___lambda__1___closed__4;
|
||||
static lean_object* l_Lean_setEnv___at_Lean_declareBuiltin___spec__3___closed__2;
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
|
|
@ -2206,29 +2254,30 @@ x_1 = lean_alloc_closure((void*)(l_Lean_registerInitAttrUnsafe___lambda__2___box
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttrUnsafe(lean_object* x_1, uint8_t x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttrUnsafe(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_4 = l_Lean_registerInitAttrUnsafe___closed__1;
|
||||
x_5 = 0;
|
||||
x_6 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_6, 0, x_1);
|
||||
lean_ctor_set(x_6, 1, x_4);
|
||||
lean_ctor_set_uint8(x_6, sizeof(void*)*2, x_5);
|
||||
x_7 = lean_box(x_2);
|
||||
x_8 = lean_alloc_closure((void*)(l_Lean_registerInitAttrUnsafe___lambda__3___boxed), 4, 1);
|
||||
lean_closure_set(x_8, 0, x_7);
|
||||
x_9 = l_Lean_registerInitAttrUnsafe___closed__2;
|
||||
x_10 = l_Lean_registerInitAttrUnsafe___closed__3;
|
||||
x_11 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_11, 0, x_6);
|
||||
lean_ctor_set(x_11, 1, x_9);
|
||||
lean_ctor_set(x_11, 2, x_10);
|
||||
lean_ctor_set(x_11, 3, x_8);
|
||||
x_12 = l_Lean_instInhabitedName;
|
||||
x_13 = l_Lean_registerParametricAttribute___rarg(x_12, x_11, x_3);
|
||||
return x_13;
|
||||
lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_5 = l_Lean_registerInitAttrUnsafe___closed__1;
|
||||
x_6 = 0;
|
||||
x_7 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_7, 0, x_3);
|
||||
lean_ctor_set(x_7, 1, x_1);
|
||||
lean_ctor_set(x_7, 2, x_5);
|
||||
lean_ctor_set_uint8(x_7, sizeof(void*)*3, x_6);
|
||||
x_8 = lean_box(x_2);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_registerInitAttrUnsafe___lambda__3___boxed), 4, 1);
|
||||
lean_closure_set(x_9, 0, x_8);
|
||||
x_10 = l_Lean_registerInitAttrUnsafe___closed__2;
|
||||
x_11 = l_Lean_registerInitAttrUnsafe___closed__3;
|
||||
x_12 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_12, 0, x_7);
|
||||
lean_ctor_set(x_12, 1, x_10);
|
||||
lean_ctor_set(x_12, 2, x_11);
|
||||
lean_ctor_set(x_12, 3, x_9);
|
||||
x_13 = l_Lean_instInhabitedName;
|
||||
x_14 = l_Lean_registerParametricAttribute___rarg(x_13, x_12, x_4);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_registerInitAttrUnsafe___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -2365,17 +2414,442 @@ lean_dec(x_3);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttrUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttrUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4; lean_object* x_5;
|
||||
x_4 = lean_unbox(x_2);
|
||||
uint8_t x_5; lean_object* x_6;
|
||||
x_5 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l_Lean_registerInitAttrUnsafe(x_1, x_4, x_3);
|
||||
x_6 = l_Lean_registerInitAttrUnsafe(x_1, x_5, x_3, x_4);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Parser", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__2;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Tactic", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__4;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("tacticSeq", 9);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__6;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = lean_mk_empty_array_with_capacity(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("tacticSeq1Indented", 18);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__6;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__10;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("null", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__12;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("group", 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__14;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("exact", 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__6;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__16;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__16;
|
||||
x_3 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__9;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__18;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Term", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__4;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__20;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("declName", 8);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__23() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__21;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__22;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__24() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("decl_name%", 10);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__25() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__24;
|
||||
x_3 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__26() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__9;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__25;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__27() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__23;
|
||||
x_3 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__26;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__28() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__19;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__27;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__29() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__17;
|
||||
x_3 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__28;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__30() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__9;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__29;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__31() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__13;
|
||||
x_3 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__9;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__32() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__30;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__31;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__33() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__15;
|
||||
x_3 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__32;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__34() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__9;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__33;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__35() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__13;
|
||||
x_3 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__34;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__36() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__9;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__35;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__37() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__11;
|
||||
x_3 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__36;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__38() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__9;
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__37;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__39() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__8;
|
||||
x_3 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__38;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__39;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttr(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_registerInitAttrUnsafe(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786____closed__1() {
|
||||
LEAN_EXPORT lean_object* l_Lean_registerInitAttr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5; lean_object* x_6;
|
||||
x_5 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = l_Lean_registerInitAttr(x_1, x_5, x_3, x_4);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2383,27 +2857,46 @@ x_1 = lean_mk_string_from_bytes("init", 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____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_Compiler_InitAttr___hyg_786____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786_(lean_object* x_1) {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786____closed__2;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("regularInitAttr", 15);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__2;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_registerInitAttrUnsafe(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__4;
|
||||
x_5 = l_Lean_registerInitAttrUnsafe(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2411,24 +2904,43 @@ x_1 = lean_mk_string_from_bytes("builtinInit", 11);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____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_Compiler_InitAttr___hyg_808____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808_(lean_object* x_1) {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808____closed__2;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("builtinInitAttr", 15);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_registerInitAttrUnsafe(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__4;
|
||||
x_5 = l_Lean_registerInitAttrUnsafe(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_getInitFnNameForCore_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
|
|
@ -3318,20 +3830,108 @@ l_Lean_registerInitAttrUnsafe___closed__2 = _init_l_Lean_registerInitAttrUnsafe_
|
|||
lean_mark_persistent(l_Lean_registerInitAttrUnsafe___closed__2);
|
||||
l_Lean_registerInitAttrUnsafe___closed__3 = _init_l_Lean_registerInitAttrUnsafe___closed__3();
|
||||
lean_mark_persistent(l_Lean_registerInitAttrUnsafe___closed__3);
|
||||
l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786____closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786____closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786____closed__2);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_786_(lean_io_mk_world());
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__1 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__1();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__1);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__2 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__2();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__2);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__3 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__3();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__3);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__4 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__4();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__4);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__5 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__5();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__5);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__6 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__6();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__6);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__7 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__7();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__7);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__8 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__8();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__8);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__9 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__9();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__9);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__10 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__10();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__10);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__11 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__11();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__11);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__12 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__12();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__12);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__13 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__13();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__13);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__14 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__14();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__14);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__15 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__15();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__15);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__16 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__16();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__16);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__17 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__17();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__17);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__18 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__18();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__18);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__19 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__19();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__19);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__20 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__20();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__20);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__21 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__21();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__21);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__22 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__22();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__22);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__23 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__23();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__23);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__24 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__24();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__24);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__25 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__25();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__25);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__26 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__26();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__26);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__27 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__27();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__27);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__28 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__28();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__28);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__29 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__29();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__29);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__30 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__30();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__30);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__31 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__31();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__31);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__32 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__32();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__32);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__33 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__33();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__33);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__34 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__34();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__34);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__35 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__35();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__35);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__36 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__36();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__36);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__37 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__37();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__37);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__38 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__38();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__38);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__39 = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__39();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791____closed__39);
|
||||
l___auto____x40_Lean_Compiler_InitAttr___hyg_791_ = _init_l___auto____x40_Lean_Compiler_InitAttr___hyg_791_();
|
||||
lean_mark_persistent(l___auto____x40_Lean_Compiler_InitAttr___hyg_791_);
|
||||
l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__3 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__4 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845____closed__4);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_845_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_regularInitAttr = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_regularInitAttr);
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808____closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808____closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808____closed__2);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_808_(lean_io_mk_world());
|
||||
}l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__1 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__2 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__3 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__4 = _init_l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873____closed__4);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_873_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_builtinInitAttr = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_builtinInitAttr);
|
||||
|
|
|
|||
74
stage0/stdlib/Lean/Compiler/InlineAttrs.c
generated
74
stage0/stdlib/Lean/Compiler/InlineAttrs.c
generated
|
|
@ -43,6 +43,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_
|
|||
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_noConfusion(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__10;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__32;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__20;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_hasMacroInlineAttribute___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -73,14 +74,17 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_noConfusion___rarg(
|
|||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____lambda__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_hasInlineIfReduceAttribute___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getConstInfo___at___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___spec__1___closed__2;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__31;
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isConst(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__3;
|
||||
static lean_object* l_Lean_getConstInfo___at___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___spec__1___closed__3;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__28;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__14;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__5;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__30;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__15;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__18;
|
||||
lean_object* l_Lean_Compiler_checkIsDefinition(lean_object*, lean_object*);
|
||||
|
|
@ -117,11 +121,12 @@ static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hy
|
|||
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;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__29;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216_(lean_object*);
|
||||
static lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lambda__2___closed__4;
|
||||
lean_object* l_Lean_Expr_constName_x21(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__22;
|
||||
lean_object* l_Lean_registerEnumAttributes___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_registerEnumAttributes___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_toCtorIdx(uint8_t x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1349,6 +1354,52 @@ static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttr
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__28() {
|
||||
_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_216____closed__27;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__29() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Compiler", 8);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__30() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__28;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__29;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__31() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__30;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__32() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____lambda__1___boxed), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
|
|
@ -1356,15 +1407,16 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216_(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;
|
||||
uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_2 = l_Lean_Compiler_instInhabitedInlineAttributeKind;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__2;
|
||||
x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__26;
|
||||
x_5 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__27;
|
||||
x_5 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__32;
|
||||
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;
|
||||
x_7 = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__31;
|
||||
x_8 = lean_box(x_2);
|
||||
x_9 = l_Lean_registerEnumAttributes___rarg(x_8, x_3, x_4, x_5, x_6, x_7, x_1);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -1667,6 +1719,16 @@ l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__26
|
|||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__26);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__27 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__27();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__27);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__28 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__28();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__28);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__29 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__29();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__29);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__30 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__30();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__30);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__31 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__31();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__31);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__32 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__32();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216____closed__32);
|
||||
if (builtin) {res = l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_216_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Compiler_inlineAttrs = lean_io_result_get_value(res);
|
||||
|
|
|
|||
63
stage0/stdlib/Lean/Compiler/NeverExtractAttr.c
generated
63
stage0/stdlib/Lean/Compiler/NeverExtractAttr.c
generated
|
|
@ -17,10 +17,12 @@ LEAN_EXPORT lean_object* l_Lean_hasNeverExtractAttribute___boxed(lean_object*, l
|
|||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__4;
|
||||
uint8_t l_Lean_Name_isInternal(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__8;
|
||||
LEAN_EXPORT uint8_t l_Lean_hasNeverExtractAttribute_visit(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_neverExtractAttr;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__6;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__1;
|
||||
uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -28,9 +30,11 @@ static lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4_
|
|||
lean_object* l_Lean_Name_getPrefix(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t lean_has_never_extract_attribute(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__5;
|
||||
static lean_object* l_Lean_hasNeverExtractAttribute_visit___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_hasNeverExtractAttribute_visit___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -64,13 +68,49 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("instruct the compiler that function applications using the tagged declaration should not be extracted when they are closed terms, nor common subexpression should be performed. This is useful for declarations that have implicit effects.", 235);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__4() {
|
||||
_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_Compiler_NeverExtractAttr___hyg_4____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("neverExtractAttr", 16);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("instruct the compiler that function applications using the tagged declaration should not be extracted when they are closed terms, nor common subexpression should be performed. This is useful for declarations that have implicit effects.", 235);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____lambda__1___boxed), 4, 0);
|
||||
return x_1;
|
||||
|
|
@ -79,12 +119,13 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__2;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__3;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__4;
|
||||
x_5 = l_Lean_registerTagAttribute(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__7;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__8;
|
||||
x_5 = l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__6;
|
||||
x_6 = l_Lean_registerTagAttribute(x_2, x_3, x_4, x_5, x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -196,6 +237,14 @@ l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__3 = _init
|
|||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__4 = _init_l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__5 = _init_l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__6 = _init_l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__7 = _init_l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__8 = _init_l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4____closed__8);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Compiler_NeverExtractAttr___hyg_4_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_neverExtractAttr = lean_io_result_get_value(res);
|
||||
|
|
|
|||
156
stage0/stdlib/Lean/Compiler/Specialize.c
generated
156
stage0/stdlib/Lean/Compiler/Specialize.c
generated
|
|
@ -13,7 +13,6 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____spec__3(lean_object*, size_t, size_t, lean_object*);
|
||||
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*);
|
||||
|
|
@ -26,7 +25,7 @@ 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_338____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(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*);
|
||||
|
|
@ -64,7 +63,6 @@ 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_338____closed__3;
|
||||
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*);
|
||||
|
|
@ -79,39 +77,43 @@ LEAN_EXPORT lean_object* l_Std_HashMapImp_expand___at_Lean_Compiler_SpecState_ad
|
|||
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_32____closed__9;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__4;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_332____closed__4;
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_instInhabitedSpecializeAttributeKind;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__17;
|
||||
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_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____spec__1(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_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_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*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecializeAttributeKind_noConfusion___rarg___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____spec__2(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecializeAttributeKind_toCtorIdx___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_HashMap_insert___at_Lean_Compiler_SpecState_addEntry___spec__6(lean_object*, lean_object*, lean_object*);
|
||||
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*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__19;
|
||||
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*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_Compiler_SpecState_addEntry___spec__12(lean_object*, lean_object*, lean_object*);
|
||||
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_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__1;
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__2;
|
||||
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*);
|
||||
|
|
@ -130,7 +132,7 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Compiler_Sp
|
|||
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_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_338_(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;
|
||||
|
|
@ -139,6 +141,7 @@ static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg
|
|||
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*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__20;
|
||||
static lean_object* l_Lean_Compiler_SpecializeAttributeKind_noConfusion___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Compiler_getCachedSpecialization___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Compiler_getSpecializationInfo___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -147,7 +150,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_instInhabitedSpecInfo;
|
|||
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_338____lambda__1(lean_object*);
|
||||
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_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*);
|
||||
|
|
@ -171,11 +174,13 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Co
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_SpecState_addEntry___spec__16(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecState_switch(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecArgKind_noConfusion(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_SpecState_addEntry(lean_object*, lean_object*);
|
||||
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*);
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Compiler_SpecState_cache___default___spec__1(lean_object*);
|
||||
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__18;
|
||||
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*);
|
||||
|
|
@ -186,7 +191,7 @@ LEAN_EXPORT lean_object* l_Std_AssocList_contains___at_Lean_Compiler_SpecState_a
|
|||
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_object* l_Lean_registerEnumAttributes___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_instInhabitedSpecState;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Compiler_getCachedSpecialization___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -478,6 +483,52 @@ static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__16() {
|
||||
_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_32____closed__15;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Compiler", 8);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__16;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__17;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__18;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____lambda__1___boxed), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
|
|
@ -485,15 +536,16 @@ return 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;
|
||||
uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_2 = l_Lean_Compiler_instInhabitedSpecializeAttributeKind;
|
||||
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_5 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__20;
|
||||
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;
|
||||
x_7 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__19;
|
||||
x_8 = lean_box(x_2);
|
||||
x_9 = l_Lean_registerEnumAttributes___rarg(x_8, x_3, x_4, x_5, x_6, x_7, x_1);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
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) {
|
||||
|
|
@ -3018,7 +3070,7 @@ return x_11;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____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 +3092,7 @@ return x_4;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____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 +3130,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_338____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 +3144,7 @@ return x_4;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____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 +3173,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_338____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_338____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_338____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_338____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 +3199,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_338____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 +3207,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_338____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_338____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_338____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_32____closed__4;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__2;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__3;
|
||||
x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__1;
|
||||
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 +3231,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_338_(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_338____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_338____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 +3248,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_338____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_338____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 +3261,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_338____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;
|
||||
}
|
||||
|
|
@ -3874,6 +3926,16 @@ 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);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__16 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__16();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__16);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__17 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__17();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__17);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__18 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__18();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__18);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__19 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__19();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__19);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__20 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__20();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_32____closed__20);
|
||||
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);
|
||||
|
|
@ -3916,15 +3978,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_338____closed__1 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__1();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__1);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__2 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__2();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__2);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__3 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__3();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__3);
|
||||
l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__4 = _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__4();
|
||||
lean_mark_persistent(l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338____closed__4);
|
||||
if (builtin) {res = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_338_(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);
|
||||
|
|
|
|||
249
stage0/stdlib/Lean/Deprecated.c
generated
249
stage0/stdlib/Lean/Deprecated.c
generated
|
|
@ -24,6 +24,7 @@ LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda_
|
|||
lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_filterTRAux___at_Lean_resolveGlobalConstCore___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_deprecatedAttr;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalConst___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__3(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;
|
||||
|
|
@ -45,6 +46,7 @@ static lean_object* l_Lean_checkDeprecated___rarg___lambda__1___closed__3;
|
|||
static lean_object* l_Lean_checkDeprecated___rarg___lambda__1___closed__4;
|
||||
static lean_object* l_Lean_throwUnknownConstant___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__8___closed__3;
|
||||
lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_checkDeprecated___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ParametricAttribute_getParam_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*);
|
||||
|
|
@ -64,7 +66,6 @@ lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, le
|
|||
static lean_object* l_Lean_checkDeprecated___rarg___lambda__1___closed__2;
|
||||
static lean_object* l_Lean_resolveGlobalConst___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__3___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__6(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__2___closed__2;
|
||||
|
|
@ -74,12 +75,13 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_initFn____x40_Lean_Deprec
|
|||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__3;
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_throwUnknownConstant___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__8___closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__9;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerParametricAttribute___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_checkDeprecated___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -88,7 +90,6 @@ LEAN_EXPORT lean_object* l_Lean_isDeprecated___boxed(lean_object*, lean_object*)
|
|||
static lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__2;
|
||||
static lean_object* l_Lean_isDeprecated___closed__1;
|
||||
uint8_t l_List_isEmpty___rarg(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__2(lean_object*);
|
||||
static lean_object* l_Lean_checkDeprecated___rarg___lambda__1___closed__8;
|
||||
|
|
@ -941,39 +942,11 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("deprecated", 10);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__5() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -981,80 +954,82 @@ x_1 = lean_mk_string_from_bytes("invalid `[deprecated]` attribute", 32);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__6() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__2;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; uint8_t x_8;
|
||||
lean_object* x_8; lean_object* x_9; uint8_t x_10;
|
||||
lean_dec(x_3);
|
||||
x_8 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__1;
|
||||
x_9 = l_Lean_Name_str___override(x_1, x_8);
|
||||
lean_inc(x_4);
|
||||
x_10 = l_Lean_Syntax_isOfKind(x_4, x_9);
|
||||
lean_dec(x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
x_7 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__4;
|
||||
lean_inc(x_3);
|
||||
x_8 = l_Lean_Syntax_isOfKind(x_3, x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_9 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__6;
|
||||
x_10 = l_Lean_throwError___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__1(x_9, x_4, x_5, x_6);
|
||||
x_11 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__3;
|
||||
x_12 = l_Lean_throwError___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__1(x_11, x_5, x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
return x_10;
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_11 = lean_unsigned_to_nat(1u);
|
||||
x_12 = l_Lean_Syntax_getArg(x_3, x_11);
|
||||
lean_dec(x_3);
|
||||
x_13 = l_Lean_Syntax_isNone(x_12);
|
||||
if (x_13 == 0)
|
||||
lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
||||
x_13 = lean_unsigned_to_nat(1u);
|
||||
x_14 = l_Lean_Syntax_getArg(x_4, x_13);
|
||||
lean_dec(x_4);
|
||||
x_15 = l_Lean_Syntax_isNone(x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
uint8_t x_14;
|
||||
lean_inc(x_12);
|
||||
x_14 = l_Lean_Syntax_matchesNull(x_12, x_11);
|
||||
if (x_14 == 0)
|
||||
uint8_t x_16;
|
||||
lean_inc(x_14);
|
||||
x_16 = l_Lean_Syntax_matchesNull(x_14, x_13);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_1);
|
||||
x_15 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__6;
|
||||
x_16 = l_Lean_throwError___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__1(x_15, x_4, x_5, x_6);
|
||||
lean_object* x_17; lean_object* x_18;
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_2);
|
||||
x_17 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__3;
|
||||
x_18 = l_Lean_throwError___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__1(x_17, x_5, x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
return x_16;
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_17 = lean_unsigned_to_nat(0u);
|
||||
x_18 = l_Lean_Syntax_getArg(x_12, x_17);
|
||||
lean_dec(x_12);
|
||||
x_19 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
x_20 = lean_box(0);
|
||||
x_21 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__1(x_1, x_20, x_19, x_4, x_5, x_6);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
lean_dec(x_12);
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_19 = lean_unsigned_to_nat(0u);
|
||||
x_20 = l_Lean_Syntax_getArg(x_14, x_19);
|
||||
lean_dec(x_14);
|
||||
x_21 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_21, 0, x_20);
|
||||
x_22 = lean_box(0);
|
||||
lean_inc(x_1);
|
||||
x_23 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__1(x_1, x_22, x_1, x_4, x_5, x_6);
|
||||
x_23 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__1(x_2, x_22, x_21, x_5, x_6, x_7);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25;
|
||||
lean_dec(x_14);
|
||||
x_24 = lean_box(0);
|
||||
lean_inc(x_2);
|
||||
x_25 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__1(x_2, x_24, x_2, x_5, x_6, x_7);
|
||||
return x_25;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
|
|
@ -1082,14 +1057,50 @@ return x_5;
|
|||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____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_Deprecated___hyg_4____lambda__2___closed__3;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("deprecatedAttr", 14);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1097,21 +1108,23 @@ x_1 = lean_mk_string_from_bytes("mark declaration as deprecated", 30);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__5;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__6;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__4() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1119,7 +1132,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Deprecated___hyg_4___
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__5() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1130,20 +1143,22 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Deprecated___hyg_4_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_2 = lean_box(0);
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2), 6, 1);
|
||||
lean_closure_set(x_3, 0, x_2);
|
||||
x_4 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__3;
|
||||
x_5 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__4;
|
||||
x_6 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__5;
|
||||
x_7 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_7, 0, x_4);
|
||||
lean_ctor_set(x_7, 1, x_3);
|
||||
lean_ctor_set(x_7, 2, x_5);
|
||||
lean_ctor_set(x_7, 3, x_6);
|
||||
x_8 = l_Lean_registerParametricAttribute___rarg(x_2, x_7, x_1);
|
||||
return x_8;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2), 7, 2);
|
||||
lean_closure_set(x_4, 0, x_3);
|
||||
lean_closure_set(x_4, 1, x_2);
|
||||
x_5 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__7;
|
||||
x_6 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__8;
|
||||
x_7 = l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__9;
|
||||
x_8 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_8, 0, x_5);
|
||||
lean_ctor_set(x_8, 1, x_4);
|
||||
lean_ctor_set(x_8, 2, x_6);
|
||||
lean_ctor_set(x_8, 3, x_7);
|
||||
x_9 = l_Lean_registerParametricAttribute___rarg(x_2, x_8, x_1);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -1515,12 +1530,6 @@ l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__2 = _init_l_
|
|||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__2);
|
||||
l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__3 = _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__3);
|
||||
l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__4 = _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__4);
|
||||
l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__5 = _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__5);
|
||||
l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__6 = _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____lambda__2___closed__6);
|
||||
l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__1 = _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__2 = _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__2();
|
||||
|
|
@ -1531,6 +1540,14 @@ l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__4 = _init_l_Lean_initFn_
|
|||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__5 = _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__6 = _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__7 = _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__8 = _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__8);
|
||||
l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__9 = _init_l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__9();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Deprecated___hyg_4____closed__9);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Deprecated___hyg_4_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_deprecatedAttr = lean_io_result_get_value(res);
|
||||
|
|
|
|||
785
stage0/stdlib/Lean/Elab/App.c
generated
785
stage0/stdlib/Lean/Elab/App.c
generated
File diff suppressed because it is too large
Load diff
662
stage0/stdlib/Lean/Elab/Attributes.c
generated
662
stage0/stdlib/Lean/Elab/Attributes.c
generated
|
|
@ -16,17 +16,18 @@ extern "C" {
|
|||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Attribute_stx___default;
|
||||
static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__8;
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__7___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__5(lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___boxed(lean_object**);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_erase_macro_scopes(lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5___closed__6;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* l_Lean_throwMaxRecDepthAt___rarg(lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__8___boxed(lean_object**);
|
||||
lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*);
|
||||
|
|
@ -37,9 +38,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_maxRecDepthErrorMessage;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_instInhabitedAttribute;
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_toAttributeKind___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -48,15 +48,16 @@ uint8_t lean_name_eq(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_toAttributeKind___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__6(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1___boxed(lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__14(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_toAttributeKind___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -67,14 +68,15 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__
|
|||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__4(lean_object*);
|
||||
static lean_object* l_Lean_Elab_instToFormatAttribute___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___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_Elab_elabAttr___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
lean_object* l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___closed__5;
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5___closed__7;
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__7___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -87,19 +89,16 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___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* l_Lean_Name_toString(lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___closed__7;
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Elab_Attribute_kind___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
static lean_object* l_Lean_Elab_toAttributeKind___closed__9;
|
||||
lean_object* lean_format_pretty(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Environment_contains(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr(lean_object*);
|
||||
|
|
@ -124,15 +123,11 @@ static lean_object* l_Lean_Elab_instToFormatAttribute___closed__8;
|
|||
static lean_object* l_Lean_Elab_instInhabitedAttribute___closed__1;
|
||||
lean_object* l_Lean_Elab_pushInfoLeaf___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___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_Lean_Elab_elabAttr___rarg___lambda__6(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_toAttributeKind___closed__3;
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___closed__3;
|
||||
static lean_object* l_Lean_Elab_instToFormatAttribute___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs(lean_object*);
|
||||
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getSepArgs(lean_object*);
|
||||
uint8_t l_Lean_isAttribute(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_environment_main_module(lean_object*);
|
||||
static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__7;
|
||||
|
|
@ -151,15 +146,14 @@ static lean_object* l_Lean_Elab_instToFormatAttribute___closed__2;
|
|||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__8(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_instToFormatAttribute___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___closed__4;
|
||||
lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_instToFormatAttribute___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__7(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__7(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_toAttributeKind___closed__1;
|
||||
static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__1;
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__2;
|
||||
static lean_object* l_Lean_Elab_instToFormatAttribute___closed__3;
|
||||
lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -169,23 +163,19 @@ LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2(lean_obje
|
|||
static lean_object* l_Lean_Elab_toAttributeKind___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_toAttributeKind___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_mkAttrKindGlobal;
|
||||
lean_object* lean_string_length(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6___closed__1;
|
||||
static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__3;
|
||||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_toAttributeKind(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__4___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__9___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Elab_elabAttr___rarg___lambda__1(lean_object*);
|
||||
static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__6;
|
||||
|
|
@ -197,12 +187,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__
|
|||
static lean_object* l_Lean_Elab_toAttributeKind___closed__7;
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5___closed__3;
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
lean_object* l_Lean_getAttributeImpl(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_mkAttrKindGlobal___closed__4;
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5___closed__5;
|
||||
lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5___closed__1;
|
||||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_elabAttr___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static uint8_t _init_l_Lean_Elab_Attribute_kind___default() {
|
||||
|
|
@ -2019,260 +2009,95 @@ x_9 = lean_apply_2(x_7, lean_box(0), x_8);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__1() {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0));
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_elabAttr___rarg___lambda__3___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_Elab_elabAttr___rarg___lambda__3___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__2;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(32u);
|
||||
x_2 = lean_mk_empty_array_with_capacity(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__4;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__6() {
|
||||
_start:
|
||||
{
|
||||
size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = 5;
|
||||
x_2 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__5;
|
||||
x_3 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__4;
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1);
|
||||
lean_ctor_set(x_5, 0, x_2);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
lean_ctor_set(x_5, 2, x_4);
|
||||
lean_ctor_set(x_5, 3, x_4);
|
||||
lean_ctor_set_usize(x_5, 4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__3;
|
||||
x_2 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__6;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9;
|
||||
lean_inc(x_2);
|
||||
x_9 = l_Lean_Environment_contains(x_1, x_2);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_2);
|
||||
x_10 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_3);
|
||||
x_11 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_10);
|
||||
x_12 = lean_box(0);
|
||||
x_13 = lean_apply_2(x_11, lean_box(0), x_12);
|
||||
x_14 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_13, x_4);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_15;
|
||||
x_15 = lean_ctor_get_uint8(x_8, sizeof(void*)*2);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_2);
|
||||
x_16 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_3);
|
||||
x_17 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_16);
|
||||
x_18 = lean_box(0);
|
||||
x_19 = lean_apply_2(x_17, lean_box(0), x_18);
|
||||
x_20 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_19, x_4);
|
||||
return x_20;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_21 = lean_unsigned_to_nat(0u);
|
||||
x_22 = l_Lean_Syntax_getArg(x_6, x_21);
|
||||
x_23 = lean_box(0);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_24, 1, x_22);
|
||||
x_25 = lean_box(0);
|
||||
x_26 = lean_box(0);
|
||||
x_27 = l_Lean_Expr_const___override(x_2, x_26);
|
||||
x_28 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__7;
|
||||
x_29 = 0;
|
||||
x_30 = lean_alloc_ctor(0, 4, 1);
|
||||
lean_ctor_set(x_30, 0, x_24);
|
||||
lean_ctor_set(x_30, 1, x_28);
|
||||
lean_ctor_set(x_30, 2, x_25);
|
||||
lean_ctor_set(x_30, 3, x_27);
|
||||
lean_ctor_set_uint8(x_30, sizeof(void*)*4, x_29);
|
||||
x_31 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
x_32 = l_Lean_Elab_pushInfoLeaf___rarg(x_3, x_7, x_31);
|
||||
x_33 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_32, x_4);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_5);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__3___boxed), 8, 7);
|
||||
lean_closure_set(x_9, 0, x_7);
|
||||
lean_closure_set(x_9, 1, x_2);
|
||||
lean_closure_set(x_9, 2, x_3);
|
||||
lean_closure_set(x_9, 3, x_4);
|
||||
lean_closure_set(x_9, 4, x_5);
|
||||
lean_closure_set(x_9, 5, x_6);
|
||||
lean_closure_set(x_9, 6, x_1);
|
||||
x_10 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_8, x_9);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Attr", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_toAttributeKind___closed__4;
|
||||
x_2 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("simple", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__2;
|
||||
x_2 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_11 = lean_box(x_2);
|
||||
lean_inc(x_1);
|
||||
x_10 = l_Lean_Syntax_getKind(x_1);
|
||||
x_11 = lean_box(x_3);
|
||||
lean_inc(x_2);
|
||||
x_12 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__2___boxed), 5, 4);
|
||||
lean_closure_set(x_12, 0, x_1);
|
||||
lean_closure_set(x_12, 1, x_11);
|
||||
lean_closure_set(x_12, 2, x_3);
|
||||
lean_closure_set(x_12, 3, x_4);
|
||||
lean_inc(x_6);
|
||||
x_13 = l_Lean_Environment_contains(x_5, x_6);
|
||||
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_dec(x_9);
|
||||
lean_dec(x_6);
|
||||
x_14 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_1);
|
||||
x_15 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_14);
|
||||
x_16 = lean_box(0);
|
||||
x_17 = lean_apply_2(x_15, lean_box(0), x_16);
|
||||
x_18 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_17, x_12);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_19;
|
||||
x_19 = lean_ctor_get_uint8(x_10, sizeof(void*)*2);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_6);
|
||||
x_20 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_1);
|
||||
x_21 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_20);
|
||||
x_22 = lean_box(0);
|
||||
x_23 = lean_apply_2(x_21, lean_box(0), x_22);
|
||||
x_24 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_23, x_12);
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_25 = lean_unsigned_to_nat(0u);
|
||||
x_26 = l_Lean_Syntax_getArg(x_8, x_25);
|
||||
x_27 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_6);
|
||||
lean_ctor_set(x_27, 1, x_26);
|
||||
x_28 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
x_29 = l_Lean_Elab_pushInfoLeaf___rarg(x_1, x_9, x_28);
|
||||
x_30 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_29, x_12);
|
||||
return x_30;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_10 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_box(x_3);
|
||||
lean_inc(x_7);
|
||||
x_12 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__3___boxed), 10, 9);
|
||||
lean_closure_set(x_12, 0, x_2);
|
||||
lean_closure_set(x_12, 1, x_11);
|
||||
lean_closure_set(x_12, 2, x_4);
|
||||
lean_closure_set(x_12, 3, x_5);
|
||||
x_13 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__4;
|
||||
x_14 = lean_name_eq(x_10, x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
lean_inc(x_7);
|
||||
x_15 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__4), 7, 6);
|
||||
lean_closure_set(x_15, 0, x_6);
|
||||
lean_closure_set(x_15, 1, x_10);
|
||||
lean_closure_set(x_15, 2, x_2);
|
||||
lean_closure_set(x_15, 3, x_12);
|
||||
lean_closure_set(x_15, 4, x_7);
|
||||
lean_closure_set(x_15, 5, x_1);
|
||||
x_16 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_8, x_15);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_1);
|
||||
x_17 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_2);
|
||||
x_18 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_17);
|
||||
x_19 = lean_box(0);
|
||||
x_20 = lean_apply_2(x_18, lean_box(0), x_19);
|
||||
x_21 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_20, x_12);
|
||||
return x_21;
|
||||
lean_closure_set(x_12, 4, x_9);
|
||||
lean_closure_set(x_12, 5, x_6);
|
||||
lean_closure_set(x_12, 6, x_7);
|
||||
lean_closure_set(x_12, 7, x_8);
|
||||
lean_closure_set(x_12, 8, x_1);
|
||||
x_13 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_10, x_12);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__6___closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2280,16 +2105,16 @@ x_1 = lean_mk_string_from_bytes("unknown attribute [", 19);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__6___closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_elabAttr___rarg___lambda__6___closed__1;
|
||||
x_1 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__1;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__6___closed__3() {
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -2298,61 +2123,127 @@ x_2 = l_Lean_stringToMessageData(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_11 = lean_box(x_3);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_2);
|
||||
x_12 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__5___boxed), 9, 8);
|
||||
lean_closure_set(x_12, 0, x_1);
|
||||
lean_closure_set(x_12, 1, x_2);
|
||||
lean_closure_set(x_12, 2, x_11);
|
||||
lean_closure_set(x_12, 3, x_4);
|
||||
lean_closure_set(x_12, 4, x_5);
|
||||
lean_closure_set(x_12, 5, x_6);
|
||||
lean_closure_set(x_12, 6, x_7);
|
||||
lean_closure_set(x_12, 7, x_8);
|
||||
lean_inc(x_4);
|
||||
x_13 = l_Lean_isAttribute(x_10, x_4);
|
||||
if (x_13 == 0)
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Attr", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_14 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_14, 0, x_4);
|
||||
x_15 = l_Lean_Elab_elabAttr___rarg___lambda__6___closed__2;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_toAttributeKind___closed__4;
|
||||
x_2 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("simple", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__5;
|
||||
x_2 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__6;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11;
|
||||
lean_inc(x_1);
|
||||
x_11 = l_Lean_getAttributeImpl(x_10, x_1);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_12 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_12, 0, x_1);
|
||||
x_13 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__2;
|
||||
x_14 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
lean_ctor_set(x_14, 1, x_12);
|
||||
x_15 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__3;
|
||||
x_16 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
x_17 = l_Lean_Elab_elabAttr___rarg___lambda__6___closed__3;
|
||||
x_18 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_16);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
x_19 = l_Lean_throwError___rarg(x_2, x_9, x_18);
|
||||
x_20 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_19, x_12);
|
||||
return x_20;
|
||||
lean_ctor_set(x_16, 0, x_14);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
x_17 = l_Lean_throwError___rarg(x_2, x_3, x_16);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_4);
|
||||
x_21 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_2);
|
||||
x_22 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_21);
|
||||
x_23 = lean_box(0);
|
||||
x_24 = lean_apply_2(x_22, lean_box(0), x_23);
|
||||
x_25 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_24, x_12);
|
||||
return x_25;
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
lean_dec(x_3);
|
||||
x_18 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_11);
|
||||
lean_inc(x_4);
|
||||
x_19 = l_Lean_Syntax_getKind(x_4);
|
||||
x_20 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__7;
|
||||
x_21 = lean_name_eq(x_19, x_20);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
lean_dec(x_18);
|
||||
x_22 = lean_box(x_6);
|
||||
lean_inc(x_8);
|
||||
x_23 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__4___boxed), 9, 8);
|
||||
lean_closure_set(x_23, 0, x_5);
|
||||
lean_closure_set(x_23, 1, x_2);
|
||||
lean_closure_set(x_23, 2, x_22);
|
||||
lean_closure_set(x_23, 3, x_1);
|
||||
lean_closure_set(x_23, 4, x_7);
|
||||
lean_closure_set(x_23, 5, x_19);
|
||||
lean_closure_set(x_23, 6, x_8);
|
||||
lean_closure_set(x_23, 7, x_4);
|
||||
x_24 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_9, x_23);
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
lean_dec(x_19);
|
||||
x_25 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_18);
|
||||
x_26 = lean_ctor_get(x_25, 0);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_25);
|
||||
x_27 = lean_box(x_6);
|
||||
lean_inc(x_8);
|
||||
x_28 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__4___boxed), 9, 8);
|
||||
lean_closure_set(x_28, 0, x_5);
|
||||
lean_closure_set(x_28, 1, x_2);
|
||||
lean_closure_set(x_28, 2, x_27);
|
||||
lean_closure_set(x_28, 3, x_1);
|
||||
lean_closure_set(x_28, 4, x_7);
|
||||
lean_closure_set(x_28, 5, x_26);
|
||||
lean_closure_set(x_28, 6, x_8);
|
||||
lean_closure_set(x_28, 7, x_4);
|
||||
x_29 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_9, x_28);
|
||||
return x_29;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
|
|
@ -2361,22 +2252,22 @@ lean_inc(x_10);
|
|||
lean_dec(x_1);
|
||||
x_11 = lean_box(x_4);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_7);
|
||||
x_12 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__6___boxed), 10, 9);
|
||||
lean_closure_set(x_12, 0, x_2);
|
||||
lean_inc(x_6);
|
||||
x_12 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__5___boxed), 10, 9);
|
||||
lean_closure_set(x_12, 0, x_9);
|
||||
lean_closure_set(x_12, 1, x_3);
|
||||
lean_closure_set(x_12, 2, x_11);
|
||||
lean_closure_set(x_12, 3, x_9);
|
||||
lean_closure_set(x_12, 4, x_5);
|
||||
lean_closure_set(x_12, 5, x_6);
|
||||
lean_closure_set(x_12, 6, x_7);
|
||||
lean_closure_set(x_12, 7, x_10);
|
||||
lean_closure_set(x_12, 8, x_8);
|
||||
x_13 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_10, x_12);
|
||||
lean_closure_set(x_12, 2, x_8);
|
||||
lean_closure_set(x_12, 3, x_7);
|
||||
lean_closure_set(x_12, 4, x_2);
|
||||
lean_closure_set(x_12, 5, x_11);
|
||||
lean_closure_set(x_12, 6, x_5);
|
||||
lean_closure_set(x_12, 7, x_6);
|
||||
lean_closure_set(x_12, 8, x_10);
|
||||
x_13 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_10, x_12);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__8___closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__7___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2384,25 +2275,25 @@ x_1 = lean_mk_string_from_bytes("unknown attribute", 17);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__8___closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__7___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_elabAttr___rarg___lambda__8___closed__1;
|
||||
x_1 = l_Lean_Elab_elabAttr___rarg___lambda__7___closed__1;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_9 = lean_box(x_4);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_3);
|
||||
x_10 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__7___boxed), 9, 8);
|
||||
x_10 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__6___boxed), 9, 8);
|
||||
lean_closure_set(x_10, 0, x_1);
|
||||
lean_closure_set(x_10, 1, x_2);
|
||||
lean_closure_set(x_10, 2, x_3);
|
||||
|
|
@ -2413,7 +2304,7 @@ lean_closure_set(x_10, 6, x_6);
|
|||
lean_closure_set(x_10, 7, x_7);
|
||||
lean_inc(x_8);
|
||||
x_11 = l_Lean_Syntax_getKind(x_8);
|
||||
x_12 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__4;
|
||||
x_12 = l_Lean_Elab_elabAttr___rarg___lambda__5___closed__7;
|
||||
x_13 = lean_name_eq(x_11, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
|
|
@ -2434,16 +2325,16 @@ lean_dec(x_15);
|
|||
x_17 = lean_box(0);
|
||||
x_18 = l_Lean_Name_str___override(x_17, x_14);
|
||||
x_19 = lean_apply_2(x_16, lean_box(0), x_18);
|
||||
x_20 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_19, x_10);
|
||||
x_20 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_19, x_10);
|
||||
return x_20;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
lean_dec(x_11);
|
||||
x_21 = l_Lean_Elab_elabAttr___rarg___lambda__8___closed__2;
|
||||
x_21 = l_Lean_Elab_elabAttr___rarg___lambda__7___closed__2;
|
||||
x_22 = l_Lean_throwErrorAt___rarg(x_3, x_7, x_8, x_21);
|
||||
x_23 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_22, x_10);
|
||||
x_23 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_22, x_10);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
|
|
@ -2465,12 +2356,12 @@ x_28 = l_Lean_Syntax_getId(x_27);
|
|||
lean_dec(x_27);
|
||||
x_29 = lean_erase_macro_scopes(x_28);
|
||||
x_30 = lean_apply_2(x_25, lean_box(0), x_29);
|
||||
x_31 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_30, x_10);
|
||||
x_31 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_30, x_10);
|
||||
return x_31;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__9___closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_elabAttr___rarg___lambda__8___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2478,13 +2369,13 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__1___boxed
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, uint8_t x_13) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, uint8_t x_13) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_14 = lean_unsigned_to_nat(1u);
|
||||
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
|
||||
x_16 = l_Lean_Elab_elabAttr___rarg___lambda__9___closed__1;
|
||||
x_16 = l_Lean_Elab_elabAttr___rarg___lambda__8___closed__1;
|
||||
lean_inc(x_15);
|
||||
x_17 = lean_alloc_closure((void*)(l_Lean_expandMacros), 4, 2);
|
||||
lean_closure_set(x_17, 0, x_15);
|
||||
|
|
@ -2495,13 +2386,13 @@ lean_inc(x_2);
|
|||
x_18 = l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__3___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17);
|
||||
x_19 = lean_box(x_13);
|
||||
lean_inc(x_12);
|
||||
x_20 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__8___boxed), 8, 7);
|
||||
x_20 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__7___boxed), 8, 7);
|
||||
lean_closure_set(x_20, 0, x_3);
|
||||
lean_closure_set(x_20, 1, x_15);
|
||||
lean_closure_set(x_20, 1, x_11);
|
||||
lean_closure_set(x_20, 2, x_2);
|
||||
lean_closure_set(x_20, 3, x_19);
|
||||
lean_closure_set(x_20, 4, x_11);
|
||||
lean_closure_set(x_20, 5, x_12);
|
||||
lean_closure_set(x_20, 4, x_12);
|
||||
lean_closure_set(x_20, 5, x_15);
|
||||
lean_closure_set(x_20, 6, x_5);
|
||||
x_21 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_18, x_20);
|
||||
return x_21;
|
||||
|
|
@ -2528,7 +2419,7 @@ lean_inc(x_2);
|
|||
lean_inc(x_1);
|
||||
x_16 = l_Lean_Elab_liftMacroM___at_Lean_Elab_elabAttr___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15);
|
||||
lean_inc(x_12);
|
||||
x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__9___boxed), 13, 12);
|
||||
x_17 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__8___boxed), 13, 12);
|
||||
lean_closure_set(x_17, 0, x_11);
|
||||
lean_closure_set(x_17, 1, x_1);
|
||||
lean_closure_set(x_17, 2, x_2);
|
||||
|
|
@ -2688,65 +2579,66 @@ lean_dec(x_5);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9;
|
||||
x_9 = l_Lean_Elab_elabAttr___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
uint8_t x_11; lean_object* x_12;
|
||||
x_11 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_12 = l_Lean_Elab_elabAttr___rarg___lambda__3(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
return x_9;
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_10; lean_object* x_11;
|
||||
x_10 = lean_unbox(x_3);
|
||||
lean_dec(x_3);
|
||||
x_11 = l_Lean_Elab_elabAttr___rarg___lambda__5(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
lean_dec(x_9);
|
||||
x_11 = l_Lean_Elab_elabAttr___rarg___lambda__4(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_11; lean_object* x_12;
|
||||
x_11 = lean_unbox(x_3);
|
||||
lean_dec(x_3);
|
||||
x_12 = l_Lean_Elab_elabAttr___rarg___lambda__6(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
x_11 = lean_unbox(x_6);
|
||||
lean_dec(x_6);
|
||||
x_12 = l_Lean_Elab_elabAttr___rarg___lambda__5(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10);
|
||||
lean_dec(x_10);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_10; lean_object* x_11;
|
||||
x_10 = lean_unbox(x_4);
|
||||
lean_dec(x_4);
|
||||
x_11 = l_Lean_Elab_elabAttr___rarg___lambda__7(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9);
|
||||
x_11 = l_Lean_Elab_elabAttr___rarg___lambda__6(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9; lean_object* x_10;
|
||||
x_9 = lean_unbox(x_4);
|
||||
lean_dec(x_4);
|
||||
x_10 = l_Lean_Elab_elabAttr___rarg___lambda__8(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8);
|
||||
x_10 = l_Lean_Elab_elabAttr___rarg___lambda__7(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_14; lean_object* x_15;
|
||||
x_14 = lean_unbox(x_13);
|
||||
lean_dec(x_13);
|
||||
x_15 = l_Lean_Elab_elabAttr___rarg___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_14);
|
||||
x_15 = l_Lean_Elab_elabAttr___rarg___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_14);
|
||||
lean_dec(x_1);
|
||||
return x_15;
|
||||
}
|
||||
|
|
@ -3271,20 +3163,6 @@ l_Lean_Elab_elabAttr___rarg___lambda__1___closed__1 = _init_l_Lean_Elab_elabAttr
|
|||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__1___closed__1);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__1___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__1___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__1___closed__2);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__3___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__3___closed__1);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__3___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__3___closed__2);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__3___closed__3 = _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__3___closed__3);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__3___closed__4 = _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__3___closed__4);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__3___closed__5 = _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__3___closed__5);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__3___closed__6 = _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__3___closed__6);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__3___closed__7 = _init_l_Lean_Elab_elabAttr___rarg___lambda__3___closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__3___closed__7);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__5___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__5___closed__1);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__5___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__2();
|
||||
|
|
@ -3293,18 +3171,18 @@ l_Lean_Elab_elabAttr___rarg___lambda__5___closed__3 = _init_l_Lean_Elab_elabAttr
|
|||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__5___closed__3);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__5___closed__4 = _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__5___closed__4);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__6___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__6___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__6___closed__1);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__6___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__6___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__6___closed__2);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__6___closed__3 = _init_l_Lean_Elab_elabAttr___rarg___lambda__6___closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__6___closed__3);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__5___closed__5 = _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__5___closed__5);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__5___closed__6 = _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__5___closed__6);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__5___closed__7 = _init_l_Lean_Elab_elabAttr___rarg___lambda__5___closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__5___closed__7);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__7___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__7___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__7___closed__1);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__7___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__7___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__7___closed__2);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__8___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__8___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__8___closed__1);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__8___closed__2 = _init_l_Lean_Elab_elabAttr___rarg___lambda__8___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__8___closed__2);
|
||||
l_Lean_Elab_elabAttr___rarg___lambda__9___closed__1 = _init_l_Lean_Elab_elabAttr___rarg___lambda__9___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_elabAttr___rarg___lambda__9___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
111
stage0/stdlib/Lean/Elab/ComputedFields.c
generated
111
stage0/stdlib/Lean/Elab/ComputedFields.c
generated
|
|
@ -18,6 +18,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_ComputedFields_ov
|
|||
LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Elab_ComputedFields_mkImplType___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_ComputedFields_overrideCasesOn___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ComputedFields_overrideCasesOn___lambda__3___closed__3;
|
||||
static lean_object* l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__12;
|
||||
lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_ComputedFields_mkComputedFieldOverrides___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -69,6 +70,7 @@ LEAN_EXPORT lean_object* l_Lean_getConstInfoDefn___at_Lean_Elab_ComputedFields_o
|
|||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_ComputedFields_overrideCasesOn___spec__6___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls___at_Lean_Elab_ComputedFields_setComputedFields___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__11;
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_ComputedFields_overrideComputedFields___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_environment_find(lean_object*, lean_object*);
|
||||
|
|
@ -89,6 +91,7 @@ lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleA
|
|||
lean_object* lean_compile_decls(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_setEnv___at_Lean_Elab_ComputedFields_mkImplType___spec__6___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_ComputedFields_setComputedFields___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__8;
|
||||
lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -114,6 +117,7 @@ static lean_object* l_List_mapM___at_Lean_Elab_ComputedFields_mkImplType___spec_
|
|||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_ComputedFields_overrideCasesOn___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_ComputedFields_validateComputedFields___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__9;
|
||||
static lean_object* l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Elab_ComputedFields_overrideConstructors___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_WF_eqnInfoExt;
|
||||
|
|
@ -152,6 +156,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_ComputedFields_mk
|
|||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_ComputedFields_overrideConstructors___spec__11(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_KVMap_getBool(lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_ComputedFields_setComputedFields___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__5;
|
||||
static lean_object* l_Lean_Elab_ComputedFields_getComputedFieldValue___lambda__1___closed__4;
|
||||
lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_ComputedFields_overrideComputedFields___lambda__1___boxed(lean_object**);
|
||||
|
|
@ -269,6 +274,7 @@ static lean_object* l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedF
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_ComputedFields_overrideCasesOn___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_ofSubarray___rarg(lean_object*);
|
||||
lean_object* l_Std_RBNode_insert___at_Lean_CollectFVars_State_add___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_Lean_Elab_ComputedFields_mkImplType___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_ComputedFields_isScalarField___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_ComputedFields_mkImplType___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -299,7 +305,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_ComputedFields_
|
|||
lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t);
|
||||
extern lean_object* l_Lean_Expr_instBEqExpr;
|
||||
LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_ComputedFields_setComputedFields___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ComputedFields_mkUnsafeCastTo___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_ComputedFields_overrideCasesOn___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -340,10 +346,12 @@ lean_object* l_Lean_Meta_getConfig(lean_object*, lean_object*, lean_object*, lea
|
|||
lean_object* l_Lean_Expr_constName_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_ComputedFields_isScalarField___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_ComputedFields_isScalarField___spec__1___closed__1;
|
||||
static lean_object* l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__10;
|
||||
extern lean_object* l_instInhabitedPUnit;
|
||||
extern lean_object* l_Lean_casesOnSuffix;
|
||||
static lean_object* l_Lean_setEnv___at_Lean_Elab_ComputedFields_mkImplType___spec__6___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_ComputedFields_mkImplType___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__7;
|
||||
static lean_object* l_Lean_Elab_ComputedFields_overrideCasesOn___lambda__3___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Elab_ComputedFields_overrideConstructors___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_ComputedFields_setComputedFields___spec__3___closed__3;
|
||||
|
|
@ -435,13 +443,85 @@ static lean_object* _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_Com
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Marks a function as a computed field of an inductive", 52);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Elab", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__4;
|
||||
x_2 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("ComputedFields", 14);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__6;
|
||||
x_2 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("computedFieldAttr", 17);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__8;
|
||||
x_2 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Marks a function as a computed field of an inductive", 52);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____lambda__1___boxed), 4, 0);
|
||||
return x_1;
|
||||
|
|
@ -450,12 +530,13 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__2;
|
||||
x_3 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__3;
|
||||
x_4 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__4;
|
||||
x_5 = l_Lean_registerTagAttribute(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
x_3 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__11;
|
||||
x_4 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__12;
|
||||
x_5 = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__10;
|
||||
x_6 = l_Lean_registerTagAttribute(x_2, x_3, x_4, x_5, x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -14151,6 +14232,22 @@ l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____clo
|
|||
lean_mark_persistent(l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__3);
|
||||
l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__4 = _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__4);
|
||||
l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__5 = _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__5);
|
||||
l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__6 = _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__6);
|
||||
l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__7 = _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__7);
|
||||
l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__8 = _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__8);
|
||||
l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__9 = _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__9);
|
||||
l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__10 = _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__10();
|
||||
lean_mark_persistent(l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__10);
|
||||
l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__11 = _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__11();
|
||||
lean_mark_persistent(l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__11);
|
||||
l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__12 = _init_l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__12();
|
||||
lean_mark_persistent(l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6____closed__12);
|
||||
if (builtin) {res = l_Lean_Elab_ComputedFields_initFn____x40_Lean_Elab_ComputedFields___hyg_6_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Elab_ComputedFields_computedFieldAttr = lean_io_result_get_value(res);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/Declaration.c
generated
10
stage0/stdlib/Lean/Elab/Declaration.c
generated
|
|
@ -36,7 +36,6 @@ lean_object* l_Lean_Elab_Term_addTermInfo_x27(lean_object*, lean_object*, lean_o
|
|||
lean_object* lean_erase_macro_scopes(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__3;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabAxiom___lambda__5___closed__6;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration_declRange___closed__4;
|
||||
|
|
@ -478,6 +477,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration_declRange__
|
|||
extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
||||
static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_expandDeclNamespace_x3f___closed__5;
|
||||
static size_t l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___closed__2;
|
||||
|
|
@ -9868,7 +9868,7 @@ else
|
|||
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12;
|
||||
x_9 = lean_ctor_get(x_6, 0);
|
||||
x_10 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___lambda__1___closed__3;
|
||||
x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__13(x_9, x_10, x_3, x_4, x_5);
|
||||
x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(x_9, x_10, x_3, x_4, x_5);
|
||||
x_12 = !lean_is_exclusive(x_11);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
|
|
@ -9987,7 +9987,7 @@ x_25 = lean_ctor_get(x_12, 0);
|
|||
lean_inc(x_25);
|
||||
lean_dec(x_12);
|
||||
x_26 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___closed__2;
|
||||
x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__13(x_25, x_26, x_5, x_6, x_7);
|
||||
x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(x_25, x_26, x_5, x_6, x_7);
|
||||
lean_dec(x_25);
|
||||
x_28 = !lean_is_exclusive(x_27);
|
||||
if (x_28 == 0)
|
||||
|
|
@ -10058,7 +10058,7 @@ x_9 = lean_ctor_get(x_2, 0);
|
|||
lean_inc(x_9);
|
||||
lean_dec(x_2);
|
||||
x_10 = l_Lean_Elab_Command_elabMutual___lambda__2___closed__2;
|
||||
x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__13(x_9, x_10, x_4, x_5, x_6);
|
||||
x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(x_9, x_10, x_4, x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_9);
|
||||
x_12 = !lean_is_exclusive(x_11);
|
||||
|
|
@ -10218,7 +10218,7 @@ x_32 = lean_ctor_get(x_7, 0);
|
|||
lean_inc(x_32);
|
||||
lean_dec(x_7);
|
||||
x_33 = l_Lean_Elab_Command_elabMutual___closed__4;
|
||||
x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__13(x_32, x_33, x_2, x_3, x_4);
|
||||
x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(x_32, x_33, x_2, x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_32);
|
||||
x_35 = !lean_is_exclusive(x_34);
|
||||
|
|
|
|||
727
stage0/stdlib/Lean/Elab/LetRec.c
generated
727
stage0/stdlib/Lean/Elab/LetRec.c
generated
File diff suppressed because it is too large
Load diff
621
stage0/stdlib/Lean/Elab/MutualDef.c
generated
621
stage0/stdlib/Lean/Elab/MutualDef.c
generated
File diff suppressed because it is too large
Load diff
927
stage0/stdlib/Lean/Elab/Structure.c
generated
927
stage0/stdlib/Lean/Elab/Structure.c
generated
File diff suppressed because it is too large
Load diff
700
stage0/stdlib/Lean/Elab/Syntax.c
generated
700
stage0/stdlib/Lean/Elab/Syntax.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/Elab/Term.c
generated
4
stage0/stdlib/Lean/Elab/Term.c
generated
|
|
@ -23354,7 +23354,7 @@ lean_inc(x_29);
|
|||
lean_dec(x_2);
|
||||
x_30 = lean_ctor_get(x_28, 0);
|
||||
lean_inc(x_30);
|
||||
x_31 = lean_ctor_get_uint8(x_30, sizeof(void*)*2);
|
||||
x_31 = lean_ctor_get_uint8(x_30, sizeof(void*)*3);
|
||||
lean_dec(x_30);
|
||||
x_32 = lean_unbox(x_29);
|
||||
lean_dec(x_29);
|
||||
|
|
@ -23457,7 +23457,7 @@ lean_inc(x_54);
|
|||
lean_dec(x_2);
|
||||
x_55 = lean_ctor_get(x_53, 0);
|
||||
lean_inc(x_55);
|
||||
x_56 = lean_ctor_get_uint8(x_55, sizeof(void*)*2);
|
||||
x_56 = lean_ctor_get_uint8(x_55, sizeof(void*)*3);
|
||||
lean_dec(x_55);
|
||||
x_57 = lean_unbox(x_54);
|
||||
lean_dec(x_54);
|
||||
|
|
|
|||
164
stage0/stdlib/Lean/KeyedDeclsAttribute.c
generated
164
stage0/stdlib/Lean/KeyedDeclsAttribute.c
generated
|
|
@ -57,7 +57,7 @@ LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_Def_evalKey___default___rarg
|
|||
LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_KeyedDeclsAttribute_getEntries___spec__6___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_insert___at___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert___spec__11___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert___spec__2___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__9___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_KeyedDeclsAttribute_ExtensionState_erase___rarg___closed__1;
|
||||
|
|
@ -147,7 +147,7 @@ LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__7(lean
|
|||
static lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__9___closed__11;
|
||||
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_object* lean_array_fget(lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_138_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_192_(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*);
|
||||
|
|
@ -310,7 +310,7 @@ static lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__10___closed
|
|||
lean_object* lean_decl_get_sorry_dep(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_KeyedDeclsAttribute_getEntries___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ScopedEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_eraseAux___at_Lean_KeyedDeclsAttribute_ExtensionState_insert___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_erase___rarg___closed__6;
|
||||
|
|
@ -5914,87 +5914,88 @@ return x_51;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_12 = 1;
|
||||
lean_inc(x_1);
|
||||
x_13 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_13, 0, x_1);
|
||||
lean_ctor_set(x_13, 1, x_2);
|
||||
lean_ctor_set_uint8(x_13, sizeof(void*)*2, x_12);
|
||||
lean_inc(x_5);
|
||||
x_14 = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___rarg___lambda__5___boxed), 10, 4);
|
||||
lean_closure_set(x_14, 0, x_3);
|
||||
lean_closure_set(x_14, 1, x_4);
|
||||
lean_closure_set(x_14, 2, x_5);
|
||||
lean_closure_set(x_14, 3, x_6);
|
||||
lean_inc(x_5);
|
||||
x_15 = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___rarg___lambda__7___boxed), 7, 3);
|
||||
lean_closure_set(x_15, 0, x_5);
|
||||
lean_closure_set(x_15, 1, x_1);
|
||||
lean_closure_set(x_15, 2, x_7);
|
||||
x_16 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_16, 0, x_13);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
lean_ctor_set(x_16, 2, x_15);
|
||||
x_17 = l_Lean_registerBuiltinAttribute(x_16, x_11);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_13 = 1;
|
||||
lean_inc(x_2);
|
||||
x_14 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_14, 0, x_1);
|
||||
lean_ctor_set(x_14, 1, x_2);
|
||||
lean_ctor_set(x_14, 2, x_3);
|
||||
lean_ctor_set_uint8(x_14, sizeof(void*)*3, x_13);
|
||||
lean_inc(x_6);
|
||||
x_15 = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___rarg___lambda__5___boxed), 10, 4);
|
||||
lean_closure_set(x_15, 0, x_4);
|
||||
lean_closure_set(x_15, 1, x_5);
|
||||
lean_closure_set(x_15, 2, x_6);
|
||||
lean_closure_set(x_15, 3, x_7);
|
||||
lean_inc(x_6);
|
||||
x_16 = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___rarg___lambda__7___boxed), 7, 3);
|
||||
lean_closure_set(x_16, 0, x_6);
|
||||
lean_closure_set(x_16, 1, x_2);
|
||||
lean_closure_set(x_16, 2, x_8);
|
||||
x_17 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_17, 0, x_14);
|
||||
lean_ctor_set(x_17, 1, x_15);
|
||||
lean_ctor_set(x_17, 2, x_16);
|
||||
x_18 = l_Lean_registerBuiltinAttribute(x_17, x_12);
|
||||
if (lean_obj_tag(x_18) == 0)
|
||||
{
|
||||
uint8_t x_18;
|
||||
x_18 = !lean_is_exclusive(x_17);
|
||||
if (x_18 == 0)
|
||||
uint8_t x_19;
|
||||
x_19 = !lean_is_exclusive(x_18);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
x_19 = lean_ctor_get(x_17, 0);
|
||||
lean_dec(x_19);
|
||||
x_20 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_20, 0, x_8);
|
||||
lean_ctor_set(x_20, 1, x_9);
|
||||
lean_ctor_set(x_20, 2, x_5);
|
||||
lean_ctor_set(x_17, 0, x_20);
|
||||
return x_17;
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_ctor_get(x_18, 0);
|
||||
lean_dec(x_20);
|
||||
x_21 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_21, 0, x_9);
|
||||
lean_ctor_set(x_21, 1, x_10);
|
||||
lean_ctor_set(x_21, 2, x_6);
|
||||
lean_ctor_set(x_18, 0, x_21);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_21 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_17);
|
||||
x_22 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_22, 0, x_8);
|
||||
lean_ctor_set(x_22, 1, x_9);
|
||||
lean_ctor_set(x_22, 2, x_5);
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
lean_ctor_set(x_23, 1, x_21);
|
||||
return x_23;
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_22 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_18);
|
||||
x_23 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_23, 0, x_9);
|
||||
lean_ctor_set(x_23, 1, x_10);
|
||||
lean_ctor_set(x_23, 2, x_6);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_24, 1, x_22);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_24;
|
||||
uint8_t x_25;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_5);
|
||||
x_24 = !lean_is_exclusive(x_17);
|
||||
if (x_24 == 0)
|
||||
lean_dec(x_6);
|
||||
x_25 = !lean_is_exclusive(x_18);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
return x_17;
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_25 = lean_ctor_get(x_17, 0);
|
||||
x_26 = lean_ctor_get(x_17, 1);
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_26 = lean_ctor_get(x_18, 0);
|
||||
x_27 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_27);
|
||||
lean_inc(x_26);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_17);
|
||||
x_27 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_25);
|
||||
lean_ctor_set(x_27, 1, x_26);
|
||||
return x_27;
|
||||
lean_dec(x_18);
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_26);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
return x_28;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6382,7 +6383,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_138_(x_8, x_12);
|
||||
x_13 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_192_(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;
|
||||
|
|
@ -6576,11 +6577,14 @@ x_30 = l_Lean_KeyedDeclsAttribute_init___rarg___closed__5;
|
|||
x_31 = lean_string_append(x_30, x_14);
|
||||
x_32 = 1;
|
||||
lean_inc(x_12);
|
||||
x_33 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_33, 0, x_12);
|
||||
lean_ctor_set(x_33, 1, x_31);
|
||||
lean_ctor_set_uint8(x_33, sizeof(void*)*2, x_32);
|
||||
lean_inc(x_2);
|
||||
x_33 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_33, 0, x_2);
|
||||
lean_ctor_set(x_33, 1, x_12);
|
||||
lean_ctor_set(x_33, 2, x_31);
|
||||
lean_ctor_set_uint8(x_33, sizeof(void*)*3, x_32);
|
||||
lean_inc(x_17);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_16);
|
||||
x_34 = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___rarg___lambda__10___boxed), 11, 5);
|
||||
|
|
@ -6603,7 +6607,7 @@ lean_inc(x_38);
|
|||
x_39 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_37);
|
||||
x_40 = l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8(x_13, x_14, x_16, x_15, x_27, x_17, x_7, x_1, x_10, x_38, x_39);
|
||||
x_40 = l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8(x_2, x_13, x_14, x_16, x_15, x_27, x_17, x_7, x_1, x_10, x_38, x_39);
|
||||
lean_dec(x_38);
|
||||
return x_40;
|
||||
}
|
||||
|
|
@ -6617,6 +6621,7 @@ lean_dec(x_15);
|
|||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_41 = !lean_is_exclusive(x_37);
|
||||
if (x_41 == 0)
|
||||
|
|
@ -6642,9 +6647,8 @@ else
|
|||
{
|
||||
lean_object* x_45; lean_object* x_46;
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_2);
|
||||
x_45 = lean_box(0);
|
||||
x_46 = l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8(x_13, x_14, x_16, x_15, x_27, x_17, x_7, x_1, x_10, x_45, x_28);
|
||||
x_46 = l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8(x_2, x_13, x_14, x_16, x_15, x_27, x_17, x_7, x_1, x_10, x_45, x_28);
|
||||
return x_46;
|
||||
}
|
||||
}
|
||||
|
|
@ -6787,13 +6791,13 @@ lean_dec(x_1);
|
|||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_12;
|
||||
x_12 = l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
|
||||
lean_dec(x_10);
|
||||
return x_12;
|
||||
lean_object* x_13;
|
||||
x_13 = l_Lean_KeyedDeclsAttribute_init___rarg___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
lean_dec(x_11);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___rarg___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
|
|
|
|||
548
stage0/stdlib/Lean/Linter/UnusedVariables.c
generated
548
stage0/stdlib/Lean/Linter/UnusedVariables.c
generated
|
|
@ -25,6 +25,7 @@ static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hy
|
|||
size_t lean_usize_add(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_List_foldr___at_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_298____spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1391____closed__5;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__13;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_553____lambda__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l_List_foldr___at_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_470____spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -55,6 +56,7 @@ LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables
|
|||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1051____lambda__1___closed__1;
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__16;
|
||||
lean_object* lean_io_error_to_string(lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_7____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_Lean_Linter_getUnusedVariablesIgnoreFnsImpl___spec__1(lean_object*);
|
||||
|
|
@ -91,6 +93,7 @@ uint8_t lean_name_eq(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Linter_getUnusedVariablesIgnoreFnsImpl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_553____lambda__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_contains___at_Lean_Linter_unusedVariables___spec__9___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__14;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_553____lambda__1___closed__5;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_228____lambda__1___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1051____lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -100,21 +103,23 @@ lean_object* l_Lean_Elab_Command_addLinter(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1165____closed__1;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__18;
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_263____lambda__1___closed__3;
|
||||
lean_object* l_Lean_Elab_Info_updateContext_x3f(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_getLinterUnusedVariablesFunArgs___boxed(lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__4;
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Linter_unusedVariables___spec__32(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__3;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_553____lambda__4___closed__1;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3295____closed__1;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_470____closed__1;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1051____lambda__1___closed__8;
|
||||
lean_object* l_Std_mkHashSetImp___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Elab_InfoTree_visitM_go___at_Lean_Linter_unusedVariables___spec__26___closed__4;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_228____lambda__1___closed__7;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1259____lambda__1___closed__2;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__15;
|
||||
lean_object* l_List_get_x3f___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1259____closed__1;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_128____closed__1;
|
||||
|
|
@ -149,7 +154,9 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Linter_unusedVariab
|
|||
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Linter_unusedVariables___spec__6(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1165____lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_7____closed__1;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__12;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_204____closed__1;
|
||||
static lean_object* l_Lean_Linter_getUnusedVariablesIgnoreFnsImpl___closed__1;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_387____lambda__1___closed__8;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_7____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Linter_getUnusedVariablesIgnoreFnsImpl___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -158,7 +165,7 @@ static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hy
|
|||
uint8_t l_Lean_Name_hasMacroScopes(lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1018____lambda__1___closed__2;
|
||||
static lean_object* l_List_foldr___at_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1315____spec__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Linter_unusedVariables___spec__37___closed__1;
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_getLinterUnusedVariablesFunArgs(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Linter_unusedVariables___spec__1___boxed(lean_object*);
|
||||
|
|
@ -171,7 +178,7 @@ LEAN_EXPORT lean_object* l_Lean_Linter_collectMacroExpansions_x3f___at_Lean_Lint
|
|||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_387____lambda__1___closed__1;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_387____lambda__1___closed__2;
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_138_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_192_(uint8_t, uint8_t);
|
||||
lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_228____lambda__1___closed__11;
|
||||
uint8_t l_String_Range_contains(lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -188,6 +195,7 @@ static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hy
|
|||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__2;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_553____lambda__4___closed__6;
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_204____lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__10;
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_getLinterUnusedVariables(lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_470____lambda__1___closed__4;
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_getLinterUnusedVariablesPatternVars(lean_object*);
|
||||
|
|
@ -200,6 +208,7 @@ static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hy
|
|||
LEAN_EXPORT lean_object* l_Lean_ForEachExpr_visit___at_Lean_Linter_unusedVariables___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_387____lambda__1___closed__4;
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_470____lambda__1___closed__8;
|
||||
static lean_object* l_List_foldr___at_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1315____spec__1___closed__5;
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -256,6 +265,7 @@ LEAN_EXPORT uint8_t l_List_foldr___at_Lean_Linter_initFn____x40_Lean_Linter_Unus
|
|||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_unusedVariables___spec__31___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldr___at_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1165____spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_replace___at_Lean_Linter_unusedVariables___spec__7___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__9;
|
||||
static lean_object* l_Lean_Elab_InfoTree_visitM_go___at_Lean_Linter_unusedVariables___spec__26___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_228____lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1315____lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -273,7 +283,6 @@ lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1
|
|||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_387____lambda__1___closed__3;
|
||||
uint8_t l_Array_isEmpty___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_unusedVariables___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__5;
|
||||
uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_unusedVariables___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_470____lambda__1___closed__6;
|
||||
|
|
@ -292,11 +301,12 @@ lean_object* l_Lean_ConstantInfo_type(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Linter_unusedVariables___spec__17___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__4;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_553____lambda__4___closed__3;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__17;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_unusedVariables___spec__38___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldr___at_Lean_Linter_unusedVariables___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_evalConstCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__6;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_228____lambda__1___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_collectMacroExpansions_x3f_go___at_Lean_Linter_unusedVariables___spec__24___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_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_387____lambda__1___closed__6;
|
||||
|
|
@ -316,7 +326,7 @@ static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hy
|
|||
static lean_object* l_Lean_Linter_unusedVariables___lambda__1___closed__1;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_553____lambda__4___closed__5;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1391____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_linter_unusedVariables_funArgs;
|
||||
LEAN_EXPORT uint8_t l_List_foldr___at_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_298____spec__1(lean_object*, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_Server_findModuleRefs(lean_object*, lean_object*, uint8_t, uint8_t);
|
||||
|
|
@ -324,6 +334,7 @@ static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hy
|
|||
LEAN_EXPORT lean_object* l_Lean_Linter_unusedVariables(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Linter_unusedVariables___spec__34___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1165____lambda__1___closed__2;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__11;
|
||||
lean_object* lean_list_to_array(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1018____lambda__1___closed__6;
|
||||
|
|
@ -350,7 +361,7 @@ extern lean_object* l_Lean_Elab_Command_instInhabitedScope;
|
|||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1051____lambda__1___closed__9;
|
||||
LEAN_EXPORT lean_object* l_List_foldr___at_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1315____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_553____lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Linter_unusedVariables___spec__37___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_263____lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_foldr___at_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1315____spec__1___closed__1;
|
||||
|
|
@ -396,10 +407,10 @@ LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables
|
|||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_71_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_128_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_204_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3295_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1315_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1391_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3271_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_553_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_470_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1018_(lean_object*);
|
||||
|
|
@ -426,7 +437,6 @@ static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hy
|
|||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1018____lambda__1___closed__9;
|
||||
LEAN_EXPORT uint8_t l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_553____lambda__3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_553____lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3271____closed__1;
|
||||
uint8_t l_Std_AssocList_contains___at_Lean_Meta_AbstractMVars_abstractExprMVars___spec__5(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_298____lambda__1___closed__12;
|
||||
static lean_object* l_panic___at_Lean_Linter_unusedVariables___spec__27___closed__1;
|
||||
|
|
@ -475,7 +485,6 @@ extern lean_object* l_instInhabitedPUnit;
|
|||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_298____lambda__1___closed__11;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_298____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1259____lambda__1___closed__5;
|
||||
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_387____lambda__1___closed__5;
|
||||
lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
|
||||
|
|
@ -3509,39 +3518,11 @@ static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariable
|
|||
_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_UnusedVariables___hyg_1433____lambda__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_228____lambda__1___closed__5;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("IgnoreFunction", 14);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__2;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__5() {
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -3549,41 +3530,143 @@ x_1 = lean_mk_string_from_bytes("invalid attribute 'unusedVariablesIgnoreFn', mu
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__6() {
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__5;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__2;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
lean_dec(x_2);
|
||||
lean_object* x_7;
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_1);
|
||||
x_6 = l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1(x_1, x_3, x_4, x_5);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
x_7 = l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1(x_1, x_4, x_5, x_6);
|
||||
if (lean_obj_tag(x_7) == 0)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_7 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_ctor_get(x_6, 1);
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_8 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_6);
|
||||
x_9 = l_Lean_ConstantInfo_type(x_7);
|
||||
x_9 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_7);
|
||||
x_10 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__4;
|
||||
x_11 = l_Lean_Expr_isConstOf(x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
x_10 = l_Lean_ConstantInfo_type(x_8);
|
||||
lean_dec(x_8);
|
||||
x_11 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__1;
|
||||
x_12 = l_Lean_Name_str___override(x_2, x_11);
|
||||
x_13 = l_Lean_Expr_isConstOf(x_10, x_12);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_10);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
lean_dec(x_1);
|
||||
x_14 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__3;
|
||||
x_15 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__3(x_14, x_4, x_5, x_9);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_16 = !lean_is_exclusive(x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_17 = lean_ctor_get(x_15, 0);
|
||||
x_18 = lean_ctor_get(x_15, 1);
|
||||
lean_inc(x_18);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_15);
|
||||
x_19 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_17);
|
||||
lean_ctor_set(x_19, 1, x_18);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_box(0);
|
||||
x_21 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__1(x_1, x_20, x_4, x_5, x_9);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_22;
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_22 = !lean_is_exclusive(x_7);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
x_23 = lean_ctor_get(x_7, 0);
|
||||
x_24 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_24);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_7);
|
||||
x_25 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_25, 0, x_23);
|
||||
lean_ctor_set(x_25, 1, x_24);
|
||||
return x_25;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("invalid attribute 'unusedVariablesIgnoreFn', must be global", 59);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__1;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_8;
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
x_8 = l_Lean_Attribute_Builtin_ensureNoArgs(x_3, x_5, x_6, x_7);
|
||||
if (lean_obj_tag(x_8) == 0)
|
||||
{
|
||||
lean_object* x_9; uint8_t x_10; uint8_t x_11;
|
||||
x_9 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_8);
|
||||
x_10 = 0;
|
||||
x_11 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_192_(x_4, x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_12 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__6;
|
||||
x_13 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__3(x_12, x_3, x_4, x_8);
|
||||
x_12 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__2;
|
||||
x_13 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__3(x_12, x_5, x_6, x_9);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
x_14 = !lean_is_exclusive(x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
|
|
@ -3607,27 +3690,30 @@ else
|
|||
{
|
||||
lean_object* x_18; lean_object* x_19;
|
||||
x_18 = lean_box(0);
|
||||
x_19 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__1(x_1, x_18, x_3, x_4, x_8);
|
||||
x_19 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2(x_2, x_1, x_18, x_5, x_6, x_9);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_20;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_20 = !lean_is_exclusive(x_6);
|
||||
x_20 = !lean_is_exclusive(x_8);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
return x_6;
|
||||
return x_8;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_21 = lean_ctor_get(x_6, 0);
|
||||
x_22 = lean_ctor_get(x_6, 1);
|
||||
x_21 = lean_ctor_get(x_8, 0);
|
||||
x_22 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_8);
|
||||
x_23 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_21);
|
||||
lean_ctor_set(x_23, 1, x_22);
|
||||
|
|
@ -3636,102 +3722,6 @@ return x_23;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("invalid attribute 'unusedVariablesIgnoreFn', must be global", 59);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__1;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7;
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_7 = l_Lean_Attribute_Builtin_ensureNoArgs(x_2, x_4, x_5, x_6);
|
||||
if (lean_obj_tag(x_7) == 0)
|
||||
{
|
||||
lean_object* x_8; uint8_t x_9; uint8_t x_10;
|
||||
x_8 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_7);
|
||||
x_9 = 0;
|
||||
x_10 = l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_138_(x_3, x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
lean_dec(x_1);
|
||||
x_11 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__2;
|
||||
x_12 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__3(x_11, x_4, x_5, x_8);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_13 = !lean_is_exclusive(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_14 = lean_ctor_get(x_12, 0);
|
||||
x_15 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_12);
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_14);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18;
|
||||
x_17 = lean_box(0);
|
||||
x_18 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2(x_1, x_17, x_4, x_5, x_8);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_19;
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_1);
|
||||
x_19 = !lean_is_exclusive(x_7);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_20 = lean_ctor_get(x_7, 0);
|
||||
x_21 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_7);
|
||||
x_22 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_20);
|
||||
lean_ctor_set(x_22, 1, x_21);
|
||||
return x_22;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__4___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -3762,7 +3752,7 @@ static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariable
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("unusedVariablesIgnoreFn", 23);
|
||||
x_1 = lean_mk_string_from_bytes("Linter", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -3770,7 +3760,7 @@ static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariable
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_228____lambda__1___closed__5;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -3780,61 +3770,169 @@ static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariable
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Marks a function of type `Lean.Linter.IgnoreFunction` for suppressing unused variable warnings", 94);
|
||||
x_1 = lean_mk_string_from_bytes("initFn", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__2;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___boxed), 6, 0);
|
||||
x_1 = lean_mk_string_from_bytes("_@", 2);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__4;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__6;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_228____lambda__1___closed__4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__7;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("UnusedVariables", 15);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__8;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_hyg", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__10;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__12;
|
||||
x_2 = lean_unsigned_to_nat(1433u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("unusedVariablesIgnoreFn", 23);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__15() {
|
||||
_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_UnusedVariables___hyg_1433____closed__14;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Marks a function of type `Lean.Linter.IgnoreFunction` for suppressing unused variable warnings", 94);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__13;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__15;
|
||||
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__16;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__4___boxed), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__4;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__5;
|
||||
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__6;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__7;
|
||||
x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1);
|
||||
return x_3;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__2;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___boxed), 7, 1);
|
||||
lean_closure_set(x_3, 0, x_2);
|
||||
x_4 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__17;
|
||||
x_5 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__18;
|
||||
x_6 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_6, 0, x_4);
|
||||
lean_ctor_set(x_6, 1, x_3);
|
||||
lean_ctor_set(x_6, 2, x_5);
|
||||
x_7 = l_Lean_registerBuiltinAttribute(x_6, x_1);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
|
|
@ -3848,24 +3946,14 @@ lean_dec(x_2);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2(x_1, x_2, x_3, x_4, x_5);
|
||||
uint8_t x_8; lean_object* x_9;
|
||||
x_8 = lean_unbox(x_4);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____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:
|
||||
{
|
||||
uint8_t x_7; lean_object* x_8;
|
||||
x_7 = lean_unbox(x_3);
|
||||
lean_dec(x_3);
|
||||
x_8 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3(x_1, x_2, x_7, x_4, x_5, x_6);
|
||||
return x_8;
|
||||
x_9 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3(x_1, x_2, x_3, x_8, x_5, x_6, x_7);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -4247,6 +4335,16 @@ return x_46;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_getUnusedVariablesIgnoreFnsImpl___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__2;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_getUnusedVariablesIgnoreFnsImpl(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -4264,7 +4362,7 @@ x_8 = l_instInhabitedPUnit;
|
|||
x_9 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__1___closed__1;
|
||||
x_10 = l_Lean_SimplePersistentEnvExtension_getEntries___rarg(x_8, x_9, x_7);
|
||||
lean_dec(x_7);
|
||||
x_11 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__4;
|
||||
x_11 = l_Lean_Linter_getUnusedVariablesIgnoreFnsImpl___closed__1;
|
||||
x_12 = l_List_mapM___at_Lean_Linter_getUnusedVariablesIgnoreFnsImpl___spec__4(x_11, x_10, x_1, x_2, x_6);
|
||||
if (lean_obj_tag(x_12) == 0)
|
||||
{
|
||||
|
|
@ -10403,7 +10501,7 @@ lean_dec(x_2);
|
|||
return x_12;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3271____closed__1() {
|
||||
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3295____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -10411,11 +10509,11 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Linter_unusedVariables), 4, 0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3271_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3295_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3271____closed__1;
|
||||
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3295____closed__1;
|
||||
x_3 = l_Lean_Elab_Command_addLinter(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -10828,12 +10926,6 @@ l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2_
|
|||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__2);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__3 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__3();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__3);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__4 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__4();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__4);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__5 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__5();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__5);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__6 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__6();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__2___closed__6);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__1 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__1();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__1);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__2 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____lambda__3___closed__2();
|
||||
|
|
@ -10856,9 +10948,33 @@ l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__6
|
|||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__6);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__7 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__7();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__7);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__8 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__8();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__8);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__9 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__9();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__9);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__10 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__10();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__10);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__11 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__11();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__11);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__12 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__12();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__12);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__13 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__13();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__13);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__14 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__14();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__14);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__15 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__15();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__15);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__16 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__16();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__16);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__17 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__17();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__17);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__18 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__18();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433____closed__18);
|
||||
res = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1433_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Linter_getUnusedVariablesIgnoreFnsImpl___closed__1 = _init_l_Lean_Linter_getUnusedVariablesIgnoreFnsImpl___closed__1();
|
||||
lean_mark_persistent(l_Lean_Linter_getUnusedVariablesIgnoreFnsImpl___closed__1);
|
||||
l_Lean_Linter_unusedVariables_skipDeclIdIfPresent___closed__1 = _init_l_Lean_Linter_unusedVariables_skipDeclIdIfPresent___closed__1();
|
||||
lean_mark_persistent(l_Lean_Linter_unusedVariables_skipDeclIdIfPresent___closed__1);
|
||||
l_Lean_Linter_unusedVariables_skipDeclIdIfPresent___closed__2 = _init_l_Lean_Linter_unusedVariables_skipDeclIdIfPresent___closed__2();
|
||||
|
|
@ -10895,9 +11011,9 @@ l_Array_foldrMUnsafe_fold___at_Lean_Linter_unusedVariables___spec__37___closed__
|
|||
lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_Lean_Linter_unusedVariables___spec__37___closed__1);
|
||||
l_Lean_Linter_unusedVariables___lambda__1___closed__1 = _init_l_Lean_Linter_unusedVariables___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_Linter_unusedVariables___lambda__1___closed__1);
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3271____closed__1 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3271____closed__1();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3271____closed__1);
|
||||
res = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3271_(lean_io_mk_world());
|
||||
l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3295____closed__1 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3295____closed__1();
|
||||
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3295____closed__1);
|
||||
res = l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_3295_(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));
|
||||
|
|
|
|||
503
stage0/stdlib/Lean/Meta/Instances.c
generated
503
stage0/stdlib/Lean/Meta/Instances.c
generated
File diff suppressed because it is too large
Load diff
63
stage0/stdlib/Lean/Meta/Match/MatchPatternAttr.c
generated
63
stage0/stdlib/Lean/Meta/Match/MatchPatternAttr.c
generated
|
|
@ -17,14 +17,18 @@ static lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_
|
|||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_hasMatchPatternAttribute___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_hasMatchPatternAttribute___closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__6;
|
||||
LEAN_EXPORT uint8_t lean_has_match_pattern_attribute(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__7;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__4;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__1;
|
||||
lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_matchPatternAttr;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -60,13 +64,49 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("mark that a definition can be used in a pattern (remark: the dependent pattern matching compiler will unfold the definition)", 124);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__4() {
|
||||
_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_Meta_Match_MatchPatternAttr___hyg_4____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("matchPatternAttr", 16);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("mark that a definition can be used in a pattern (remark: the dependent pattern matching compiler will unfold the definition)", 124);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____lambda__1___boxed), 4, 0);
|
||||
return x_1;
|
||||
|
|
@ -75,12 +115,13 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__2;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__3;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__4;
|
||||
x_5 = l_Lean_registerTagAttribute(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__7;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__8;
|
||||
x_5 = l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__6;
|
||||
x_6 = l_Lean_registerTagAttribute(x_2, x_3, x_4, x_5, x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -141,6 +182,14 @@ l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__3 = _in
|
|||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__4 = _init_l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__5 = _init_l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__6 = _init_l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__7 = _init_l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__8 = _init_l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4____closed__8);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Match_MatchPatternAttr___hyg_4_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_matchPatternAttr = lean_io_result_get_value(res);
|
||||
|
|
|
|||
90
stage0/stdlib/Lean/Meta/RecursorInfo.c
generated
90
stage0/stdlib/Lean/Meta/RecursorInfo.c
generated
|
|
@ -220,6 +220,7 @@ uint8_t l_Array_isEmpty___rarg(lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__8___closed__3;
|
||||
LEAN_EXPORT lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_instToStringRecursorInfo___spec__4(uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__10;
|
||||
static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_RecursorInfo_firstIndexPos(lean_object*);
|
||||
uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t);
|
||||
|
|
@ -247,6 +248,8 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo
|
|||
lean_object* l_List_redLength___rarg(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___closed__1;
|
||||
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__9;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__8;
|
||||
static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__6;
|
||||
static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -334,6 +337,7 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Meta_Attribute_Recursor_g
|
|||
static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMotiveLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_RecursorInfo_instToStringRecursorInfo___closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -9883,6 +9887,42 @@ return x_5;
|
|||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Meta", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("recursorAttribute", 17);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__7;
|
||||
|
|
@ -9890,7 +9930,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__2() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -9898,21 +9938,23 @@ x_1 = lean_mk_string_from_bytes("user defined recursor, numerical parameter spec
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__3() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__5;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__6;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__4() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -9920,7 +9962,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInf
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__5() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -9928,7 +9970,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInf
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -9936,14 +9978,14 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInf
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__7() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__11() {
|
||||
_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_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__3;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__4;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__5;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__6;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__7;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__8;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__9;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__10;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
@ -9957,7 +9999,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_instInhabitedNat;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__7;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__11;
|
||||
x_4 = l_Lean_registerParametricAttribute___rarg(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -10351,6 +10393,14 @@ l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__6 = _init
|
|||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__8);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__9);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__10);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879____closed__11);
|
||||
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2879_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Meta_recursorAttribute = lean_io_result_get_value(res);
|
||||
|
|
|
|||
202
stage0/stdlib/Lean/Meta/SynthInstance.c
generated
202
stage0/stdlib/Lean/Meta/SynthInstance.c
generated
|
|
@ -50,6 +50,7 @@ lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_synthInstance_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Std_Data_HashMap_0__Std_numBucketsForCapacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_State_resumeStack___default;
|
||||
static lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__5;
|
||||
lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_tryAnswer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_toLOption___rarg(lean_object*);
|
||||
|
|
@ -120,6 +121,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_MkTableKey_instMonadMCtxM___l
|
|||
lean_object* l_Lean_MessageData_ofList(lean_object*);
|
||||
static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_synthInstance_x3f___spec__5___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_resume(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__6;
|
||||
static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_synthInstance_x3f___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__4;
|
||||
|
|
@ -240,6 +242,7 @@ static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean
|
|||
static lean_object* l_Lean_Meta_SynthInstance_MkTableKey_instMonadMCtxM___closed__1;
|
||||
static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__3___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_mapMetaM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_getInstances___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode;
|
||||
LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Meta_SynthInstance_getInstances___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -276,6 +279,7 @@ lean_object* l_Lean_mkLevelIMax_x27(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_MkTableKey_instMonadMCtxM___lambda__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getNextToResume___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -368,9 +372,10 @@ LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_f
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_38_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_6_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_8415_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_8421_(lean_object*);
|
||||
static lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_lmap___default___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getNextToResume___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__11;
|
||||
LEAN_EXPORT lean_object* l_List_anyM___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SynthInstance_resume___closed__7;
|
||||
|
|
@ -433,6 +438,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_consume___lambda__1___boxed(l
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_getInstances___spec__5___closed__4;
|
||||
static lean_object* l_Lean_Meta_SynthInstance_resume___closed__6;
|
||||
static lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__12;
|
||||
extern lean_object* l_Id_instMonadId;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_38____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_synth___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -494,6 +500,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__3___closed__5;
|
||||
static lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__10;
|
||||
lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_SynthInstance_main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getMaxHeartbeats(lean_object*);
|
||||
|
|
@ -528,10 +535,9 @@ static size_t l_Std_PersistentHashMap_findAux___at_Lean_Meta_synthInstance_x3f__
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_tryResolveCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_synthInstance_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_mkTableKey___at_Lean_Meta_SynthInstance_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_consume___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at_Lean_Meta_SynthInstance_tryResolveCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_nextIdx___default;
|
||||
|
|
@ -583,6 +589,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor___lambda__2___b
|
|||
static lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__4;
|
||||
uint8_t l_Std_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normExpr(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_synthInstance_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Meta_synthInstance_x3f___spec__8(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_tryAnswer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -801,13 +808,85 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_Synt
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("instruct type class resolution procedure to solve goals from right to left for this instance", 92);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Meta", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__4;
|
||||
x_2 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("SynthInstance", 13);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__6;
|
||||
x_2 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("inferTCGoalsRLAttr", 18);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__8;
|
||||
x_2 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("instruct type class resolution procedure to solve goals from right to left for this instance", 92);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____lambda__1___boxed), 4, 0);
|
||||
return x_1;
|
||||
|
|
@ -816,12 +895,13 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__2;
|
||||
x_3 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__3;
|
||||
x_4 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__4;
|
||||
x_5 = l_Lean_registerTagAttribute(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
x_3 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__11;
|
||||
x_4 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__12;
|
||||
x_5 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__10;
|
||||
x_6 = l_Lean_registerTagAttribute(x_2, x_3, x_4, x_5, x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -3819,17 +3899,19 @@ return x_2;
|
|||
static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Meta", 4);
|
||||
return x_1;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__4;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_6____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -3837,32 +3919,22 @@ return x_3;
|
|||
static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_6____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("globalInstances", 15);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8() {
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_2 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__7;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_2 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9() {
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -3870,11 +3942,11 @@ x_1 = lean_mk_string_from_bytes(", ", 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10() {
|
||||
static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -3967,7 +4039,7 @@ lean_inc(x_34);
|
|||
x_35 = lean_ctor_get(x_33, 1);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_33);
|
||||
x_36 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8;
|
||||
x_36 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__7;
|
||||
x_57 = lean_st_ref_get(x_7, x_35);
|
||||
x_58 = lean_ctor_get(x_57, 0);
|
||||
lean_inc(x_58);
|
||||
|
|
@ -4029,7 +4101,7 @@ x_42 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__3;
|
|||
x_43 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_42);
|
||||
lean_ctor_set(x_43, 1, x_41);
|
||||
x_44 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10;
|
||||
x_44 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9;
|
||||
x_45 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_43);
|
||||
lean_ctor_set(x_45, 1, x_44);
|
||||
|
|
@ -5477,7 +5549,7 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_newSubgoal___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_2 = l_Lean_Meta_SynthInstance_newSubgoal___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -8975,7 +9047,7 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_2 = l_Lean_Meta_SynthInstance_tryResolveCore___lambda__4___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -11206,7 +11278,7 @@ if (lean_is_exclusive(x_43)) {
|
|||
x_48 = lean_ctor_get(x_45, 1);
|
||||
lean_inc(x_48);
|
||||
lean_dec(x_45);
|
||||
x_49 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_49 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_61 = lean_st_ref_get(x_8, x_46);
|
||||
x_62 = lean_ctor_get(x_61, 0);
|
||||
lean_inc(x_62);
|
||||
|
|
@ -11826,7 +11898,7 @@ x_48 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer__
|
|||
x_49 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_49, 0, x_48);
|
||||
lean_ctor_set(x_49, 1, x_47);
|
||||
x_50 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10;
|
||||
x_50 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9;
|
||||
x_51 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_51, 0, x_49);
|
||||
lean_ctor_set(x_51, 1, x_50);
|
||||
|
|
@ -11892,7 +11964,7 @@ static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_Synth
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_2 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -12030,7 +12102,7 @@ lean_ctor_set(x_25, 0, x_24);
|
|||
x_26 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_21);
|
||||
lean_ctor_set(x_26, 1, x_25);
|
||||
x_27 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10;
|
||||
x_27 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9;
|
||||
x_28 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_26);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
|
|
@ -12078,7 +12150,7 @@ lean_ctor_set(x_45, 0, x_44);
|
|||
x_46 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_41);
|
||||
lean_ctor_set(x_46, 1, x_45);
|
||||
x_47 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10;
|
||||
x_47 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9;
|
||||
x_48 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_46);
|
||||
lean_ctor_set(x_48, 1, x_47);
|
||||
|
|
@ -12135,7 +12207,7 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_addAnswer___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_2 = l_Lean_Meta_SynthInstance_addAnswer___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -13575,7 +13647,7 @@ static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_Synth
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_2 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___lambda__2___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -16847,7 +16919,7 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_generate___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_2 = l_Lean_Meta_SynthInstance_generate___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -17309,7 +17381,7 @@ x_27 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer__
|
|||
x_28 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_26);
|
||||
x_29 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10;
|
||||
x_29 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9;
|
||||
x_30 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_28);
|
||||
lean_ctor_set(x_30, 1, x_29);
|
||||
|
|
@ -17439,7 +17511,7 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_resume___closed__5() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_2 = l_Lean_Meta_SynthInstance_resume___closed__4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -18366,7 +18438,7 @@ lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_obje
|
|||
x_11 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_8);
|
||||
x_12 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_12 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_24 = lean_st_ref_get(x_6, x_11);
|
||||
x_25 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_25);
|
||||
|
|
@ -20598,7 +20670,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_main(lean_object* x_1, lean_o
|
|||
_start:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_8 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_8 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_main___lambda__2), 9, 4);
|
||||
lean_closure_set(x_9, 0, x_1);
|
||||
lean_closure_set(x_9, 1, x_2);
|
||||
|
|
@ -22158,7 +22230,7 @@ lean_inc(x_9);
|
|||
x_10 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_8);
|
||||
x_11 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_11 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_28 = lean_st_ref_get(x_6, x_10);
|
||||
x_29 = lean_ctor_get(x_28, 0);
|
||||
lean_inc(x_29);
|
||||
|
|
@ -23232,7 +23304,7 @@ lean_dec(x_49);
|
|||
x_53 = lean_ctor_get(x_51, 1);
|
||||
lean_inc(x_53);
|
||||
lean_dec(x_51);
|
||||
x_54 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_54 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_85 = lean_st_ref_get(x_6, x_52);
|
||||
x_86 = lean_ctor_get(x_85, 0);
|
||||
lean_inc(x_86);
|
||||
|
|
@ -23554,7 +23626,7 @@ lean_dec(x_123);
|
|||
x_127 = lean_ctor_get(x_125, 1);
|
||||
lean_inc(x_127);
|
||||
lean_dec(x_125);
|
||||
x_128 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_128 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_159 = lean_st_ref_get(x_6, x_126);
|
||||
x_160 = lean_ctor_get(x_159, 0);
|
||||
lean_inc(x_160);
|
||||
|
|
@ -24007,7 +24079,7 @@ lean_dec(x_232);
|
|||
x_236 = lean_ctor_get(x_234, 1);
|
||||
lean_inc(x_236);
|
||||
lean_dec(x_234);
|
||||
x_237 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_237 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_268 = lean_st_ref_get(x_6, x_235);
|
||||
x_269 = lean_ctor_get(x_268, 0);
|
||||
lean_inc(x_269);
|
||||
|
|
@ -24494,7 +24566,7 @@ lean_dec(x_349);
|
|||
x_353 = lean_ctor_get(x_351, 1);
|
||||
lean_inc(x_353);
|
||||
lean_dec(x_351);
|
||||
x_354 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_354 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_385 = lean_st_ref_get(x_6, x_352);
|
||||
x_386 = lean_ctor_get(x_385, 0);
|
||||
lean_inc(x_386);
|
||||
|
|
@ -25517,7 +25589,7 @@ static lean_object* _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synth
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_1 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__4;
|
||||
x_2 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__2___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -26565,7 +26637,7 @@ lean_dec(x_3);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_8415_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_8421_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -26577,7 +26649,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
|||
x_4 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_3);
|
||||
x_5 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__6;
|
||||
x_5 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__5;
|
||||
x_6 = l_Lean_registerTraceClass(x_5, x_4);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
{
|
||||
|
|
@ -26585,7 +26657,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
|||
x_7 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_6);
|
||||
x_8 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8;
|
||||
x_8 = l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__7;
|
||||
x_9 = l_Lean_registerTraceClass(x_8, x_7);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
|
|
@ -26897,6 +26969,22 @@ l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____clos
|
|||
lean_mark_persistent(l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__3);
|
||||
l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__4 = _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__4);
|
||||
l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__5 = _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__5);
|
||||
l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__6 = _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__6);
|
||||
l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__7 = _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__7);
|
||||
l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__8 = _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__8);
|
||||
l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__9 = _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__9);
|
||||
l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__10 = _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__10);
|
||||
l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__11 = _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__11);
|
||||
l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__12 = _init_l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79____closed__12);
|
||||
if (builtin) {res = l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_79_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr = lean_io_result_get_value(res);
|
||||
|
|
@ -27008,8 +27096,6 @@ l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8 = _init_l_Lean_Me
|
|||
lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__8);
|
||||
l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__9);
|
||||
l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10 = _init_l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_SynthInstance_getInstances___lambda__2___closed__10);
|
||||
l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__1 = _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__1();
|
||||
lean_mark_persistent(l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__1);
|
||||
l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__2 = _init_l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9___closed__2();
|
||||
|
|
@ -27222,7 +27308,7 @@ l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__2___c
|
|||
lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__2___closed__5);
|
||||
l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__2___closed__6 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__2___closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__2___closed__6);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_8415_(lean_io_mk_world());
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_8421_(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));
|
||||
|
|
|
|||
240
stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c
generated
240
stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c
generated
|
|
@ -29,6 +29,7 @@ lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(lean_
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_getCustomEliminators___rarg___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_instInhabitedCustomEliminators___closed__2;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__6;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__21;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_customEliminatorExt;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_addCustomEliminator(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -45,6 +46,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_122_(lean_object*, lean_object*);
|
||||
lean_object* l___private_Std_Data_HashMap_0__Std_numBucketsForCapacity(lean_object*);
|
||||
lean_object* l_Lean_LocalDecl_userName(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__23;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_mkCustomEliminator___spec__13(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
|
|
@ -66,8 +68,10 @@ lean_object* l_Lean_registerSimpleScopedEnvExtension___rarg(lean_object*, lean_o
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_getCustomEliminators___boxed(lean_object*);
|
||||
lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminator____x40_Lean_Meta_Tactic_ElimInfo___hyg_1498____closed__11;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1571____spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1571____spec__9(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__22;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____lambda__1___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at_Lean_Meta_addImplicitTargets___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -79,6 +83,7 @@ static lean_object* l_Lean_SMap_toList___at___private_Lean_Meta_Tactic_ElimInfo_
|
|||
lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminator____x40_Lean_Meta_Tactic_ElimInfo___hyg_1498____closed__10;
|
||||
uint8_t l_Lean_Level_hasMVar(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__17;
|
||||
lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_MetavarContext_getExprAssignmentDomain___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1571____spec__11(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_LMVarId_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -141,6 +146,7 @@ extern lean_object* l_Lean_levelZero;
|
|||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getElimInfo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_instReprElimInfo;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__24;
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_122____spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_mkCustomEliminator___spec__18___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_1622_(lean_object*);
|
||||
|
|
@ -151,6 +157,7 @@ size_t lean_uint64_to_usize(uint64_t);
|
|||
static lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1571____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1571____spec__8(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_AssocList_contains___at_Lean_Meta_addCustomEliminatorEntry___spec__10(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__18;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_mkCustomEliminator___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_1622____closed__3;
|
||||
static lean_object* l_Lean_isLevelMVarAssignable___at_Lean_Meta_addImplicitTargets___spec__5___closed__4;
|
||||
|
|
@ -162,6 +169,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_repr
|
|||
lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimAltInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_22____closed__1;
|
||||
uint64_t l_Lean_Name_hash___override(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__15;
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_mkCustomEliminator___spec__8(lean_object*, lean_object*, size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedCustomEliminators;
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_mkCustomEliminator___spec__19___closed__3;
|
||||
|
|
@ -184,9 +192,11 @@ lean_object* l_Lean_ScopedEnvExtension_addLocalEntry___rarg(lean_object*, lean_o
|
|||
static lean_object* l_List_repr___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1571____spec__14___closed__6;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1571____spec__11___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__20;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1571____spec__4___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_Meta_getCustomEliminator_x3f___spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_Meta_addCustomEliminatorEntry___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_Meta_addCustomEliminatorEntry___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_foldlM___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1571____spec__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -200,6 +210,8 @@ lean_object* l_Lean_Expr_headBeta(lean_object*);
|
|||
static lean_object* l_Lean_exprDependsOn___at_Lean_Meta_mkCustomEliminator___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_mkCustomEliminator___spec__13___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_getElimInfo___spec__3___closed__3;
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__14;
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_addImplicitTargets_collect___lambda__2___closed__3;
|
||||
static lean_object* l_List_repr___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1571____spec__14___closed__1;
|
||||
|
|
@ -347,6 +359,7 @@ uint8_t lean_expr_eqv(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Meta_addImplicitTargets_collect___closed__3;
|
||||
uint8_t l_Lean_Expr_isMVar(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_getCustomEliminator_x3f___spec__9(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__16;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_le(size_t, size_t);
|
||||
uint8_t l_Lean_Expr_hasMVar(lean_object*);
|
||||
|
|
@ -399,6 +412,7 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_getElimInfo___spec__3_
|
|||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addCustomEliminator___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isFVar(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__19;
|
||||
LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_mkCustomEliminator___spec__6(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_mkCustomEliminator___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -456,9 +470,11 @@ lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Meta_CustomEliminators_map___default___closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_mkCustomEliminator___spec__11___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_instReprElimAltInfo___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__11;
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimAltInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_22____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_addCustomEliminatorEntry___spec__13(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__12;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_1622____closed__4;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimAltInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_22____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_addCustomEliminatorEntry(lean_object*, lean_object*);
|
||||
|
|
@ -472,6 +488,7 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addCus
|
|||
LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Meta_addCustomEliminatorEntry___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint64_t l_Array_foldlMUnsafe_fold___at_Lean_Meta_addCustomEliminatorEntry___spec__5(lean_object*, size_t, size_t, uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_Meta_getCustomEliminator_x3f___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_mkCustomEliminator___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_addCustomEliminatorEntry___spec__12(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1571____spec__2(lean_object*);
|
||||
|
|
@ -493,6 +510,7 @@ static lean_object* l_Lean_Meta_CustomEliminators_map___default___closed__3;
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1571____spec__9___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
uint8_t l_Lean_Expr_isSort(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminator____x40_Lean_Meta_Tactic_ElimInfo___hyg_1498____closed__6;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_getElimInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_panic___at_Lean_Meta_addImplicitTargets___spec__6___closed__1;
|
||||
lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -12900,7 +12918,7 @@ static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("eliminator", 10);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -12918,33 +12936,191 @@ static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("custom eliminator for `cases` and `induction` tactics", 53);
|
||||
x_1 = lean_mk_string_from_bytes("Meta", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("initFn", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_@", 2);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__6;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__8;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__9;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Tactic", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__10;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("ElimInfo", 8);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__12;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__13;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_hyg", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__14;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__15;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__16;
|
||||
x_2 = lean_unsigned_to_nat(2253u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("eliminator", 10);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__18;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("custom eliminator for `cases` and `induction` tactics", 53);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__17;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__19;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__20;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____lambda__1___boxed), 6, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__23() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -12952,13 +13128,13 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Elim
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__7() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__24() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__5;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__6;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__21;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__22;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__23;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -12970,7 +13146,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___h
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__7;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__24;
|
||||
x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -14331,6 +14507,40 @@ l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__6 = _i
|
|||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__8);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__9);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__10);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__11);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__12);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__13);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__14();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__14);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__15();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__15);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__16 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__16();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__16);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__17 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__17();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__17);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__18 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__18();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__18);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__19 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__19();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__19);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__20 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__20();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__20);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__21 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__21();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__21);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__22 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__22();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__22);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__23 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__23();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__23);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__24 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__24();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253____closed__24);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2253_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
264
stage0/stdlib/Lean/Meta/Tactic/Simp/SimpCongrTheorems.c
generated
264
stage0/stdlib/Lean/Meta/Tactic/Simp/SimpCongrTheorems.c
generated
|
|
@ -40,12 +40,14 @@ static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrThe
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___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*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__12;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__6;
|
||||
static lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____spec__17___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__5(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedSimpCongrTheorems;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__3(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -74,6 +76,7 @@ LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_Si
|
|||
static lean_object* l_Lean_SMap_toList___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____spec__1___closed__1;
|
||||
lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_MetavarContext_getExprAssignmentDomain___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__26;
|
||||
lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_51____closed__21;
|
||||
|
|
@ -108,6 +111,7 @@ LEAN_EXPORT uint8_t l_Std_AssocList_contains___at_Lean_Meta_addSimpCongrTheoremE
|
|||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
static lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____spec__17___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__2(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_levelZero;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -119,6 +123,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheo
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_mkSimpCongrTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
lean_object* l_Lean_Expr_FindImpl_findUnsafe_x3f(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__15;
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SimpCongrTheorems_get___spec__6(lean_object*, lean_object*);
|
||||
static size_t l_Std_PersistentHashMap_findAux___at_Lean_Meta_SimpCongrTheorems_get___spec__3___closed__2;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__3;
|
||||
|
|
@ -135,6 +140,7 @@ static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrThe
|
|||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____closed__6;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_306____closed__4;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__24;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____spec__6___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____closed__5;
|
||||
|
|
@ -145,6 +151,7 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_ScopedEnvExtension_addLocalEntry___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_51____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__22;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_Meta_SimpCongrTheorems_lemmas___default___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_SimpCongrTheorems_get___spec__5(lean_object*, lean_object*);
|
||||
|
|
@ -152,6 +159,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem__
|
|||
static size_t l_Std_PersistentHashMap_findAux___at_Lean_Meta_SimpCongrTheorems_get___spec__3___closed__1;
|
||||
static lean_object* l_Lean_Meta_mkSimpCongrTheorem___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_addSimpCongrTheoremEntry(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_mkSimpCongrTheorem___closed__2;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___closed__2;
|
||||
|
|
@ -159,10 +167,12 @@ static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrThe
|
|||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__20;
|
||||
static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__7;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____lambda__1___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_51____closed__19;
|
||||
lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
|
|
@ -221,10 +231,12 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheo
|
|||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_instReprSimpCongrTheorems___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_SimpCongrTheorems_get___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__23;
|
||||
size_t lean_usize_mul(size_t, size_t);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_306____closed__1;
|
||||
LEAN_EXPORT uint8_t l_Lean_Meta_mkSimpCongrTheorem_onlyMVarsAt___lambda__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____spec__2(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__9(lean_object*, lean_object*, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__4___closed__1;
|
||||
|
|
@ -267,9 +279,11 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_SimpCongrTheorems_get___spec__2(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_le(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____spec__5___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__25;
|
||||
uint8_t l_Lean_BinderInfo_isExplicit(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_addSimpCongrTheoremEntry_insert(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_addSimpCongrTheorem(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____lambda__1___closed__1;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_51____closed__1;
|
||||
|
|
@ -282,6 +296,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem__
|
|||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__5;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_51____closed__2;
|
||||
lean_object* l_List_mapTRAux___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__18;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____lambda__1___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SimpCongrTheorems_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -293,6 +308,7 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_51____closed__26;
|
||||
uint8_t l_Lean_Expr_isFVar(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____spec__18(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__19;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_51____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -318,6 +334,7 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_SimpCo
|
|||
lean_object* lean_string_length(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_instReprSimpCongrTheorem;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__9;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_addSimpCongrTheoremEntry___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_AssocList_replace___at_Lean_Meta_addSimpCongrTheoremEntry___spec__11(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -332,6 +349,7 @@ static lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTh
|
|||
static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__4;
|
||||
static lean_object* l_Lean_Meta_addSimpCongrTheorem___closed__1;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_51____closed__3;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__17;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_51____closed__18;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_congrExtension;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_51____closed__5;
|
||||
|
|
@ -360,6 +378,7 @@ static lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTh
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addSimpCongrTheoremEntry___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_Meta_addSimpCongrTheoremEntry___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__3___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -369,6 +388,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__21;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__4;
|
||||
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
||||
static lean_object* _init_l_Lean_Meta_instInhabitedSimpCongrTheorem___closed__1() {
|
||||
|
|
@ -10171,7 +10191,7 @@ static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCo
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("congr", 5);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -10189,33 +10209,209 @@ static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCo
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("congruence theorem", 18);
|
||||
x_1 = lean_mk_string_from_bytes("Meta", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("initFn", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_@", 2);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__6;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__8;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__9;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Tactic", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__10;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Simp", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__12;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__13;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("SimpCongrTheorems", 17);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__14;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__15;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_hyg", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__16;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__17;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__18;
|
||||
x_2 = lean_unsigned_to_nat(1821u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("congr", 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__20;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("congruence theorem", 18);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__23() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__19;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__21;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__22;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__24() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____lambda__1___boxed), 6, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__25() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -10223,13 +10419,13 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__7() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__26() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__5;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__6;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__23;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__24;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__25;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -10241,7 +10437,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCon
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__7;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__26;
|
||||
x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -10624,6 +10820,44 @@ l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____
|
|||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__8);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__9);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__10);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__11);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__12);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__13);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__14();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__14);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__15();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__15);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__16 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__16();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__16);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__17 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__17();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__17);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__18 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__18();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__18);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__19 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__19();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__19);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__20 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__20();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__20);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__21 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__21();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__21);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__22 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__22();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__22);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__23 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__23();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__23);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__24 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__24();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__24);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__25 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__25();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__25);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__26 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__26();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821____closed__26);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1821_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
2073
stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c
generated
2073
stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c
generated
File diff suppressed because it is too large
Load diff
257
stage0/stdlib/Lean/Meta/UnificationHint.c
generated
257
stage0/stdlib/Lean/Meta/UnificationHint.c
generated
|
|
@ -14,12 +14,14 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__18;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint(lean_object*);
|
||||
lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____lambda__1___closed__9;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____lambda__1___closed__8;
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
lean_object* l_Std_Format_join(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__15;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____lambda__1___closed__4;
|
||||
lean_object* l_panic___at_Lean_Meta_DiscrTree_insertCore___spec__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -36,7 +38,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
|||
lean_object* lean_nat_div(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decode___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_2217_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_2241_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_81_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763_(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -59,6 +61,7 @@ static lean_object* l_List_forIn_loop___at_Lean_Meta_tryUnificationHints_tryCand
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__3;
|
||||
lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__22;
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_UnificationHints_add___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__8;
|
||||
|
|
@ -121,6 +124,7 @@ size_t lean_uint64_to_usize(uint64_t);
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Meta_instToFormatUnificationHints___spec__7(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Meta_instToFormatUnificationHints___spec__7___closed__1;
|
||||
uint8_t l___private_Lean_Meta_DiscrTreeTypes_0__Lean_Meta_DiscrTree_beqKey____x40_Lean_Meta_DiscrTreeTypes___hyg_90_(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__13;
|
||||
lean_object* l_Lean_ConstantInfo_levelParams(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_tryUnificationHints(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__1;
|
||||
|
|
@ -141,18 +145,22 @@ lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes_
|
|||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_UnificationHints_add___spec__8(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_Meta_instToFormatUnificationHints___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l_List_format___at_Lean_Meta_instToFormatUnificationHints___spec__4___closed__10;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_instToFormatUnificationHints___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1;
|
||||
lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__4;
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Meta_UnificationHints_add___spec__9(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_addUnificationHint___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_addUnificationHint(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_mapTRAux___at_Lean_Meta_instToFormatUnificationHints___spec__3___closed__7;
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__8;
|
||||
static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2;
|
||||
static lean_object* l_Lean_Meta_UnificationHints_discrTree___default___closed__1;
|
||||
static lean_object* l_Lean_Meta_addUnificationHint___lambda__1___closed__3;
|
||||
|
|
@ -161,6 +169,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints_
|
|||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____lambda__1___closed__6;
|
||||
static lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_UnificationHints_add___spec__1___closed__2;
|
||||
static lean_object* l_List_forM___at___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___spec__1___closed__4;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__17;
|
||||
static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedUnificationHints;
|
||||
static lean_object* l_List_forM___at___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___spec__1___closed__1;
|
||||
|
|
@ -189,6 +198,7 @@ lean_object* lean_array_to_list(lean_object*, lean_object*);
|
|||
static lean_object* l_List_format___at_Lean_Meta_instToFormatUnificationHints___spec__4___closed__11;
|
||||
static lean_object* l_Lean_Meta_instInhabitedUnificationHints___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Meta_UnificationHints_add___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__21;
|
||||
lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_instInhabitedUnificationHintEntry___closed__2;
|
||||
|
|
@ -210,6 +220,7 @@ static lean_object* l_List_mapTRAux___at_Lean_Meta_instToFormatUnificationHints_
|
|||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____lambda__1___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__2;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__19;
|
||||
static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1___closed__9;
|
||||
static lean_object* l_List_mapTRAux___at_Lean_Meta_instToFormatUnificationHints___spec__3___closed__4;
|
||||
lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -231,6 +242,8 @@ static lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateH
|
|||
static lean_object* l_Lean_Meta_instInhabitedUnificationHints___closed__1;
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_instInhabitedUnificationHints___closed__2;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__20;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__12;
|
||||
static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_tryUnificationHints___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -239,7 +252,6 @@ static lean_object* l_Lean_Meta_tryUnificationHints___lambda__2___closed__2;
|
|||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____lambda__1___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6;
|
||||
static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1___closed__2;
|
||||
uint8_t l_Lean_Expr_isMVar(lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
|
|
@ -289,7 +301,9 @@ static lean_object* l_Lean_Meta_DiscrTree_Trie_format___at_Lean_Meta_instToForma
|
|||
lean_object* l_Lean_Attribute_Builtin_ensureNoArgs(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_instToFormatUnificationHints(lean_object*);
|
||||
static lean_object* l_List_format___at_Lean_Meta_instToFormatUnificationHints___spec__4___closed__2;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__10;
|
||||
static lean_object* l_Lean_Meta_DiscrTree_Trie_format___at_Lean_Meta_instToFormatUnificationHints___spec__2___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__14;
|
||||
static lean_object* l_List_format___at_Lean_Meta_instToFormatUnificationHints___spec__4___closed__8;
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -299,6 +313,7 @@ lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_WHNF_0__Lean_
|
|||
lean_object* l_Lean_indentExpr(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_tryUnificationHints___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_setPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1___closed__5;
|
||||
|
|
@ -4655,7 +4670,7 @@ static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("unificationHint", 15);
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -4673,33 +4688,173 @@ static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("unification hint", 16);
|
||||
x_1 = lean_mk_string_from_bytes("Meta", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("initFn", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_@", 2);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__6;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__8;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__9;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("UnificationHint", 15);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__10;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_hyg", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__12;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__13;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__14;
|
||||
x_2 = lean_unsigned_to_nat(763u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("unificationHint", 15);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__16;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("unification hint", 16);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__15;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__17;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__18;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____lambda__1___boxed), 6, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4707,13 +4862,13 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Unification
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__7() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__5;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__6;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__19;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__20;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__21;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -4725,7 +4880,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___h
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__7;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__22;
|
||||
x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -9178,22 +9333,14 @@ goto block_238;
|
|||
static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Meta", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__3() {
|
||||
static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -9201,17 +9348,17 @@ x_1 = lean_mk_string_from_bytes("isDefEq", 7);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4() {
|
||||
static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2;
|
||||
x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__3;
|
||||
x_1 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1;
|
||||
x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5() {
|
||||
static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -9219,12 +9366,12 @@ x_1 = lean_mk_string_from_bytes("hint", 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4;
|
||||
x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5;
|
||||
x_1 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__3;
|
||||
x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -9233,7 +9380,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate(lean_objec
|
|||
_start:
|
||||
{
|
||||
lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239;
|
||||
x_9 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6;
|
||||
x_9 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5;
|
||||
x_236 = lean_st_ref_get(x_7, x_8);
|
||||
x_237 = lean_ctor_get(x_236, 0);
|
||||
lean_inc(x_237);
|
||||
|
|
@ -10621,7 +10768,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_tryUnificationHints(lean_object* x_1, lean_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29;
|
||||
x_8 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6;
|
||||
x_8 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5;
|
||||
x_26 = lean_st_ref_get(x_6, x_7);
|
||||
x_27 = lean_ctor_get(x_26, 0);
|
||||
lean_inc(x_27);
|
||||
|
|
@ -10738,11 +10885,11 @@ lean_dec(x_3);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_2217_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_2241_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6;
|
||||
x_2 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -10983,6 +11130,36 @@ l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__6 = _in
|
|||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__8);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__9);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__10);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__11);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__12);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__13);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__14();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__14);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__15();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__15);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__16 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__16();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__16);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__17 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__17();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__17);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__18 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__18();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__18);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__19 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__19();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__19);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__20 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__20();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__20);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__21 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__21();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__21);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__22 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__22();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763____closed__22);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_763_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
@ -11020,8 +11197,6 @@ l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4 = _init_l_Lean_Meta_try
|
|||
lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__4);
|
||||
l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__5);
|
||||
l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__6);
|
||||
l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__1();
|
||||
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__1);
|
||||
l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__2();
|
||||
|
|
@ -11030,7 +11205,7 @@ l_Lean_Meta_tryUnificationHints___lambda__2___closed__1 = _init_l_Lean_Meta_tryU
|
|||
lean_mark_persistent(l_Lean_Meta_tryUnificationHints___lambda__2___closed__1);
|
||||
l_Lean_Meta_tryUnificationHints___lambda__2___closed__2 = _init_l_Lean_Meta_tryUnificationHints___lambda__2___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_tryUnificationHints___lambda__2___closed__2);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_2217_(lean_io_mk_world());
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_2241_(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));
|
||||
|
|
|
|||
618
stage0/stdlib/Lean/Parser/Attr.c
generated
618
stage0/stdlib/Lean/Parser/Attr.c
generated
File diff suppressed because it is too large
Load diff
845
stage0/stdlib/Lean/Parser/Do.c
generated
845
stage0/stdlib/Lean/Parser/Do.c
generated
File diff suppressed because it is too large
Load diff
1668
stage0/stdlib/Lean/Parser/Extension.c
generated
1668
stage0/stdlib/Lean/Parser/Extension.c
generated
File diff suppressed because it is too large
Load diff
390
stage0/stdlib/Lean/Parser/Level.c
generated
390
stage0/stdlib/Lean/Parser/Level.c
generated
|
|
@ -19,7 +19,7 @@ static lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__9;
|
|||
lean_object* l_Lean_Parser_nonReservedSymbol_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Level_num_formatter___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_ident_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__16;
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__6;
|
||||
static lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__4;
|
||||
lean_object* l_Lean_Parser_tokenAntiquotFn(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_addLit_declRange___closed__2;
|
||||
|
|
@ -75,7 +75,7 @@ static lean_object* l_Lean_Parser_Level_imax___closed__7;
|
|||
static lean_object* l_Lean_Parser_Level_imax_parenthesizer___closed__4;
|
||||
lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Level_max___elambda__1___closed__1;
|
||||
static lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__19;
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__11;
|
||||
static lean_object* l_Lean_Parser_Level_hole_formatter___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_ident_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_max___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -102,6 +102,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Level_hole_parenthesizer(lea
|
|||
static lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__8;
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_addLit_parenthesizer___closed__1;
|
||||
static lean_object* l_Lean_Parser_Level_paren___closed__3;
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__9;
|
||||
lean_object* l_Lean_Parser_checkPrecFn___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__12;
|
||||
static lean_object* l_Lean_Parser_Level_max___elambda__1___closed__9;
|
||||
|
|
@ -118,6 +119,7 @@ lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_obj
|
|||
static lean_object* l___regBuiltin_Lean_Parser_Level_paren_formatter___closed__3;
|
||||
static lean_object* l_Lean_Parser_Level_addLit___elambda__1___closed__6;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__19;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkPrec_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Level_max___elambda__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Level_paren_declRange(lean_object*);
|
||||
|
|
@ -125,11 +127,14 @@ static lean_object* l___regBuiltin_Lean_Parser_Level_ident_declRange___closed__3
|
|||
lean_object* l_Lean_Parser_checkPrecFn(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Level_ident_declRange(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_paren_formatter___closed__2;
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_max___elambda__1___lambda__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_addLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Level_num_parenthesizer___closed__2;
|
||||
static lean_object* l_Lean_Parser_Level_max___closed__3;
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__18;
|
||||
lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_hole_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Level_max___elambda__1___closed__4;
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Level_addLit_parenthesizer(lean_object*);
|
||||
|
|
@ -143,6 +148,7 @@ static lean_object* l_Lean_Parser_Level_addLit_formatter___closed__1;
|
|||
static lean_object* l_Lean_Parser_Level_paren___elambda__1___lambda__1___closed__1;
|
||||
static lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__1;
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_paren_parenthesizer___closed__3;
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__8;
|
||||
static lean_object* l_Lean_Parser_Level_ident___closed__3;
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Level_addLit_declRange(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_num_declRange___closed__1;
|
||||
|
|
@ -160,6 +166,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Level_ident_declRange___closed__6
|
|||
static lean_object* l___regBuiltin_Lean_Parser_Level_paren_formatter___closed__4;
|
||||
static lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__8;
|
||||
lean_object* l_Lean_Parser_nonReservedSymbolInfo(lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__17;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_paren;
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Level_imax(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_addLit_formatter___closed__1;
|
||||
|
|
@ -171,6 +178,7 @@ static lean_object* l_Lean_Parser_Level_paren___closed__10;
|
|||
static lean_object* l___regBuiltin_Lean_Parser_Level_paren_parenthesizer___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_num___elambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_num_declRange___closed__4;
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_many1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Level_ident_parenthesizer___closed__1;
|
||||
static lean_object* l_Lean_Parser_Level_addLit___elambda__1___closed__4;
|
||||
|
|
@ -202,19 +210,21 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Level_max_declRange(lean_obj
|
|||
static lean_object* l___regBuiltin_Lean_Parser_Level_paren_declRange___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_paren___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Level_max_formatter___closed__2;
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__13;
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_ident_declRange___closed__5;
|
||||
extern lean_object* l_Lean_PrettyPrinter_formatterAttribute;
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_max_formatter___closed__2;
|
||||
static lean_object* l_Lean_Parser_Level_ident___closed__1;
|
||||
static lean_object* l_Lean_Parser_Level_imax_formatter___closed__4;
|
||||
lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Level_addLit___closed__5;
|
||||
static lean_object* l_Lean_Parser_Level_paren_formatter___closed__1;
|
||||
static lean_object* l_Lean_Parser_Level_addLit___closed__3;
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_ident___closed__2;
|
||||
static lean_object* l_Lean_Parser_Level_imax___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_num_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_paren_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_num_declRange___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_num_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -223,9 +233,9 @@ lean_object* l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed(lean_object*,
|
|||
static lean_object* l___regBuiltin_Lean_Parser_Level_max_formatter___closed__1;
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_addLit_declRange___closed__7;
|
||||
static lean_object* l_Lean_Parser_Level_paren___closed__4;
|
||||
static lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__18;
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_num_declRange___closed__3;
|
||||
static lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__3;
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__5;
|
||||
static lean_object* l_Lean_Parser_Level_paren_parenthesizer___closed__7;
|
||||
lean_object* l_Lean_Parser_many1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Level_paren___closed__9;
|
||||
|
|
@ -253,12 +263,12 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Level_addLit_formatter(lean_
|
|||
extern lean_object* l_Lean_Parser_numLit;
|
||||
static lean_object* l_Lean_Parser_Level_max___closed__8;
|
||||
static lean_object* l_Lean_Parser_Level_ident_formatter___closed__1;
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__14;
|
||||
static lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
lean_object* l_Lean_Parser_numLit___elambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_imax_formatter___closed__2;
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_hole_declRange___closed__1;
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_hole_parenthesizer___closed__1;
|
||||
static lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__20;
|
||||
static lean_object* l_Lean_Parser_Level_hole___closed__6;
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_imax_parenthesizer___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Level_max;
|
||||
|
|
@ -280,6 +290,7 @@ static lean_object* l_Lean_Parser_Level_max___elambda__1___closed__10;
|
|||
static lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__6;
|
||||
lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_paren_declRange___closed__2;
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__10;
|
||||
static lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__7;
|
||||
static lean_object* l___regBuiltin_Lean_Parser_Level_hole_declRange___closed__3;
|
||||
static lean_object* l_Lean_Parser_Level_max_parenthesizer___closed__3;
|
||||
|
|
@ -356,10 +367,10 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Level_hole_formatter(lean_object*, lean_o
|
|||
static lean_object* l_Lean_Parser_Level_hole___closed__7;
|
||||
static lean_object* l_Lean_Parser_Level_imax___closed__4;
|
||||
static lean_object* l_Lean_Parser_Level_paren_parenthesizer___closed__1;
|
||||
static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__16;
|
||||
static lean_object* l_Lean_Parser_Level_paren_formatter___closed__2;
|
||||
lean_object* l_Lean_Parser_ident_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_symbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__17;
|
||||
static lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__7;
|
||||
static lean_object* l_Lean_Parser_Level_max_parenthesizer___closed__7;
|
||||
static lean_object* l_Lean_Parser_Level_paren___closed__8;
|
||||
|
|
@ -423,15 +434,154 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Parser", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__6;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("initFn", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__8;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_@", 2);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__10;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__12;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__13;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Level", 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__14;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__15;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_hyg", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__16;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__17;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__18;
|
||||
x_2 = lean_unsigned_to_nat(5u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__2;
|
||||
x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__4;
|
||||
x_4 = 0;
|
||||
x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
x_5 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__19;
|
||||
x_6 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_5, x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_levelParser(lean_object* x_1) {
|
||||
|
|
@ -488,88 +638,44 @@ return x_14;
|
|||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__8;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__15;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Parser", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__2;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Level", 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__4;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("paren", 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__8() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__6;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__7;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__9() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__7;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__2;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_3 = 1;
|
||||
x_4 = 0;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__10() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -577,16 +683,16 @@ x_1 = lean_mk_string_from_bytes("(", 1);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__11() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__10;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__5;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__12() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -594,16 +700,16 @@ x_1 = lean_mk_string_from_bytes(")", 1);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__13() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__12;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__7;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__14() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -615,7 +721,7 @@ lean_closure_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__15() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -625,7 +731,7 @@ lean_closure_set(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__16() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -635,41 +741,41 @@ lean_closure_set(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__17() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___lambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__11;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__6;
|
||||
x_3 = lean_string_append(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__18() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__17;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__12;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___lambda__1___closed__1;
|
||||
x_3 = lean_string_append(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__19() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___lambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__13;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_3 = lean_string_append(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__20() {
|
||||
static lean_object* _init_l_Lean_Parser_Level_paren___elambda__1___closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__19;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__14;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___lambda__1___closed__1;
|
||||
x_3 = lean_string_append(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -679,32 +785,32 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Level_paren___elambda__1(lean_object* x_1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint32_t x_21; uint32_t x_22; uint8_t x_23;
|
||||
x_3 = l_Lean_Parser_Level_paren___elambda__1___closed__11;
|
||||
x_3 = l_Lean_Parser_Level_paren___elambda__1___closed__6;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_Level_paren___elambda__1___lambda__1___boxed), 3, 1);
|
||||
lean_closure_set(x_4, 0, x_3);
|
||||
x_5 = l_Lean_Parser_Level_paren___elambda__1___closed__13;
|
||||
x_5 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_6 = lean_alloc_closure((void*)(l_Lean_Parser_Level_paren___elambda__1___lambda__1___boxed), 3, 1);
|
||||
lean_closure_set(x_6, 0, x_5);
|
||||
x_7 = l_Lean_Parser_Level_paren___elambda__1___closed__14;
|
||||
x_7 = l_Lean_Parser_Level_paren___elambda__1___closed__9;
|
||||
x_8 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_8, 0, x_7);
|
||||
lean_closure_set(x_8, 1, x_6);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_9, 0, x_4);
|
||||
lean_closure_set(x_9, 1, x_8);
|
||||
x_10 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_10 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_11 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_11, 0, x_10);
|
||||
lean_closure_set(x_11, 1, x_9);
|
||||
x_12 = l_Lean_Parser_Level_paren___elambda__1___closed__16;
|
||||
x_12 = l_Lean_Parser_Level_paren___elambda__1___closed__11;
|
||||
x_13 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_13, 0, x_11);
|
||||
lean_closure_set(x_13, 1, x_12);
|
||||
x_14 = l_Lean_Parser_Level_paren___elambda__1___closed__15;
|
||||
x_14 = l_Lean_Parser_Level_paren___elambda__1___closed__10;
|
||||
x_15 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_15, 0, x_14);
|
||||
lean_closure_set(x_15, 1, x_13);
|
||||
x_16 = l_Lean_Parser_Level_paren___elambda__1___closed__9;
|
||||
x_16 = l_Lean_Parser_Level_paren___elambda__1___closed__4;
|
||||
x_17 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_ctor_get(x_1, 0);
|
||||
|
|
@ -743,7 +849,7 @@ x_29 = lean_ctor_get(x_25, 0);
|
|||
lean_inc(x_29);
|
||||
x_30 = lean_array_get_size(x_29);
|
||||
lean_dec(x_29);
|
||||
x_31 = l_Lean_Parser_Level_paren___elambda__1___closed__18;
|
||||
x_31 = l_Lean_Parser_Level_paren___elambda__1___closed__13;
|
||||
lean_inc(x_1);
|
||||
x_32 = l_Lean_Parser_symbolFnAux(x_3, x_31, x_1, x_25);
|
||||
x_33 = lean_ctor_get(x_32, 2);
|
||||
|
|
@ -830,7 +936,7 @@ return x_52;
|
|||
else
|
||||
{
|
||||
lean_object* x_53; lean_object* x_54; lean_object* x_55; uint32_t x_56; uint8_t x_57;
|
||||
x_53 = l_Lean_Parser_Level_paren___elambda__1___closed__20;
|
||||
x_53 = l_Lean_Parser_Level_paren___elambda__1___closed__15;
|
||||
lean_inc(x_1);
|
||||
x_54 = l_Lean_Parser_symbolFnAux(x_5, x_53, x_1, x_46);
|
||||
x_55 = lean_ctor_get(x_54, 2);
|
||||
|
|
@ -902,7 +1008,7 @@ static lean_object* _init_l_Lean_Parser_Level_paren___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__11;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__6;
|
||||
x_2 = l_Lean_Parser_symbolInfo(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -921,7 +1027,7 @@ static lean_object* _init_l_Lean_Parser_Level_paren___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__13;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_2 = l_Lean_Parser_symbolInfo(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -952,7 +1058,7 @@ static lean_object* _init_l_Lean_Parser_Level_paren___closed__6() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_2 = l_Lean_Parser_Level_paren___closed__5;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -982,7 +1088,7 @@ static lean_object* _init_l_Lean_Parser_Level_paren___closed__9() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__9;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__4;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l_Lean_Parser_Level_paren___closed__8;
|
||||
|
|
@ -1032,7 +1138,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__4;
|
||||
x_3 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_3 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_Level_paren;
|
||||
x_6 = lean_unsigned_to_nat(1000u);
|
||||
|
|
@ -1136,7 +1242,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Level_paren_declRange(lean_o
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_3 = l___regBuiltin_Lean_Parser_Level_paren_declRange___closed__7;
|
||||
x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
|
|
@ -1172,8 +1278,8 @@ static lean_object* _init_l_Lean_Parser_Level_paren_formatter___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__7;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__2;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_3 = 1;
|
||||
x_4 = 0;
|
||||
x_5 = lean_box(x_3);
|
||||
|
|
@ -1190,7 +1296,7 @@ static lean_object* _init_l_Lean_Parser_Level_paren_formatter___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__10;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__5;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -1200,7 +1306,7 @@ static lean_object* _init_l_Lean_Parser_Level_paren_formatter___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__12;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__7;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -1242,7 +1348,7 @@ static lean_object* _init_l_Lean_Parser_Level_paren_formatter___closed__7() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Level_paren_formatter___closed__6;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -1274,7 +1380,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Level_paren_formatter___clo
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_2 = l___regBuiltin_Lean_Parser_Level_paren_formatter___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -1301,7 +1407,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l___regBuiltin_Lean_Parser_Level_paren_formatter___closed__3;
|
||||
x_3 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_3 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_4 = l___regBuiltin_Lean_Parser_Level_paren_formatter___closed__2;
|
||||
x_5 = l___regBuiltin_Lean_Parser_Level_paren_formatter___closed__4;
|
||||
x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1);
|
||||
|
|
@ -1321,8 +1427,8 @@ static lean_object* _init_l_Lean_Parser_Level_paren_parenthesizer___closed__1()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__7;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__2;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_3 = 1;
|
||||
x_4 = 0;
|
||||
x_5 = lean_box(x_3);
|
||||
|
|
@ -1339,7 +1445,7 @@ static lean_object* _init_l_Lean_Parser_Level_paren_parenthesizer___closed__2()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__10;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__5;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -1359,7 +1465,7 @@ static lean_object* _init_l_Lean_Parser_Level_paren_parenthesizer___closed__4()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__12;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__7;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -1393,7 +1499,7 @@ static lean_object* _init_l_Lean_Parser_Level_paren_parenthesizer___closed__7()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Level_paren_parenthesizer___closed__6;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -1425,7 +1531,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Level_paren_parenthesizer__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_2 = l___regBuiltin_Lean_Parser_Level_paren_parenthesizer___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -1452,7 +1558,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l___regBuiltin_Lean_Parser_Level_paren_parenthesizer___closed__3;
|
||||
x_3 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_3 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_4 = l___regBuiltin_Lean_Parser_Level_paren_parenthesizer___closed__2;
|
||||
x_5 = l___regBuiltin_Lean_Parser_Level_paren_parenthesizer___closed__4;
|
||||
x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1);
|
||||
|
|
@ -1512,7 +1618,7 @@ static lean_object* _init_l_Lean_Parser_Level_max___elambda__1___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__6;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Level_max___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -1652,11 +1758,11 @@ x_8 = l_Lean_Parser_Level_max___elambda__1___closed__2;
|
|||
x_9 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_9, 0, x_8);
|
||||
lean_closure_set(x_9, 1, x_7);
|
||||
x_10 = l_Lean_Parser_Level_paren___elambda__1___closed__16;
|
||||
x_10 = l_Lean_Parser_Level_paren___elambda__1___closed__11;
|
||||
x_11 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_11, 0, x_9);
|
||||
lean_closure_set(x_11, 1, x_10);
|
||||
x_12 = l_Lean_Parser_Level_paren___elambda__1___closed__15;
|
||||
x_12 = l_Lean_Parser_Level_paren___elambda__1___closed__10;
|
||||
x_13 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_13, 0, x_12);
|
||||
lean_closure_set(x_13, 1, x_11);
|
||||
|
|
@ -2324,7 +2430,7 @@ static lean_object* _init_l_Lean_Parser_Level_imax___elambda__1___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__6;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Level_imax___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -2392,7 +2498,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_imax___elambda__1___closed__7;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__16;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__11;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
|
|
@ -2403,7 +2509,7 @@ static lean_object* _init_l_Lean_Parser_Level_imax___elambda__1___closed__9() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__15;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__10;
|
||||
x_2 = l_Lean_Parser_Level_imax___elambda__1___closed__8;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -3027,7 +3133,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole___elambda__1___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__6;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Level_hole___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -3089,7 +3195,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_hole___elambda__1___closed__7;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__16;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__11;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
|
|
@ -3100,7 +3206,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole___elambda__1___closed__9() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__15;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__10;
|
||||
x_2 = l_Lean_Parser_Level_hole___elambda__1___closed__8;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -3673,7 +3779,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Level_num___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__6;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__1;
|
||||
x_2 = l___regBuiltin_Lean_Parser_Level_num___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -3924,7 +4030,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Level_ident___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__6;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__1;
|
||||
x_2 = l___regBuiltin_Lean_Parser_Level_ident___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -4093,7 +4199,7 @@ static lean_object* _init_l_Lean_Parser_Level_addLit___elambda__1___closed__2()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__6;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Level_addLit___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -4660,6 +4766,36 @@ l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__3 = _init_l_Lea
|
|||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__3);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__4();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__4);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__5();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__5);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__6();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__6);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__7();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__7);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__8();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__8);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__9();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__9);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__10();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__10);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__11();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__11);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__12();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__12);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__13();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__13);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__14();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__14);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__15();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__15);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__16();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__16);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__17();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__17);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__18();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__18);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__19();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5____closed__19);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_5_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
@ -4695,16 +4831,6 @@ l_Lean_Parser_Level_paren___elambda__1___closed__14 = _init_l_Lean_Parser_Level_
|
|||
lean_mark_persistent(l_Lean_Parser_Level_paren___elambda__1___closed__14);
|
||||
l_Lean_Parser_Level_paren___elambda__1___closed__15 = _init_l_Lean_Parser_Level_paren___elambda__1___closed__15();
|
||||
lean_mark_persistent(l_Lean_Parser_Level_paren___elambda__1___closed__15);
|
||||
l_Lean_Parser_Level_paren___elambda__1___closed__16 = _init_l_Lean_Parser_Level_paren___elambda__1___closed__16();
|
||||
lean_mark_persistent(l_Lean_Parser_Level_paren___elambda__1___closed__16);
|
||||
l_Lean_Parser_Level_paren___elambda__1___closed__17 = _init_l_Lean_Parser_Level_paren___elambda__1___closed__17();
|
||||
lean_mark_persistent(l_Lean_Parser_Level_paren___elambda__1___closed__17);
|
||||
l_Lean_Parser_Level_paren___elambda__1___closed__18 = _init_l_Lean_Parser_Level_paren___elambda__1___closed__18();
|
||||
lean_mark_persistent(l_Lean_Parser_Level_paren___elambda__1___closed__18);
|
||||
l_Lean_Parser_Level_paren___elambda__1___closed__19 = _init_l_Lean_Parser_Level_paren___elambda__1___closed__19();
|
||||
lean_mark_persistent(l_Lean_Parser_Level_paren___elambda__1___closed__19);
|
||||
l_Lean_Parser_Level_paren___elambda__1___closed__20 = _init_l_Lean_Parser_Level_paren___elambda__1___closed__20();
|
||||
lean_mark_persistent(l_Lean_Parser_Level_paren___elambda__1___closed__20);
|
||||
l_Lean_Parser_Level_paren___closed__1 = _init_l_Lean_Parser_Level_paren___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Level_paren___closed__1);
|
||||
l_Lean_Parser_Level_paren___closed__2 = _init_l_Lean_Parser_Level_paren___closed__2();
|
||||
|
|
|
|||
684
stage0/stdlib/Lean/Parser/Syntax.c
generated
684
stage0/stdlib/Lean/Parser/Syntax.c
generated
File diff suppressed because it is too large
Load diff
1156
stage0/stdlib/Lean/Parser/Term.c
generated
1156
stage0/stdlib/Lean/Parser/Term.c
generated
File diff suppressed because it is too large
Load diff
218
stage0/stdlib/Lean/ParserCompiler/Attribute.c
generated
218
stage0/stdlib/Lean/ParserCompiler/Attribute.c
generated
|
|
@ -21,6 +21,7 @@ LEAN_EXPORT lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute_
|
|||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
static lean_object* l_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___rarg___closed__3;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___lambda__3(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -46,9 +47,11 @@ LEAN_EXPORT lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute___lam
|
|||
static lean_object* l_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___rarg___closed__1;
|
||||
static lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute___lambda__3___closed__2;
|
||||
lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParserCompiler_CombinatorAttribute_getDeclFor_x3f___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___lambda__3___closed__2;
|
||||
static lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute___closed__8;
|
||||
static uint32_t l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___lambda__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___lambda__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___lambda__4(lean_object*, lean_object*);
|
||||
|
|
@ -60,7 +63,9 @@ LEAN_EXPORT lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute_
|
|||
LEAN_EXPORT lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___spec__4(lean_object*);
|
||||
static lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_ParserCompiler_registerCombinatorAttribute___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute___closed__4;
|
||||
lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___lambda__5___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___lambda__5___boxed(lean_object*);
|
||||
|
|
@ -70,6 +75,7 @@ static lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute___closed__
|
|||
lean_object* lean_eval_const(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___closed__5;
|
||||
lean_object* l_Std_RBNode_find___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute___closed__7;
|
||||
lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*);
|
||||
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_ParserCompiler_instInhabitedCombinatorAttribute___closed__3;
|
||||
|
|
@ -87,6 +93,7 @@ static lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute___closed__
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___lambda__6(lean_object*);
|
||||
static lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___closed__1;
|
||||
static lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___closed__4;
|
||||
|
|
@ -233,10 +240,11 @@ lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
|||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___lambda__3___closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
x_4 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
lean_ctor_set(x_4, 1, x_1);
|
||||
lean_ctor_set(x_4, 2, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*3, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -699,6 +707,60 @@ static lean_object* _init_l_Lean_ParserCompiler_registerCombinatorAttribute___cl
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("ParserCompiler", 14);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__4;
|
||||
x_2 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("registerCombinatorAttribute", 27);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__6;
|
||||
x_2 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_ParserCompiler_registerCombinatorAttribute___lambda__3___boxed), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
|
|
@ -721,104 +783,106 @@ lean_ctor_set(x_8, 3, x_7);
|
|||
x_9 = l_Lean_registerSimplePersistentEnvExtension___rarg(x_8, x_3);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
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 = 0;
|
||||
x_13 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_13, 0, x_1);
|
||||
lean_ctor_set(x_13, 1, x_2);
|
||||
lean_ctor_set_uint8(x_13, sizeof(void*)*2, x_12);
|
||||
x_12 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__8;
|
||||
x_13 = 0;
|
||||
x_14 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_14, 0, x_12);
|
||||
lean_ctor_set(x_14, 1, x_1);
|
||||
lean_ctor_set(x_14, 2, x_2);
|
||||
lean_ctor_set_uint8(x_14, sizeof(void*)*3, x_13);
|
||||
lean_inc(x_10);
|
||||
x_14 = lean_alloc_closure((void*)(l_Lean_ParserCompiler_registerCombinatorAttribute___lambda__2___boxed), 7, 1);
|
||||
lean_closure_set(x_14, 0, x_10);
|
||||
x_15 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__3;
|
||||
x_16 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_16, 0, x_13);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
lean_ctor_set(x_16, 2, x_15);
|
||||
lean_inc(x_16);
|
||||
x_17 = l_Lean_registerBuiltinAttribute(x_16, x_11);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
x_15 = lean_alloc_closure((void*)(l_Lean_ParserCompiler_registerCombinatorAttribute___lambda__2___boxed), 7, 1);
|
||||
lean_closure_set(x_15, 0, x_10);
|
||||
x_16 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__9;
|
||||
x_17 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_17, 0, x_14);
|
||||
lean_ctor_set(x_17, 1, x_15);
|
||||
lean_ctor_set(x_17, 2, x_16);
|
||||
lean_inc(x_17);
|
||||
x_18 = l_Lean_registerBuiltinAttribute(x_17, x_11);
|
||||
if (lean_obj_tag(x_18) == 0)
|
||||
{
|
||||
uint8_t x_18;
|
||||
x_18 = !lean_is_exclusive(x_17);
|
||||
if (x_18 == 0)
|
||||
uint8_t x_19;
|
||||
x_19 = !lean_is_exclusive(x_18);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
x_19 = lean_ctor_get(x_17, 0);
|
||||
lean_dec(x_19);
|
||||
x_20 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_16);
|
||||
lean_ctor_set(x_20, 1, x_10);
|
||||
lean_ctor_set(x_17, 0, x_20);
|
||||
return x_17;
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_ctor_get(x_18, 0);
|
||||
lean_dec(x_20);
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_17);
|
||||
lean_ctor_set(x_21, 1, x_10);
|
||||
lean_ctor_set(x_18, 0, x_21);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_21 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_17);
|
||||
x_22 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_16);
|
||||
lean_ctor_set(x_22, 1, x_10);
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_22 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_18);
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
lean_ctor_set(x_23, 1, x_21);
|
||||
return x_23;
|
||||
lean_ctor_set(x_23, 0, x_17);
|
||||
lean_ctor_set(x_23, 1, x_10);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_24, 1, x_22);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_24;
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_10);
|
||||
x_24 = !lean_is_exclusive(x_17);
|
||||
if (x_24 == 0)
|
||||
{
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_25 = lean_ctor_get(x_17, 0);
|
||||
x_26 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_26);
|
||||
lean_inc(x_25);
|
||||
uint8_t x_25;
|
||||
lean_dec(x_17);
|
||||
x_27 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_25);
|
||||
lean_ctor_set(x_27, 1, x_26);
|
||||
return x_27;
|
||||
lean_dec(x_10);
|
||||
x_25 = !lean_is_exclusive(x_18);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_26 = lean_ctor_get(x_18, 0);
|
||||
x_27 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_27);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_18);
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_26);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
return x_28;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_28;
|
||||
uint8_t x_29;
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_28 = !lean_is_exclusive(x_9);
|
||||
if (x_28 == 0)
|
||||
x_29 = !lean_is_exclusive(x_9);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_29 = lean_ctor_get(x_9, 0);
|
||||
x_30 = lean_ctor_get(x_9, 1);
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_30 = lean_ctor_get(x_9, 0);
|
||||
x_31 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_31);
|
||||
lean_inc(x_30);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_9);
|
||||
x_31 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_29);
|
||||
lean_ctor_set(x_31, 1, x_30);
|
||||
return x_31;
|
||||
x_32 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_30);
|
||||
lean_ctor_set(x_32, 1, x_31);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1140,7 +1204,7 @@ lean_dec(x_1);
|
|||
x_12 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_11);
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
x_13 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_12);
|
||||
x_14 = lean_alloc_ctor(4, 1, 0);
|
||||
|
|
@ -1298,6 +1362,18 @@ l_Lean_ParserCompiler_registerCombinatorAttribute___closed__2 = _init_l_Lean_Par
|
|||
lean_mark_persistent(l_Lean_ParserCompiler_registerCombinatorAttribute___closed__2);
|
||||
l_Lean_ParserCompiler_registerCombinatorAttribute___closed__3 = _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__3();
|
||||
lean_mark_persistent(l_Lean_ParserCompiler_registerCombinatorAttribute___closed__3);
|
||||
l_Lean_ParserCompiler_registerCombinatorAttribute___closed__4 = _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__4();
|
||||
lean_mark_persistent(l_Lean_ParserCompiler_registerCombinatorAttribute___closed__4);
|
||||
l_Lean_ParserCompiler_registerCombinatorAttribute___closed__5 = _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__5();
|
||||
lean_mark_persistent(l_Lean_ParserCompiler_registerCombinatorAttribute___closed__5);
|
||||
l_Lean_ParserCompiler_registerCombinatorAttribute___closed__6 = _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__6();
|
||||
lean_mark_persistent(l_Lean_ParserCompiler_registerCombinatorAttribute___closed__6);
|
||||
l_Lean_ParserCompiler_registerCombinatorAttribute___closed__7 = _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__7();
|
||||
lean_mark_persistent(l_Lean_ParserCompiler_registerCombinatorAttribute___closed__7);
|
||||
l_Lean_ParserCompiler_registerCombinatorAttribute___closed__8 = _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__8();
|
||||
lean_mark_persistent(l_Lean_ParserCompiler_registerCombinatorAttribute___closed__8);
|
||||
l_Lean_ParserCompiler_registerCombinatorAttribute___closed__9 = _init_l_Lean_ParserCompiler_registerCombinatorAttribute___closed__9();
|
||||
lean_mark_persistent(l_Lean_ParserCompiler_registerCombinatorAttribute___closed__9);
|
||||
l_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___rarg___closed__1 = _init_l_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___rarg___closed__1);
|
||||
l_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___rarg___closed__2 = _init_l_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___rarg___closed__2();
|
||||
|
|
|
|||
61
stage0/stdlib/Lean/ReducibilityAttrs.c
generated
61
stage0/stdlib/Lean/ReducibilityAttrs.c
generated
|
|
@ -37,6 +37,7 @@ LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_noConfusion___rarg(uint8_t, u
|
|||
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_15____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_isReducible(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__11;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__20;
|
||||
LEAN_EXPORT lean_object* l_Lean_reducibilityAttrs;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_isIrreducible___rarg___lambda__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -67,6 +68,8 @@ LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___rarg___lambda__1___boxed
|
|||
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__18;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__14;
|
||||
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_15____closed__4;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__22;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__19;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_isReducible___rarg___lambda__1(lean_object*, uint8_t);
|
||||
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_15____closed__1;
|
||||
|
|
@ -75,6 +78,7 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_15____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instReprReducibilityStatus___closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__21;
|
||||
LEAN_EXPORT lean_object* l_Lean_setReducibleAttribute___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_15____closed__19;
|
||||
|
|
@ -97,7 +101,7 @@ static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____clo
|
|||
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_isReducible___rarg___lambda__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__17;
|
||||
lean_object* l_Lean_registerEnumAttributes___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_registerEnumAttributes___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__8;
|
||||
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_toCtorIdx(uint8_t x_1) {
|
||||
|
|
@ -703,6 +707,42 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Lean", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__19() {
|
||||
_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_ReducibilityAttrs___hyg_129____closed__18;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("reducibilityAttrs", 17);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__19;
|
||||
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__20;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____lambda__1___boxed), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
|
|
@ -710,15 +750,16 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129_(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;
|
||||
uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_2 = l_Lean_instInhabitedReducibilityStatus;
|
||||
x_3 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__2;
|
||||
x_4 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__17;
|
||||
x_5 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__18;
|
||||
x_5 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__22;
|
||||
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;
|
||||
x_7 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__21;
|
||||
x_8 = lean_box(x_2);
|
||||
x_9 = l_Lean_registerEnumAttributes___rarg(x_8, x_3, x_4, x_5, x_6, x_7, x_1);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
|
|
@ -1169,6 +1210,14 @@ l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__17 = _init_l_Le
|
|||
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__17);
|
||||
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__18 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__18();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__18);
|
||||
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__19 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__19();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__19);
|
||||
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__20 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__20();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__20);
|
||||
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__21 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__21();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__21);
|
||||
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__22 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__22();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129____closed__22);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_129_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_reducibilityAttrs = lean_io_result_get_value(res);
|
||||
|
|
|
|||
171
stage0/stdlib/Lean/Server/Rpc/RequestHandling.c
generated
171
stage0/stdlib/Lean/Server/Rpc/RequestHandling.c
generated
|
|
@ -35,6 +35,7 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
|||
lean_object* l_Lean_throwError___at_Lean_declareBuiltin___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
uint8_t lean_uint64_dec_eq(uint64_t, uint64_t);
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__10;
|
||||
static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___closed__1;
|
||||
static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__24;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -61,6 +62,7 @@ static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__15;
|
|||
lean_object* l_Lean_setEnv___at_Lean_Meta_unfoldDeclsFrom___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_74____closed__1;
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -104,6 +106,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Serve
|
|||
static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__3;
|
||||
static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__25;
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__13;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_32____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_contains___at_Lean_Server_registerBuiltinRpcProcedure___spec__5___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -188,6 +191,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHand
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_shift_left(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_352____spec__3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__16;
|
||||
lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*);
|
||||
static lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__1;
|
||||
static lean_object* l_Lean_Server_registerRpcProcedure___closed__1;
|
||||
|
|
@ -197,6 +201,7 @@ static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling_
|
|||
static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__16;
|
||||
LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__3;
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_instInhabitedRpcProcedure___rarg___closed__4;
|
||||
static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__5;
|
||||
|
|
@ -266,6 +271,7 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__11;
|
||||
lean_object* l_Lean_quoteNameMk(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Server_registerRpcProcedure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Command_instInhabitedScope;
|
||||
|
|
@ -275,6 +281,7 @@ LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___s
|
|||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__6;
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__18;
|
||||
static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__3___closed__1;
|
||||
static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__12;
|
||||
static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__5;
|
||||
|
|
@ -312,6 +319,7 @@ lean_object* lean_io_initializing(lean_object*);
|
|||
static lean_object* l_Lean_Server_registerRpcProcedure___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_352____spec__1___lambda__3___closed__2;
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__12;
|
||||
lean_object* lean_mk_syntax_ident(lean_object*);
|
||||
static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__21;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -329,17 +337,20 @@ LEAN_EXPORT uint8_t l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__
|
|||
LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__10(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);
|
||||
static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__20;
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__17;
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2;
|
||||
lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1330_(lean_object*);
|
||||
static lean_object* l_Lean_Server_registerRpcProcedure___lambda__4___closed__4;
|
||||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__9;
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__2;
|
||||
lean_object* l_Lean_Server_parseRequestParams___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_instInhabitedRpcProcedure___rarg___closed__3;
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_352____spec__1___lambda__1(lean_object*);
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__8;
|
||||
lean_object* l_Lean_Server_Snapshots_Snapshot_env(lean_object*);
|
||||
extern lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors;
|
||||
lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*);
|
||||
|
|
@ -7072,7 +7083,7 @@ static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHan
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("serverRpcMethod", 15);
|
||||
x_1 = lean_mk_string_from_bytes("initFn", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -7080,7 +7091,7 @@ static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHan
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_1 = l_Lean_Server_registerRpcProcedure___lambda__1___closed__12;
|
||||
x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -7090,33 +7101,139 @@ static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHan
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Marks a function as a Lean server RPC method.\n Shorthand for `registerRpcProcedure`.\n The function must have type `α → RequestM (RequestTask β)` with\n RpcEncodings for both α and β.", 196);
|
||||
x_1 = lean_mk_string_from_bytes("_@", 2);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__2;
|
||||
x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__3;
|
||||
x_3 = 1;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__4;
|
||||
x_2 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__5;
|
||||
x_2 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__6;
|
||||
x_2 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__7;
|
||||
x_2 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__13;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("_hyg", 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__8;
|
||||
x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__10;
|
||||
x_2 = lean_unsigned_to_nat(1484u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("serverRpcMethod", 15);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__12;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Marks a function as a Lean server RPC method.\n Shorthand for `registerRpcProcedure`.\n The function must have type `α → RequestM (RequestTask β)` with\n RpcEncodings for both α and β.", 196);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__11;
|
||||
x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__13;
|
||||
x_3 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__14;
|
||||
x_4 = 1;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____lambda__1___boxed), 6, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__6() {
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -7124,13 +7241,13 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Server_initFn____x40_Lean_Server_Rpc_Req
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__7() {
|
||||
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__4;
|
||||
x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__5;
|
||||
x_3 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__6;
|
||||
x_1 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__15;
|
||||
x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__16;
|
||||
x_3 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__17;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -7142,7 +7259,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHand
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__7;
|
||||
x_2 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__18;
|
||||
x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -7479,6 +7596,28 @@ l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed
|
|||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__6);
|
||||
l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__7 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__7();
|
||||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__7);
|
||||
l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__8 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__8();
|
||||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__8);
|
||||
l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__9 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__9();
|
||||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__9);
|
||||
l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__10 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__10();
|
||||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__10);
|
||||
l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__11 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__11();
|
||||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__11);
|
||||
l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__12 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__12();
|
||||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__12);
|
||||
l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__13 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__13();
|
||||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__13);
|
||||
l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__14 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__14();
|
||||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__14);
|
||||
l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__15 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__15();
|
||||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__15);
|
||||
l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__16 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__16();
|
||||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__16);
|
||||
l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__17 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__17();
|
||||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__17);
|
||||
l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__18 = _init_l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__18();
|
||||
lean_mark_persistent(l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__18);
|
||||
res = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
340
stage0/stdlib/Lean/Widget/UserWidget.c
generated
340
stage0/stdlib/Lean/Widget/UserWidget.c
generated
|
|
@ -32,14 +32,15 @@ lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*
|
|||
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____closed__4;
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___elambda__1___boxed(lean_object*);
|
||||
uint64_t lean_uint64_of_nat(lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___elambda__2___closed__2;
|
||||
lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_getWidgets___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__12;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____spec__5(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____spec__1(size_t, size_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___closed__4;
|
||||
static lean_object* l_Lean_Widget_instToJsonUserWidget___closed__1;
|
||||
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____closed__1;
|
||||
|
|
@ -50,6 +51,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJ
|
|||
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonUserWidgetDefinition;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonGetWidgetsResponse;
|
||||
static lean_object* l_Lean_Widget_widgetCmd___closed__7;
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__11;
|
||||
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____closed__2;
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_evalJsonUnsafe___closed__1;
|
||||
lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -66,25 +68,28 @@ LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Widget_getWi
|
|||
static lean_object* l_Lean_Widget_getWidgetSource___rpc__wrapped___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__2(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonUserWidget;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__2(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedWidgetSource;
|
||||
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____closed__3;
|
||||
lean_object* l_List_join___rarg(lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_elabWidgetCmd(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Widget_getWidgets___rpc__wrapped___spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____spec__1(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_getWidgetSource___rpc__wrapped___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonWidgetSource____x40_Lean_Widget_UserWidget___hyg_24_(lean_object*);
|
||||
extern lean_object* l_Lean_levelZero;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_ins___at_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____spec__2(lean_object*, uint64_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonUserWidgetDefinition;
|
||||
lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__16;
|
||||
static lean_object* l_Lean_Server_parseRequestParams___at_Lean_Widget_getWidgetSource___rpc__wrapped___spec__2___closed__1;
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__1;
|
||||
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____closed__5;
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonGetWidgetSourceParams;
|
||||
lean_object* l_Lean_Elab_InfoTree_deepestNodes___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_402____closed__1;
|
||||
|
|
@ -108,24 +113,24 @@ lean_object* l_Lean_bignumToJson(lean_object*);
|
|||
static uint64_t l_Lean_Widget_instInhabitedUserWidget___closed__1;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_684____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_getWidgets___rpc__wrapped___spec__1___rarg(lean_object*, uint64_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___closed__5;
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_ins___at_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_saveWidgetInfo(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_646_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_668_(lean_object*);
|
||||
lean_object* l_String_Range_toLspRange(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_574_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_596_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_402_(lean_object*);
|
||||
static lean_object* l_Lean_Widget_instInhabitedUserWidget___closed__2;
|
||||
static lean_object* l_Lean_Widget_instToJsonGetWidgetSourceParams___closed__1;
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonWidgetSource;
|
||||
static lean_object* l_Lean_Widget_instToJsonUserWidgetDefinition___closed__1;
|
||||
static lean_object* l_Lean_Widget_getWidgets___rpc__wrapped___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_elabWidgetCmd___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1069_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1091_(lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___elambda__1___rarg___closed__2;
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetDefinition____x40_Lean_Widget_UserWidget___hyg_122____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_saveWidgetInfo___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -144,9 +149,9 @@ LEAN_EXPORT lean_object* l_Lean_Widget_getWidgets___lambda__1___boxed(lean_objec
|
|||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___closed__2;
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
static lean_object* l_Lean_Widget_getWidgetSource___rpc__wrapped___closed__3;
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ofExcept___at___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_RequestM_bindTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_getWidgetSource___rpc__wrapped___spec__1___rarg(lean_object*, uint64_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetDefinition____x40_Lean_Widget_UserWidget___hyg_122____boxed(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -155,7 +160,7 @@ lean_object* l_Lean_Expr_sort___override(lean_object*);
|
|||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___closed__6;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_402____closed__2;
|
||||
lean_object* l_Lean_Server_RequestM_mapTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_widgetCmd___closed__1;
|
||||
|
|
@ -212,10 +217,13 @@ LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Widget_getWidgetSource___rpc__wr
|
|||
LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_userWidgetRegistry;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__15;
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__5;
|
||||
lean_object* lean_list_to_array(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__14;
|
||||
static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_getWidgetSource___rpc__wrapped___spec__1___rarg___closed__2;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_evalJsonUnsafe___closed__2;
|
||||
|
|
@ -225,44 +233,47 @@ static lean_object* l_Lean_Widget_instToJsonWidgetSource___closed__1;
|
|||
lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_elabWidgetCmd___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_getWidgetSource___rpc__wrapped___spec__1(lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Widget_getWidgetSource___spec__1(lean_object*, uint64_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonUserWidget____x40_Lean_Widget_UserWidget___hyg_309_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_getWidgets___rpc__wrapped___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__18;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1123____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_getWidgets___rpc__wrapped___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__1;
|
||||
lean_object* l_Lean_Server_RequestM_runCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_getWidgetSource___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
static lean_object* l_Lean_Widget_elabWidgetCmd___lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___elambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__17;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_widgetInfosAt_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____spec__3___at_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025_(lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__1;
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__8;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____lambda__2(lean_object*);
|
||||
lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1___closed__2;
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_insert___at_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1___closed__1;
|
||||
lean_object* lean_uint64_to_nat(uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_widgetInfosAt_x3f(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedUserWidget;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_getWidgets(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__1;
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_widgetCmd___closed__4;
|
||||
lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonUserWidgetInstance;
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__1;
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1___closed__1;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instToJsonGetWidgetsResponse___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_widgetInfosAt_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -271,6 +282,7 @@ lean_object* l_Lean_Server_RequestM_asTask___rarg(lean_object*, lean_object*, le
|
|||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcConnected____x40_Lean_Data_Lsp_Extra___hyg_1226____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Info_pos_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonGetWidgetsResponse;
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__13;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_getWidgets___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonWidgetSource____x40_Lean_Widget_UserWidget___hyg_24____closed__1;
|
||||
lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1(lean_object*, uint64_t);
|
||||
|
|
@ -284,14 +296,15 @@ lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJs
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonWidgetSource____x40_Lean_Widget_UserWidget___hyg_53_(lean_object*);
|
||||
static lean_object* l_Lean_Widget_widgetCmd___closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetDefinition____x40_Lean_Widget_UserWidget___hyg_122_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonUserWidgetInstance;
|
||||
lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_377_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Widget_getWidgetSource___spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonWidgetSource;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____lambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__2;
|
||||
static lean_object* l_Lean_Widget_instInhabitedWidgetSource___closed__1;
|
||||
static lean_object* l_Lean_Widget_widgetCmd___closed__14;
|
||||
static lean_object* l_Lean_Widget_widgetCmd___closed__15;
|
||||
|
|
@ -303,9 +316,8 @@ uint64_t lean_string_hash(lean_object*);
|
|||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidget____x40_Lean_Widget_UserWidget___hyg_258____closed__1;
|
||||
lean_object* l_Lean_Server_RequestM_readDoc(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_getWidgets___rpc__wrapped___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628_(lean_object*);
|
||||
static lean_object* l_Lean_Widget_widgetCmd___closed__3;
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__2;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_saveWidgetInfo___at_Lean_Widget_elabWidgetCmd___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_evalJsonUnsafe___closed__3;
|
||||
|
|
@ -4053,7 +4065,7 @@ static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attr
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("widget", 6);
|
||||
x_1 = lean_mk_string_from_bytes("_private", 8);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -4070,34 +4082,140 @@ return x_3;
|
|||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Mark a string as static code that can be loaded by a widget handler.", 68);
|
||||
return x_1;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__2;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__2;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__3;
|
||||
x_3 = 1;
|
||||
x_4 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3);
|
||||
return x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__3;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("UserWidget", 10);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__4;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__6;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__7;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__8;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_getUserWidgetDefinitionUnsafe___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("attributeImpl", 13);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__9;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__10;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("widget", 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___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_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__12;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_from_bytes("Mark a string as static code that can be loaded by a widget handler.", 68);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__11;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__13;
|
||||
x_3 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__14;
|
||||
x_4 = 1;
|
||||
x_5 = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___elambda__2___boxed), 6, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__6() {
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4105,13 +4223,13 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widg
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__7() {
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__4;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__5;
|
||||
x_3 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__6;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__15;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__16;
|
||||
x_3 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__17;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -4123,7 +4241,7 @@ static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attr
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__7;
|
||||
x_1 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__18;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -4157,7 +4275,7 @@ lean_dec(x_2);
|
|||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_574_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_596_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -4166,7 +4284,7 @@ x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4174,7 +4292,7 @@ x_1 = lean_mk_string_from_bytes("hash", 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4182,14 +4300,14 @@ x_1 = lean_mk_string_from_bytes("pos", 3);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint64_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_2 = lean_ctor_get_uint64(x_1, sizeof(void*)*1);
|
||||
x_3 = lean_uint64_to_nat(x_2);
|
||||
x_4 = l_Lean_bignumToJson(x_3);
|
||||
x_5 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__1;
|
||||
x_5 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__1;
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
lean_ctor_set(x_6, 1, x_4);
|
||||
|
|
@ -4201,7 +4319,7 @@ x_9 = lean_ctor_get(x_1, 0);
|
|||
lean_inc(x_9);
|
||||
lean_dec(x_1);
|
||||
x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_377_(x_9);
|
||||
x_11 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__2;
|
||||
x_11 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__2;
|
||||
x_12 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
lean_ctor_set(x_12, 1, x_10);
|
||||
|
|
@ -4223,7 +4341,7 @@ static lean_object* _init_l_Lean_Widget_instToJsonGetWidgetSourceParams___closed
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -4235,11 +4353,11 @@ x_1 = l_Lean_Widget_instToJsonGetWidgetSourceParams___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_646_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_668_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__1;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcConnected____x40_Lean_Data_Lsp_Extra___hyg_1226____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
|
|
@ -4268,7 +4386,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_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__2;
|
||||
x_8 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__2;
|
||||
x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_684____spec__1(x_1, x_8);
|
||||
lean_dec(x_1);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
|
|
@ -4330,7 +4448,7 @@ static lean_object* _init_l_Lean_Widget_instFromJsonGetWidgetSourceParams___clos
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_646_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_668_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -4559,7 +4677,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2;
|
||||
lean_inc(x_1);
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_646_(x_1);
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_668_(x_1);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
|
|
@ -5110,7 +5228,7 @@ lean_dec(x_1);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5118,7 +5236,7 @@ x_1 = lean_mk_string_from_bytes("props", 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5126,7 +5244,7 @@ x_1 = lean_mk_string_from_bytes("range", 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint64_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
|
|
@ -5173,14 +5291,14 @@ lean_ctor_set(x_22, 1, x_20);
|
|||
x_23 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
lean_ctor_set(x_23, 1, x_11);
|
||||
x_24 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__1;
|
||||
x_24 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__1;
|
||||
x_25 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_25, 0, x_24);
|
||||
lean_ctor_set(x_25, 1, x_3);
|
||||
x_26 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_25);
|
||||
lean_ctor_set(x_26, 1, x_11);
|
||||
x_27 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__2;
|
||||
x_27 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__2;
|
||||
x_28 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1068____spec__1(x_27, x_4);
|
||||
x_29 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
|
|
@ -5206,7 +5324,7 @@ static lean_object* _init_l_Lean_Widget_instToJsonUserWidgetInstance___closed__1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -5218,7 +5336,7 @@ x_1 = l_Lean_Widget_instToJsonUserWidgetInstance___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1069_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1091_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -5310,12 +5428,12 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean
|
|||
x_19 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_15);
|
||||
x_20 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__1;
|
||||
x_20 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__1;
|
||||
x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1330____spec__2(x_1, x_20);
|
||||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_21);
|
||||
x_23 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__2;
|
||||
x_23 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__2;
|
||||
x_24 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1123____spec__1(x_1, x_23);
|
||||
lean_dec(x_1);
|
||||
if (lean_obj_tag(x_24) == 0)
|
||||
|
|
@ -5392,7 +5510,7 @@ static lean_object* _init_l_Lean_Widget_instFromJsonUserWidgetInstance___closed_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1069_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1091_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -5404,7 +5522,7 @@ x_1 = l_Lean_Widget_instFromJsonUserWidgetInstance___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____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_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____spec__1(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -5419,7 +5537,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_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003_(x_5);
|
||||
x_8 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025_(x_5);
|
||||
x_9 = 1;
|
||||
x_10 = lean_usize_add(x_2, x_9);
|
||||
x_11 = lean_array_uset(x_7, x_2, x_8);
|
||||
|
|
@ -5429,7 +5547,7 @@ goto _start;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5437,7 +5555,7 @@ x_1 = lean_mk_string_from_bytes("widgets", 7);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215_(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;
|
||||
|
|
@ -5445,10 +5563,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_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____spec__1(x_3, x_4, x_1);
|
||||
x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____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_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____closed__1;
|
||||
x_7 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____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);
|
||||
|
|
@ -5464,7 +5582,7 @@ x_13 = l_Lean_Json_mkObj(x_12);
|
|||
return x_13;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____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_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____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;
|
||||
|
|
@ -5472,7 +5590,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_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____spec__1(x_4, x_5, x_3);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____spec__1(x_4, x_5, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
|
|
@ -5480,7 +5598,7 @@ static lean_object* _init_l_Lean_Widget_instToJsonGetWidgetsResponse___closed__1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -5492,7 +5610,7 @@ x_1 = l_Lean_Widget_instToJsonGetWidgetsResponse___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____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_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -5510,7 +5628,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_Widget_UserWidget_0__Lean_Widget_fromJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1069_(x_6);
|
||||
x_9 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1091_(x_6);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
uint8_t x_10;
|
||||
|
|
@ -5547,7 +5665,7 @@ goto _start;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1___closed__1() {
|
||||
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5555,7 +5673,7 @@ x_1 = lean_mk_string_from_bytes("expected JSON array, got '", 26);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1___closed__2() {
|
||||
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5563,7 +5681,7 @@ x_1 = lean_mk_string_from_bytes("'", 1);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
|
|
@ -5580,7 +5698,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_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__2(x_6, x_7, x_4);
|
||||
x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__2(x_6, x_7, x_4);
|
||||
return x_8;
|
||||
}
|
||||
else
|
||||
|
|
@ -5588,10 +5706,10 @@ else
|
|||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_9 = lean_unsigned_to_nat(80u);
|
||||
x_10 = l_Lean_Json_pretty(x_3, x_9);
|
||||
x_11 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1___closed__1;
|
||||
x_11 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1___closed__1;
|
||||
x_12 = lean_string_append(x_11, x_10);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1___closed__2;
|
||||
x_13 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1___closed__2;
|
||||
x_14 = lean_string_append(x_12, x_13);
|
||||
x_15 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
|
|
@ -5599,12 +5717,12 @@ return x_15;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1(x_1, x_2);
|
||||
x_2 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -5645,7 +5763,7 @@ return x_9;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____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_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____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;
|
||||
|
|
@ -5653,7 +5771,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_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__2(x_4, x_5, x_3);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__2(x_4, x_5, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
|
|
@ -5661,7 +5779,7 @@ static lean_object* _init_l_Lean_Widget_instFromJsonGetWidgetsResponse___closed_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -6126,7 +6244,7 @@ if (x_12 == 0)
|
|||
lean_object* x_13; lean_object* x_14;
|
||||
x_13 = lean_ctor_get(x_11, 0);
|
||||
lean_dec(x_13);
|
||||
x_14 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193_(x_7);
|
||||
x_14 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215_(x_7);
|
||||
lean_ctor_set(x_11, 0, x_14);
|
||||
return x_11;
|
||||
}
|
||||
|
|
@ -6136,7 +6254,7 @@ lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
|||
x_15 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_11);
|
||||
x_16 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193_(x_7);
|
||||
x_16 = l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215_(x_7);
|
||||
x_17 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
lean_ctor_set(x_17, 1, x_15);
|
||||
|
|
@ -6961,15 +7079,37 @@ l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__6 = _i
|
|||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__6);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__7 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__7();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__7);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__8 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__8();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__8);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__9 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__9();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__9);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__10 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__10();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__10);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__11 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__11();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__11);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__12 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__12();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__12);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__13 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__13();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__13);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__14 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__14();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__14);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__15 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__15();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__15);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__16 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__16();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__16);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__17 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__17();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__17);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__18 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__18();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__18);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl);
|
||||
res = l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_574_(lean_io_mk_world());
|
||||
res = l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_596_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__1 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__1);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__2 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_606____closed__2);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__1 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__1);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__2 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__2);
|
||||
l_Lean_Widget_instToJsonGetWidgetSourceParams___closed__1 = _init_l_Lean_Widget_instToJsonGetWidgetSourceParams___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_instToJsonGetWidgetSourceParams___closed__1);
|
||||
l_Lean_Widget_instToJsonGetWidgetSourceParams = _init_l_Lean_Widget_instToJsonGetWidgetSourceParams();
|
||||
|
|
@ -6996,10 +7136,10 @@ l_Lean_Widget_getWidgetSource___rpc__wrapped___closed__3 = _init_l_Lean_Widget_g
|
|||
lean_mark_persistent(l_Lean_Widget_getWidgetSource___rpc__wrapped___closed__3);
|
||||
l_Lean_Widget_getWidgetSource___rpc__wrapped = _init_l_Lean_Widget_getWidgetSource___rpc__wrapped();
|
||||
lean_mark_persistent(l_Lean_Widget_getWidgetSource___rpc__wrapped);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__1 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__1);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__2 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1003____closed__2);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__1 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__1);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__2 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonUserWidgetInstance____x40_Lean_Widget_UserWidget___hyg_1025____closed__2);
|
||||
l_Lean_Widget_instToJsonUserWidgetInstance___closed__1 = _init_l_Lean_Widget_instToJsonUserWidgetInstance___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_instToJsonUserWidgetInstance___closed__1);
|
||||
l_Lean_Widget_instToJsonUserWidgetInstance = _init_l_Lean_Widget_instToJsonUserWidgetInstance();
|
||||
|
|
@ -7008,16 +7148,16 @@ l_Lean_Widget_instFromJsonUserWidgetInstance___closed__1 = _init_l_Lean_Widget_i
|
|||
lean_mark_persistent(l_Lean_Widget_instFromJsonUserWidgetInstance___closed__1);
|
||||
l_Lean_Widget_instFromJsonUserWidgetInstance = _init_l_Lean_Widget_instFromJsonUserWidgetInstance();
|
||||
lean_mark_persistent(l_Lean_Widget_instFromJsonUserWidgetInstance);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____closed__1 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1193____closed__1);
|
||||
l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____closed__1 = _init_l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1215____closed__1);
|
||||
l_Lean_Widget_instToJsonGetWidgetsResponse___closed__1 = _init_l_Lean_Widget_instToJsonGetWidgetsResponse___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_instToJsonGetWidgetsResponse___closed__1);
|
||||
l_Lean_Widget_instToJsonGetWidgetsResponse = _init_l_Lean_Widget_instToJsonGetWidgetsResponse();
|
||||
lean_mark_persistent(l_Lean_Widget_instToJsonGetWidgetsResponse);
|
||||
l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1___closed__1);
|
||||
l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1___closed__2 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1___closed__2();
|
||||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1222____spec__1___closed__2);
|
||||
l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1___closed__1);
|
||||
l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1___closed__2 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1___closed__2();
|
||||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1244____spec__1___closed__2);
|
||||
l_Lean_Widget_instFromJsonGetWidgetsResponse___closed__1 = _init_l_Lean_Widget_instFromJsonGetWidgetsResponse___closed__1();
|
||||
lean_mark_persistent(l_Lean_Widget_instFromJsonGetWidgetsResponse___closed__1);
|
||||
l_Lean_Widget_instFromJsonGetWidgetsResponse = _init_l_Lean_Widget_instFromJsonGetWidgetsResponse();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue